src/newcore/configure
changeset 0 ca70ae20a155
equal deleted inserted replaced
-1:000000000000 0:ca70ae20a155
       
     1 #! /bin/sh
       
     2 # From configure.in Revision: 67228 .
       
     3 # Guess values for system-dependent variables and create Makefiles.
       
     4 # Generated by GNU Autoconf 2.61 for python 2.5.
       
     5 #
       
     6 # Report bugs to <http://www.python.org/python-bugs>.
       
     7 #
       
     8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
     9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
    10 # This configure script is free software; the Free Software Foundation
       
    11 # gives unlimited permission to copy, distribute and modify it.
       
    12 ## --------------------- ##
       
    13 ## M4sh Initialization.  ##
       
    14 ## --------------------- ##
       
    15 
       
    16 # Be more Bourne compatible
       
    17 DUALCASE=1; export DUALCASE # for MKS sh
       
    18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
    19   emulate sh
       
    20   NULLCMD=:
       
    21   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
    22   # is contrary to our usage.  Disable this feature.
       
    23   alias -g '${1+"$@"}'='"$@"'
       
    24   setopt NO_GLOB_SUBST
       
    25 else
       
    26   case `(set -o) 2>/dev/null` in
       
    27   *posix*) set -o posix ;;
       
    28 esac
       
    29 
       
    30 fi
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 # PATH needs CR
       
    36 # Avoid depending upon Character Ranges.
       
    37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
    38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
    39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
    40 as_cr_digits='0123456789'
       
    41 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
    42 
       
    43 # The user is always right.
       
    44 if test "${PATH_SEPARATOR+set}" != set; then
       
    45   echo "#! /bin/sh" >conf$$.sh
       
    46   echo  "exit 0"   >>conf$$.sh
       
    47   chmod +x conf$$.sh
       
    48   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
       
    49     PATH_SEPARATOR=';'
       
    50   else
       
    51     PATH_SEPARATOR=:
       
    52   fi
       
    53   rm -f conf$$.sh
       
    54 fi
       
    55 
       
    56 # Support unset when possible.
       
    57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
    58   as_unset=unset
       
    59 else
       
    60   as_unset=false
       
    61 fi
       
    62 
       
    63 
       
    64 # IFS
       
    65 # We need space, tab and new line, in precisely that order.  Quoting is
       
    66 # there to prevent editors from complaining about space-tab.
       
    67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
    68 # splitting by setting IFS to empty value.)
       
    69 as_nl='
       
    70 '
       
    71 IFS=" ""	$as_nl"
       
    72 
       
    73 # Find who we are.  Look in the path if we contain no directory separator.
       
    74 case $0 in
       
    75   *[\\/]* ) as_myself=$0 ;;
       
    76   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
    77 for as_dir in $PATH
       
    78 do
       
    79   IFS=$as_save_IFS
       
    80   test -z "$as_dir" && as_dir=.
       
    81   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
    82 done
       
    83 IFS=$as_save_IFS
       
    84 
       
    85      ;;
       
    86 esac
       
    87 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
    88 # in which case we are not to be found in the path.
       
    89 if test "x$as_myself" = x; then
       
    90   as_myself=$0
       
    91 fi
       
    92 if test ! -f "$as_myself"; then
       
    93   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
    94   { (exit 1); exit 1; }
       
    95 fi
       
    96 
       
    97 # Work around bugs in pre-3.0 UWIN ksh.
       
    98 for as_var in ENV MAIL MAILPATH
       
    99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   100 done
       
   101 PS1='$ '
       
   102 PS2='> '
       
   103 PS4='+ '
       
   104 
       
   105 # NLS nuisances.
       
   106 for as_var in \
       
   107   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
       
   108   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
       
   109   LC_TELEPHONE LC_TIME
       
   110 do
       
   111   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       
   112     eval $as_var=C; export $as_var
       
   113   else
       
   114     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   115   fi
       
   116 done
       
   117 
       
   118 # Required to use basename.
       
   119 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   120    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   121   as_expr=expr
       
   122 else
       
   123   as_expr=false
       
   124 fi
       
   125 
       
   126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
   127   as_basename=basename
       
   128 else
       
   129   as_basename=false
       
   130 fi
       
   131 
       
   132 
       
   133 # Name of the executable.
       
   134 as_me=`$as_basename -- "$0" ||
       
   135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
   136 	 X"$0" : 'X\(//\)$' \| \
       
   137 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
   138 echo X/"$0" |
       
   139     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
   140 	    s//\1/
       
   141 	    q
       
   142 	  }
       
   143 	  /^X\/\(\/\/\)$/{
       
   144 	    s//\1/
       
   145 	    q
       
   146 	  }
       
   147 	  /^X\/\(\/\).*/{
       
   148 	    s//\1/
       
   149 	    q
       
   150 	  }
       
   151 	  s/.*/./; q'`
       
   152 
       
   153 # CDPATH.
       
   154 $as_unset CDPATH
       
   155 
       
   156 
       
   157 if test "x$CONFIG_SHELL" = x; then
       
   158   if (eval ":") 2>/dev/null; then
       
   159   as_have_required=yes
       
   160 else
       
   161   as_have_required=no
       
   162 fi
       
   163 
       
   164   if test $as_have_required = yes && 	 (eval ":
       
   165 (as_func_return () {
       
   166   (exit \$1)
       
   167 }
       
   168 as_func_success () {
       
   169   as_func_return 0
       
   170 }
       
   171 as_func_failure () {
       
   172   as_func_return 1
       
   173 }
       
   174 as_func_ret_success () {
       
   175   return 0
       
   176 }
       
   177 as_func_ret_failure () {
       
   178   return 1
       
   179 }
       
   180 
       
   181 exitcode=0
       
   182 if as_func_success; then
       
   183   :
       
   184 else
       
   185   exitcode=1
       
   186   echo as_func_success failed.
       
   187 fi
       
   188 
       
   189 if as_func_failure; then
       
   190   exitcode=1
       
   191   echo as_func_failure succeeded.
       
   192 fi
       
   193 
       
   194 if as_func_ret_success; then
       
   195   :
       
   196 else
       
   197   exitcode=1
       
   198   echo as_func_ret_success failed.
       
   199 fi
       
   200 
       
   201 if as_func_ret_failure; then
       
   202   exitcode=1
       
   203   echo as_func_ret_failure succeeded.
       
   204 fi
       
   205 
       
   206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
       
   207   :
       
   208 else
       
   209   exitcode=1
       
   210   echo positional parameters were not saved.
       
   211 fi
       
   212 
       
   213 test \$exitcode = 0) || { (exit 1); exit 1; }
       
   214 
       
   215 (
       
   216   as_lineno_1=\$LINENO
       
   217   as_lineno_2=\$LINENO
       
   218   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
       
   219   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
       
   220 ") 2> /dev/null; then
       
   221   :
       
   222 else
       
   223   as_candidate_shells=
       
   224     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
   225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
       
   226 do
       
   227   IFS=$as_save_IFS
       
   228   test -z "$as_dir" && as_dir=.
       
   229   case $as_dir in
       
   230 	 /*)
       
   231 	   for as_base in sh bash ksh sh5; do
       
   232 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
       
   233 	   done;;
       
   234        esac
       
   235 done
       
   236 IFS=$as_save_IFS
       
   237 
       
   238 
       
   239       for as_shell in $as_candidate_shells $SHELL; do
       
   240 	 # Try only shells that exist, to save several forks.
       
   241 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
       
   242 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
       
   243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
   244   emulate sh
       
   245   NULLCMD=:
       
   246   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
   247   # is contrary to our usage.  Disable this feature.
       
   248   alias -g '${1+"$@"}'='"$@"'
       
   249   setopt NO_GLOB_SUBST
       
   250 else
       
   251   case `(set -o) 2>/dev/null` in
       
   252   *posix*) set -o posix ;;
       
   253 esac
       
   254 
       
   255 fi
       
   256 
       
   257 
       
   258 :
       
   259 _ASEOF
       
   260 }; then
       
   261   CONFIG_SHELL=$as_shell
       
   262 	       as_have_required=yes
       
   263 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
       
   264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
   265   emulate sh
       
   266   NULLCMD=:
       
   267   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
   268   # is contrary to our usage.  Disable this feature.
       
   269   alias -g '${1+"$@"}'='"$@"'
       
   270   setopt NO_GLOB_SUBST
       
   271 else
       
   272   case `(set -o) 2>/dev/null` in
       
   273   *posix*) set -o posix ;;
       
   274 esac
       
   275 
       
   276 fi
       
   277 
       
   278 
       
   279 :
       
   280 (as_func_return () {
       
   281   (exit $1)
       
   282 }
       
   283 as_func_success () {
       
   284   as_func_return 0
       
   285 }
       
   286 as_func_failure () {
       
   287   as_func_return 1
       
   288 }
       
   289 as_func_ret_success () {
       
   290   return 0
       
   291 }
       
   292 as_func_ret_failure () {
       
   293   return 1
       
   294 }
       
   295 
       
   296 exitcode=0
       
   297 if as_func_success; then
       
   298   :
       
   299 else
       
   300   exitcode=1
       
   301   echo as_func_success failed.
       
   302 fi
       
   303 
       
   304 if as_func_failure; then
       
   305   exitcode=1
       
   306   echo as_func_failure succeeded.
       
   307 fi
       
   308 
       
   309 if as_func_ret_success; then
       
   310   :
       
   311 else
       
   312   exitcode=1
       
   313   echo as_func_ret_success failed.
       
   314 fi
       
   315 
       
   316 if as_func_ret_failure; then
       
   317   exitcode=1
       
   318   echo as_func_ret_failure succeeded.
       
   319 fi
       
   320 
       
   321 if ( set x; as_func_ret_success y && test x = "$1" ); then
       
   322   :
       
   323 else
       
   324   exitcode=1
       
   325   echo positional parameters were not saved.
       
   326 fi
       
   327 
       
   328 test $exitcode = 0) || { (exit 1); exit 1; }
       
   329 
       
   330 (
       
   331   as_lineno_1=$LINENO
       
   332   as_lineno_2=$LINENO
       
   333   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
   334   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
       
   335 
       
   336 _ASEOF
       
   337 }; then
       
   338   break
       
   339 fi
       
   340 
       
   341 fi
       
   342 
       
   343       done
       
   344 
       
   345       if test "x$CONFIG_SHELL" != x; then
       
   346   for as_var in BASH_ENV ENV
       
   347         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   348         done
       
   349         export CONFIG_SHELL
       
   350         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
       
   351 fi
       
   352 
       
   353 
       
   354     if test $as_have_required = no; then
       
   355   echo This script requires a shell more modern than all the
       
   356       echo shells that I found on your system.  Please install a
       
   357       echo modern shell, or manually run the script under such a
       
   358       echo shell if you do have one.
       
   359       { (exit 1); exit 1; }
       
   360 fi
       
   361 
       
   362 
       
   363 fi
       
   364 
       
   365 fi
       
   366 
       
   367 
       
   368 
       
   369 (eval "as_func_return () {
       
   370   (exit \$1)
       
   371 }
       
   372 as_func_success () {
       
   373   as_func_return 0
       
   374 }
       
   375 as_func_failure () {
       
   376   as_func_return 1
       
   377 }
       
   378 as_func_ret_success () {
       
   379   return 0
       
   380 }
       
   381 as_func_ret_failure () {
       
   382   return 1
       
   383 }
       
   384 
       
   385 exitcode=0
       
   386 if as_func_success; then
       
   387   :
       
   388 else
       
   389   exitcode=1
       
   390   echo as_func_success failed.
       
   391 fi
       
   392 
       
   393 if as_func_failure; then
       
   394   exitcode=1
       
   395   echo as_func_failure succeeded.
       
   396 fi
       
   397 
       
   398 if as_func_ret_success; then
       
   399   :
       
   400 else
       
   401   exitcode=1
       
   402   echo as_func_ret_success failed.
       
   403 fi
       
   404 
       
   405 if as_func_ret_failure; then
       
   406   exitcode=1
       
   407   echo as_func_ret_failure succeeded.
       
   408 fi
       
   409 
       
   410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
       
   411   :
       
   412 else
       
   413   exitcode=1
       
   414   echo positional parameters were not saved.
       
   415 fi
       
   416 
       
   417 test \$exitcode = 0") || {
       
   418   echo No shell found that supports shell functions.
       
   419   echo Please tell autoconf@gnu.org about your system,
       
   420   echo including any error possibly output before this
       
   421   echo message
       
   422 }
       
   423 
       
   424 
       
   425 
       
   426   as_lineno_1=$LINENO
       
   427   as_lineno_2=$LINENO
       
   428   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
   429   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
       
   430 
       
   431   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
       
   432   # uniformly replaced by the line number.  The first 'sed' inserts a
       
   433   # line-number line after each line using $LINENO; the second 'sed'
       
   434   # does the real work.  The second script uses 'N' to pair each
       
   435   # line-number line with the line containing $LINENO, and appends
       
   436   # trailing '-' during substitution so that $LINENO is not a special
       
   437   # case at line end.
       
   438   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
       
   439   # scripts with optimization help from Paolo Bonzini.  Blame Lee
       
   440   # E. McMahon (1931-1989) for sed's syntax.  :-)
       
   441   sed -n '
       
   442     p
       
   443     /[$]LINENO/=
       
   444   ' <$as_myself |
       
   445     sed '
       
   446       s/[$]LINENO.*/&-/
       
   447       t lineno
       
   448       b
       
   449       :lineno
       
   450       N
       
   451       :loop
       
   452       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
   453       t loop
       
   454       s/-\n.*//
       
   455     ' >$as_me.lineno &&
       
   456   chmod +x "$as_me.lineno" ||
       
   457     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
       
   458    { (exit 1); exit 1; }; }
       
   459 
       
   460   # Don't try to exec as it changes $[0], causing all sort of problems
       
   461   # (the dirname of $[0] is not the place where we might find the
       
   462   # original and so on.  Autoconf is especially sensitive to this).
       
   463   . "./$as_me.lineno"
       
   464   # Exit status is that of the last command.
       
   465   exit
       
   466 }
       
   467 
       
   468 
       
   469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
   470   as_dirname=dirname
       
   471 else
       
   472   as_dirname=false
       
   473 fi
       
   474 
       
   475 ECHO_C= ECHO_N= ECHO_T=
       
   476 case `echo -n x` in
       
   477 -n*)
       
   478   case `echo 'x\c'` in
       
   479   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
   480   *)   ECHO_C='\c';;
       
   481   esac;;
       
   482 *)
       
   483   ECHO_N='-n';;
       
   484 esac
       
   485 
       
   486 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   487    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   488   as_expr=expr
       
   489 else
       
   490   as_expr=false
       
   491 fi
       
   492 
       
   493 rm -f conf$$ conf$$.exe conf$$.file
       
   494 if test -d conf$$.dir; then
       
   495   rm -f conf$$.dir/conf$$.file
       
   496 else
       
   497   rm -f conf$$.dir
       
   498   mkdir conf$$.dir
       
   499 fi
       
   500 echo >conf$$.file
       
   501 if ln -s conf$$.file conf$$ 2>/dev/null; then
       
   502   as_ln_s='ln -s'
       
   503   # ... but there are two gotchas:
       
   504   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
   505   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
   506   # In both cases, we have to default to `cp -p'.
       
   507   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
   508     as_ln_s='cp -p'
       
   509 elif ln conf$$.file conf$$ 2>/dev/null; then
       
   510   as_ln_s=ln
       
   511 else
       
   512   as_ln_s='cp -p'
       
   513 fi
       
   514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
   515 rmdir conf$$.dir 2>/dev/null
       
   516 
       
   517 if mkdir -p . 2>/dev/null; then
       
   518   as_mkdir_p=:
       
   519 else
       
   520   test -d ./-p && rmdir ./-p
       
   521   as_mkdir_p=false
       
   522 fi
       
   523 
       
   524 if test -x / >/dev/null 2>&1; then
       
   525   as_test_x='test -x'
       
   526 else
       
   527   if ls -dL / >/dev/null 2>&1; then
       
   528     as_ls_L_option=L
       
   529   else
       
   530     as_ls_L_option=
       
   531   fi
       
   532   as_test_x='
       
   533     eval sh -c '\''
       
   534       if test -d "$1"; then
       
   535         test -d "$1/.";
       
   536       else
       
   537 	case $1 in
       
   538         -*)set "./$1";;
       
   539 	esac;
       
   540 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
       
   541 	???[sx]*):;;*)false;;esac;fi
       
   542     '\'' sh
       
   543   '
       
   544 fi
       
   545 as_executable_p=$as_test_x
       
   546 
       
   547 # Sed expression to map a string onto a valid CPP name.
       
   548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
   549 
       
   550 # Sed expression to map a string onto a valid variable name.
       
   551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
   552 
       
   553 
       
   554 
       
   555 exec 7<&0 </dev/null 6>&1
       
   556 
       
   557 # Name of the host.
       
   558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
       
   559 # so uname gets run too.
       
   560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
       
   561 
       
   562 #
       
   563 # Initializations.
       
   564 #
       
   565 ac_default_prefix=/usr/local
       
   566 ac_clean_files=
       
   567 ac_config_libobj_dir=.
       
   568 LIBOBJS=
       
   569 cross_compiling=no
       
   570 subdirs=
       
   571 MFLAGS=
       
   572 MAKEFLAGS=
       
   573 SHELL=${CONFIG_SHELL-/bin/sh}
       
   574 
       
   575 # Identity of this package.
       
   576 PACKAGE_NAME='python'
       
   577 PACKAGE_TARNAME='python'
       
   578 PACKAGE_VERSION='2.5'
       
   579 PACKAGE_STRING='python 2.5'
       
   580 PACKAGE_BUGREPORT='http://www.python.org/python-bugs'
       
   581 
       
   582 ac_unique_file="Include/object.h"
       
   583 # Factoring default headers for most tests.
       
   584 ac_includes_default="\
       
   585 #include <stdio.h>
       
   586 #ifdef HAVE_SYS_TYPES_H
       
   587 # include <sys/types.h>
       
   588 #endif
       
   589 #ifdef HAVE_SYS_STAT_H
       
   590 # include <sys/stat.h>
       
   591 #endif
       
   592 #ifdef STDC_HEADERS
       
   593 # include <stdlib.h>
       
   594 # include <stddef.h>
       
   595 #else
       
   596 # ifdef HAVE_STDLIB_H
       
   597 #  include <stdlib.h>
       
   598 # endif
       
   599 #endif
       
   600 #ifdef HAVE_STRING_H
       
   601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
       
   602 #  include <memory.h>
       
   603 # endif
       
   604 # include <string.h>
       
   605 #endif
       
   606 #ifdef HAVE_STRINGS_H
       
   607 # include <strings.h>
       
   608 #endif
       
   609 #ifdef HAVE_INTTYPES_H
       
   610 # include <inttypes.h>
       
   611 #endif
       
   612 #ifdef HAVE_STDINT_H
       
   613 # include <stdint.h>
       
   614 #endif
       
   615 #ifdef HAVE_UNISTD_H
       
   616 # include <unistd.h>
       
   617 #endif"
       
   618 
       
   619 ac_subst_vars='SHELL
       
   620 PATH_SEPARATOR
       
   621 PACKAGE_NAME
       
   622 PACKAGE_TARNAME
       
   623 PACKAGE_VERSION
       
   624 PACKAGE_STRING
       
   625 PACKAGE_BUGREPORT
       
   626 exec_prefix
       
   627 prefix
       
   628 program_transform_name
       
   629 bindir
       
   630 sbindir
       
   631 libexecdir
       
   632 datarootdir
       
   633 datadir
       
   634 sysconfdir
       
   635 sharedstatedir
       
   636 localstatedir
       
   637 includedir
       
   638 oldincludedir
       
   639 docdir
       
   640 infodir
       
   641 htmldir
       
   642 dvidir
       
   643 pdfdir
       
   644 psdir
       
   645 libdir
       
   646 localedir
       
   647 mandir
       
   648 DEFS
       
   649 ECHO_C
       
   650 ECHO_N
       
   651 ECHO_T
       
   652 LIBS
       
   653 build_alias
       
   654 host_alias
       
   655 target_alias
       
   656 VERSION
       
   657 SOVERSION
       
   658 CONFIG_ARGS
       
   659 UNIVERSALSDK
       
   660 PYTHONFRAMEWORK
       
   661 PYTHONFRAMEWORKDIR
       
   662 PYTHONFRAMEWORKPREFIX
       
   663 PYTHONFRAMEWORKINSTALLDIR
       
   664 FRAMEWORKINSTALLFIRST
       
   665 FRAMEWORKINSTALLLAST
       
   666 FRAMEWORKALTINSTALLFIRST
       
   667 FRAMEWORKALTINSTALLLAST
       
   668 FRAMEWORKUNIXTOOLSPREFIX
       
   669 MACHDEP
       
   670 SGI_ABI
       
   671 EXTRAPLATDIR
       
   672 EXTRAMACHDEPPATH
       
   673 CONFIGURE_MACOSX_DEPLOYMENT_TARGET
       
   674 EXPORT_MACOSX_DEPLOYMENT_TARGET
       
   675 CC
       
   676 CFLAGS
       
   677 LDFLAGS
       
   678 CPPFLAGS
       
   679 ac_ct_CC
       
   680 EXEEXT
       
   681 OBJEXT
       
   682 CXX
       
   683 MAINCC
       
   684 CPP
       
   685 GREP
       
   686 EGREP
       
   687 BUILDEXEEXT
       
   688 LIBRARY
       
   689 LDLIBRARY
       
   690 DLLLIBRARY
       
   691 BLDLIBRARY
       
   692 LDLIBRARYDIR
       
   693 INSTSONAME
       
   694 RUNSHARED
       
   695 LINKCC
       
   696 RANLIB
       
   697 AR
       
   698 SVNVERSION
       
   699 INSTALL_PROGRAM
       
   700 INSTALL_SCRIPT
       
   701 INSTALL_DATA
       
   702 LN
       
   703 OPT
       
   704 BASECFLAGS
       
   705 OTHER_LIBTOOL_OPT
       
   706 LIBTOOL_CRUFT
       
   707 SO
       
   708 LDSHARED
       
   709 BLDSHARED
       
   710 CCSHARED
       
   711 LINKFORSHARED
       
   712 CFLAGSFORSHARED
       
   713 SHLIBS
       
   714 USE_SIGNAL_MODULE
       
   715 SIGNAL_OBJS
       
   716 USE_THREAD_MODULE
       
   717 LDLAST
       
   718 THREADOBJ
       
   719 DLINCLDIR
       
   720 DYNLOADFILE
       
   721 MACHDEP_OBJS
       
   722 TRUE
       
   723 LIBOBJS
       
   724 HAVE_GETHOSTBYNAME_R_6_ARG
       
   725 HAVE_GETHOSTBYNAME_R_5_ARG
       
   726 HAVE_GETHOSTBYNAME_R_3_ARG
       
   727 HAVE_GETHOSTBYNAME_R
       
   728 HAVE_GETHOSTBYNAME
       
   729 LIBM
       
   730 LIBC
       
   731 UNICODE_OBJS
       
   732 THREADHEADERS
       
   733 SRCDIRS
       
   734 LTLIBOBJS'
       
   735 ac_subst_files=''
       
   736       ac_precious_vars='build_alias
       
   737 host_alias
       
   738 target_alias
       
   739 CC
       
   740 CFLAGS
       
   741 LDFLAGS
       
   742 LIBS
       
   743 CPPFLAGS
       
   744 CPP'
       
   745 
       
   746 
       
   747 # Initialize some variables set by options.
       
   748 ac_init_help=
       
   749 ac_init_version=false
       
   750 # The variables have the same names as the options, with
       
   751 # dashes changed to underlines.
       
   752 cache_file=/dev/null
       
   753 exec_prefix=NONE
       
   754 no_create=
       
   755 no_recursion=
       
   756 prefix=NONE
       
   757 program_prefix=NONE
       
   758 program_suffix=NONE
       
   759 program_transform_name=s,x,x,
       
   760 silent=
       
   761 site=
       
   762 srcdir=
       
   763 verbose=
       
   764 x_includes=NONE
       
   765 x_libraries=NONE
       
   766 
       
   767 # Installation directory options.
       
   768 # These are left unexpanded so users can "make install exec_prefix=/foo"
       
   769 # and all the variables that are supposed to be based on exec_prefix
       
   770 # by default will actually change.
       
   771 # Use braces instead of parens because sh, perl, etc. also accept them.
       
   772 # (The list follows the same order as the GNU Coding Standards.)
       
   773 bindir='${exec_prefix}/bin'
       
   774 sbindir='${exec_prefix}/sbin'
       
   775 libexecdir='${exec_prefix}/libexec'
       
   776 datarootdir='${prefix}/share'
       
   777 datadir='${datarootdir}'
       
   778 sysconfdir='${prefix}/etc'
       
   779 sharedstatedir='${prefix}/com'
       
   780 localstatedir='${prefix}/var'
       
   781 includedir='${prefix}/include'
       
   782 oldincludedir='/usr/include'
       
   783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
       
   784 infodir='${datarootdir}/info'
       
   785 htmldir='${docdir}'
       
   786 dvidir='${docdir}'
       
   787 pdfdir='${docdir}'
       
   788 psdir='${docdir}'
       
   789 libdir='${exec_prefix}/lib'
       
   790 localedir='${datarootdir}/locale'
       
   791 mandir='${datarootdir}/man'
       
   792 
       
   793 ac_prev=
       
   794 ac_dashdash=
       
   795 for ac_option
       
   796 do
       
   797   # If the previous option needs an argument, assign it.
       
   798   if test -n "$ac_prev"; then
       
   799     eval $ac_prev=\$ac_option
       
   800     ac_prev=
       
   801     continue
       
   802   fi
       
   803 
       
   804   case $ac_option in
       
   805   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
       
   806   *)	ac_optarg=yes ;;
       
   807   esac
       
   808 
       
   809   # Accept the important Cygnus configure options, so we can diagnose typos.
       
   810 
       
   811   case $ac_dashdash$ac_option in
       
   812   --)
       
   813     ac_dashdash=yes ;;
       
   814 
       
   815   -bindir | --bindir | --bindi | --bind | --bin | --bi)
       
   816     ac_prev=bindir ;;
       
   817   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
       
   818     bindir=$ac_optarg ;;
       
   819 
       
   820   -build | --build | --buil | --bui | --bu)
       
   821     ac_prev=build_alias ;;
       
   822   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
       
   823     build_alias=$ac_optarg ;;
       
   824 
       
   825   -cache-file | --cache-file | --cache-fil | --cache-fi \
       
   826   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
       
   827     ac_prev=cache_file ;;
       
   828   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
       
   829   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
       
   830     cache_file=$ac_optarg ;;
       
   831 
       
   832   --config-cache | -C)
       
   833     cache_file=config.cache ;;
       
   834 
       
   835   -datadir | --datadir | --datadi | --datad)
       
   836     ac_prev=datadir ;;
       
   837   -datadir=* | --datadir=* | --datadi=* | --datad=*)
       
   838     datadir=$ac_optarg ;;
       
   839 
       
   840   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
       
   841   | --dataroo | --dataro | --datar)
       
   842     ac_prev=datarootdir ;;
       
   843   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
       
   844   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
       
   845     datarootdir=$ac_optarg ;;
       
   846 
       
   847   -disable-* | --disable-*)
       
   848     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
       
   849     # Reject names that are not valid shell variable names.
       
   850     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
   851       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
   852    { (exit 1); exit 1; }; }
       
   853     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
       
   854     eval enable_$ac_feature=no ;;
       
   855 
       
   856   -docdir | --docdir | --docdi | --doc | --do)
       
   857     ac_prev=docdir ;;
       
   858   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
       
   859     docdir=$ac_optarg ;;
       
   860 
       
   861   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
       
   862     ac_prev=dvidir ;;
       
   863   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
       
   864     dvidir=$ac_optarg ;;
       
   865 
       
   866   -enable-* | --enable-*)
       
   867     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
       
   868     # Reject names that are not valid shell variable names.
       
   869     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
   870       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
   871    { (exit 1); exit 1; }; }
       
   872     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
       
   873     eval enable_$ac_feature=\$ac_optarg ;;
       
   874 
       
   875   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
       
   876   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
       
   877   | --exec | --exe | --ex)
       
   878     ac_prev=exec_prefix ;;
       
   879   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
       
   880   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
       
   881   | --exec=* | --exe=* | --ex=*)
       
   882     exec_prefix=$ac_optarg ;;
       
   883 
       
   884   -gas | --gas | --ga | --g)
       
   885     # Obsolete; use --with-gas.
       
   886     with_gas=yes ;;
       
   887 
       
   888   -help | --help | --hel | --he | -h)
       
   889     ac_init_help=long ;;
       
   890   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
       
   891     ac_init_help=recursive ;;
       
   892   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
       
   893     ac_init_help=short ;;
       
   894 
       
   895   -host | --host | --hos | --ho)
       
   896     ac_prev=host_alias ;;
       
   897   -host=* | --host=* | --hos=* | --ho=*)
       
   898     host_alias=$ac_optarg ;;
       
   899 
       
   900   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
       
   901     ac_prev=htmldir ;;
       
   902   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
       
   903   | --ht=*)
       
   904     htmldir=$ac_optarg ;;
       
   905 
       
   906   -includedir | --includedir | --includedi | --included | --include \
       
   907   | --includ | --inclu | --incl | --inc)
       
   908     ac_prev=includedir ;;
       
   909   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
       
   910   | --includ=* | --inclu=* | --incl=* | --inc=*)
       
   911     includedir=$ac_optarg ;;
       
   912 
       
   913   -infodir | --infodir | --infodi | --infod | --info | --inf)
       
   914     ac_prev=infodir ;;
       
   915   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
       
   916     infodir=$ac_optarg ;;
       
   917 
       
   918   -libdir | --libdir | --libdi | --libd)
       
   919     ac_prev=libdir ;;
       
   920   -libdir=* | --libdir=* | --libdi=* | --libd=*)
       
   921     libdir=$ac_optarg ;;
       
   922 
       
   923   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
       
   924   | --libexe | --libex | --libe)
       
   925     ac_prev=libexecdir ;;
       
   926   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
       
   927   | --libexe=* | --libex=* | --libe=*)
       
   928     libexecdir=$ac_optarg ;;
       
   929 
       
   930   -localedir | --localedir | --localedi | --localed | --locale)
       
   931     ac_prev=localedir ;;
       
   932   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
       
   933     localedir=$ac_optarg ;;
       
   934 
       
   935   -localstatedir | --localstatedir | --localstatedi | --localstated \
       
   936   | --localstate | --localstat | --localsta | --localst | --locals)
       
   937     ac_prev=localstatedir ;;
       
   938   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
       
   939   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
       
   940     localstatedir=$ac_optarg ;;
       
   941 
       
   942   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
       
   943     ac_prev=mandir ;;
       
   944   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
       
   945     mandir=$ac_optarg ;;
       
   946 
       
   947   -nfp | --nfp | --nf)
       
   948     # Obsolete; use --without-fp.
       
   949     with_fp=no ;;
       
   950 
       
   951   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       
   952   | --no-cr | --no-c | -n)
       
   953     no_create=yes ;;
       
   954 
       
   955   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       
   956   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
       
   957     no_recursion=yes ;;
       
   958 
       
   959   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
       
   960   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
       
   961   | --oldin | --oldi | --old | --ol | --o)
       
   962     ac_prev=oldincludedir ;;
       
   963   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
       
   964   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
       
   965   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
       
   966     oldincludedir=$ac_optarg ;;
       
   967 
       
   968   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
       
   969     ac_prev=prefix ;;
       
   970   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
       
   971     prefix=$ac_optarg ;;
       
   972 
       
   973   -program-prefix | --program-prefix | --program-prefi | --program-pref \
       
   974   | --program-pre | --program-pr | --program-p)
       
   975     ac_prev=program_prefix ;;
       
   976   -program-prefix=* | --program-prefix=* | --program-prefi=* \
       
   977   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
       
   978     program_prefix=$ac_optarg ;;
       
   979 
       
   980   -program-suffix | --program-suffix | --program-suffi | --program-suff \
       
   981   | --program-suf | --program-su | --program-s)
       
   982     ac_prev=program_suffix ;;
       
   983   -program-suffix=* | --program-suffix=* | --program-suffi=* \
       
   984   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
       
   985     program_suffix=$ac_optarg ;;
       
   986 
       
   987   -program-transform-name | --program-transform-name \
       
   988   | --program-transform-nam | --program-transform-na \
       
   989   | --program-transform-n | --program-transform- \
       
   990   | --program-transform | --program-transfor \
       
   991   | --program-transfo | --program-transf \
       
   992   | --program-trans | --program-tran \
       
   993   | --progr-tra | --program-tr | --program-t)
       
   994     ac_prev=program_transform_name ;;
       
   995   -program-transform-name=* | --program-transform-name=* \
       
   996   | --program-transform-nam=* | --program-transform-na=* \
       
   997   | --program-transform-n=* | --program-transform-=* \
       
   998   | --program-transform=* | --program-transfor=* \
       
   999   | --program-transfo=* | --program-transf=* \
       
  1000   | --program-trans=* | --program-tran=* \
       
  1001   | --progr-tra=* | --program-tr=* | --program-t=*)
       
  1002     program_transform_name=$ac_optarg ;;
       
  1003 
       
  1004   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
       
  1005     ac_prev=pdfdir ;;
       
  1006   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
       
  1007     pdfdir=$ac_optarg ;;
       
  1008 
       
  1009   -psdir | --psdir | --psdi | --psd | --ps)
       
  1010     ac_prev=psdir ;;
       
  1011   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
       
  1012     psdir=$ac_optarg ;;
       
  1013 
       
  1014   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1015   | -silent | --silent | --silen | --sile | --sil)
       
  1016     silent=yes ;;
       
  1017 
       
  1018   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
       
  1019     ac_prev=sbindir ;;
       
  1020   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
       
  1021   | --sbi=* | --sb=*)
       
  1022     sbindir=$ac_optarg ;;
       
  1023 
       
  1024   -sharedstatedir | --sharedstatedir | --sharedstatedi \
       
  1025   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
       
  1026   | --sharedst | --shareds | --shared | --share | --shar \
       
  1027   | --sha | --sh)
       
  1028     ac_prev=sharedstatedir ;;
       
  1029   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
       
  1030   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
       
  1031   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
       
  1032   | --sha=* | --sh=*)
       
  1033     sharedstatedir=$ac_optarg ;;
       
  1034 
       
  1035   -site | --site | --sit)
       
  1036     ac_prev=site ;;
       
  1037   -site=* | --site=* | --sit=*)
       
  1038     site=$ac_optarg ;;
       
  1039 
       
  1040   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
       
  1041     ac_prev=srcdir ;;
       
  1042   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
       
  1043     srcdir=$ac_optarg ;;
       
  1044 
       
  1045   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
       
  1046   | --syscon | --sysco | --sysc | --sys | --sy)
       
  1047     ac_prev=sysconfdir ;;
       
  1048   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
       
  1049   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
       
  1050     sysconfdir=$ac_optarg ;;
       
  1051 
       
  1052   -target | --target | --targe | --targ | --tar | --ta | --t)
       
  1053     ac_prev=target_alias ;;
       
  1054   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
       
  1055     target_alias=$ac_optarg ;;
       
  1056 
       
  1057   -v | -verbose | --verbose | --verbos | --verbo | --verb)
       
  1058     verbose=yes ;;
       
  1059 
       
  1060   -version | --version | --versio | --versi | --vers | -V)
       
  1061     ac_init_version=: ;;
       
  1062 
       
  1063   -with-* | --with-*)
       
  1064     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
       
  1065     # Reject names that are not valid shell variable names.
       
  1066     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1067       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1068    { (exit 1); exit 1; }; }
       
  1069     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
       
  1070     eval with_$ac_package=\$ac_optarg ;;
       
  1071 
       
  1072   -without-* | --without-*)
       
  1073     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
       
  1074     # Reject names that are not valid shell variable names.
       
  1075     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1076       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1077    { (exit 1); exit 1; }; }
       
  1078     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
       
  1079     eval with_$ac_package=no ;;
       
  1080 
       
  1081   --x)
       
  1082     # Obsolete; use --with-x.
       
  1083     with_x=yes ;;
       
  1084 
       
  1085   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
       
  1086   | --x-incl | --x-inc | --x-in | --x-i)
       
  1087     ac_prev=x_includes ;;
       
  1088   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
       
  1089   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
       
  1090     x_includes=$ac_optarg ;;
       
  1091 
       
  1092   -x-libraries | --x-libraries | --x-librarie | --x-librari \
       
  1093   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
       
  1094     ac_prev=x_libraries ;;
       
  1095   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
       
  1096   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
       
  1097     x_libraries=$ac_optarg ;;
       
  1098 
       
  1099   -*) { echo "$as_me: error: unrecognized option: $ac_option
       
  1100 Try \`$0 --help' for more information." >&2
       
  1101    { (exit 1); exit 1; }; }
       
  1102     ;;
       
  1103 
       
  1104   *=*)
       
  1105     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
       
  1106     # Reject names that are not valid shell variable names.
       
  1107     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
       
  1108       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
       
  1109    { (exit 1); exit 1; }; }
       
  1110     eval $ac_envvar=\$ac_optarg
       
  1111     export $ac_envvar ;;
       
  1112 
       
  1113   *)
       
  1114     # FIXME: should be removed in autoconf 3.0.
       
  1115     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
       
  1116     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1117       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
       
  1118     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
       
  1119     ;;
       
  1120 
       
  1121   esac
       
  1122 done
       
  1123 
       
  1124 if test -n "$ac_prev"; then
       
  1125   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
       
  1126   { echo "$as_me: error: missing argument to $ac_option" >&2
       
  1127    { (exit 1); exit 1; }; }
       
  1128 fi
       
  1129 
       
  1130 # Be sure to have absolute directory names.
       
  1131 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
       
  1132 		datadir sysconfdir sharedstatedir localstatedir includedir \
       
  1133 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
       
  1134 		libdir localedir mandir
       
  1135 do
       
  1136   eval ac_val=\$$ac_var
       
  1137   case $ac_val in
       
  1138     [\\/$]* | ?:[\\/]* )  continue;;
       
  1139     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
       
  1140   esac
       
  1141   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
       
  1142    { (exit 1); exit 1; }; }
       
  1143 done
       
  1144 
       
  1145 # There might be people who depend on the old broken behavior: `$host'
       
  1146 # used to hold the argument of --host etc.
       
  1147 # FIXME: To remove some day.
       
  1148 build=$build_alias
       
  1149 host=$host_alias
       
  1150 target=$target_alias
       
  1151 
       
  1152 # FIXME: To remove some day.
       
  1153 if test "x$host_alias" != x; then
       
  1154   if test "x$build_alias" = x; then
       
  1155     cross_compiling=maybe
       
  1156     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
       
  1157     If a cross compiler is detected then cross compile mode will be used." >&2
       
  1158   elif test "x$build_alias" != "x$host_alias"; then
       
  1159     cross_compiling=yes
       
  1160   fi
       
  1161 fi
       
  1162 
       
  1163 ac_tool_prefix=
       
  1164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
       
  1165 
       
  1166 test "$silent" = yes && exec 6>/dev/null
       
  1167 
       
  1168 
       
  1169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
       
  1170 ac_ls_di=`ls -di .` &&
       
  1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
       
  1172   { echo "$as_me: error: Working directory cannot be determined" >&2
       
  1173    { (exit 1); exit 1; }; }
       
  1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
       
  1175   { echo "$as_me: error: pwd does not report name of working directory" >&2
       
  1176    { (exit 1); exit 1; }; }
       
  1177 
       
  1178 
       
  1179 # Find the source files, if location was not specified.
       
  1180 if test -z "$srcdir"; then
       
  1181   ac_srcdir_defaulted=yes
       
  1182   # Try the directory containing this script, then the parent directory.
       
  1183   ac_confdir=`$as_dirname -- "$0" ||
       
  1184 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  1185 	 X"$0" : 'X\(//\)[^/]' \| \
       
  1186 	 X"$0" : 'X\(//\)$' \| \
       
  1187 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
  1188 echo X"$0" |
       
  1189     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  1190 	    s//\1/
       
  1191 	    q
       
  1192 	  }
       
  1193 	  /^X\(\/\/\)[^/].*/{
       
  1194 	    s//\1/
       
  1195 	    q
       
  1196 	  }
       
  1197 	  /^X\(\/\/\)$/{
       
  1198 	    s//\1/
       
  1199 	    q
       
  1200 	  }
       
  1201 	  /^X\(\/\).*/{
       
  1202 	    s//\1/
       
  1203 	    q
       
  1204 	  }
       
  1205 	  s/.*/./; q'`
       
  1206   srcdir=$ac_confdir
       
  1207   if test ! -r "$srcdir/$ac_unique_file"; then
       
  1208     srcdir=..
       
  1209   fi
       
  1210 else
       
  1211   ac_srcdir_defaulted=no
       
  1212 fi
       
  1213 if test ! -r "$srcdir/$ac_unique_file"; then
       
  1214   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
       
  1215   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
       
  1216    { (exit 1); exit 1; }; }
       
  1217 fi
       
  1218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
       
  1219 ac_abs_confdir=`(
       
  1220 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
       
  1221    { (exit 1); exit 1; }; }
       
  1222 	pwd)`
       
  1223 # When building in place, set srcdir=.
       
  1224 if test "$ac_abs_confdir" = "$ac_pwd"; then
       
  1225   srcdir=.
       
  1226 fi
       
  1227 # Remove unnecessary trailing slashes from srcdir.
       
  1228 # Double slashes in file names in object file debugging info
       
  1229 # mess up M-x gdb in Emacs.
       
  1230 case $srcdir in
       
  1231 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
       
  1232 esac
       
  1233 for ac_var in $ac_precious_vars; do
       
  1234   eval ac_env_${ac_var}_set=\${${ac_var}+set}
       
  1235   eval ac_env_${ac_var}_value=\$${ac_var}
       
  1236   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
       
  1237   eval ac_cv_env_${ac_var}_value=\$${ac_var}
       
  1238 done
       
  1239 
       
  1240 #
       
  1241 # Report the --help message.
       
  1242 #
       
  1243 if test "$ac_init_help" = "long"; then
       
  1244   # Omit some internal or obsolete options to make the list less imposing.
       
  1245   # This message is too long to be a string in the A/UX 3.1 sh.
       
  1246   cat <<_ACEOF
       
  1247 \`configure' configures python 2.5 to adapt to many kinds of systems.
       
  1248 
       
  1249 Usage: $0 [OPTION]... [VAR=VALUE]...
       
  1250 
       
  1251 To assign environment variables (e.g., CC, CFLAGS...), specify them as
       
  1252 VAR=VALUE.  See below for descriptions of some of the useful variables.
       
  1253 
       
  1254 Defaults for the options are specified in brackets.
       
  1255 
       
  1256 Configuration:
       
  1257   -h, --help              display this help and exit
       
  1258       --help=short        display options specific to this package
       
  1259       --help=recursive    display the short help of all the included packages
       
  1260   -V, --version           display version information and exit
       
  1261   -q, --quiet, --silent   do not print \`checking...' messages
       
  1262       --cache-file=FILE   cache test results in FILE [disabled]
       
  1263   -C, --config-cache      alias for \`--cache-file=config.cache'
       
  1264   -n, --no-create         do not create output files
       
  1265       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
       
  1266 
       
  1267 Installation directories:
       
  1268   --prefix=PREFIX         install architecture-independent files in PREFIX
       
  1269 			  [$ac_default_prefix]
       
  1270   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
       
  1271 			  [PREFIX]
       
  1272 
       
  1273 By default, \`make install' will install all the files in
       
  1274 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
       
  1275 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
       
  1276 for instance \`--prefix=\$HOME'.
       
  1277 
       
  1278 For better control, use the options below.
       
  1279 
       
  1280 Fine tuning of the installation directories:
       
  1281   --bindir=DIR           user executables [EPREFIX/bin]
       
  1282   --sbindir=DIR          system admin executables [EPREFIX/sbin]
       
  1283   --libexecdir=DIR       program executables [EPREFIX/libexec]
       
  1284   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
       
  1285   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
       
  1286   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
       
  1287   --libdir=DIR           object code libraries [EPREFIX/lib]
       
  1288   --includedir=DIR       C header files [PREFIX/include]
       
  1289   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
       
  1290   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
       
  1291   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
       
  1292   --infodir=DIR          info documentation [DATAROOTDIR/info]
       
  1293   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
       
  1294   --mandir=DIR           man documentation [DATAROOTDIR/man]
       
  1295   --docdir=DIR           documentation root [DATAROOTDIR/doc/python]
       
  1296   --htmldir=DIR          html documentation [DOCDIR]
       
  1297   --dvidir=DIR           dvi documentation [DOCDIR]
       
  1298   --pdfdir=DIR           pdf documentation [DOCDIR]
       
  1299   --psdir=DIR            ps documentation [DOCDIR]
       
  1300 _ACEOF
       
  1301 
       
  1302   cat <<\_ACEOF
       
  1303 _ACEOF
       
  1304 fi
       
  1305 
       
  1306 if test -n "$ac_init_help"; then
       
  1307   case $ac_init_help in
       
  1308      short | recursive ) echo "Configuration of python 2.5:";;
       
  1309    esac
       
  1310   cat <<\_ACEOF
       
  1311 
       
  1312 Optional Features:
       
  1313   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
       
  1314   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
       
  1315   --enable-universalsdk[=SDKDIR]
       
  1316                           Build agains Mac OS X 10.4u SDK (ppc/i386)
       
  1317   --enable-framework[=INSTALLDIR]
       
  1318                           Build (MacOSX|Darwin) framework
       
  1319   --enable-shared         disable/enable building shared python library
       
  1320   --enable-profiling      enable C-level code profiling
       
  1321   --enable-toolbox-glue   disable/enable MacOSX glue code for extensions
       
  1322   --enable-ipv6           Enable ipv6 (with ipv4) support
       
  1323   --disable-ipv6          Disable ipv6 support
       
  1324   --enable-unicode[=ucs[24]]
       
  1325                           Enable Unicode strings (default is yes)
       
  1326 
       
  1327 Optional Packages:
       
  1328   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
       
  1329   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
       
  1330   --without-gcc           never use gcc
       
  1331   --with-cxx-main=<compiler>
       
  1332                           compile main() and link python executable with C++
       
  1333                           compiler
       
  1334   --with-suffix=.exe      set executable suffix
       
  1335   --with-pydebug          build with Py_DEBUG defined
       
  1336   --with-libs='lib1 ...'  link against additional libs
       
  1337   --with-system-ffi       build _ctypes module using an installed ffi library
       
  1338   --with-signal-module    disable/enable signal module
       
  1339   --with-dec-threads      use DEC Alpha/OSF1 thread-safe libraries
       
  1340   --with(out)-threads[=DIRECTORY]
       
  1341                           disable/enable thread support
       
  1342   --with(out)-thread[=DIRECTORY]
       
  1343                           deprecated; use --with(out)-threads
       
  1344   --with-pth              use GNU pth threading libraries
       
  1345   --with(out)-doc-strings disable/enable documentation strings
       
  1346   --with(out)-tsc         enable/disable timestamp counter profile
       
  1347   --with(out)-pymalloc    disable/enable specialized mallocs
       
  1348   --with-wctype-functions use wctype.h functions
       
  1349   --with-fpectl           enable SIGFPE catching
       
  1350   --with-libm=STRING      math library
       
  1351   --with-libc=STRING      C library
       
  1352 
       
  1353 Some influential environment variables:
       
  1354   CC          C compiler command
       
  1355   CFLAGS      C compiler flags
       
  1356   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
       
  1357               nonstandard directory <lib dir>
       
  1358   LIBS        libraries to pass to the linker, e.g. -l<library>
       
  1359   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
       
  1360               you have headers in a nonstandard directory <include dir>
       
  1361   CPP         C preprocessor
       
  1362 
       
  1363 Use these variables to override the choices made by `configure' or to help
       
  1364 it to find libraries and programs with nonstandard names/locations.
       
  1365 
       
  1366 Report bugs to <http://www.python.org/python-bugs>.
       
  1367 _ACEOF
       
  1368 ac_status=$?
       
  1369 fi
       
  1370 
       
  1371 if test "$ac_init_help" = "recursive"; then
       
  1372   # If there are subdirs, report their specific --help.
       
  1373   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
       
  1374     test -d "$ac_dir" || continue
       
  1375     ac_builddir=.
       
  1376 
       
  1377 case "$ac_dir" in
       
  1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1379 *)
       
  1380   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
  1381   # A ".." for each directory in $ac_dir_suffix.
       
  1382   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
  1383   case $ac_top_builddir_sub in
       
  1384   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1385   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
  1386   esac ;;
       
  1387 esac
       
  1388 ac_abs_top_builddir=$ac_pwd
       
  1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
  1390 # for backward compatibility:
       
  1391 ac_top_builddir=$ac_top_build_prefix
       
  1392 
       
  1393 case $srcdir in
       
  1394   .)  # We are building in place.
       
  1395     ac_srcdir=.
       
  1396     ac_top_srcdir=$ac_top_builddir_sub
       
  1397     ac_abs_top_srcdir=$ac_pwd ;;
       
  1398   [\\/]* | ?:[\\/]* )  # Absolute name.
       
  1399     ac_srcdir=$srcdir$ac_dir_suffix;
       
  1400     ac_top_srcdir=$srcdir
       
  1401     ac_abs_top_srcdir=$srcdir ;;
       
  1402   *) # Relative name.
       
  1403     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
  1404     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
  1405     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
  1406 esac
       
  1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
  1408 
       
  1409     cd "$ac_dir" || { ac_status=$?; continue; }
       
  1410     # Check for guested configure.
       
  1411     if test -f "$ac_srcdir/configure.gnu"; then
       
  1412       echo &&
       
  1413       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
       
  1414     elif test -f "$ac_srcdir/configure"; then
       
  1415       echo &&
       
  1416       $SHELL "$ac_srcdir/configure" --help=recursive
       
  1417     else
       
  1418       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
       
  1419     fi || ac_status=$?
       
  1420     cd "$ac_pwd" || { ac_status=$?; break; }
       
  1421   done
       
  1422 fi
       
  1423 
       
  1424 test -n "$ac_init_help" && exit $ac_status
       
  1425 if $ac_init_version; then
       
  1426   cat <<\_ACEOF
       
  1427 python configure 2.5
       
  1428 generated by GNU Autoconf 2.61
       
  1429 
       
  1430 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
  1431 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
  1432 This configure script is free software; the Free Software Foundation
       
  1433 gives unlimited permission to copy, distribute and modify it.
       
  1434 _ACEOF
       
  1435   exit
       
  1436 fi
       
  1437 cat >config.log <<_ACEOF
       
  1438 This file contains any messages produced by compilers while
       
  1439 running configure, to aid debugging if configure makes a mistake.
       
  1440 
       
  1441 It was created by python $as_me 2.5, which was
       
  1442 generated by GNU Autoconf 2.61.  Invocation command line was
       
  1443 
       
  1444   $ $0 $@
       
  1445 
       
  1446 _ACEOF
       
  1447 exec 5>>config.log
       
  1448 {
       
  1449 cat <<_ASUNAME
       
  1450 ## --------- ##
       
  1451 ## Platform. ##
       
  1452 ## --------- ##
       
  1453 
       
  1454 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
       
  1455 uname -m = `(uname -m) 2>/dev/null || echo unknown`
       
  1456 uname -r = `(uname -r) 2>/dev/null || echo unknown`
       
  1457 uname -s = `(uname -s) 2>/dev/null || echo unknown`
       
  1458 uname -v = `(uname -v) 2>/dev/null || echo unknown`
       
  1459 
       
  1460 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
       
  1461 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
       
  1462 
       
  1463 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
       
  1464 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
       
  1465 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
       
  1466 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
       
  1467 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
       
  1468 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
       
  1469 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
       
  1470 
       
  1471 _ASUNAME
       
  1472 
       
  1473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  1474 for as_dir in $PATH
       
  1475 do
       
  1476   IFS=$as_save_IFS
       
  1477   test -z "$as_dir" && as_dir=.
       
  1478   echo "PATH: $as_dir"
       
  1479 done
       
  1480 IFS=$as_save_IFS
       
  1481 
       
  1482 } >&5
       
  1483 
       
  1484 cat >&5 <<_ACEOF
       
  1485 
       
  1486 
       
  1487 ## ----------- ##
       
  1488 ## Core tests. ##
       
  1489 ## ----------- ##
       
  1490 
       
  1491 _ACEOF
       
  1492 
       
  1493 
       
  1494 # Keep a trace of the command line.
       
  1495 # Strip out --no-create and --no-recursion so they do not pile up.
       
  1496 # Strip out --silent because we don't want to record it for future runs.
       
  1497 # Also quote any args containing shell meta-characters.
       
  1498 # Make two passes to allow for proper duplicate-argument suppression.
       
  1499 ac_configure_args=
       
  1500 ac_configure_args0=
       
  1501 ac_configure_args1=
       
  1502 ac_must_keep_next=false
       
  1503 for ac_pass in 1 2
       
  1504 do
       
  1505   for ac_arg
       
  1506   do
       
  1507     case $ac_arg in
       
  1508     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
       
  1509     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1510     | -silent | --silent | --silen | --sile | --sil)
       
  1511       continue ;;
       
  1512     *\'*)
       
  1513       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1514     esac
       
  1515     case $ac_pass in
       
  1516     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
       
  1517     2)
       
  1518       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
       
  1519       if test $ac_must_keep_next = true; then
       
  1520 	ac_must_keep_next=false # Got value, back to normal.
       
  1521       else
       
  1522 	case $ac_arg in
       
  1523 	  *=* | --config-cache | -C | -disable-* | --disable-* \
       
  1524 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
       
  1525 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
       
  1526 	  | -with-* | --with-* | -without-* | --without-* | --x)
       
  1527 	    case "$ac_configure_args0 " in
       
  1528 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
       
  1529 	    esac
       
  1530 	    ;;
       
  1531 	  -* ) ac_must_keep_next=true ;;
       
  1532 	esac
       
  1533       fi
       
  1534       ac_configure_args="$ac_configure_args '$ac_arg'"
       
  1535       ;;
       
  1536     esac
       
  1537   done
       
  1538 done
       
  1539 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
       
  1540 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
       
  1541 
       
  1542 # When interrupted or exit'd, cleanup temporary files, and complete
       
  1543 # config.log.  We remove comments because anyway the quotes in there
       
  1544 # would cause problems or look ugly.
       
  1545 # WARNING: Use '\'' to represent an apostrophe within the trap.
       
  1546 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
       
  1547 trap 'exit_status=$?
       
  1548   # Save into config.log some information that might help in debugging.
       
  1549   {
       
  1550     echo
       
  1551 
       
  1552     cat <<\_ASBOX
       
  1553 ## ---------------- ##
       
  1554 ## Cache variables. ##
       
  1555 ## ---------------- ##
       
  1556 _ASBOX
       
  1557     echo
       
  1558     # The following way of writing the cache mishandles newlines in values,
       
  1559 (
       
  1560   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
       
  1561     eval ac_val=\$$ac_var
       
  1562     case $ac_val in #(
       
  1563     *${as_nl}*)
       
  1564       case $ac_var in #(
       
  1565       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
  1566 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
  1567       esac
       
  1568       case $ac_var in #(
       
  1569       _ | IFS | as_nl) ;; #(
       
  1570       *) $as_unset $ac_var ;;
       
  1571       esac ;;
       
  1572     esac
       
  1573   done
       
  1574   (set) 2>&1 |
       
  1575     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
       
  1576     *${as_nl}ac_space=\ *)
       
  1577       sed -n \
       
  1578 	"s/'\''/'\''\\\\'\'''\''/g;
       
  1579 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
       
  1580       ;; #(
       
  1581     *)
       
  1582       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  1583       ;;
       
  1584     esac |
       
  1585     sort
       
  1586 )
       
  1587     echo
       
  1588 
       
  1589     cat <<\_ASBOX
       
  1590 ## ----------------- ##
       
  1591 ## Output variables. ##
       
  1592 ## ----------------- ##
       
  1593 _ASBOX
       
  1594     echo
       
  1595     for ac_var in $ac_subst_vars
       
  1596     do
       
  1597       eval ac_val=\$$ac_var
       
  1598       case $ac_val in
       
  1599       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1600       esac
       
  1601       echo "$ac_var='\''$ac_val'\''"
       
  1602     done | sort
       
  1603     echo
       
  1604 
       
  1605     if test -n "$ac_subst_files"; then
       
  1606       cat <<\_ASBOX
       
  1607 ## ------------------- ##
       
  1608 ## File substitutions. ##
       
  1609 ## ------------------- ##
       
  1610 _ASBOX
       
  1611       echo
       
  1612       for ac_var in $ac_subst_files
       
  1613       do
       
  1614 	eval ac_val=\$$ac_var
       
  1615 	case $ac_val in
       
  1616 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1617 	esac
       
  1618 	echo "$ac_var='\''$ac_val'\''"
       
  1619       done | sort
       
  1620       echo
       
  1621     fi
       
  1622 
       
  1623     if test -s confdefs.h; then
       
  1624       cat <<\_ASBOX
       
  1625 ## ----------- ##
       
  1626 ## confdefs.h. ##
       
  1627 ## ----------- ##
       
  1628 _ASBOX
       
  1629       echo
       
  1630       cat confdefs.h
       
  1631       echo
       
  1632     fi
       
  1633     test "$ac_signal" != 0 &&
       
  1634       echo "$as_me: caught signal $ac_signal"
       
  1635     echo "$as_me: exit $exit_status"
       
  1636   } >&5
       
  1637   rm -f core *.core core.conftest.* &&
       
  1638     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
       
  1639     exit $exit_status
       
  1640 ' 0
       
  1641 for ac_signal in 1 2 13 15; do
       
  1642   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
       
  1643 done
       
  1644 ac_signal=0
       
  1645 
       
  1646 # confdefs.h avoids OS command line length limits that DEFS can exceed.
       
  1647 rm -f -r conftest* confdefs.h
       
  1648 
       
  1649 # Predefined preprocessor variables.
       
  1650 
       
  1651 cat >>confdefs.h <<_ACEOF
       
  1652 #define PACKAGE_NAME "$PACKAGE_NAME"
       
  1653 _ACEOF
       
  1654 
       
  1655 
       
  1656 cat >>confdefs.h <<_ACEOF
       
  1657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
       
  1658 _ACEOF
       
  1659 
       
  1660 
       
  1661 cat >>confdefs.h <<_ACEOF
       
  1662 #define PACKAGE_VERSION "$PACKAGE_VERSION"
       
  1663 _ACEOF
       
  1664 
       
  1665 
       
  1666 cat >>confdefs.h <<_ACEOF
       
  1667 #define PACKAGE_STRING "$PACKAGE_STRING"
       
  1668 _ACEOF
       
  1669 
       
  1670 
       
  1671 cat >>confdefs.h <<_ACEOF
       
  1672 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
       
  1673 _ACEOF
       
  1674 
       
  1675 
       
  1676 # Let the site file select an alternate cache file if it wants to.
       
  1677 # Prefer explicitly selected file to automatically selected ones.
       
  1678 if test -n "$CONFIG_SITE"; then
       
  1679   set x "$CONFIG_SITE"
       
  1680 elif test "x$prefix" != xNONE; then
       
  1681   set x "$prefix/share/config.site" "$prefix/etc/config.site"
       
  1682 else
       
  1683   set x "$ac_default_prefix/share/config.site" \
       
  1684 	"$ac_default_prefix/etc/config.site"
       
  1685 fi
       
  1686 shift
       
  1687 for ac_site_file
       
  1688 do
       
  1689   if test -r "$ac_site_file"; then
       
  1690     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
       
  1691 echo "$as_me: loading site script $ac_site_file" >&6;}
       
  1692     sed 's/^/| /' "$ac_site_file" >&5
       
  1693     . "$ac_site_file"
       
  1694   fi
       
  1695 done
       
  1696 
       
  1697 if test -r "$cache_file"; then
       
  1698   # Some versions of bash will fail to source /dev/null (special
       
  1699   # files actually), so we avoid doing that.
       
  1700   if test -f "$cache_file"; then
       
  1701     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
       
  1702 echo "$as_me: loading cache $cache_file" >&6;}
       
  1703     case $cache_file in
       
  1704       [\\/]* | ?:[\\/]* ) . "$cache_file";;
       
  1705       *)                      . "./$cache_file";;
       
  1706     esac
       
  1707   fi
       
  1708 else
       
  1709   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
       
  1710 echo "$as_me: creating cache $cache_file" >&6;}
       
  1711   >$cache_file
       
  1712 fi
       
  1713 
       
  1714 # Check that the precious variables saved in the cache have kept the same
       
  1715 # value.
       
  1716 ac_cache_corrupted=false
       
  1717 for ac_var in $ac_precious_vars; do
       
  1718   eval ac_old_set=\$ac_cv_env_${ac_var}_set
       
  1719   eval ac_new_set=\$ac_env_${ac_var}_set
       
  1720   eval ac_old_val=\$ac_cv_env_${ac_var}_value
       
  1721   eval ac_new_val=\$ac_env_${ac_var}_value
       
  1722   case $ac_old_set,$ac_new_set in
       
  1723     set,)
       
  1724       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
       
  1725 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       
  1726       ac_cache_corrupted=: ;;
       
  1727     ,set)
       
  1728       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
       
  1729 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       
  1730       ac_cache_corrupted=: ;;
       
  1731     ,);;
       
  1732     *)
       
  1733       if test "x$ac_old_val" != "x$ac_new_val"; then
       
  1734 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
       
  1735 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
       
  1736 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
       
  1737 echo "$as_me:   former value:  $ac_old_val" >&2;}
       
  1738 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
       
  1739 echo "$as_me:   current value: $ac_new_val" >&2;}
       
  1740 	ac_cache_corrupted=:
       
  1741       fi;;
       
  1742   esac
       
  1743   # Pass precious variables to config.status.
       
  1744   if test "$ac_new_set" = set; then
       
  1745     case $ac_new_val in
       
  1746     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1747     *) ac_arg=$ac_var=$ac_new_val ;;
       
  1748     esac
       
  1749     case " $ac_configure_args " in
       
  1750       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
       
  1751       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
       
  1752     esac
       
  1753   fi
       
  1754 done
       
  1755 if $ac_cache_corrupted; then
       
  1756   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
       
  1757 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
       
  1758   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
       
  1759 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
       
  1760    { (exit 1); exit 1; }; }
       
  1761 fi
       
  1762 
       
  1763 
       
  1764 
       
  1765 
       
  1766 
       
  1767 
       
  1768 
       
  1769 
       
  1770 
       
  1771 
       
  1772 
       
  1773 
       
  1774 
       
  1775 
       
  1776 
       
  1777 
       
  1778 
       
  1779 
       
  1780 
       
  1781 
       
  1782 
       
  1783 
       
  1784 
       
  1785 
       
  1786 
       
  1787 ac_ext=c
       
  1788 ac_cpp='$CPP $CPPFLAGS'
       
  1789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  1790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  1791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  1792 
       
  1793 
       
  1794 
       
  1795 ac_config_headers="$ac_config_headers pyconfig.h"
       
  1796 
       
  1797 
       
  1798 
       
  1799 
       
  1800 
       
  1801 
       
  1802 
       
  1803 # We don't use PACKAGE_ variables, and they cause conflicts
       
  1804 # with other autoconf-based packages that include Python.h
       
  1805 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
       
  1806 rm confdefs.h
       
  1807 mv confdefs.h.new confdefs.h
       
  1808 
       
  1809 
       
  1810 VERSION=2.5
       
  1811 
       
  1812 
       
  1813 SOVERSION=1.0
       
  1814 
       
  1815 # The later defininition of _XOPEN_SOURCE disables certain features
       
  1816 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
       
  1817 
       
  1818 cat >>confdefs.h <<\_ACEOF
       
  1819 #define _GNU_SOURCE 1
       
  1820 _ACEOF
       
  1821 
       
  1822 
       
  1823 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
       
  1824 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
       
  1825 # them.
       
  1826 
       
  1827 cat >>confdefs.h <<\_ACEOF
       
  1828 #define _NETBSD_SOURCE 1
       
  1829 _ACEOF
       
  1830 
       
  1831 
       
  1832 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
       
  1833 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
       
  1834 # them.
       
  1835 
       
  1836 cat >>confdefs.h <<\_ACEOF
       
  1837 #define __BSD_VISIBLE 1
       
  1838 _ACEOF
       
  1839 
       
  1840 
       
  1841 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
       
  1842 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
       
  1843 
       
  1844 cat >>confdefs.h <<\_ACEOF
       
  1845 #define _BSD_TYPES 1
       
  1846 _ACEOF
       
  1847 
       
  1848 
       
  1849 define_xopen_source=yes
       
  1850 
       
  1851 # Arguments passed to configure.
       
  1852 
       
  1853 CONFIG_ARGS="$ac_configure_args"
       
  1854 
       
  1855 # Check whether --enable-universalsdk was given.
       
  1856 if test "${enable_universalsdk+set}" = set; then
       
  1857   enableval=$enable_universalsdk;
       
  1858 	case $enableval in
       
  1859 	yes)
       
  1860 		enableval=/Developer/SDKs/MacOSX10.4u.sdk
       
  1861 		;;
       
  1862 	esac
       
  1863 	case $enableval in
       
  1864 	no)
       
  1865 		UNIVERSALSDK=
       
  1866 		enable_universalsdk=
       
  1867 		;;
       
  1868 	*)
       
  1869 		UNIVERSALSDK=$enableval
       
  1870 		;;
       
  1871 	esac
       
  1872 
       
  1873 else
       
  1874 
       
  1875    	UNIVERSALSDK=
       
  1876 	enable_universalsdk=
       
  1877 
       
  1878 fi
       
  1879 
       
  1880 
       
  1881 
       
  1882 # Check whether --enable-framework was given.
       
  1883 if test "${enable_framework+set}" = set; then
       
  1884   enableval=$enable_framework;
       
  1885 	case $enableval in
       
  1886 	yes)
       
  1887 		enableval=/Library/Frameworks
       
  1888 	esac
       
  1889 	case $enableval in
       
  1890 	no)
       
  1891 		PYTHONFRAMEWORK=
       
  1892 		PYTHONFRAMEWORKDIR=no-framework
       
  1893 		PYTHONFRAMEWORKPREFIX=
       
  1894 		PYTHONFRAMEWORKINSTALLDIR=
       
  1895 		FRAMEWORKINSTALLFIRST=
       
  1896 		FRAMEWORKINSTALLLAST=
       
  1897 		FRAMEWORKALTINSTALLFIRST=
       
  1898 		FRAMEWORKALTINSTALLLAST=
       
  1899 		if test "x${prefix}" = "xNONE"; then
       
  1900 			FRAMEWORKUNIXTOOLSPREFIX="${ac_default_prefix}"
       
  1901 		else
       
  1902 			FRAMEWORKUNIXTOOLSPREFIX="${prefix}"
       
  1903 		fi
       
  1904 		enable_framework=
       
  1905 		;;
       
  1906 	*)
       
  1907 		PYTHONFRAMEWORK=Python
       
  1908 		PYTHONFRAMEWORKDIR=Python.framework
       
  1909 		PYTHONFRAMEWORKPREFIX=$enableval
       
  1910 		PYTHONFRAMEWORKINSTALLDIR=$PYTHONFRAMEWORKPREFIX/$PYTHONFRAMEWORKDIR
       
  1911 		FRAMEWORKINSTALLFIRST="frameworkinstallstructure"
       
  1912 		FRAMEWORKINSTALLLAST="frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools"
       
  1913 		FRAMEWORKALTINSTALLFIRST="${FRAMEWORKINSTALLFIRST} bininstall maninstall"
       
  1914 		FRAMEWORKALTINSTALLLAST="frameworkinstallmaclib frameworkinstallapps frameworkaltinstallunixtools"
       
  1915 		if test "x${prefix}" = "xNONE" ; then
       
  1916 			FRAMEWORKUNIXTOOLSPREFIX="${ac_default_prefix}"
       
  1917 		else
       
  1918 			FRAMEWORKUNIXTOOLSPREFIX="${prefix}"
       
  1919 		fi
       
  1920 		prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
       
  1921 
       
  1922 		# Add makefiles for Mac specific code to the list of output
       
  1923 		# files:
       
  1924 		ac_config_files="$ac_config_files Mac/Makefile"
       
  1925 
       
  1926 		ac_config_files="$ac_config_files Mac/PythonLauncher/Makefile"
       
  1927 
       
  1928 		ac_config_files="$ac_config_files Mac/IDLE/Makefile"
       
  1929 
       
  1930 	esac
       
  1931 
       
  1932 else
       
  1933 
       
  1934 	PYTHONFRAMEWORK=
       
  1935 	PYTHONFRAMEWORKDIR=no-framework
       
  1936 	PYTHONFRAMEWORKPREFIX=
       
  1937 	PYTHONFRAMEWORKINSTALLDIR=
       
  1938 	FRAMEWORKINSTALLFIRST=
       
  1939 	FRAMEWORKINSTALLLAST=
       
  1940 	FRAMEWORKALTINSTALLFIRST=
       
  1941 	FRAMEWORKALTINSTALLLAST=
       
  1942 	if test "x${prefix}" = "xNONE" ; then
       
  1943 		FRAMEWORKUNIXTOOLSPREFIX="${ac_default_prefix}"
       
  1944 	else
       
  1945 		FRAMEWORKUNIXTOOLSPREFIX="${prefix}"
       
  1946 	fi
       
  1947 	enable_framework=
       
  1948 
       
  1949 fi
       
  1950 
       
  1951 
       
  1952 
       
  1953 
       
  1954 
       
  1955 
       
  1956 
       
  1957 
       
  1958 
       
  1959 
       
  1960 
       
  1961 ##AC_ARG_WITH(dyld,
       
  1962 ##            AC_HELP_STRING(--with-dyld,
       
  1963 ##                           Use (OpenStep|Rhapsody) dynamic linker))
       
  1964 ##
       
  1965 # Set name for machine-dependent library files
       
  1966 
       
  1967 { echo "$as_me:$LINENO: checking MACHDEP" >&5
       
  1968 echo $ECHO_N "checking MACHDEP... $ECHO_C" >&6; }
       
  1969 if test -z "$MACHDEP"
       
  1970 then
       
  1971 	ac_sys_system=`uname -s`
       
  1972 	if test "$ac_sys_system" = "AIX" -o "$ac_sys_system" = "Monterey64" \
       
  1973 	-o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
       
  1974 		ac_sys_release=`uname -v`
       
  1975 	else
       
  1976 		ac_sys_release=`uname -r`
       
  1977 	fi
       
  1978 	ac_md_system=`echo $ac_sys_system |
       
  1979 			   tr -d '/ ' | tr '[A-Z]' '[a-z]'`
       
  1980 	ac_md_release=`echo $ac_sys_release |
       
  1981 			   tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
       
  1982 	MACHDEP="$ac_md_system$ac_md_release"
       
  1983 
       
  1984 	case $MACHDEP in
       
  1985 	cygwin*) MACHDEP="cygwin";;
       
  1986 	darwin*) MACHDEP="darwin";;
       
  1987 	atheos*) MACHDEP="atheos";;
       
  1988         irix646) MACHDEP="irix6";;
       
  1989 	'')	MACHDEP="unknown";;
       
  1990 	esac
       
  1991 fi
       
  1992 
       
  1993 # Some systems cannot stand _XOPEN_SOURCE being defined at all; they
       
  1994 # disable features if it is defined, without any means to access these
       
  1995 # features as extensions. For these systems, we skip the definition of
       
  1996 # _XOPEN_SOURCE. Before adding a system to the list to gain access to
       
  1997 # some feature, make sure there is no alternative way to access this
       
  1998 # feature. Also, when using wildcards, make sure you have verified the
       
  1999 # need for not defining _XOPEN_SOURCE on all systems matching the
       
  2000 # wildcard, and that the wildcard does not include future systems
       
  2001 # (which may remove their limitations).
       
  2002 case $ac_sys_system/$ac_sys_release in
       
  2003   # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
       
  2004   # even though select is a POSIX function. Reported by J. Ribbens.
       
  2005   # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
       
  2006   OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123])
       
  2007     define_xopen_source=no
       
  2008     # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
       
  2009     # also defined. This can be overridden by defining _BSD_SOURCE
       
  2010     # As this has a different meaning on Linux, only define it on OpenBSD
       
  2011 
       
  2012 cat >>confdefs.h <<\_ACEOF
       
  2013 #define _BSD_SOURCE 1
       
  2014 _ACEOF
       
  2015 
       
  2016     ;;
       
  2017   # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
       
  2018   # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
       
  2019   # Marc Recht
       
  2020   NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
       
  2021     define_xopen_source=no;;
       
  2022   # On Solaris 2.6, sys/wait.h is inconsistent in the usage
       
  2023   # of union __?sigval. Reported by Stuart Bishop.
       
  2024   SunOS/5.6)
       
  2025     define_xopen_source=no;;
       
  2026   # On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
       
  2027   # but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
       
  2028   # Reconfirmed for 7.1.4 by Martin v. Loewis.
       
  2029   OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
       
  2030     define_xopen_source=no;;
       
  2031   # On OpenServer 5, u_short is never defined with _XOPEN_SOURCE,
       
  2032   # but used in struct sockaddr.sa_family. Reported by Tim Rice.
       
  2033   SCO_SV/3.2)
       
  2034     define_xopen_source=no;;
       
  2035   # On FreeBSD 4 and MacOS X 10.2, a bug in ncurses.h means that
       
  2036   # it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
       
  2037   # this is fixed in 10.3, which identifies itself as Darwin/7.*
       
  2038   # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
       
  2039   # disables platform specific features beyond repair.
       
  2040   # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
       
  2041   # has no effect, don't bother defining them
       
  2042   FreeBSD/4.* | Darwin/[6789].*)
       
  2043     define_xopen_source=no;;
       
  2044   # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
       
  2045   # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
       
  2046   # or has another value. By not (re)defining it, the defaults come in place.
       
  2047   AIX/4)
       
  2048     define_xopen_source=no;;
       
  2049   AIX/5)
       
  2050     if test `uname -r` -eq 1; then
       
  2051       define_xopen_source=no
       
  2052     fi
       
  2053     ;;
       
  2054 
       
  2055 esac
       
  2056 
       
  2057 if test $define_xopen_source = yes
       
  2058 then
       
  2059   # On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
       
  2060   # defined precisely as g++ defines it
       
  2061   # Furthermore, on Solaris 10, XPG6 requires the use of a C99
       
  2062   # compiler
       
  2063   case $ac_sys_system/$ac_sys_release in
       
  2064     SunOS/5.8|SunOS/5.9|SunOS/5.10)
       
  2065 
       
  2066 cat >>confdefs.h <<\_ACEOF
       
  2067 #define _XOPEN_SOURCE 500
       
  2068 _ACEOF
       
  2069 
       
  2070       ;;
       
  2071     *)
       
  2072 
       
  2073 cat >>confdefs.h <<\_ACEOF
       
  2074 #define _XOPEN_SOURCE 600
       
  2075 _ACEOF
       
  2076 
       
  2077       ;;
       
  2078   esac
       
  2079 
       
  2080   # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
       
  2081   # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
       
  2082   # several APIs are not declared. Since this is also needed in some
       
  2083   # cases for HP-UX, we define it globally.
       
  2084   # except for Solaris 10, where it must not be defined,
       
  2085   # as it implies XPG4.2
       
  2086   case $ac_sys_system/$ac_sys_release in
       
  2087     SunOS/5.10)
       
  2088       ;;
       
  2089     *)
       
  2090 
       
  2091 cat >>confdefs.h <<\_ACEOF
       
  2092 #define _XOPEN_SOURCE_EXTENDED 1
       
  2093 _ACEOF
       
  2094 
       
  2095       ;;
       
  2096   esac
       
  2097 
       
  2098 
       
  2099 cat >>confdefs.h <<\_ACEOF
       
  2100 #define _POSIX_C_SOURCE 200112L
       
  2101 _ACEOF
       
  2102 
       
  2103 
       
  2104 fi
       
  2105 
       
  2106 #
       
  2107 # SGI compilers allow the specification of the both the ABI and the
       
  2108 # ISA on the command line.  Depending on the values of these switches,
       
  2109 # different and often incompatable code will be generated.
       
  2110 #
       
  2111 # The SGI_ABI variable can be used to modify the CC and LDFLAGS and
       
  2112 # thus supply support for various ABI/ISA combinations.  The MACHDEP
       
  2113 # variable is also adjusted.
       
  2114 #
       
  2115 
       
  2116 if test ! -z "$SGI_ABI"
       
  2117 then
       
  2118         CC="cc $SGI_ABI"
       
  2119         LDFLAGS="$SGI_ABI $LDFLAGS"
       
  2120         MACHDEP=`echo "${MACHDEP}${SGI_ABI}" | sed 's/ *//g'`
       
  2121 fi
       
  2122 { echo "$as_me:$LINENO: result: $MACHDEP" >&5
       
  2123 echo "${ECHO_T}$MACHDEP" >&6; }
       
  2124 
       
  2125 # And add extra plat-mac for darwin
       
  2126 
       
  2127 
       
  2128 { echo "$as_me:$LINENO: checking EXTRAPLATDIR" >&5
       
  2129 echo $ECHO_N "checking EXTRAPLATDIR... $ECHO_C" >&6; }
       
  2130 if test -z "$EXTRAPLATDIR"
       
  2131 then
       
  2132 	case $MACHDEP in
       
  2133 	darwin)
       
  2134 		EXTRAPLATDIR="\$(PLATMACDIRS)"
       
  2135 		EXTRAMACHDEPPATH="\$(PLATMACPATH)"
       
  2136 		;;
       
  2137 	*)
       
  2138 		EXTRAPLATDIR=""
       
  2139 		EXTRAMACHDEPPATH=""
       
  2140 		;;
       
  2141 	esac
       
  2142 fi
       
  2143 { echo "$as_me:$LINENO: result: $EXTRAPLATDIR" >&5
       
  2144 echo "${ECHO_T}$EXTRAPLATDIR" >&6; }
       
  2145 
       
  2146 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
       
  2147 # it may influence the way we can build extensions, so distutils
       
  2148 # needs to check it
       
  2149 
       
  2150 
       
  2151 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=
       
  2152 EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
       
  2153 
       
  2154 # checks for alternative programs
       
  2155 
       
  2156 # compiler flags are generated in two sets, BASECFLAGS and OPT.  OPT is just
       
  2157 # for debug/optimization stuff.  BASECFLAGS is for flags that are required
       
  2158 # just to get things to compile and link.  Users are free to override OPT
       
  2159 # when running configure or make.  The build should not break if they do.
       
  2160 # BASECFLAGS should generally not be messed with, however.
       
  2161 
       
  2162 # XXX shouldn't some/most/all of this code be merged with the stuff later
       
  2163 # on that fiddles with OPT and BASECFLAGS?
       
  2164 { echo "$as_me:$LINENO: checking for --without-gcc" >&5
       
  2165 echo $ECHO_N "checking for --without-gcc... $ECHO_C" >&6; }
       
  2166 
       
  2167 # Check whether --with-gcc was given.
       
  2168 if test "${with_gcc+set}" = set; then
       
  2169   withval=$with_gcc;
       
  2170 	case $withval in
       
  2171 	no)	CC=cc
       
  2172 		without_gcc=yes;;
       
  2173 	yes)	CC=gcc
       
  2174 		without_gcc=no;;
       
  2175 	*)	CC=$withval
       
  2176 		without_gcc=$withval;;
       
  2177 	esac
       
  2178 else
       
  2179 
       
  2180 	case $ac_sys_system in
       
  2181 	AIX*)   CC=cc_r
       
  2182 		without_gcc=;;
       
  2183 	BeOS*)
       
  2184 		case $BE_HOST_CPU in
       
  2185 		ppc)
       
  2186 			CC=mwcc
       
  2187 			without_gcc=yes
       
  2188 			BASECFLAGS="$BASECFLAGS -export pragma"
       
  2189 			OPT="$OPT -O"
       
  2190 			LDFLAGS="$LDFLAGS -nodup"
       
  2191 			;;
       
  2192 		x86)
       
  2193 			CC=gcc
       
  2194 			without_gcc=no
       
  2195 			OPT="$OPT -O"
       
  2196 			;;
       
  2197 		*)
       
  2198 			{ { echo "$as_me:$LINENO: error: Unknown BeOS platform \"$BE_HOST_CPU\"" >&5
       
  2199 echo "$as_me: error: Unknown BeOS platform \"$BE_HOST_CPU\"" >&2;}
       
  2200    { (exit 1); exit 1; }; }
       
  2201 			;;
       
  2202 		esac
       
  2203 		AR="\$(srcdir)/Modules/ar_beos"
       
  2204 		RANLIB=:
       
  2205 		;;
       
  2206     Monterey*)
       
  2207         RANLIB=:
       
  2208         without_gcc=;;
       
  2209 	*)	without_gcc=no;;
       
  2210 	esac
       
  2211 fi
       
  2212 
       
  2213 { echo "$as_me:$LINENO: result: $without_gcc" >&5
       
  2214 echo "${ECHO_T}$without_gcc" >&6; }
       
  2215 
       
  2216 # If the user switches compilers, we can't believe the cache
       
  2217 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
       
  2218 then
       
  2219   { { echo "$as_me:$LINENO: error: cached CC is different -- throw away $cache_file
       
  2220 (it is also a good idea to do 'make clean' before compiling)" >&5
       
  2221 echo "$as_me: error: cached CC is different -- throw away $cache_file
       
  2222 (it is also a good idea to do 'make clean' before compiling)" >&2;}
       
  2223    { (exit 1); exit 1; }; }
       
  2224 fi
       
  2225 
       
  2226 ac_ext=c
       
  2227 ac_cpp='$CPP $CPPFLAGS'
       
  2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  2231 if test -n "$ac_tool_prefix"; then
       
  2232   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
       
  2233 set dummy ${ac_tool_prefix}gcc; ac_word=$2
       
  2234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2236 if test "${ac_cv_prog_CC+set}" = set; then
       
  2237   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2238 else
       
  2239   if test -n "$CC"; then
       
  2240   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2241 else
       
  2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2243 for as_dir in $PATH
       
  2244 do
       
  2245   IFS=$as_save_IFS
       
  2246   test -z "$as_dir" && as_dir=.
       
  2247   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2249     ac_cv_prog_CC="${ac_tool_prefix}gcc"
       
  2250     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2251     break 2
       
  2252   fi
       
  2253 done
       
  2254 done
       
  2255 IFS=$as_save_IFS
       
  2256 
       
  2257 fi
       
  2258 fi
       
  2259 CC=$ac_cv_prog_CC
       
  2260 if test -n "$CC"; then
       
  2261   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2262 echo "${ECHO_T}$CC" >&6; }
       
  2263 else
       
  2264   { echo "$as_me:$LINENO: result: no" >&5
       
  2265 echo "${ECHO_T}no" >&6; }
       
  2266 fi
       
  2267 
       
  2268 
       
  2269 fi
       
  2270 if test -z "$ac_cv_prog_CC"; then
       
  2271   ac_ct_CC=$CC
       
  2272   # Extract the first word of "gcc", so it can be a program name with args.
       
  2273 set dummy gcc; ac_word=$2
       
  2274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  2277   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2278 else
       
  2279   if test -n "$ac_ct_CC"; then
       
  2280   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  2281 else
       
  2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2283 for as_dir in $PATH
       
  2284 do
       
  2285   IFS=$as_save_IFS
       
  2286   test -z "$as_dir" && as_dir=.
       
  2287   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2289     ac_cv_prog_ac_ct_CC="gcc"
       
  2290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2291     break 2
       
  2292   fi
       
  2293 done
       
  2294 done
       
  2295 IFS=$as_save_IFS
       
  2296 
       
  2297 fi
       
  2298 fi
       
  2299 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  2300 if test -n "$ac_ct_CC"; then
       
  2301   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  2302 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  2303 else
       
  2304   { echo "$as_me:$LINENO: result: no" >&5
       
  2305 echo "${ECHO_T}no" >&6; }
       
  2306 fi
       
  2307 
       
  2308   if test "x$ac_ct_CC" = x; then
       
  2309     CC=""
       
  2310   else
       
  2311     case $cross_compiling:$ac_tool_warned in
       
  2312 yes:)
       
  2313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2314 whose name does not start with the host triplet.  If you think this
       
  2315 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2317 whose name does not start with the host triplet.  If you think this
       
  2318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2319 ac_tool_warned=yes ;;
       
  2320 esac
       
  2321     CC=$ac_ct_CC
       
  2322   fi
       
  2323 else
       
  2324   CC="$ac_cv_prog_CC"
       
  2325 fi
       
  2326 
       
  2327 if test -z "$CC"; then
       
  2328           if test -n "$ac_tool_prefix"; then
       
  2329     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
       
  2330 set dummy ${ac_tool_prefix}cc; ac_word=$2
       
  2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2333 if test "${ac_cv_prog_CC+set}" = set; then
       
  2334   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2335 else
       
  2336   if test -n "$CC"; then
       
  2337   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2338 else
       
  2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2340 for as_dir in $PATH
       
  2341 do
       
  2342   IFS=$as_save_IFS
       
  2343   test -z "$as_dir" && as_dir=.
       
  2344   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2346     ac_cv_prog_CC="${ac_tool_prefix}cc"
       
  2347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2348     break 2
       
  2349   fi
       
  2350 done
       
  2351 done
       
  2352 IFS=$as_save_IFS
       
  2353 
       
  2354 fi
       
  2355 fi
       
  2356 CC=$ac_cv_prog_CC
       
  2357 if test -n "$CC"; then
       
  2358   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2359 echo "${ECHO_T}$CC" >&6; }
       
  2360 else
       
  2361   { echo "$as_me:$LINENO: result: no" >&5
       
  2362 echo "${ECHO_T}no" >&6; }
       
  2363 fi
       
  2364 
       
  2365 
       
  2366   fi
       
  2367 fi
       
  2368 if test -z "$CC"; then
       
  2369   # Extract the first word of "cc", so it can be a program name with args.
       
  2370 set dummy cc; ac_word=$2
       
  2371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2373 if test "${ac_cv_prog_CC+set}" = set; then
       
  2374   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2375 else
       
  2376   if test -n "$CC"; then
       
  2377   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2378 else
       
  2379   ac_prog_rejected=no
       
  2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2381 for as_dir in $PATH
       
  2382 do
       
  2383   IFS=$as_save_IFS
       
  2384   test -z "$as_dir" && as_dir=.
       
  2385   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2387     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       
  2388        ac_prog_rejected=yes
       
  2389        continue
       
  2390      fi
       
  2391     ac_cv_prog_CC="cc"
       
  2392     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2393     break 2
       
  2394   fi
       
  2395 done
       
  2396 done
       
  2397 IFS=$as_save_IFS
       
  2398 
       
  2399 if test $ac_prog_rejected = yes; then
       
  2400   # We found a bogon in the path, so make sure we never use it.
       
  2401   set dummy $ac_cv_prog_CC
       
  2402   shift
       
  2403   if test $# != 0; then
       
  2404     # We chose a different compiler from the bogus one.
       
  2405     # However, it has the same basename, so the bogon will be chosen
       
  2406     # first if we set CC to just the basename; use the full file name.
       
  2407     shift
       
  2408     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
       
  2409   fi
       
  2410 fi
       
  2411 fi
       
  2412 fi
       
  2413 CC=$ac_cv_prog_CC
       
  2414 if test -n "$CC"; then
       
  2415   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2416 echo "${ECHO_T}$CC" >&6; }
       
  2417 else
       
  2418   { echo "$as_me:$LINENO: result: no" >&5
       
  2419 echo "${ECHO_T}no" >&6; }
       
  2420 fi
       
  2421 
       
  2422 
       
  2423 fi
       
  2424 if test -z "$CC"; then
       
  2425   if test -n "$ac_tool_prefix"; then
       
  2426   for ac_prog in cl.exe
       
  2427   do
       
  2428     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  2429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  2430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2432 if test "${ac_cv_prog_CC+set}" = set; then
       
  2433   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2434 else
       
  2435   if test -n "$CC"; then
       
  2436   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  2437 else
       
  2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2439 for as_dir in $PATH
       
  2440 do
       
  2441   IFS=$as_save_IFS
       
  2442   test -z "$as_dir" && as_dir=.
       
  2443   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2445     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
       
  2446     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2447     break 2
       
  2448   fi
       
  2449 done
       
  2450 done
       
  2451 IFS=$as_save_IFS
       
  2452 
       
  2453 fi
       
  2454 fi
       
  2455 CC=$ac_cv_prog_CC
       
  2456 if test -n "$CC"; then
       
  2457   { echo "$as_me:$LINENO: result: $CC" >&5
       
  2458 echo "${ECHO_T}$CC" >&6; }
       
  2459 else
       
  2460   { echo "$as_me:$LINENO: result: no" >&5
       
  2461 echo "${ECHO_T}no" >&6; }
       
  2462 fi
       
  2463 
       
  2464 
       
  2465     test -n "$CC" && break
       
  2466   done
       
  2467 fi
       
  2468 if test -z "$CC"; then
       
  2469   ac_ct_CC=$CC
       
  2470   for ac_prog in cl.exe
       
  2471 do
       
  2472   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2473 set dummy $ac_prog; ac_word=$2
       
  2474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  2477   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2478 else
       
  2479   if test -n "$ac_ct_CC"; then
       
  2480   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  2481 else
       
  2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2483 for as_dir in $PATH
       
  2484 do
       
  2485   IFS=$as_save_IFS
       
  2486   test -z "$as_dir" && as_dir=.
       
  2487   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2489     ac_cv_prog_ac_ct_CC="$ac_prog"
       
  2490     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2491     break 2
       
  2492   fi
       
  2493 done
       
  2494 done
       
  2495 IFS=$as_save_IFS
       
  2496 
       
  2497 fi
       
  2498 fi
       
  2499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  2500 if test -n "$ac_ct_CC"; then
       
  2501   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  2502 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  2503 else
       
  2504   { echo "$as_me:$LINENO: result: no" >&5
       
  2505 echo "${ECHO_T}no" >&6; }
       
  2506 fi
       
  2507 
       
  2508 
       
  2509   test -n "$ac_ct_CC" && break
       
  2510 done
       
  2511 
       
  2512   if test "x$ac_ct_CC" = x; then
       
  2513     CC=""
       
  2514   else
       
  2515     case $cross_compiling:$ac_tool_warned in
       
  2516 yes:)
       
  2517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2518 whose name does not start with the host triplet.  If you think this
       
  2519 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2521 whose name does not start with the host triplet.  If you think this
       
  2522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2523 ac_tool_warned=yes ;;
       
  2524 esac
       
  2525     CC=$ac_ct_CC
       
  2526   fi
       
  2527 fi
       
  2528 
       
  2529 fi
       
  2530 
       
  2531 
       
  2532 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
       
  2533 See \`config.log' for more details." >&5
       
  2534 echo "$as_me: error: no acceptable C compiler found in \$PATH
       
  2535 See \`config.log' for more details." >&2;}
       
  2536    { (exit 1); exit 1; }; }
       
  2537 
       
  2538 # Provide some information about the compiler.
       
  2539 echo "$as_me:$LINENO: checking for C compiler version" >&5
       
  2540 ac_compiler=`set X $ac_compile; echo $2`
       
  2541 { (ac_try="$ac_compiler --version >&5"
       
  2542 case "(($ac_try" in
       
  2543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2544   *) ac_try_echo=$ac_try;;
       
  2545 esac
       
  2546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2547   (eval "$ac_compiler --version >&5") 2>&5
       
  2548   ac_status=$?
       
  2549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2550   (exit $ac_status); }
       
  2551 { (ac_try="$ac_compiler -v >&5"
       
  2552 case "(($ac_try" in
       
  2553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2554   *) ac_try_echo=$ac_try;;
       
  2555 esac
       
  2556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2557   (eval "$ac_compiler -v >&5") 2>&5
       
  2558   ac_status=$?
       
  2559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2560   (exit $ac_status); }
       
  2561 { (ac_try="$ac_compiler -V >&5"
       
  2562 case "(($ac_try" in
       
  2563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2564   *) ac_try_echo=$ac_try;;
       
  2565 esac
       
  2566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2567   (eval "$ac_compiler -V >&5") 2>&5
       
  2568   ac_status=$?
       
  2569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2570   (exit $ac_status); }
       
  2571 
       
  2572 cat >conftest.$ac_ext <<_ACEOF
       
  2573 /* confdefs.h.  */
       
  2574 _ACEOF
       
  2575 cat confdefs.h >>conftest.$ac_ext
       
  2576 cat >>conftest.$ac_ext <<_ACEOF
       
  2577 /* end confdefs.h.  */
       
  2578 
       
  2579 int
       
  2580 main ()
       
  2581 {
       
  2582 
       
  2583   ;
       
  2584   return 0;
       
  2585 }
       
  2586 _ACEOF
       
  2587 ac_clean_files_save=$ac_clean_files
       
  2588 ac_clean_files="$ac_clean_files a.out a.exe b.out"
       
  2589 # Try to create an executable without -o first, disregard a.out.
       
  2590 # It will help us diagnose broken compilers, and finding out an intuition
       
  2591 # of exeext.
       
  2592 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
       
  2593 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
       
  2594 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
       
  2595 #
       
  2596 # List of possible output files, starting from the most likely.
       
  2597 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
       
  2598 # only as a last resort.  b.out is created by i960 compilers.
       
  2599 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
       
  2600 #
       
  2601 # The IRIX 6 linker writes into existing files which may not be
       
  2602 # executable, retaining their permissions.  Remove them first so a
       
  2603 # subsequent execution test works.
       
  2604 ac_rmfiles=
       
  2605 for ac_file in $ac_files
       
  2606 do
       
  2607   case $ac_file in
       
  2608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2609     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
       
  2610   esac
       
  2611 done
       
  2612 rm -f $ac_rmfiles
       
  2613 
       
  2614 if { (ac_try="$ac_link_default"
       
  2615 case "(($ac_try" in
       
  2616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2617   *) ac_try_echo=$ac_try;;
       
  2618 esac
       
  2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2620   (eval "$ac_link_default") 2>&5
       
  2621   ac_status=$?
       
  2622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2623   (exit $ac_status); }; then
       
  2624   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
       
  2625 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
       
  2626 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
       
  2627 # so that the user can short-circuit this test for compilers unknown to
       
  2628 # Autoconf.
       
  2629 for ac_file in $ac_files ''
       
  2630 do
       
  2631   test -f "$ac_file" || continue
       
  2632   case $ac_file in
       
  2633     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
       
  2634 	;;
       
  2635     [ab].out )
       
  2636 	# We found the default executable, but exeext='' is most
       
  2637 	# certainly right.
       
  2638 	break;;
       
  2639     *.* )
       
  2640         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
       
  2641 	then :; else
       
  2642 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2643 	fi
       
  2644 	# We set ac_cv_exeext here because the later test for it is not
       
  2645 	# safe: cross compilers may not add the suffix if given an `-o'
       
  2646 	# argument, so we may need to know it at that point already.
       
  2647 	# Even if this section looks crufty: it has the advantage of
       
  2648 	# actually working.
       
  2649 	break;;
       
  2650     * )
       
  2651 	break;;
       
  2652   esac
       
  2653 done
       
  2654 test "$ac_cv_exeext" = no && ac_cv_exeext=
       
  2655 
       
  2656 else
       
  2657   ac_file=''
       
  2658 fi
       
  2659 
       
  2660 { echo "$as_me:$LINENO: result: $ac_file" >&5
       
  2661 echo "${ECHO_T}$ac_file" >&6; }
       
  2662 if test -z "$ac_file"; then
       
  2663   echo "$as_me: failed program was:" >&5
       
  2664 sed 's/^/| /' conftest.$ac_ext >&5
       
  2665 
       
  2666 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
       
  2667 See \`config.log' for more details." >&5
       
  2668 echo "$as_me: error: C compiler cannot create executables
       
  2669 See \`config.log' for more details." >&2;}
       
  2670    { (exit 77); exit 77; }; }
       
  2671 fi
       
  2672 
       
  2673 ac_exeext=$ac_cv_exeext
       
  2674 
       
  2675 # Check that the compiler produces executables we can run.  If not, either
       
  2676 # the compiler is broken, or we cross compile.
       
  2677 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
       
  2678 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
       
  2679 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
       
  2680 # If not cross compiling, check that we can run a simple program.
       
  2681 if test "$cross_compiling" != yes; then
       
  2682   if { ac_try='./$ac_file'
       
  2683   { (case "(($ac_try" in
       
  2684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2685   *) ac_try_echo=$ac_try;;
       
  2686 esac
       
  2687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2688   (eval "$ac_try") 2>&5
       
  2689   ac_status=$?
       
  2690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2691   (exit $ac_status); }; }; then
       
  2692     cross_compiling=no
       
  2693   else
       
  2694     if test "$cross_compiling" = maybe; then
       
  2695 	cross_compiling=yes
       
  2696     else
       
  2697 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
       
  2698 If you meant to cross compile, use \`--host'.
       
  2699 See \`config.log' for more details." >&5
       
  2700 echo "$as_me: error: cannot run C compiled programs.
       
  2701 If you meant to cross compile, use \`--host'.
       
  2702 See \`config.log' for more details." >&2;}
       
  2703    { (exit 1); exit 1; }; }
       
  2704     fi
       
  2705   fi
       
  2706 fi
       
  2707 { echo "$as_me:$LINENO: result: yes" >&5
       
  2708 echo "${ECHO_T}yes" >&6; }
       
  2709 
       
  2710 rm -f a.out a.exe conftest$ac_cv_exeext b.out
       
  2711 ac_clean_files=$ac_clean_files_save
       
  2712 # Check that the compiler produces executables we can run.  If not, either
       
  2713 # the compiler is broken, or we cross compile.
       
  2714 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
       
  2715 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
       
  2716 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
       
  2717 echo "${ECHO_T}$cross_compiling" >&6; }
       
  2718 
       
  2719 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
       
  2720 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
       
  2721 if { (ac_try="$ac_link"
       
  2722 case "(($ac_try" in
       
  2723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2724   *) ac_try_echo=$ac_try;;
       
  2725 esac
       
  2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2727   (eval "$ac_link") 2>&5
       
  2728   ac_status=$?
       
  2729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2730   (exit $ac_status); }; then
       
  2731   # If both `conftest.exe' and `conftest' are `present' (well, observable)
       
  2732 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
       
  2733 # work properly (i.e., refer to `conftest.exe'), while it won't with
       
  2734 # `rm'.
       
  2735 for ac_file in conftest.exe conftest conftest.*; do
       
  2736   test -f "$ac_file" || continue
       
  2737   case $ac_file in
       
  2738     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2739     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2740 	  break;;
       
  2741     * ) break;;
       
  2742   esac
       
  2743 done
       
  2744 else
       
  2745   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
       
  2746 See \`config.log' for more details." >&5
       
  2747 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
       
  2748 See \`config.log' for more details." >&2;}
       
  2749    { (exit 1); exit 1; }; }
       
  2750 fi
       
  2751 
       
  2752 rm -f conftest$ac_cv_exeext
       
  2753 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
       
  2754 echo "${ECHO_T}$ac_cv_exeext" >&6; }
       
  2755 
       
  2756 rm -f conftest.$ac_ext
       
  2757 EXEEXT=$ac_cv_exeext
       
  2758 ac_exeext=$EXEEXT
       
  2759 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
       
  2760 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
       
  2761 if test "${ac_cv_objext+set}" = set; then
       
  2762   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2763 else
       
  2764   cat >conftest.$ac_ext <<_ACEOF
       
  2765 /* confdefs.h.  */
       
  2766 _ACEOF
       
  2767 cat confdefs.h >>conftest.$ac_ext
       
  2768 cat >>conftest.$ac_ext <<_ACEOF
       
  2769 /* end confdefs.h.  */
       
  2770 
       
  2771 int
       
  2772 main ()
       
  2773 {
       
  2774 
       
  2775   ;
       
  2776   return 0;
       
  2777 }
       
  2778 _ACEOF
       
  2779 rm -f conftest.o conftest.obj
       
  2780 if { (ac_try="$ac_compile"
       
  2781 case "(($ac_try" in
       
  2782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2783   *) ac_try_echo=$ac_try;;
       
  2784 esac
       
  2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2786   (eval "$ac_compile") 2>&5
       
  2787   ac_status=$?
       
  2788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2789   (exit $ac_status); }; then
       
  2790   for ac_file in conftest.o conftest.obj conftest.*; do
       
  2791   test -f "$ac_file" || continue;
       
  2792   case $ac_file in
       
  2793     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
       
  2794     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       
  2795        break;;
       
  2796   esac
       
  2797 done
       
  2798 else
       
  2799   echo "$as_me: failed program was:" >&5
       
  2800 sed 's/^/| /' conftest.$ac_ext >&5
       
  2801 
       
  2802 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
       
  2803 See \`config.log' for more details." >&5
       
  2804 echo "$as_me: error: cannot compute suffix of object files: cannot compile
       
  2805 See \`config.log' for more details." >&2;}
       
  2806    { (exit 1); exit 1; }; }
       
  2807 fi
       
  2808 
       
  2809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
       
  2810 fi
       
  2811 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
       
  2812 echo "${ECHO_T}$ac_cv_objext" >&6; }
       
  2813 OBJEXT=$ac_cv_objext
       
  2814 ac_objext=$OBJEXT
       
  2815 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
       
  2816 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
       
  2817 if test "${ac_cv_c_compiler_gnu+set}" = set; then
       
  2818   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2819 else
       
  2820   cat >conftest.$ac_ext <<_ACEOF
       
  2821 /* confdefs.h.  */
       
  2822 _ACEOF
       
  2823 cat confdefs.h >>conftest.$ac_ext
       
  2824 cat >>conftest.$ac_ext <<_ACEOF
       
  2825 /* end confdefs.h.  */
       
  2826 
       
  2827 int
       
  2828 main ()
       
  2829 {
       
  2830 #ifndef __GNUC__
       
  2831        choke me
       
  2832 #endif
       
  2833 
       
  2834   ;
       
  2835   return 0;
       
  2836 }
       
  2837 _ACEOF
       
  2838 rm -f conftest.$ac_objext
       
  2839 if { (ac_try="$ac_compile"
       
  2840 case "(($ac_try" in
       
  2841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2842   *) ac_try_echo=$ac_try;;
       
  2843 esac
       
  2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2845   (eval "$ac_compile") 2>conftest.er1
       
  2846   ac_status=$?
       
  2847   grep -v '^ *+' conftest.er1 >conftest.err
       
  2848   rm -f conftest.er1
       
  2849   cat conftest.err >&5
       
  2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2851   (exit $ac_status); } && {
       
  2852 	 test -z "$ac_c_werror_flag" ||
       
  2853 	 test ! -s conftest.err
       
  2854        } && test -s conftest.$ac_objext; then
       
  2855   ac_compiler_gnu=yes
       
  2856 else
       
  2857   echo "$as_me: failed program was:" >&5
       
  2858 sed 's/^/| /' conftest.$ac_ext >&5
       
  2859 
       
  2860 	ac_compiler_gnu=no
       
  2861 fi
       
  2862 
       
  2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2864 ac_cv_c_compiler_gnu=$ac_compiler_gnu
       
  2865 
       
  2866 fi
       
  2867 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
       
  2868 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
       
  2869 GCC=`test $ac_compiler_gnu = yes && echo yes`
       
  2870 ac_test_CFLAGS=${CFLAGS+set}
       
  2871 ac_save_CFLAGS=$CFLAGS
       
  2872 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
       
  2873 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
       
  2874 if test "${ac_cv_prog_cc_g+set}" = set; then
       
  2875   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2876 else
       
  2877   ac_save_c_werror_flag=$ac_c_werror_flag
       
  2878    ac_c_werror_flag=yes
       
  2879    ac_cv_prog_cc_g=no
       
  2880    CFLAGS="-g"
       
  2881    cat >conftest.$ac_ext <<_ACEOF
       
  2882 /* confdefs.h.  */
       
  2883 _ACEOF
       
  2884 cat confdefs.h >>conftest.$ac_ext
       
  2885 cat >>conftest.$ac_ext <<_ACEOF
       
  2886 /* end confdefs.h.  */
       
  2887 
       
  2888 int
       
  2889 main ()
       
  2890 {
       
  2891 
       
  2892   ;
       
  2893   return 0;
       
  2894 }
       
  2895 _ACEOF
       
  2896 rm -f conftest.$ac_objext
       
  2897 if { (ac_try="$ac_compile"
       
  2898 case "(($ac_try" in
       
  2899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2900   *) ac_try_echo=$ac_try;;
       
  2901 esac
       
  2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2903   (eval "$ac_compile") 2>conftest.er1
       
  2904   ac_status=$?
       
  2905   grep -v '^ *+' conftest.er1 >conftest.err
       
  2906   rm -f conftest.er1
       
  2907   cat conftest.err >&5
       
  2908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2909   (exit $ac_status); } && {
       
  2910 	 test -z "$ac_c_werror_flag" ||
       
  2911 	 test ! -s conftest.err
       
  2912        } && test -s conftest.$ac_objext; then
       
  2913   ac_cv_prog_cc_g=yes
       
  2914 else
       
  2915   echo "$as_me: failed program was:" >&5
       
  2916 sed 's/^/| /' conftest.$ac_ext >&5
       
  2917 
       
  2918 	CFLAGS=""
       
  2919       cat >conftest.$ac_ext <<_ACEOF
       
  2920 /* confdefs.h.  */
       
  2921 _ACEOF
       
  2922 cat confdefs.h >>conftest.$ac_ext
       
  2923 cat >>conftest.$ac_ext <<_ACEOF
       
  2924 /* end confdefs.h.  */
       
  2925 
       
  2926 int
       
  2927 main ()
       
  2928 {
       
  2929 
       
  2930   ;
       
  2931   return 0;
       
  2932 }
       
  2933 _ACEOF
       
  2934 rm -f conftest.$ac_objext
       
  2935 if { (ac_try="$ac_compile"
       
  2936 case "(($ac_try" in
       
  2937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2938   *) ac_try_echo=$ac_try;;
       
  2939 esac
       
  2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2941   (eval "$ac_compile") 2>conftest.er1
       
  2942   ac_status=$?
       
  2943   grep -v '^ *+' conftest.er1 >conftest.err
       
  2944   rm -f conftest.er1
       
  2945   cat conftest.err >&5
       
  2946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2947   (exit $ac_status); } && {
       
  2948 	 test -z "$ac_c_werror_flag" ||
       
  2949 	 test ! -s conftest.err
       
  2950        } && test -s conftest.$ac_objext; then
       
  2951   :
       
  2952 else
       
  2953   echo "$as_me: failed program was:" >&5
       
  2954 sed 's/^/| /' conftest.$ac_ext >&5
       
  2955 
       
  2956 	ac_c_werror_flag=$ac_save_c_werror_flag
       
  2957 	 CFLAGS="-g"
       
  2958 	 cat >conftest.$ac_ext <<_ACEOF
       
  2959 /* confdefs.h.  */
       
  2960 _ACEOF
       
  2961 cat confdefs.h >>conftest.$ac_ext
       
  2962 cat >>conftest.$ac_ext <<_ACEOF
       
  2963 /* end confdefs.h.  */
       
  2964 
       
  2965 int
       
  2966 main ()
       
  2967 {
       
  2968 
       
  2969   ;
       
  2970   return 0;
       
  2971 }
       
  2972 _ACEOF
       
  2973 rm -f conftest.$ac_objext
       
  2974 if { (ac_try="$ac_compile"
       
  2975 case "(($ac_try" in
       
  2976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2977   *) ac_try_echo=$ac_try;;
       
  2978 esac
       
  2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2980   (eval "$ac_compile") 2>conftest.er1
       
  2981   ac_status=$?
       
  2982   grep -v '^ *+' conftest.er1 >conftest.err
       
  2983   rm -f conftest.er1
       
  2984   cat conftest.err >&5
       
  2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2986   (exit $ac_status); } && {
       
  2987 	 test -z "$ac_c_werror_flag" ||
       
  2988 	 test ! -s conftest.err
       
  2989        } && test -s conftest.$ac_objext; then
       
  2990   ac_cv_prog_cc_g=yes
       
  2991 else
       
  2992   echo "$as_me: failed program was:" >&5
       
  2993 sed 's/^/| /' conftest.$ac_ext >&5
       
  2994 
       
  2995 
       
  2996 fi
       
  2997 
       
  2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2999 fi
       
  3000 
       
  3001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3002 fi
       
  3003 
       
  3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3005    ac_c_werror_flag=$ac_save_c_werror_flag
       
  3006 fi
       
  3007 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
       
  3008 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
       
  3009 if test "$ac_test_CFLAGS" = set; then
       
  3010   CFLAGS=$ac_save_CFLAGS
       
  3011 elif test $ac_cv_prog_cc_g = yes; then
       
  3012   if test "$GCC" = yes; then
       
  3013     CFLAGS="-g -O2"
       
  3014   else
       
  3015     CFLAGS="-g"
       
  3016   fi
       
  3017 else
       
  3018   if test "$GCC" = yes; then
       
  3019     CFLAGS="-O2"
       
  3020   else
       
  3021     CFLAGS=
       
  3022   fi
       
  3023 fi
       
  3024 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
       
  3025 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
       
  3026 if test "${ac_cv_prog_cc_c89+set}" = set; then
       
  3027   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3028 else
       
  3029   ac_cv_prog_cc_c89=no
       
  3030 ac_save_CC=$CC
       
  3031 cat >conftest.$ac_ext <<_ACEOF
       
  3032 /* confdefs.h.  */
       
  3033 _ACEOF
       
  3034 cat confdefs.h >>conftest.$ac_ext
       
  3035 cat >>conftest.$ac_ext <<_ACEOF
       
  3036 /* end confdefs.h.  */
       
  3037 #include <stdarg.h>
       
  3038 #include <stdio.h>
       
  3039 #include <sys/types.h>
       
  3040 #include <sys/stat.h>
       
  3041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
       
  3042 struct buf { int x; };
       
  3043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
       
  3044 static char *e (p, i)
       
  3045      char **p;
       
  3046      int i;
       
  3047 {
       
  3048   return p[i];
       
  3049 }
       
  3050 static char *f (char * (*g) (char **, int), char **p, ...)
       
  3051 {
       
  3052   char *s;
       
  3053   va_list v;
       
  3054   va_start (v,p);
       
  3055   s = g (p, va_arg (v,int));
       
  3056   va_end (v);
       
  3057   return s;
       
  3058 }
       
  3059 
       
  3060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
       
  3061    function prototypes and stuff, but not '\xHH' hex character constants.
       
  3062    These don't provoke an error unfortunately, instead are silently treated
       
  3063    as 'x'.  The following induces an error, until -std is added to get
       
  3064    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
       
  3065    array size at least.  It's necessary to write '\x00'==0 to get something
       
  3066    that's true only with -std.  */
       
  3067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
       
  3068 
       
  3069 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
       
  3070    inside strings and character constants.  */
       
  3071 #define FOO(x) 'x'
       
  3072 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
       
  3073 
       
  3074 int test (int i, double x);
       
  3075 struct s1 {int (*f) (int a);};
       
  3076 struct s2 {int (*f) (double a);};
       
  3077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
       
  3078 int argc;
       
  3079 char **argv;
       
  3080 int
       
  3081 main ()
       
  3082 {
       
  3083 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
       
  3084   ;
       
  3085   return 0;
       
  3086 }
       
  3087 _ACEOF
       
  3088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
       
  3089 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
       
  3090 do
       
  3091   CC="$ac_save_CC $ac_arg"
       
  3092   rm -f conftest.$ac_objext
       
  3093 if { (ac_try="$ac_compile"
       
  3094 case "(($ac_try" in
       
  3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3096   *) ac_try_echo=$ac_try;;
       
  3097 esac
       
  3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3099   (eval "$ac_compile") 2>conftest.er1
       
  3100   ac_status=$?
       
  3101   grep -v '^ *+' conftest.er1 >conftest.err
       
  3102   rm -f conftest.er1
       
  3103   cat conftest.err >&5
       
  3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3105   (exit $ac_status); } && {
       
  3106 	 test -z "$ac_c_werror_flag" ||
       
  3107 	 test ! -s conftest.err
       
  3108        } && test -s conftest.$ac_objext; then
       
  3109   ac_cv_prog_cc_c89=$ac_arg
       
  3110 else
       
  3111   echo "$as_me: failed program was:" >&5
       
  3112 sed 's/^/| /' conftest.$ac_ext >&5
       
  3113 
       
  3114 
       
  3115 fi
       
  3116 
       
  3117 rm -f core conftest.err conftest.$ac_objext
       
  3118   test "x$ac_cv_prog_cc_c89" != "xno" && break
       
  3119 done
       
  3120 rm -f conftest.$ac_ext
       
  3121 CC=$ac_save_CC
       
  3122 
       
  3123 fi
       
  3124 # AC_CACHE_VAL
       
  3125 case "x$ac_cv_prog_cc_c89" in
       
  3126   x)
       
  3127     { echo "$as_me:$LINENO: result: none needed" >&5
       
  3128 echo "${ECHO_T}none needed" >&6; } ;;
       
  3129   xno)
       
  3130     { echo "$as_me:$LINENO: result: unsupported" >&5
       
  3131 echo "${ECHO_T}unsupported" >&6; } ;;
       
  3132   *)
       
  3133     CC="$CC $ac_cv_prog_cc_c89"
       
  3134     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
       
  3135 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
       
  3136 esac
       
  3137 
       
  3138 
       
  3139 ac_ext=c
       
  3140 ac_cpp='$CPP $CPPFLAGS'
       
  3141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3144 
       
  3145 
       
  3146 
       
  3147 
       
  3148 { echo "$as_me:$LINENO: checking for --with-cxx-main=<compiler>" >&5
       
  3149 echo $ECHO_N "checking for --with-cxx-main=<compiler>... $ECHO_C" >&6; }
       
  3150 
       
  3151 # Check whether --with-cxx_main was given.
       
  3152 if test "${with_cxx_main+set}" = set; then
       
  3153   withval=$with_cxx_main;
       
  3154 
       
  3155 	case $withval in
       
  3156 	no)	with_cxx_main=no
       
  3157 		MAINCC='$(CC)';;
       
  3158 	yes)	with_cxx_main=yes
       
  3159 		MAINCC='$(CXX)';;
       
  3160 	*)	with_cxx_main=yes
       
  3161 		MAINCC=$withval
       
  3162 		if test -z "$CXX"
       
  3163 		then
       
  3164 			CXX=$withval
       
  3165 		fi;;
       
  3166 	esac
       
  3167 else
       
  3168 
       
  3169 	with_cxx_main=no
       
  3170 	MAINCC='$(CC)'
       
  3171 
       
  3172 fi
       
  3173 
       
  3174 { echo "$as_me:$LINENO: result: $with_cxx_main" >&5
       
  3175 echo "${ECHO_T}$with_cxx_main" >&6; }
       
  3176 
       
  3177 preset_cxx="$CXX"
       
  3178 if test -z "$CXX"
       
  3179 then
       
  3180         case "$CC" in
       
  3181         gcc)    # Extract the first word of "g++", so it can be a program name with args.
       
  3182 set dummy g++; ac_word=$2
       
  3183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3185 if test "${ac_cv_path_CXX+set}" = set; then
       
  3186   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3187 else
       
  3188   case $CXX in
       
  3189   [\\/]* | ?:[\\/]*)
       
  3190   ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
       
  3191   ;;
       
  3192   *)
       
  3193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3194 for as_dir in notfound
       
  3195 do
       
  3196   IFS=$as_save_IFS
       
  3197   test -z "$as_dir" && as_dir=.
       
  3198   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3200     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
       
  3201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3202     break 2
       
  3203   fi
       
  3204 done
       
  3205 done
       
  3206 IFS=$as_save_IFS
       
  3207 
       
  3208   test -z "$ac_cv_path_CXX" && ac_cv_path_CXX="g++"
       
  3209   ;;
       
  3210 esac
       
  3211 fi
       
  3212 CXX=$ac_cv_path_CXX
       
  3213 if test -n "$CXX"; then
       
  3214   { echo "$as_me:$LINENO: result: $CXX" >&5
       
  3215 echo "${ECHO_T}$CXX" >&6; }
       
  3216 else
       
  3217   { echo "$as_me:$LINENO: result: no" >&5
       
  3218 echo "${ECHO_T}no" >&6; }
       
  3219 fi
       
  3220 
       
  3221  ;;
       
  3222         cc)     # Extract the first word of "c++", so it can be a program name with args.
       
  3223 set dummy c++; ac_word=$2
       
  3224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3226 if test "${ac_cv_path_CXX+set}" = set; then
       
  3227   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3228 else
       
  3229   case $CXX in
       
  3230   [\\/]* | ?:[\\/]*)
       
  3231   ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
       
  3232   ;;
       
  3233   *)
       
  3234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3235 for as_dir in notfound
       
  3236 do
       
  3237   IFS=$as_save_IFS
       
  3238   test -z "$as_dir" && as_dir=.
       
  3239   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3241     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
       
  3242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3243     break 2
       
  3244   fi
       
  3245 done
       
  3246 done
       
  3247 IFS=$as_save_IFS
       
  3248 
       
  3249   test -z "$ac_cv_path_CXX" && ac_cv_path_CXX="c++"
       
  3250   ;;
       
  3251 esac
       
  3252 fi
       
  3253 CXX=$ac_cv_path_CXX
       
  3254 if test -n "$CXX"; then
       
  3255   { echo "$as_me:$LINENO: result: $CXX" >&5
       
  3256 echo "${ECHO_T}$CXX" >&6; }
       
  3257 else
       
  3258   { echo "$as_me:$LINENO: result: no" >&5
       
  3259 echo "${ECHO_T}no" >&6; }
       
  3260 fi
       
  3261 
       
  3262  ;;
       
  3263         esac
       
  3264 	if test "$CXX" = "notfound"
       
  3265 	then
       
  3266 		CXX=""
       
  3267 	fi
       
  3268 fi
       
  3269 if test -z "$CXX"
       
  3270 then
       
  3271 	for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
       
  3272 do
       
  3273   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  3274 set dummy $ac_prog; ac_word=$2
       
  3275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3277 if test "${ac_cv_prog_CXX+set}" = set; then
       
  3278   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3279 else
       
  3280   if test -n "$CXX"; then
       
  3281   ac_cv_prog_CXX="$CXX" # Let the user override the test.
       
  3282 else
       
  3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3284 for as_dir in $PATH
       
  3285 do
       
  3286   IFS=$as_save_IFS
       
  3287   test -z "$as_dir" && as_dir=.
       
  3288   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3290     ac_cv_prog_CXX="$ac_prog"
       
  3291     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3292     break 2
       
  3293   fi
       
  3294 done
       
  3295 done
       
  3296 IFS=$as_save_IFS
       
  3297 
       
  3298 fi
       
  3299 fi
       
  3300 CXX=$ac_cv_prog_CXX
       
  3301 if test -n "$CXX"; then
       
  3302   { echo "$as_me:$LINENO: result: $CXX" >&5
       
  3303 echo "${ECHO_T}$CXX" >&6; }
       
  3304 else
       
  3305   { echo "$as_me:$LINENO: result: no" >&5
       
  3306 echo "${ECHO_T}no" >&6; }
       
  3307 fi
       
  3308 
       
  3309 
       
  3310   test -n "$CXX" && break
       
  3311 done
       
  3312 test -n "$CXX" || CXX="notfound"
       
  3313 
       
  3314 	if test "$CXX" = "notfound"
       
  3315 	then
       
  3316 		CXX=""
       
  3317 	fi
       
  3318 fi
       
  3319 if test "$preset_cxx" != "$CXX"
       
  3320 then
       
  3321         { echo "$as_me:$LINENO: WARNING:
       
  3322 
       
  3323   By default, distutils will build C++ extension modules with \"$CXX\".
       
  3324   If this is not intended, then set CXX on the configure command line.
       
  3325   " >&5
       
  3326 echo "$as_me: WARNING:
       
  3327 
       
  3328   By default, distutils will build C++ extension modules with \"$CXX\".
       
  3329   If this is not intended, then set CXX on the configure command line.
       
  3330   " >&2;}
       
  3331 fi
       
  3332 
       
  3333 
       
  3334 # checks for UNIX variants that set C preprocessor variables
       
  3335 
       
  3336 ac_ext=c
       
  3337 ac_cpp='$CPP $CPPFLAGS'
       
  3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3341 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
       
  3342 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
       
  3343 # On Suns, sometimes $CPP names a directory.
       
  3344 if test -n "$CPP" && test -d "$CPP"; then
       
  3345   CPP=
       
  3346 fi
       
  3347 if test -z "$CPP"; then
       
  3348   if test "${ac_cv_prog_CPP+set}" = set; then
       
  3349   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3350 else
       
  3351       # Double quotes because CPP needs to be expanded
       
  3352     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
       
  3353     do
       
  3354       ac_preproc_ok=false
       
  3355 for ac_c_preproc_warn_flag in '' yes
       
  3356 do
       
  3357   # Use a header file that comes with gcc, so configuring glibc
       
  3358   # with a fresh cross-compiler works.
       
  3359   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  3360   # <limits.h> exists even on freestanding compilers.
       
  3361   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  3362   # not just through cpp. "Syntax error" is here to catch this case.
       
  3363   cat >conftest.$ac_ext <<_ACEOF
       
  3364 /* confdefs.h.  */
       
  3365 _ACEOF
       
  3366 cat confdefs.h >>conftest.$ac_ext
       
  3367 cat >>conftest.$ac_ext <<_ACEOF
       
  3368 /* end confdefs.h.  */
       
  3369 #ifdef __STDC__
       
  3370 # include <limits.h>
       
  3371 #else
       
  3372 # include <assert.h>
       
  3373 #endif
       
  3374 		     Syntax error
       
  3375 _ACEOF
       
  3376 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  3377 case "(($ac_try" in
       
  3378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3379   *) ac_try_echo=$ac_try;;
       
  3380 esac
       
  3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3382   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  3383   ac_status=$?
       
  3384   grep -v '^ *+' conftest.er1 >conftest.err
       
  3385   rm -f conftest.er1
       
  3386   cat conftest.err >&5
       
  3387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3388   (exit $ac_status); } >/dev/null && {
       
  3389 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  3390 	 test ! -s conftest.err
       
  3391        }; then
       
  3392   :
       
  3393 else
       
  3394   echo "$as_me: failed program was:" >&5
       
  3395 sed 's/^/| /' conftest.$ac_ext >&5
       
  3396 
       
  3397   # Broken: fails on valid input.
       
  3398 continue
       
  3399 fi
       
  3400 
       
  3401 rm -f conftest.err conftest.$ac_ext
       
  3402 
       
  3403   # OK, works on sane cases.  Now check whether nonexistent headers
       
  3404   # can be detected and how.
       
  3405   cat >conftest.$ac_ext <<_ACEOF
       
  3406 /* confdefs.h.  */
       
  3407 _ACEOF
       
  3408 cat confdefs.h >>conftest.$ac_ext
       
  3409 cat >>conftest.$ac_ext <<_ACEOF
       
  3410 /* end confdefs.h.  */
       
  3411 #include <ac_nonexistent.h>
       
  3412 _ACEOF
       
  3413 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  3414 case "(($ac_try" in
       
  3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3416   *) ac_try_echo=$ac_try;;
       
  3417 esac
       
  3418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3419   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  3420   ac_status=$?
       
  3421   grep -v '^ *+' conftest.er1 >conftest.err
       
  3422   rm -f conftest.er1
       
  3423   cat conftest.err >&5
       
  3424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3425   (exit $ac_status); } >/dev/null && {
       
  3426 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  3427 	 test ! -s conftest.err
       
  3428        }; then
       
  3429   # Broken: success on invalid input.
       
  3430 continue
       
  3431 else
       
  3432   echo "$as_me: failed program was:" >&5
       
  3433 sed 's/^/| /' conftest.$ac_ext >&5
       
  3434 
       
  3435   # Passes both tests.
       
  3436 ac_preproc_ok=:
       
  3437 break
       
  3438 fi
       
  3439 
       
  3440 rm -f conftest.err conftest.$ac_ext
       
  3441 
       
  3442 done
       
  3443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  3444 rm -f conftest.err conftest.$ac_ext
       
  3445 if $ac_preproc_ok; then
       
  3446   break
       
  3447 fi
       
  3448 
       
  3449     done
       
  3450     ac_cv_prog_CPP=$CPP
       
  3451 
       
  3452 fi
       
  3453   CPP=$ac_cv_prog_CPP
       
  3454 else
       
  3455   ac_cv_prog_CPP=$CPP
       
  3456 fi
       
  3457 { echo "$as_me:$LINENO: result: $CPP" >&5
       
  3458 echo "${ECHO_T}$CPP" >&6; }
       
  3459 ac_preproc_ok=false
       
  3460 for ac_c_preproc_warn_flag in '' yes
       
  3461 do
       
  3462   # Use a header file that comes with gcc, so configuring glibc
       
  3463   # with a fresh cross-compiler works.
       
  3464   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  3465   # <limits.h> exists even on freestanding compilers.
       
  3466   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  3467   # not just through cpp. "Syntax error" is here to catch this case.
       
  3468   cat >conftest.$ac_ext <<_ACEOF
       
  3469 /* confdefs.h.  */
       
  3470 _ACEOF
       
  3471 cat confdefs.h >>conftest.$ac_ext
       
  3472 cat >>conftest.$ac_ext <<_ACEOF
       
  3473 /* end confdefs.h.  */
       
  3474 #ifdef __STDC__
       
  3475 # include <limits.h>
       
  3476 #else
       
  3477 # include <assert.h>
       
  3478 #endif
       
  3479 		     Syntax error
       
  3480 _ACEOF
       
  3481 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  3482 case "(($ac_try" in
       
  3483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3484   *) ac_try_echo=$ac_try;;
       
  3485 esac
       
  3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3487   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  3488   ac_status=$?
       
  3489   grep -v '^ *+' conftest.er1 >conftest.err
       
  3490   rm -f conftest.er1
       
  3491   cat conftest.err >&5
       
  3492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3493   (exit $ac_status); } >/dev/null && {
       
  3494 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  3495 	 test ! -s conftest.err
       
  3496        }; then
       
  3497   :
       
  3498 else
       
  3499   echo "$as_me: failed program was:" >&5
       
  3500 sed 's/^/| /' conftest.$ac_ext >&5
       
  3501 
       
  3502   # Broken: fails on valid input.
       
  3503 continue
       
  3504 fi
       
  3505 
       
  3506 rm -f conftest.err conftest.$ac_ext
       
  3507 
       
  3508   # OK, works on sane cases.  Now check whether nonexistent headers
       
  3509   # can be detected and how.
       
  3510   cat >conftest.$ac_ext <<_ACEOF
       
  3511 /* confdefs.h.  */
       
  3512 _ACEOF
       
  3513 cat confdefs.h >>conftest.$ac_ext
       
  3514 cat >>conftest.$ac_ext <<_ACEOF
       
  3515 /* end confdefs.h.  */
       
  3516 #include <ac_nonexistent.h>
       
  3517 _ACEOF
       
  3518 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  3519 case "(($ac_try" in
       
  3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3521   *) ac_try_echo=$ac_try;;
       
  3522 esac
       
  3523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3524   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  3525   ac_status=$?
       
  3526   grep -v '^ *+' conftest.er1 >conftest.err
       
  3527   rm -f conftest.er1
       
  3528   cat conftest.err >&5
       
  3529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3530   (exit $ac_status); } >/dev/null && {
       
  3531 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  3532 	 test ! -s conftest.err
       
  3533        }; then
       
  3534   # Broken: success on invalid input.
       
  3535 continue
       
  3536 else
       
  3537   echo "$as_me: failed program was:" >&5
       
  3538 sed 's/^/| /' conftest.$ac_ext >&5
       
  3539 
       
  3540   # Passes both tests.
       
  3541 ac_preproc_ok=:
       
  3542 break
       
  3543 fi
       
  3544 
       
  3545 rm -f conftest.err conftest.$ac_ext
       
  3546 
       
  3547 done
       
  3548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  3549 rm -f conftest.err conftest.$ac_ext
       
  3550 if $ac_preproc_ok; then
       
  3551   :
       
  3552 else
       
  3553   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
       
  3554 See \`config.log' for more details." >&5
       
  3555 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
       
  3556 See \`config.log' for more details." >&2;}
       
  3557    { (exit 1); exit 1; }; }
       
  3558 fi
       
  3559 
       
  3560 ac_ext=c
       
  3561 ac_cpp='$CPP $CPPFLAGS'
       
  3562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3565 
       
  3566 
       
  3567 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
       
  3568 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
       
  3569 if test "${ac_cv_path_GREP+set}" = set; then
       
  3570   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3571 else
       
  3572   # Extract the first word of "grep ggrep" to use in msg output
       
  3573 if test -z "$GREP"; then
       
  3574 set dummy grep ggrep; ac_prog_name=$2
       
  3575 if test "${ac_cv_path_GREP+set}" = set; then
       
  3576   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3577 else
       
  3578   ac_path_GREP_found=false
       
  3579 # Loop through the user's path and test for each of PROGNAME-LIST
       
  3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3582 do
       
  3583   IFS=$as_save_IFS
       
  3584   test -z "$as_dir" && as_dir=.
       
  3585   for ac_prog in grep ggrep; do
       
  3586   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3587     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3588     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
       
  3589     # Check for GNU ac_path_GREP and select it if it is found.
       
  3590   # Check for GNU $ac_path_GREP
       
  3591 case `"$ac_path_GREP" --version 2>&1` in
       
  3592 *GNU*)
       
  3593   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
       
  3594 *)
       
  3595   ac_count=0
       
  3596   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  3597   while :
       
  3598   do
       
  3599     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3600     mv "conftest.tmp" "conftest.in"
       
  3601     cp "conftest.in" "conftest.nl"
       
  3602     echo 'GREP' >> "conftest.nl"
       
  3603     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3604     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3605     ac_count=`expr $ac_count + 1`
       
  3606     if test $ac_count -gt ${ac_path_GREP_max-0}; then
       
  3607       # Best one so far, save it but keep looking for a better one
       
  3608       ac_cv_path_GREP="$ac_path_GREP"
       
  3609       ac_path_GREP_max=$ac_count
       
  3610     fi
       
  3611     # 10*(2^10) chars as input seems more than enough
       
  3612     test $ac_count -gt 10 && break
       
  3613   done
       
  3614   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3615 esac
       
  3616 
       
  3617 
       
  3618     $ac_path_GREP_found && break 3
       
  3619   done
       
  3620 done
       
  3621 
       
  3622 done
       
  3623 IFS=$as_save_IFS
       
  3624 
       
  3625 
       
  3626 fi
       
  3627 
       
  3628 GREP="$ac_cv_path_GREP"
       
  3629 if test -z "$GREP"; then
       
  3630   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  3631 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  3632    { (exit 1); exit 1; }; }
       
  3633 fi
       
  3634 
       
  3635 else
       
  3636   ac_cv_path_GREP=$GREP
       
  3637 fi
       
  3638 
       
  3639 
       
  3640 fi
       
  3641 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
       
  3642 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
       
  3643  GREP="$ac_cv_path_GREP"
       
  3644 
       
  3645 
       
  3646 { echo "$as_me:$LINENO: checking for egrep" >&5
       
  3647 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
       
  3648 if test "${ac_cv_path_EGREP+set}" = set; then
       
  3649   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3650 else
       
  3651   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
       
  3652    then ac_cv_path_EGREP="$GREP -E"
       
  3653    else
       
  3654      # Extract the first word of "egrep" to use in msg output
       
  3655 if test -z "$EGREP"; then
       
  3656 set dummy egrep; ac_prog_name=$2
       
  3657 if test "${ac_cv_path_EGREP+set}" = set; then
       
  3658   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3659 else
       
  3660   ac_path_EGREP_found=false
       
  3661 # Loop through the user's path and test for each of PROGNAME-LIST
       
  3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3663 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  3664 do
       
  3665   IFS=$as_save_IFS
       
  3666   test -z "$as_dir" && as_dir=.
       
  3667   for ac_prog in egrep; do
       
  3668   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3669     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
       
  3670     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
       
  3671     # Check for GNU ac_path_EGREP and select it if it is found.
       
  3672   # Check for GNU $ac_path_EGREP
       
  3673 case `"$ac_path_EGREP" --version 2>&1` in
       
  3674 *GNU*)
       
  3675   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
       
  3676 *)
       
  3677   ac_count=0
       
  3678   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  3679   while :
       
  3680   do
       
  3681     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  3682     mv "conftest.tmp" "conftest.in"
       
  3683     cp "conftest.in" "conftest.nl"
       
  3684     echo 'EGREP' >> "conftest.nl"
       
  3685     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  3686     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  3687     ac_count=`expr $ac_count + 1`
       
  3688     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
       
  3689       # Best one so far, save it but keep looking for a better one
       
  3690       ac_cv_path_EGREP="$ac_path_EGREP"
       
  3691       ac_path_EGREP_max=$ac_count
       
  3692     fi
       
  3693     # 10*(2^10) chars as input seems more than enough
       
  3694     test $ac_count -gt 10 && break
       
  3695   done
       
  3696   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  3697 esac
       
  3698 
       
  3699 
       
  3700     $ac_path_EGREP_found && break 3
       
  3701   done
       
  3702 done
       
  3703 
       
  3704 done
       
  3705 IFS=$as_save_IFS
       
  3706 
       
  3707 
       
  3708 fi
       
  3709 
       
  3710 EGREP="$ac_cv_path_EGREP"
       
  3711 if test -z "$EGREP"; then
       
  3712   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  3713 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  3714    { (exit 1); exit 1; }; }
       
  3715 fi
       
  3716 
       
  3717 else
       
  3718   ac_cv_path_EGREP=$EGREP
       
  3719 fi
       
  3720 
       
  3721 
       
  3722    fi
       
  3723 fi
       
  3724 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
       
  3725 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
       
  3726  EGREP="$ac_cv_path_EGREP"
       
  3727 
       
  3728 
       
  3729 
       
  3730 { echo "$as_me:$LINENO: checking for AIX" >&5
       
  3731 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
       
  3732 cat >conftest.$ac_ext <<_ACEOF
       
  3733 /* confdefs.h.  */
       
  3734 _ACEOF
       
  3735 cat confdefs.h >>conftest.$ac_ext
       
  3736 cat >>conftest.$ac_ext <<_ACEOF
       
  3737 /* end confdefs.h.  */
       
  3738 #ifdef _AIX
       
  3739   yes
       
  3740 #endif
       
  3741 
       
  3742 _ACEOF
       
  3743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  3744   $EGREP "yes" >/dev/null 2>&1; then
       
  3745   { echo "$as_me:$LINENO: result: yes" >&5
       
  3746 echo "${ECHO_T}yes" >&6; }
       
  3747 cat >>confdefs.h <<\_ACEOF
       
  3748 #define _ALL_SOURCE 1
       
  3749 _ACEOF
       
  3750 
       
  3751 else
       
  3752   { echo "$as_me:$LINENO: result: no" >&5
       
  3753 echo "${ECHO_T}no" >&6; }
       
  3754 fi
       
  3755 rm -f conftest*
       
  3756 
       
  3757 
       
  3758 
       
  3759 # Check for unsupported systems
       
  3760 case $ac_sys_system/$ac_sys_release in
       
  3761 Linux*/1*)
       
  3762    echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
       
  3763    echo See README for details.
       
  3764    exit 1;;
       
  3765 esac
       
  3766 
       
  3767 
       
  3768 { echo "$as_me:$LINENO: checking for --with-suffix" >&5
       
  3769 echo $ECHO_N "checking for --with-suffix... $ECHO_C" >&6; }
       
  3770 
       
  3771 # Check whether --with-suffix was given.
       
  3772 if test "${with_suffix+set}" = set; then
       
  3773   withval=$with_suffix;
       
  3774 	case $withval in
       
  3775 	no)	EXEEXT=;;
       
  3776 	yes)	EXEEXT=.exe;;
       
  3777 	*)	EXEEXT=$withval;;
       
  3778 	esac
       
  3779 fi
       
  3780 
       
  3781 { echo "$as_me:$LINENO: result: $EXEEXT" >&5
       
  3782 echo "${ECHO_T}$EXEEXT" >&6; }
       
  3783 
       
  3784 # Test whether we're running on a non-case-sensitive system, in which
       
  3785 # case we give a warning if no ext is given
       
  3786 
       
  3787 { echo "$as_me:$LINENO: checking for case-insensitive build directory" >&5
       
  3788 echo $ECHO_N "checking for case-insensitive build directory... $ECHO_C" >&6; }
       
  3789 if test ! -d CaseSensitiveTestDir; then
       
  3790 mkdir CaseSensitiveTestDir
       
  3791 fi
       
  3792 
       
  3793 if test -d casesensitivetestdir
       
  3794 then
       
  3795     { echo "$as_me:$LINENO: result: yes" >&5
       
  3796 echo "${ECHO_T}yes" >&6; }
       
  3797     BUILDEXEEXT=.exe
       
  3798 else
       
  3799 	{ echo "$as_me:$LINENO: result: no" >&5
       
  3800 echo "${ECHO_T}no" >&6; }
       
  3801 	BUILDEXEEXT=$EXEEXT
       
  3802 fi
       
  3803 rmdir CaseSensitiveTestDir
       
  3804 
       
  3805 case $MACHDEP in
       
  3806 bsdos*)
       
  3807     case $CC in
       
  3808     gcc) CC="$CC -D_HAVE_BSDI";;
       
  3809     esac;;
       
  3810 esac
       
  3811 
       
  3812 case $ac_sys_system in
       
  3813 hp*|HP*)
       
  3814     case $CC in
       
  3815     cc|*/cc) CC="$CC -Ae";;
       
  3816     esac;;
       
  3817 Monterey*)
       
  3818     case $CC in
       
  3819     cc) CC="$CC -Wl,-Bexport";;
       
  3820     esac;;
       
  3821 SunOS*)
       
  3822     # Some functions have a prototype only with that define, e.g. confstr
       
  3823 
       
  3824 cat >>confdefs.h <<\_ACEOF
       
  3825 #define __EXTENSIONS__ 1
       
  3826 _ACEOF
       
  3827 
       
  3828     ;;
       
  3829 esac
       
  3830 
       
  3831 
       
  3832 
       
  3833 { echo "$as_me:$LINENO: checking LIBRARY" >&5
       
  3834 echo $ECHO_N "checking LIBRARY... $ECHO_C" >&6; }
       
  3835 if test -z "$LIBRARY"
       
  3836 then
       
  3837 	LIBRARY='libpython$(VERSION).a'
       
  3838 fi
       
  3839 { echo "$as_me:$LINENO: result: $LIBRARY" >&5
       
  3840 echo "${ECHO_T}$LIBRARY" >&6; }
       
  3841 
       
  3842 # LDLIBRARY is the name of the library to link against (as opposed to the
       
  3843 # name of the library into which to insert object files). BLDLIBRARY is also
       
  3844 # the library to link against, usually. On Mac OS X frameworks, BLDLIBRARY
       
  3845 # is blank as the main program is not linked directly against LDLIBRARY.
       
  3846 # LDLIBRARYDIR is the path to LDLIBRARY, which is made in a subdirectory. On
       
  3847 # systems without shared libraries, LDLIBRARY is the same as LIBRARY
       
  3848 # (defined in the Makefiles). On Cygwin LDLIBRARY is the import library,
       
  3849 # DLLLIBRARY is the shared (i.e., DLL) library.
       
  3850 #
       
  3851 # RUNSHARED is used to run shared python without installed libraries
       
  3852 #
       
  3853 # INSTSONAME is the name of the shared library that will be use to install
       
  3854 # on the system - some systems like version suffix, others don't
       
  3855 
       
  3856 
       
  3857 
       
  3858 
       
  3859 
       
  3860 
       
  3861 LDLIBRARY="$LIBRARY"
       
  3862 BLDLIBRARY='$(LDLIBRARY)'
       
  3863 INSTSONAME='$(LDLIBRARY)'
       
  3864 DLLLIBRARY=''
       
  3865 LDLIBRARYDIR=''
       
  3866 RUNSHARED=''
       
  3867 
       
  3868 # LINKCC is the command that links the python executable -- default is $(CC).
       
  3869 # If CXX is set, and if it is needed to link a main function that was
       
  3870 # compiled with CXX, LINKCC is CXX instead. Always using CXX is undesirable:
       
  3871 # python might then depend on the C++ runtime
       
  3872 # This is altered for AIX in order to build the export list before
       
  3873 # linking.
       
  3874 
       
  3875 { echo "$as_me:$LINENO: checking LINKCC" >&5
       
  3876 echo $ECHO_N "checking LINKCC... $ECHO_C" >&6; }
       
  3877 if test -z "$LINKCC"
       
  3878 then
       
  3879 	LINKCC='$(PURIFY) $(MAINCC)'
       
  3880 	case $ac_sys_system in
       
  3881 	AIX*)
       
  3882 	   exp_extra="\"\""
       
  3883 	   if test $ac_sys_release -ge 5 -o \
       
  3884 		   $ac_sys_release -eq 4 -a `uname -r` -ge 2 ; then
       
  3885 	       exp_extra="."
       
  3886 	   fi
       
  3887 	   LINKCC="\$(srcdir)/Modules/makexp_aix Modules/python.exp $exp_extra \$(LIBRARY); $LINKCC";;
       
  3888 	Monterey64*)
       
  3889 	   LINKCC="$LINKCC -L/usr/lib/ia64l64";;
       
  3890 	esac
       
  3891 fi
       
  3892 { echo "$as_me:$LINENO: result: $LINKCC" >&5
       
  3893 echo "${ECHO_T}$LINKCC" >&6; }
       
  3894 
       
  3895 { echo "$as_me:$LINENO: checking for --enable-shared" >&5
       
  3896 echo $ECHO_N "checking for --enable-shared... $ECHO_C" >&6; }
       
  3897 # Check whether --enable-shared was given.
       
  3898 if test "${enable_shared+set}" = set; then
       
  3899   enableval=$enable_shared;
       
  3900 fi
       
  3901 
       
  3902 
       
  3903 if test -z "$enable_shared"
       
  3904 then
       
  3905   case $ac_sys_system in
       
  3906   CYGWIN* | atheos*)
       
  3907     enable_shared="yes";;
       
  3908   *)
       
  3909     enable_shared="no";;
       
  3910   esac
       
  3911 fi
       
  3912 { echo "$as_me:$LINENO: result: $enable_shared" >&5
       
  3913 echo "${ECHO_T}$enable_shared" >&6; }
       
  3914 
       
  3915 { echo "$as_me:$LINENO: checking for --enable-profiling" >&5
       
  3916 echo $ECHO_N "checking for --enable-profiling... $ECHO_C" >&6; }
       
  3917 # Check whether --enable-profiling was given.
       
  3918 if test "${enable_profiling+set}" = set; then
       
  3919   enableval=$enable_profiling; ac_save_cc="$CC"
       
  3920  CC="$CC -pg"
       
  3921  if test "$cross_compiling" = yes; then
       
  3922   ac_enable_profiling="no"
       
  3923 else
       
  3924   cat >conftest.$ac_ext <<_ACEOF
       
  3925 /* confdefs.h.  */
       
  3926 _ACEOF
       
  3927 cat confdefs.h >>conftest.$ac_ext
       
  3928 cat >>conftest.$ac_ext <<_ACEOF
       
  3929 /* end confdefs.h.  */
       
  3930 int main() { return 0; }
       
  3931 _ACEOF
       
  3932 rm -f conftest$ac_exeext
       
  3933 if { (ac_try="$ac_link"
       
  3934 case "(($ac_try" in
       
  3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3936   *) ac_try_echo=$ac_try;;
       
  3937 esac
       
  3938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3939   (eval "$ac_link") 2>&5
       
  3940   ac_status=$?
       
  3941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3942   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  3943   { (case "(($ac_try" in
       
  3944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3945   *) ac_try_echo=$ac_try;;
       
  3946 esac
       
  3947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3948   (eval "$ac_try") 2>&5
       
  3949   ac_status=$?
       
  3950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3951   (exit $ac_status); }; }; then
       
  3952   ac_enable_profiling="yes"
       
  3953 else
       
  3954   echo "$as_me: program exited with status $ac_status" >&5
       
  3955 echo "$as_me: failed program was:" >&5
       
  3956 sed 's/^/| /' conftest.$ac_ext >&5
       
  3957 
       
  3958 ( exit $ac_status )
       
  3959 ac_enable_profiling="no"
       
  3960 fi
       
  3961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  3962 fi
       
  3963 
       
  3964 
       
  3965  CC="$ac_save_cc"
       
  3966 fi
       
  3967 
       
  3968 { echo "$as_me:$LINENO: result: $ac_enable_profiling" >&5
       
  3969 echo "${ECHO_T}$ac_enable_profiling" >&6; }
       
  3970 
       
  3971 case "$ac_enable_profiling" in
       
  3972     "yes")
       
  3973 	BASECFLAGS="-pg $BASECFLAGS"
       
  3974 	LDFLAGS="-pg $LDFLAGS"
       
  3975     ;;
       
  3976 esac
       
  3977 
       
  3978 { echo "$as_me:$LINENO: checking LDLIBRARY" >&5
       
  3979 echo $ECHO_N "checking LDLIBRARY... $ECHO_C" >&6; }
       
  3980 
       
  3981 # MacOSX framework builds need more magic. LDLIBRARY is the dynamic
       
  3982 # library that we build, but we do not want to link against it (we
       
  3983 # will find it with a -framework option). For this reason there is an
       
  3984 # extra variable BLDLIBRARY against which Python and the extension
       
  3985 # modules are linked, BLDLIBRARY. This is normally the same as
       
  3986 # LDLIBRARY, but empty for MacOSX framework builds.
       
  3987 if test "$enable_framework"
       
  3988 then
       
  3989   LDLIBRARY='$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
  3990   RUNSHARED=DYLD_FRAMEWORK_PATH="`pwd`:$DYLD_FRAMEWORK_PATH"
       
  3991   BLDLIBRARY=''
       
  3992 else
       
  3993   BLDLIBRARY='$(LDLIBRARY)'
       
  3994 fi
       
  3995 
       
  3996 # Other platforms follow
       
  3997 if test $enable_shared = "yes"; then
       
  3998 
       
  3999 cat >>confdefs.h <<\_ACEOF
       
  4000 #define Py_ENABLE_SHARED 1
       
  4001 _ACEOF
       
  4002 
       
  4003   case $ac_sys_system in
       
  4004     BeOS*)
       
  4005           LDLIBRARY='libpython$(VERSION).so'
       
  4006           ;;
       
  4007     CYGWIN*)
       
  4008           LDLIBRARY='libpython$(VERSION).dll.a'
       
  4009           DLLLIBRARY='libpython$(VERSION).dll'
       
  4010           ;;
       
  4011     SunOS*)
       
  4012 	  LDLIBRARY='libpython$(VERSION).so'
       
  4013 	  BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
       
  4014 	  RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
       
  4015 	  INSTSONAME="$LDLIBRARY".$SOVERSION
       
  4016           ;;
       
  4017     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
       
  4018 	  LDLIBRARY='libpython$(VERSION).so'
       
  4019 	  BLDLIBRARY='-L. -lpython$(VERSION)'
       
  4020 	  RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
       
  4021 	  case $ac_sys_system in
       
  4022 	      FreeBSD*)
       
  4023 		SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
       
  4024 		;;
       
  4025 	  esac
       
  4026 	  INSTSONAME="$LDLIBRARY".$SOVERSION
       
  4027 	  ;;
       
  4028     hp*|HP*)
       
  4029 	  case `uname -m` in
       
  4030 		ia64)
       
  4031 			LDLIBRARY='libpython$(VERSION).so'
       
  4032 			;;
       
  4033 		*)
       
  4034 			LDLIBRARY='libpython$(VERSION).sl'
       
  4035 			;;
       
  4036 	  esac
       
  4037 	  BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
       
  4038 	  RUNSHARED=SHLIB_PATH=`pwd`:${SHLIB_PATH}
       
  4039 	  ;;
       
  4040     OSF*)
       
  4041 	  LDLIBRARY='libpython$(VERSION).so'
       
  4042 	  BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
       
  4043 	  RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
       
  4044 	  ;;
       
  4045     atheos*)
       
  4046 	  LDLIBRARY='libpython$(VERSION).so'
       
  4047 	  BLDLIBRARY='-L. -lpython$(VERSION)'
       
  4048 	  RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
       
  4049 	  ;;
       
  4050   esac
       
  4051 else # shared is disabled
       
  4052   case $ac_sys_system in
       
  4053     CYGWIN*)
       
  4054           BLDLIBRARY='$(LIBRARY)'
       
  4055           LDLIBRARY='libpython$(VERSION).dll.a'
       
  4056           ;;
       
  4057   esac
       
  4058 fi
       
  4059 
       
  4060 { echo "$as_me:$LINENO: result: $LDLIBRARY" >&5
       
  4061 echo "${ECHO_T}$LDLIBRARY" >&6; }
       
  4062 
       
  4063 if test -n "$ac_tool_prefix"; then
       
  4064   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
       
  4065 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
       
  4066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  4067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  4068 if test "${ac_cv_prog_RANLIB+set}" = set; then
       
  4069   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4070 else
       
  4071   if test -n "$RANLIB"; then
       
  4072   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
       
  4073 else
       
  4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4075 for as_dir in $PATH
       
  4076 do
       
  4077   IFS=$as_save_IFS
       
  4078   test -z "$as_dir" && as_dir=.
       
  4079   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4081     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
       
  4082     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4083     break 2
       
  4084   fi
       
  4085 done
       
  4086 done
       
  4087 IFS=$as_save_IFS
       
  4088 
       
  4089 fi
       
  4090 fi
       
  4091 RANLIB=$ac_cv_prog_RANLIB
       
  4092 if test -n "$RANLIB"; then
       
  4093   { echo "$as_me:$LINENO: result: $RANLIB" >&5
       
  4094 echo "${ECHO_T}$RANLIB" >&6; }
       
  4095 else
       
  4096   { echo "$as_me:$LINENO: result: no" >&5
       
  4097 echo "${ECHO_T}no" >&6; }
       
  4098 fi
       
  4099 
       
  4100 
       
  4101 fi
       
  4102 if test -z "$ac_cv_prog_RANLIB"; then
       
  4103   ac_ct_RANLIB=$RANLIB
       
  4104   # Extract the first word of "ranlib", so it can be a program name with args.
       
  4105 set dummy ranlib; ac_word=$2
       
  4106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  4107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  4108 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
       
  4109   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4110 else
       
  4111   if test -n "$ac_ct_RANLIB"; then
       
  4112   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
       
  4113 else
       
  4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4115 for as_dir in $PATH
       
  4116 do
       
  4117   IFS=$as_save_IFS
       
  4118   test -z "$as_dir" && as_dir=.
       
  4119   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4121     ac_cv_prog_ac_ct_RANLIB="ranlib"
       
  4122     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4123     break 2
       
  4124   fi
       
  4125 done
       
  4126 done
       
  4127 IFS=$as_save_IFS
       
  4128 
       
  4129 fi
       
  4130 fi
       
  4131 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
       
  4132 if test -n "$ac_ct_RANLIB"; then
       
  4133   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
       
  4134 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
       
  4135 else
       
  4136   { echo "$as_me:$LINENO: result: no" >&5
       
  4137 echo "${ECHO_T}no" >&6; }
       
  4138 fi
       
  4139 
       
  4140   if test "x$ac_ct_RANLIB" = x; then
       
  4141     RANLIB=":"
       
  4142   else
       
  4143     case $cross_compiling:$ac_tool_warned in
       
  4144 yes:)
       
  4145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  4146 whose name does not start with the host triplet.  If you think this
       
  4147 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  4148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  4149 whose name does not start with the host triplet.  If you think this
       
  4150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  4151 ac_tool_warned=yes ;;
       
  4152 esac
       
  4153     RANLIB=$ac_ct_RANLIB
       
  4154   fi
       
  4155 else
       
  4156   RANLIB="$ac_cv_prog_RANLIB"
       
  4157 fi
       
  4158 
       
  4159 
       
  4160 for ac_prog in ar aal
       
  4161 do
       
  4162   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  4163 set dummy $ac_prog; ac_word=$2
       
  4164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  4165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  4166 if test "${ac_cv_prog_AR+set}" = set; then
       
  4167   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4168 else
       
  4169   if test -n "$AR"; then
       
  4170   ac_cv_prog_AR="$AR" # Let the user override the test.
       
  4171 else
       
  4172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4173 for as_dir in $PATH
       
  4174 do
       
  4175   IFS=$as_save_IFS
       
  4176   test -z "$as_dir" && as_dir=.
       
  4177   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4179     ac_cv_prog_AR="$ac_prog"
       
  4180     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4181     break 2
       
  4182   fi
       
  4183 done
       
  4184 done
       
  4185 IFS=$as_save_IFS
       
  4186 
       
  4187 fi
       
  4188 fi
       
  4189 AR=$ac_cv_prog_AR
       
  4190 if test -n "$AR"; then
       
  4191   { echo "$as_me:$LINENO: result: $AR" >&5
       
  4192 echo "${ECHO_T}$AR" >&6; }
       
  4193 else
       
  4194   { echo "$as_me:$LINENO: result: no" >&5
       
  4195 echo "${ECHO_T}no" >&6; }
       
  4196 fi
       
  4197 
       
  4198 
       
  4199   test -n "$AR" && break
       
  4200 done
       
  4201 test -n "$AR" || AR="ar"
       
  4202 
       
  4203 
       
  4204 
       
  4205 # Extract the first word of "svnversion", so it can be a program name with args.
       
  4206 set dummy svnversion; ac_word=$2
       
  4207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  4208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  4209 if test "${ac_cv_prog_SVNVERSION+set}" = set; then
       
  4210   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4211 else
       
  4212   if test -n "$SVNVERSION"; then
       
  4213   ac_cv_prog_SVNVERSION="$SVNVERSION" # Let the user override the test.
       
  4214 else
       
  4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4216 for as_dir in $PATH
       
  4217 do
       
  4218   IFS=$as_save_IFS
       
  4219   test -z "$as_dir" && as_dir=.
       
  4220   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  4222     ac_cv_prog_SVNVERSION="found"
       
  4223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  4224     break 2
       
  4225   fi
       
  4226 done
       
  4227 done
       
  4228 IFS=$as_save_IFS
       
  4229 
       
  4230   test -z "$ac_cv_prog_SVNVERSION" && ac_cv_prog_SVNVERSION="not-found"
       
  4231 fi
       
  4232 fi
       
  4233 SVNVERSION=$ac_cv_prog_SVNVERSION
       
  4234 if test -n "$SVNVERSION"; then
       
  4235   { echo "$as_me:$LINENO: result: $SVNVERSION" >&5
       
  4236 echo "${ECHO_T}$SVNVERSION" >&6; }
       
  4237 else
       
  4238   { echo "$as_me:$LINENO: result: no" >&5
       
  4239 echo "${ECHO_T}no" >&6; }
       
  4240 fi
       
  4241 
       
  4242 
       
  4243 if test $SVNVERSION = found
       
  4244 then
       
  4245 	SVNVERSION="svnversion \$(srcdir)"
       
  4246 else
       
  4247 	SVNVERSION="echo exported"
       
  4248 fi
       
  4249 
       
  4250 case $MACHDEP in
       
  4251 bsdos*|hp*|HP*)
       
  4252 	# install -d does not work on BSDI or HP-UX
       
  4253 	if test -z "$INSTALL"
       
  4254 	then
       
  4255 		INSTALL="${srcdir}/install-sh -c"
       
  4256 	fi
       
  4257 esac
       
  4258 ac_aux_dir=
       
  4259 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
       
  4260   if test -f "$ac_dir/install-sh"; then
       
  4261     ac_aux_dir=$ac_dir
       
  4262     ac_install_sh="$ac_aux_dir/install-sh -c"
       
  4263     break
       
  4264   elif test -f "$ac_dir/install.sh"; then
       
  4265     ac_aux_dir=$ac_dir
       
  4266     ac_install_sh="$ac_aux_dir/install.sh -c"
       
  4267     break
       
  4268   elif test -f "$ac_dir/shtool"; then
       
  4269     ac_aux_dir=$ac_dir
       
  4270     ac_install_sh="$ac_aux_dir/shtool install -c"
       
  4271     break
       
  4272   fi
       
  4273 done
       
  4274 if test -z "$ac_aux_dir"; then
       
  4275   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
       
  4276 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
       
  4277    { (exit 1); exit 1; }; }
       
  4278 fi
       
  4279 
       
  4280 # These three variables are undocumented and unsupported,
       
  4281 # and are intended to be withdrawn in a future Autoconf release.
       
  4282 # They can cause serious problems if a builder's source tree is in a directory
       
  4283 # whose full name contains unusual characters.
       
  4284 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
       
  4285 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
       
  4286 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
       
  4287 
       
  4288 
       
  4289 # Find a good install program.  We prefer a C program (faster),
       
  4290 # so one script is as good as another.  But avoid the broken or
       
  4291 # incompatible versions:
       
  4292 # SysV /etc/install, /usr/sbin/install
       
  4293 # SunOS /usr/etc/install
       
  4294 # IRIX /sbin/install
       
  4295 # AIX /bin/install
       
  4296 # AmigaOS /C/install, which installs bootblocks on floppy discs
       
  4297 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
       
  4298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
       
  4299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
       
  4300 # OS/2's system install, which has a completely different semantic
       
  4301 # ./install, which can be erroneously created by make from ./install.sh.
       
  4302 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
       
  4303 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
       
  4304 if test -z "$INSTALL"; then
       
  4305 if test "${ac_cv_path_install+set}" = set; then
       
  4306   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4307 else
       
  4308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4309 for as_dir in $PATH
       
  4310 do
       
  4311   IFS=$as_save_IFS
       
  4312   test -z "$as_dir" && as_dir=.
       
  4313   # Account for people who put trailing slashes in PATH elements.
       
  4314 case $as_dir/ in
       
  4315   ./ | .// | /cC/* | \
       
  4316   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
       
  4317   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
       
  4318   /usr/ucb/* ) ;;
       
  4319   *)
       
  4320     # OSF1 and SCO ODT 3.0 have their own names for install.
       
  4321     # Don't use installbsd from OSF since it installs stuff as root
       
  4322     # by default.
       
  4323     for ac_prog in ginstall scoinst install; do
       
  4324       for ac_exec_ext in '' $ac_executable_extensions; do
       
  4325 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
       
  4326 	  if test $ac_prog = install &&
       
  4327 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  4328 	    # AIX install.  It has an incompatible calling convention.
       
  4329 	    :
       
  4330 	  elif test $ac_prog = install &&
       
  4331 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  4332 	    # program-specific install script used by HP pwplus--don't use.
       
  4333 	    :
       
  4334 	  else
       
  4335 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
       
  4336 	    break 3
       
  4337 	  fi
       
  4338 	fi
       
  4339       done
       
  4340     done
       
  4341     ;;
       
  4342 esac
       
  4343 done
       
  4344 IFS=$as_save_IFS
       
  4345 
       
  4346 
       
  4347 fi
       
  4348   if test "${ac_cv_path_install+set}" = set; then
       
  4349     INSTALL=$ac_cv_path_install
       
  4350   else
       
  4351     # As a last resort, use the slow shell script.  Don't cache a
       
  4352     # value for INSTALL within a source directory, because that will
       
  4353     # break other packages using the cache if that directory is
       
  4354     # removed, or if the value is a relative name.
       
  4355     INSTALL=$ac_install_sh
       
  4356   fi
       
  4357 fi
       
  4358 { echo "$as_me:$LINENO: result: $INSTALL" >&5
       
  4359 echo "${ECHO_T}$INSTALL" >&6; }
       
  4360 
       
  4361 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
       
  4362 # It thinks the first close brace ends the variable substitution.
       
  4363 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
       
  4364 
       
  4365 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
       
  4366 
       
  4367 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
       
  4368 
       
  4369 
       
  4370 # Not every filesystem supports hard links
       
  4371 
       
  4372 if test -z "$LN" ; then
       
  4373 	case $ac_sys_system in
       
  4374 		BeOS*) LN="ln -s";;
       
  4375 		CYGWIN*) LN="ln -s";;
       
  4376 		atheos*) LN="ln -s";;
       
  4377 		*) LN=ln;;
       
  4378 	esac
       
  4379 fi
       
  4380 
       
  4381 # Check for --with-pydebug
       
  4382 { echo "$as_me:$LINENO: checking for --with-pydebug" >&5
       
  4383 echo $ECHO_N "checking for --with-pydebug... $ECHO_C" >&6; }
       
  4384 
       
  4385 # Check whether --with-pydebug was given.
       
  4386 if test "${with_pydebug+set}" = set; then
       
  4387   withval=$with_pydebug;
       
  4388 if test "$withval" != no
       
  4389 then
       
  4390 
       
  4391 cat >>confdefs.h <<\_ACEOF
       
  4392 #define Py_DEBUG 1
       
  4393 _ACEOF
       
  4394 
       
  4395   { echo "$as_me:$LINENO: result: yes" >&5
       
  4396 echo "${ECHO_T}yes" >&6; };
       
  4397   Py_DEBUG='true'
       
  4398 else { echo "$as_me:$LINENO: result: no" >&5
       
  4399 echo "${ECHO_T}no" >&6; }; Py_DEBUG='false'
       
  4400 fi
       
  4401 else
       
  4402   { echo "$as_me:$LINENO: result: no" >&5
       
  4403 echo "${ECHO_T}no" >&6; }
       
  4404 fi
       
  4405 
       
  4406 
       
  4407 # XXX Shouldn't the code above that fiddles with BASECFLAGS and OPT be
       
  4408 # merged with this chunk of code?
       
  4409 
       
  4410 # Optimizer/debugger flags
       
  4411 # ------------------------
       
  4412 # (The following bit of code is complicated enough - please keep things
       
  4413 # indented properly.  Just pretend you're editing Python code. ;-)
       
  4414 
       
  4415 # There are two parallel sets of case statements below, one that checks to
       
  4416 # see if OPT was set and one that does BASECFLAGS setting based upon
       
  4417 # compiler and platform.  BASECFLAGS tweaks need to be made even if the
       
  4418 # user set OPT.
       
  4419 
       
  4420 # tweak OPT based on compiler and platform, only if the user didn't set
       
  4421 # it on the command line
       
  4422 
       
  4423 if test -z "$OPT"
       
  4424 then
       
  4425     case $GCC in
       
  4426     yes)
       
  4427         if test "$CC" != 'g++' ; then
       
  4428 	    STRICT_PROTO="-Wstrict-prototypes"
       
  4429 	fi
       
  4430         # For gcc 4.x we need to use -fwrapv so lets check if its supported
       
  4431         if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
       
  4432            WRAP="-fwrapv"
       
  4433         fi
       
  4434 	case $ac_cv_prog_cc_g in
       
  4435 	yes)
       
  4436 	    if test "$Py_DEBUG" = 'true' ; then
       
  4437 		# Optimization messes up debuggers, so turn it off for
       
  4438 		# debug builds.
       
  4439 		OPT="-g -Wall $STRICT_PROTO"
       
  4440 	    else
       
  4441 		OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
       
  4442 	    fi
       
  4443 	    ;;
       
  4444 	*)
       
  4445 	    OPT="-O3 -Wall $STRICT_PROTO"
       
  4446 	    ;;
       
  4447 	esac
       
  4448 	case $ac_sys_system in
       
  4449 	    SCO_SV*) OPT="$OPT -m486 -DSCO5"
       
  4450 	    ;;
       
  4451         esac
       
  4452 	;;
       
  4453 
       
  4454     *)
       
  4455 	OPT="-O"
       
  4456 	;;
       
  4457     esac
       
  4458 
       
  4459     # The current (beta) Monterey compiler dies with optimizations
       
  4460     # XXX what is Monterey? Does it still die w/ -O? Can we get rid of this?
       
  4461     case $ac_sys_system in
       
  4462 	Monterey*)
       
  4463 	    OPT=""
       
  4464 	    ;;
       
  4465     esac
       
  4466 
       
  4467 fi
       
  4468 
       
  4469 
       
  4470 # tweak BASECFLAGS based on compiler and platform
       
  4471 case $GCC in
       
  4472 yes)
       
  4473     # Python violates C99 rules, by casting between incompatible
       
  4474     # pointer types. GCC may generate bad code as a result of that,
       
  4475     # so use -fno-strict-aliasing if supported.
       
  4476     { echo "$as_me:$LINENO: checking whether $CC accepts -fno-strict-aliasing" >&5
       
  4477 echo $ECHO_N "checking whether $CC accepts -fno-strict-aliasing... $ECHO_C" >&6; }
       
  4478      ac_save_cc="$CC"
       
  4479      CC="$CC -fno-strict-aliasing"
       
  4480      if test "$cross_compiling" = yes; then
       
  4481   ac_cv_no_strict_aliasing_ok=no
       
  4482 else
       
  4483   cat >conftest.$ac_ext <<_ACEOF
       
  4484 /* confdefs.h.  */
       
  4485 _ACEOF
       
  4486 cat confdefs.h >>conftest.$ac_ext
       
  4487 cat >>conftest.$ac_ext <<_ACEOF
       
  4488 /* end confdefs.h.  */
       
  4489 int main() { return 0; }
       
  4490 _ACEOF
       
  4491 rm -f conftest$ac_exeext
       
  4492 if { (ac_try="$ac_link"
       
  4493 case "(($ac_try" in
       
  4494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4495   *) ac_try_echo=$ac_try;;
       
  4496 esac
       
  4497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4498   (eval "$ac_link") 2>&5
       
  4499   ac_status=$?
       
  4500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4501   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4502   { (case "(($ac_try" in
       
  4503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4504   *) ac_try_echo=$ac_try;;
       
  4505 esac
       
  4506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4507   (eval "$ac_try") 2>&5
       
  4508   ac_status=$?
       
  4509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4510   (exit $ac_status); }; }; then
       
  4511   ac_cv_no_strict_aliasing_ok=yes
       
  4512 else
       
  4513   echo "$as_me: program exited with status $ac_status" >&5
       
  4514 echo "$as_me: failed program was:" >&5
       
  4515 sed 's/^/| /' conftest.$ac_ext >&5
       
  4516 
       
  4517 ( exit $ac_status )
       
  4518 ac_cv_no_strict_aliasing_ok=no
       
  4519 fi
       
  4520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  4521 fi
       
  4522 
       
  4523 
       
  4524      CC="$ac_save_cc"
       
  4525     { echo "$as_me:$LINENO: result: $ac_cv_no_strict_aliasing_ok" >&5
       
  4526 echo "${ECHO_T}$ac_cv_no_strict_aliasing_ok" >&6; }
       
  4527     if test $ac_cv_no_strict_aliasing_ok = yes
       
  4528     then
       
  4529       BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
       
  4530     fi
       
  4531     case $ac_sys_system in
       
  4532 	SCO_SV*)
       
  4533 	    BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
       
  4534 	    ;;
       
  4535 	# is there any other compiler on Darwin besides gcc?
       
  4536 	Darwin*)
       
  4537 	    BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
       
  4538 	    if test "${enable_universalsdk}"; then
       
  4539 		BASECFLAGS="-arch ppc -arch i386 -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
       
  4540 	    fi
       
  4541 
       
  4542 	    ;;
       
  4543 	OSF*)
       
  4544 	    BASECFLAGS="$BASECFLAGS -mieee"
       
  4545 	    ;;
       
  4546     esac
       
  4547     ;;
       
  4548 
       
  4549 *)
       
  4550     case $ac_sys_system in
       
  4551     OpenUNIX*|UnixWare*)
       
  4552 	BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
       
  4553 	;;
       
  4554     OSF*)
       
  4555 	BASECFLAGS="$BASECFLAGS -ieee -std"
       
  4556     	;;
       
  4557     SCO_SV*)
       
  4558 	BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
       
  4559 	;;
       
  4560     esac
       
  4561     ;;
       
  4562 esac
       
  4563 
       
  4564 if test "$Py_DEBUG" = 'true'; then
       
  4565   :
       
  4566 else
       
  4567   OPT="-DNDEBUG $OPT"
       
  4568 fi
       
  4569 
       
  4570 if test "$ac_arch_flags"
       
  4571 then
       
  4572 	BASECFLAGS="$BASECFLAGS $ac_arch_flags"
       
  4573 fi
       
  4574 
       
  4575 # disable check for icc since it seems to pass, but generates a warning
       
  4576 if test "$CC" = icc
       
  4577 then
       
  4578   ac_cv_opt_olimit_ok=no
       
  4579 fi
       
  4580 
       
  4581 { echo "$as_me:$LINENO: checking whether $CC accepts -OPT:Olimit=0" >&5
       
  4582 echo $ECHO_N "checking whether $CC accepts -OPT:Olimit=0... $ECHO_C" >&6; }
       
  4583 if test "${ac_cv_opt_olimit_ok+set}" = set; then
       
  4584   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4585 else
       
  4586   ac_save_cc="$CC"
       
  4587 CC="$CC -OPT:Olimit=0"
       
  4588 if test "$cross_compiling" = yes; then
       
  4589   ac_cv_opt_olimit_ok=no
       
  4590 else
       
  4591   cat >conftest.$ac_ext <<_ACEOF
       
  4592 /* confdefs.h.  */
       
  4593 _ACEOF
       
  4594 cat confdefs.h >>conftest.$ac_ext
       
  4595 cat >>conftest.$ac_ext <<_ACEOF
       
  4596 /* end confdefs.h.  */
       
  4597 int main() { return 0; }
       
  4598 _ACEOF
       
  4599 rm -f conftest$ac_exeext
       
  4600 if { (ac_try="$ac_link"
       
  4601 case "(($ac_try" in
       
  4602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4603   *) ac_try_echo=$ac_try;;
       
  4604 esac
       
  4605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4606   (eval "$ac_link") 2>&5
       
  4607   ac_status=$?
       
  4608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4609   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4610   { (case "(($ac_try" in
       
  4611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4612   *) ac_try_echo=$ac_try;;
       
  4613 esac
       
  4614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4615   (eval "$ac_try") 2>&5
       
  4616   ac_status=$?
       
  4617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4618   (exit $ac_status); }; }; then
       
  4619   ac_cv_opt_olimit_ok=yes
       
  4620 else
       
  4621   echo "$as_me: program exited with status $ac_status" >&5
       
  4622 echo "$as_me: failed program was:" >&5
       
  4623 sed 's/^/| /' conftest.$ac_ext >&5
       
  4624 
       
  4625 ( exit $ac_status )
       
  4626 ac_cv_opt_olimit_ok=no
       
  4627 fi
       
  4628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  4629 fi
       
  4630 
       
  4631 
       
  4632 CC="$ac_save_cc"
       
  4633 fi
       
  4634 
       
  4635 { echo "$as_me:$LINENO: result: $ac_cv_opt_olimit_ok" >&5
       
  4636 echo "${ECHO_T}$ac_cv_opt_olimit_ok" >&6; }
       
  4637 if test $ac_cv_opt_olimit_ok = yes; then
       
  4638     case $ac_sys_system in
       
  4639 	# XXX is this branch needed? On MacOSX 10.2.2 the result of the
       
  4640 	# olimit_ok test is "no".  Is it "yes" in some other Darwin-esque
       
  4641 	# environment?
       
  4642         Darwin*)
       
  4643 	    ;;
       
  4644         *)
       
  4645 	    BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
       
  4646 	    ;;
       
  4647     esac
       
  4648 else
       
  4649   { echo "$as_me:$LINENO: checking whether $CC accepts -Olimit 1500" >&5
       
  4650 echo $ECHO_N "checking whether $CC accepts -Olimit 1500... $ECHO_C" >&6; }
       
  4651   if test "${ac_cv_olimit_ok+set}" = set; then
       
  4652   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4653 else
       
  4654   ac_save_cc="$CC"
       
  4655   CC="$CC -Olimit 1500"
       
  4656   if test "$cross_compiling" = yes; then
       
  4657   ac_cv_olimit_ok=no
       
  4658 else
       
  4659   cat >conftest.$ac_ext <<_ACEOF
       
  4660 /* confdefs.h.  */
       
  4661 _ACEOF
       
  4662 cat confdefs.h >>conftest.$ac_ext
       
  4663 cat >>conftest.$ac_ext <<_ACEOF
       
  4664 /* end confdefs.h.  */
       
  4665 int main() { return 0; }
       
  4666 _ACEOF
       
  4667 rm -f conftest$ac_exeext
       
  4668 if { (ac_try="$ac_link"
       
  4669 case "(($ac_try" in
       
  4670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4671   *) ac_try_echo=$ac_try;;
       
  4672 esac
       
  4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4674   (eval "$ac_link") 2>&5
       
  4675   ac_status=$?
       
  4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4677   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4678   { (case "(($ac_try" in
       
  4679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4680   *) ac_try_echo=$ac_try;;
       
  4681 esac
       
  4682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4683   (eval "$ac_try") 2>&5
       
  4684   ac_status=$?
       
  4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4686   (exit $ac_status); }; }; then
       
  4687   ac_cv_olimit_ok=yes
       
  4688 else
       
  4689   echo "$as_me: program exited with status $ac_status" >&5
       
  4690 echo "$as_me: failed program was:" >&5
       
  4691 sed 's/^/| /' conftest.$ac_ext >&5
       
  4692 
       
  4693 ( exit $ac_status )
       
  4694 ac_cv_olimit_ok=no
       
  4695 fi
       
  4696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  4697 fi
       
  4698 
       
  4699 
       
  4700   CC="$ac_save_cc"
       
  4701 fi
       
  4702 
       
  4703   { echo "$as_me:$LINENO: result: $ac_cv_olimit_ok" >&5
       
  4704 echo "${ECHO_T}$ac_cv_olimit_ok" >&6; }
       
  4705   if test $ac_cv_olimit_ok = yes; then
       
  4706     BASECFLAGS="$BASECFLAGS -Olimit 1500"
       
  4707   fi
       
  4708 fi
       
  4709 
       
  4710 # On some compilers, pthreads are available without further options
       
  4711 # (e.g. MacOS X). On some of these systems, the compiler will not
       
  4712 # complain if unaccepted options are passed (e.g. gcc on Mac OS X).
       
  4713 # So we have to see first whether pthreads are available without
       
  4714 # options before we can check whether -Kpthread improves anything.
       
  4715 { echo "$as_me:$LINENO: checking whether pthreads are available without options" >&5
       
  4716 echo $ECHO_N "checking whether pthreads are available without options... $ECHO_C" >&6; }
       
  4717 if test "${ac_cv_pthread_is_default+set}" = set; then
       
  4718   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4719 else
       
  4720   if test "$cross_compiling" = yes; then
       
  4721   ac_cv_pthread_is_default=no
       
  4722 else
       
  4723   cat >conftest.$ac_ext <<_ACEOF
       
  4724 /* confdefs.h.  */
       
  4725 _ACEOF
       
  4726 cat confdefs.h >>conftest.$ac_ext
       
  4727 cat >>conftest.$ac_ext <<_ACEOF
       
  4728 /* end confdefs.h.  */
       
  4729 
       
  4730 #include <pthread.h>
       
  4731 
       
  4732 void* routine(void* p){return NULL;}
       
  4733 
       
  4734 int main(){
       
  4735   pthread_t p;
       
  4736   if(pthread_create(&p,NULL,routine,NULL)!=0)
       
  4737     return 1;
       
  4738   (void)pthread_detach(p);
       
  4739   return 0;
       
  4740 }
       
  4741 
       
  4742 _ACEOF
       
  4743 rm -f conftest$ac_exeext
       
  4744 if { (ac_try="$ac_link"
       
  4745 case "(($ac_try" in
       
  4746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4747   *) ac_try_echo=$ac_try;;
       
  4748 esac
       
  4749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4750   (eval "$ac_link") 2>&5
       
  4751   ac_status=$?
       
  4752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4753   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4754   { (case "(($ac_try" in
       
  4755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4756   *) ac_try_echo=$ac_try;;
       
  4757 esac
       
  4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4759   (eval "$ac_try") 2>&5
       
  4760   ac_status=$?
       
  4761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4762   (exit $ac_status); }; }; then
       
  4763 
       
  4764   ac_cv_pthread_is_default=yes
       
  4765   ac_cv_kthread=no
       
  4766   ac_cv_pthread=no
       
  4767 
       
  4768 else
       
  4769   echo "$as_me: program exited with status $ac_status" >&5
       
  4770 echo "$as_me: failed program was:" >&5
       
  4771 sed 's/^/| /' conftest.$ac_ext >&5
       
  4772 
       
  4773 ( exit $ac_status )
       
  4774 ac_cv_pthread_is_default=no
       
  4775 fi
       
  4776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  4777 fi
       
  4778 
       
  4779 
       
  4780 
       
  4781 fi
       
  4782 
       
  4783 { echo "$as_me:$LINENO: result: $ac_cv_pthread_is_default" >&5
       
  4784 echo "${ECHO_T}$ac_cv_pthread_is_default" >&6; }
       
  4785 
       
  4786 
       
  4787 if test $ac_cv_pthread_is_default = yes
       
  4788 then
       
  4789   ac_cv_kpthread=no
       
  4790 else
       
  4791 # -Kpthread, if available, provides the right #defines
       
  4792 # and linker options to make pthread_create available
       
  4793 # Some compilers won't report that they do not support -Kpthread,
       
  4794 # so we need to run a program to see whether it really made the
       
  4795 # function available.
       
  4796 { echo "$as_me:$LINENO: checking whether $CC accepts -Kpthread" >&5
       
  4797 echo $ECHO_N "checking whether $CC accepts -Kpthread... $ECHO_C" >&6; }
       
  4798 if test "${ac_cv_kpthread+set}" = set; then
       
  4799   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4800 else
       
  4801   ac_save_cc="$CC"
       
  4802 CC="$CC -Kpthread"
       
  4803 if test "$cross_compiling" = yes; then
       
  4804   ac_cv_kpthread=no
       
  4805 else
       
  4806   cat >conftest.$ac_ext <<_ACEOF
       
  4807 /* confdefs.h.  */
       
  4808 _ACEOF
       
  4809 cat confdefs.h >>conftest.$ac_ext
       
  4810 cat >>conftest.$ac_ext <<_ACEOF
       
  4811 /* end confdefs.h.  */
       
  4812 
       
  4813 #include <pthread.h>
       
  4814 
       
  4815 void* routine(void* p){return NULL;}
       
  4816 
       
  4817 int main(){
       
  4818   pthread_t p;
       
  4819   if(pthread_create(&p,NULL,routine,NULL)!=0)
       
  4820     return 1;
       
  4821   (void)pthread_detach(p);
       
  4822   return 0;
       
  4823 }
       
  4824 
       
  4825 _ACEOF
       
  4826 rm -f conftest$ac_exeext
       
  4827 if { (ac_try="$ac_link"
       
  4828 case "(($ac_try" in
       
  4829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4830   *) ac_try_echo=$ac_try;;
       
  4831 esac
       
  4832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4833   (eval "$ac_link") 2>&5
       
  4834   ac_status=$?
       
  4835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4836   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4837   { (case "(($ac_try" in
       
  4838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4839   *) ac_try_echo=$ac_try;;
       
  4840 esac
       
  4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4842   (eval "$ac_try") 2>&5
       
  4843   ac_status=$?
       
  4844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4845   (exit $ac_status); }; }; then
       
  4846   ac_cv_kpthread=yes
       
  4847 else
       
  4848   echo "$as_me: program exited with status $ac_status" >&5
       
  4849 echo "$as_me: failed program was:" >&5
       
  4850 sed 's/^/| /' conftest.$ac_ext >&5
       
  4851 
       
  4852 ( exit $ac_status )
       
  4853 ac_cv_kpthread=no
       
  4854 fi
       
  4855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  4856 fi
       
  4857 
       
  4858 
       
  4859 CC="$ac_save_cc"
       
  4860 fi
       
  4861 
       
  4862 { echo "$as_me:$LINENO: result: $ac_cv_kpthread" >&5
       
  4863 echo "${ECHO_T}$ac_cv_kpthread" >&6; }
       
  4864 fi
       
  4865 
       
  4866 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
       
  4867 then
       
  4868 # -Kthread, if available, provides the right #defines
       
  4869 # and linker options to make pthread_create available
       
  4870 # Some compilers won't report that they do not support -Kthread,
       
  4871 # so we need to run a program to see whether it really made the
       
  4872 # function available.
       
  4873 { echo "$as_me:$LINENO: checking whether $CC accepts -Kthread" >&5
       
  4874 echo $ECHO_N "checking whether $CC accepts -Kthread... $ECHO_C" >&6; }
       
  4875 if test "${ac_cv_kthread+set}" = set; then
       
  4876   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4877 else
       
  4878   ac_save_cc="$CC"
       
  4879 CC="$CC -Kthread"
       
  4880 if test "$cross_compiling" = yes; then
       
  4881   ac_cv_kthread=no
       
  4882 else
       
  4883   cat >conftest.$ac_ext <<_ACEOF
       
  4884 /* confdefs.h.  */
       
  4885 _ACEOF
       
  4886 cat confdefs.h >>conftest.$ac_ext
       
  4887 cat >>conftest.$ac_ext <<_ACEOF
       
  4888 /* end confdefs.h.  */
       
  4889 
       
  4890 #include <pthread.h>
       
  4891 
       
  4892 void* routine(void* p){return NULL;}
       
  4893 
       
  4894 int main(){
       
  4895   pthread_t p;
       
  4896   if(pthread_create(&p,NULL,routine,NULL)!=0)
       
  4897     return 1;
       
  4898   (void)pthread_detach(p);
       
  4899   return 0;
       
  4900 }
       
  4901 
       
  4902 _ACEOF
       
  4903 rm -f conftest$ac_exeext
       
  4904 if { (ac_try="$ac_link"
       
  4905 case "(($ac_try" in
       
  4906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4907   *) ac_try_echo=$ac_try;;
       
  4908 esac
       
  4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4910   (eval "$ac_link") 2>&5
       
  4911   ac_status=$?
       
  4912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4913   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4914   { (case "(($ac_try" in
       
  4915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4916   *) ac_try_echo=$ac_try;;
       
  4917 esac
       
  4918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4919   (eval "$ac_try") 2>&5
       
  4920   ac_status=$?
       
  4921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4922   (exit $ac_status); }; }; then
       
  4923   ac_cv_kthread=yes
       
  4924 else
       
  4925   echo "$as_me: program exited with status $ac_status" >&5
       
  4926 echo "$as_me: failed program was:" >&5
       
  4927 sed 's/^/| /' conftest.$ac_ext >&5
       
  4928 
       
  4929 ( exit $ac_status )
       
  4930 ac_cv_kthread=no
       
  4931 fi
       
  4932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  4933 fi
       
  4934 
       
  4935 
       
  4936 CC="$ac_save_cc"
       
  4937 fi
       
  4938 
       
  4939 { echo "$as_me:$LINENO: result: $ac_cv_kthread" >&5
       
  4940 echo "${ECHO_T}$ac_cv_kthread" >&6; }
       
  4941 fi
       
  4942 
       
  4943 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
       
  4944 then
       
  4945 # -pthread, if available, provides the right #defines
       
  4946 # and linker options to make pthread_create available
       
  4947 # Some compilers won't report that they do not support -pthread,
       
  4948 # so we need to run a program to see whether it really made the
       
  4949 # function available.
       
  4950 { echo "$as_me:$LINENO: checking whether $CC accepts -pthread" >&5
       
  4951 echo $ECHO_N "checking whether $CC accepts -pthread... $ECHO_C" >&6; }
       
  4952 if test "${ac_cv_thread+set}" = set; then
       
  4953   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4954 else
       
  4955   ac_save_cc="$CC"
       
  4956 CC="$CC -pthread"
       
  4957 if test "$cross_compiling" = yes; then
       
  4958   ac_cv_pthread=no
       
  4959 else
       
  4960   cat >conftest.$ac_ext <<_ACEOF
       
  4961 /* confdefs.h.  */
       
  4962 _ACEOF
       
  4963 cat confdefs.h >>conftest.$ac_ext
       
  4964 cat >>conftest.$ac_ext <<_ACEOF
       
  4965 /* end confdefs.h.  */
       
  4966 
       
  4967 #include <pthread.h>
       
  4968 
       
  4969 void* routine(void* p){return NULL;}
       
  4970 
       
  4971 int main(){
       
  4972   pthread_t p;
       
  4973   if(pthread_create(&p,NULL,routine,NULL)!=0)
       
  4974     return 1;
       
  4975   (void)pthread_detach(p);
       
  4976   return 0;
       
  4977 }
       
  4978 
       
  4979 _ACEOF
       
  4980 rm -f conftest$ac_exeext
       
  4981 if { (ac_try="$ac_link"
       
  4982 case "(($ac_try" in
       
  4983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4984   *) ac_try_echo=$ac_try;;
       
  4985 esac
       
  4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4987   (eval "$ac_link") 2>&5
       
  4988   ac_status=$?
       
  4989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4990   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  4991   { (case "(($ac_try" in
       
  4992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4993   *) ac_try_echo=$ac_try;;
       
  4994 esac
       
  4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4996   (eval "$ac_try") 2>&5
       
  4997   ac_status=$?
       
  4998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4999   (exit $ac_status); }; }; then
       
  5000   ac_cv_pthread=yes
       
  5001 else
       
  5002   echo "$as_me: program exited with status $ac_status" >&5
       
  5003 echo "$as_me: failed program was:" >&5
       
  5004 sed 's/^/| /' conftest.$ac_ext >&5
       
  5005 
       
  5006 ( exit $ac_status )
       
  5007 ac_cv_pthread=no
       
  5008 fi
       
  5009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  5010 fi
       
  5011 
       
  5012 
       
  5013 CC="$ac_save_cc"
       
  5014 fi
       
  5015 
       
  5016 { echo "$as_me:$LINENO: result: $ac_cv_pthread" >&5
       
  5017 echo "${ECHO_T}$ac_cv_pthread" >&6; }
       
  5018 fi
       
  5019 
       
  5020 # If we have set a CC compiler flag for thread support then
       
  5021 # check if it works for CXX, too.
       
  5022 ac_cv_cxx_thread=no
       
  5023 if test ! -z "$CXX"
       
  5024 then
       
  5025 { echo "$as_me:$LINENO: checking whether $CXX also accepts flags for thread support" >&5
       
  5026 echo $ECHO_N "checking whether $CXX also accepts flags for thread support... $ECHO_C" >&6; }
       
  5027 ac_save_cxx="$CXX"
       
  5028 
       
  5029 if test "$ac_cv_kpthread" = "yes"
       
  5030 then
       
  5031   CXX="$CXX -Kpthread"
       
  5032   ac_cv_cxx_thread=yes
       
  5033 elif test "$ac_cv_kthread" = "yes"
       
  5034 then
       
  5035   CXX="$CXX -Kthread"
       
  5036   ac_cv_cxx_thread=yes
       
  5037 elif test "$ac_cv_pthread" = "yes"
       
  5038 then
       
  5039   CXX="$CXX -pthread"
       
  5040   ac_cv_cxx_thread=yes
       
  5041 fi
       
  5042 
       
  5043 if test $ac_cv_cxx_thread = yes
       
  5044 then
       
  5045   echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
       
  5046   $CXX -c conftest.$ac_ext 2>&5
       
  5047   if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
       
  5048      && test -s conftest$ac_exeext && ./conftest$ac_exeext
       
  5049   then
       
  5050     ac_cv_cxx_thread=yes
       
  5051   else
       
  5052     ac_cv_cxx_thread=no
       
  5053   fi
       
  5054   rm -fr conftest*
       
  5055 fi
       
  5056 { echo "$as_me:$LINENO: result: $ac_cv_cxx_thread" >&5
       
  5057 echo "${ECHO_T}$ac_cv_cxx_thread" >&6; }
       
  5058 fi
       
  5059 CXX="$ac_save_cxx"
       
  5060 
       
  5061 
       
  5062 # checks for header files
       
  5063 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
       
  5064 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
       
  5065 if test "${ac_cv_header_stdc+set}" = set; then
       
  5066   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5067 else
       
  5068   cat >conftest.$ac_ext <<_ACEOF
       
  5069 /* confdefs.h.  */
       
  5070 _ACEOF
       
  5071 cat confdefs.h >>conftest.$ac_ext
       
  5072 cat >>conftest.$ac_ext <<_ACEOF
       
  5073 /* end confdefs.h.  */
       
  5074 #include <stdlib.h>
       
  5075 #include <stdarg.h>
       
  5076 #include <string.h>
       
  5077 #include <float.h>
       
  5078 
       
  5079 int
       
  5080 main ()
       
  5081 {
       
  5082 
       
  5083   ;
       
  5084   return 0;
       
  5085 }
       
  5086 _ACEOF
       
  5087 rm -f conftest.$ac_objext
       
  5088 if { (ac_try="$ac_compile"
       
  5089 case "(($ac_try" in
       
  5090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5091   *) ac_try_echo=$ac_try;;
       
  5092 esac
       
  5093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5094   (eval "$ac_compile") 2>conftest.er1
       
  5095   ac_status=$?
       
  5096   grep -v '^ *+' conftest.er1 >conftest.err
       
  5097   rm -f conftest.er1
       
  5098   cat conftest.err >&5
       
  5099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5100   (exit $ac_status); } && {
       
  5101 	 test -z "$ac_c_werror_flag" ||
       
  5102 	 test ! -s conftest.err
       
  5103        } && test -s conftest.$ac_objext; then
       
  5104   ac_cv_header_stdc=yes
       
  5105 else
       
  5106   echo "$as_me: failed program was:" >&5
       
  5107 sed 's/^/| /' conftest.$ac_ext >&5
       
  5108 
       
  5109 	ac_cv_header_stdc=no
       
  5110 fi
       
  5111 
       
  5112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5113 
       
  5114 if test $ac_cv_header_stdc = yes; then
       
  5115   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
       
  5116   cat >conftest.$ac_ext <<_ACEOF
       
  5117 /* confdefs.h.  */
       
  5118 _ACEOF
       
  5119 cat confdefs.h >>conftest.$ac_ext
       
  5120 cat >>conftest.$ac_ext <<_ACEOF
       
  5121 /* end confdefs.h.  */
       
  5122 #include <string.h>
       
  5123 
       
  5124 _ACEOF
       
  5125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  5126   $EGREP "memchr" >/dev/null 2>&1; then
       
  5127   :
       
  5128 else
       
  5129   ac_cv_header_stdc=no
       
  5130 fi
       
  5131 rm -f conftest*
       
  5132 
       
  5133 fi
       
  5134 
       
  5135 if test $ac_cv_header_stdc = yes; then
       
  5136   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
       
  5137   cat >conftest.$ac_ext <<_ACEOF
       
  5138 /* confdefs.h.  */
       
  5139 _ACEOF
       
  5140 cat confdefs.h >>conftest.$ac_ext
       
  5141 cat >>conftest.$ac_ext <<_ACEOF
       
  5142 /* end confdefs.h.  */
       
  5143 #include <stdlib.h>
       
  5144 
       
  5145 _ACEOF
       
  5146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  5147   $EGREP "free" >/dev/null 2>&1; then
       
  5148   :
       
  5149 else
       
  5150   ac_cv_header_stdc=no
       
  5151 fi
       
  5152 rm -f conftest*
       
  5153 
       
  5154 fi
       
  5155 
       
  5156 if test $ac_cv_header_stdc = yes; then
       
  5157   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
       
  5158   if test "$cross_compiling" = yes; then
       
  5159   :
       
  5160 else
       
  5161   cat >conftest.$ac_ext <<_ACEOF
       
  5162 /* confdefs.h.  */
       
  5163 _ACEOF
       
  5164 cat confdefs.h >>conftest.$ac_ext
       
  5165 cat >>conftest.$ac_ext <<_ACEOF
       
  5166 /* end confdefs.h.  */
       
  5167 #include <ctype.h>
       
  5168 #include <stdlib.h>
       
  5169 #if ((' ' & 0x0FF) == 0x020)
       
  5170 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       
  5171 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
       
  5172 #else
       
  5173 # define ISLOWER(c) \
       
  5174 		   (('a' <= (c) && (c) <= 'i') \
       
  5175 		     || ('j' <= (c) && (c) <= 'r') \
       
  5176 		     || ('s' <= (c) && (c) <= 'z'))
       
  5177 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
       
  5178 #endif
       
  5179 
       
  5180 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
       
  5181 int
       
  5182 main ()
       
  5183 {
       
  5184   int i;
       
  5185   for (i = 0; i < 256; i++)
       
  5186     if (XOR (islower (i), ISLOWER (i))
       
  5187 	|| toupper (i) != TOUPPER (i))
       
  5188       return 2;
       
  5189   return 0;
       
  5190 }
       
  5191 _ACEOF
       
  5192 rm -f conftest$ac_exeext
       
  5193 if { (ac_try="$ac_link"
       
  5194 case "(($ac_try" in
       
  5195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5196   *) ac_try_echo=$ac_try;;
       
  5197 esac
       
  5198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5199   (eval "$ac_link") 2>&5
       
  5200   ac_status=$?
       
  5201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5202   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  5203   { (case "(($ac_try" in
       
  5204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5205   *) ac_try_echo=$ac_try;;
       
  5206 esac
       
  5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5208   (eval "$ac_try") 2>&5
       
  5209   ac_status=$?
       
  5210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5211   (exit $ac_status); }; }; then
       
  5212   :
       
  5213 else
       
  5214   echo "$as_me: program exited with status $ac_status" >&5
       
  5215 echo "$as_me: failed program was:" >&5
       
  5216 sed 's/^/| /' conftest.$ac_ext >&5
       
  5217 
       
  5218 ( exit $ac_status )
       
  5219 ac_cv_header_stdc=no
       
  5220 fi
       
  5221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  5222 fi
       
  5223 
       
  5224 
       
  5225 fi
       
  5226 fi
       
  5227 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
       
  5228 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
       
  5229 if test $ac_cv_header_stdc = yes; then
       
  5230 
       
  5231 cat >>confdefs.h <<\_ACEOF
       
  5232 #define STDC_HEADERS 1
       
  5233 _ACEOF
       
  5234 
       
  5235 fi
       
  5236 
       
  5237 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
       
  5238 
       
  5239 
       
  5240 
       
  5241 
       
  5242 
       
  5243 
       
  5244 
       
  5245 
       
  5246 
       
  5247 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
       
  5248 		  inttypes.h stdint.h unistd.h
       
  5249 do
       
  5250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  5251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5254   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5255 else
       
  5256   cat >conftest.$ac_ext <<_ACEOF
       
  5257 /* confdefs.h.  */
       
  5258 _ACEOF
       
  5259 cat confdefs.h >>conftest.$ac_ext
       
  5260 cat >>conftest.$ac_ext <<_ACEOF
       
  5261 /* end confdefs.h.  */
       
  5262 $ac_includes_default
       
  5263 
       
  5264 #include <$ac_header>
       
  5265 _ACEOF
       
  5266 rm -f conftest.$ac_objext
       
  5267 if { (ac_try="$ac_compile"
       
  5268 case "(($ac_try" in
       
  5269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5270   *) ac_try_echo=$ac_try;;
       
  5271 esac
       
  5272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5273   (eval "$ac_compile") 2>conftest.er1
       
  5274   ac_status=$?
       
  5275   grep -v '^ *+' conftest.er1 >conftest.err
       
  5276   rm -f conftest.er1
       
  5277   cat conftest.err >&5
       
  5278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5279   (exit $ac_status); } && {
       
  5280 	 test -z "$ac_c_werror_flag" ||
       
  5281 	 test ! -s conftest.err
       
  5282        } && test -s conftest.$ac_objext; then
       
  5283   eval "$as_ac_Header=yes"
       
  5284 else
       
  5285   echo "$as_me: failed program was:" >&5
       
  5286 sed 's/^/| /' conftest.$ac_ext >&5
       
  5287 
       
  5288 	eval "$as_ac_Header=no"
       
  5289 fi
       
  5290 
       
  5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5292 fi
       
  5293 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5294 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5295 echo "${ECHO_T}$ac_res" >&6; }
       
  5296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5297   cat >>confdefs.h <<_ACEOF
       
  5298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  5299 _ACEOF
       
  5300 
       
  5301 fi
       
  5302 
       
  5303 done
       
  5304 
       
  5305 
       
  5306 
       
  5307 
       
  5308 
       
  5309 
       
  5310 
       
  5311 
       
  5312 
       
  5313 
       
  5314 
       
  5315 
       
  5316 
       
  5317 
       
  5318 
       
  5319 
       
  5320 
       
  5321 
       
  5322 
       
  5323 
       
  5324 
       
  5325 
       
  5326 
       
  5327 
       
  5328 
       
  5329 
       
  5330 
       
  5331 
       
  5332 
       
  5333 
       
  5334 
       
  5335 
       
  5336 
       
  5337 
       
  5338 
       
  5339 
       
  5340 
       
  5341 
       
  5342 
       
  5343 
       
  5344 
       
  5345 
       
  5346 
       
  5347 
       
  5348 
       
  5349 
       
  5350 
       
  5351 
       
  5352 
       
  5353 
       
  5354 
       
  5355 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
       
  5356 fcntl.h grp.h \
       
  5357 io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \
       
  5358 shadow.h signal.h stdint.h stropts.h termios.h thread.h \
       
  5359 unistd.h utime.h \
       
  5360 sys/audioio.h sys/bsdtty.h sys/file.h sys/loadavg.h sys/lock.h sys/mkdev.h \
       
  5361 sys/modem.h \
       
  5362 sys/param.h sys/poll.h sys/select.h sys/socket.h sys/statvfs.h sys/stat.h \
       
  5363 sys/time.h \
       
  5364 sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
       
  5365 sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
       
  5366 bluetooth/bluetooth.h
       
  5367 do
       
  5368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  5369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5370   { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5373   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5374 fi
       
  5375 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5376 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5377 echo "${ECHO_T}$ac_res" >&6; }
       
  5378 else
       
  5379   # Is the header compilable?
       
  5380 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
       
  5381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
       
  5382 cat >conftest.$ac_ext <<_ACEOF
       
  5383 /* confdefs.h.  */
       
  5384 _ACEOF
       
  5385 cat confdefs.h >>conftest.$ac_ext
       
  5386 cat >>conftest.$ac_ext <<_ACEOF
       
  5387 /* end confdefs.h.  */
       
  5388 $ac_includes_default
       
  5389 #include <$ac_header>
       
  5390 _ACEOF
       
  5391 rm -f conftest.$ac_objext
       
  5392 if { (ac_try="$ac_compile"
       
  5393 case "(($ac_try" in
       
  5394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5395   *) ac_try_echo=$ac_try;;
       
  5396 esac
       
  5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5398   (eval "$ac_compile") 2>conftest.er1
       
  5399   ac_status=$?
       
  5400   grep -v '^ *+' conftest.er1 >conftest.err
       
  5401   rm -f conftest.er1
       
  5402   cat conftest.err >&5
       
  5403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5404   (exit $ac_status); } && {
       
  5405 	 test -z "$ac_c_werror_flag" ||
       
  5406 	 test ! -s conftest.err
       
  5407        } && test -s conftest.$ac_objext; then
       
  5408   ac_header_compiler=yes
       
  5409 else
       
  5410   echo "$as_me: failed program was:" >&5
       
  5411 sed 's/^/| /' conftest.$ac_ext >&5
       
  5412 
       
  5413 	ac_header_compiler=no
       
  5414 fi
       
  5415 
       
  5416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5417 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
  5418 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
  5419 
       
  5420 # Is the header present?
       
  5421 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
       
  5422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
       
  5423 cat >conftest.$ac_ext <<_ACEOF
       
  5424 /* confdefs.h.  */
       
  5425 _ACEOF
       
  5426 cat confdefs.h >>conftest.$ac_ext
       
  5427 cat >>conftest.$ac_ext <<_ACEOF
       
  5428 /* end confdefs.h.  */
       
  5429 #include <$ac_header>
       
  5430 _ACEOF
       
  5431 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5432 case "(($ac_try" in
       
  5433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5434   *) ac_try_echo=$ac_try;;
       
  5435 esac
       
  5436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5437   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5438   ac_status=$?
       
  5439   grep -v '^ *+' conftest.er1 >conftest.err
       
  5440   rm -f conftest.er1
       
  5441   cat conftest.err >&5
       
  5442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5443   (exit $ac_status); } >/dev/null && {
       
  5444 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  5445 	 test ! -s conftest.err
       
  5446        }; then
       
  5447   ac_header_preproc=yes
       
  5448 else
       
  5449   echo "$as_me: failed program was:" >&5
       
  5450 sed 's/^/| /' conftest.$ac_ext >&5
       
  5451 
       
  5452   ac_header_preproc=no
       
  5453 fi
       
  5454 
       
  5455 rm -f conftest.err conftest.$ac_ext
       
  5456 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
  5457 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
  5458 
       
  5459 # So?  What about this header?
       
  5460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
  5461   yes:no: )
       
  5462     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
       
  5463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  5464     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
       
  5465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
       
  5466     ac_header_preproc=yes
       
  5467     ;;
       
  5468   no:yes:* )
       
  5469     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
       
  5470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
       
  5471     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
       
  5472 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
       
  5473     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
       
  5474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
       
  5475     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
       
  5476 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  5477     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
       
  5478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
       
  5479     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
       
  5480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
       
  5481     ( cat <<\_ASBOX
       
  5482 ## ------------------------------------------------ ##
       
  5483 ## Report this to http://www.python.org/python-bugs ##
       
  5484 ## ------------------------------------------------ ##
       
  5485 _ASBOX
       
  5486      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
  5487     ;;
       
  5488 esac
       
  5489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5492   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5493 else
       
  5494   eval "$as_ac_Header=\$ac_header_preproc"
       
  5495 fi
       
  5496 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5497 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5498 echo "${ECHO_T}$ac_res" >&6; }
       
  5499 
       
  5500 fi
       
  5501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5502   cat >>confdefs.h <<_ACEOF
       
  5503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  5504 _ACEOF
       
  5505 
       
  5506 fi
       
  5507 
       
  5508 done
       
  5509 
       
  5510 
       
  5511 
       
  5512 
       
  5513 
       
  5514 
       
  5515 ac_header_dirent=no
       
  5516 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
       
  5517   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
       
  5518 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
       
  5519 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
       
  5520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5521   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5522 else
       
  5523   cat >conftest.$ac_ext <<_ACEOF
       
  5524 /* confdefs.h.  */
       
  5525 _ACEOF
       
  5526 cat confdefs.h >>conftest.$ac_ext
       
  5527 cat >>conftest.$ac_ext <<_ACEOF
       
  5528 /* end confdefs.h.  */
       
  5529 #include <sys/types.h>
       
  5530 #include <$ac_hdr>
       
  5531 
       
  5532 int
       
  5533 main ()
       
  5534 {
       
  5535 if ((DIR *) 0)
       
  5536 return 0;
       
  5537   ;
       
  5538   return 0;
       
  5539 }
       
  5540 _ACEOF
       
  5541 rm -f conftest.$ac_objext
       
  5542 if { (ac_try="$ac_compile"
       
  5543 case "(($ac_try" in
       
  5544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5545   *) ac_try_echo=$ac_try;;
       
  5546 esac
       
  5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5548   (eval "$ac_compile") 2>conftest.er1
       
  5549   ac_status=$?
       
  5550   grep -v '^ *+' conftest.er1 >conftest.err
       
  5551   rm -f conftest.er1
       
  5552   cat conftest.err >&5
       
  5553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5554   (exit $ac_status); } && {
       
  5555 	 test -z "$ac_c_werror_flag" ||
       
  5556 	 test ! -s conftest.err
       
  5557        } && test -s conftest.$ac_objext; then
       
  5558   eval "$as_ac_Header=yes"
       
  5559 else
       
  5560   echo "$as_me: failed program was:" >&5
       
  5561 sed 's/^/| /' conftest.$ac_ext >&5
       
  5562 
       
  5563 	eval "$as_ac_Header=no"
       
  5564 fi
       
  5565 
       
  5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5567 fi
       
  5568 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5569 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5570 echo "${ECHO_T}$ac_res" >&6; }
       
  5571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5572   cat >>confdefs.h <<_ACEOF
       
  5573 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
       
  5574 _ACEOF
       
  5575 
       
  5576 ac_header_dirent=$ac_hdr; break
       
  5577 fi
       
  5578 
       
  5579 done
       
  5580 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
       
  5581 if test $ac_header_dirent = dirent.h; then
       
  5582   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
       
  5583 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
       
  5584 if test "${ac_cv_search_opendir+set}" = set; then
       
  5585   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5586 else
       
  5587   ac_func_search_save_LIBS=$LIBS
       
  5588 cat >conftest.$ac_ext <<_ACEOF
       
  5589 /* confdefs.h.  */
       
  5590 _ACEOF
       
  5591 cat confdefs.h >>conftest.$ac_ext
       
  5592 cat >>conftest.$ac_ext <<_ACEOF
       
  5593 /* end confdefs.h.  */
       
  5594 
       
  5595 /* Override any GCC internal prototype to avoid an error.
       
  5596    Use char because int might match the return type of a GCC
       
  5597    builtin and then its argument prototype would still apply.  */
       
  5598 #ifdef __cplusplus
       
  5599 extern "C"
       
  5600 #endif
       
  5601 char opendir ();
       
  5602 int
       
  5603 main ()
       
  5604 {
       
  5605 return opendir ();
       
  5606   ;
       
  5607   return 0;
       
  5608 }
       
  5609 _ACEOF
       
  5610 for ac_lib in '' dir; do
       
  5611   if test -z "$ac_lib"; then
       
  5612     ac_res="none required"
       
  5613   else
       
  5614     ac_res=-l$ac_lib
       
  5615     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
       
  5616   fi
       
  5617   rm -f conftest.$ac_objext conftest$ac_exeext
       
  5618 if { (ac_try="$ac_link"
       
  5619 case "(($ac_try" in
       
  5620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5621   *) ac_try_echo=$ac_try;;
       
  5622 esac
       
  5623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5624   (eval "$ac_link") 2>conftest.er1
       
  5625   ac_status=$?
       
  5626   grep -v '^ *+' conftest.er1 >conftest.err
       
  5627   rm -f conftest.er1
       
  5628   cat conftest.err >&5
       
  5629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5630   (exit $ac_status); } && {
       
  5631 	 test -z "$ac_c_werror_flag" ||
       
  5632 	 test ! -s conftest.err
       
  5633        } && test -s conftest$ac_exeext &&
       
  5634        $as_test_x conftest$ac_exeext; then
       
  5635   ac_cv_search_opendir=$ac_res
       
  5636 else
       
  5637   echo "$as_me: failed program was:" >&5
       
  5638 sed 's/^/| /' conftest.$ac_ext >&5
       
  5639 
       
  5640 
       
  5641 fi
       
  5642 
       
  5643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
  5644       conftest$ac_exeext
       
  5645   if test "${ac_cv_search_opendir+set}" = set; then
       
  5646   break
       
  5647 fi
       
  5648 done
       
  5649 if test "${ac_cv_search_opendir+set}" = set; then
       
  5650   :
       
  5651 else
       
  5652   ac_cv_search_opendir=no
       
  5653 fi
       
  5654 rm conftest.$ac_ext
       
  5655 LIBS=$ac_func_search_save_LIBS
       
  5656 fi
       
  5657 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
       
  5658 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
       
  5659 ac_res=$ac_cv_search_opendir
       
  5660 if test "$ac_res" != no; then
       
  5661   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
       
  5662 
       
  5663 fi
       
  5664 
       
  5665 else
       
  5666   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
       
  5667 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
       
  5668 if test "${ac_cv_search_opendir+set}" = set; then
       
  5669   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5670 else
       
  5671   ac_func_search_save_LIBS=$LIBS
       
  5672 cat >conftest.$ac_ext <<_ACEOF
       
  5673 /* confdefs.h.  */
       
  5674 _ACEOF
       
  5675 cat confdefs.h >>conftest.$ac_ext
       
  5676 cat >>conftest.$ac_ext <<_ACEOF
       
  5677 /* end confdefs.h.  */
       
  5678 
       
  5679 /* Override any GCC internal prototype to avoid an error.
       
  5680    Use char because int might match the return type of a GCC
       
  5681    builtin and then its argument prototype would still apply.  */
       
  5682 #ifdef __cplusplus
       
  5683 extern "C"
       
  5684 #endif
       
  5685 char opendir ();
       
  5686 int
       
  5687 main ()
       
  5688 {
       
  5689 return opendir ();
       
  5690   ;
       
  5691   return 0;
       
  5692 }
       
  5693 _ACEOF
       
  5694 for ac_lib in '' x; do
       
  5695   if test -z "$ac_lib"; then
       
  5696     ac_res="none required"
       
  5697   else
       
  5698     ac_res=-l$ac_lib
       
  5699     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
       
  5700   fi
       
  5701   rm -f conftest.$ac_objext conftest$ac_exeext
       
  5702 if { (ac_try="$ac_link"
       
  5703 case "(($ac_try" in
       
  5704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5705   *) ac_try_echo=$ac_try;;
       
  5706 esac
       
  5707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5708   (eval "$ac_link") 2>conftest.er1
       
  5709   ac_status=$?
       
  5710   grep -v '^ *+' conftest.er1 >conftest.err
       
  5711   rm -f conftest.er1
       
  5712   cat conftest.err >&5
       
  5713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5714   (exit $ac_status); } && {
       
  5715 	 test -z "$ac_c_werror_flag" ||
       
  5716 	 test ! -s conftest.err
       
  5717        } && test -s conftest$ac_exeext &&
       
  5718        $as_test_x conftest$ac_exeext; then
       
  5719   ac_cv_search_opendir=$ac_res
       
  5720 else
       
  5721   echo "$as_me: failed program was:" >&5
       
  5722 sed 's/^/| /' conftest.$ac_ext >&5
       
  5723 
       
  5724 
       
  5725 fi
       
  5726 
       
  5727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
  5728       conftest$ac_exeext
       
  5729   if test "${ac_cv_search_opendir+set}" = set; then
       
  5730   break
       
  5731 fi
       
  5732 done
       
  5733 if test "${ac_cv_search_opendir+set}" = set; then
       
  5734   :
       
  5735 else
       
  5736   ac_cv_search_opendir=no
       
  5737 fi
       
  5738 rm conftest.$ac_ext
       
  5739 LIBS=$ac_func_search_save_LIBS
       
  5740 fi
       
  5741 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
       
  5742 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
       
  5743 ac_res=$ac_cv_search_opendir
       
  5744 if test "$ac_res" != no; then
       
  5745   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
       
  5746 
       
  5747 fi
       
  5748 
       
  5749 fi
       
  5750 
       
  5751 { echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
       
  5752 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6; }
       
  5753 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
       
  5754   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5755 else
       
  5756   cat >conftest.$ac_ext <<_ACEOF
       
  5757 /* confdefs.h.  */
       
  5758 _ACEOF
       
  5759 cat confdefs.h >>conftest.$ac_ext
       
  5760 cat >>conftest.$ac_ext <<_ACEOF
       
  5761 /* end confdefs.h.  */
       
  5762 #include <sys/types.h>
       
  5763 int
       
  5764 main ()
       
  5765 {
       
  5766 return makedev(0, 0);
       
  5767   ;
       
  5768   return 0;
       
  5769 }
       
  5770 _ACEOF
       
  5771 rm -f conftest.$ac_objext conftest$ac_exeext
       
  5772 if { (ac_try="$ac_link"
       
  5773 case "(($ac_try" in
       
  5774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5775   *) ac_try_echo=$ac_try;;
       
  5776 esac
       
  5777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5778   (eval "$ac_link") 2>conftest.er1
       
  5779   ac_status=$?
       
  5780   grep -v '^ *+' conftest.er1 >conftest.err
       
  5781   rm -f conftest.er1
       
  5782   cat conftest.err >&5
       
  5783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5784   (exit $ac_status); } && {
       
  5785 	 test -z "$ac_c_werror_flag" ||
       
  5786 	 test ! -s conftest.err
       
  5787        } && test -s conftest$ac_exeext &&
       
  5788        $as_test_x conftest$ac_exeext; then
       
  5789   ac_cv_header_sys_types_h_makedev=yes
       
  5790 else
       
  5791   echo "$as_me: failed program was:" >&5
       
  5792 sed 's/^/| /' conftest.$ac_ext >&5
       
  5793 
       
  5794 	ac_cv_header_sys_types_h_makedev=no
       
  5795 fi
       
  5796 
       
  5797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
  5798       conftest$ac_exeext conftest.$ac_ext
       
  5799 
       
  5800 fi
       
  5801 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
       
  5802 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6; }
       
  5803 
       
  5804 if test $ac_cv_header_sys_types_h_makedev = no; then
       
  5805 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
       
  5806   { echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
       
  5807 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6; }
       
  5808 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
       
  5809   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5810 fi
       
  5811 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
       
  5812 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6; }
       
  5813 else
       
  5814   # Is the header compilable?
       
  5815 { echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
       
  5816 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6; }
       
  5817 cat >conftest.$ac_ext <<_ACEOF
       
  5818 /* confdefs.h.  */
       
  5819 _ACEOF
       
  5820 cat confdefs.h >>conftest.$ac_ext
       
  5821 cat >>conftest.$ac_ext <<_ACEOF
       
  5822 /* end confdefs.h.  */
       
  5823 $ac_includes_default
       
  5824 #include <sys/mkdev.h>
       
  5825 _ACEOF
       
  5826 rm -f conftest.$ac_objext
       
  5827 if { (ac_try="$ac_compile"
       
  5828 case "(($ac_try" in
       
  5829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5830   *) ac_try_echo=$ac_try;;
       
  5831 esac
       
  5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5833   (eval "$ac_compile") 2>conftest.er1
       
  5834   ac_status=$?
       
  5835   grep -v '^ *+' conftest.er1 >conftest.err
       
  5836   rm -f conftest.er1
       
  5837   cat conftest.err >&5
       
  5838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5839   (exit $ac_status); } && {
       
  5840 	 test -z "$ac_c_werror_flag" ||
       
  5841 	 test ! -s conftest.err
       
  5842        } && test -s conftest.$ac_objext; then
       
  5843   ac_header_compiler=yes
       
  5844 else
       
  5845   echo "$as_me: failed program was:" >&5
       
  5846 sed 's/^/| /' conftest.$ac_ext >&5
       
  5847 
       
  5848 	ac_header_compiler=no
       
  5849 fi
       
  5850 
       
  5851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5852 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
  5853 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
  5854 
       
  5855 # Is the header present?
       
  5856 { echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
       
  5857 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6; }
       
  5858 cat >conftest.$ac_ext <<_ACEOF
       
  5859 /* confdefs.h.  */
       
  5860 _ACEOF
       
  5861 cat confdefs.h >>conftest.$ac_ext
       
  5862 cat >>conftest.$ac_ext <<_ACEOF
       
  5863 /* end confdefs.h.  */
       
  5864 #include <sys/mkdev.h>
       
  5865 _ACEOF
       
  5866 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5867 case "(($ac_try" in
       
  5868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5869   *) ac_try_echo=$ac_try;;
       
  5870 esac
       
  5871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5872   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5873   ac_status=$?
       
  5874   grep -v '^ *+' conftest.er1 >conftest.err
       
  5875   rm -f conftest.er1
       
  5876   cat conftest.err >&5
       
  5877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5878   (exit $ac_status); } >/dev/null && {
       
  5879 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  5880 	 test ! -s conftest.err
       
  5881        }; then
       
  5882   ac_header_preproc=yes
       
  5883 else
       
  5884   echo "$as_me: failed program was:" >&5
       
  5885 sed 's/^/| /' conftest.$ac_ext >&5
       
  5886 
       
  5887   ac_header_preproc=no
       
  5888 fi
       
  5889 
       
  5890 rm -f conftest.err conftest.$ac_ext
       
  5891 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
  5892 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
  5893 
       
  5894 # So?  What about this header?
       
  5895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
  5896   yes:no: )
       
  5897     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
  5898 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  5899     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
       
  5900 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
       
  5901     ac_header_preproc=yes
       
  5902     ;;
       
  5903   no:yes:* )
       
  5904     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
       
  5905 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
       
  5906     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h:     check for missing prerequisite headers?" >&5
       
  5907 echo "$as_me: WARNING: sys/mkdev.h:     check for missing prerequisite headers?" >&2;}
       
  5908     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
       
  5909 echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
       
  5910     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h:     section \"Present But Cannot Be Compiled\"" >&5
       
  5911 echo "$as_me: WARNING: sys/mkdev.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  5912     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
       
  5913 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
       
  5914     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
       
  5915 echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
       
  5916     ( cat <<\_ASBOX
       
  5917 ## ------------------------------------------------ ##
       
  5918 ## Report this to http://www.python.org/python-bugs ##
       
  5919 ## ------------------------------------------------ ##
       
  5920 _ASBOX
       
  5921      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
  5922     ;;
       
  5923 esac
       
  5924 { echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
       
  5925 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6; }
       
  5926 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
       
  5927   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5928 else
       
  5929   ac_cv_header_sys_mkdev_h=$ac_header_preproc
       
  5930 fi
       
  5931 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
       
  5932 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6; }
       
  5933 
       
  5934 fi
       
  5935 if test $ac_cv_header_sys_mkdev_h = yes; then
       
  5936 
       
  5937 cat >>confdefs.h <<\_ACEOF
       
  5938 #define MAJOR_IN_MKDEV 1
       
  5939 _ACEOF
       
  5940 
       
  5941 fi
       
  5942 
       
  5943 
       
  5944 
       
  5945   if test $ac_cv_header_sys_mkdev_h = no; then
       
  5946     if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
       
  5947   { echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
       
  5948 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6; }
       
  5949 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
       
  5950   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5951 fi
       
  5952 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
       
  5953 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6; }
       
  5954 else
       
  5955   # Is the header compilable?
       
  5956 { echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
       
  5957 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6; }
       
  5958 cat >conftest.$ac_ext <<_ACEOF
       
  5959 /* confdefs.h.  */
       
  5960 _ACEOF
       
  5961 cat confdefs.h >>conftest.$ac_ext
       
  5962 cat >>conftest.$ac_ext <<_ACEOF
       
  5963 /* end confdefs.h.  */
       
  5964 $ac_includes_default
       
  5965 #include <sys/sysmacros.h>
       
  5966 _ACEOF
       
  5967 rm -f conftest.$ac_objext
       
  5968 if { (ac_try="$ac_compile"
       
  5969 case "(($ac_try" in
       
  5970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5971   *) ac_try_echo=$ac_try;;
       
  5972 esac
       
  5973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5974   (eval "$ac_compile") 2>conftest.er1
       
  5975   ac_status=$?
       
  5976   grep -v '^ *+' conftest.er1 >conftest.err
       
  5977   rm -f conftest.er1
       
  5978   cat conftest.err >&5
       
  5979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5980   (exit $ac_status); } && {
       
  5981 	 test -z "$ac_c_werror_flag" ||
       
  5982 	 test ! -s conftest.err
       
  5983        } && test -s conftest.$ac_objext; then
       
  5984   ac_header_compiler=yes
       
  5985 else
       
  5986   echo "$as_me: failed program was:" >&5
       
  5987 sed 's/^/| /' conftest.$ac_ext >&5
       
  5988 
       
  5989 	ac_header_compiler=no
       
  5990 fi
       
  5991 
       
  5992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5993 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
  5994 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
  5995 
       
  5996 # Is the header present?
       
  5997 { echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
       
  5998 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6; }
       
  5999 cat >conftest.$ac_ext <<_ACEOF
       
  6000 /* confdefs.h.  */
       
  6001 _ACEOF
       
  6002 cat confdefs.h >>conftest.$ac_ext
       
  6003 cat >>conftest.$ac_ext <<_ACEOF
       
  6004 /* end confdefs.h.  */
       
  6005 #include <sys/sysmacros.h>
       
  6006 _ACEOF
       
  6007 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  6008 case "(($ac_try" in
       
  6009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6010   *) ac_try_echo=$ac_try;;
       
  6011 esac
       
  6012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6013   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  6014   ac_status=$?
       
  6015   grep -v '^ *+' conftest.er1 >conftest.err
       
  6016   rm -f conftest.er1
       
  6017   cat conftest.err >&5
       
  6018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6019   (exit $ac_status); } >/dev/null && {
       
  6020 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
  6021 	 test ! -s conftest.err
       
  6022        }; then
       
  6023   ac_header_preproc=yes
       
  6024 else
       
  6025   echo "$as_me: failed program was:" >&5
       
  6026 sed 's/^/| /' conftest.$ac_ext >&5
       
  6027 
       
  6028   ac_header_preproc=no
       
  6029 fi
       
  6030 
       
  6031 rm -f conftest.err conftest.$ac_ext
       
  6032 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
  6033 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
  6034 
       
  6035 # So?  What about this header?
       
  6036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
  6037   yes:no: )
       
  6038     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
  6039 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  6040     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
       
  6041 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
       
  6042     ac_header_preproc=yes
       
  6043     ;;
       
  6044   no:yes:* )
       
  6045     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
       
  6046 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
       
  6047     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h:     check for missing prerequisite headers?" >&5
       
  6048 echo "$as_me: WARNING: sys/sysmacros.h:     check for missing prerequisite headers?" >&2;}
       
  6049     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
       
  6050 echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
       
  6051     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h:     section \"Present But Cannot Be Compiled\"" >&5
       
  6052 echo "$as_me: WARNING: sys/sysmacros.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  6053     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
       
  6054 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
       
  6055     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
       
  6056 echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
       
  6057     ( cat <<\_ASBOX
       
  6058 ## ------------------------------------------------ ##
       
  6059 ## Report this to http://www.python.org/python-bugs ##
       
  6060 ## ------------------------------------------------ ##
       
  6061 _ASBOX
       
  6062      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
  6063     ;;
       
  6064 esac
       
  6065 { echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
       
  6066 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6; }
       
  6067 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
       
  6068   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6069 else
       
  6070   ac_cv_header_sys_sysmacros_h=$ac_header_preproc
       
  6071 fi
       
  6072 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
       
  6073 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6; }
       
  6074 
       
  6075 fi
       
  6076 if test $ac_cv_header_sys_sysmacros_h = yes; then
       
  6077 
       
  6078 cat >>confdefs.h <<\_ACEOF
       
  6079 #define MAJOR_IN_SYSMACROS 1
       
  6080 _ACEOF
       
  6081 
       
  6082 fi
       
  6083 
       
  6084 
       
  6085   fi
       
  6086 fi
       
  6087 
       
  6088 
       
  6089 # On Solaris, term.h requires curses.h
       
  6090 
       
  6091 for ac_header in term.h
       
  6092 do
       
  6093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  6094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  6095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  6096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  6097   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6098 else
       
  6099   cat >conftest.$ac_ext <<_ACEOF
       
  6100 /* confdefs.h.  */
       
  6101 _ACEOF
       
  6102 cat confdefs.h >>conftest.$ac_ext
       
  6103 cat >>conftest.$ac_ext <<_ACEOF
       
  6104 /* end confdefs.h.  */
       
  6105 
       
  6106 #ifdef HAVE_CURSES_H
       
  6107 #include <curses.h>
       
  6108 #endif
       
  6109 
       
  6110 
       
  6111 #include <$ac_header>
       
  6112 _ACEOF
       
  6113 rm -f conftest.$ac_objext
       
  6114 if { (ac_try="$ac_compile"
       
  6115 case "(($ac_try" in
       
  6116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6117   *) ac_try_echo=$ac_try;;
       
  6118 esac
       
  6119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6120   (eval "$ac_compile") 2>conftest.er1
       
  6121   ac_status=$?
       
  6122   grep -v '^ *+' conftest.er1 >conftest.err
       
  6123   rm -f conftest.er1
       
  6124   cat conftest.err >&5
       
  6125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6126   (exit $ac_status); } && {
       
  6127 	 test -z "$ac_c_werror_flag" ||
       
  6128 	 test ! -s conftest.err
       
  6129        } && test -s conftest.$ac_objext; then
       
  6130   eval "$as_ac_Header=yes"
       
  6131 else
       
  6132   echo "$as_me: failed program was:" >&5
       
  6133 sed 's/^/| /' conftest.$ac_ext >&5
       
  6134 
       
  6135 	eval "$as_ac_Header=no"
       
  6136 fi
       
  6137 
       
  6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6139 fi
       
  6140 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  6141 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  6142 echo "${ECHO_T}$ac_res" >&6; }
       
  6143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  6144   cat >>confdefs.h <<_ACEOF
       
  6145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  6146 _ACEOF
       
  6147 
       
  6148 fi
       
  6149 
       
  6150 done
       
  6151 
       
  6152 
       
  6153 # On Linux, netlink.h requires asm/types.h
       
  6154 
       
  6155 for ac_header in linux/netlink.h
       
  6156 do
       
  6157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  6158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  6159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  6160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  6161   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6162 else
       
  6163   cat >conftest.$ac_ext <<_ACEOF
       
  6164 /* confdefs.h.  */
       
  6165 _ACEOF
       
  6166 cat confdefs.h >>conftest.$ac_ext
       
  6167 cat >>conftest.$ac_ext <<_ACEOF
       
  6168 /* end confdefs.h.  */
       
  6169 
       
  6170 #ifdef HAVE_ASM_TYPES_H
       
  6171 #include <asm/types.h>
       
  6172 #endif
       
  6173 #ifdef HAVE_SYS_SOCKET_H
       
  6174 #include <sys/socket.h>
       
  6175 #endif
       
  6176 
       
  6177 
       
  6178 #include <$ac_header>
       
  6179 _ACEOF
       
  6180 rm -f conftest.$ac_objext
       
  6181 if { (ac_try="$ac_compile"
       
  6182 case "(($ac_try" in
       
  6183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6184   *) ac_try_echo=$ac_try;;
       
  6185 esac
       
  6186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6187   (eval "$ac_compile") 2>conftest.er1
       
  6188   ac_status=$?
       
  6189   grep -v '^ *+' conftest.er1 >conftest.err
       
  6190   rm -f conftest.er1
       
  6191   cat conftest.err >&5
       
  6192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6193   (exit $ac_status); } && {
       
  6194 	 test -z "$ac_c_werror_flag" ||
       
  6195 	 test ! -s conftest.err
       
  6196        } && test -s conftest.$ac_objext; then
       
  6197   eval "$as_ac_Header=yes"
       
  6198 else
       
  6199   echo "$as_me: failed program was:" >&5
       
  6200 sed 's/^/| /' conftest.$ac_ext >&5
       
  6201 
       
  6202 	eval "$as_ac_Header=no"
       
  6203 fi
       
  6204 
       
  6205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6206 fi
       
  6207 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  6208 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  6209 echo "${ECHO_T}$ac_res" >&6; }
       
  6210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  6211   cat >>confdefs.h <<_ACEOF
       
  6212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  6213 _ACEOF
       
  6214 
       
  6215 fi
       
  6216 
       
  6217 done
       
  6218 
       
  6219 
       
  6220 # checks for typedefs
       
  6221 was_it_defined=no
       
  6222 { echo "$as_me:$LINENO: checking for clock_t in time.h" >&5
       
  6223 echo $ECHO_N "checking for clock_t in time.h... $ECHO_C" >&6; }
       
  6224 cat >conftest.$ac_ext <<_ACEOF
       
  6225 /* confdefs.h.  */
       
  6226 _ACEOF
       
  6227 cat confdefs.h >>conftest.$ac_ext
       
  6228 cat >>conftest.$ac_ext <<_ACEOF
       
  6229 /* end confdefs.h.  */
       
  6230 #include <time.h>
       
  6231 
       
  6232 _ACEOF
       
  6233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  6234   $EGREP "clock_t" >/dev/null 2>&1; then
       
  6235   was_it_defined=yes
       
  6236 else
       
  6237 
       
  6238 
       
  6239 cat >>confdefs.h <<\_ACEOF
       
  6240 #define clock_t long
       
  6241 _ACEOF
       
  6242 
       
  6243 
       
  6244 fi
       
  6245 rm -f conftest*
       
  6246 
       
  6247 { echo "$as_me:$LINENO: result: $was_it_defined" >&5
       
  6248 echo "${ECHO_T}$was_it_defined" >&6; }
       
  6249 
       
  6250 # Check whether using makedev requires defining _OSF_SOURCE
       
  6251 { echo "$as_me:$LINENO: checking for makedev" >&5
       
  6252 echo $ECHO_N "checking for makedev... $ECHO_C" >&6; }
       
  6253 cat >conftest.$ac_ext <<_ACEOF
       
  6254 /* confdefs.h.  */
       
  6255 _ACEOF
       
  6256 cat confdefs.h >>conftest.$ac_ext
       
  6257 cat >>conftest.$ac_ext <<_ACEOF
       
  6258 /* end confdefs.h.  */
       
  6259 #include <sys/types.h>
       
  6260 int
       
  6261 main ()
       
  6262 {
       
  6263  makedev(0, 0)
       
  6264   ;
       
  6265   return 0;
       
  6266 }
       
  6267 _ACEOF
       
  6268 rm -f conftest.$ac_objext conftest$ac_exeext
       
  6269 if { (ac_try="$ac_link"
       
  6270 case "(($ac_try" in
       
  6271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6272   *) ac_try_echo=$ac_try;;
       
  6273 esac
       
  6274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6275   (eval "$ac_link") 2>conftest.er1
       
  6276   ac_status=$?
       
  6277   grep -v '^ *+' conftest.er1 >conftest.err
       
  6278   rm -f conftest.er1
       
  6279   cat conftest.err >&5
       
  6280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6281   (exit $ac_status); } && {
       
  6282 	 test -z "$ac_c_werror_flag" ||
       
  6283 	 test ! -s conftest.err
       
  6284        } && test -s conftest$ac_exeext &&
       
  6285        $as_test_x conftest$ac_exeext; then
       
  6286   ac_cv_has_makedev=yes
       
  6287 else
       
  6288   echo "$as_me: failed program was:" >&5
       
  6289 sed 's/^/| /' conftest.$ac_ext >&5
       
  6290 
       
  6291 	ac_cv_has_makedev=no
       
  6292 fi
       
  6293 
       
  6294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
  6295       conftest$ac_exeext conftest.$ac_ext
       
  6296 if test "$ac_cv_has_makedev" = "no"; then
       
  6297     # we didn't link, try if _OSF_SOURCE will allow us to link
       
  6298     cat >conftest.$ac_ext <<_ACEOF
       
  6299 /* confdefs.h.  */
       
  6300 _ACEOF
       
  6301 cat confdefs.h >>conftest.$ac_ext
       
  6302 cat >>conftest.$ac_ext <<_ACEOF
       
  6303 /* end confdefs.h.  */
       
  6304 
       
  6305 #define _OSF_SOURCE 1
       
  6306 #include <sys/types.h>
       
  6307 
       
  6308 int
       
  6309 main ()
       
  6310 {
       
  6311  makedev(0, 0)
       
  6312   ;
       
  6313   return 0;
       
  6314 }
       
  6315 _ACEOF
       
  6316 rm -f conftest.$ac_objext conftest$ac_exeext
       
  6317 if { (ac_try="$ac_link"
       
  6318 case "(($ac_try" in
       
  6319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6320   *) ac_try_echo=$ac_try;;
       
  6321 esac
       
  6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6323   (eval "$ac_link") 2>conftest.er1
       
  6324   ac_status=$?
       
  6325   grep -v '^ *+' conftest.er1 >conftest.err
       
  6326   rm -f conftest.er1
       
  6327   cat conftest.err >&5
       
  6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6329   (exit $ac_status); } && {
       
  6330 	 test -z "$ac_c_werror_flag" ||
       
  6331 	 test ! -s conftest.err
       
  6332        } && test -s conftest$ac_exeext &&
       
  6333        $as_test_x conftest$ac_exeext; then
       
  6334   ac_cv_has_makedev=yes
       
  6335 else
       
  6336   echo "$as_me: failed program was:" >&5
       
  6337 sed 's/^/| /' conftest.$ac_ext >&5
       
  6338 
       
  6339 	ac_cv_has_makedev=no
       
  6340 fi
       
  6341 
       
  6342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
  6343       conftest$ac_exeext conftest.$ac_ext
       
  6344     if test "$ac_cv_has_makedev" = "yes"; then
       
  6345 
       
  6346 cat >>confdefs.h <<\_ACEOF
       
  6347 #define _OSF_SOURCE 1
       
  6348 _ACEOF
       
  6349 
       
  6350     fi
       
  6351 fi
       
  6352 { echo "$as_me:$LINENO: result: $ac_cv_has_makedev" >&5
       
  6353 echo "${ECHO_T}$ac_cv_has_makedev" >&6; }
       
  6354 if test "$ac_cv_has_makedev" = "yes"; then
       
  6355 
       
  6356 cat >>confdefs.h <<\_ACEOF
       
  6357 #define HAVE_MAKEDEV 1
       
  6358 _ACEOF
       
  6359 
       
  6360 fi
       
  6361 
       
  6362 # Enabling LFS on Solaris (2.6 to 9) with gcc 2.95 triggers a bug in
       
  6363 # the system headers: If _XOPEN_SOURCE and _LARGEFILE_SOURCE are
       
  6364 # defined, but the compiler does not support pragma redefine_extname,
       
  6365 # and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit
       
  6366 # structures (such as rlimit64) without declaring them. As a
       
  6367 # work-around, disable LFS on such configurations
       
  6368 
       
  6369 use_lfs=yes
       
  6370 { echo "$as_me:$LINENO: checking Solaris LFS bug" >&5
       
  6371 echo $ECHO_N "checking Solaris LFS bug... $ECHO_C" >&6; }
       
  6372 cat >conftest.$ac_ext <<_ACEOF
       
  6373 /* confdefs.h.  */
       
  6374 _ACEOF
       
  6375 cat confdefs.h >>conftest.$ac_ext
       
  6376 cat >>conftest.$ac_ext <<_ACEOF
       
  6377 /* end confdefs.h.  */
       
  6378 
       
  6379 #define _LARGEFILE_SOURCE 1
       
  6380 #define _FILE_OFFSET_BITS 64
       
  6381 #include <sys/resource.h>
       
  6382 
       
  6383 int
       
  6384 main ()
       
  6385 {
       
  6386 struct rlimit foo;
       
  6387   ;
       
  6388   return 0;
       
  6389 }
       
  6390 _ACEOF
       
  6391 rm -f conftest.$ac_objext
       
  6392 if { (ac_try="$ac_compile"
       
  6393 case "(($ac_try" in
       
  6394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6395   *) ac_try_echo=$ac_try;;
       
  6396 esac
       
  6397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6398   (eval "$ac_compile") 2>conftest.er1
       
  6399   ac_status=$?
       
  6400   grep -v '^ *+' conftest.er1 >conftest.err
       
  6401   rm -f conftest.er1
       
  6402   cat conftest.err >&5
       
  6403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6404   (exit $ac_status); } && {
       
  6405 	 test -z "$ac_c_werror_flag" ||
       
  6406 	 test ! -s conftest.err
       
  6407        } && test -s conftest.$ac_objext; then
       
  6408   sol_lfs_bug=no
       
  6409 else
       
  6410   echo "$as_me: failed program was:" >&5
       
  6411 sed 's/^/| /' conftest.$ac_ext >&5
       
  6412 
       
  6413 	sol_lfs_bug=yes
       
  6414 fi
       
  6415 
       
  6416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6417 { echo "$as_me:$LINENO: result: $sol_lfs_bug" >&5
       
  6418 echo "${ECHO_T}$sol_lfs_bug" >&6; }
       
  6419 if test "$sol_lfs_bug" = "yes"; then
       
  6420   use_lfs=no
       
  6421 fi
       
  6422 
       
  6423 if test "$use_lfs" = "yes"; then
       
  6424 # Two defines needed to enable largefile support on various platforms
       
  6425 # These may affect some typedefs
       
  6426 
       
  6427 cat >>confdefs.h <<\_ACEOF
       
  6428 #define _LARGEFILE_SOURCE 1
       
  6429 _ACEOF
       
  6430 
       
  6431 
       
  6432 cat >>confdefs.h <<\_ACEOF
       
  6433 #define _FILE_OFFSET_BITS 64
       
  6434 _ACEOF
       
  6435 
       
  6436 fi
       
  6437 
       
  6438 # Add some code to confdefs.h so that the test for off_t works on SCO
       
  6439 cat >> confdefs.h <<\EOF
       
  6440 #if defined(SCO_DS)
       
  6441 #undef _OFF_T
       
  6442 #endif
       
  6443 EOF
       
  6444 
       
  6445 # Type availability checks
       
  6446 { echo "$as_me:$LINENO: checking for mode_t" >&5
       
  6447 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
       
  6448 if test "${ac_cv_type_mode_t+set}" = set; then
       
  6449   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6450 else
       
  6451   cat >conftest.$ac_ext <<_ACEOF
       
  6452 /* confdefs.h.  */
       
  6453 _ACEOF
       
  6454 cat confdefs.h >>conftest.$ac_ext
       
  6455 cat >>conftest.$ac_ext <<_ACEOF
       
  6456 /* end confdefs.h.  */
       
  6457 $ac_includes_default
       
  6458 typedef mode_t ac__type_new_;
       
  6459 int
       
  6460 main ()
       
  6461 {
       
  6462 if ((ac__type_new_ *) 0)
       
  6463   return 0;
       
  6464 if (sizeof (ac__type_new_))
       
  6465   return 0;
       
  6466   ;
       
  6467   return 0;
       
  6468 }
       
  6469 _ACEOF
       
  6470 rm -f conftest.$ac_objext
       
  6471 if { (ac_try="$ac_compile"
       
  6472 case "(($ac_try" in
       
  6473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6474   *) ac_try_echo=$ac_try;;
       
  6475 esac
       
  6476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6477   (eval "$ac_compile") 2>conftest.er1
       
  6478   ac_status=$?
       
  6479   grep -v '^ *+' conftest.er1 >conftest.err
       
  6480   rm -f conftest.er1
       
  6481   cat conftest.err >&5
       
  6482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6483   (exit $ac_status); } && {
       
  6484 	 test -z "$ac_c_werror_flag" ||
       
  6485 	 test ! -s conftest.err
       
  6486        } && test -s conftest.$ac_objext; then
       
  6487   ac_cv_type_mode_t=yes
       
  6488 else
       
  6489   echo "$as_me: failed program was:" >&5
       
  6490 sed 's/^/| /' conftest.$ac_ext >&5
       
  6491 
       
  6492 	ac_cv_type_mode_t=no
       
  6493 fi
       
  6494 
       
  6495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6496 fi
       
  6497 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
       
  6498 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
       
  6499 if test $ac_cv_type_mode_t = yes; then
       
  6500   :
       
  6501 else
       
  6502 
       
  6503 cat >>confdefs.h <<_ACEOF
       
  6504 #define mode_t int
       
  6505 _ACEOF
       
  6506 
       
  6507 fi
       
  6508 
       
  6509 { echo "$as_me:$LINENO: checking for off_t" >&5
       
  6510 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
       
  6511 if test "${ac_cv_type_off_t+set}" = set; then
       
  6512   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6513 else
       
  6514   cat >conftest.$ac_ext <<_ACEOF
       
  6515 /* confdefs.h.  */
       
  6516 _ACEOF
       
  6517 cat confdefs.h >>conftest.$ac_ext
       
  6518 cat >>conftest.$ac_ext <<_ACEOF
       
  6519 /* end confdefs.h.  */
       
  6520 $ac_includes_default
       
  6521 typedef off_t ac__type_new_;
       
  6522 int
       
  6523 main ()
       
  6524 {
       
  6525 if ((ac__type_new_ *) 0)
       
  6526   return 0;
       
  6527 if (sizeof (ac__type_new_))
       
  6528   return 0;
       
  6529   ;
       
  6530   return 0;
       
  6531 }
       
  6532 _ACEOF
       
  6533 rm -f conftest.$ac_objext
       
  6534 if { (ac_try="$ac_compile"
       
  6535 case "(($ac_try" in
       
  6536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6537   *) ac_try_echo=$ac_try;;
       
  6538 esac
       
  6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6540   (eval "$ac_compile") 2>conftest.er1
       
  6541   ac_status=$?
       
  6542   grep -v '^ *+' conftest.er1 >conftest.err
       
  6543   rm -f conftest.er1
       
  6544   cat conftest.err >&5
       
  6545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6546   (exit $ac_status); } && {
       
  6547 	 test -z "$ac_c_werror_flag" ||
       
  6548 	 test ! -s conftest.err
       
  6549        } && test -s conftest.$ac_objext; then
       
  6550   ac_cv_type_off_t=yes
       
  6551 else
       
  6552   echo "$as_me: failed program was:" >&5
       
  6553 sed 's/^/| /' conftest.$ac_ext >&5
       
  6554 
       
  6555 	ac_cv_type_off_t=no
       
  6556 fi
       
  6557 
       
  6558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6559 fi
       
  6560 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
       
  6561 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
       
  6562 if test $ac_cv_type_off_t = yes; then
       
  6563   :
       
  6564 else
       
  6565 
       
  6566 cat >>confdefs.h <<_ACEOF
       
  6567 #define off_t long int
       
  6568 _ACEOF
       
  6569 
       
  6570 fi
       
  6571 
       
  6572 { echo "$as_me:$LINENO: checking for pid_t" >&5
       
  6573 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
       
  6574 if test "${ac_cv_type_pid_t+set}" = set; then
       
  6575   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6576 else
       
  6577   cat >conftest.$ac_ext <<_ACEOF
       
  6578 /* confdefs.h.  */
       
  6579 _ACEOF
       
  6580 cat confdefs.h >>conftest.$ac_ext
       
  6581 cat >>conftest.$ac_ext <<_ACEOF
       
  6582 /* end confdefs.h.  */
       
  6583 $ac_includes_default
       
  6584 typedef pid_t ac__type_new_;
       
  6585 int
       
  6586 main ()
       
  6587 {
       
  6588 if ((ac__type_new_ *) 0)
       
  6589   return 0;
       
  6590 if (sizeof (ac__type_new_))
       
  6591   return 0;
       
  6592   ;
       
  6593   return 0;
       
  6594 }
       
  6595 _ACEOF
       
  6596 rm -f conftest.$ac_objext
       
  6597 if { (ac_try="$ac_compile"
       
  6598 case "(($ac_try" in
       
  6599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6600   *) ac_try_echo=$ac_try;;
       
  6601 esac
       
  6602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6603   (eval "$ac_compile") 2>conftest.er1
       
  6604   ac_status=$?
       
  6605   grep -v '^ *+' conftest.er1 >conftest.err
       
  6606   rm -f conftest.er1
       
  6607   cat conftest.err >&5
       
  6608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6609   (exit $ac_status); } && {
       
  6610 	 test -z "$ac_c_werror_flag" ||
       
  6611 	 test ! -s conftest.err
       
  6612        } && test -s conftest.$ac_objext; then
       
  6613   ac_cv_type_pid_t=yes
       
  6614 else
       
  6615   echo "$as_me: failed program was:" >&5
       
  6616 sed 's/^/| /' conftest.$ac_ext >&5
       
  6617 
       
  6618 	ac_cv_type_pid_t=no
       
  6619 fi
       
  6620 
       
  6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6622 fi
       
  6623 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
       
  6624 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
       
  6625 if test $ac_cv_type_pid_t = yes; then
       
  6626   :
       
  6627 else
       
  6628 
       
  6629 cat >>confdefs.h <<_ACEOF
       
  6630 #define pid_t int
       
  6631 _ACEOF
       
  6632 
       
  6633 fi
       
  6634 
       
  6635 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
       
  6636 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
       
  6637 if test "${ac_cv_type_signal+set}" = set; then
       
  6638   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6639 else
       
  6640   cat >conftest.$ac_ext <<_ACEOF
       
  6641 /* confdefs.h.  */
       
  6642 _ACEOF
       
  6643 cat confdefs.h >>conftest.$ac_ext
       
  6644 cat >>conftest.$ac_ext <<_ACEOF
       
  6645 /* end confdefs.h.  */
       
  6646 #include <sys/types.h>
       
  6647 #include <signal.h>
       
  6648 
       
  6649 int
       
  6650 main ()
       
  6651 {
       
  6652 return *(signal (0, 0)) (0) == 1;
       
  6653   ;
       
  6654   return 0;
       
  6655 }
       
  6656 _ACEOF
       
  6657 rm -f conftest.$ac_objext
       
  6658 if { (ac_try="$ac_compile"
       
  6659 case "(($ac_try" in
       
  6660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6661   *) ac_try_echo=$ac_try;;
       
  6662 esac
       
  6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6664   (eval "$ac_compile") 2>conftest.er1
       
  6665   ac_status=$?
       
  6666   grep -v '^ *+' conftest.er1 >conftest.err
       
  6667   rm -f conftest.er1
       
  6668   cat conftest.err >&5
       
  6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6670   (exit $ac_status); } && {
       
  6671 	 test -z "$ac_c_werror_flag" ||
       
  6672 	 test ! -s conftest.err
       
  6673        } && test -s conftest.$ac_objext; then
       
  6674   ac_cv_type_signal=int
       
  6675 else
       
  6676   echo "$as_me: failed program was:" >&5
       
  6677 sed 's/^/| /' conftest.$ac_ext >&5
       
  6678 
       
  6679 	ac_cv_type_signal=void
       
  6680 fi
       
  6681 
       
  6682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6683 fi
       
  6684 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
       
  6685 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
       
  6686 
       
  6687 cat >>confdefs.h <<_ACEOF
       
  6688 #define RETSIGTYPE $ac_cv_type_signal
       
  6689 _ACEOF
       
  6690 
       
  6691 
       
  6692 { echo "$as_me:$LINENO: checking for size_t" >&5
       
  6693 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
       
  6694 if test "${ac_cv_type_size_t+set}" = set; then
       
  6695   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6696 else
       
  6697   cat >conftest.$ac_ext <<_ACEOF
       
  6698 /* confdefs.h.  */
       
  6699 _ACEOF
       
  6700 cat confdefs.h >>conftest.$ac_ext
       
  6701 cat >>conftest.$ac_ext <<_ACEOF
       
  6702 /* end confdefs.h.  */
       
  6703 $ac_includes_default
       
  6704 typedef size_t ac__type_new_;
       
  6705 int
       
  6706 main ()
       
  6707 {
       
  6708 if ((ac__type_new_ *) 0)
       
  6709   return 0;
       
  6710 if (sizeof (ac__type_new_))
       
  6711   return 0;
       
  6712   ;
       
  6713   return 0;
       
  6714 }
       
  6715 _ACEOF
       
  6716 rm -f conftest.$ac_objext
       
  6717 if { (ac_try="$ac_compile"
       
  6718 case "(($ac_try" in
       
  6719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6720   *) ac_try_echo=$ac_try;;
       
  6721 esac
       
  6722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6723   (eval "$ac_compile") 2>conftest.er1
       
  6724   ac_status=$?
       
  6725   grep -v '^ *+' conftest.er1 >conftest.err
       
  6726   rm -f conftest.er1
       
  6727   cat conftest.err >&5
       
  6728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6729   (exit $ac_status); } && {
       
  6730 	 test -z "$ac_c_werror_flag" ||
       
  6731 	 test ! -s conftest.err
       
  6732        } && test -s conftest.$ac_objext; then
       
  6733   ac_cv_type_size_t=yes
       
  6734 else
       
  6735   echo "$as_me: failed program was:" >&5
       
  6736 sed 's/^/| /' conftest.$ac_ext >&5
       
  6737 
       
  6738 	ac_cv_type_size_t=no
       
  6739 fi
       
  6740 
       
  6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6742 fi
       
  6743 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
       
  6744 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
       
  6745 if test $ac_cv_type_size_t = yes; then
       
  6746   :
       
  6747 else
       
  6748 
       
  6749 cat >>confdefs.h <<_ACEOF
       
  6750 #define size_t unsigned int
       
  6751 _ACEOF
       
  6752 
       
  6753 fi
       
  6754 
       
  6755 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
       
  6756 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
       
  6757 if test "${ac_cv_type_uid_t+set}" = set; then
       
  6758   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6759 else
       
  6760   cat >conftest.$ac_ext <<_ACEOF
       
  6761 /* confdefs.h.  */
       
  6762 _ACEOF
       
  6763 cat confdefs.h >>conftest.$ac_ext
       
  6764 cat >>conftest.$ac_ext <<_ACEOF
       
  6765 /* end confdefs.h.  */
       
  6766 #include <sys/types.h>
       
  6767 
       
  6768 _ACEOF
       
  6769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  6770   $EGREP "uid_t" >/dev/null 2>&1; then
       
  6771   ac_cv_type_uid_t=yes
       
  6772 else
       
  6773   ac_cv_type_uid_t=no
       
  6774 fi
       
  6775 rm -f conftest*
       
  6776 
       
  6777 fi
       
  6778 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
       
  6779 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
       
  6780 if test $ac_cv_type_uid_t = no; then
       
  6781 
       
  6782 cat >>confdefs.h <<\_ACEOF
       
  6783 #define uid_t int
       
  6784 _ACEOF
       
  6785 
       
  6786 
       
  6787 cat >>confdefs.h <<\_ACEOF
       
  6788 #define gid_t int
       
  6789 _ACEOF
       
  6790 
       
  6791 fi
       
  6792 
       
  6793 { echo "$as_me:$LINENO: checking for ssize_t" >&5
       
  6794 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
       
  6795 if test "${ac_cv_type_ssize_t+set}" = set; then
       
  6796   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6797 else
       
  6798   cat >conftest.$ac_ext <<_ACEOF
       
  6799 /* confdefs.h.  */
       
  6800 _ACEOF
       
  6801 cat confdefs.h >>conftest.$ac_ext
       
  6802 cat >>conftest.$ac_ext <<_ACEOF
       
  6803 /* end confdefs.h.  */
       
  6804 $ac_includes_default
       
  6805 typedef ssize_t ac__type_new_;
       
  6806 int
       
  6807 main ()
       
  6808 {
       
  6809 if ((ac__type_new_ *) 0)
       
  6810   return 0;
       
  6811 if (sizeof (ac__type_new_))
       
  6812   return 0;
       
  6813   ;
       
  6814   return 0;
       
  6815 }
       
  6816 _ACEOF
       
  6817 rm -f conftest.$ac_objext
       
  6818 if { (ac_try="$ac_compile"
       
  6819 case "(($ac_try" in
       
  6820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6821   *) ac_try_echo=$ac_try;;
       
  6822 esac
       
  6823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6824   (eval "$ac_compile") 2>conftest.er1
       
  6825   ac_status=$?
       
  6826   grep -v '^ *+' conftest.er1 >conftest.err
       
  6827   rm -f conftest.er1
       
  6828   cat conftest.err >&5
       
  6829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6830   (exit $ac_status); } && {
       
  6831 	 test -z "$ac_c_werror_flag" ||
       
  6832 	 test ! -s conftest.err
       
  6833        } && test -s conftest.$ac_objext; then
       
  6834   ac_cv_type_ssize_t=yes
       
  6835 else
       
  6836   echo "$as_me: failed program was:" >&5
       
  6837 sed 's/^/| /' conftest.$ac_ext >&5
       
  6838 
       
  6839 	ac_cv_type_ssize_t=no
       
  6840 fi
       
  6841 
       
  6842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6843 fi
       
  6844 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
       
  6845 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
       
  6846 if test $ac_cv_type_ssize_t = yes; then
       
  6847 
       
  6848 cat >>confdefs.h <<\_ACEOF
       
  6849 #define HAVE_SSIZE_T 1
       
  6850 _ACEOF
       
  6851 
       
  6852 fi
       
  6853 
       
  6854 
       
  6855 # Sizes of various common basic types
       
  6856 # ANSI C requires sizeof(char) == 1, so no need to check it
       
  6857 { echo "$as_me:$LINENO: checking for int" >&5
       
  6858 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
       
  6859 if test "${ac_cv_type_int+set}" = set; then
       
  6860   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6861 else
       
  6862   cat >conftest.$ac_ext <<_ACEOF
       
  6863 /* confdefs.h.  */
       
  6864 _ACEOF
       
  6865 cat confdefs.h >>conftest.$ac_ext
       
  6866 cat >>conftest.$ac_ext <<_ACEOF
       
  6867 /* end confdefs.h.  */
       
  6868 $ac_includes_default
       
  6869 typedef int ac__type_new_;
       
  6870 int
       
  6871 main ()
       
  6872 {
       
  6873 if ((ac__type_new_ *) 0)
       
  6874   return 0;
       
  6875 if (sizeof (ac__type_new_))
       
  6876   return 0;
       
  6877   ;
       
  6878   return 0;
       
  6879 }
       
  6880 _ACEOF
       
  6881 rm -f conftest.$ac_objext
       
  6882 if { (ac_try="$ac_compile"
       
  6883 case "(($ac_try" in
       
  6884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6885   *) ac_try_echo=$ac_try;;
       
  6886 esac
       
  6887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6888   (eval "$ac_compile") 2>conftest.er1
       
  6889   ac_status=$?
       
  6890   grep -v '^ *+' conftest.er1 >conftest.err
       
  6891   rm -f conftest.er1
       
  6892   cat conftest.err >&5
       
  6893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6894   (exit $ac_status); } && {
       
  6895 	 test -z "$ac_c_werror_flag" ||
       
  6896 	 test ! -s conftest.err
       
  6897        } && test -s conftest.$ac_objext; then
       
  6898   ac_cv_type_int=yes
       
  6899 else
       
  6900   echo "$as_me: failed program was:" >&5
       
  6901 sed 's/^/| /' conftest.$ac_ext >&5
       
  6902 
       
  6903 	ac_cv_type_int=no
       
  6904 fi
       
  6905 
       
  6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6907 fi
       
  6908 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
       
  6909 echo "${ECHO_T}$ac_cv_type_int" >&6; }
       
  6910 
       
  6911 # The cast to long int works around a bug in the HP C Compiler
       
  6912 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  6913 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  6914 # This bug is HP SR number 8606223364.
       
  6915 { echo "$as_me:$LINENO: checking size of int" >&5
       
  6916 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
       
  6917 if test "${ac_cv_sizeof_int+set}" = set; then
       
  6918   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6919 else
       
  6920   if test "$cross_compiling" = yes; then
       
  6921   # Depending upon the size, compute the lo and hi bounds.
       
  6922 cat >conftest.$ac_ext <<_ACEOF
       
  6923 /* confdefs.h.  */
       
  6924 _ACEOF
       
  6925 cat confdefs.h >>conftest.$ac_ext
       
  6926 cat >>conftest.$ac_ext <<_ACEOF
       
  6927 /* end confdefs.h.  */
       
  6928 $ac_includes_default
       
  6929    typedef int ac__type_sizeof_;
       
  6930 int
       
  6931 main ()
       
  6932 {
       
  6933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  6934 test_array [0] = 0
       
  6935 
       
  6936   ;
       
  6937   return 0;
       
  6938 }
       
  6939 _ACEOF
       
  6940 rm -f conftest.$ac_objext
       
  6941 if { (ac_try="$ac_compile"
       
  6942 case "(($ac_try" in
       
  6943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6944   *) ac_try_echo=$ac_try;;
       
  6945 esac
       
  6946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6947   (eval "$ac_compile") 2>conftest.er1
       
  6948   ac_status=$?
       
  6949   grep -v '^ *+' conftest.er1 >conftest.err
       
  6950   rm -f conftest.er1
       
  6951   cat conftest.err >&5
       
  6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6953   (exit $ac_status); } && {
       
  6954 	 test -z "$ac_c_werror_flag" ||
       
  6955 	 test ! -s conftest.err
       
  6956        } && test -s conftest.$ac_objext; then
       
  6957   ac_lo=0 ac_mid=0
       
  6958   while :; do
       
  6959     cat >conftest.$ac_ext <<_ACEOF
       
  6960 /* confdefs.h.  */
       
  6961 _ACEOF
       
  6962 cat confdefs.h >>conftest.$ac_ext
       
  6963 cat >>conftest.$ac_ext <<_ACEOF
       
  6964 /* end confdefs.h.  */
       
  6965 $ac_includes_default
       
  6966    typedef int ac__type_sizeof_;
       
  6967 int
       
  6968 main ()
       
  6969 {
       
  6970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  6971 test_array [0] = 0
       
  6972 
       
  6973   ;
       
  6974   return 0;
       
  6975 }
       
  6976 _ACEOF
       
  6977 rm -f conftest.$ac_objext
       
  6978 if { (ac_try="$ac_compile"
       
  6979 case "(($ac_try" in
       
  6980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6981   *) ac_try_echo=$ac_try;;
       
  6982 esac
       
  6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6984   (eval "$ac_compile") 2>conftest.er1
       
  6985   ac_status=$?
       
  6986   grep -v '^ *+' conftest.er1 >conftest.err
       
  6987   rm -f conftest.er1
       
  6988   cat conftest.err >&5
       
  6989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6990   (exit $ac_status); } && {
       
  6991 	 test -z "$ac_c_werror_flag" ||
       
  6992 	 test ! -s conftest.err
       
  6993        } && test -s conftest.$ac_objext; then
       
  6994   ac_hi=$ac_mid; break
       
  6995 else
       
  6996   echo "$as_me: failed program was:" >&5
       
  6997 sed 's/^/| /' conftest.$ac_ext >&5
       
  6998 
       
  6999 	ac_lo=`expr $ac_mid + 1`
       
  7000 			if test $ac_lo -le $ac_mid; then
       
  7001 			  ac_lo= ac_hi=
       
  7002 			  break
       
  7003 			fi
       
  7004 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  7005 fi
       
  7006 
       
  7007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7008   done
       
  7009 else
       
  7010   echo "$as_me: failed program was:" >&5
       
  7011 sed 's/^/| /' conftest.$ac_ext >&5
       
  7012 
       
  7013 	cat >conftest.$ac_ext <<_ACEOF
       
  7014 /* confdefs.h.  */
       
  7015 _ACEOF
       
  7016 cat confdefs.h >>conftest.$ac_ext
       
  7017 cat >>conftest.$ac_ext <<_ACEOF
       
  7018 /* end confdefs.h.  */
       
  7019 $ac_includes_default
       
  7020    typedef int ac__type_sizeof_;
       
  7021 int
       
  7022 main ()
       
  7023 {
       
  7024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  7025 test_array [0] = 0
       
  7026 
       
  7027   ;
       
  7028   return 0;
       
  7029 }
       
  7030 _ACEOF
       
  7031 rm -f conftest.$ac_objext
       
  7032 if { (ac_try="$ac_compile"
       
  7033 case "(($ac_try" in
       
  7034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7035   *) ac_try_echo=$ac_try;;
       
  7036 esac
       
  7037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7038   (eval "$ac_compile") 2>conftest.er1
       
  7039   ac_status=$?
       
  7040   grep -v '^ *+' conftest.er1 >conftest.err
       
  7041   rm -f conftest.er1
       
  7042   cat conftest.err >&5
       
  7043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7044   (exit $ac_status); } && {
       
  7045 	 test -z "$ac_c_werror_flag" ||
       
  7046 	 test ! -s conftest.err
       
  7047        } && test -s conftest.$ac_objext; then
       
  7048   ac_hi=-1 ac_mid=-1
       
  7049   while :; do
       
  7050     cat >conftest.$ac_ext <<_ACEOF
       
  7051 /* confdefs.h.  */
       
  7052 _ACEOF
       
  7053 cat confdefs.h >>conftest.$ac_ext
       
  7054 cat >>conftest.$ac_ext <<_ACEOF
       
  7055 /* end confdefs.h.  */
       
  7056 $ac_includes_default
       
  7057    typedef int ac__type_sizeof_;
       
  7058 int
       
  7059 main ()
       
  7060 {
       
  7061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  7062 test_array [0] = 0
       
  7063 
       
  7064   ;
       
  7065   return 0;
       
  7066 }
       
  7067 _ACEOF
       
  7068 rm -f conftest.$ac_objext
       
  7069 if { (ac_try="$ac_compile"
       
  7070 case "(($ac_try" in
       
  7071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7072   *) ac_try_echo=$ac_try;;
       
  7073 esac
       
  7074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7075   (eval "$ac_compile") 2>conftest.er1
       
  7076   ac_status=$?
       
  7077   grep -v '^ *+' conftest.er1 >conftest.err
       
  7078   rm -f conftest.er1
       
  7079   cat conftest.err >&5
       
  7080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7081   (exit $ac_status); } && {
       
  7082 	 test -z "$ac_c_werror_flag" ||
       
  7083 	 test ! -s conftest.err
       
  7084        } && test -s conftest.$ac_objext; then
       
  7085   ac_lo=$ac_mid; break
       
  7086 else
       
  7087   echo "$as_me: failed program was:" >&5
       
  7088 sed 's/^/| /' conftest.$ac_ext >&5
       
  7089 
       
  7090 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  7091 			if test $ac_mid -le $ac_hi; then
       
  7092 			  ac_lo= ac_hi=
       
  7093 			  break
       
  7094 			fi
       
  7095 			ac_mid=`expr 2 '*' $ac_mid`
       
  7096 fi
       
  7097 
       
  7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7099   done
       
  7100 else
       
  7101   echo "$as_me: failed program was:" >&5
       
  7102 sed 's/^/| /' conftest.$ac_ext >&5
       
  7103 
       
  7104 	ac_lo= ac_hi=
       
  7105 fi
       
  7106 
       
  7107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7108 fi
       
  7109 
       
  7110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7111 # Binary search between lo and hi bounds.
       
  7112 while test "x$ac_lo" != "x$ac_hi"; do
       
  7113   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  7114   cat >conftest.$ac_ext <<_ACEOF
       
  7115 /* confdefs.h.  */
       
  7116 _ACEOF
       
  7117 cat confdefs.h >>conftest.$ac_ext
       
  7118 cat >>conftest.$ac_ext <<_ACEOF
       
  7119 /* end confdefs.h.  */
       
  7120 $ac_includes_default
       
  7121    typedef int ac__type_sizeof_;
       
  7122 int
       
  7123 main ()
       
  7124 {
       
  7125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  7126 test_array [0] = 0
       
  7127 
       
  7128   ;
       
  7129   return 0;
       
  7130 }
       
  7131 _ACEOF
       
  7132 rm -f conftest.$ac_objext
       
  7133 if { (ac_try="$ac_compile"
       
  7134 case "(($ac_try" in
       
  7135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7136   *) ac_try_echo=$ac_try;;
       
  7137 esac
       
  7138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7139   (eval "$ac_compile") 2>conftest.er1
       
  7140   ac_status=$?
       
  7141   grep -v '^ *+' conftest.er1 >conftest.err
       
  7142   rm -f conftest.er1
       
  7143   cat conftest.err >&5
       
  7144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7145   (exit $ac_status); } && {
       
  7146 	 test -z "$ac_c_werror_flag" ||
       
  7147 	 test ! -s conftest.err
       
  7148        } && test -s conftest.$ac_objext; then
       
  7149   ac_hi=$ac_mid
       
  7150 else
       
  7151   echo "$as_me: failed program was:" >&5
       
  7152 sed 's/^/| /' conftest.$ac_ext >&5
       
  7153 
       
  7154 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  7155 fi
       
  7156 
       
  7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7158 done
       
  7159 case $ac_lo in
       
  7160 ?*) ac_cv_sizeof_int=$ac_lo;;
       
  7161 '') if test "$ac_cv_type_int" = yes; then
       
  7162      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
       
  7163 See \`config.log' for more details." >&5
       
  7164 echo "$as_me: error: cannot compute sizeof (int)
       
  7165 See \`config.log' for more details." >&2;}
       
  7166    { (exit 77); exit 77; }; }
       
  7167    else
       
  7168      ac_cv_sizeof_int=0
       
  7169    fi ;;
       
  7170 esac
       
  7171 else
       
  7172   cat >conftest.$ac_ext <<_ACEOF
       
  7173 /* confdefs.h.  */
       
  7174 _ACEOF
       
  7175 cat confdefs.h >>conftest.$ac_ext
       
  7176 cat >>conftest.$ac_ext <<_ACEOF
       
  7177 /* end confdefs.h.  */
       
  7178 $ac_includes_default
       
  7179    typedef int ac__type_sizeof_;
       
  7180 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  7181 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  7182 #include <stdio.h>
       
  7183 #include <stdlib.h>
       
  7184 int
       
  7185 main ()
       
  7186 {
       
  7187 
       
  7188   FILE *f = fopen ("conftest.val", "w");
       
  7189   if (! f)
       
  7190     return 1;
       
  7191   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  7192     {
       
  7193       long int i = longval ();
       
  7194       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  7195 	return 1;
       
  7196       fprintf (f, "%ld\n", i);
       
  7197     }
       
  7198   else
       
  7199     {
       
  7200       unsigned long int i = ulongval ();
       
  7201       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  7202 	return 1;
       
  7203       fprintf (f, "%lu\n", i);
       
  7204     }
       
  7205   return ferror (f) || fclose (f) != 0;
       
  7206 
       
  7207   ;
       
  7208   return 0;
       
  7209 }
       
  7210 _ACEOF
       
  7211 rm -f conftest$ac_exeext
       
  7212 if { (ac_try="$ac_link"
       
  7213 case "(($ac_try" in
       
  7214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7215   *) ac_try_echo=$ac_try;;
       
  7216 esac
       
  7217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7218   (eval "$ac_link") 2>&5
       
  7219   ac_status=$?
       
  7220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7221   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  7222   { (case "(($ac_try" in
       
  7223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7224   *) ac_try_echo=$ac_try;;
       
  7225 esac
       
  7226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7227   (eval "$ac_try") 2>&5
       
  7228   ac_status=$?
       
  7229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7230   (exit $ac_status); }; }; then
       
  7231   ac_cv_sizeof_int=`cat conftest.val`
       
  7232 else
       
  7233   echo "$as_me: program exited with status $ac_status" >&5
       
  7234 echo "$as_me: failed program was:" >&5
       
  7235 sed 's/^/| /' conftest.$ac_ext >&5
       
  7236 
       
  7237 ( exit $ac_status )
       
  7238 if test "$ac_cv_type_int" = yes; then
       
  7239      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
       
  7240 See \`config.log' for more details." >&5
       
  7241 echo "$as_me: error: cannot compute sizeof (int)
       
  7242 See \`config.log' for more details." >&2;}
       
  7243    { (exit 77); exit 77; }; }
       
  7244    else
       
  7245      ac_cv_sizeof_int=0
       
  7246    fi
       
  7247 fi
       
  7248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  7249 fi
       
  7250 rm -f conftest.val
       
  7251 fi
       
  7252 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
       
  7253 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
       
  7254 
       
  7255 
       
  7256 
       
  7257 cat >>confdefs.h <<_ACEOF
       
  7258 #define SIZEOF_INT $ac_cv_sizeof_int
       
  7259 _ACEOF
       
  7260 
       
  7261 
       
  7262 { echo "$as_me:$LINENO: checking for long" >&5
       
  7263 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
       
  7264 if test "${ac_cv_type_long+set}" = set; then
       
  7265   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7266 else
       
  7267   cat >conftest.$ac_ext <<_ACEOF
       
  7268 /* confdefs.h.  */
       
  7269 _ACEOF
       
  7270 cat confdefs.h >>conftest.$ac_ext
       
  7271 cat >>conftest.$ac_ext <<_ACEOF
       
  7272 /* end confdefs.h.  */
       
  7273 $ac_includes_default
       
  7274 typedef long ac__type_new_;
       
  7275 int
       
  7276 main ()
       
  7277 {
       
  7278 if ((ac__type_new_ *) 0)
       
  7279   return 0;
       
  7280 if (sizeof (ac__type_new_))
       
  7281   return 0;
       
  7282   ;
       
  7283   return 0;
       
  7284 }
       
  7285 _ACEOF
       
  7286 rm -f conftest.$ac_objext
       
  7287 if { (ac_try="$ac_compile"
       
  7288 case "(($ac_try" in
       
  7289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7290   *) ac_try_echo=$ac_try;;
       
  7291 esac
       
  7292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7293   (eval "$ac_compile") 2>conftest.er1
       
  7294   ac_status=$?
       
  7295   grep -v '^ *+' conftest.er1 >conftest.err
       
  7296   rm -f conftest.er1
       
  7297   cat conftest.err >&5
       
  7298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7299   (exit $ac_status); } && {
       
  7300 	 test -z "$ac_c_werror_flag" ||
       
  7301 	 test ! -s conftest.err
       
  7302        } && test -s conftest.$ac_objext; then
       
  7303   ac_cv_type_long=yes
       
  7304 else
       
  7305   echo "$as_me: failed program was:" >&5
       
  7306 sed 's/^/| /' conftest.$ac_ext >&5
       
  7307 
       
  7308 	ac_cv_type_long=no
       
  7309 fi
       
  7310 
       
  7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7312 fi
       
  7313 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
       
  7314 echo "${ECHO_T}$ac_cv_type_long" >&6; }
       
  7315 
       
  7316 # The cast to long int works around a bug in the HP C Compiler
       
  7317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  7318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  7319 # This bug is HP SR number 8606223364.
       
  7320 { echo "$as_me:$LINENO: checking size of long" >&5
       
  7321 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
       
  7322 if test "${ac_cv_sizeof_long+set}" = set; then
       
  7323   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7324 else
       
  7325   if test "$cross_compiling" = yes; then
       
  7326   # Depending upon the size, compute the lo and hi bounds.
       
  7327 cat >conftest.$ac_ext <<_ACEOF
       
  7328 /* confdefs.h.  */
       
  7329 _ACEOF
       
  7330 cat confdefs.h >>conftest.$ac_ext
       
  7331 cat >>conftest.$ac_ext <<_ACEOF
       
  7332 /* end confdefs.h.  */
       
  7333 $ac_includes_default
       
  7334    typedef long ac__type_sizeof_;
       
  7335 int
       
  7336 main ()
       
  7337 {
       
  7338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  7339 test_array [0] = 0
       
  7340 
       
  7341   ;
       
  7342   return 0;
       
  7343 }
       
  7344 _ACEOF
       
  7345 rm -f conftest.$ac_objext
       
  7346 if { (ac_try="$ac_compile"
       
  7347 case "(($ac_try" in
       
  7348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7349   *) ac_try_echo=$ac_try;;
       
  7350 esac
       
  7351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7352   (eval "$ac_compile") 2>conftest.er1
       
  7353   ac_status=$?
       
  7354   grep -v '^ *+' conftest.er1 >conftest.err
       
  7355   rm -f conftest.er1
       
  7356   cat conftest.err >&5
       
  7357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7358   (exit $ac_status); } && {
       
  7359 	 test -z "$ac_c_werror_flag" ||
       
  7360 	 test ! -s conftest.err
       
  7361        } && test -s conftest.$ac_objext; then
       
  7362   ac_lo=0 ac_mid=0
       
  7363   while :; do
       
  7364     cat >conftest.$ac_ext <<_ACEOF
       
  7365 /* confdefs.h.  */
       
  7366 _ACEOF
       
  7367 cat confdefs.h >>conftest.$ac_ext
       
  7368 cat >>conftest.$ac_ext <<_ACEOF
       
  7369 /* end confdefs.h.  */
       
  7370 $ac_includes_default
       
  7371    typedef long ac__type_sizeof_;
       
  7372 int
       
  7373 main ()
       
  7374 {
       
  7375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  7376 test_array [0] = 0
       
  7377 
       
  7378   ;
       
  7379   return 0;
       
  7380 }
       
  7381 _ACEOF
       
  7382 rm -f conftest.$ac_objext
       
  7383 if { (ac_try="$ac_compile"
       
  7384 case "(($ac_try" in
       
  7385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7386   *) ac_try_echo=$ac_try;;
       
  7387 esac
       
  7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7389   (eval "$ac_compile") 2>conftest.er1
       
  7390   ac_status=$?
       
  7391   grep -v '^ *+' conftest.er1 >conftest.err
       
  7392   rm -f conftest.er1
       
  7393   cat conftest.err >&5
       
  7394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7395   (exit $ac_status); } && {
       
  7396 	 test -z "$ac_c_werror_flag" ||
       
  7397 	 test ! -s conftest.err
       
  7398        } && test -s conftest.$ac_objext; then
       
  7399   ac_hi=$ac_mid; break
       
  7400 else
       
  7401   echo "$as_me: failed program was:" >&5
       
  7402 sed 's/^/| /' conftest.$ac_ext >&5
       
  7403 
       
  7404 	ac_lo=`expr $ac_mid + 1`
       
  7405 			if test $ac_lo -le $ac_mid; then
       
  7406 			  ac_lo= ac_hi=
       
  7407 			  break
       
  7408 			fi
       
  7409 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  7410 fi
       
  7411 
       
  7412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7413   done
       
  7414 else
       
  7415   echo "$as_me: failed program was:" >&5
       
  7416 sed 's/^/| /' conftest.$ac_ext >&5
       
  7417 
       
  7418 	cat >conftest.$ac_ext <<_ACEOF
       
  7419 /* confdefs.h.  */
       
  7420 _ACEOF
       
  7421 cat confdefs.h >>conftest.$ac_ext
       
  7422 cat >>conftest.$ac_ext <<_ACEOF
       
  7423 /* end confdefs.h.  */
       
  7424 $ac_includes_default
       
  7425    typedef long ac__type_sizeof_;
       
  7426 int
       
  7427 main ()
       
  7428 {
       
  7429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  7430 test_array [0] = 0
       
  7431 
       
  7432   ;
       
  7433   return 0;
       
  7434 }
       
  7435 _ACEOF
       
  7436 rm -f conftest.$ac_objext
       
  7437 if { (ac_try="$ac_compile"
       
  7438 case "(($ac_try" in
       
  7439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7440   *) ac_try_echo=$ac_try;;
       
  7441 esac
       
  7442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7443   (eval "$ac_compile") 2>conftest.er1
       
  7444   ac_status=$?
       
  7445   grep -v '^ *+' conftest.er1 >conftest.err
       
  7446   rm -f conftest.er1
       
  7447   cat conftest.err >&5
       
  7448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7449   (exit $ac_status); } && {
       
  7450 	 test -z "$ac_c_werror_flag" ||
       
  7451 	 test ! -s conftest.err
       
  7452        } && test -s conftest.$ac_objext; then
       
  7453   ac_hi=-1 ac_mid=-1
       
  7454   while :; do
       
  7455     cat >conftest.$ac_ext <<_ACEOF
       
  7456 /* confdefs.h.  */
       
  7457 _ACEOF
       
  7458 cat confdefs.h >>conftest.$ac_ext
       
  7459 cat >>conftest.$ac_ext <<_ACEOF
       
  7460 /* end confdefs.h.  */
       
  7461 $ac_includes_default
       
  7462    typedef long ac__type_sizeof_;
       
  7463 int
       
  7464 main ()
       
  7465 {
       
  7466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  7467 test_array [0] = 0
       
  7468 
       
  7469   ;
       
  7470   return 0;
       
  7471 }
       
  7472 _ACEOF
       
  7473 rm -f conftest.$ac_objext
       
  7474 if { (ac_try="$ac_compile"
       
  7475 case "(($ac_try" in
       
  7476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7477   *) ac_try_echo=$ac_try;;
       
  7478 esac
       
  7479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7480   (eval "$ac_compile") 2>conftest.er1
       
  7481   ac_status=$?
       
  7482   grep -v '^ *+' conftest.er1 >conftest.err
       
  7483   rm -f conftest.er1
       
  7484   cat conftest.err >&5
       
  7485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7486   (exit $ac_status); } && {
       
  7487 	 test -z "$ac_c_werror_flag" ||
       
  7488 	 test ! -s conftest.err
       
  7489        } && test -s conftest.$ac_objext; then
       
  7490   ac_lo=$ac_mid; break
       
  7491 else
       
  7492   echo "$as_me: failed program was:" >&5
       
  7493 sed 's/^/| /' conftest.$ac_ext >&5
       
  7494 
       
  7495 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  7496 			if test $ac_mid -le $ac_hi; then
       
  7497 			  ac_lo= ac_hi=
       
  7498 			  break
       
  7499 			fi
       
  7500 			ac_mid=`expr 2 '*' $ac_mid`
       
  7501 fi
       
  7502 
       
  7503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7504   done
       
  7505 else
       
  7506   echo "$as_me: failed program was:" >&5
       
  7507 sed 's/^/| /' conftest.$ac_ext >&5
       
  7508 
       
  7509 	ac_lo= ac_hi=
       
  7510 fi
       
  7511 
       
  7512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7513 fi
       
  7514 
       
  7515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7516 # Binary search between lo and hi bounds.
       
  7517 while test "x$ac_lo" != "x$ac_hi"; do
       
  7518   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  7519   cat >conftest.$ac_ext <<_ACEOF
       
  7520 /* confdefs.h.  */
       
  7521 _ACEOF
       
  7522 cat confdefs.h >>conftest.$ac_ext
       
  7523 cat >>conftest.$ac_ext <<_ACEOF
       
  7524 /* end confdefs.h.  */
       
  7525 $ac_includes_default
       
  7526    typedef long ac__type_sizeof_;
       
  7527 int
       
  7528 main ()
       
  7529 {
       
  7530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  7531 test_array [0] = 0
       
  7532 
       
  7533   ;
       
  7534   return 0;
       
  7535 }
       
  7536 _ACEOF
       
  7537 rm -f conftest.$ac_objext
       
  7538 if { (ac_try="$ac_compile"
       
  7539 case "(($ac_try" in
       
  7540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7541   *) ac_try_echo=$ac_try;;
       
  7542 esac
       
  7543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7544   (eval "$ac_compile") 2>conftest.er1
       
  7545   ac_status=$?
       
  7546   grep -v '^ *+' conftest.er1 >conftest.err
       
  7547   rm -f conftest.er1
       
  7548   cat conftest.err >&5
       
  7549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7550   (exit $ac_status); } && {
       
  7551 	 test -z "$ac_c_werror_flag" ||
       
  7552 	 test ! -s conftest.err
       
  7553        } && test -s conftest.$ac_objext; then
       
  7554   ac_hi=$ac_mid
       
  7555 else
       
  7556   echo "$as_me: failed program was:" >&5
       
  7557 sed 's/^/| /' conftest.$ac_ext >&5
       
  7558 
       
  7559 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  7560 fi
       
  7561 
       
  7562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7563 done
       
  7564 case $ac_lo in
       
  7565 ?*) ac_cv_sizeof_long=$ac_lo;;
       
  7566 '') if test "$ac_cv_type_long" = yes; then
       
  7567      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
       
  7568 See \`config.log' for more details." >&5
       
  7569 echo "$as_me: error: cannot compute sizeof (long)
       
  7570 See \`config.log' for more details." >&2;}
       
  7571    { (exit 77); exit 77; }; }
       
  7572    else
       
  7573      ac_cv_sizeof_long=0
       
  7574    fi ;;
       
  7575 esac
       
  7576 else
       
  7577   cat >conftest.$ac_ext <<_ACEOF
       
  7578 /* confdefs.h.  */
       
  7579 _ACEOF
       
  7580 cat confdefs.h >>conftest.$ac_ext
       
  7581 cat >>conftest.$ac_ext <<_ACEOF
       
  7582 /* end confdefs.h.  */
       
  7583 $ac_includes_default
       
  7584    typedef long ac__type_sizeof_;
       
  7585 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  7586 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  7587 #include <stdio.h>
       
  7588 #include <stdlib.h>
       
  7589 int
       
  7590 main ()
       
  7591 {
       
  7592 
       
  7593   FILE *f = fopen ("conftest.val", "w");
       
  7594   if (! f)
       
  7595     return 1;
       
  7596   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  7597     {
       
  7598       long int i = longval ();
       
  7599       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  7600 	return 1;
       
  7601       fprintf (f, "%ld\n", i);
       
  7602     }
       
  7603   else
       
  7604     {
       
  7605       unsigned long int i = ulongval ();
       
  7606       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  7607 	return 1;
       
  7608       fprintf (f, "%lu\n", i);
       
  7609     }
       
  7610   return ferror (f) || fclose (f) != 0;
       
  7611 
       
  7612   ;
       
  7613   return 0;
       
  7614 }
       
  7615 _ACEOF
       
  7616 rm -f conftest$ac_exeext
       
  7617 if { (ac_try="$ac_link"
       
  7618 case "(($ac_try" in
       
  7619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7620   *) ac_try_echo=$ac_try;;
       
  7621 esac
       
  7622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7623   (eval "$ac_link") 2>&5
       
  7624   ac_status=$?
       
  7625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7626   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  7627   { (case "(($ac_try" in
       
  7628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7629   *) ac_try_echo=$ac_try;;
       
  7630 esac
       
  7631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7632   (eval "$ac_try") 2>&5
       
  7633   ac_status=$?
       
  7634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7635   (exit $ac_status); }; }; then
       
  7636   ac_cv_sizeof_long=`cat conftest.val`
       
  7637 else
       
  7638   echo "$as_me: program exited with status $ac_status" >&5
       
  7639 echo "$as_me: failed program was:" >&5
       
  7640 sed 's/^/| /' conftest.$ac_ext >&5
       
  7641 
       
  7642 ( exit $ac_status )
       
  7643 if test "$ac_cv_type_long" = yes; then
       
  7644      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
       
  7645 See \`config.log' for more details." >&5
       
  7646 echo "$as_me: error: cannot compute sizeof (long)
       
  7647 See \`config.log' for more details." >&2;}
       
  7648    { (exit 77); exit 77; }; }
       
  7649    else
       
  7650      ac_cv_sizeof_long=0
       
  7651    fi
       
  7652 fi
       
  7653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  7654 fi
       
  7655 rm -f conftest.val
       
  7656 fi
       
  7657 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
       
  7658 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
       
  7659 
       
  7660 
       
  7661 
       
  7662 cat >>confdefs.h <<_ACEOF
       
  7663 #define SIZEOF_LONG $ac_cv_sizeof_long
       
  7664 _ACEOF
       
  7665 
       
  7666 
       
  7667 { echo "$as_me:$LINENO: checking for void *" >&5
       
  7668 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
       
  7669 if test "${ac_cv_type_void_p+set}" = set; then
       
  7670   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7671 else
       
  7672   cat >conftest.$ac_ext <<_ACEOF
       
  7673 /* confdefs.h.  */
       
  7674 _ACEOF
       
  7675 cat confdefs.h >>conftest.$ac_ext
       
  7676 cat >>conftest.$ac_ext <<_ACEOF
       
  7677 /* end confdefs.h.  */
       
  7678 $ac_includes_default
       
  7679 typedef void * ac__type_new_;
       
  7680 int
       
  7681 main ()
       
  7682 {
       
  7683 if ((ac__type_new_ *) 0)
       
  7684   return 0;
       
  7685 if (sizeof (ac__type_new_))
       
  7686   return 0;
       
  7687   ;
       
  7688   return 0;
       
  7689 }
       
  7690 _ACEOF
       
  7691 rm -f conftest.$ac_objext
       
  7692 if { (ac_try="$ac_compile"
       
  7693 case "(($ac_try" in
       
  7694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7695   *) ac_try_echo=$ac_try;;
       
  7696 esac
       
  7697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7698   (eval "$ac_compile") 2>conftest.er1
       
  7699   ac_status=$?
       
  7700   grep -v '^ *+' conftest.er1 >conftest.err
       
  7701   rm -f conftest.er1
       
  7702   cat conftest.err >&5
       
  7703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7704   (exit $ac_status); } && {
       
  7705 	 test -z "$ac_c_werror_flag" ||
       
  7706 	 test ! -s conftest.err
       
  7707        } && test -s conftest.$ac_objext; then
       
  7708   ac_cv_type_void_p=yes
       
  7709 else
       
  7710   echo "$as_me: failed program was:" >&5
       
  7711 sed 's/^/| /' conftest.$ac_ext >&5
       
  7712 
       
  7713 	ac_cv_type_void_p=no
       
  7714 fi
       
  7715 
       
  7716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7717 fi
       
  7718 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
       
  7719 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
       
  7720 
       
  7721 # The cast to long int works around a bug in the HP C Compiler
       
  7722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  7723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  7724 # This bug is HP SR number 8606223364.
       
  7725 { echo "$as_me:$LINENO: checking size of void *" >&5
       
  7726 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
       
  7727 if test "${ac_cv_sizeof_void_p+set}" = set; then
       
  7728   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7729 else
       
  7730   if test "$cross_compiling" = yes; then
       
  7731   # Depending upon the size, compute the lo and hi bounds.
       
  7732 cat >conftest.$ac_ext <<_ACEOF
       
  7733 /* confdefs.h.  */
       
  7734 _ACEOF
       
  7735 cat confdefs.h >>conftest.$ac_ext
       
  7736 cat >>conftest.$ac_ext <<_ACEOF
       
  7737 /* end confdefs.h.  */
       
  7738 $ac_includes_default
       
  7739    typedef void * ac__type_sizeof_;
       
  7740 int
       
  7741 main ()
       
  7742 {
       
  7743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  7744 test_array [0] = 0
       
  7745 
       
  7746   ;
       
  7747   return 0;
       
  7748 }
       
  7749 _ACEOF
       
  7750 rm -f conftest.$ac_objext
       
  7751 if { (ac_try="$ac_compile"
       
  7752 case "(($ac_try" in
       
  7753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7754   *) ac_try_echo=$ac_try;;
       
  7755 esac
       
  7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7757   (eval "$ac_compile") 2>conftest.er1
       
  7758   ac_status=$?
       
  7759   grep -v '^ *+' conftest.er1 >conftest.err
       
  7760   rm -f conftest.er1
       
  7761   cat conftest.err >&5
       
  7762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7763   (exit $ac_status); } && {
       
  7764 	 test -z "$ac_c_werror_flag" ||
       
  7765 	 test ! -s conftest.err
       
  7766        } && test -s conftest.$ac_objext; then
       
  7767   ac_lo=0 ac_mid=0
       
  7768   while :; do
       
  7769     cat >conftest.$ac_ext <<_ACEOF
       
  7770 /* confdefs.h.  */
       
  7771 _ACEOF
       
  7772 cat confdefs.h >>conftest.$ac_ext
       
  7773 cat >>conftest.$ac_ext <<_ACEOF
       
  7774 /* end confdefs.h.  */
       
  7775 $ac_includes_default
       
  7776    typedef void * ac__type_sizeof_;
       
  7777 int
       
  7778 main ()
       
  7779 {
       
  7780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  7781 test_array [0] = 0
       
  7782 
       
  7783   ;
       
  7784   return 0;
       
  7785 }
       
  7786 _ACEOF
       
  7787 rm -f conftest.$ac_objext
       
  7788 if { (ac_try="$ac_compile"
       
  7789 case "(($ac_try" in
       
  7790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7791   *) ac_try_echo=$ac_try;;
       
  7792 esac
       
  7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7794   (eval "$ac_compile") 2>conftest.er1
       
  7795   ac_status=$?
       
  7796   grep -v '^ *+' conftest.er1 >conftest.err
       
  7797   rm -f conftest.er1
       
  7798   cat conftest.err >&5
       
  7799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7800   (exit $ac_status); } && {
       
  7801 	 test -z "$ac_c_werror_flag" ||
       
  7802 	 test ! -s conftest.err
       
  7803        } && test -s conftest.$ac_objext; then
       
  7804   ac_hi=$ac_mid; break
       
  7805 else
       
  7806   echo "$as_me: failed program was:" >&5
       
  7807 sed 's/^/| /' conftest.$ac_ext >&5
       
  7808 
       
  7809 	ac_lo=`expr $ac_mid + 1`
       
  7810 			if test $ac_lo -le $ac_mid; then
       
  7811 			  ac_lo= ac_hi=
       
  7812 			  break
       
  7813 			fi
       
  7814 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  7815 fi
       
  7816 
       
  7817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7818   done
       
  7819 else
       
  7820   echo "$as_me: failed program was:" >&5
       
  7821 sed 's/^/| /' conftest.$ac_ext >&5
       
  7822 
       
  7823 	cat >conftest.$ac_ext <<_ACEOF
       
  7824 /* confdefs.h.  */
       
  7825 _ACEOF
       
  7826 cat confdefs.h >>conftest.$ac_ext
       
  7827 cat >>conftest.$ac_ext <<_ACEOF
       
  7828 /* end confdefs.h.  */
       
  7829 $ac_includes_default
       
  7830    typedef void * ac__type_sizeof_;
       
  7831 int
       
  7832 main ()
       
  7833 {
       
  7834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  7835 test_array [0] = 0
       
  7836 
       
  7837   ;
       
  7838   return 0;
       
  7839 }
       
  7840 _ACEOF
       
  7841 rm -f conftest.$ac_objext
       
  7842 if { (ac_try="$ac_compile"
       
  7843 case "(($ac_try" in
       
  7844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7845   *) ac_try_echo=$ac_try;;
       
  7846 esac
       
  7847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7848   (eval "$ac_compile") 2>conftest.er1
       
  7849   ac_status=$?
       
  7850   grep -v '^ *+' conftest.er1 >conftest.err
       
  7851   rm -f conftest.er1
       
  7852   cat conftest.err >&5
       
  7853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7854   (exit $ac_status); } && {
       
  7855 	 test -z "$ac_c_werror_flag" ||
       
  7856 	 test ! -s conftest.err
       
  7857        } && test -s conftest.$ac_objext; then
       
  7858   ac_hi=-1 ac_mid=-1
       
  7859   while :; do
       
  7860     cat >conftest.$ac_ext <<_ACEOF
       
  7861 /* confdefs.h.  */
       
  7862 _ACEOF
       
  7863 cat confdefs.h >>conftest.$ac_ext
       
  7864 cat >>conftest.$ac_ext <<_ACEOF
       
  7865 /* end confdefs.h.  */
       
  7866 $ac_includes_default
       
  7867    typedef void * ac__type_sizeof_;
       
  7868 int
       
  7869 main ()
       
  7870 {
       
  7871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  7872 test_array [0] = 0
       
  7873 
       
  7874   ;
       
  7875   return 0;
       
  7876 }
       
  7877 _ACEOF
       
  7878 rm -f conftest.$ac_objext
       
  7879 if { (ac_try="$ac_compile"
       
  7880 case "(($ac_try" in
       
  7881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7882   *) ac_try_echo=$ac_try;;
       
  7883 esac
       
  7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7885   (eval "$ac_compile") 2>conftest.er1
       
  7886   ac_status=$?
       
  7887   grep -v '^ *+' conftest.er1 >conftest.err
       
  7888   rm -f conftest.er1
       
  7889   cat conftest.err >&5
       
  7890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7891   (exit $ac_status); } && {
       
  7892 	 test -z "$ac_c_werror_flag" ||
       
  7893 	 test ! -s conftest.err
       
  7894        } && test -s conftest.$ac_objext; then
       
  7895   ac_lo=$ac_mid; break
       
  7896 else
       
  7897   echo "$as_me: failed program was:" >&5
       
  7898 sed 's/^/| /' conftest.$ac_ext >&5
       
  7899 
       
  7900 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  7901 			if test $ac_mid -le $ac_hi; then
       
  7902 			  ac_lo= ac_hi=
       
  7903 			  break
       
  7904 			fi
       
  7905 			ac_mid=`expr 2 '*' $ac_mid`
       
  7906 fi
       
  7907 
       
  7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7909   done
       
  7910 else
       
  7911   echo "$as_me: failed program was:" >&5
       
  7912 sed 's/^/| /' conftest.$ac_ext >&5
       
  7913 
       
  7914 	ac_lo= ac_hi=
       
  7915 fi
       
  7916 
       
  7917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7918 fi
       
  7919 
       
  7920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7921 # Binary search between lo and hi bounds.
       
  7922 while test "x$ac_lo" != "x$ac_hi"; do
       
  7923   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  7924   cat >conftest.$ac_ext <<_ACEOF
       
  7925 /* confdefs.h.  */
       
  7926 _ACEOF
       
  7927 cat confdefs.h >>conftest.$ac_ext
       
  7928 cat >>conftest.$ac_ext <<_ACEOF
       
  7929 /* end confdefs.h.  */
       
  7930 $ac_includes_default
       
  7931    typedef void * ac__type_sizeof_;
       
  7932 int
       
  7933 main ()
       
  7934 {
       
  7935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  7936 test_array [0] = 0
       
  7937 
       
  7938   ;
       
  7939   return 0;
       
  7940 }
       
  7941 _ACEOF
       
  7942 rm -f conftest.$ac_objext
       
  7943 if { (ac_try="$ac_compile"
       
  7944 case "(($ac_try" in
       
  7945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  7946   *) ac_try_echo=$ac_try;;
       
  7947 esac
       
  7948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  7949   (eval "$ac_compile") 2>conftest.er1
       
  7950   ac_status=$?
       
  7951   grep -v '^ *+' conftest.er1 >conftest.err
       
  7952   rm -f conftest.er1
       
  7953   cat conftest.err >&5
       
  7954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  7955   (exit $ac_status); } && {
       
  7956 	 test -z "$ac_c_werror_flag" ||
       
  7957 	 test ! -s conftest.err
       
  7958        } && test -s conftest.$ac_objext; then
       
  7959   ac_hi=$ac_mid
       
  7960 else
       
  7961   echo "$as_me: failed program was:" >&5
       
  7962 sed 's/^/| /' conftest.$ac_ext >&5
       
  7963 
       
  7964 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  7965 fi
       
  7966 
       
  7967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  7968 done
       
  7969 case $ac_lo in
       
  7970 ?*) ac_cv_sizeof_void_p=$ac_lo;;
       
  7971 '') if test "$ac_cv_type_void_p" = yes; then
       
  7972      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
       
  7973 See \`config.log' for more details." >&5
       
  7974 echo "$as_me: error: cannot compute sizeof (void *)
       
  7975 See \`config.log' for more details." >&2;}
       
  7976    { (exit 77); exit 77; }; }
       
  7977    else
       
  7978      ac_cv_sizeof_void_p=0
       
  7979    fi ;;
       
  7980 esac
       
  7981 else
       
  7982   cat >conftest.$ac_ext <<_ACEOF
       
  7983 /* confdefs.h.  */
       
  7984 _ACEOF
       
  7985 cat confdefs.h >>conftest.$ac_ext
       
  7986 cat >>conftest.$ac_ext <<_ACEOF
       
  7987 /* end confdefs.h.  */
       
  7988 $ac_includes_default
       
  7989    typedef void * ac__type_sizeof_;
       
  7990 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  7991 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  7992 #include <stdio.h>
       
  7993 #include <stdlib.h>
       
  7994 int
       
  7995 main ()
       
  7996 {
       
  7997 
       
  7998   FILE *f = fopen ("conftest.val", "w");
       
  7999   if (! f)
       
  8000     return 1;
       
  8001   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  8002     {
       
  8003       long int i = longval ();
       
  8004       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  8005 	return 1;
       
  8006       fprintf (f, "%ld\n", i);
       
  8007     }
       
  8008   else
       
  8009     {
       
  8010       unsigned long int i = ulongval ();
       
  8011       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  8012 	return 1;
       
  8013       fprintf (f, "%lu\n", i);
       
  8014     }
       
  8015   return ferror (f) || fclose (f) != 0;
       
  8016 
       
  8017   ;
       
  8018   return 0;
       
  8019 }
       
  8020 _ACEOF
       
  8021 rm -f conftest$ac_exeext
       
  8022 if { (ac_try="$ac_link"
       
  8023 case "(($ac_try" in
       
  8024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8025   *) ac_try_echo=$ac_try;;
       
  8026 esac
       
  8027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8028   (eval "$ac_link") 2>&5
       
  8029   ac_status=$?
       
  8030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8031   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  8032   { (case "(($ac_try" in
       
  8033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8034   *) ac_try_echo=$ac_try;;
       
  8035 esac
       
  8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8037   (eval "$ac_try") 2>&5
       
  8038   ac_status=$?
       
  8039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8040   (exit $ac_status); }; }; then
       
  8041   ac_cv_sizeof_void_p=`cat conftest.val`
       
  8042 else
       
  8043   echo "$as_me: program exited with status $ac_status" >&5
       
  8044 echo "$as_me: failed program was:" >&5
       
  8045 sed 's/^/| /' conftest.$ac_ext >&5
       
  8046 
       
  8047 ( exit $ac_status )
       
  8048 if test "$ac_cv_type_void_p" = yes; then
       
  8049      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
       
  8050 See \`config.log' for more details." >&5
       
  8051 echo "$as_me: error: cannot compute sizeof (void *)
       
  8052 See \`config.log' for more details." >&2;}
       
  8053    { (exit 77); exit 77; }; }
       
  8054    else
       
  8055      ac_cv_sizeof_void_p=0
       
  8056    fi
       
  8057 fi
       
  8058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  8059 fi
       
  8060 rm -f conftest.val
       
  8061 fi
       
  8062 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
       
  8063 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
       
  8064 
       
  8065 
       
  8066 
       
  8067 cat >>confdefs.h <<_ACEOF
       
  8068 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
       
  8069 _ACEOF
       
  8070 
       
  8071 
       
  8072 { echo "$as_me:$LINENO: checking for short" >&5
       
  8073 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
       
  8074 if test "${ac_cv_type_short+set}" = set; then
       
  8075   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  8076 else
       
  8077   cat >conftest.$ac_ext <<_ACEOF
       
  8078 /* confdefs.h.  */
       
  8079 _ACEOF
       
  8080 cat confdefs.h >>conftest.$ac_ext
       
  8081 cat >>conftest.$ac_ext <<_ACEOF
       
  8082 /* end confdefs.h.  */
       
  8083 $ac_includes_default
       
  8084 typedef short ac__type_new_;
       
  8085 int
       
  8086 main ()
       
  8087 {
       
  8088 if ((ac__type_new_ *) 0)
       
  8089   return 0;
       
  8090 if (sizeof (ac__type_new_))
       
  8091   return 0;
       
  8092   ;
       
  8093   return 0;
       
  8094 }
       
  8095 _ACEOF
       
  8096 rm -f conftest.$ac_objext
       
  8097 if { (ac_try="$ac_compile"
       
  8098 case "(($ac_try" in
       
  8099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8100   *) ac_try_echo=$ac_try;;
       
  8101 esac
       
  8102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8103   (eval "$ac_compile") 2>conftest.er1
       
  8104   ac_status=$?
       
  8105   grep -v '^ *+' conftest.er1 >conftest.err
       
  8106   rm -f conftest.er1
       
  8107   cat conftest.err >&5
       
  8108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8109   (exit $ac_status); } && {
       
  8110 	 test -z "$ac_c_werror_flag" ||
       
  8111 	 test ! -s conftest.err
       
  8112        } && test -s conftest.$ac_objext; then
       
  8113   ac_cv_type_short=yes
       
  8114 else
       
  8115   echo "$as_me: failed program was:" >&5
       
  8116 sed 's/^/| /' conftest.$ac_ext >&5
       
  8117 
       
  8118 	ac_cv_type_short=no
       
  8119 fi
       
  8120 
       
  8121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8122 fi
       
  8123 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
       
  8124 echo "${ECHO_T}$ac_cv_type_short" >&6; }
       
  8125 
       
  8126 # The cast to long int works around a bug in the HP C Compiler
       
  8127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  8128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  8129 # This bug is HP SR number 8606223364.
       
  8130 { echo "$as_me:$LINENO: checking size of short" >&5
       
  8131 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
       
  8132 if test "${ac_cv_sizeof_short+set}" = set; then
       
  8133   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  8134 else
       
  8135   if test "$cross_compiling" = yes; then
       
  8136   # Depending upon the size, compute the lo and hi bounds.
       
  8137 cat >conftest.$ac_ext <<_ACEOF
       
  8138 /* confdefs.h.  */
       
  8139 _ACEOF
       
  8140 cat confdefs.h >>conftest.$ac_ext
       
  8141 cat >>conftest.$ac_ext <<_ACEOF
       
  8142 /* end confdefs.h.  */
       
  8143 $ac_includes_default
       
  8144    typedef short ac__type_sizeof_;
       
  8145 int
       
  8146 main ()
       
  8147 {
       
  8148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  8149 test_array [0] = 0
       
  8150 
       
  8151   ;
       
  8152   return 0;
       
  8153 }
       
  8154 _ACEOF
       
  8155 rm -f conftest.$ac_objext
       
  8156 if { (ac_try="$ac_compile"
       
  8157 case "(($ac_try" in
       
  8158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8159   *) ac_try_echo=$ac_try;;
       
  8160 esac
       
  8161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8162   (eval "$ac_compile") 2>conftest.er1
       
  8163   ac_status=$?
       
  8164   grep -v '^ *+' conftest.er1 >conftest.err
       
  8165   rm -f conftest.er1
       
  8166   cat conftest.err >&5
       
  8167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8168   (exit $ac_status); } && {
       
  8169 	 test -z "$ac_c_werror_flag" ||
       
  8170 	 test ! -s conftest.err
       
  8171        } && test -s conftest.$ac_objext; then
       
  8172   ac_lo=0 ac_mid=0
       
  8173   while :; do
       
  8174     cat >conftest.$ac_ext <<_ACEOF
       
  8175 /* confdefs.h.  */
       
  8176 _ACEOF
       
  8177 cat confdefs.h >>conftest.$ac_ext
       
  8178 cat >>conftest.$ac_ext <<_ACEOF
       
  8179 /* end confdefs.h.  */
       
  8180 $ac_includes_default
       
  8181    typedef short ac__type_sizeof_;
       
  8182 int
       
  8183 main ()
       
  8184 {
       
  8185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  8186 test_array [0] = 0
       
  8187 
       
  8188   ;
       
  8189   return 0;
       
  8190 }
       
  8191 _ACEOF
       
  8192 rm -f conftest.$ac_objext
       
  8193 if { (ac_try="$ac_compile"
       
  8194 case "(($ac_try" in
       
  8195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8196   *) ac_try_echo=$ac_try;;
       
  8197 esac
       
  8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8199   (eval "$ac_compile") 2>conftest.er1
       
  8200   ac_status=$?
       
  8201   grep -v '^ *+' conftest.er1 >conftest.err
       
  8202   rm -f conftest.er1
       
  8203   cat conftest.err >&5
       
  8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8205   (exit $ac_status); } && {
       
  8206 	 test -z "$ac_c_werror_flag" ||
       
  8207 	 test ! -s conftest.err
       
  8208        } && test -s conftest.$ac_objext; then
       
  8209   ac_hi=$ac_mid; break
       
  8210 else
       
  8211   echo "$as_me: failed program was:" >&5
       
  8212 sed 's/^/| /' conftest.$ac_ext >&5
       
  8213 
       
  8214 	ac_lo=`expr $ac_mid + 1`
       
  8215 			if test $ac_lo -le $ac_mid; then
       
  8216 			  ac_lo= ac_hi=
       
  8217 			  break
       
  8218 			fi
       
  8219 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  8220 fi
       
  8221 
       
  8222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8223   done
       
  8224 else
       
  8225   echo "$as_me: failed program was:" >&5
       
  8226 sed 's/^/| /' conftest.$ac_ext >&5
       
  8227 
       
  8228 	cat >conftest.$ac_ext <<_ACEOF
       
  8229 /* confdefs.h.  */
       
  8230 _ACEOF
       
  8231 cat confdefs.h >>conftest.$ac_ext
       
  8232 cat >>conftest.$ac_ext <<_ACEOF
       
  8233 /* end confdefs.h.  */
       
  8234 $ac_includes_default
       
  8235    typedef short ac__type_sizeof_;
       
  8236 int
       
  8237 main ()
       
  8238 {
       
  8239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  8240 test_array [0] = 0
       
  8241 
       
  8242   ;
       
  8243   return 0;
       
  8244 }
       
  8245 _ACEOF
       
  8246 rm -f conftest.$ac_objext
       
  8247 if { (ac_try="$ac_compile"
       
  8248 case "(($ac_try" in
       
  8249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8250   *) ac_try_echo=$ac_try;;
       
  8251 esac
       
  8252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8253   (eval "$ac_compile") 2>conftest.er1
       
  8254   ac_status=$?
       
  8255   grep -v '^ *+' conftest.er1 >conftest.err
       
  8256   rm -f conftest.er1
       
  8257   cat conftest.err >&5
       
  8258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8259   (exit $ac_status); } && {
       
  8260 	 test -z "$ac_c_werror_flag" ||
       
  8261 	 test ! -s conftest.err
       
  8262        } && test -s conftest.$ac_objext; then
       
  8263   ac_hi=-1 ac_mid=-1
       
  8264   while :; do
       
  8265     cat >conftest.$ac_ext <<_ACEOF
       
  8266 /* confdefs.h.  */
       
  8267 _ACEOF
       
  8268 cat confdefs.h >>conftest.$ac_ext
       
  8269 cat >>conftest.$ac_ext <<_ACEOF
       
  8270 /* end confdefs.h.  */
       
  8271 $ac_includes_default
       
  8272    typedef short ac__type_sizeof_;
       
  8273 int
       
  8274 main ()
       
  8275 {
       
  8276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  8277 test_array [0] = 0
       
  8278 
       
  8279   ;
       
  8280   return 0;
       
  8281 }
       
  8282 _ACEOF
       
  8283 rm -f conftest.$ac_objext
       
  8284 if { (ac_try="$ac_compile"
       
  8285 case "(($ac_try" in
       
  8286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8287   *) ac_try_echo=$ac_try;;
       
  8288 esac
       
  8289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8290   (eval "$ac_compile") 2>conftest.er1
       
  8291   ac_status=$?
       
  8292   grep -v '^ *+' conftest.er1 >conftest.err
       
  8293   rm -f conftest.er1
       
  8294   cat conftest.err >&5
       
  8295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8296   (exit $ac_status); } && {
       
  8297 	 test -z "$ac_c_werror_flag" ||
       
  8298 	 test ! -s conftest.err
       
  8299        } && test -s conftest.$ac_objext; then
       
  8300   ac_lo=$ac_mid; break
       
  8301 else
       
  8302   echo "$as_me: failed program was:" >&5
       
  8303 sed 's/^/| /' conftest.$ac_ext >&5
       
  8304 
       
  8305 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  8306 			if test $ac_mid -le $ac_hi; then
       
  8307 			  ac_lo= ac_hi=
       
  8308 			  break
       
  8309 			fi
       
  8310 			ac_mid=`expr 2 '*' $ac_mid`
       
  8311 fi
       
  8312 
       
  8313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8314   done
       
  8315 else
       
  8316   echo "$as_me: failed program was:" >&5
       
  8317 sed 's/^/| /' conftest.$ac_ext >&5
       
  8318 
       
  8319 	ac_lo= ac_hi=
       
  8320 fi
       
  8321 
       
  8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8323 fi
       
  8324 
       
  8325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8326 # Binary search between lo and hi bounds.
       
  8327 while test "x$ac_lo" != "x$ac_hi"; do
       
  8328   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  8329   cat >conftest.$ac_ext <<_ACEOF
       
  8330 /* confdefs.h.  */
       
  8331 _ACEOF
       
  8332 cat confdefs.h >>conftest.$ac_ext
       
  8333 cat >>conftest.$ac_ext <<_ACEOF
       
  8334 /* end confdefs.h.  */
       
  8335 $ac_includes_default
       
  8336    typedef short ac__type_sizeof_;
       
  8337 int
       
  8338 main ()
       
  8339 {
       
  8340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  8341 test_array [0] = 0
       
  8342 
       
  8343   ;
       
  8344   return 0;
       
  8345 }
       
  8346 _ACEOF
       
  8347 rm -f conftest.$ac_objext
       
  8348 if { (ac_try="$ac_compile"
       
  8349 case "(($ac_try" in
       
  8350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8351   *) ac_try_echo=$ac_try;;
       
  8352 esac
       
  8353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8354   (eval "$ac_compile") 2>conftest.er1
       
  8355   ac_status=$?
       
  8356   grep -v '^ *+' conftest.er1 >conftest.err
       
  8357   rm -f conftest.er1
       
  8358   cat conftest.err >&5
       
  8359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8360   (exit $ac_status); } && {
       
  8361 	 test -z "$ac_c_werror_flag" ||
       
  8362 	 test ! -s conftest.err
       
  8363        } && test -s conftest.$ac_objext; then
       
  8364   ac_hi=$ac_mid
       
  8365 else
       
  8366   echo "$as_me: failed program was:" >&5
       
  8367 sed 's/^/| /' conftest.$ac_ext >&5
       
  8368 
       
  8369 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  8370 fi
       
  8371 
       
  8372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8373 done
       
  8374 case $ac_lo in
       
  8375 ?*) ac_cv_sizeof_short=$ac_lo;;
       
  8376 '') if test "$ac_cv_type_short" = yes; then
       
  8377      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
       
  8378 See \`config.log' for more details." >&5
       
  8379 echo "$as_me: error: cannot compute sizeof (short)
       
  8380 See \`config.log' for more details." >&2;}
       
  8381    { (exit 77); exit 77; }; }
       
  8382    else
       
  8383      ac_cv_sizeof_short=0
       
  8384    fi ;;
       
  8385 esac
       
  8386 else
       
  8387   cat >conftest.$ac_ext <<_ACEOF
       
  8388 /* confdefs.h.  */
       
  8389 _ACEOF
       
  8390 cat confdefs.h >>conftest.$ac_ext
       
  8391 cat >>conftest.$ac_ext <<_ACEOF
       
  8392 /* end confdefs.h.  */
       
  8393 $ac_includes_default
       
  8394    typedef short ac__type_sizeof_;
       
  8395 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  8396 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  8397 #include <stdio.h>
       
  8398 #include <stdlib.h>
       
  8399 int
       
  8400 main ()
       
  8401 {
       
  8402 
       
  8403   FILE *f = fopen ("conftest.val", "w");
       
  8404   if (! f)
       
  8405     return 1;
       
  8406   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  8407     {
       
  8408       long int i = longval ();
       
  8409       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  8410 	return 1;
       
  8411       fprintf (f, "%ld\n", i);
       
  8412     }
       
  8413   else
       
  8414     {
       
  8415       unsigned long int i = ulongval ();
       
  8416       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  8417 	return 1;
       
  8418       fprintf (f, "%lu\n", i);
       
  8419     }
       
  8420   return ferror (f) || fclose (f) != 0;
       
  8421 
       
  8422   ;
       
  8423   return 0;
       
  8424 }
       
  8425 _ACEOF
       
  8426 rm -f conftest$ac_exeext
       
  8427 if { (ac_try="$ac_link"
       
  8428 case "(($ac_try" in
       
  8429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8430   *) ac_try_echo=$ac_try;;
       
  8431 esac
       
  8432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8433   (eval "$ac_link") 2>&5
       
  8434   ac_status=$?
       
  8435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8436   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  8437   { (case "(($ac_try" in
       
  8438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8439   *) ac_try_echo=$ac_try;;
       
  8440 esac
       
  8441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8442   (eval "$ac_try") 2>&5
       
  8443   ac_status=$?
       
  8444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8445   (exit $ac_status); }; }; then
       
  8446   ac_cv_sizeof_short=`cat conftest.val`
       
  8447 else
       
  8448   echo "$as_me: program exited with status $ac_status" >&5
       
  8449 echo "$as_me: failed program was:" >&5
       
  8450 sed 's/^/| /' conftest.$ac_ext >&5
       
  8451 
       
  8452 ( exit $ac_status )
       
  8453 if test "$ac_cv_type_short" = yes; then
       
  8454      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
       
  8455 See \`config.log' for more details." >&5
       
  8456 echo "$as_me: error: cannot compute sizeof (short)
       
  8457 See \`config.log' for more details." >&2;}
       
  8458    { (exit 77); exit 77; }; }
       
  8459    else
       
  8460      ac_cv_sizeof_short=0
       
  8461    fi
       
  8462 fi
       
  8463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  8464 fi
       
  8465 rm -f conftest.val
       
  8466 fi
       
  8467 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
       
  8468 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
       
  8469 
       
  8470 
       
  8471 
       
  8472 cat >>confdefs.h <<_ACEOF
       
  8473 #define SIZEOF_SHORT $ac_cv_sizeof_short
       
  8474 _ACEOF
       
  8475 
       
  8476 
       
  8477 { echo "$as_me:$LINENO: checking for float" >&5
       
  8478 echo $ECHO_N "checking for float... $ECHO_C" >&6; }
       
  8479 if test "${ac_cv_type_float+set}" = set; then
       
  8480   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  8481 else
       
  8482   cat >conftest.$ac_ext <<_ACEOF
       
  8483 /* confdefs.h.  */
       
  8484 _ACEOF
       
  8485 cat confdefs.h >>conftest.$ac_ext
       
  8486 cat >>conftest.$ac_ext <<_ACEOF
       
  8487 /* end confdefs.h.  */
       
  8488 $ac_includes_default
       
  8489 typedef float ac__type_new_;
       
  8490 int
       
  8491 main ()
       
  8492 {
       
  8493 if ((ac__type_new_ *) 0)
       
  8494   return 0;
       
  8495 if (sizeof (ac__type_new_))
       
  8496   return 0;
       
  8497   ;
       
  8498   return 0;
       
  8499 }
       
  8500 _ACEOF
       
  8501 rm -f conftest.$ac_objext
       
  8502 if { (ac_try="$ac_compile"
       
  8503 case "(($ac_try" in
       
  8504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8505   *) ac_try_echo=$ac_try;;
       
  8506 esac
       
  8507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8508   (eval "$ac_compile") 2>conftest.er1
       
  8509   ac_status=$?
       
  8510   grep -v '^ *+' conftest.er1 >conftest.err
       
  8511   rm -f conftest.er1
       
  8512   cat conftest.err >&5
       
  8513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8514   (exit $ac_status); } && {
       
  8515 	 test -z "$ac_c_werror_flag" ||
       
  8516 	 test ! -s conftest.err
       
  8517        } && test -s conftest.$ac_objext; then
       
  8518   ac_cv_type_float=yes
       
  8519 else
       
  8520   echo "$as_me: failed program was:" >&5
       
  8521 sed 's/^/| /' conftest.$ac_ext >&5
       
  8522 
       
  8523 	ac_cv_type_float=no
       
  8524 fi
       
  8525 
       
  8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8527 fi
       
  8528 { echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
       
  8529 echo "${ECHO_T}$ac_cv_type_float" >&6; }
       
  8530 
       
  8531 # The cast to long int works around a bug in the HP C Compiler
       
  8532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  8533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  8534 # This bug is HP SR number 8606223364.
       
  8535 { echo "$as_me:$LINENO: checking size of float" >&5
       
  8536 echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
       
  8537 if test "${ac_cv_sizeof_float+set}" = set; then
       
  8538   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  8539 else
       
  8540   if test "$cross_compiling" = yes; then
       
  8541   # Depending upon the size, compute the lo and hi bounds.
       
  8542 cat >conftest.$ac_ext <<_ACEOF
       
  8543 /* confdefs.h.  */
       
  8544 _ACEOF
       
  8545 cat confdefs.h >>conftest.$ac_ext
       
  8546 cat >>conftest.$ac_ext <<_ACEOF
       
  8547 /* end confdefs.h.  */
       
  8548 $ac_includes_default
       
  8549    typedef float ac__type_sizeof_;
       
  8550 int
       
  8551 main ()
       
  8552 {
       
  8553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  8554 test_array [0] = 0
       
  8555 
       
  8556   ;
       
  8557   return 0;
       
  8558 }
       
  8559 _ACEOF
       
  8560 rm -f conftest.$ac_objext
       
  8561 if { (ac_try="$ac_compile"
       
  8562 case "(($ac_try" in
       
  8563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8564   *) ac_try_echo=$ac_try;;
       
  8565 esac
       
  8566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8567   (eval "$ac_compile") 2>conftest.er1
       
  8568   ac_status=$?
       
  8569   grep -v '^ *+' conftest.er1 >conftest.err
       
  8570   rm -f conftest.er1
       
  8571   cat conftest.err >&5
       
  8572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8573   (exit $ac_status); } && {
       
  8574 	 test -z "$ac_c_werror_flag" ||
       
  8575 	 test ! -s conftest.err
       
  8576        } && test -s conftest.$ac_objext; then
       
  8577   ac_lo=0 ac_mid=0
       
  8578   while :; do
       
  8579     cat >conftest.$ac_ext <<_ACEOF
       
  8580 /* confdefs.h.  */
       
  8581 _ACEOF
       
  8582 cat confdefs.h >>conftest.$ac_ext
       
  8583 cat >>conftest.$ac_ext <<_ACEOF
       
  8584 /* end confdefs.h.  */
       
  8585 $ac_includes_default
       
  8586    typedef float ac__type_sizeof_;
       
  8587 int
       
  8588 main ()
       
  8589 {
       
  8590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  8591 test_array [0] = 0
       
  8592 
       
  8593   ;
       
  8594   return 0;
       
  8595 }
       
  8596 _ACEOF
       
  8597 rm -f conftest.$ac_objext
       
  8598 if { (ac_try="$ac_compile"
       
  8599 case "(($ac_try" in
       
  8600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8601   *) ac_try_echo=$ac_try;;
       
  8602 esac
       
  8603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8604   (eval "$ac_compile") 2>conftest.er1
       
  8605   ac_status=$?
       
  8606   grep -v '^ *+' conftest.er1 >conftest.err
       
  8607   rm -f conftest.er1
       
  8608   cat conftest.err >&5
       
  8609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8610   (exit $ac_status); } && {
       
  8611 	 test -z "$ac_c_werror_flag" ||
       
  8612 	 test ! -s conftest.err
       
  8613        } && test -s conftest.$ac_objext; then
       
  8614   ac_hi=$ac_mid; break
       
  8615 else
       
  8616   echo "$as_me: failed program was:" >&5
       
  8617 sed 's/^/| /' conftest.$ac_ext >&5
       
  8618 
       
  8619 	ac_lo=`expr $ac_mid + 1`
       
  8620 			if test $ac_lo -le $ac_mid; then
       
  8621 			  ac_lo= ac_hi=
       
  8622 			  break
       
  8623 			fi
       
  8624 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  8625 fi
       
  8626 
       
  8627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8628   done
       
  8629 else
       
  8630   echo "$as_me: failed program was:" >&5
       
  8631 sed 's/^/| /' conftest.$ac_ext >&5
       
  8632 
       
  8633 	cat >conftest.$ac_ext <<_ACEOF
       
  8634 /* confdefs.h.  */
       
  8635 _ACEOF
       
  8636 cat confdefs.h >>conftest.$ac_ext
       
  8637 cat >>conftest.$ac_ext <<_ACEOF
       
  8638 /* end confdefs.h.  */
       
  8639 $ac_includes_default
       
  8640    typedef float ac__type_sizeof_;
       
  8641 int
       
  8642 main ()
       
  8643 {
       
  8644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  8645 test_array [0] = 0
       
  8646 
       
  8647   ;
       
  8648   return 0;
       
  8649 }
       
  8650 _ACEOF
       
  8651 rm -f conftest.$ac_objext
       
  8652 if { (ac_try="$ac_compile"
       
  8653 case "(($ac_try" in
       
  8654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8655   *) ac_try_echo=$ac_try;;
       
  8656 esac
       
  8657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8658   (eval "$ac_compile") 2>conftest.er1
       
  8659   ac_status=$?
       
  8660   grep -v '^ *+' conftest.er1 >conftest.err
       
  8661   rm -f conftest.er1
       
  8662   cat conftest.err >&5
       
  8663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8664   (exit $ac_status); } && {
       
  8665 	 test -z "$ac_c_werror_flag" ||
       
  8666 	 test ! -s conftest.err
       
  8667        } && test -s conftest.$ac_objext; then
       
  8668   ac_hi=-1 ac_mid=-1
       
  8669   while :; do
       
  8670     cat >conftest.$ac_ext <<_ACEOF
       
  8671 /* confdefs.h.  */
       
  8672 _ACEOF
       
  8673 cat confdefs.h >>conftest.$ac_ext
       
  8674 cat >>conftest.$ac_ext <<_ACEOF
       
  8675 /* end confdefs.h.  */
       
  8676 $ac_includes_default
       
  8677    typedef float ac__type_sizeof_;
       
  8678 int
       
  8679 main ()
       
  8680 {
       
  8681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  8682 test_array [0] = 0
       
  8683 
       
  8684   ;
       
  8685   return 0;
       
  8686 }
       
  8687 _ACEOF
       
  8688 rm -f conftest.$ac_objext
       
  8689 if { (ac_try="$ac_compile"
       
  8690 case "(($ac_try" in
       
  8691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8692   *) ac_try_echo=$ac_try;;
       
  8693 esac
       
  8694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8695   (eval "$ac_compile") 2>conftest.er1
       
  8696   ac_status=$?
       
  8697   grep -v '^ *+' conftest.er1 >conftest.err
       
  8698   rm -f conftest.er1
       
  8699   cat conftest.err >&5
       
  8700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8701   (exit $ac_status); } && {
       
  8702 	 test -z "$ac_c_werror_flag" ||
       
  8703 	 test ! -s conftest.err
       
  8704        } && test -s conftest.$ac_objext; then
       
  8705   ac_lo=$ac_mid; break
       
  8706 else
       
  8707   echo "$as_me: failed program was:" >&5
       
  8708 sed 's/^/| /' conftest.$ac_ext >&5
       
  8709 
       
  8710 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  8711 			if test $ac_mid -le $ac_hi; then
       
  8712 			  ac_lo= ac_hi=
       
  8713 			  break
       
  8714 			fi
       
  8715 			ac_mid=`expr 2 '*' $ac_mid`
       
  8716 fi
       
  8717 
       
  8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8719   done
       
  8720 else
       
  8721   echo "$as_me: failed program was:" >&5
       
  8722 sed 's/^/| /' conftest.$ac_ext >&5
       
  8723 
       
  8724 	ac_lo= ac_hi=
       
  8725 fi
       
  8726 
       
  8727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8728 fi
       
  8729 
       
  8730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8731 # Binary search between lo and hi bounds.
       
  8732 while test "x$ac_lo" != "x$ac_hi"; do
       
  8733   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  8734   cat >conftest.$ac_ext <<_ACEOF
       
  8735 /* confdefs.h.  */
       
  8736 _ACEOF
       
  8737 cat confdefs.h >>conftest.$ac_ext
       
  8738 cat >>conftest.$ac_ext <<_ACEOF
       
  8739 /* end confdefs.h.  */
       
  8740 $ac_includes_default
       
  8741    typedef float ac__type_sizeof_;
       
  8742 int
       
  8743 main ()
       
  8744 {
       
  8745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  8746 test_array [0] = 0
       
  8747 
       
  8748   ;
       
  8749   return 0;
       
  8750 }
       
  8751 _ACEOF
       
  8752 rm -f conftest.$ac_objext
       
  8753 if { (ac_try="$ac_compile"
       
  8754 case "(($ac_try" in
       
  8755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8756   *) ac_try_echo=$ac_try;;
       
  8757 esac
       
  8758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8759   (eval "$ac_compile") 2>conftest.er1
       
  8760   ac_status=$?
       
  8761   grep -v '^ *+' conftest.er1 >conftest.err
       
  8762   rm -f conftest.er1
       
  8763   cat conftest.err >&5
       
  8764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8765   (exit $ac_status); } && {
       
  8766 	 test -z "$ac_c_werror_flag" ||
       
  8767 	 test ! -s conftest.err
       
  8768        } && test -s conftest.$ac_objext; then
       
  8769   ac_hi=$ac_mid
       
  8770 else
       
  8771   echo "$as_me: failed program was:" >&5
       
  8772 sed 's/^/| /' conftest.$ac_ext >&5
       
  8773 
       
  8774 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  8775 fi
       
  8776 
       
  8777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8778 done
       
  8779 case $ac_lo in
       
  8780 ?*) ac_cv_sizeof_float=$ac_lo;;
       
  8781 '') if test "$ac_cv_type_float" = yes; then
       
  8782      { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
       
  8783 See \`config.log' for more details." >&5
       
  8784 echo "$as_me: error: cannot compute sizeof (float)
       
  8785 See \`config.log' for more details." >&2;}
       
  8786    { (exit 77); exit 77; }; }
       
  8787    else
       
  8788      ac_cv_sizeof_float=0
       
  8789    fi ;;
       
  8790 esac
       
  8791 else
       
  8792   cat >conftest.$ac_ext <<_ACEOF
       
  8793 /* confdefs.h.  */
       
  8794 _ACEOF
       
  8795 cat confdefs.h >>conftest.$ac_ext
       
  8796 cat >>conftest.$ac_ext <<_ACEOF
       
  8797 /* end confdefs.h.  */
       
  8798 $ac_includes_default
       
  8799    typedef float ac__type_sizeof_;
       
  8800 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  8801 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  8802 #include <stdio.h>
       
  8803 #include <stdlib.h>
       
  8804 int
       
  8805 main ()
       
  8806 {
       
  8807 
       
  8808   FILE *f = fopen ("conftest.val", "w");
       
  8809   if (! f)
       
  8810     return 1;
       
  8811   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  8812     {
       
  8813       long int i = longval ();
       
  8814       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  8815 	return 1;
       
  8816       fprintf (f, "%ld\n", i);
       
  8817     }
       
  8818   else
       
  8819     {
       
  8820       unsigned long int i = ulongval ();
       
  8821       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  8822 	return 1;
       
  8823       fprintf (f, "%lu\n", i);
       
  8824     }
       
  8825   return ferror (f) || fclose (f) != 0;
       
  8826 
       
  8827   ;
       
  8828   return 0;
       
  8829 }
       
  8830 _ACEOF
       
  8831 rm -f conftest$ac_exeext
       
  8832 if { (ac_try="$ac_link"
       
  8833 case "(($ac_try" in
       
  8834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8835   *) ac_try_echo=$ac_try;;
       
  8836 esac
       
  8837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8838   (eval "$ac_link") 2>&5
       
  8839   ac_status=$?
       
  8840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8841   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  8842   { (case "(($ac_try" in
       
  8843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8844   *) ac_try_echo=$ac_try;;
       
  8845 esac
       
  8846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8847   (eval "$ac_try") 2>&5
       
  8848   ac_status=$?
       
  8849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8850   (exit $ac_status); }; }; then
       
  8851   ac_cv_sizeof_float=`cat conftest.val`
       
  8852 else
       
  8853   echo "$as_me: program exited with status $ac_status" >&5
       
  8854 echo "$as_me: failed program was:" >&5
       
  8855 sed 's/^/| /' conftest.$ac_ext >&5
       
  8856 
       
  8857 ( exit $ac_status )
       
  8858 if test "$ac_cv_type_float" = yes; then
       
  8859      { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
       
  8860 See \`config.log' for more details." >&5
       
  8861 echo "$as_me: error: cannot compute sizeof (float)
       
  8862 See \`config.log' for more details." >&2;}
       
  8863    { (exit 77); exit 77; }; }
       
  8864    else
       
  8865      ac_cv_sizeof_float=0
       
  8866    fi
       
  8867 fi
       
  8868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  8869 fi
       
  8870 rm -f conftest.val
       
  8871 fi
       
  8872 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
       
  8873 echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
       
  8874 
       
  8875 
       
  8876 
       
  8877 cat >>confdefs.h <<_ACEOF
       
  8878 #define SIZEOF_FLOAT $ac_cv_sizeof_float
       
  8879 _ACEOF
       
  8880 
       
  8881 
       
  8882 { echo "$as_me:$LINENO: checking for double" >&5
       
  8883 echo $ECHO_N "checking for double... $ECHO_C" >&6; }
       
  8884 if test "${ac_cv_type_double+set}" = set; then
       
  8885   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  8886 else
       
  8887   cat >conftest.$ac_ext <<_ACEOF
       
  8888 /* confdefs.h.  */
       
  8889 _ACEOF
       
  8890 cat confdefs.h >>conftest.$ac_ext
       
  8891 cat >>conftest.$ac_ext <<_ACEOF
       
  8892 /* end confdefs.h.  */
       
  8893 $ac_includes_default
       
  8894 typedef double ac__type_new_;
       
  8895 int
       
  8896 main ()
       
  8897 {
       
  8898 if ((ac__type_new_ *) 0)
       
  8899   return 0;
       
  8900 if (sizeof (ac__type_new_))
       
  8901   return 0;
       
  8902   ;
       
  8903   return 0;
       
  8904 }
       
  8905 _ACEOF
       
  8906 rm -f conftest.$ac_objext
       
  8907 if { (ac_try="$ac_compile"
       
  8908 case "(($ac_try" in
       
  8909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8910   *) ac_try_echo=$ac_try;;
       
  8911 esac
       
  8912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8913   (eval "$ac_compile") 2>conftest.er1
       
  8914   ac_status=$?
       
  8915   grep -v '^ *+' conftest.er1 >conftest.err
       
  8916   rm -f conftest.er1
       
  8917   cat conftest.err >&5
       
  8918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8919   (exit $ac_status); } && {
       
  8920 	 test -z "$ac_c_werror_flag" ||
       
  8921 	 test ! -s conftest.err
       
  8922        } && test -s conftest.$ac_objext; then
       
  8923   ac_cv_type_double=yes
       
  8924 else
       
  8925   echo "$as_me: failed program was:" >&5
       
  8926 sed 's/^/| /' conftest.$ac_ext >&5
       
  8927 
       
  8928 	ac_cv_type_double=no
       
  8929 fi
       
  8930 
       
  8931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  8932 fi
       
  8933 { echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
       
  8934 echo "${ECHO_T}$ac_cv_type_double" >&6; }
       
  8935 
       
  8936 # The cast to long int works around a bug in the HP C Compiler
       
  8937 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  8938 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  8939 # This bug is HP SR number 8606223364.
       
  8940 { echo "$as_me:$LINENO: checking size of double" >&5
       
  8941 echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
       
  8942 if test "${ac_cv_sizeof_double+set}" = set; then
       
  8943   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  8944 else
       
  8945   if test "$cross_compiling" = yes; then
       
  8946   # Depending upon the size, compute the lo and hi bounds.
       
  8947 cat >conftest.$ac_ext <<_ACEOF
       
  8948 /* confdefs.h.  */
       
  8949 _ACEOF
       
  8950 cat confdefs.h >>conftest.$ac_ext
       
  8951 cat >>conftest.$ac_ext <<_ACEOF
       
  8952 /* end confdefs.h.  */
       
  8953 $ac_includes_default
       
  8954    typedef double ac__type_sizeof_;
       
  8955 int
       
  8956 main ()
       
  8957 {
       
  8958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  8959 test_array [0] = 0
       
  8960 
       
  8961   ;
       
  8962   return 0;
       
  8963 }
       
  8964 _ACEOF
       
  8965 rm -f conftest.$ac_objext
       
  8966 if { (ac_try="$ac_compile"
       
  8967 case "(($ac_try" in
       
  8968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8969   *) ac_try_echo=$ac_try;;
       
  8970 esac
       
  8971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8972   (eval "$ac_compile") 2>conftest.er1
       
  8973   ac_status=$?
       
  8974   grep -v '^ *+' conftest.er1 >conftest.err
       
  8975   rm -f conftest.er1
       
  8976   cat conftest.err >&5
       
  8977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8978   (exit $ac_status); } && {
       
  8979 	 test -z "$ac_c_werror_flag" ||
       
  8980 	 test ! -s conftest.err
       
  8981        } && test -s conftest.$ac_objext; then
       
  8982   ac_lo=0 ac_mid=0
       
  8983   while :; do
       
  8984     cat >conftest.$ac_ext <<_ACEOF
       
  8985 /* confdefs.h.  */
       
  8986 _ACEOF
       
  8987 cat confdefs.h >>conftest.$ac_ext
       
  8988 cat >>conftest.$ac_ext <<_ACEOF
       
  8989 /* end confdefs.h.  */
       
  8990 $ac_includes_default
       
  8991    typedef double ac__type_sizeof_;
       
  8992 int
       
  8993 main ()
       
  8994 {
       
  8995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  8996 test_array [0] = 0
       
  8997 
       
  8998   ;
       
  8999   return 0;
       
  9000 }
       
  9001 _ACEOF
       
  9002 rm -f conftest.$ac_objext
       
  9003 if { (ac_try="$ac_compile"
       
  9004 case "(($ac_try" in
       
  9005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9006   *) ac_try_echo=$ac_try;;
       
  9007 esac
       
  9008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9009   (eval "$ac_compile") 2>conftest.er1
       
  9010   ac_status=$?
       
  9011   grep -v '^ *+' conftest.er1 >conftest.err
       
  9012   rm -f conftest.er1
       
  9013   cat conftest.err >&5
       
  9014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9015   (exit $ac_status); } && {
       
  9016 	 test -z "$ac_c_werror_flag" ||
       
  9017 	 test ! -s conftest.err
       
  9018        } && test -s conftest.$ac_objext; then
       
  9019   ac_hi=$ac_mid; break
       
  9020 else
       
  9021   echo "$as_me: failed program was:" >&5
       
  9022 sed 's/^/| /' conftest.$ac_ext >&5
       
  9023 
       
  9024 	ac_lo=`expr $ac_mid + 1`
       
  9025 			if test $ac_lo -le $ac_mid; then
       
  9026 			  ac_lo= ac_hi=
       
  9027 			  break
       
  9028 			fi
       
  9029 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  9030 fi
       
  9031 
       
  9032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9033   done
       
  9034 else
       
  9035   echo "$as_me: failed program was:" >&5
       
  9036 sed 's/^/| /' conftest.$ac_ext >&5
       
  9037 
       
  9038 	cat >conftest.$ac_ext <<_ACEOF
       
  9039 /* confdefs.h.  */
       
  9040 _ACEOF
       
  9041 cat confdefs.h >>conftest.$ac_ext
       
  9042 cat >>conftest.$ac_ext <<_ACEOF
       
  9043 /* end confdefs.h.  */
       
  9044 $ac_includes_default
       
  9045    typedef double ac__type_sizeof_;
       
  9046 int
       
  9047 main ()
       
  9048 {
       
  9049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  9050 test_array [0] = 0
       
  9051 
       
  9052   ;
       
  9053   return 0;
       
  9054 }
       
  9055 _ACEOF
       
  9056 rm -f conftest.$ac_objext
       
  9057 if { (ac_try="$ac_compile"
       
  9058 case "(($ac_try" in
       
  9059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9060   *) ac_try_echo=$ac_try;;
       
  9061 esac
       
  9062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9063   (eval "$ac_compile") 2>conftest.er1
       
  9064   ac_status=$?
       
  9065   grep -v '^ *+' conftest.er1 >conftest.err
       
  9066   rm -f conftest.er1
       
  9067   cat conftest.err >&5
       
  9068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9069   (exit $ac_status); } && {
       
  9070 	 test -z "$ac_c_werror_flag" ||
       
  9071 	 test ! -s conftest.err
       
  9072        } && test -s conftest.$ac_objext; then
       
  9073   ac_hi=-1 ac_mid=-1
       
  9074   while :; do
       
  9075     cat >conftest.$ac_ext <<_ACEOF
       
  9076 /* confdefs.h.  */
       
  9077 _ACEOF
       
  9078 cat confdefs.h >>conftest.$ac_ext
       
  9079 cat >>conftest.$ac_ext <<_ACEOF
       
  9080 /* end confdefs.h.  */
       
  9081 $ac_includes_default
       
  9082    typedef double ac__type_sizeof_;
       
  9083 int
       
  9084 main ()
       
  9085 {
       
  9086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  9087 test_array [0] = 0
       
  9088 
       
  9089   ;
       
  9090   return 0;
       
  9091 }
       
  9092 _ACEOF
       
  9093 rm -f conftest.$ac_objext
       
  9094 if { (ac_try="$ac_compile"
       
  9095 case "(($ac_try" in
       
  9096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9097   *) ac_try_echo=$ac_try;;
       
  9098 esac
       
  9099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9100   (eval "$ac_compile") 2>conftest.er1
       
  9101   ac_status=$?
       
  9102   grep -v '^ *+' conftest.er1 >conftest.err
       
  9103   rm -f conftest.er1
       
  9104   cat conftest.err >&5
       
  9105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9106   (exit $ac_status); } && {
       
  9107 	 test -z "$ac_c_werror_flag" ||
       
  9108 	 test ! -s conftest.err
       
  9109        } && test -s conftest.$ac_objext; then
       
  9110   ac_lo=$ac_mid; break
       
  9111 else
       
  9112   echo "$as_me: failed program was:" >&5
       
  9113 sed 's/^/| /' conftest.$ac_ext >&5
       
  9114 
       
  9115 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  9116 			if test $ac_mid -le $ac_hi; then
       
  9117 			  ac_lo= ac_hi=
       
  9118 			  break
       
  9119 			fi
       
  9120 			ac_mid=`expr 2 '*' $ac_mid`
       
  9121 fi
       
  9122 
       
  9123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9124   done
       
  9125 else
       
  9126   echo "$as_me: failed program was:" >&5
       
  9127 sed 's/^/| /' conftest.$ac_ext >&5
       
  9128 
       
  9129 	ac_lo= ac_hi=
       
  9130 fi
       
  9131 
       
  9132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9133 fi
       
  9134 
       
  9135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9136 # Binary search between lo and hi bounds.
       
  9137 while test "x$ac_lo" != "x$ac_hi"; do
       
  9138   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  9139   cat >conftest.$ac_ext <<_ACEOF
       
  9140 /* confdefs.h.  */
       
  9141 _ACEOF
       
  9142 cat confdefs.h >>conftest.$ac_ext
       
  9143 cat >>conftest.$ac_ext <<_ACEOF
       
  9144 /* end confdefs.h.  */
       
  9145 $ac_includes_default
       
  9146    typedef double ac__type_sizeof_;
       
  9147 int
       
  9148 main ()
       
  9149 {
       
  9150 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  9151 test_array [0] = 0
       
  9152 
       
  9153   ;
       
  9154   return 0;
       
  9155 }
       
  9156 _ACEOF
       
  9157 rm -f conftest.$ac_objext
       
  9158 if { (ac_try="$ac_compile"
       
  9159 case "(($ac_try" in
       
  9160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9161   *) ac_try_echo=$ac_try;;
       
  9162 esac
       
  9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9164   (eval "$ac_compile") 2>conftest.er1
       
  9165   ac_status=$?
       
  9166   grep -v '^ *+' conftest.er1 >conftest.err
       
  9167   rm -f conftest.er1
       
  9168   cat conftest.err >&5
       
  9169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9170   (exit $ac_status); } && {
       
  9171 	 test -z "$ac_c_werror_flag" ||
       
  9172 	 test ! -s conftest.err
       
  9173        } && test -s conftest.$ac_objext; then
       
  9174   ac_hi=$ac_mid
       
  9175 else
       
  9176   echo "$as_me: failed program was:" >&5
       
  9177 sed 's/^/| /' conftest.$ac_ext >&5
       
  9178 
       
  9179 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  9180 fi
       
  9181 
       
  9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9183 done
       
  9184 case $ac_lo in
       
  9185 ?*) ac_cv_sizeof_double=$ac_lo;;
       
  9186 '') if test "$ac_cv_type_double" = yes; then
       
  9187      { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
       
  9188 See \`config.log' for more details." >&5
       
  9189 echo "$as_me: error: cannot compute sizeof (double)
       
  9190 See \`config.log' for more details." >&2;}
       
  9191    { (exit 77); exit 77; }; }
       
  9192    else
       
  9193      ac_cv_sizeof_double=0
       
  9194    fi ;;
       
  9195 esac
       
  9196 else
       
  9197   cat >conftest.$ac_ext <<_ACEOF
       
  9198 /* confdefs.h.  */
       
  9199 _ACEOF
       
  9200 cat confdefs.h >>conftest.$ac_ext
       
  9201 cat >>conftest.$ac_ext <<_ACEOF
       
  9202 /* end confdefs.h.  */
       
  9203 $ac_includes_default
       
  9204    typedef double ac__type_sizeof_;
       
  9205 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  9206 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  9207 #include <stdio.h>
       
  9208 #include <stdlib.h>
       
  9209 int
       
  9210 main ()
       
  9211 {
       
  9212 
       
  9213   FILE *f = fopen ("conftest.val", "w");
       
  9214   if (! f)
       
  9215     return 1;
       
  9216   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  9217     {
       
  9218       long int i = longval ();
       
  9219       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  9220 	return 1;
       
  9221       fprintf (f, "%ld\n", i);
       
  9222     }
       
  9223   else
       
  9224     {
       
  9225       unsigned long int i = ulongval ();
       
  9226       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  9227 	return 1;
       
  9228       fprintf (f, "%lu\n", i);
       
  9229     }
       
  9230   return ferror (f) || fclose (f) != 0;
       
  9231 
       
  9232   ;
       
  9233   return 0;
       
  9234 }
       
  9235 _ACEOF
       
  9236 rm -f conftest$ac_exeext
       
  9237 if { (ac_try="$ac_link"
       
  9238 case "(($ac_try" in
       
  9239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9240   *) ac_try_echo=$ac_try;;
       
  9241 esac
       
  9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9243   (eval "$ac_link") 2>&5
       
  9244   ac_status=$?
       
  9245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9246   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  9247   { (case "(($ac_try" in
       
  9248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9249   *) ac_try_echo=$ac_try;;
       
  9250 esac
       
  9251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9252   (eval "$ac_try") 2>&5
       
  9253   ac_status=$?
       
  9254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9255   (exit $ac_status); }; }; then
       
  9256   ac_cv_sizeof_double=`cat conftest.val`
       
  9257 else
       
  9258   echo "$as_me: program exited with status $ac_status" >&5
       
  9259 echo "$as_me: failed program was:" >&5
       
  9260 sed 's/^/| /' conftest.$ac_ext >&5
       
  9261 
       
  9262 ( exit $ac_status )
       
  9263 if test "$ac_cv_type_double" = yes; then
       
  9264      { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
       
  9265 See \`config.log' for more details." >&5
       
  9266 echo "$as_me: error: cannot compute sizeof (double)
       
  9267 See \`config.log' for more details." >&2;}
       
  9268    { (exit 77); exit 77; }; }
       
  9269    else
       
  9270      ac_cv_sizeof_double=0
       
  9271    fi
       
  9272 fi
       
  9273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  9274 fi
       
  9275 rm -f conftest.val
       
  9276 fi
       
  9277 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
       
  9278 echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
       
  9279 
       
  9280 
       
  9281 
       
  9282 cat >>confdefs.h <<_ACEOF
       
  9283 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
       
  9284 _ACEOF
       
  9285 
       
  9286 
       
  9287 { echo "$as_me:$LINENO: checking for fpos_t" >&5
       
  9288 echo $ECHO_N "checking for fpos_t... $ECHO_C" >&6; }
       
  9289 if test "${ac_cv_type_fpos_t+set}" = set; then
       
  9290   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9291 else
       
  9292   cat >conftest.$ac_ext <<_ACEOF
       
  9293 /* confdefs.h.  */
       
  9294 _ACEOF
       
  9295 cat confdefs.h >>conftest.$ac_ext
       
  9296 cat >>conftest.$ac_ext <<_ACEOF
       
  9297 /* end confdefs.h.  */
       
  9298 $ac_includes_default
       
  9299 typedef fpos_t ac__type_new_;
       
  9300 int
       
  9301 main ()
       
  9302 {
       
  9303 if ((ac__type_new_ *) 0)
       
  9304   return 0;
       
  9305 if (sizeof (ac__type_new_))
       
  9306   return 0;
       
  9307   ;
       
  9308   return 0;
       
  9309 }
       
  9310 _ACEOF
       
  9311 rm -f conftest.$ac_objext
       
  9312 if { (ac_try="$ac_compile"
       
  9313 case "(($ac_try" in
       
  9314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9315   *) ac_try_echo=$ac_try;;
       
  9316 esac
       
  9317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9318   (eval "$ac_compile") 2>conftest.er1
       
  9319   ac_status=$?
       
  9320   grep -v '^ *+' conftest.er1 >conftest.err
       
  9321   rm -f conftest.er1
       
  9322   cat conftest.err >&5
       
  9323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9324   (exit $ac_status); } && {
       
  9325 	 test -z "$ac_c_werror_flag" ||
       
  9326 	 test ! -s conftest.err
       
  9327        } && test -s conftest.$ac_objext; then
       
  9328   ac_cv_type_fpos_t=yes
       
  9329 else
       
  9330   echo "$as_me: failed program was:" >&5
       
  9331 sed 's/^/| /' conftest.$ac_ext >&5
       
  9332 
       
  9333 	ac_cv_type_fpos_t=no
       
  9334 fi
       
  9335 
       
  9336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9337 fi
       
  9338 { echo "$as_me:$LINENO: result: $ac_cv_type_fpos_t" >&5
       
  9339 echo "${ECHO_T}$ac_cv_type_fpos_t" >&6; }
       
  9340 
       
  9341 # The cast to long int works around a bug in the HP C Compiler
       
  9342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  9343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  9344 # This bug is HP SR number 8606223364.
       
  9345 { echo "$as_me:$LINENO: checking size of fpos_t" >&5
       
  9346 echo $ECHO_N "checking size of fpos_t... $ECHO_C" >&6; }
       
  9347 if test "${ac_cv_sizeof_fpos_t+set}" = set; then
       
  9348   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9349 else
       
  9350   if test "$cross_compiling" = yes; then
       
  9351   # Depending upon the size, compute the lo and hi bounds.
       
  9352 cat >conftest.$ac_ext <<_ACEOF
       
  9353 /* confdefs.h.  */
       
  9354 _ACEOF
       
  9355 cat confdefs.h >>conftest.$ac_ext
       
  9356 cat >>conftest.$ac_ext <<_ACEOF
       
  9357 /* end confdefs.h.  */
       
  9358 $ac_includes_default
       
  9359    typedef fpos_t ac__type_sizeof_;
       
  9360 int
       
  9361 main ()
       
  9362 {
       
  9363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  9364 test_array [0] = 0
       
  9365 
       
  9366   ;
       
  9367   return 0;
       
  9368 }
       
  9369 _ACEOF
       
  9370 rm -f conftest.$ac_objext
       
  9371 if { (ac_try="$ac_compile"
       
  9372 case "(($ac_try" in
       
  9373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9374   *) ac_try_echo=$ac_try;;
       
  9375 esac
       
  9376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9377   (eval "$ac_compile") 2>conftest.er1
       
  9378   ac_status=$?
       
  9379   grep -v '^ *+' conftest.er1 >conftest.err
       
  9380   rm -f conftest.er1
       
  9381   cat conftest.err >&5
       
  9382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9383   (exit $ac_status); } && {
       
  9384 	 test -z "$ac_c_werror_flag" ||
       
  9385 	 test ! -s conftest.err
       
  9386        } && test -s conftest.$ac_objext; then
       
  9387   ac_lo=0 ac_mid=0
       
  9388   while :; do
       
  9389     cat >conftest.$ac_ext <<_ACEOF
       
  9390 /* confdefs.h.  */
       
  9391 _ACEOF
       
  9392 cat confdefs.h >>conftest.$ac_ext
       
  9393 cat >>conftest.$ac_ext <<_ACEOF
       
  9394 /* end confdefs.h.  */
       
  9395 $ac_includes_default
       
  9396    typedef fpos_t ac__type_sizeof_;
       
  9397 int
       
  9398 main ()
       
  9399 {
       
  9400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  9401 test_array [0] = 0
       
  9402 
       
  9403   ;
       
  9404   return 0;
       
  9405 }
       
  9406 _ACEOF
       
  9407 rm -f conftest.$ac_objext
       
  9408 if { (ac_try="$ac_compile"
       
  9409 case "(($ac_try" in
       
  9410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9411   *) ac_try_echo=$ac_try;;
       
  9412 esac
       
  9413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9414   (eval "$ac_compile") 2>conftest.er1
       
  9415   ac_status=$?
       
  9416   grep -v '^ *+' conftest.er1 >conftest.err
       
  9417   rm -f conftest.er1
       
  9418   cat conftest.err >&5
       
  9419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9420   (exit $ac_status); } && {
       
  9421 	 test -z "$ac_c_werror_flag" ||
       
  9422 	 test ! -s conftest.err
       
  9423        } && test -s conftest.$ac_objext; then
       
  9424   ac_hi=$ac_mid; break
       
  9425 else
       
  9426   echo "$as_me: failed program was:" >&5
       
  9427 sed 's/^/| /' conftest.$ac_ext >&5
       
  9428 
       
  9429 	ac_lo=`expr $ac_mid + 1`
       
  9430 			if test $ac_lo -le $ac_mid; then
       
  9431 			  ac_lo= ac_hi=
       
  9432 			  break
       
  9433 			fi
       
  9434 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  9435 fi
       
  9436 
       
  9437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9438   done
       
  9439 else
       
  9440   echo "$as_me: failed program was:" >&5
       
  9441 sed 's/^/| /' conftest.$ac_ext >&5
       
  9442 
       
  9443 	cat >conftest.$ac_ext <<_ACEOF
       
  9444 /* confdefs.h.  */
       
  9445 _ACEOF
       
  9446 cat confdefs.h >>conftest.$ac_ext
       
  9447 cat >>conftest.$ac_ext <<_ACEOF
       
  9448 /* end confdefs.h.  */
       
  9449 $ac_includes_default
       
  9450    typedef fpos_t ac__type_sizeof_;
       
  9451 int
       
  9452 main ()
       
  9453 {
       
  9454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  9455 test_array [0] = 0
       
  9456 
       
  9457   ;
       
  9458   return 0;
       
  9459 }
       
  9460 _ACEOF
       
  9461 rm -f conftest.$ac_objext
       
  9462 if { (ac_try="$ac_compile"
       
  9463 case "(($ac_try" in
       
  9464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9465   *) ac_try_echo=$ac_try;;
       
  9466 esac
       
  9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9468   (eval "$ac_compile") 2>conftest.er1
       
  9469   ac_status=$?
       
  9470   grep -v '^ *+' conftest.er1 >conftest.err
       
  9471   rm -f conftest.er1
       
  9472   cat conftest.err >&5
       
  9473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9474   (exit $ac_status); } && {
       
  9475 	 test -z "$ac_c_werror_flag" ||
       
  9476 	 test ! -s conftest.err
       
  9477        } && test -s conftest.$ac_objext; then
       
  9478   ac_hi=-1 ac_mid=-1
       
  9479   while :; do
       
  9480     cat >conftest.$ac_ext <<_ACEOF
       
  9481 /* confdefs.h.  */
       
  9482 _ACEOF
       
  9483 cat confdefs.h >>conftest.$ac_ext
       
  9484 cat >>conftest.$ac_ext <<_ACEOF
       
  9485 /* end confdefs.h.  */
       
  9486 $ac_includes_default
       
  9487    typedef fpos_t ac__type_sizeof_;
       
  9488 int
       
  9489 main ()
       
  9490 {
       
  9491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  9492 test_array [0] = 0
       
  9493 
       
  9494   ;
       
  9495   return 0;
       
  9496 }
       
  9497 _ACEOF
       
  9498 rm -f conftest.$ac_objext
       
  9499 if { (ac_try="$ac_compile"
       
  9500 case "(($ac_try" in
       
  9501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9502   *) ac_try_echo=$ac_try;;
       
  9503 esac
       
  9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9505   (eval "$ac_compile") 2>conftest.er1
       
  9506   ac_status=$?
       
  9507   grep -v '^ *+' conftest.er1 >conftest.err
       
  9508   rm -f conftest.er1
       
  9509   cat conftest.err >&5
       
  9510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9511   (exit $ac_status); } && {
       
  9512 	 test -z "$ac_c_werror_flag" ||
       
  9513 	 test ! -s conftest.err
       
  9514        } && test -s conftest.$ac_objext; then
       
  9515   ac_lo=$ac_mid; break
       
  9516 else
       
  9517   echo "$as_me: failed program was:" >&5
       
  9518 sed 's/^/| /' conftest.$ac_ext >&5
       
  9519 
       
  9520 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  9521 			if test $ac_mid -le $ac_hi; then
       
  9522 			  ac_lo= ac_hi=
       
  9523 			  break
       
  9524 			fi
       
  9525 			ac_mid=`expr 2 '*' $ac_mid`
       
  9526 fi
       
  9527 
       
  9528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9529   done
       
  9530 else
       
  9531   echo "$as_me: failed program was:" >&5
       
  9532 sed 's/^/| /' conftest.$ac_ext >&5
       
  9533 
       
  9534 	ac_lo= ac_hi=
       
  9535 fi
       
  9536 
       
  9537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9538 fi
       
  9539 
       
  9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9541 # Binary search between lo and hi bounds.
       
  9542 while test "x$ac_lo" != "x$ac_hi"; do
       
  9543   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  9544   cat >conftest.$ac_ext <<_ACEOF
       
  9545 /* confdefs.h.  */
       
  9546 _ACEOF
       
  9547 cat confdefs.h >>conftest.$ac_ext
       
  9548 cat >>conftest.$ac_ext <<_ACEOF
       
  9549 /* end confdefs.h.  */
       
  9550 $ac_includes_default
       
  9551    typedef fpos_t ac__type_sizeof_;
       
  9552 int
       
  9553 main ()
       
  9554 {
       
  9555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  9556 test_array [0] = 0
       
  9557 
       
  9558   ;
       
  9559   return 0;
       
  9560 }
       
  9561 _ACEOF
       
  9562 rm -f conftest.$ac_objext
       
  9563 if { (ac_try="$ac_compile"
       
  9564 case "(($ac_try" in
       
  9565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9566   *) ac_try_echo=$ac_try;;
       
  9567 esac
       
  9568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9569   (eval "$ac_compile") 2>conftest.er1
       
  9570   ac_status=$?
       
  9571   grep -v '^ *+' conftest.er1 >conftest.err
       
  9572   rm -f conftest.er1
       
  9573   cat conftest.err >&5
       
  9574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9575   (exit $ac_status); } && {
       
  9576 	 test -z "$ac_c_werror_flag" ||
       
  9577 	 test ! -s conftest.err
       
  9578        } && test -s conftest.$ac_objext; then
       
  9579   ac_hi=$ac_mid
       
  9580 else
       
  9581   echo "$as_me: failed program was:" >&5
       
  9582 sed 's/^/| /' conftest.$ac_ext >&5
       
  9583 
       
  9584 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  9585 fi
       
  9586 
       
  9587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9588 done
       
  9589 case $ac_lo in
       
  9590 ?*) ac_cv_sizeof_fpos_t=$ac_lo;;
       
  9591 '') if test "$ac_cv_type_fpos_t" = yes; then
       
  9592      { { echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t)
       
  9593 See \`config.log' for more details." >&5
       
  9594 echo "$as_me: error: cannot compute sizeof (fpos_t)
       
  9595 See \`config.log' for more details." >&2;}
       
  9596    { (exit 77); exit 77; }; }
       
  9597    else
       
  9598      ac_cv_sizeof_fpos_t=0
       
  9599    fi ;;
       
  9600 esac
       
  9601 else
       
  9602   cat >conftest.$ac_ext <<_ACEOF
       
  9603 /* confdefs.h.  */
       
  9604 _ACEOF
       
  9605 cat confdefs.h >>conftest.$ac_ext
       
  9606 cat >>conftest.$ac_ext <<_ACEOF
       
  9607 /* end confdefs.h.  */
       
  9608 $ac_includes_default
       
  9609    typedef fpos_t ac__type_sizeof_;
       
  9610 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  9611 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
  9612 #include <stdio.h>
       
  9613 #include <stdlib.h>
       
  9614 int
       
  9615 main ()
       
  9616 {
       
  9617 
       
  9618   FILE *f = fopen ("conftest.val", "w");
       
  9619   if (! f)
       
  9620     return 1;
       
  9621   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
  9622     {
       
  9623       long int i = longval ();
       
  9624       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  9625 	return 1;
       
  9626       fprintf (f, "%ld\n", i);
       
  9627     }
       
  9628   else
       
  9629     {
       
  9630       unsigned long int i = ulongval ();
       
  9631       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
  9632 	return 1;
       
  9633       fprintf (f, "%lu\n", i);
       
  9634     }
       
  9635   return ferror (f) || fclose (f) != 0;
       
  9636 
       
  9637   ;
       
  9638   return 0;
       
  9639 }
       
  9640 _ACEOF
       
  9641 rm -f conftest$ac_exeext
       
  9642 if { (ac_try="$ac_link"
       
  9643 case "(($ac_try" in
       
  9644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9645   *) ac_try_echo=$ac_try;;
       
  9646 esac
       
  9647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9648   (eval "$ac_link") 2>&5
       
  9649   ac_status=$?
       
  9650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9651   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  9652   { (case "(($ac_try" in
       
  9653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9654   *) ac_try_echo=$ac_try;;
       
  9655 esac
       
  9656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9657   (eval "$ac_try") 2>&5
       
  9658   ac_status=$?
       
  9659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9660   (exit $ac_status); }; }; then
       
  9661   ac_cv_sizeof_fpos_t=`cat conftest.val`
       
  9662 else
       
  9663   echo "$as_me: program exited with status $ac_status" >&5
       
  9664 echo "$as_me: failed program was:" >&5
       
  9665 sed 's/^/| /' conftest.$ac_ext >&5
       
  9666 
       
  9667 ( exit $ac_status )
       
  9668 if test "$ac_cv_type_fpos_t" = yes; then
       
  9669      { { echo "$as_me:$LINENO: error: cannot compute sizeof (fpos_t)
       
  9670 See \`config.log' for more details." >&5
       
  9671 echo "$as_me: error: cannot compute sizeof (fpos_t)
       
  9672 See \`config.log' for more details." >&2;}
       
  9673    { (exit 77); exit 77; }; }
       
  9674    else
       
  9675      ac_cv_sizeof_fpos_t=0
       
  9676    fi
       
  9677 fi
       
  9678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  9679 fi
       
  9680 rm -f conftest.val
       
  9681 fi
       
  9682 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_fpos_t" >&5
       
  9683 echo "${ECHO_T}$ac_cv_sizeof_fpos_t" >&6; }
       
  9684 
       
  9685 
       
  9686 
       
  9687 cat >>confdefs.h <<_ACEOF
       
  9688 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
       
  9689 _ACEOF
       
  9690 
       
  9691 
       
  9692 { echo "$as_me:$LINENO: checking for size_t" >&5
       
  9693 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
       
  9694 if test "${ac_cv_type_size_t+set}" = set; then
       
  9695   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9696 else
       
  9697   cat >conftest.$ac_ext <<_ACEOF
       
  9698 /* confdefs.h.  */
       
  9699 _ACEOF
       
  9700 cat confdefs.h >>conftest.$ac_ext
       
  9701 cat >>conftest.$ac_ext <<_ACEOF
       
  9702 /* end confdefs.h.  */
       
  9703 $ac_includes_default
       
  9704 typedef size_t ac__type_new_;
       
  9705 int
       
  9706 main ()
       
  9707 {
       
  9708 if ((ac__type_new_ *) 0)
       
  9709   return 0;
       
  9710 if (sizeof (ac__type_new_))
       
  9711   return 0;
       
  9712   ;
       
  9713   return 0;
       
  9714 }
       
  9715 _ACEOF
       
  9716 rm -f conftest.$ac_objext
       
  9717 if { (ac_try="$ac_compile"
       
  9718 case "(($ac_try" in
       
  9719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9720   *) ac_try_echo=$ac_try;;
       
  9721 esac
       
  9722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9723   (eval "$ac_compile") 2>conftest.er1
       
  9724   ac_status=$?
       
  9725   grep -v '^ *+' conftest.er1 >conftest.err
       
  9726   rm -f conftest.er1
       
  9727   cat conftest.err >&5
       
  9728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9729   (exit $ac_status); } && {
       
  9730 	 test -z "$ac_c_werror_flag" ||
       
  9731 	 test ! -s conftest.err
       
  9732        } && test -s conftest.$ac_objext; then
       
  9733   ac_cv_type_size_t=yes
       
  9734 else
       
  9735   echo "$as_me: failed program was:" >&5
       
  9736 sed 's/^/| /' conftest.$ac_ext >&5
       
  9737 
       
  9738 	ac_cv_type_size_t=no
       
  9739 fi
       
  9740 
       
  9741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9742 fi
       
  9743 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
       
  9744 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
       
  9745 
       
  9746 # The cast to long int works around a bug in the HP C Compiler
       
  9747 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
  9748 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
  9749 # This bug is HP SR number 8606223364.
       
  9750 { echo "$as_me:$LINENO: checking size of size_t" >&5
       
  9751 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
       
  9752 if test "${ac_cv_sizeof_size_t+set}" = set; then
       
  9753   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9754 else
       
  9755   if test "$cross_compiling" = yes; then
       
  9756   # Depending upon the size, compute the lo and hi bounds.
       
  9757 cat >conftest.$ac_ext <<_ACEOF
       
  9758 /* confdefs.h.  */
       
  9759 _ACEOF
       
  9760 cat confdefs.h >>conftest.$ac_ext
       
  9761 cat >>conftest.$ac_ext <<_ACEOF
       
  9762 /* end confdefs.h.  */
       
  9763 $ac_includes_default
       
  9764    typedef size_t ac__type_sizeof_;
       
  9765 int
       
  9766 main ()
       
  9767 {
       
  9768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
  9769 test_array [0] = 0
       
  9770 
       
  9771   ;
       
  9772   return 0;
       
  9773 }
       
  9774 _ACEOF
       
  9775 rm -f conftest.$ac_objext
       
  9776 if { (ac_try="$ac_compile"
       
  9777 case "(($ac_try" in
       
  9778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9779   *) ac_try_echo=$ac_try;;
       
  9780 esac
       
  9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9782   (eval "$ac_compile") 2>conftest.er1
       
  9783   ac_status=$?
       
  9784   grep -v '^ *+' conftest.er1 >conftest.err
       
  9785   rm -f conftest.er1
       
  9786   cat conftest.err >&5
       
  9787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9788   (exit $ac_status); } && {
       
  9789 	 test -z "$ac_c_werror_flag" ||
       
  9790 	 test ! -s conftest.err
       
  9791        } && test -s conftest.$ac_objext; then
       
  9792   ac_lo=0 ac_mid=0
       
  9793   while :; do
       
  9794     cat >conftest.$ac_ext <<_ACEOF
       
  9795 /* confdefs.h.  */
       
  9796 _ACEOF
       
  9797 cat confdefs.h >>conftest.$ac_ext
       
  9798 cat >>conftest.$ac_ext <<_ACEOF
       
  9799 /* end confdefs.h.  */
       
  9800 $ac_includes_default
       
  9801    typedef size_t ac__type_sizeof_;
       
  9802 int
       
  9803 main ()
       
  9804 {
       
  9805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  9806 test_array [0] = 0
       
  9807 
       
  9808   ;
       
  9809   return 0;
       
  9810 }
       
  9811 _ACEOF
       
  9812 rm -f conftest.$ac_objext
       
  9813 if { (ac_try="$ac_compile"
       
  9814 case "(($ac_try" in
       
  9815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9816   *) ac_try_echo=$ac_try;;
       
  9817 esac
       
  9818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9819   (eval "$ac_compile") 2>conftest.er1
       
  9820   ac_status=$?
       
  9821   grep -v '^ *+' conftest.er1 >conftest.err
       
  9822   rm -f conftest.er1
       
  9823   cat conftest.err >&5
       
  9824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9825   (exit $ac_status); } && {
       
  9826 	 test -z "$ac_c_werror_flag" ||
       
  9827 	 test ! -s conftest.err
       
  9828        } && test -s conftest.$ac_objext; then
       
  9829   ac_hi=$ac_mid; break
       
  9830 else
       
  9831   echo "$as_me: failed program was:" >&5
       
  9832 sed 's/^/| /' conftest.$ac_ext >&5
       
  9833 
       
  9834 	ac_lo=`expr $ac_mid + 1`
       
  9835 			if test $ac_lo -le $ac_mid; then
       
  9836 			  ac_lo= ac_hi=
       
  9837 			  break
       
  9838 			fi
       
  9839 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
  9840 fi
       
  9841 
       
  9842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9843   done
       
  9844 else
       
  9845   echo "$as_me: failed program was:" >&5
       
  9846 sed 's/^/| /' conftest.$ac_ext >&5
       
  9847 
       
  9848 	cat >conftest.$ac_ext <<_ACEOF
       
  9849 /* confdefs.h.  */
       
  9850 _ACEOF
       
  9851 cat confdefs.h >>conftest.$ac_ext
       
  9852 cat >>conftest.$ac_ext <<_ACEOF
       
  9853 /* end confdefs.h.  */
       
  9854 $ac_includes_default
       
  9855    typedef size_t ac__type_sizeof_;
       
  9856 int
       
  9857 main ()
       
  9858 {
       
  9859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
  9860 test_array [0] = 0
       
  9861 
       
  9862   ;
       
  9863   return 0;
       
  9864 }
       
  9865 _ACEOF
       
  9866 rm -f conftest.$ac_objext
       
  9867 if { (ac_try="$ac_compile"
       
  9868 case "(($ac_try" in
       
  9869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9870   *) ac_try_echo=$ac_try;;
       
  9871 esac
       
  9872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9873   (eval "$ac_compile") 2>conftest.er1
       
  9874   ac_status=$?
       
  9875   grep -v '^ *+' conftest.er1 >conftest.err
       
  9876   rm -f conftest.er1
       
  9877   cat conftest.err >&5
       
  9878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9879   (exit $ac_status); } && {
       
  9880 	 test -z "$ac_c_werror_flag" ||
       
  9881 	 test ! -s conftest.err
       
  9882        } && test -s conftest.$ac_objext; then
       
  9883   ac_hi=-1 ac_mid=-1
       
  9884   while :; do
       
  9885     cat >conftest.$ac_ext <<_ACEOF
       
  9886 /* confdefs.h.  */
       
  9887 _ACEOF
       
  9888 cat confdefs.h >>conftest.$ac_ext
       
  9889 cat >>conftest.$ac_ext <<_ACEOF
       
  9890 /* end confdefs.h.  */
       
  9891 $ac_includes_default
       
  9892    typedef size_t ac__type_sizeof_;
       
  9893 int
       
  9894 main ()
       
  9895 {
       
  9896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
  9897 test_array [0] = 0
       
  9898 
       
  9899   ;
       
  9900   return 0;
       
  9901 }
       
  9902 _ACEOF
       
  9903 rm -f conftest.$ac_objext
       
  9904 if { (ac_try="$ac_compile"
       
  9905 case "(($ac_try" in
       
  9906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9907   *) ac_try_echo=$ac_try;;
       
  9908 esac
       
  9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9910   (eval "$ac_compile") 2>conftest.er1
       
  9911   ac_status=$?
       
  9912   grep -v '^ *+' conftest.er1 >conftest.err
       
  9913   rm -f conftest.er1
       
  9914   cat conftest.err >&5
       
  9915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9916   (exit $ac_status); } && {
       
  9917 	 test -z "$ac_c_werror_flag" ||
       
  9918 	 test ! -s conftest.err
       
  9919        } && test -s conftest.$ac_objext; then
       
  9920   ac_lo=$ac_mid; break
       
  9921 else
       
  9922   echo "$as_me: failed program was:" >&5
       
  9923 sed 's/^/| /' conftest.$ac_ext >&5
       
  9924 
       
  9925 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
  9926 			if test $ac_mid -le $ac_hi; then
       
  9927 			  ac_lo= ac_hi=
       
  9928 			  break
       
  9929 			fi
       
  9930 			ac_mid=`expr 2 '*' $ac_mid`
       
  9931 fi
       
  9932 
       
  9933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9934   done
       
  9935 else
       
  9936   echo "$as_me: failed program was:" >&5
       
  9937 sed 's/^/| /' conftest.$ac_ext >&5
       
  9938 
       
  9939 	ac_lo= ac_hi=
       
  9940 fi
       
  9941 
       
  9942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9943 fi
       
  9944 
       
  9945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9946 # Binary search between lo and hi bounds.
       
  9947 while test "x$ac_lo" != "x$ac_hi"; do
       
  9948   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
  9949   cat >conftest.$ac_ext <<_ACEOF
       
  9950 /* confdefs.h.  */
       
  9951 _ACEOF
       
  9952 cat confdefs.h >>conftest.$ac_ext
       
  9953 cat >>conftest.$ac_ext <<_ACEOF
       
  9954 /* end confdefs.h.  */
       
  9955 $ac_includes_default
       
  9956    typedef size_t ac__type_sizeof_;
       
  9957 int
       
  9958 main ()
       
  9959 {
       
  9960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
  9961 test_array [0] = 0
       
  9962 
       
  9963   ;
       
  9964   return 0;
       
  9965 }
       
  9966 _ACEOF
       
  9967 rm -f conftest.$ac_objext
       
  9968 if { (ac_try="$ac_compile"
       
  9969 case "(($ac_try" in
       
  9970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9971   *) ac_try_echo=$ac_try;;
       
  9972 esac
       
  9973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9974   (eval "$ac_compile") 2>conftest.er1
       
  9975   ac_status=$?
       
  9976   grep -v '^ *+' conftest.er1 >conftest.err
       
  9977   rm -f conftest.er1
       
  9978   cat conftest.err >&5
       
  9979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9980   (exit $ac_status); } && {
       
  9981 	 test -z "$ac_c_werror_flag" ||
       
  9982 	 test ! -s conftest.err
       
  9983        } && test -s conftest.$ac_objext; then
       
  9984   ac_hi=$ac_mid
       
  9985 else
       
  9986   echo "$as_me: failed program was:" >&5
       
  9987 sed 's/^/| /' conftest.$ac_ext >&5
       
  9988 
       
  9989 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
  9990 fi
       
  9991 
       
  9992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  9993 done
       
  9994 case $ac_lo in
       
  9995 ?*) ac_cv_sizeof_size_t=$ac_lo;;
       
  9996 '') if test "$ac_cv_type_size_t" = yes; then
       
  9997      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
       
  9998 See \`config.log' for more details." >&5
       
  9999 echo "$as_me: error: cannot compute sizeof (size_t)
       
 10000 See \`config.log' for more details." >&2;}
       
 10001    { (exit 77); exit 77; }; }
       
 10002    else
       
 10003      ac_cv_sizeof_size_t=0
       
 10004    fi ;;
       
 10005 esac
       
 10006 else
       
 10007   cat >conftest.$ac_ext <<_ACEOF
       
 10008 /* confdefs.h.  */
       
 10009 _ACEOF
       
 10010 cat confdefs.h >>conftest.$ac_ext
       
 10011 cat >>conftest.$ac_ext <<_ACEOF
       
 10012 /* end confdefs.h.  */
       
 10013 $ac_includes_default
       
 10014    typedef size_t ac__type_sizeof_;
       
 10015 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 10016 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 10017 #include <stdio.h>
       
 10018 #include <stdlib.h>
       
 10019 int
       
 10020 main ()
       
 10021 {
       
 10022 
       
 10023   FILE *f = fopen ("conftest.val", "w");
       
 10024   if (! f)
       
 10025     return 1;
       
 10026   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
 10027     {
       
 10028       long int i = longval ();
       
 10029       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 10030 	return 1;
       
 10031       fprintf (f, "%ld\n", i);
       
 10032     }
       
 10033   else
       
 10034     {
       
 10035       unsigned long int i = ulongval ();
       
 10036       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 10037 	return 1;
       
 10038       fprintf (f, "%lu\n", i);
       
 10039     }
       
 10040   return ferror (f) || fclose (f) != 0;
       
 10041 
       
 10042   ;
       
 10043   return 0;
       
 10044 }
       
 10045 _ACEOF
       
 10046 rm -f conftest$ac_exeext
       
 10047 if { (ac_try="$ac_link"
       
 10048 case "(($ac_try" in
       
 10049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10050   *) ac_try_echo=$ac_try;;
       
 10051 esac
       
 10052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10053   (eval "$ac_link") 2>&5
       
 10054   ac_status=$?
       
 10055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10056   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 10057   { (case "(($ac_try" in
       
 10058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10059   *) ac_try_echo=$ac_try;;
       
 10060 esac
       
 10061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10062   (eval "$ac_try") 2>&5
       
 10063   ac_status=$?
       
 10064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10065   (exit $ac_status); }; }; then
       
 10066   ac_cv_sizeof_size_t=`cat conftest.val`
       
 10067 else
       
 10068   echo "$as_me: program exited with status $ac_status" >&5
       
 10069 echo "$as_me: failed program was:" >&5
       
 10070 sed 's/^/| /' conftest.$ac_ext >&5
       
 10071 
       
 10072 ( exit $ac_status )
       
 10073 if test "$ac_cv_type_size_t" = yes; then
       
 10074      { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
       
 10075 See \`config.log' for more details." >&5
       
 10076 echo "$as_me: error: cannot compute sizeof (size_t)
       
 10077 See \`config.log' for more details." >&2;}
       
 10078    { (exit 77); exit 77; }; }
       
 10079    else
       
 10080      ac_cv_sizeof_size_t=0
       
 10081    fi
       
 10082 fi
       
 10083 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 10084 fi
       
 10085 rm -f conftest.val
       
 10086 fi
       
 10087 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
       
 10088 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
       
 10089 
       
 10090 
       
 10091 
       
 10092 cat >>confdefs.h <<_ACEOF
       
 10093 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
       
 10094 _ACEOF
       
 10095 
       
 10096 
       
 10097 
       
 10098 { echo "$as_me:$LINENO: checking for long long support" >&5
       
 10099 echo $ECHO_N "checking for long long support... $ECHO_C" >&6; }
       
 10100 have_long_long=no
       
 10101 cat >conftest.$ac_ext <<_ACEOF
       
 10102 /* confdefs.h.  */
       
 10103 _ACEOF
       
 10104 cat confdefs.h >>conftest.$ac_ext
       
 10105 cat >>conftest.$ac_ext <<_ACEOF
       
 10106 /* end confdefs.h.  */
       
 10107 
       
 10108 int
       
 10109 main ()
       
 10110 {
       
 10111 long long x; x = (long long)0;
       
 10112   ;
       
 10113   return 0;
       
 10114 }
       
 10115 _ACEOF
       
 10116 rm -f conftest.$ac_objext
       
 10117 if { (ac_try="$ac_compile"
       
 10118 case "(($ac_try" in
       
 10119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10120   *) ac_try_echo=$ac_try;;
       
 10121 esac
       
 10122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10123   (eval "$ac_compile") 2>conftest.er1
       
 10124   ac_status=$?
       
 10125   grep -v '^ *+' conftest.er1 >conftest.err
       
 10126   rm -f conftest.er1
       
 10127   cat conftest.err >&5
       
 10128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10129   (exit $ac_status); } && {
       
 10130 	 test -z "$ac_c_werror_flag" ||
       
 10131 	 test ! -s conftest.err
       
 10132        } && test -s conftest.$ac_objext; then
       
 10133 
       
 10134 
       
 10135 cat >>confdefs.h <<\_ACEOF
       
 10136 #define HAVE_LONG_LONG 1
       
 10137 _ACEOF
       
 10138 
       
 10139   have_long_long=yes
       
 10140 
       
 10141 else
       
 10142   echo "$as_me: failed program was:" >&5
       
 10143 sed 's/^/| /' conftest.$ac_ext >&5
       
 10144 
       
 10145 
       
 10146 fi
       
 10147 
       
 10148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10149 { echo "$as_me:$LINENO: result: $have_long_long" >&5
       
 10150 echo "${ECHO_T}$have_long_long" >&6; }
       
 10151 if test "$have_long_long" = yes ; then
       
 10152 { echo "$as_me:$LINENO: checking for long long" >&5
       
 10153 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
       
 10154 if test "${ac_cv_type_long_long+set}" = set; then
       
 10155   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10156 else
       
 10157   cat >conftest.$ac_ext <<_ACEOF
       
 10158 /* confdefs.h.  */
       
 10159 _ACEOF
       
 10160 cat confdefs.h >>conftest.$ac_ext
       
 10161 cat >>conftest.$ac_ext <<_ACEOF
       
 10162 /* end confdefs.h.  */
       
 10163 $ac_includes_default
       
 10164 typedef long long ac__type_new_;
       
 10165 int
       
 10166 main ()
       
 10167 {
       
 10168 if ((ac__type_new_ *) 0)
       
 10169   return 0;
       
 10170 if (sizeof (ac__type_new_))
       
 10171   return 0;
       
 10172   ;
       
 10173   return 0;
       
 10174 }
       
 10175 _ACEOF
       
 10176 rm -f conftest.$ac_objext
       
 10177 if { (ac_try="$ac_compile"
       
 10178 case "(($ac_try" in
       
 10179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10180   *) ac_try_echo=$ac_try;;
       
 10181 esac
       
 10182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10183   (eval "$ac_compile") 2>conftest.er1
       
 10184   ac_status=$?
       
 10185   grep -v '^ *+' conftest.er1 >conftest.err
       
 10186   rm -f conftest.er1
       
 10187   cat conftest.err >&5
       
 10188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10189   (exit $ac_status); } && {
       
 10190 	 test -z "$ac_c_werror_flag" ||
       
 10191 	 test ! -s conftest.err
       
 10192        } && test -s conftest.$ac_objext; then
       
 10193   ac_cv_type_long_long=yes
       
 10194 else
       
 10195   echo "$as_me: failed program was:" >&5
       
 10196 sed 's/^/| /' conftest.$ac_ext >&5
       
 10197 
       
 10198 	ac_cv_type_long_long=no
       
 10199 fi
       
 10200 
       
 10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10202 fi
       
 10203 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
       
 10204 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
       
 10205 
       
 10206 # The cast to long int works around a bug in the HP C Compiler
       
 10207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
 10208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
 10209 # This bug is HP SR number 8606223364.
       
 10210 { echo "$as_me:$LINENO: checking size of long long" >&5
       
 10211 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
       
 10212 if test "${ac_cv_sizeof_long_long+set}" = set; then
       
 10213   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10214 else
       
 10215   if test "$cross_compiling" = yes; then
       
 10216   # Depending upon the size, compute the lo and hi bounds.
       
 10217 cat >conftest.$ac_ext <<_ACEOF
       
 10218 /* confdefs.h.  */
       
 10219 _ACEOF
       
 10220 cat confdefs.h >>conftest.$ac_ext
       
 10221 cat >>conftest.$ac_ext <<_ACEOF
       
 10222 /* end confdefs.h.  */
       
 10223 $ac_includes_default
       
 10224    typedef long long ac__type_sizeof_;
       
 10225 int
       
 10226 main ()
       
 10227 {
       
 10228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
 10229 test_array [0] = 0
       
 10230 
       
 10231   ;
       
 10232   return 0;
       
 10233 }
       
 10234 _ACEOF
       
 10235 rm -f conftest.$ac_objext
       
 10236 if { (ac_try="$ac_compile"
       
 10237 case "(($ac_try" in
       
 10238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10239   *) ac_try_echo=$ac_try;;
       
 10240 esac
       
 10241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10242   (eval "$ac_compile") 2>conftest.er1
       
 10243   ac_status=$?
       
 10244   grep -v '^ *+' conftest.er1 >conftest.err
       
 10245   rm -f conftest.er1
       
 10246   cat conftest.err >&5
       
 10247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10248   (exit $ac_status); } && {
       
 10249 	 test -z "$ac_c_werror_flag" ||
       
 10250 	 test ! -s conftest.err
       
 10251        } && test -s conftest.$ac_objext; then
       
 10252   ac_lo=0 ac_mid=0
       
 10253   while :; do
       
 10254     cat >conftest.$ac_ext <<_ACEOF
       
 10255 /* confdefs.h.  */
       
 10256 _ACEOF
       
 10257 cat confdefs.h >>conftest.$ac_ext
       
 10258 cat >>conftest.$ac_ext <<_ACEOF
       
 10259 /* end confdefs.h.  */
       
 10260 $ac_includes_default
       
 10261    typedef long long ac__type_sizeof_;
       
 10262 int
       
 10263 main ()
       
 10264 {
       
 10265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
 10266 test_array [0] = 0
       
 10267 
       
 10268   ;
       
 10269   return 0;
       
 10270 }
       
 10271 _ACEOF
       
 10272 rm -f conftest.$ac_objext
       
 10273 if { (ac_try="$ac_compile"
       
 10274 case "(($ac_try" in
       
 10275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10276   *) ac_try_echo=$ac_try;;
       
 10277 esac
       
 10278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10279   (eval "$ac_compile") 2>conftest.er1
       
 10280   ac_status=$?
       
 10281   grep -v '^ *+' conftest.er1 >conftest.err
       
 10282   rm -f conftest.er1
       
 10283   cat conftest.err >&5
       
 10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10285   (exit $ac_status); } && {
       
 10286 	 test -z "$ac_c_werror_flag" ||
       
 10287 	 test ! -s conftest.err
       
 10288        } && test -s conftest.$ac_objext; then
       
 10289   ac_hi=$ac_mid; break
       
 10290 else
       
 10291   echo "$as_me: failed program was:" >&5
       
 10292 sed 's/^/| /' conftest.$ac_ext >&5
       
 10293 
       
 10294 	ac_lo=`expr $ac_mid + 1`
       
 10295 			if test $ac_lo -le $ac_mid; then
       
 10296 			  ac_lo= ac_hi=
       
 10297 			  break
       
 10298 			fi
       
 10299 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
 10300 fi
       
 10301 
       
 10302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10303   done
       
 10304 else
       
 10305   echo "$as_me: failed program was:" >&5
       
 10306 sed 's/^/| /' conftest.$ac_ext >&5
       
 10307 
       
 10308 	cat >conftest.$ac_ext <<_ACEOF
       
 10309 /* confdefs.h.  */
       
 10310 _ACEOF
       
 10311 cat confdefs.h >>conftest.$ac_ext
       
 10312 cat >>conftest.$ac_ext <<_ACEOF
       
 10313 /* end confdefs.h.  */
       
 10314 $ac_includes_default
       
 10315    typedef long long ac__type_sizeof_;
       
 10316 int
       
 10317 main ()
       
 10318 {
       
 10319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
 10320 test_array [0] = 0
       
 10321 
       
 10322   ;
       
 10323   return 0;
       
 10324 }
       
 10325 _ACEOF
       
 10326 rm -f conftest.$ac_objext
       
 10327 if { (ac_try="$ac_compile"
       
 10328 case "(($ac_try" in
       
 10329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10330   *) ac_try_echo=$ac_try;;
       
 10331 esac
       
 10332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10333   (eval "$ac_compile") 2>conftest.er1
       
 10334   ac_status=$?
       
 10335   grep -v '^ *+' conftest.er1 >conftest.err
       
 10336   rm -f conftest.er1
       
 10337   cat conftest.err >&5
       
 10338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10339   (exit $ac_status); } && {
       
 10340 	 test -z "$ac_c_werror_flag" ||
       
 10341 	 test ! -s conftest.err
       
 10342        } && test -s conftest.$ac_objext; then
       
 10343   ac_hi=-1 ac_mid=-1
       
 10344   while :; do
       
 10345     cat >conftest.$ac_ext <<_ACEOF
       
 10346 /* confdefs.h.  */
       
 10347 _ACEOF
       
 10348 cat confdefs.h >>conftest.$ac_ext
       
 10349 cat >>conftest.$ac_ext <<_ACEOF
       
 10350 /* end confdefs.h.  */
       
 10351 $ac_includes_default
       
 10352    typedef long long ac__type_sizeof_;
       
 10353 int
       
 10354 main ()
       
 10355 {
       
 10356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
 10357 test_array [0] = 0
       
 10358 
       
 10359   ;
       
 10360   return 0;
       
 10361 }
       
 10362 _ACEOF
       
 10363 rm -f conftest.$ac_objext
       
 10364 if { (ac_try="$ac_compile"
       
 10365 case "(($ac_try" in
       
 10366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10367   *) ac_try_echo=$ac_try;;
       
 10368 esac
       
 10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10370   (eval "$ac_compile") 2>conftest.er1
       
 10371   ac_status=$?
       
 10372   grep -v '^ *+' conftest.er1 >conftest.err
       
 10373   rm -f conftest.er1
       
 10374   cat conftest.err >&5
       
 10375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10376   (exit $ac_status); } && {
       
 10377 	 test -z "$ac_c_werror_flag" ||
       
 10378 	 test ! -s conftest.err
       
 10379        } && test -s conftest.$ac_objext; then
       
 10380   ac_lo=$ac_mid; break
       
 10381 else
       
 10382   echo "$as_me: failed program was:" >&5
       
 10383 sed 's/^/| /' conftest.$ac_ext >&5
       
 10384 
       
 10385 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
 10386 			if test $ac_mid -le $ac_hi; then
       
 10387 			  ac_lo= ac_hi=
       
 10388 			  break
       
 10389 			fi
       
 10390 			ac_mid=`expr 2 '*' $ac_mid`
       
 10391 fi
       
 10392 
       
 10393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10394   done
       
 10395 else
       
 10396   echo "$as_me: failed program was:" >&5
       
 10397 sed 's/^/| /' conftest.$ac_ext >&5
       
 10398 
       
 10399 	ac_lo= ac_hi=
       
 10400 fi
       
 10401 
       
 10402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10403 fi
       
 10404 
       
 10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10406 # Binary search between lo and hi bounds.
       
 10407 while test "x$ac_lo" != "x$ac_hi"; do
       
 10408   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
 10409   cat >conftest.$ac_ext <<_ACEOF
       
 10410 /* confdefs.h.  */
       
 10411 _ACEOF
       
 10412 cat confdefs.h >>conftest.$ac_ext
       
 10413 cat >>conftest.$ac_ext <<_ACEOF
       
 10414 /* end confdefs.h.  */
       
 10415 $ac_includes_default
       
 10416    typedef long long ac__type_sizeof_;
       
 10417 int
       
 10418 main ()
       
 10419 {
       
 10420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
 10421 test_array [0] = 0
       
 10422 
       
 10423   ;
       
 10424   return 0;
       
 10425 }
       
 10426 _ACEOF
       
 10427 rm -f conftest.$ac_objext
       
 10428 if { (ac_try="$ac_compile"
       
 10429 case "(($ac_try" in
       
 10430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10431   *) ac_try_echo=$ac_try;;
       
 10432 esac
       
 10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10434   (eval "$ac_compile") 2>conftest.er1
       
 10435   ac_status=$?
       
 10436   grep -v '^ *+' conftest.er1 >conftest.err
       
 10437   rm -f conftest.er1
       
 10438   cat conftest.err >&5
       
 10439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10440   (exit $ac_status); } && {
       
 10441 	 test -z "$ac_c_werror_flag" ||
       
 10442 	 test ! -s conftest.err
       
 10443        } && test -s conftest.$ac_objext; then
       
 10444   ac_hi=$ac_mid
       
 10445 else
       
 10446   echo "$as_me: failed program was:" >&5
       
 10447 sed 's/^/| /' conftest.$ac_ext >&5
       
 10448 
       
 10449 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
 10450 fi
       
 10451 
       
 10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10453 done
       
 10454 case $ac_lo in
       
 10455 ?*) ac_cv_sizeof_long_long=$ac_lo;;
       
 10456 '') if test "$ac_cv_type_long_long" = yes; then
       
 10457      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
       
 10458 See \`config.log' for more details." >&5
       
 10459 echo "$as_me: error: cannot compute sizeof (long long)
       
 10460 See \`config.log' for more details." >&2;}
       
 10461    { (exit 77); exit 77; }; }
       
 10462    else
       
 10463      ac_cv_sizeof_long_long=0
       
 10464    fi ;;
       
 10465 esac
       
 10466 else
       
 10467   cat >conftest.$ac_ext <<_ACEOF
       
 10468 /* confdefs.h.  */
       
 10469 _ACEOF
       
 10470 cat confdefs.h >>conftest.$ac_ext
       
 10471 cat >>conftest.$ac_ext <<_ACEOF
       
 10472 /* end confdefs.h.  */
       
 10473 $ac_includes_default
       
 10474    typedef long long ac__type_sizeof_;
       
 10475 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 10476 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 10477 #include <stdio.h>
       
 10478 #include <stdlib.h>
       
 10479 int
       
 10480 main ()
       
 10481 {
       
 10482 
       
 10483   FILE *f = fopen ("conftest.val", "w");
       
 10484   if (! f)
       
 10485     return 1;
       
 10486   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
 10487     {
       
 10488       long int i = longval ();
       
 10489       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 10490 	return 1;
       
 10491       fprintf (f, "%ld\n", i);
       
 10492     }
       
 10493   else
       
 10494     {
       
 10495       unsigned long int i = ulongval ();
       
 10496       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 10497 	return 1;
       
 10498       fprintf (f, "%lu\n", i);
       
 10499     }
       
 10500   return ferror (f) || fclose (f) != 0;
       
 10501 
       
 10502   ;
       
 10503   return 0;
       
 10504 }
       
 10505 _ACEOF
       
 10506 rm -f conftest$ac_exeext
       
 10507 if { (ac_try="$ac_link"
       
 10508 case "(($ac_try" in
       
 10509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10510   *) ac_try_echo=$ac_try;;
       
 10511 esac
       
 10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10513   (eval "$ac_link") 2>&5
       
 10514   ac_status=$?
       
 10515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10516   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 10517   { (case "(($ac_try" in
       
 10518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10519   *) ac_try_echo=$ac_try;;
       
 10520 esac
       
 10521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10522   (eval "$ac_try") 2>&5
       
 10523   ac_status=$?
       
 10524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10525   (exit $ac_status); }; }; then
       
 10526   ac_cv_sizeof_long_long=`cat conftest.val`
       
 10527 else
       
 10528   echo "$as_me: program exited with status $ac_status" >&5
       
 10529 echo "$as_me: failed program was:" >&5
       
 10530 sed 's/^/| /' conftest.$ac_ext >&5
       
 10531 
       
 10532 ( exit $ac_status )
       
 10533 if test "$ac_cv_type_long_long" = yes; then
       
 10534      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
       
 10535 See \`config.log' for more details." >&5
       
 10536 echo "$as_me: error: cannot compute sizeof (long long)
       
 10537 See \`config.log' for more details." >&2;}
       
 10538    { (exit 77); exit 77; }; }
       
 10539    else
       
 10540      ac_cv_sizeof_long_long=0
       
 10541    fi
       
 10542 fi
       
 10543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 10544 fi
       
 10545 rm -f conftest.val
       
 10546 fi
       
 10547 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
       
 10548 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
       
 10549 
       
 10550 
       
 10551 
       
 10552 cat >>confdefs.h <<_ACEOF
       
 10553 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
       
 10554 _ACEOF
       
 10555 
       
 10556 
       
 10557 fi
       
 10558 
       
 10559 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
       
 10560 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
       
 10561 if test "${ac_cv_type_uintptr_t+set}" = set; then
       
 10562   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10563 else
       
 10564   cat >conftest.$ac_ext <<_ACEOF
       
 10565 /* confdefs.h.  */
       
 10566 _ACEOF
       
 10567 cat confdefs.h >>conftest.$ac_ext
       
 10568 cat >>conftest.$ac_ext <<_ACEOF
       
 10569 /* end confdefs.h.  */
       
 10570 #ifdef HAVE_STDINT_H
       
 10571         #include <stdint.h>
       
 10572         #endif
       
 10573 
       
 10574 typedef uintptr_t ac__type_new_;
       
 10575 int
       
 10576 main ()
       
 10577 {
       
 10578 if ((ac__type_new_ *) 0)
       
 10579   return 0;
       
 10580 if (sizeof (ac__type_new_))
       
 10581   return 0;
       
 10582   ;
       
 10583   return 0;
       
 10584 }
       
 10585 _ACEOF
       
 10586 rm -f conftest.$ac_objext
       
 10587 if { (ac_try="$ac_compile"
       
 10588 case "(($ac_try" in
       
 10589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10590   *) ac_try_echo=$ac_try;;
       
 10591 esac
       
 10592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10593   (eval "$ac_compile") 2>conftest.er1
       
 10594   ac_status=$?
       
 10595   grep -v '^ *+' conftest.er1 >conftest.err
       
 10596   rm -f conftest.er1
       
 10597   cat conftest.err >&5
       
 10598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10599   (exit $ac_status); } && {
       
 10600 	 test -z "$ac_c_werror_flag" ||
       
 10601 	 test ! -s conftest.err
       
 10602        } && test -s conftest.$ac_objext; then
       
 10603   ac_cv_type_uintptr_t=yes
       
 10604 else
       
 10605   echo "$as_me: failed program was:" >&5
       
 10606 sed 's/^/| /' conftest.$ac_ext >&5
       
 10607 
       
 10608 	ac_cv_type_uintptr_t=no
       
 10609 fi
       
 10610 
       
 10611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10612 fi
       
 10613 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
       
 10614 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
       
 10615 if test $ac_cv_type_uintptr_t = yes; then
       
 10616 
       
 10617 cat >>confdefs.h <<_ACEOF
       
 10618 #define HAVE_UINTPTR_T 1
       
 10619 _ACEOF
       
 10620 
       
 10621 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
       
 10622 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
       
 10623 if test "${ac_cv_type_uintptr_t+set}" = set; then
       
 10624   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10625 else
       
 10626   cat >conftest.$ac_ext <<_ACEOF
       
 10627 /* confdefs.h.  */
       
 10628 _ACEOF
       
 10629 cat confdefs.h >>conftest.$ac_ext
       
 10630 cat >>conftest.$ac_ext <<_ACEOF
       
 10631 /* end confdefs.h.  */
       
 10632 $ac_includes_default
       
 10633 typedef uintptr_t ac__type_new_;
       
 10634 int
       
 10635 main ()
       
 10636 {
       
 10637 if ((ac__type_new_ *) 0)
       
 10638   return 0;
       
 10639 if (sizeof (ac__type_new_))
       
 10640   return 0;
       
 10641   ;
       
 10642   return 0;
       
 10643 }
       
 10644 _ACEOF
       
 10645 rm -f conftest.$ac_objext
       
 10646 if { (ac_try="$ac_compile"
       
 10647 case "(($ac_try" in
       
 10648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10649   *) ac_try_echo=$ac_try;;
       
 10650 esac
       
 10651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10652   (eval "$ac_compile") 2>conftest.er1
       
 10653   ac_status=$?
       
 10654   grep -v '^ *+' conftest.er1 >conftest.err
       
 10655   rm -f conftest.er1
       
 10656   cat conftest.err >&5
       
 10657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10658   (exit $ac_status); } && {
       
 10659 	 test -z "$ac_c_werror_flag" ||
       
 10660 	 test ! -s conftest.err
       
 10661        } && test -s conftest.$ac_objext; then
       
 10662   ac_cv_type_uintptr_t=yes
       
 10663 else
       
 10664   echo "$as_me: failed program was:" >&5
       
 10665 sed 's/^/| /' conftest.$ac_ext >&5
       
 10666 
       
 10667 	ac_cv_type_uintptr_t=no
       
 10668 fi
       
 10669 
       
 10670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10671 fi
       
 10672 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
       
 10673 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
       
 10674 
       
 10675 # The cast to long int works around a bug in the HP C Compiler
       
 10676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
 10677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
 10678 # This bug is HP SR number 8606223364.
       
 10679 { echo "$as_me:$LINENO: checking size of uintptr_t" >&5
       
 10680 echo $ECHO_N "checking size of uintptr_t... $ECHO_C" >&6; }
       
 10681 if test "${ac_cv_sizeof_uintptr_t+set}" = set; then
       
 10682   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10683 else
       
 10684   if test "$cross_compiling" = yes; then
       
 10685   # Depending upon the size, compute the lo and hi bounds.
       
 10686 cat >conftest.$ac_ext <<_ACEOF
       
 10687 /* confdefs.h.  */
       
 10688 _ACEOF
       
 10689 cat confdefs.h >>conftest.$ac_ext
       
 10690 cat >>conftest.$ac_ext <<_ACEOF
       
 10691 /* end confdefs.h.  */
       
 10692 $ac_includes_default
       
 10693    typedef uintptr_t ac__type_sizeof_;
       
 10694 int
       
 10695 main ()
       
 10696 {
       
 10697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
 10698 test_array [0] = 0
       
 10699 
       
 10700   ;
       
 10701   return 0;
       
 10702 }
       
 10703 _ACEOF
       
 10704 rm -f conftest.$ac_objext
       
 10705 if { (ac_try="$ac_compile"
       
 10706 case "(($ac_try" in
       
 10707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10708   *) ac_try_echo=$ac_try;;
       
 10709 esac
       
 10710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10711   (eval "$ac_compile") 2>conftest.er1
       
 10712   ac_status=$?
       
 10713   grep -v '^ *+' conftest.er1 >conftest.err
       
 10714   rm -f conftest.er1
       
 10715   cat conftest.err >&5
       
 10716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10717   (exit $ac_status); } && {
       
 10718 	 test -z "$ac_c_werror_flag" ||
       
 10719 	 test ! -s conftest.err
       
 10720        } && test -s conftest.$ac_objext; then
       
 10721   ac_lo=0 ac_mid=0
       
 10722   while :; do
       
 10723     cat >conftest.$ac_ext <<_ACEOF
       
 10724 /* confdefs.h.  */
       
 10725 _ACEOF
       
 10726 cat confdefs.h >>conftest.$ac_ext
       
 10727 cat >>conftest.$ac_ext <<_ACEOF
       
 10728 /* end confdefs.h.  */
       
 10729 $ac_includes_default
       
 10730    typedef uintptr_t ac__type_sizeof_;
       
 10731 int
       
 10732 main ()
       
 10733 {
       
 10734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
 10735 test_array [0] = 0
       
 10736 
       
 10737   ;
       
 10738   return 0;
       
 10739 }
       
 10740 _ACEOF
       
 10741 rm -f conftest.$ac_objext
       
 10742 if { (ac_try="$ac_compile"
       
 10743 case "(($ac_try" in
       
 10744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10745   *) ac_try_echo=$ac_try;;
       
 10746 esac
       
 10747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10748   (eval "$ac_compile") 2>conftest.er1
       
 10749   ac_status=$?
       
 10750   grep -v '^ *+' conftest.er1 >conftest.err
       
 10751   rm -f conftest.er1
       
 10752   cat conftest.err >&5
       
 10753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10754   (exit $ac_status); } && {
       
 10755 	 test -z "$ac_c_werror_flag" ||
       
 10756 	 test ! -s conftest.err
       
 10757        } && test -s conftest.$ac_objext; then
       
 10758   ac_hi=$ac_mid; break
       
 10759 else
       
 10760   echo "$as_me: failed program was:" >&5
       
 10761 sed 's/^/| /' conftest.$ac_ext >&5
       
 10762 
       
 10763 	ac_lo=`expr $ac_mid + 1`
       
 10764 			if test $ac_lo -le $ac_mid; then
       
 10765 			  ac_lo= ac_hi=
       
 10766 			  break
       
 10767 			fi
       
 10768 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
 10769 fi
       
 10770 
       
 10771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10772   done
       
 10773 else
       
 10774   echo "$as_me: failed program was:" >&5
       
 10775 sed 's/^/| /' conftest.$ac_ext >&5
       
 10776 
       
 10777 	cat >conftest.$ac_ext <<_ACEOF
       
 10778 /* confdefs.h.  */
       
 10779 _ACEOF
       
 10780 cat confdefs.h >>conftest.$ac_ext
       
 10781 cat >>conftest.$ac_ext <<_ACEOF
       
 10782 /* end confdefs.h.  */
       
 10783 $ac_includes_default
       
 10784    typedef uintptr_t ac__type_sizeof_;
       
 10785 int
       
 10786 main ()
       
 10787 {
       
 10788 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
 10789 test_array [0] = 0
       
 10790 
       
 10791   ;
       
 10792   return 0;
       
 10793 }
       
 10794 _ACEOF
       
 10795 rm -f conftest.$ac_objext
       
 10796 if { (ac_try="$ac_compile"
       
 10797 case "(($ac_try" in
       
 10798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10799   *) ac_try_echo=$ac_try;;
       
 10800 esac
       
 10801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10802   (eval "$ac_compile") 2>conftest.er1
       
 10803   ac_status=$?
       
 10804   grep -v '^ *+' conftest.er1 >conftest.err
       
 10805   rm -f conftest.er1
       
 10806   cat conftest.err >&5
       
 10807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10808   (exit $ac_status); } && {
       
 10809 	 test -z "$ac_c_werror_flag" ||
       
 10810 	 test ! -s conftest.err
       
 10811        } && test -s conftest.$ac_objext; then
       
 10812   ac_hi=-1 ac_mid=-1
       
 10813   while :; do
       
 10814     cat >conftest.$ac_ext <<_ACEOF
       
 10815 /* confdefs.h.  */
       
 10816 _ACEOF
       
 10817 cat confdefs.h >>conftest.$ac_ext
       
 10818 cat >>conftest.$ac_ext <<_ACEOF
       
 10819 /* end confdefs.h.  */
       
 10820 $ac_includes_default
       
 10821    typedef uintptr_t ac__type_sizeof_;
       
 10822 int
       
 10823 main ()
       
 10824 {
       
 10825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
 10826 test_array [0] = 0
       
 10827 
       
 10828   ;
       
 10829   return 0;
       
 10830 }
       
 10831 _ACEOF
       
 10832 rm -f conftest.$ac_objext
       
 10833 if { (ac_try="$ac_compile"
       
 10834 case "(($ac_try" in
       
 10835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10836   *) ac_try_echo=$ac_try;;
       
 10837 esac
       
 10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10839   (eval "$ac_compile") 2>conftest.er1
       
 10840   ac_status=$?
       
 10841   grep -v '^ *+' conftest.er1 >conftest.err
       
 10842   rm -f conftest.er1
       
 10843   cat conftest.err >&5
       
 10844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10845   (exit $ac_status); } && {
       
 10846 	 test -z "$ac_c_werror_flag" ||
       
 10847 	 test ! -s conftest.err
       
 10848        } && test -s conftest.$ac_objext; then
       
 10849   ac_lo=$ac_mid; break
       
 10850 else
       
 10851   echo "$as_me: failed program was:" >&5
       
 10852 sed 's/^/| /' conftest.$ac_ext >&5
       
 10853 
       
 10854 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
 10855 			if test $ac_mid -le $ac_hi; then
       
 10856 			  ac_lo= ac_hi=
       
 10857 			  break
       
 10858 			fi
       
 10859 			ac_mid=`expr 2 '*' $ac_mid`
       
 10860 fi
       
 10861 
       
 10862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10863   done
       
 10864 else
       
 10865   echo "$as_me: failed program was:" >&5
       
 10866 sed 's/^/| /' conftest.$ac_ext >&5
       
 10867 
       
 10868 	ac_lo= ac_hi=
       
 10869 fi
       
 10870 
       
 10871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10872 fi
       
 10873 
       
 10874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10875 # Binary search between lo and hi bounds.
       
 10876 while test "x$ac_lo" != "x$ac_hi"; do
       
 10877   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
 10878   cat >conftest.$ac_ext <<_ACEOF
       
 10879 /* confdefs.h.  */
       
 10880 _ACEOF
       
 10881 cat confdefs.h >>conftest.$ac_ext
       
 10882 cat >>conftest.$ac_ext <<_ACEOF
       
 10883 /* end confdefs.h.  */
       
 10884 $ac_includes_default
       
 10885    typedef uintptr_t ac__type_sizeof_;
       
 10886 int
       
 10887 main ()
       
 10888 {
       
 10889 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
 10890 test_array [0] = 0
       
 10891 
       
 10892   ;
       
 10893   return 0;
       
 10894 }
       
 10895 _ACEOF
       
 10896 rm -f conftest.$ac_objext
       
 10897 if { (ac_try="$ac_compile"
       
 10898 case "(($ac_try" in
       
 10899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10900   *) ac_try_echo=$ac_try;;
       
 10901 esac
       
 10902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10903   (eval "$ac_compile") 2>conftest.er1
       
 10904   ac_status=$?
       
 10905   grep -v '^ *+' conftest.er1 >conftest.err
       
 10906   rm -f conftest.er1
       
 10907   cat conftest.err >&5
       
 10908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10909   (exit $ac_status); } && {
       
 10910 	 test -z "$ac_c_werror_flag" ||
       
 10911 	 test ! -s conftest.err
       
 10912        } && test -s conftest.$ac_objext; then
       
 10913   ac_hi=$ac_mid
       
 10914 else
       
 10915   echo "$as_me: failed program was:" >&5
       
 10916 sed 's/^/| /' conftest.$ac_ext >&5
       
 10917 
       
 10918 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
 10919 fi
       
 10920 
       
 10921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 10922 done
       
 10923 case $ac_lo in
       
 10924 ?*) ac_cv_sizeof_uintptr_t=$ac_lo;;
       
 10925 '') if test "$ac_cv_type_uintptr_t" = yes; then
       
 10926      { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintptr_t)
       
 10927 See \`config.log' for more details." >&5
       
 10928 echo "$as_me: error: cannot compute sizeof (uintptr_t)
       
 10929 See \`config.log' for more details." >&2;}
       
 10930    { (exit 77); exit 77; }; }
       
 10931    else
       
 10932      ac_cv_sizeof_uintptr_t=0
       
 10933    fi ;;
       
 10934 esac
       
 10935 else
       
 10936   cat >conftest.$ac_ext <<_ACEOF
       
 10937 /* confdefs.h.  */
       
 10938 _ACEOF
       
 10939 cat confdefs.h >>conftest.$ac_ext
       
 10940 cat >>conftest.$ac_ext <<_ACEOF
       
 10941 /* end confdefs.h.  */
       
 10942 $ac_includes_default
       
 10943    typedef uintptr_t ac__type_sizeof_;
       
 10944 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 10945 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 10946 #include <stdio.h>
       
 10947 #include <stdlib.h>
       
 10948 int
       
 10949 main ()
       
 10950 {
       
 10951 
       
 10952   FILE *f = fopen ("conftest.val", "w");
       
 10953   if (! f)
       
 10954     return 1;
       
 10955   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
 10956     {
       
 10957       long int i = longval ();
       
 10958       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 10959 	return 1;
       
 10960       fprintf (f, "%ld\n", i);
       
 10961     }
       
 10962   else
       
 10963     {
       
 10964       unsigned long int i = ulongval ();
       
 10965       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 10966 	return 1;
       
 10967       fprintf (f, "%lu\n", i);
       
 10968     }
       
 10969   return ferror (f) || fclose (f) != 0;
       
 10970 
       
 10971   ;
       
 10972   return 0;
       
 10973 }
       
 10974 _ACEOF
       
 10975 rm -f conftest$ac_exeext
       
 10976 if { (ac_try="$ac_link"
       
 10977 case "(($ac_try" in
       
 10978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10979   *) ac_try_echo=$ac_try;;
       
 10980 esac
       
 10981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10982   (eval "$ac_link") 2>&5
       
 10983   ac_status=$?
       
 10984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10985   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 10986   { (case "(($ac_try" in
       
 10987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10988   *) ac_try_echo=$ac_try;;
       
 10989 esac
       
 10990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10991   (eval "$ac_try") 2>&5
       
 10992   ac_status=$?
       
 10993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10994   (exit $ac_status); }; }; then
       
 10995   ac_cv_sizeof_uintptr_t=`cat conftest.val`
       
 10996 else
       
 10997   echo "$as_me: program exited with status $ac_status" >&5
       
 10998 echo "$as_me: failed program was:" >&5
       
 10999 sed 's/^/| /' conftest.$ac_ext >&5
       
 11000 
       
 11001 ( exit $ac_status )
       
 11002 if test "$ac_cv_type_uintptr_t" = yes; then
       
 11003      { { echo "$as_me:$LINENO: error: cannot compute sizeof (uintptr_t)
       
 11004 See \`config.log' for more details." >&5
       
 11005 echo "$as_me: error: cannot compute sizeof (uintptr_t)
       
 11006 See \`config.log' for more details." >&2;}
       
 11007    { (exit 77); exit 77; }; }
       
 11008    else
       
 11009      ac_cv_sizeof_uintptr_t=0
       
 11010    fi
       
 11011 fi
       
 11012 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 11013 fi
       
 11014 rm -f conftest.val
       
 11015 fi
       
 11016 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_uintptr_t" >&5
       
 11017 echo "${ECHO_T}$ac_cv_sizeof_uintptr_t" >&6; }
       
 11018 
       
 11019 
       
 11020 
       
 11021 cat >>confdefs.h <<_ACEOF
       
 11022 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
       
 11023 _ACEOF
       
 11024 
       
 11025 
       
 11026 fi
       
 11027 
       
 11028 
       
 11029 
       
 11030 # Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.
       
 11031 { echo "$as_me:$LINENO: checking size of off_t" >&5
       
 11032 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
       
 11033 if test "${ac_cv_sizeof_off_t+set}" = set; then
       
 11034   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11035 else
       
 11036   if test "$cross_compiling" = yes; then
       
 11037   ac_cv_sizeof_off_t=4
       
 11038 else
       
 11039   cat >conftest.$ac_ext <<_ACEOF
       
 11040 /* confdefs.h.  */
       
 11041 _ACEOF
       
 11042 cat confdefs.h >>conftest.$ac_ext
       
 11043 cat >>conftest.$ac_ext <<_ACEOF
       
 11044 /* end confdefs.h.  */
       
 11045 #include <stdio.h>
       
 11046 #include <sys/types.h>
       
 11047 main()
       
 11048 {
       
 11049   FILE *f=fopen("conftestval", "w");
       
 11050   if (!f) exit(1);
       
 11051   fprintf(f, "%d\n", sizeof(off_t));
       
 11052   exit(0);
       
 11053 }
       
 11054 _ACEOF
       
 11055 rm -f conftest$ac_exeext
       
 11056 if { (ac_try="$ac_link"
       
 11057 case "(($ac_try" in
       
 11058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11059   *) ac_try_echo=$ac_try;;
       
 11060 esac
       
 11061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11062   (eval "$ac_link") 2>&5
       
 11063   ac_status=$?
       
 11064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11065   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 11066   { (case "(($ac_try" in
       
 11067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11068   *) ac_try_echo=$ac_try;;
       
 11069 esac
       
 11070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11071   (eval "$ac_try") 2>&5
       
 11072   ac_status=$?
       
 11073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11074   (exit $ac_status); }; }; then
       
 11075   ac_cv_sizeof_off_t=`cat conftestval`
       
 11076 else
       
 11077   echo "$as_me: program exited with status $ac_status" >&5
       
 11078 echo "$as_me: failed program was:" >&5
       
 11079 sed 's/^/| /' conftest.$ac_ext >&5
       
 11080 
       
 11081 ( exit $ac_status )
       
 11082 ac_cv_sizeof_off_t=0
       
 11083 fi
       
 11084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 11085 fi
       
 11086 
       
 11087 
       
 11088 
       
 11089 fi
       
 11090 
       
 11091 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
       
 11092 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
       
 11093 
       
 11094 cat >>confdefs.h <<_ACEOF
       
 11095 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
       
 11096 _ACEOF
       
 11097 
       
 11098 
       
 11099 { echo "$as_me:$LINENO: checking whether to enable large file support" >&5
       
 11100 echo $ECHO_N "checking whether to enable large file support... $ECHO_C" >&6; }
       
 11101 if test "$have_long_long" = yes -a \
       
 11102 	"$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
       
 11103 	"$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
       
 11104 
       
 11105 cat >>confdefs.h <<\_ACEOF
       
 11106 #define HAVE_LARGEFILE_SUPPORT 1
       
 11107 _ACEOF
       
 11108 
       
 11109   { echo "$as_me:$LINENO: result: yes" >&5
       
 11110 echo "${ECHO_T}yes" >&6; }
       
 11111 else
       
 11112   { echo "$as_me:$LINENO: result: no" >&5
       
 11113 echo "${ECHO_T}no" >&6; }
       
 11114 fi
       
 11115 
       
 11116 # AC_CHECK_SIZEOF() doesn't include <time.h>.
       
 11117 { echo "$as_me:$LINENO: checking size of time_t" >&5
       
 11118 echo $ECHO_N "checking size of time_t... $ECHO_C" >&6; }
       
 11119 if test "${ac_cv_sizeof_time_t+set}" = set; then
       
 11120   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11121 else
       
 11122   if test "$cross_compiling" = yes; then
       
 11123   ac_cv_sizeof_time_t=4
       
 11124 else
       
 11125   cat >conftest.$ac_ext <<_ACEOF
       
 11126 /* confdefs.h.  */
       
 11127 _ACEOF
       
 11128 cat confdefs.h >>conftest.$ac_ext
       
 11129 cat >>conftest.$ac_ext <<_ACEOF
       
 11130 /* end confdefs.h.  */
       
 11131 #include <stdio.h>
       
 11132 #include <time.h>
       
 11133 main()
       
 11134 {
       
 11135   FILE *f=fopen("conftestval", "w");
       
 11136   if (!f) exit(1);
       
 11137   fprintf(f, "%d\n", sizeof(time_t));
       
 11138   exit(0);
       
 11139 }
       
 11140 _ACEOF
       
 11141 rm -f conftest$ac_exeext
       
 11142 if { (ac_try="$ac_link"
       
 11143 case "(($ac_try" in
       
 11144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11145   *) ac_try_echo=$ac_try;;
       
 11146 esac
       
 11147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11148   (eval "$ac_link") 2>&5
       
 11149   ac_status=$?
       
 11150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11151   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 11152   { (case "(($ac_try" in
       
 11153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11154   *) ac_try_echo=$ac_try;;
       
 11155 esac
       
 11156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11157   (eval "$ac_try") 2>&5
       
 11158   ac_status=$?
       
 11159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11160   (exit $ac_status); }; }; then
       
 11161   ac_cv_sizeof_time_t=`cat conftestval`
       
 11162 else
       
 11163   echo "$as_me: program exited with status $ac_status" >&5
       
 11164 echo "$as_me: failed program was:" >&5
       
 11165 sed 's/^/| /' conftest.$ac_ext >&5
       
 11166 
       
 11167 ( exit $ac_status )
       
 11168 ac_cv_sizeof_time_t=0
       
 11169 fi
       
 11170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 11171 fi
       
 11172 
       
 11173 
       
 11174 
       
 11175 fi
       
 11176 
       
 11177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5
       
 11178 echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6; }
       
 11179 
       
 11180 cat >>confdefs.h <<_ACEOF
       
 11181 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
       
 11182 _ACEOF
       
 11183 
       
 11184 
       
 11185 
       
 11186 # if have pthread_t then define SIZEOF_PTHREAD_T
       
 11187 ac_save_cc="$CC"
       
 11188 if test "$ac_cv_kpthread" = "yes"
       
 11189 then CC="$CC -Kpthread"
       
 11190 elif test "$ac_cv_kthread" = "yes"
       
 11191 then CC="$CC -Kthread"
       
 11192 elif test "$ac_cv_pthread" = "yes"
       
 11193 then CC="$CC -pthread"
       
 11194 fi
       
 11195 { echo "$as_me:$LINENO: checking for pthread_t" >&5
       
 11196 echo $ECHO_N "checking for pthread_t... $ECHO_C" >&6; }
       
 11197 have_pthread_t=no
       
 11198 cat >conftest.$ac_ext <<_ACEOF
       
 11199 /* confdefs.h.  */
       
 11200 _ACEOF
       
 11201 cat confdefs.h >>conftest.$ac_ext
       
 11202 cat >>conftest.$ac_ext <<_ACEOF
       
 11203 /* end confdefs.h.  */
       
 11204 #include <pthread.h>
       
 11205 int
       
 11206 main ()
       
 11207 {
       
 11208 pthread_t x; x = *(pthread_t*)0;
       
 11209   ;
       
 11210   return 0;
       
 11211 }
       
 11212 _ACEOF
       
 11213 rm -f conftest.$ac_objext
       
 11214 if { (ac_try="$ac_compile"
       
 11215 case "(($ac_try" in
       
 11216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11217   *) ac_try_echo=$ac_try;;
       
 11218 esac
       
 11219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11220   (eval "$ac_compile") 2>conftest.er1
       
 11221   ac_status=$?
       
 11222   grep -v '^ *+' conftest.er1 >conftest.err
       
 11223   rm -f conftest.er1
       
 11224   cat conftest.err >&5
       
 11225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11226   (exit $ac_status); } && {
       
 11227 	 test -z "$ac_c_werror_flag" ||
       
 11228 	 test ! -s conftest.err
       
 11229        } && test -s conftest.$ac_objext; then
       
 11230   have_pthread_t=yes
       
 11231 else
       
 11232   echo "$as_me: failed program was:" >&5
       
 11233 sed 's/^/| /' conftest.$ac_ext >&5
       
 11234 
       
 11235 
       
 11236 fi
       
 11237 
       
 11238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 11239 { echo "$as_me:$LINENO: result: $have_pthread_t" >&5
       
 11240 echo "${ECHO_T}$have_pthread_t" >&6; }
       
 11241 if test "$have_pthread_t" = yes ; then
       
 11242   # AC_CHECK_SIZEOF() doesn't include <pthread.h>.
       
 11243   { echo "$as_me:$LINENO: checking size of pthread_t" >&5
       
 11244 echo $ECHO_N "checking size of pthread_t... $ECHO_C" >&6; }
       
 11245   if test "${ac_cv_sizeof_pthread_t+set}" = set; then
       
 11246   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11247 else
       
 11248   if test "$cross_compiling" = yes; then
       
 11249   ac_cv_sizeof_pthread_t=4
       
 11250 else
       
 11251   cat >conftest.$ac_ext <<_ACEOF
       
 11252 /* confdefs.h.  */
       
 11253 _ACEOF
       
 11254 cat confdefs.h >>conftest.$ac_ext
       
 11255 cat >>conftest.$ac_ext <<_ACEOF
       
 11256 /* end confdefs.h.  */
       
 11257 #include <stdio.h>
       
 11258 #include <pthread.h>
       
 11259   main()
       
 11260   {
       
 11261     FILE *f=fopen("conftestval", "w");
       
 11262     if (!f) exit(1);
       
 11263     fprintf(f, "%d\n", sizeof(pthread_t));
       
 11264     exit(0);
       
 11265   }
       
 11266 _ACEOF
       
 11267 rm -f conftest$ac_exeext
       
 11268 if { (ac_try="$ac_link"
       
 11269 case "(($ac_try" in
       
 11270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11271   *) ac_try_echo=$ac_try;;
       
 11272 esac
       
 11273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11274   (eval "$ac_link") 2>&5
       
 11275   ac_status=$?
       
 11276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11277   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 11278   { (case "(($ac_try" in
       
 11279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11280   *) ac_try_echo=$ac_try;;
       
 11281 esac
       
 11282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11283   (eval "$ac_try") 2>&5
       
 11284   ac_status=$?
       
 11285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11286   (exit $ac_status); }; }; then
       
 11287   ac_cv_sizeof_pthread_t=`cat conftestval`
       
 11288 else
       
 11289   echo "$as_me: program exited with status $ac_status" >&5
       
 11290 echo "$as_me: failed program was:" >&5
       
 11291 sed 's/^/| /' conftest.$ac_ext >&5
       
 11292 
       
 11293 ( exit $ac_status )
       
 11294 ac_cv_sizeof_pthread_t=0
       
 11295 fi
       
 11296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 11297 fi
       
 11298 
       
 11299 
       
 11300 
       
 11301 fi
       
 11302 
       
 11303   { echo "$as_me:$LINENO: result: $ac_cv_sizeof_pthread_t" >&5
       
 11304 echo "${ECHO_T}$ac_cv_sizeof_pthread_t" >&6; }
       
 11305 
       
 11306 cat >>confdefs.h <<_ACEOF
       
 11307 #define SIZEOF_PTHREAD_T $ac_cv_sizeof_pthread_t
       
 11308 _ACEOF
       
 11309 
       
 11310 fi
       
 11311 CC="$ac_save_cc"
       
 11312 
       
 11313 { echo "$as_me:$LINENO: checking for --enable-toolbox-glue" >&5
       
 11314 echo $ECHO_N "checking for --enable-toolbox-glue... $ECHO_C" >&6; }
       
 11315 # Check whether --enable-toolbox-glue was given.
       
 11316 if test "${enable_toolbox_glue+set}" = set; then
       
 11317   enableval=$enable_toolbox_glue;
       
 11318 fi
       
 11319 
       
 11320 
       
 11321 if test -z "$enable_toolbox_glue"
       
 11322 then
       
 11323 	case $ac_sys_system/$ac_sys_release in
       
 11324 	Darwin/*)
       
 11325 		enable_toolbox_glue="yes";;
       
 11326 	*)
       
 11327 		enable_toolbox_glue="no";;
       
 11328 	esac
       
 11329 fi
       
 11330 case "$enable_toolbox_glue" in
       
 11331 yes)
       
 11332 	extra_machdep_objs="Python/mactoolboxglue.o"
       
 11333 	extra_undefs="-u _PyMac_Error"
       
 11334 
       
 11335 cat >>confdefs.h <<\_ACEOF
       
 11336 #define USE_TOOLBOX_OBJECT_GLUE 1
       
 11337 _ACEOF
       
 11338 
       
 11339 	;;
       
 11340 *)
       
 11341 	extra_machdep_objs=""
       
 11342 	extra_undefs=""
       
 11343 	;;
       
 11344 esac
       
 11345 { echo "$as_me:$LINENO: result: $enable_toolbox_glue" >&5
       
 11346 echo "${ECHO_T}$enable_toolbox_glue" >&6; }
       
 11347 
       
 11348 
       
 11349 case $ac_sys_system/$ac_sys_release in
       
 11350   Darwin/[01567]\..*)
       
 11351     OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
       
 11352     ;;
       
 11353   Darwin/*)
       
 11354     OTHER_LIBTOOL_OPT=""
       
 11355     ;;
       
 11356 esac
       
 11357 
       
 11358 
       
 11359 case $ac_sys_system/$ac_sys_release in
       
 11360   Darwin/[01567]\..*)
       
 11361     LIBTOOL_CRUFT="-framework System -lcc_dynamic"
       
 11362     if test "${enable_universalsdk}"; then
       
 11363 	    :
       
 11364     else
       
 11365 	LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `arch`"
       
 11366     fi
       
 11367     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11368     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
       
 11369   Darwin/*)
       
 11370     gcc_version=`gcc -v 2>&1 |  grep version | cut -d\  -f3`
       
 11371     if test ${gcc_version} '<' 4.0
       
 11372         then
       
 11373             LIBTOOL_CRUFT="-lcc_dynamic"
       
 11374         else
       
 11375             LIBTOOL_CRUFT=""
       
 11376     fi
       
 11377     LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only `arch`"
       
 11378     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11379     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
       
 11380 esac
       
 11381 
       
 11382 { echo "$as_me:$LINENO: checking for --enable-framework" >&5
       
 11383 echo $ECHO_N "checking for --enable-framework... $ECHO_C" >&6; }
       
 11384 if test "$enable_framework"
       
 11385 then
       
 11386 	BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
       
 11387 	# -F. is needed to allow linking to the framework while
       
 11388 	# in the build location.
       
 11389 
       
 11390 cat >>confdefs.h <<\_ACEOF
       
 11391 #define WITH_NEXT_FRAMEWORK 1
       
 11392 _ACEOF
       
 11393 
       
 11394 	{ echo "$as_me:$LINENO: result: yes" >&5
       
 11395 echo "${ECHO_T}yes" >&6; }
       
 11396 else
       
 11397 	{ echo "$as_me:$LINENO: result: no" >&5
       
 11398 echo "${ECHO_T}no" >&6; }
       
 11399 fi
       
 11400 
       
 11401 { echo "$as_me:$LINENO: checking for dyld" >&5
       
 11402 echo $ECHO_N "checking for dyld... $ECHO_C" >&6; }
       
 11403 case $ac_sys_system/$ac_sys_release in
       
 11404   Darwin/*)
       
 11405 
       
 11406 cat >>confdefs.h <<\_ACEOF
       
 11407 #define WITH_DYLD 1
       
 11408 _ACEOF
       
 11409 
       
 11410   	{ echo "$as_me:$LINENO: result: always on for Darwin" >&5
       
 11411 echo "${ECHO_T}always on for Darwin" >&6; }
       
 11412   	;;
       
 11413   *)
       
 11414 	{ echo "$as_me:$LINENO: result: no" >&5
       
 11415 echo "${ECHO_T}no" >&6; }
       
 11416 	;;
       
 11417 esac
       
 11418 
       
 11419 # Set info about shared libraries.
       
 11420 
       
 11421 
       
 11422 
       
 11423 
       
 11424 
       
 11425 # SO is the extension of shared libraries `(including the dot!)
       
 11426 # -- usually .so, .sl on HP-UX, .dll on Cygwin
       
 11427 { echo "$as_me:$LINENO: checking SO" >&5
       
 11428 echo $ECHO_N "checking SO... $ECHO_C" >&6; }
       
 11429 if test -z "$SO"
       
 11430 then
       
 11431 	case $ac_sys_system in
       
 11432 	hp*|HP*)
       
 11433 		case `uname -m` in
       
 11434 			ia64) SO=.so;;
       
 11435 	  		*)    SO=.sl;;
       
 11436 		esac
       
 11437 		;;
       
 11438 	CYGWIN*)   SO=.dll;;
       
 11439 	*)	   SO=.so;;
       
 11440 	esac
       
 11441 else
       
 11442 	# this might also be a termcap variable, see #610332
       
 11443         echo
       
 11444         echo '====================================================================='
       
 11445         echo '+                                                                   +'
       
 11446 	echo '+ WARNING: You have set SO in your environment.                     +'
       
 11447         echo '+ Do you really mean to change the extension for shared libraries?  +'
       
 11448         echo '+ Continuing in 10 seconds to let you to ponder.                    +'
       
 11449         echo '+                                                                   +'
       
 11450         echo '====================================================================='
       
 11451 	sleep 10
       
 11452 fi
       
 11453 { echo "$as_me:$LINENO: result: $SO" >&5
       
 11454 echo "${ECHO_T}$SO" >&6; }
       
 11455 
       
 11456 cat >>confdefs.h <<_ACEOF
       
 11457 #define SHLIB_EXT "$SO"
       
 11458 _ACEOF
       
 11459 
       
 11460 # LDSHARED is the ld *command* used to create shared library
       
 11461 # -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
       
 11462 # (Shared libraries in this instance are shared modules to be loaded into
       
 11463 # Python, as opposed to building Python itself as a shared library.)
       
 11464 { echo "$as_me:$LINENO: checking LDSHARED" >&5
       
 11465 echo $ECHO_N "checking LDSHARED... $ECHO_C" >&6; }
       
 11466 if test -z "$LDSHARED"
       
 11467 then
       
 11468 	case $ac_sys_system/$ac_sys_release in
       
 11469 	AIX*)
       
 11470 		BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
       
 11471 		LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
       
 11472 		;;
       
 11473 	BeOS*)
       
 11474 		BLDSHARED="\$(srcdir)/Modules/ld_so_beos $LDLIBRARY"
       
 11475 		LDSHARED="\$(BINLIBDEST)/config/ld_so_beos \$(LIBDIR)/$LDLIBRARY"
       
 11476 		;;
       
 11477 	IRIX/5*) LDSHARED="ld -shared";;
       
 11478 	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
       
 11479 	SunOS/5*)
       
 11480 		if test "$GCC" = "yes"
       
 11481 		then LDSHARED='$(CC) -shared'
       
 11482 		else LDSHARED='$(CC) -G';
       
 11483 		fi ;;
       
 11484 	hp*|HP*) LDSHARED="ld -b";;
       
 11485 	OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
       
 11486 	Darwin/1.3*)
       
 11487 		LDSHARED='$(CC) $(LDFLAGS) -bundle'
       
 11488 		if test "$enable_framework" ; then
       
 11489 			# Link against the framework. All externals should be defined.
       
 11490 			BLDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11491 			LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11492 		else
       
 11493 			# No framework. Ignore undefined symbols, assuming they come from Python
       
 11494 			LDSHARED="$LDSHARED -undefined suppress"
       
 11495 		fi ;;
       
 11496 	Darwin/1.4*|Darwin/5.*|Darwin/6.*)
       
 11497 		LDSHARED='$(CC) $(LDFLAGS) -bundle'
       
 11498 		if test "$enable_framework" ; then
       
 11499 			# Link against the framework. All externals should be defined.
       
 11500 			BLDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11501 			LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11502 		else
       
 11503 			# No framework, use the Python app as bundle-loader
       
 11504 			BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
       
 11505 			LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
       
 11506 		fi ;;
       
 11507 	Darwin/*)
       
 11508 		# Use -undefined dynamic_lookup whenever possible (10.3 and later).
       
 11509 		# This allows an extension to be used in any Python
       
 11510 		cur_target=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
       
 11511 		if test ${cur_target} '>' 10.2; then
       
 11512 			cur_target=10.3
       
 11513 		fi
       
 11514 		CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
       
 11515 
       
 11516 		# Make sure that MACOSX_DEPLOYMENT_TARGET is set in the
       
 11517 		# environment with a value that is the same as what we'll use
       
 11518 		# in the Makefile to ensure that we'll get the same compiler
       
 11519 		# environment during configure and build time.
       
 11520 		MACOSX_DEPLOYMENT_TARGET="$CONFIGURE_MACOSX_DEPLOYMENT_TARGET"
       
 11521 		export MACOSX_DEPLOYMENT_TARGET
       
 11522 
       
 11523 		EXPORT_MACOSX_DEPLOYMENT_TARGET=''
       
 11524 		if test ${MACOSX_DEPLOYMENT_TARGET-${cur_target}} '>' 10.2
       
 11525 		then
       
 11526 			if test "${enable_universalsdk}"; then
       
 11527 				LDFLAGS="-arch i386 -arch ppc -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
       
 11528 			fi
       
 11529 			LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
       
 11530 			BLDSHARED="$LDSHARED"
       
 11531 		else
       
 11532 			LDSHARED='$(CC) $(LDFLAGS) -bundle'
       
 11533 			if test "$enable_framework" ; then
       
 11534 				# Link against the framework. All externals should be defined.
       
 11535 				BLDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11536 				LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11537 			else
       
 11538 				# No framework, use the Python app as bundle-loader
       
 11539 				BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
       
 11540 				LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
       
 11541 			fi
       
 11542 		fi
       
 11543 		;;
       
 11544 	Linux*|GNU*) LDSHARED='$(CC) -shared';;
       
 11545 	BSD/OS*/4*) LDSHARED="gcc -shared";;
       
 11546 	FreeBSD*)
       
 11547 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
       
 11548 		then
       
 11549 			LDSHARED="$CC -shared ${LDFLAGS}"
       
 11550 		else
       
 11551 			LDSHARED="ld -Bshareable ${LDFLAGS}"
       
 11552 		fi;;
       
 11553 	OpenBSD*)
       
 11554 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
       
 11555 		then
       
 11556 				LDSHARED='$(CC) -shared $(CCSHARED) ${LDFLAGS}'
       
 11557 		else
       
 11558 				case `uname -r` in
       
 11559 				[01].* | 2.[0-7] | 2.[0-7].*)
       
 11560 				   LDSHARED="ld -Bshareable ${LDFLAGS}"
       
 11561 				   ;;
       
 11562 				*)
       
 11563 				   LDSHARED='$(CC) -shared $(CCSHARED) ${LDFLAGS}'
       
 11564 				   ;;
       
 11565 				esac
       
 11566 		fi;;
       
 11567 	NetBSD*|DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";;
       
 11568 	OpenUNIX*|UnixWare*)
       
 11569 		if test "$GCC" = "yes"
       
 11570 		then LDSHARED='$(CC) -shared'
       
 11571 		else LDSHARED='$(CC) -G'
       
 11572 		fi;;
       
 11573 	SCO_SV*) LDSHARED='$(CC) -Wl,-G,-Bexport';;
       
 11574 	Monterey*) LDSHARED="cc -G -dy -Bdynamic -Bexport -L/usr/lib/ia64l64";;
       
 11575 	CYGWIN*) LDSHARED="gcc -shared -Wl,--enable-auto-image-base";;
       
 11576 	atheos*) LDSHARED="gcc -shared";;
       
 11577 	*)	LDSHARED="ld";;
       
 11578 	esac
       
 11579 fi
       
 11580 { echo "$as_me:$LINENO: result: $LDSHARED" >&5
       
 11581 echo "${ECHO_T}$LDSHARED" >&6; }
       
 11582 BLDSHARED=${BLDSHARED-$LDSHARED}
       
 11583 # CCSHARED are the C *flags* used to create objects to go into a shared
       
 11584 # library (module) -- this is only needed for a few systems
       
 11585 { echo "$as_me:$LINENO: checking CCSHARED" >&5
       
 11586 echo $ECHO_N "checking CCSHARED... $ECHO_C" >&6; }
       
 11587 if test -z "$CCSHARED"
       
 11588 then
       
 11589 	case $ac_sys_system/$ac_sys_release in
       
 11590 	SunOS*) if test "$GCC" = yes;
       
 11591 		then CCSHARED="-fPIC";
       
 11592 		elif test `uname -p` = sparc;
       
 11593 		then CCSHARED="-xcode=pic32";
       
 11594 		else CCSHARED="-Kpic";
       
 11595 		fi;;
       
 11596 	hp*|HP*) if test "$GCC" = yes;
       
 11597 		 then CCSHARED="-fPIC";
       
 11598 		 else CCSHARED="+z";
       
 11599 		 fi;;
       
 11600 	Linux*|GNU*) CCSHARED="-fPIC";;
       
 11601 	BSD/OS*/4*) CCSHARED="-fpic";;
       
 11602 	FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
       
 11603 	OpenUNIX*|UnixWare*)
       
 11604 		if test "$GCC" = "yes"
       
 11605 		then CCSHARED="-fPIC"
       
 11606 		else CCSHARED="-KPIC"
       
 11607 		fi;;
       
 11608 	SCO_SV*)
       
 11609 		if test "$GCC" = "yes"
       
 11610 		then CCSHARED="-fPIC"
       
 11611 		else CCSHARED="-Kpic -belf"
       
 11612 		fi;;
       
 11613 	Monterey*) CCSHARED="-G";;
       
 11614 	IRIX*/6*)  case $CC in
       
 11615 		   *gcc*) CCSHARED="-shared";;
       
 11616 		   *) CCSHARED="";;
       
 11617 		   esac;;
       
 11618 	atheos*) CCSHARED="-fPIC";;
       
 11619 	esac
       
 11620 fi
       
 11621 { echo "$as_me:$LINENO: result: $CCSHARED" >&5
       
 11622 echo "${ECHO_T}$CCSHARED" >&6; }
       
 11623 # LINKFORSHARED are the flags passed to the $(CC) command that links
       
 11624 # the python executable -- this is only needed for a few systems
       
 11625 { echo "$as_me:$LINENO: checking LINKFORSHARED" >&5
       
 11626 echo $ECHO_N "checking LINKFORSHARED... $ECHO_C" >&6; }
       
 11627 if test -z "$LINKFORSHARED"
       
 11628 then
       
 11629 	case $ac_sys_system/$ac_sys_release in
       
 11630 	AIX*)	LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
       
 11631 	hp*|HP*)
       
 11632 	    LINKFORSHARED="-Wl,-E -Wl,+s";;
       
 11633 #	    LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
       
 11634 	BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
       
 11635 	Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
       
 11636 	# -u libsys_s pulls in all symbols in libsys
       
 11637 	Darwin/*)
       
 11638 		# -u _PyMac_Error is needed to pull in the mac toolbox glue,
       
 11639 		# which is
       
 11640 		# not used by the core itself but which needs to be in the core so
       
 11641 		# that dynamically loaded extension modules have access to it.
       
 11642 		# -prebind is no longer used, because it actually seems to give a
       
 11643 		# slowdown in stead of a speedup, maybe due to the large number of
       
 11644 		# dynamic loads Python does.
       
 11645 
       
 11646 		LINKFORSHARED="$extra_undefs"
       
 11647 		if test "$enable_framework"
       
 11648 		then
       
 11649 			LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
       
 11650 		fi
       
 11651 		LINKFORSHARED="$LINKFORSHARED";;
       
 11652 	OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
       
 11653 	SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
       
 11654 	ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
       
 11655 	FreeBSD*|NetBSD*|OpenBSD*|DragonFly*)
       
 11656 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
       
 11657 		then
       
 11658 			LINKFORSHARED="-Wl,--export-dynamic"
       
 11659 		fi;;
       
 11660 	SunOS/5*) case $CC in
       
 11661 		  *gcc*)
       
 11662 		    if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
       
 11663 		    then
       
 11664 			LINKFORSHARED="-Xlinker --export-dynamic"
       
 11665 		    fi;;
       
 11666 		  esac;;
       
 11667 	CYGWIN*)
       
 11668 		if test $enable_shared = "no"
       
 11669 		then
       
 11670 			LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
       
 11671 		fi;;
       
 11672 	esac
       
 11673 fi
       
 11674 { echo "$as_me:$LINENO: result: $LINKFORSHARED" >&5
       
 11675 echo "${ECHO_T}$LINKFORSHARED" >&6; }
       
 11676 
       
 11677 
       
 11678 { echo "$as_me:$LINENO: checking CFLAGSFORSHARED" >&5
       
 11679 echo $ECHO_N "checking CFLAGSFORSHARED... $ECHO_C" >&6; }
       
 11680 if test ! "$LIBRARY" = "$LDLIBRARY"
       
 11681 then
       
 11682 	case $ac_sys_system in
       
 11683 	CYGWIN*)
       
 11684 		# Cygwin needs CCSHARED when building extension DLLs
       
 11685 		# but not when building the interpreter DLL.
       
 11686 		CFLAGSFORSHARED='';;
       
 11687 	*)
       
 11688 		CFLAGSFORSHARED='$(CCSHARED)'
       
 11689 	esac
       
 11690 fi
       
 11691 { echo "$as_me:$LINENO: result: $CFLAGSFORSHARED" >&5
       
 11692 echo "${ECHO_T}$CFLAGSFORSHARED" >&6; }
       
 11693 
       
 11694 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
       
 11695 # library (with --enable-shared).
       
 11696 # For platforms on which shared libraries are not allowed to have unresolved
       
 11697 # symbols, this must be set to $(LIBS) (expanded by make). We do this even
       
 11698 # if it is not required, since it creates a dependency of the shared library
       
 11699 # to LIBS. This, in turn, means that applications linking the shared libpython
       
 11700 # don't need to link LIBS explicitly. The default should be only changed
       
 11701 # on systems where this approach causes problems.
       
 11702 
       
 11703 { echo "$as_me:$LINENO: checking SHLIBS" >&5
       
 11704 echo $ECHO_N "checking SHLIBS... $ECHO_C" >&6; }
       
 11705 case "$ac_sys_system" in
       
 11706 	*)
       
 11707 		SHLIBS='$(LIBS)';;
       
 11708 esac
       
 11709 { echo "$as_me:$LINENO: result: $SHLIBS" >&5
       
 11710 echo "${ECHO_T}$SHLIBS" >&6; }
       
 11711 
       
 11712 
       
 11713 # checks for libraries
       
 11714 
       
 11715 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
       
 11716 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
       
 11717 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
       
 11718   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11719 else
       
 11720   ac_check_lib_save_LIBS=$LIBS
       
 11721 LIBS="-ldl  $LIBS"
       
 11722 cat >conftest.$ac_ext <<_ACEOF
       
 11723 /* confdefs.h.  */
       
 11724 _ACEOF
       
 11725 cat confdefs.h >>conftest.$ac_ext
       
 11726 cat >>conftest.$ac_ext <<_ACEOF
       
 11727 /* end confdefs.h.  */
       
 11728 
       
 11729 /* Override any GCC internal prototype to avoid an error.
       
 11730    Use char because int might match the return type of a GCC
       
 11731    builtin and then its argument prototype would still apply.  */
       
 11732 #ifdef __cplusplus
       
 11733 extern "C"
       
 11734 #endif
       
 11735 char dlopen ();
       
 11736 int
       
 11737 main ()
       
 11738 {
       
 11739 return dlopen ();
       
 11740   ;
       
 11741   return 0;
       
 11742 }
       
 11743 _ACEOF
       
 11744 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11745 if { (ac_try="$ac_link"
       
 11746 case "(($ac_try" in
       
 11747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11748   *) ac_try_echo=$ac_try;;
       
 11749 esac
       
 11750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11751   (eval "$ac_link") 2>conftest.er1
       
 11752   ac_status=$?
       
 11753   grep -v '^ *+' conftest.er1 >conftest.err
       
 11754   rm -f conftest.er1
       
 11755   cat conftest.err >&5
       
 11756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11757   (exit $ac_status); } && {
       
 11758 	 test -z "$ac_c_werror_flag" ||
       
 11759 	 test ! -s conftest.err
       
 11760        } && test -s conftest$ac_exeext &&
       
 11761        $as_test_x conftest$ac_exeext; then
       
 11762   ac_cv_lib_dl_dlopen=yes
       
 11763 else
       
 11764   echo "$as_me: failed program was:" >&5
       
 11765 sed 's/^/| /' conftest.$ac_ext >&5
       
 11766 
       
 11767 	ac_cv_lib_dl_dlopen=no
       
 11768 fi
       
 11769 
       
 11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 11771       conftest$ac_exeext conftest.$ac_ext
       
 11772 LIBS=$ac_check_lib_save_LIBS
       
 11773 fi
       
 11774 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
       
 11775 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
       
 11776 if test $ac_cv_lib_dl_dlopen = yes; then
       
 11777   cat >>confdefs.h <<_ACEOF
       
 11778 #define HAVE_LIBDL 1
       
 11779 _ACEOF
       
 11780 
       
 11781   LIBS="-ldl $LIBS"
       
 11782 
       
 11783 fi
       
 11784 	# Dynamic linking for SunOS/Solaris and SYSV
       
 11785 
       
 11786 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
       
 11787 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
       
 11788 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
       
 11789   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11790 else
       
 11791   ac_check_lib_save_LIBS=$LIBS
       
 11792 LIBS="-ldld  $LIBS"
       
 11793 cat >conftest.$ac_ext <<_ACEOF
       
 11794 /* confdefs.h.  */
       
 11795 _ACEOF
       
 11796 cat confdefs.h >>conftest.$ac_ext
       
 11797 cat >>conftest.$ac_ext <<_ACEOF
       
 11798 /* end confdefs.h.  */
       
 11799 
       
 11800 /* Override any GCC internal prototype to avoid an error.
       
 11801    Use char because int might match the return type of a GCC
       
 11802    builtin and then its argument prototype would still apply.  */
       
 11803 #ifdef __cplusplus
       
 11804 extern "C"
       
 11805 #endif
       
 11806 char shl_load ();
       
 11807 int
       
 11808 main ()
       
 11809 {
       
 11810 return shl_load ();
       
 11811   ;
       
 11812   return 0;
       
 11813 }
       
 11814 _ACEOF
       
 11815 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11816 if { (ac_try="$ac_link"
       
 11817 case "(($ac_try" in
       
 11818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11819   *) ac_try_echo=$ac_try;;
       
 11820 esac
       
 11821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11822   (eval "$ac_link") 2>conftest.er1
       
 11823   ac_status=$?
       
 11824   grep -v '^ *+' conftest.er1 >conftest.err
       
 11825   rm -f conftest.er1
       
 11826   cat conftest.err >&5
       
 11827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11828   (exit $ac_status); } && {
       
 11829 	 test -z "$ac_c_werror_flag" ||
       
 11830 	 test ! -s conftest.err
       
 11831        } && test -s conftest$ac_exeext &&
       
 11832        $as_test_x conftest$ac_exeext; then
       
 11833   ac_cv_lib_dld_shl_load=yes
       
 11834 else
       
 11835   echo "$as_me: failed program was:" >&5
       
 11836 sed 's/^/| /' conftest.$ac_ext >&5
       
 11837 
       
 11838 	ac_cv_lib_dld_shl_load=no
       
 11839 fi
       
 11840 
       
 11841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 11842       conftest$ac_exeext conftest.$ac_ext
       
 11843 LIBS=$ac_check_lib_save_LIBS
       
 11844 fi
       
 11845 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
       
 11846 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
       
 11847 if test $ac_cv_lib_dld_shl_load = yes; then
       
 11848   cat >>confdefs.h <<_ACEOF
       
 11849 #define HAVE_LIBDLD 1
       
 11850 _ACEOF
       
 11851 
       
 11852   LIBS="-ldld $LIBS"
       
 11853 
       
 11854 fi
       
 11855 	# Dynamic linking for HP-UX
       
 11856 
       
 11857 # only check for sem_ini if thread support is requested
       
 11858 if test "$with_threads" = "yes" -o -z "$with_threads"; then
       
 11859     { echo "$as_me:$LINENO: checking for library containing sem_init" >&5
       
 11860 echo $ECHO_N "checking for library containing sem_init... $ECHO_C" >&6; }
       
 11861 if test "${ac_cv_search_sem_init+set}" = set; then
       
 11862   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11863 else
       
 11864   ac_func_search_save_LIBS=$LIBS
       
 11865 cat >conftest.$ac_ext <<_ACEOF
       
 11866 /* confdefs.h.  */
       
 11867 _ACEOF
       
 11868 cat confdefs.h >>conftest.$ac_ext
       
 11869 cat >>conftest.$ac_ext <<_ACEOF
       
 11870 /* end confdefs.h.  */
       
 11871 
       
 11872 /* Override any GCC internal prototype to avoid an error.
       
 11873    Use char because int might match the return type of a GCC
       
 11874    builtin and then its argument prototype would still apply.  */
       
 11875 #ifdef __cplusplus
       
 11876 extern "C"
       
 11877 #endif
       
 11878 char sem_init ();
       
 11879 int
       
 11880 main ()
       
 11881 {
       
 11882 return sem_init ();
       
 11883   ;
       
 11884   return 0;
       
 11885 }
       
 11886 _ACEOF
       
 11887 for ac_lib in '' pthread rt posix4; do
       
 11888   if test -z "$ac_lib"; then
       
 11889     ac_res="none required"
       
 11890   else
       
 11891     ac_res=-l$ac_lib
       
 11892     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
       
 11893   fi
       
 11894   rm -f conftest.$ac_objext conftest$ac_exeext
       
 11895 if { (ac_try="$ac_link"
       
 11896 case "(($ac_try" in
       
 11897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11898   *) ac_try_echo=$ac_try;;
       
 11899 esac
       
 11900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11901   (eval "$ac_link") 2>conftest.er1
       
 11902   ac_status=$?
       
 11903   grep -v '^ *+' conftest.er1 >conftest.err
       
 11904   rm -f conftest.er1
       
 11905   cat conftest.err >&5
       
 11906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11907   (exit $ac_status); } && {
       
 11908 	 test -z "$ac_c_werror_flag" ||
       
 11909 	 test ! -s conftest.err
       
 11910        } && test -s conftest$ac_exeext &&
       
 11911        $as_test_x conftest$ac_exeext; then
       
 11912   ac_cv_search_sem_init=$ac_res
       
 11913 else
       
 11914   echo "$as_me: failed program was:" >&5
       
 11915 sed 's/^/| /' conftest.$ac_ext >&5
       
 11916 
       
 11917 
       
 11918 fi
       
 11919 
       
 11920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 11921       conftest$ac_exeext
       
 11922   if test "${ac_cv_search_sem_init+set}" = set; then
       
 11923   break
       
 11924 fi
       
 11925 done
       
 11926 if test "${ac_cv_search_sem_init+set}" = set; then
       
 11927   :
       
 11928 else
       
 11929   ac_cv_search_sem_init=no
       
 11930 fi
       
 11931 rm conftest.$ac_ext
       
 11932 LIBS=$ac_func_search_save_LIBS
       
 11933 fi
       
 11934 { echo "$as_me:$LINENO: result: $ac_cv_search_sem_init" >&5
       
 11935 echo "${ECHO_T}$ac_cv_search_sem_init" >&6; }
       
 11936 ac_res=$ac_cv_search_sem_init
       
 11937 if test "$ac_res" != no; then
       
 11938   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
       
 11939 
       
 11940 fi
       
 11941  # 'Real Time' functions on Solaris
       
 11942 						# posix4 on Solaris 2.6
       
 11943 						# pthread (first!) on Linux
       
 11944 fi
       
 11945 
       
 11946 # check if we need libintl for locale functions
       
 11947 { echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
       
 11948 echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6; }
       
 11949 if test "${ac_cv_lib_intl_textdomain+set}" = set; then
       
 11950   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11951 else
       
 11952   ac_check_lib_save_LIBS=$LIBS
       
 11953 LIBS="-lintl  $LIBS"
       
 11954 cat >conftest.$ac_ext <<_ACEOF
       
 11955 /* confdefs.h.  */
       
 11956 _ACEOF
       
 11957 cat confdefs.h >>conftest.$ac_ext
       
 11958 cat >>conftest.$ac_ext <<_ACEOF
       
 11959 /* end confdefs.h.  */
       
 11960 
       
 11961 /* Override any GCC internal prototype to avoid an error.
       
 11962    Use char because int might match the return type of a GCC
       
 11963    builtin and then its argument prototype would still apply.  */
       
 11964 #ifdef __cplusplus
       
 11965 extern "C"
       
 11966 #endif
       
 11967 char textdomain ();
       
 11968 int
       
 11969 main ()
       
 11970 {
       
 11971 return textdomain ();
       
 11972   ;
       
 11973   return 0;
       
 11974 }
       
 11975 _ACEOF
       
 11976 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11977 if { (ac_try="$ac_link"
       
 11978 case "(($ac_try" in
       
 11979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11980   *) ac_try_echo=$ac_try;;
       
 11981 esac
       
 11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11983   (eval "$ac_link") 2>conftest.er1
       
 11984   ac_status=$?
       
 11985   grep -v '^ *+' conftest.er1 >conftest.err
       
 11986   rm -f conftest.er1
       
 11987   cat conftest.err >&5
       
 11988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11989   (exit $ac_status); } && {
       
 11990 	 test -z "$ac_c_werror_flag" ||
       
 11991 	 test ! -s conftest.err
       
 11992        } && test -s conftest$ac_exeext &&
       
 11993        $as_test_x conftest$ac_exeext; then
       
 11994   ac_cv_lib_intl_textdomain=yes
       
 11995 else
       
 11996   echo "$as_me: failed program was:" >&5
       
 11997 sed 's/^/| /' conftest.$ac_ext >&5
       
 11998 
       
 11999 	ac_cv_lib_intl_textdomain=no
       
 12000 fi
       
 12001 
       
 12002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 12003       conftest$ac_exeext conftest.$ac_ext
       
 12004 LIBS=$ac_check_lib_save_LIBS
       
 12005 fi
       
 12006 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
       
 12007 echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6; }
       
 12008 if test $ac_cv_lib_intl_textdomain = yes; then
       
 12009 
       
 12010 cat >>confdefs.h <<\_ACEOF
       
 12011 #define WITH_LIBINTL 1
       
 12012 _ACEOF
       
 12013 
       
 12014 fi
       
 12015 
       
 12016 
       
 12017 # checks for system dependent C++ extensions support
       
 12018 case "$ac_sys_system" in
       
 12019 	AIX*)	{ echo "$as_me:$LINENO: checking for genuine AIX C++ extensions support" >&5
       
 12020 echo $ECHO_N "checking for genuine AIX C++ extensions support... $ECHO_C" >&6; }
       
 12021 		cat >conftest.$ac_ext <<_ACEOF
       
 12022 /* confdefs.h.  */
       
 12023 _ACEOF
       
 12024 cat confdefs.h >>conftest.$ac_ext
       
 12025 cat >>conftest.$ac_ext <<_ACEOF
       
 12026 /* end confdefs.h.  */
       
 12027 #include "/usr/lpp/xlC/include/load.h"
       
 12028 int
       
 12029 main ()
       
 12030 {
       
 12031 loadAndInit("", 0, "")
       
 12032   ;
       
 12033   return 0;
       
 12034 }
       
 12035 _ACEOF
       
 12036 rm -f conftest.$ac_objext conftest$ac_exeext
       
 12037 if { (ac_try="$ac_link"
       
 12038 case "(($ac_try" in
       
 12039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12040   *) ac_try_echo=$ac_try;;
       
 12041 esac
       
 12042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12043   (eval "$ac_link") 2>conftest.er1
       
 12044   ac_status=$?
       
 12045   grep -v '^ *+' conftest.er1 >conftest.err
       
 12046   rm -f conftest.er1
       
 12047   cat conftest.err >&5
       
 12048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12049   (exit $ac_status); } && {
       
 12050 	 test -z "$ac_c_werror_flag" ||
       
 12051 	 test ! -s conftest.err
       
 12052        } && test -s conftest$ac_exeext &&
       
 12053        $as_test_x conftest$ac_exeext; then
       
 12054 
       
 12055 cat >>confdefs.h <<\_ACEOF
       
 12056 #define AIX_GENUINE_CPLUSPLUS 1
       
 12057 _ACEOF
       
 12058 
       
 12059 			     { echo "$as_me:$LINENO: result: yes" >&5
       
 12060 echo "${ECHO_T}yes" >&6; }
       
 12061 else
       
 12062   echo "$as_me: failed program was:" >&5
       
 12063 sed 's/^/| /' conftest.$ac_ext >&5
       
 12064 
       
 12065 	{ echo "$as_me:$LINENO: result: no" >&5
       
 12066 echo "${ECHO_T}no" >&6; }
       
 12067 fi
       
 12068 
       
 12069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 12070       conftest$ac_exeext conftest.$ac_ext;;
       
 12071 	*) ;;
       
 12072 esac
       
 12073 
       
 12074 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
       
 12075 # BeOS' sockets are stashed in libnet.
       
 12076 { echo "$as_me:$LINENO: checking for t_open in -lnsl" >&5
       
 12077 echo $ECHO_N "checking for t_open in -lnsl... $ECHO_C" >&6; }
       
 12078 if test "${ac_cv_lib_nsl_t_open+set}" = set; then
       
 12079   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12080 else
       
 12081   ac_check_lib_save_LIBS=$LIBS
       
 12082 LIBS="-lnsl  $LIBS"
       
 12083 cat >conftest.$ac_ext <<_ACEOF
       
 12084 /* confdefs.h.  */
       
 12085 _ACEOF
       
 12086 cat confdefs.h >>conftest.$ac_ext
       
 12087 cat >>conftest.$ac_ext <<_ACEOF
       
 12088 /* end confdefs.h.  */
       
 12089 
       
 12090 /* Override any GCC internal prototype to avoid an error.
       
 12091    Use char because int might match the return type of a GCC
       
 12092    builtin and then its argument prototype would still apply.  */
       
 12093 #ifdef __cplusplus
       
 12094 extern "C"
       
 12095 #endif
       
 12096 char t_open ();
       
 12097 int
       
 12098 main ()
       
 12099 {
       
 12100 return t_open ();
       
 12101   ;
       
 12102   return 0;
       
 12103 }
       
 12104 _ACEOF
       
 12105 rm -f conftest.$ac_objext conftest$ac_exeext
       
 12106 if { (ac_try="$ac_link"
       
 12107 case "(($ac_try" in
       
 12108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12109   *) ac_try_echo=$ac_try;;
       
 12110 esac
       
 12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12112   (eval "$ac_link") 2>conftest.er1
       
 12113   ac_status=$?
       
 12114   grep -v '^ *+' conftest.er1 >conftest.err
       
 12115   rm -f conftest.er1
       
 12116   cat conftest.err >&5
       
 12117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12118   (exit $ac_status); } && {
       
 12119 	 test -z "$ac_c_werror_flag" ||
       
 12120 	 test ! -s conftest.err
       
 12121        } && test -s conftest$ac_exeext &&
       
 12122        $as_test_x conftest$ac_exeext; then
       
 12123   ac_cv_lib_nsl_t_open=yes
       
 12124 else
       
 12125   echo "$as_me: failed program was:" >&5
       
 12126 sed 's/^/| /' conftest.$ac_ext >&5
       
 12127 
       
 12128 	ac_cv_lib_nsl_t_open=no
       
 12129 fi
       
 12130 
       
 12131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 12132       conftest$ac_exeext conftest.$ac_ext
       
 12133 LIBS=$ac_check_lib_save_LIBS
       
 12134 fi
       
 12135 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_t_open" >&5
       
 12136 echo "${ECHO_T}$ac_cv_lib_nsl_t_open" >&6; }
       
 12137 if test $ac_cv_lib_nsl_t_open = yes; then
       
 12138   LIBS="-lnsl $LIBS"
       
 12139 fi
       
 12140  # SVR4
       
 12141 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
       
 12142 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
       
 12143 if test "${ac_cv_lib_socket_socket+set}" = set; then
       
 12144   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12145 else
       
 12146   ac_check_lib_save_LIBS=$LIBS
       
 12147 LIBS="-lsocket $LIBS $LIBS"
       
 12148 cat >conftest.$ac_ext <<_ACEOF
       
 12149 /* confdefs.h.  */
       
 12150 _ACEOF
       
 12151 cat confdefs.h >>conftest.$ac_ext
       
 12152 cat >>conftest.$ac_ext <<_ACEOF
       
 12153 /* end confdefs.h.  */
       
 12154 
       
 12155 /* Override any GCC internal prototype to avoid an error.
       
 12156    Use char because int might match the return type of a GCC
       
 12157    builtin and then its argument prototype would still apply.  */
       
 12158 #ifdef __cplusplus
       
 12159 extern "C"
       
 12160 #endif
       
 12161 char socket ();
       
 12162 int
       
 12163 main ()
       
 12164 {
       
 12165 return socket ();
       
 12166   ;
       
 12167   return 0;
       
 12168 }
       
 12169 _ACEOF
       
 12170 rm -f conftest.$ac_objext conftest$ac_exeext
       
 12171 if { (ac_try="$ac_link"
       
 12172 case "(($ac_try" in
       
 12173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12174   *) ac_try_echo=$ac_try;;
       
 12175 esac
       
 12176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12177   (eval "$ac_link") 2>conftest.er1
       
 12178   ac_status=$?
       
 12179   grep -v '^ *+' conftest.er1 >conftest.err
       
 12180   rm -f conftest.er1
       
 12181   cat conftest.err >&5
       
 12182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12183   (exit $ac_status); } && {
       
 12184 	 test -z "$ac_c_werror_flag" ||
       
 12185 	 test ! -s conftest.err
       
 12186        } && test -s conftest$ac_exeext &&
       
 12187        $as_test_x conftest$ac_exeext; then
       
 12188   ac_cv_lib_socket_socket=yes
       
 12189 else
       
 12190   echo "$as_me: failed program was:" >&5
       
 12191 sed 's/^/| /' conftest.$ac_ext >&5
       
 12192 
       
 12193 	ac_cv_lib_socket_socket=no
       
 12194 fi
       
 12195 
       
 12196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 12197       conftest$ac_exeext conftest.$ac_ext
       
 12198 LIBS=$ac_check_lib_save_LIBS
       
 12199 fi
       
 12200 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
       
 12201 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
       
 12202 if test $ac_cv_lib_socket_socket = yes; then
       
 12203   LIBS="-lsocket $LIBS"
       
 12204 fi
       
 12205  # SVR4 sockets
       
 12206 
       
 12207 case "$ac_sys_system" in
       
 12208 BeOS*)
       
 12209 { echo "$as_me:$LINENO: checking for socket in -lnet" >&5
       
 12210 echo $ECHO_N "checking for socket in -lnet... $ECHO_C" >&6; }
       
 12211 if test "${ac_cv_lib_net_socket+set}" = set; then
       
 12212   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12213 else
       
 12214   ac_check_lib_save_LIBS=$LIBS
       
 12215 LIBS="-lnet $LIBS $LIBS"
       
 12216 cat >conftest.$ac_ext <<_ACEOF
       
 12217 /* confdefs.h.  */
       
 12218 _ACEOF
       
 12219 cat confdefs.h >>conftest.$ac_ext
       
 12220 cat >>conftest.$ac_ext <<_ACEOF
       
 12221 /* end confdefs.h.  */
       
 12222 
       
 12223 /* Override any GCC internal prototype to avoid an error.
       
 12224    Use char because int might match the return type of a GCC
       
 12225    builtin and then its argument prototype would still apply.  */
       
 12226 #ifdef __cplusplus
       
 12227 extern "C"
       
 12228 #endif
       
 12229 char socket ();
       
 12230 int
       
 12231 main ()
       
 12232 {
       
 12233 return socket ();
       
 12234   ;
       
 12235   return 0;
       
 12236 }
       
 12237 _ACEOF
       
 12238 rm -f conftest.$ac_objext conftest$ac_exeext
       
 12239 if { (ac_try="$ac_link"
       
 12240 case "(($ac_try" in
       
 12241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12242   *) ac_try_echo=$ac_try;;
       
 12243 esac
       
 12244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12245   (eval "$ac_link") 2>conftest.er1
       
 12246   ac_status=$?
       
 12247   grep -v '^ *+' conftest.er1 >conftest.err
       
 12248   rm -f conftest.er1
       
 12249   cat conftest.err >&5
       
 12250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12251   (exit $ac_status); } && {
       
 12252 	 test -z "$ac_c_werror_flag" ||
       
 12253 	 test ! -s conftest.err
       
 12254        } && test -s conftest$ac_exeext &&
       
 12255        $as_test_x conftest$ac_exeext; then
       
 12256   ac_cv_lib_net_socket=yes
       
 12257 else
       
 12258   echo "$as_me: failed program was:" >&5
       
 12259 sed 's/^/| /' conftest.$ac_ext >&5
       
 12260 
       
 12261 	ac_cv_lib_net_socket=no
       
 12262 fi
       
 12263 
       
 12264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 12265       conftest$ac_exeext conftest.$ac_ext
       
 12266 LIBS=$ac_check_lib_save_LIBS
       
 12267 fi
       
 12268 { echo "$as_me:$LINENO: result: $ac_cv_lib_net_socket" >&5
       
 12269 echo "${ECHO_T}$ac_cv_lib_net_socket" >&6; }
       
 12270 if test $ac_cv_lib_net_socket = yes; then
       
 12271   LIBS="-lnet $LIBS"
       
 12272 fi
       
 12273  # BeOS
       
 12274 ;;
       
 12275 esac
       
 12276 
       
 12277 { echo "$as_me:$LINENO: checking for --with-libs" >&5
       
 12278 echo $ECHO_N "checking for --with-libs... $ECHO_C" >&6; }
       
 12279 
       
 12280 # Check whether --with-libs was given.
       
 12281 if test "${with_libs+set}" = set; then
       
 12282   withval=$with_libs;
       
 12283 { echo "$as_me:$LINENO: result: $withval" >&5
       
 12284 echo "${ECHO_T}$withval" >&6; }
       
 12285 LIBS="$withval $LIBS"
       
 12286 
       
 12287 else
       
 12288   { echo "$as_me:$LINENO: result: no" >&5
       
 12289 echo "${ECHO_T}no" >&6; }
       
 12290 fi
       
 12291 
       
 12292 
       
 12293 # Check for use of the system libffi library
       
 12294 if test "${ac_cv_header_ffi_h+set}" = set; then
       
 12295   { echo "$as_me:$LINENO: checking for ffi.h" >&5
       
 12296 echo $ECHO_N "checking for ffi.h... $ECHO_C" >&6; }
       
 12297 if test "${ac_cv_header_ffi_h+set}" = set; then
       
 12298   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12299 fi
       
 12300 { echo "$as_me:$LINENO: result: $ac_cv_header_ffi_h" >&5
       
 12301 echo "${ECHO_T}$ac_cv_header_ffi_h" >&6; }
       
 12302 else
       
 12303   # Is the header compilable?
       
 12304 { echo "$as_me:$LINENO: checking ffi.h usability" >&5
       
 12305 echo $ECHO_N "checking ffi.h usability... $ECHO_C" >&6; }
       
 12306 cat >conftest.$ac_ext <<_ACEOF
       
 12307 /* confdefs.h.  */
       
 12308 _ACEOF
       
 12309 cat confdefs.h >>conftest.$ac_ext
       
 12310 cat >>conftest.$ac_ext <<_ACEOF
       
 12311 /* end confdefs.h.  */
       
 12312 $ac_includes_default
       
 12313 #include <ffi.h>
       
 12314 _ACEOF
       
 12315 rm -f conftest.$ac_objext
       
 12316 if { (ac_try="$ac_compile"
       
 12317 case "(($ac_try" in
       
 12318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12319   *) ac_try_echo=$ac_try;;
       
 12320 esac
       
 12321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12322   (eval "$ac_compile") 2>conftest.er1
       
 12323   ac_status=$?
       
 12324   grep -v '^ *+' conftest.er1 >conftest.err
       
 12325   rm -f conftest.er1
       
 12326   cat conftest.err >&5
       
 12327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12328   (exit $ac_status); } && {
       
 12329 	 test -z "$ac_c_werror_flag" ||
       
 12330 	 test ! -s conftest.err
       
 12331        } && test -s conftest.$ac_objext; then
       
 12332   ac_header_compiler=yes
       
 12333 else
       
 12334   echo "$as_me: failed program was:" >&5
       
 12335 sed 's/^/| /' conftest.$ac_ext >&5
       
 12336 
       
 12337 	ac_header_compiler=no
       
 12338 fi
       
 12339 
       
 12340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 12341 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 12342 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 12343 
       
 12344 # Is the header present?
       
 12345 { echo "$as_me:$LINENO: checking ffi.h presence" >&5
       
 12346 echo $ECHO_N "checking ffi.h presence... $ECHO_C" >&6; }
       
 12347 cat >conftest.$ac_ext <<_ACEOF
       
 12348 /* confdefs.h.  */
       
 12349 _ACEOF
       
 12350 cat confdefs.h >>conftest.$ac_ext
       
 12351 cat >>conftest.$ac_ext <<_ACEOF
       
 12352 /* end confdefs.h.  */
       
 12353 #include <ffi.h>
       
 12354 _ACEOF
       
 12355 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 12356 case "(($ac_try" in
       
 12357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12358   *) ac_try_echo=$ac_try;;
       
 12359 esac
       
 12360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12361   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 12362   ac_status=$?
       
 12363   grep -v '^ *+' conftest.er1 >conftest.err
       
 12364   rm -f conftest.er1
       
 12365   cat conftest.err >&5
       
 12366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12367   (exit $ac_status); } >/dev/null && {
       
 12368 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 12369 	 test ! -s conftest.err
       
 12370        }; then
       
 12371   ac_header_preproc=yes
       
 12372 else
       
 12373   echo "$as_me: failed program was:" >&5
       
 12374 sed 's/^/| /' conftest.$ac_ext >&5
       
 12375 
       
 12376   ac_header_preproc=no
       
 12377 fi
       
 12378 
       
 12379 rm -f conftest.err conftest.$ac_ext
       
 12380 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 12381 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 12382 
       
 12383 # So?  What about this header?
       
 12384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 12385   yes:no: )
       
 12386     { echo "$as_me:$LINENO: WARNING: ffi.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 12387 echo "$as_me: WARNING: ffi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 12388     { echo "$as_me:$LINENO: WARNING: ffi.h: proceeding with the compiler's result" >&5
       
 12389 echo "$as_me: WARNING: ffi.h: proceeding with the compiler's result" >&2;}
       
 12390     ac_header_preproc=yes
       
 12391     ;;
       
 12392   no:yes:* )
       
 12393     { echo "$as_me:$LINENO: WARNING: ffi.h: present but cannot be compiled" >&5
       
 12394 echo "$as_me: WARNING: ffi.h: present but cannot be compiled" >&2;}
       
 12395     { echo "$as_me:$LINENO: WARNING: ffi.h:     check for missing prerequisite headers?" >&5
       
 12396 echo "$as_me: WARNING: ffi.h:     check for missing prerequisite headers?" >&2;}
       
 12397     { echo "$as_me:$LINENO: WARNING: ffi.h: see the Autoconf documentation" >&5
       
 12398 echo "$as_me: WARNING: ffi.h: see the Autoconf documentation" >&2;}
       
 12399     { echo "$as_me:$LINENO: WARNING: ffi.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 12400 echo "$as_me: WARNING: ffi.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 12401     { echo "$as_me:$LINENO: WARNING: ffi.h: proceeding with the preprocessor's result" >&5
       
 12402 echo "$as_me: WARNING: ffi.h: proceeding with the preprocessor's result" >&2;}
       
 12403     { echo "$as_me:$LINENO: WARNING: ffi.h: in the future, the compiler will take precedence" >&5
       
 12404 echo "$as_me: WARNING: ffi.h: in the future, the compiler will take precedence" >&2;}
       
 12405     ( cat <<\_ASBOX
       
 12406 ## ------------------------------------------------ ##
       
 12407 ## Report this to http://www.python.org/python-bugs ##
       
 12408 ## ------------------------------------------------ ##
       
 12409 _ASBOX
       
 12410      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
 12411     ;;
       
 12412 esac
       
 12413 { echo "$as_me:$LINENO: checking for ffi.h" >&5
       
 12414 echo $ECHO_N "checking for ffi.h... $ECHO_C" >&6; }
       
 12415 if test "${ac_cv_header_ffi_h+set}" = set; then
       
 12416   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12417 else
       
 12418   ac_cv_header_ffi_h=$ac_header_preproc
       
 12419 fi
       
 12420 { echo "$as_me:$LINENO: result: $ac_cv_header_ffi_h" >&5
       
 12421 echo "${ECHO_T}$ac_cv_header_ffi_h" >&6; }
       
 12422 
       
 12423 fi
       
 12424 
       
 12425 
       
 12426 { echo "$as_me:$LINENO: checking for --with-system-ffi" >&5
       
 12427 echo $ECHO_N "checking for --with-system-ffi... $ECHO_C" >&6; }
       
 12428 
       
 12429 # Check whether --with-system_ffi was given.
       
 12430 if test "${with_system_ffi+set}" = set; then
       
 12431   withval=$with_system_ffi;
       
 12432 fi
       
 12433 
       
 12434 
       
 12435 if test -z "$with_system_ffi" && test "$ac_cv_header_ffi_h" = yes; then
       
 12436 	case "$ac_sys_system/`uname -m`" in
       
 12437 	Linux/arm*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
       
 12438 	*) with_system_ffi="no"
       
 12439 	esac
       
 12440 fi
       
 12441 { echo "$as_me:$LINENO: result: $with_system_ffi" >&5
       
 12442 echo "${ECHO_T}$with_system_ffi" >&6; }
       
 12443 
       
 12444 # Determine if signalmodule should be used.
       
 12445 
       
 12446 
       
 12447 { echo "$as_me:$LINENO: checking for --with-signal-module" >&5
       
 12448 echo $ECHO_N "checking for --with-signal-module... $ECHO_C" >&6; }
       
 12449 
       
 12450 # Check whether --with-signal-module was given.
       
 12451 if test "${with_signal_module+set}" = set; then
       
 12452   withval=$with_signal_module;
       
 12453 fi
       
 12454 
       
 12455 
       
 12456 if test -z "$with_signal_module"
       
 12457 then with_signal_module="yes"
       
 12458 fi
       
 12459 { echo "$as_me:$LINENO: result: $with_signal_module" >&5
       
 12460 echo "${ECHO_T}$with_signal_module" >&6; }
       
 12461 
       
 12462 if test "${with_signal_module}" = "yes"; then
       
 12463 	USE_SIGNAL_MODULE=""
       
 12464 	SIGNAL_OBJS=""
       
 12465 else
       
 12466 	USE_SIGNAL_MODULE="#"
       
 12467 	SIGNAL_OBJS="Parser/intrcheck.o Python/sigcheck.o"
       
 12468 fi
       
 12469 
       
 12470 # This is used to generate Setup.config
       
 12471 
       
 12472 USE_THREAD_MODULE=""
       
 12473 
       
 12474 { echo "$as_me:$LINENO: checking for --with-dec-threads" >&5
       
 12475 echo $ECHO_N "checking for --with-dec-threads... $ECHO_C" >&6; }
       
 12476 
       
 12477 
       
 12478 # Check whether --with-dec-threads was given.
       
 12479 if test "${with_dec_threads+set}" = set; then
       
 12480   withval=$with_dec_threads;
       
 12481 { echo "$as_me:$LINENO: result: $withval" >&5
       
 12482 echo "${ECHO_T}$withval" >&6; }
       
 12483 LDLAST=-threads
       
 12484 if test "${with_thread+set}" != set; then
       
 12485    with_thread="$withval";
       
 12486 fi
       
 12487 else
       
 12488   { echo "$as_me:$LINENO: result: no" >&5
       
 12489 echo "${ECHO_T}no" >&6; }
       
 12490 fi
       
 12491 
       
 12492 
       
 12493 # Templates for things AC_DEFINEd more than once.
       
 12494 # For a single AC_DEFINE, no template is needed.
       
 12495 
       
 12496 
       
 12497 
       
 12498 
       
 12499 
       
 12500 
       
 12501 
       
 12502 { echo "$as_me:$LINENO: checking for --with-threads" >&5
       
 12503 echo $ECHO_N "checking for --with-threads... $ECHO_C" >&6; }
       
 12504 
       
 12505 # Check whether --with-threads was given.
       
 12506 if test "${with_threads+set}" = set; then
       
 12507   withval=$with_threads;
       
 12508 fi
       
 12509 
       
 12510 
       
 12511 # --with-thread is deprecated, but check for it anyway
       
 12512 
       
 12513 # Check whether --with-thread was given.
       
 12514 if test "${with_thread+set}" = set; then
       
 12515   withval=$with_thread; with_threads=$with_thread
       
 12516 fi
       
 12517 
       
 12518 
       
 12519 if test -z "$with_threads"
       
 12520 then with_threads="yes"
       
 12521 fi
       
 12522 { echo "$as_me:$LINENO: result: $with_threads" >&5
       
 12523 echo "${ECHO_T}$with_threads" >&6; }
       
 12524 
       
 12525 
       
 12526 if test "$with_threads" = "no"
       
 12527 then
       
 12528     USE_THREAD_MODULE="#"
       
 12529 elif test "$ac_cv_pthread_is_default" = yes
       
 12530 then
       
 12531     cat >>confdefs.h <<\_ACEOF
       
 12532 #define WITH_THREAD 1
       
 12533 _ACEOF
       
 12534 
       
 12535     # Defining _REENTRANT on system with POSIX threads should not hurt.
       
 12536     cat >>confdefs.h <<\_ACEOF
       
 12537 #define _REENTRANT 1
       
 12538 _ACEOF
       
 12539 
       
 12540     posix_threads=yes
       
 12541     THREADOBJ="Python/thread.o"
       
 12542 elif test "$ac_cv_kpthread" = "yes"
       
 12543 then
       
 12544     CC="$CC -Kpthread"
       
 12545     if test "$ac_cv_cxx_thread" = "yes"; then
       
 12546         CXX="$CXX -Kpthread"
       
 12547     fi
       
 12548     cat >>confdefs.h <<\_ACEOF
       
 12549 #define WITH_THREAD 1
       
 12550 _ACEOF
       
 12551 
       
 12552     posix_threads=yes
       
 12553     THREADOBJ="Python/thread.o"
       
 12554 elif test "$ac_cv_kthread" = "yes"
       
 12555 then
       
 12556     CC="$CC -Kthread"
       
 12557     if test "$ac_cv_cxx_thread" = "yes"; then
       
 12558         CXX="$CXX -Kthread"
       
 12559     fi
       
 12560     cat >>confdefs.h <<\_ACEOF
       
 12561 #define WITH_THREAD 1
       
 12562 _ACEOF
       
 12563 
       
 12564     posix_threads=yes
       
 12565     THREADOBJ="Python/thread.o"
       
 12566 elif test "$ac_cv_pthread" = "yes"
       
 12567 then
       
 12568     CC="$CC -pthread"
       
 12569     if test "$ac_cv_cxx_thread" = "yes"; then
       
 12570         CXX="$CXX -pthread"
       
 12571     fi
       
 12572     cat >>confdefs.h <<\_ACEOF
       
 12573 #define WITH_THREAD 1
       
 12574 _ACEOF
       
 12575 
       
 12576     posix_threads=yes
       
 12577     THREADOBJ="Python/thread.o"
       
 12578 else
       
 12579     if test ! -z "$with_threads" -a -d "$with_threads"
       
 12580     then LDFLAGS="$LDFLAGS -L$with_threads"
       
 12581     fi
       
 12582     if test ! -z "$withval" -a -d "$withval"
       
 12583     then LDFLAGS="$LDFLAGS -L$withval"
       
 12584     fi
       
 12585 
       
 12586     # According to the POSIX spec, a pthreads implementation must
       
 12587     # define _POSIX_THREADS in unistd.h. Some apparently don't
       
 12588     # (e.g. gnu pth with pthread emulation)
       
 12589     { echo "$as_me:$LINENO: checking for _POSIX_THREADS in unistd.h" >&5
       
 12590 echo $ECHO_N "checking for _POSIX_THREADS in unistd.h... $ECHO_C" >&6; }
       
 12591     cat >conftest.$ac_ext <<_ACEOF
       
 12592 /* confdefs.h.  */
       
 12593 _ACEOF
       
 12594 cat confdefs.h >>conftest.$ac_ext
       
 12595 cat >>conftest.$ac_ext <<_ACEOF
       
 12596 /* end confdefs.h.  */
       
 12597 
       
 12598 #include <unistd.h>
       
 12599 #ifdef _POSIX_THREADS
       
 12600 yes
       
 12601 #endif
       
 12602 
       
 12603 _ACEOF
       
 12604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 12605   $EGREP "yes" >/dev/null 2>&1; then
       
 12606   unistd_defines_pthreads=yes
       
 12607 else
       
 12608   unistd_defines_pthreads=no
       
 12609 fi
       
 12610 rm -f conftest*
       
 12611 
       
 12612     { echo "$as_me:$LINENO: result: $unistd_defines_pthreads" >&5
       
 12613 echo "${ECHO_T}$unistd_defines_pthreads" >&6; }
       
 12614 
       
 12615     cat >>confdefs.h <<\_ACEOF
       
 12616 #define _REENTRANT 1
       
 12617 _ACEOF
       
 12618 
       
 12619     if test "${ac_cv_header_cthreads_h+set}" = set; then
       
 12620   { echo "$as_me:$LINENO: checking for cthreads.h" >&5
       
 12621 echo $ECHO_N "checking for cthreads.h... $ECHO_C" >&6; }
       
 12622 if test "${ac_cv_header_cthreads_h+set}" = set; then
       
 12623   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12624 fi
       
 12625 { echo "$as_me:$LINENO: result: $ac_cv_header_cthreads_h" >&5
       
 12626 echo "${ECHO_T}$ac_cv_header_cthreads_h" >&6; }
       
 12627 else
       
 12628   # Is the header compilable?
       
 12629 { echo "$as_me:$LINENO: checking cthreads.h usability" >&5
       
 12630 echo $ECHO_N "checking cthreads.h usability... $ECHO_C" >&6; }
       
 12631 cat >conftest.$ac_ext <<_ACEOF
       
 12632 /* confdefs.h.  */
       
 12633 _ACEOF
       
 12634 cat confdefs.h >>conftest.$ac_ext
       
 12635 cat >>conftest.$ac_ext <<_ACEOF
       
 12636 /* end confdefs.h.  */
       
 12637 $ac_includes_default
       
 12638 #include <cthreads.h>
       
 12639 _ACEOF
       
 12640 rm -f conftest.$ac_objext
       
 12641 if { (ac_try="$ac_compile"
       
 12642 case "(($ac_try" in
       
 12643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12644   *) ac_try_echo=$ac_try;;
       
 12645 esac
       
 12646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12647   (eval "$ac_compile") 2>conftest.er1
       
 12648   ac_status=$?
       
 12649   grep -v '^ *+' conftest.er1 >conftest.err
       
 12650   rm -f conftest.er1
       
 12651   cat conftest.err >&5
       
 12652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12653   (exit $ac_status); } && {
       
 12654 	 test -z "$ac_c_werror_flag" ||
       
 12655 	 test ! -s conftest.err
       
 12656        } && test -s conftest.$ac_objext; then
       
 12657   ac_header_compiler=yes
       
 12658 else
       
 12659   echo "$as_me: failed program was:" >&5
       
 12660 sed 's/^/| /' conftest.$ac_ext >&5
       
 12661 
       
 12662 	ac_header_compiler=no
       
 12663 fi
       
 12664 
       
 12665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 12666 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 12667 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 12668 
       
 12669 # Is the header present?
       
 12670 { echo "$as_me:$LINENO: checking cthreads.h presence" >&5
       
 12671 echo $ECHO_N "checking cthreads.h presence... $ECHO_C" >&6; }
       
 12672 cat >conftest.$ac_ext <<_ACEOF
       
 12673 /* confdefs.h.  */
       
 12674 _ACEOF
       
 12675 cat confdefs.h >>conftest.$ac_ext
       
 12676 cat >>conftest.$ac_ext <<_ACEOF
       
 12677 /* end confdefs.h.  */
       
 12678 #include <cthreads.h>
       
 12679 _ACEOF
       
 12680 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 12681 case "(($ac_try" in
       
 12682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12683   *) ac_try_echo=$ac_try;;
       
 12684 esac
       
 12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12686   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 12687   ac_status=$?
       
 12688   grep -v '^ *+' conftest.er1 >conftest.err
       
 12689   rm -f conftest.er1
       
 12690   cat conftest.err >&5
       
 12691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12692   (exit $ac_status); } >/dev/null && {
       
 12693 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 12694 	 test ! -s conftest.err
       
 12695        }; then
       
 12696   ac_header_preproc=yes
       
 12697 else
       
 12698   echo "$as_me: failed program was:" >&5
       
 12699 sed 's/^/| /' conftest.$ac_ext >&5
       
 12700 
       
 12701   ac_header_preproc=no
       
 12702 fi
       
 12703 
       
 12704 rm -f conftest.err conftest.$ac_ext
       
 12705 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 12706 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 12707 
       
 12708 # So?  What about this header?
       
 12709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 12710   yes:no: )
       
 12711     { echo "$as_me:$LINENO: WARNING: cthreads.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 12712 echo "$as_me: WARNING: cthreads.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 12713     { echo "$as_me:$LINENO: WARNING: cthreads.h: proceeding with the compiler's result" >&5
       
 12714 echo "$as_me: WARNING: cthreads.h: proceeding with the compiler's result" >&2;}
       
 12715     ac_header_preproc=yes
       
 12716     ;;
       
 12717   no:yes:* )
       
 12718     { echo "$as_me:$LINENO: WARNING: cthreads.h: present but cannot be compiled" >&5
       
 12719 echo "$as_me: WARNING: cthreads.h: present but cannot be compiled" >&2;}
       
 12720     { echo "$as_me:$LINENO: WARNING: cthreads.h:     check for missing prerequisite headers?" >&5
       
 12721 echo "$as_me: WARNING: cthreads.h:     check for missing prerequisite headers?" >&2;}
       
 12722     { echo "$as_me:$LINENO: WARNING: cthreads.h: see the Autoconf documentation" >&5
       
 12723 echo "$as_me: WARNING: cthreads.h: see the Autoconf documentation" >&2;}
       
 12724     { echo "$as_me:$LINENO: WARNING: cthreads.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 12725 echo "$as_me: WARNING: cthreads.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 12726     { echo "$as_me:$LINENO: WARNING: cthreads.h: proceeding with the preprocessor's result" >&5
       
 12727 echo "$as_me: WARNING: cthreads.h: proceeding with the preprocessor's result" >&2;}
       
 12728     { echo "$as_me:$LINENO: WARNING: cthreads.h: in the future, the compiler will take precedence" >&5
       
 12729 echo "$as_me: WARNING: cthreads.h: in the future, the compiler will take precedence" >&2;}
       
 12730     ( cat <<\_ASBOX
       
 12731 ## ------------------------------------------------ ##
       
 12732 ## Report this to http://www.python.org/python-bugs ##
       
 12733 ## ------------------------------------------------ ##
       
 12734 _ASBOX
       
 12735      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
 12736     ;;
       
 12737 esac
       
 12738 { echo "$as_me:$LINENO: checking for cthreads.h" >&5
       
 12739 echo $ECHO_N "checking for cthreads.h... $ECHO_C" >&6; }
       
 12740 if test "${ac_cv_header_cthreads_h+set}" = set; then
       
 12741   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12742 else
       
 12743   ac_cv_header_cthreads_h=$ac_header_preproc
       
 12744 fi
       
 12745 { echo "$as_me:$LINENO: result: $ac_cv_header_cthreads_h" >&5
       
 12746 echo "${ECHO_T}$ac_cv_header_cthreads_h" >&6; }
       
 12747 
       
 12748 fi
       
 12749 if test $ac_cv_header_cthreads_h = yes; then
       
 12750   cat >>confdefs.h <<\_ACEOF
       
 12751 #define WITH_THREAD 1
       
 12752 _ACEOF
       
 12753 
       
 12754     cat >>confdefs.h <<\_ACEOF
       
 12755 #define C_THREADS 1
       
 12756 _ACEOF
       
 12757 
       
 12758 
       
 12759 cat >>confdefs.h <<\_ACEOF
       
 12760 #define HURD_C_THREADS 1
       
 12761 _ACEOF
       
 12762 
       
 12763     LIBS="$LIBS -lthreads"
       
 12764     THREADOBJ="Python/thread.o"
       
 12765 else
       
 12766 
       
 12767     if test "${ac_cv_header_mach_cthreads_h+set}" = set; then
       
 12768   { echo "$as_me:$LINENO: checking for mach/cthreads.h" >&5
       
 12769 echo $ECHO_N "checking for mach/cthreads.h... $ECHO_C" >&6; }
       
 12770 if test "${ac_cv_header_mach_cthreads_h+set}" = set; then
       
 12771   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12772 fi
       
 12773 { echo "$as_me:$LINENO: result: $ac_cv_header_mach_cthreads_h" >&5
       
 12774 echo "${ECHO_T}$ac_cv_header_mach_cthreads_h" >&6; }
       
 12775 else
       
 12776   # Is the header compilable?
       
 12777 { echo "$as_me:$LINENO: checking mach/cthreads.h usability" >&5
       
 12778 echo $ECHO_N "checking mach/cthreads.h usability... $ECHO_C" >&6; }
       
 12779 cat >conftest.$ac_ext <<_ACEOF
       
 12780 /* confdefs.h.  */
       
 12781 _ACEOF
       
 12782 cat confdefs.h >>conftest.$ac_ext
       
 12783 cat >>conftest.$ac_ext <<_ACEOF
       
 12784 /* end confdefs.h.  */
       
 12785 $ac_includes_default
       
 12786 #include <mach/cthreads.h>
       
 12787 _ACEOF
       
 12788 rm -f conftest.$ac_objext
       
 12789 if { (ac_try="$ac_compile"
       
 12790 case "(($ac_try" in
       
 12791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12792   *) ac_try_echo=$ac_try;;
       
 12793 esac
       
 12794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12795   (eval "$ac_compile") 2>conftest.er1
       
 12796   ac_status=$?
       
 12797   grep -v '^ *+' conftest.er1 >conftest.err
       
 12798   rm -f conftest.er1
       
 12799   cat conftest.err >&5
       
 12800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12801   (exit $ac_status); } && {
       
 12802 	 test -z "$ac_c_werror_flag" ||
       
 12803 	 test ! -s conftest.err
       
 12804        } && test -s conftest.$ac_objext; then
       
 12805   ac_header_compiler=yes
       
 12806 else
       
 12807   echo "$as_me: failed program was:" >&5
       
 12808 sed 's/^/| /' conftest.$ac_ext >&5
       
 12809 
       
 12810 	ac_header_compiler=no
       
 12811 fi
       
 12812 
       
 12813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 12814 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 12815 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 12816 
       
 12817 # Is the header present?
       
 12818 { echo "$as_me:$LINENO: checking mach/cthreads.h presence" >&5
       
 12819 echo $ECHO_N "checking mach/cthreads.h presence... $ECHO_C" >&6; }
       
 12820 cat >conftest.$ac_ext <<_ACEOF
       
 12821 /* confdefs.h.  */
       
 12822 _ACEOF
       
 12823 cat confdefs.h >>conftest.$ac_ext
       
 12824 cat >>conftest.$ac_ext <<_ACEOF
       
 12825 /* end confdefs.h.  */
       
 12826 #include <mach/cthreads.h>
       
 12827 _ACEOF
       
 12828 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 12829 case "(($ac_try" in
       
 12830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12831   *) ac_try_echo=$ac_try;;
       
 12832 esac
       
 12833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12834   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 12835   ac_status=$?
       
 12836   grep -v '^ *+' conftest.er1 >conftest.err
       
 12837   rm -f conftest.er1
       
 12838   cat conftest.err >&5
       
 12839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12840   (exit $ac_status); } >/dev/null && {
       
 12841 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 12842 	 test ! -s conftest.err
       
 12843        }; then
       
 12844   ac_header_preproc=yes
       
 12845 else
       
 12846   echo "$as_me: failed program was:" >&5
       
 12847 sed 's/^/| /' conftest.$ac_ext >&5
       
 12848 
       
 12849   ac_header_preproc=no
       
 12850 fi
       
 12851 
       
 12852 rm -f conftest.err conftest.$ac_ext
       
 12853 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 12854 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 12855 
       
 12856 # So?  What about this header?
       
 12857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 12858   yes:no: )
       
 12859     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 12860 echo "$as_me: WARNING: mach/cthreads.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 12861     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h: proceeding with the compiler's result" >&5
       
 12862 echo "$as_me: WARNING: mach/cthreads.h: proceeding with the compiler's result" >&2;}
       
 12863     ac_header_preproc=yes
       
 12864     ;;
       
 12865   no:yes:* )
       
 12866     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h: present but cannot be compiled" >&5
       
 12867 echo "$as_me: WARNING: mach/cthreads.h: present but cannot be compiled" >&2;}
       
 12868     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h:     check for missing prerequisite headers?" >&5
       
 12869 echo "$as_me: WARNING: mach/cthreads.h:     check for missing prerequisite headers?" >&2;}
       
 12870     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h: see the Autoconf documentation" >&5
       
 12871 echo "$as_me: WARNING: mach/cthreads.h: see the Autoconf documentation" >&2;}
       
 12872     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 12873 echo "$as_me: WARNING: mach/cthreads.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 12874     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h: proceeding with the preprocessor's result" >&5
       
 12875 echo "$as_me: WARNING: mach/cthreads.h: proceeding with the preprocessor's result" >&2;}
       
 12876     { echo "$as_me:$LINENO: WARNING: mach/cthreads.h: in the future, the compiler will take precedence" >&5
       
 12877 echo "$as_me: WARNING: mach/cthreads.h: in the future, the compiler will take precedence" >&2;}
       
 12878     ( cat <<\_ASBOX
       
 12879 ## ------------------------------------------------ ##
       
 12880 ## Report this to http://www.python.org/python-bugs ##
       
 12881 ## ------------------------------------------------ ##
       
 12882 _ASBOX
       
 12883      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
 12884     ;;
       
 12885 esac
       
 12886 { echo "$as_me:$LINENO: checking for mach/cthreads.h" >&5
       
 12887 echo $ECHO_N "checking for mach/cthreads.h... $ECHO_C" >&6; }
       
 12888 if test "${ac_cv_header_mach_cthreads_h+set}" = set; then
       
 12889   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12890 else
       
 12891   ac_cv_header_mach_cthreads_h=$ac_header_preproc
       
 12892 fi
       
 12893 { echo "$as_me:$LINENO: result: $ac_cv_header_mach_cthreads_h" >&5
       
 12894 echo "${ECHO_T}$ac_cv_header_mach_cthreads_h" >&6; }
       
 12895 
       
 12896 fi
       
 12897 if test $ac_cv_header_mach_cthreads_h = yes; then
       
 12898   cat >>confdefs.h <<\_ACEOF
       
 12899 #define WITH_THREAD 1
       
 12900 _ACEOF
       
 12901 
       
 12902     cat >>confdefs.h <<\_ACEOF
       
 12903 #define C_THREADS 1
       
 12904 _ACEOF
       
 12905 
       
 12906 
       
 12907 cat >>confdefs.h <<\_ACEOF
       
 12908 #define MACH_C_THREADS 1
       
 12909 _ACEOF
       
 12910 
       
 12911     THREADOBJ="Python/thread.o"
       
 12912 else
       
 12913 
       
 12914     { echo "$as_me:$LINENO: checking for --with-pth" >&5
       
 12915 echo $ECHO_N "checking for --with-pth... $ECHO_C" >&6; }
       
 12916 
       
 12917 # Check whether --with-pth was given.
       
 12918 if test "${with_pth+set}" = set; then
       
 12919   withval=$with_pth; { echo "$as_me:$LINENO: result: $withval" >&5
       
 12920 echo "${ECHO_T}$withval" >&6; }
       
 12921                   cat >>confdefs.h <<\_ACEOF
       
 12922 #define WITH_THREAD 1
       
 12923 _ACEOF
       
 12924 
       
 12925 
       
 12926 cat >>confdefs.h <<\_ACEOF
       
 12927 #define HAVE_PTH 1
       
 12928 _ACEOF
       
 12929 
       
 12930                   LIBS="-lpth $LIBS"
       
 12931                   THREADOBJ="Python/thread.o"
       
 12932 else
       
 12933   { echo "$as_me:$LINENO: result: no" >&5
       
 12934 echo "${ECHO_T}no" >&6; }
       
 12935 
       
 12936     # Just looking for pthread_create in libpthread is not enough:
       
 12937     # on HP/UX, pthread.h renames pthread_create to a different symbol name.
       
 12938     # So we really have to include pthread.h, and then link.
       
 12939     _libs=$LIBS
       
 12940     LIBS="$LIBS -lpthread"
       
 12941     { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
       
 12942 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
       
 12943     cat >conftest.$ac_ext <<_ACEOF
       
 12944 /* confdefs.h.  */
       
 12945 _ACEOF
       
 12946 cat confdefs.h >>conftest.$ac_ext
       
 12947 cat >>conftest.$ac_ext <<_ACEOF
       
 12948 /* end confdefs.h.  */
       
 12949 #include <pthread.h>
       
 12950 
       
 12951 void * start_routine (void *arg) { exit (0); }
       
 12952 int
       
 12953 main ()
       
 12954 {
       
 12955 
       
 12956 pthread_create (NULL, NULL, start_routine, NULL)
       
 12957   ;
       
 12958   return 0;
       
 12959 }
       
 12960 _ACEOF
       
 12961 rm -f conftest.$ac_objext conftest$ac_exeext
       
 12962 if { (ac_try="$ac_link"
       
 12963 case "(($ac_try" in
       
 12964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 12965   *) ac_try_echo=$ac_try;;
       
 12966 esac
       
 12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 12968   (eval "$ac_link") 2>conftest.er1
       
 12969   ac_status=$?
       
 12970   grep -v '^ *+' conftest.er1 >conftest.err
       
 12971   rm -f conftest.er1
       
 12972   cat conftest.err >&5
       
 12973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12974   (exit $ac_status); } && {
       
 12975 	 test -z "$ac_c_werror_flag" ||
       
 12976 	 test ! -s conftest.err
       
 12977        } && test -s conftest$ac_exeext &&
       
 12978        $as_test_x conftest$ac_exeext; then
       
 12979 
       
 12980     { echo "$as_me:$LINENO: result: yes" >&5
       
 12981 echo "${ECHO_T}yes" >&6; }
       
 12982     cat >>confdefs.h <<\_ACEOF
       
 12983 #define WITH_THREAD 1
       
 12984 _ACEOF
       
 12985 
       
 12986     posix_threads=yes
       
 12987     THREADOBJ="Python/thread.o"
       
 12988 else
       
 12989   echo "$as_me: failed program was:" >&5
       
 12990 sed 's/^/| /' conftest.$ac_ext >&5
       
 12991 
       
 12992 
       
 12993     LIBS=$_libs
       
 12994     { echo "$as_me:$LINENO: checking for pthread_detach" >&5
       
 12995 echo $ECHO_N "checking for pthread_detach... $ECHO_C" >&6; }
       
 12996 if test "${ac_cv_func_pthread_detach+set}" = set; then
       
 12997   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12998 else
       
 12999   cat >conftest.$ac_ext <<_ACEOF
       
 13000 /* confdefs.h.  */
       
 13001 _ACEOF
       
 13002 cat confdefs.h >>conftest.$ac_ext
       
 13003 cat >>conftest.$ac_ext <<_ACEOF
       
 13004 /* end confdefs.h.  */
       
 13005 /* Define pthread_detach to an innocuous variant, in case <limits.h> declares pthread_detach.
       
 13006    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 13007 #define pthread_detach innocuous_pthread_detach
       
 13008 
       
 13009 /* System header to define __stub macros and hopefully few prototypes,
       
 13010     which can conflict with char pthread_detach (); below.
       
 13011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 13012     <limits.h> exists even on freestanding compilers.  */
       
 13013 
       
 13014 #ifdef __STDC__
       
 13015 # include <limits.h>
       
 13016 #else
       
 13017 # include <assert.h>
       
 13018 #endif
       
 13019 
       
 13020 #undef pthread_detach
       
 13021 
       
 13022 /* Override any GCC internal prototype to avoid an error.
       
 13023    Use char because int might match the return type of a GCC
       
 13024    builtin and then its argument prototype would still apply.  */
       
 13025 #ifdef __cplusplus
       
 13026 extern "C"
       
 13027 #endif
       
 13028 char pthread_detach ();
       
 13029 /* The GNU C library defines this for functions which it implements
       
 13030     to always fail with ENOSYS.  Some functions are actually named
       
 13031     something starting with __ and the normal name is an alias.  */
       
 13032 #if defined __stub_pthread_detach || defined __stub___pthread_detach
       
 13033 choke me
       
 13034 #endif
       
 13035 
       
 13036 int
       
 13037 main ()
       
 13038 {
       
 13039 return pthread_detach ();
       
 13040   ;
       
 13041   return 0;
       
 13042 }
       
 13043 _ACEOF
       
 13044 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13045 if { (ac_try="$ac_link"
       
 13046 case "(($ac_try" in
       
 13047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13048   *) ac_try_echo=$ac_try;;
       
 13049 esac
       
 13050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13051   (eval "$ac_link") 2>conftest.er1
       
 13052   ac_status=$?
       
 13053   grep -v '^ *+' conftest.er1 >conftest.err
       
 13054   rm -f conftest.er1
       
 13055   cat conftest.err >&5
       
 13056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13057   (exit $ac_status); } && {
       
 13058 	 test -z "$ac_c_werror_flag" ||
       
 13059 	 test ! -s conftest.err
       
 13060        } && test -s conftest$ac_exeext &&
       
 13061        $as_test_x conftest$ac_exeext; then
       
 13062   ac_cv_func_pthread_detach=yes
       
 13063 else
       
 13064   echo "$as_me: failed program was:" >&5
       
 13065 sed 's/^/| /' conftest.$ac_ext >&5
       
 13066 
       
 13067 	ac_cv_func_pthread_detach=no
       
 13068 fi
       
 13069 
       
 13070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13071       conftest$ac_exeext conftest.$ac_ext
       
 13072 fi
       
 13073 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_detach" >&5
       
 13074 echo "${ECHO_T}$ac_cv_func_pthread_detach" >&6; }
       
 13075 if test $ac_cv_func_pthread_detach = yes; then
       
 13076   cat >>confdefs.h <<\_ACEOF
       
 13077 #define WITH_THREAD 1
       
 13078 _ACEOF
       
 13079 
       
 13080     posix_threads=yes
       
 13081     THREADOBJ="Python/thread.o"
       
 13082 else
       
 13083 
       
 13084     if test "${ac_cv_header_atheos_threads_h+set}" = set; then
       
 13085   { echo "$as_me:$LINENO: checking for atheos/threads.h" >&5
       
 13086 echo $ECHO_N "checking for atheos/threads.h... $ECHO_C" >&6; }
       
 13087 if test "${ac_cv_header_atheos_threads_h+set}" = set; then
       
 13088   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13089 fi
       
 13090 { echo "$as_me:$LINENO: result: $ac_cv_header_atheos_threads_h" >&5
       
 13091 echo "${ECHO_T}$ac_cv_header_atheos_threads_h" >&6; }
       
 13092 else
       
 13093   # Is the header compilable?
       
 13094 { echo "$as_me:$LINENO: checking atheos/threads.h usability" >&5
       
 13095 echo $ECHO_N "checking atheos/threads.h usability... $ECHO_C" >&6; }
       
 13096 cat >conftest.$ac_ext <<_ACEOF
       
 13097 /* confdefs.h.  */
       
 13098 _ACEOF
       
 13099 cat confdefs.h >>conftest.$ac_ext
       
 13100 cat >>conftest.$ac_ext <<_ACEOF
       
 13101 /* end confdefs.h.  */
       
 13102 $ac_includes_default
       
 13103 #include <atheos/threads.h>
       
 13104 _ACEOF
       
 13105 rm -f conftest.$ac_objext
       
 13106 if { (ac_try="$ac_compile"
       
 13107 case "(($ac_try" in
       
 13108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13109   *) ac_try_echo=$ac_try;;
       
 13110 esac
       
 13111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13112   (eval "$ac_compile") 2>conftest.er1
       
 13113   ac_status=$?
       
 13114   grep -v '^ *+' conftest.er1 >conftest.err
       
 13115   rm -f conftest.er1
       
 13116   cat conftest.err >&5
       
 13117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13118   (exit $ac_status); } && {
       
 13119 	 test -z "$ac_c_werror_flag" ||
       
 13120 	 test ! -s conftest.err
       
 13121        } && test -s conftest.$ac_objext; then
       
 13122   ac_header_compiler=yes
       
 13123 else
       
 13124   echo "$as_me: failed program was:" >&5
       
 13125 sed 's/^/| /' conftest.$ac_ext >&5
       
 13126 
       
 13127 	ac_header_compiler=no
       
 13128 fi
       
 13129 
       
 13130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 13131 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 13132 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 13133 
       
 13134 # Is the header present?
       
 13135 { echo "$as_me:$LINENO: checking atheos/threads.h presence" >&5
       
 13136 echo $ECHO_N "checking atheos/threads.h presence... $ECHO_C" >&6; }
       
 13137 cat >conftest.$ac_ext <<_ACEOF
       
 13138 /* confdefs.h.  */
       
 13139 _ACEOF
       
 13140 cat confdefs.h >>conftest.$ac_ext
       
 13141 cat >>conftest.$ac_ext <<_ACEOF
       
 13142 /* end confdefs.h.  */
       
 13143 #include <atheos/threads.h>
       
 13144 _ACEOF
       
 13145 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 13146 case "(($ac_try" in
       
 13147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13148   *) ac_try_echo=$ac_try;;
       
 13149 esac
       
 13150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13151   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 13152   ac_status=$?
       
 13153   grep -v '^ *+' conftest.er1 >conftest.err
       
 13154   rm -f conftest.er1
       
 13155   cat conftest.err >&5
       
 13156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13157   (exit $ac_status); } >/dev/null && {
       
 13158 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 13159 	 test ! -s conftest.err
       
 13160        }; then
       
 13161   ac_header_preproc=yes
       
 13162 else
       
 13163   echo "$as_me: failed program was:" >&5
       
 13164 sed 's/^/| /' conftest.$ac_ext >&5
       
 13165 
       
 13166   ac_header_preproc=no
       
 13167 fi
       
 13168 
       
 13169 rm -f conftest.err conftest.$ac_ext
       
 13170 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 13171 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 13172 
       
 13173 # So?  What about this header?
       
 13174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 13175   yes:no: )
       
 13176     { echo "$as_me:$LINENO: WARNING: atheos/threads.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 13177 echo "$as_me: WARNING: atheos/threads.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 13178     { echo "$as_me:$LINENO: WARNING: atheos/threads.h: proceeding with the compiler's result" >&5
       
 13179 echo "$as_me: WARNING: atheos/threads.h: proceeding with the compiler's result" >&2;}
       
 13180     ac_header_preproc=yes
       
 13181     ;;
       
 13182   no:yes:* )
       
 13183     { echo "$as_me:$LINENO: WARNING: atheos/threads.h: present but cannot be compiled" >&5
       
 13184 echo "$as_me: WARNING: atheos/threads.h: present but cannot be compiled" >&2;}
       
 13185     { echo "$as_me:$LINENO: WARNING: atheos/threads.h:     check for missing prerequisite headers?" >&5
       
 13186 echo "$as_me: WARNING: atheos/threads.h:     check for missing prerequisite headers?" >&2;}
       
 13187     { echo "$as_me:$LINENO: WARNING: atheos/threads.h: see the Autoconf documentation" >&5
       
 13188 echo "$as_me: WARNING: atheos/threads.h: see the Autoconf documentation" >&2;}
       
 13189     { echo "$as_me:$LINENO: WARNING: atheos/threads.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 13190 echo "$as_me: WARNING: atheos/threads.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 13191     { echo "$as_me:$LINENO: WARNING: atheos/threads.h: proceeding with the preprocessor's result" >&5
       
 13192 echo "$as_me: WARNING: atheos/threads.h: proceeding with the preprocessor's result" >&2;}
       
 13193     { echo "$as_me:$LINENO: WARNING: atheos/threads.h: in the future, the compiler will take precedence" >&5
       
 13194 echo "$as_me: WARNING: atheos/threads.h: in the future, the compiler will take precedence" >&2;}
       
 13195     ( cat <<\_ASBOX
       
 13196 ## ------------------------------------------------ ##
       
 13197 ## Report this to http://www.python.org/python-bugs ##
       
 13198 ## ------------------------------------------------ ##
       
 13199 _ASBOX
       
 13200      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
 13201     ;;
       
 13202 esac
       
 13203 { echo "$as_me:$LINENO: checking for atheos/threads.h" >&5
       
 13204 echo $ECHO_N "checking for atheos/threads.h... $ECHO_C" >&6; }
       
 13205 if test "${ac_cv_header_atheos_threads_h+set}" = set; then
       
 13206   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13207 else
       
 13208   ac_cv_header_atheos_threads_h=$ac_header_preproc
       
 13209 fi
       
 13210 { echo "$as_me:$LINENO: result: $ac_cv_header_atheos_threads_h" >&5
       
 13211 echo "${ECHO_T}$ac_cv_header_atheos_threads_h" >&6; }
       
 13212 
       
 13213 fi
       
 13214 if test $ac_cv_header_atheos_threads_h = yes; then
       
 13215   cat >>confdefs.h <<\_ACEOF
       
 13216 #define WITH_THREAD 1
       
 13217 _ACEOF
       
 13218 
       
 13219 
       
 13220 cat >>confdefs.h <<\_ACEOF
       
 13221 #define ATHEOS_THREADS 1
       
 13222 _ACEOF
       
 13223 
       
 13224     THREADOBJ="Python/thread.o"
       
 13225 else
       
 13226 
       
 13227     if test "${ac_cv_header_kernel_OS_h+set}" = set; then
       
 13228   { echo "$as_me:$LINENO: checking for kernel/OS.h" >&5
       
 13229 echo $ECHO_N "checking for kernel/OS.h... $ECHO_C" >&6; }
       
 13230 if test "${ac_cv_header_kernel_OS_h+set}" = set; then
       
 13231   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13232 fi
       
 13233 { echo "$as_me:$LINENO: result: $ac_cv_header_kernel_OS_h" >&5
       
 13234 echo "${ECHO_T}$ac_cv_header_kernel_OS_h" >&6; }
       
 13235 else
       
 13236   # Is the header compilable?
       
 13237 { echo "$as_me:$LINENO: checking kernel/OS.h usability" >&5
       
 13238 echo $ECHO_N "checking kernel/OS.h usability... $ECHO_C" >&6; }
       
 13239 cat >conftest.$ac_ext <<_ACEOF
       
 13240 /* confdefs.h.  */
       
 13241 _ACEOF
       
 13242 cat confdefs.h >>conftest.$ac_ext
       
 13243 cat >>conftest.$ac_ext <<_ACEOF
       
 13244 /* end confdefs.h.  */
       
 13245 $ac_includes_default
       
 13246 #include <kernel/OS.h>
       
 13247 _ACEOF
       
 13248 rm -f conftest.$ac_objext
       
 13249 if { (ac_try="$ac_compile"
       
 13250 case "(($ac_try" in
       
 13251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13252   *) ac_try_echo=$ac_try;;
       
 13253 esac
       
 13254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13255   (eval "$ac_compile") 2>conftest.er1
       
 13256   ac_status=$?
       
 13257   grep -v '^ *+' conftest.er1 >conftest.err
       
 13258   rm -f conftest.er1
       
 13259   cat conftest.err >&5
       
 13260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13261   (exit $ac_status); } && {
       
 13262 	 test -z "$ac_c_werror_flag" ||
       
 13263 	 test ! -s conftest.err
       
 13264        } && test -s conftest.$ac_objext; then
       
 13265   ac_header_compiler=yes
       
 13266 else
       
 13267   echo "$as_me: failed program was:" >&5
       
 13268 sed 's/^/| /' conftest.$ac_ext >&5
       
 13269 
       
 13270 	ac_header_compiler=no
       
 13271 fi
       
 13272 
       
 13273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 13274 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 13275 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 13276 
       
 13277 # Is the header present?
       
 13278 { echo "$as_me:$LINENO: checking kernel/OS.h presence" >&5
       
 13279 echo $ECHO_N "checking kernel/OS.h presence... $ECHO_C" >&6; }
       
 13280 cat >conftest.$ac_ext <<_ACEOF
       
 13281 /* confdefs.h.  */
       
 13282 _ACEOF
       
 13283 cat confdefs.h >>conftest.$ac_ext
       
 13284 cat >>conftest.$ac_ext <<_ACEOF
       
 13285 /* end confdefs.h.  */
       
 13286 #include <kernel/OS.h>
       
 13287 _ACEOF
       
 13288 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 13289 case "(($ac_try" in
       
 13290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13291   *) ac_try_echo=$ac_try;;
       
 13292 esac
       
 13293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13294   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 13295   ac_status=$?
       
 13296   grep -v '^ *+' conftest.er1 >conftest.err
       
 13297   rm -f conftest.er1
       
 13298   cat conftest.err >&5
       
 13299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13300   (exit $ac_status); } >/dev/null && {
       
 13301 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 13302 	 test ! -s conftest.err
       
 13303        }; then
       
 13304   ac_header_preproc=yes
       
 13305 else
       
 13306   echo "$as_me: failed program was:" >&5
       
 13307 sed 's/^/| /' conftest.$ac_ext >&5
       
 13308 
       
 13309   ac_header_preproc=no
       
 13310 fi
       
 13311 
       
 13312 rm -f conftest.err conftest.$ac_ext
       
 13313 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 13314 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 13315 
       
 13316 # So?  What about this header?
       
 13317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 13318   yes:no: )
       
 13319     { echo "$as_me:$LINENO: WARNING: kernel/OS.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 13320 echo "$as_me: WARNING: kernel/OS.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 13321     { echo "$as_me:$LINENO: WARNING: kernel/OS.h: proceeding with the compiler's result" >&5
       
 13322 echo "$as_me: WARNING: kernel/OS.h: proceeding with the compiler's result" >&2;}
       
 13323     ac_header_preproc=yes
       
 13324     ;;
       
 13325   no:yes:* )
       
 13326     { echo "$as_me:$LINENO: WARNING: kernel/OS.h: present but cannot be compiled" >&5
       
 13327 echo "$as_me: WARNING: kernel/OS.h: present but cannot be compiled" >&2;}
       
 13328     { echo "$as_me:$LINENO: WARNING: kernel/OS.h:     check for missing prerequisite headers?" >&5
       
 13329 echo "$as_me: WARNING: kernel/OS.h:     check for missing prerequisite headers?" >&2;}
       
 13330     { echo "$as_me:$LINENO: WARNING: kernel/OS.h: see the Autoconf documentation" >&5
       
 13331 echo "$as_me: WARNING: kernel/OS.h: see the Autoconf documentation" >&2;}
       
 13332     { echo "$as_me:$LINENO: WARNING: kernel/OS.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 13333 echo "$as_me: WARNING: kernel/OS.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 13334     { echo "$as_me:$LINENO: WARNING: kernel/OS.h: proceeding with the preprocessor's result" >&5
       
 13335 echo "$as_me: WARNING: kernel/OS.h: proceeding with the preprocessor's result" >&2;}
       
 13336     { echo "$as_me:$LINENO: WARNING: kernel/OS.h: in the future, the compiler will take precedence" >&5
       
 13337 echo "$as_me: WARNING: kernel/OS.h: in the future, the compiler will take precedence" >&2;}
       
 13338     ( cat <<\_ASBOX
       
 13339 ## ------------------------------------------------ ##
       
 13340 ## Report this to http://www.python.org/python-bugs ##
       
 13341 ## ------------------------------------------------ ##
       
 13342 _ASBOX
       
 13343      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
 13344     ;;
       
 13345 esac
       
 13346 { echo "$as_me:$LINENO: checking for kernel/OS.h" >&5
       
 13347 echo $ECHO_N "checking for kernel/OS.h... $ECHO_C" >&6; }
       
 13348 if test "${ac_cv_header_kernel_OS_h+set}" = set; then
       
 13349   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13350 else
       
 13351   ac_cv_header_kernel_OS_h=$ac_header_preproc
       
 13352 fi
       
 13353 { echo "$as_me:$LINENO: result: $ac_cv_header_kernel_OS_h" >&5
       
 13354 echo "${ECHO_T}$ac_cv_header_kernel_OS_h" >&6; }
       
 13355 
       
 13356 fi
       
 13357 if test $ac_cv_header_kernel_OS_h = yes; then
       
 13358   cat >>confdefs.h <<\_ACEOF
       
 13359 #define WITH_THREAD 1
       
 13360 _ACEOF
       
 13361 
       
 13362 
       
 13363 cat >>confdefs.h <<\_ACEOF
       
 13364 #define BEOS_THREADS 1
       
 13365 _ACEOF
       
 13366 
       
 13367     THREADOBJ="Python/thread.o"
       
 13368 else
       
 13369 
       
 13370     { echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
       
 13371 echo $ECHO_N "checking for pthread_create in -lpthreads... $ECHO_C" >&6; }
       
 13372 if test "${ac_cv_lib_pthreads_pthread_create+set}" = set; then
       
 13373   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13374 else
       
 13375   ac_check_lib_save_LIBS=$LIBS
       
 13376 LIBS="-lpthreads  $LIBS"
       
 13377 cat >conftest.$ac_ext <<_ACEOF
       
 13378 /* confdefs.h.  */
       
 13379 _ACEOF
       
 13380 cat confdefs.h >>conftest.$ac_ext
       
 13381 cat >>conftest.$ac_ext <<_ACEOF
       
 13382 /* end confdefs.h.  */
       
 13383 
       
 13384 /* Override any GCC internal prototype to avoid an error.
       
 13385    Use char because int might match the return type of a GCC
       
 13386    builtin and then its argument prototype would still apply.  */
       
 13387 #ifdef __cplusplus
       
 13388 extern "C"
       
 13389 #endif
       
 13390 char pthread_create ();
       
 13391 int
       
 13392 main ()
       
 13393 {
       
 13394 return pthread_create ();
       
 13395   ;
       
 13396   return 0;
       
 13397 }
       
 13398 _ACEOF
       
 13399 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13400 if { (ac_try="$ac_link"
       
 13401 case "(($ac_try" in
       
 13402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13403   *) ac_try_echo=$ac_try;;
       
 13404 esac
       
 13405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13406   (eval "$ac_link") 2>conftest.er1
       
 13407   ac_status=$?
       
 13408   grep -v '^ *+' conftest.er1 >conftest.err
       
 13409   rm -f conftest.er1
       
 13410   cat conftest.err >&5
       
 13411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13412   (exit $ac_status); } && {
       
 13413 	 test -z "$ac_c_werror_flag" ||
       
 13414 	 test ! -s conftest.err
       
 13415        } && test -s conftest$ac_exeext &&
       
 13416        $as_test_x conftest$ac_exeext; then
       
 13417   ac_cv_lib_pthreads_pthread_create=yes
       
 13418 else
       
 13419   echo "$as_me: failed program was:" >&5
       
 13420 sed 's/^/| /' conftest.$ac_ext >&5
       
 13421 
       
 13422 	ac_cv_lib_pthreads_pthread_create=no
       
 13423 fi
       
 13424 
       
 13425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13426       conftest$ac_exeext conftest.$ac_ext
       
 13427 LIBS=$ac_check_lib_save_LIBS
       
 13428 fi
       
 13429 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_create" >&5
       
 13430 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_create" >&6; }
       
 13431 if test $ac_cv_lib_pthreads_pthread_create = yes; then
       
 13432   cat >>confdefs.h <<\_ACEOF
       
 13433 #define WITH_THREAD 1
       
 13434 _ACEOF
       
 13435 
       
 13436     posix_threads=yes
       
 13437     LIBS="$LIBS -lpthreads"
       
 13438     THREADOBJ="Python/thread.o"
       
 13439 else
       
 13440 
       
 13441     { echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
       
 13442 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6; }
       
 13443 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
       
 13444   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13445 else
       
 13446   ac_check_lib_save_LIBS=$LIBS
       
 13447 LIBS="-lc_r  $LIBS"
       
 13448 cat >conftest.$ac_ext <<_ACEOF
       
 13449 /* confdefs.h.  */
       
 13450 _ACEOF
       
 13451 cat confdefs.h >>conftest.$ac_ext
       
 13452 cat >>conftest.$ac_ext <<_ACEOF
       
 13453 /* end confdefs.h.  */
       
 13454 
       
 13455 /* Override any GCC internal prototype to avoid an error.
       
 13456    Use char because int might match the return type of a GCC
       
 13457    builtin and then its argument prototype would still apply.  */
       
 13458 #ifdef __cplusplus
       
 13459 extern "C"
       
 13460 #endif
       
 13461 char pthread_create ();
       
 13462 int
       
 13463 main ()
       
 13464 {
       
 13465 return pthread_create ();
       
 13466   ;
       
 13467   return 0;
       
 13468 }
       
 13469 _ACEOF
       
 13470 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13471 if { (ac_try="$ac_link"
       
 13472 case "(($ac_try" in
       
 13473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13474   *) ac_try_echo=$ac_try;;
       
 13475 esac
       
 13476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13477   (eval "$ac_link") 2>conftest.er1
       
 13478   ac_status=$?
       
 13479   grep -v '^ *+' conftest.er1 >conftest.err
       
 13480   rm -f conftest.er1
       
 13481   cat conftest.err >&5
       
 13482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13483   (exit $ac_status); } && {
       
 13484 	 test -z "$ac_c_werror_flag" ||
       
 13485 	 test ! -s conftest.err
       
 13486        } && test -s conftest$ac_exeext &&
       
 13487        $as_test_x conftest$ac_exeext; then
       
 13488   ac_cv_lib_c_r_pthread_create=yes
       
 13489 else
       
 13490   echo "$as_me: failed program was:" >&5
       
 13491 sed 's/^/| /' conftest.$ac_ext >&5
       
 13492 
       
 13493 	ac_cv_lib_c_r_pthread_create=no
       
 13494 fi
       
 13495 
       
 13496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13497       conftest$ac_exeext conftest.$ac_ext
       
 13498 LIBS=$ac_check_lib_save_LIBS
       
 13499 fi
       
 13500 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
       
 13501 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6; }
       
 13502 if test $ac_cv_lib_c_r_pthread_create = yes; then
       
 13503   cat >>confdefs.h <<\_ACEOF
       
 13504 #define WITH_THREAD 1
       
 13505 _ACEOF
       
 13506 
       
 13507     posix_threads=yes
       
 13508     LIBS="$LIBS -lc_r"
       
 13509     THREADOBJ="Python/thread.o"
       
 13510 else
       
 13511 
       
 13512     { echo "$as_me:$LINENO: checking for __pthread_create_system in -lpthread" >&5
       
 13513 echo $ECHO_N "checking for __pthread_create_system in -lpthread... $ECHO_C" >&6; }
       
 13514 if test "${ac_cv_lib_pthread___pthread_create_system+set}" = set; then
       
 13515   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13516 else
       
 13517   ac_check_lib_save_LIBS=$LIBS
       
 13518 LIBS="-lpthread  $LIBS"
       
 13519 cat >conftest.$ac_ext <<_ACEOF
       
 13520 /* confdefs.h.  */
       
 13521 _ACEOF
       
 13522 cat confdefs.h >>conftest.$ac_ext
       
 13523 cat >>conftest.$ac_ext <<_ACEOF
       
 13524 /* end confdefs.h.  */
       
 13525 
       
 13526 /* Override any GCC internal prototype to avoid an error.
       
 13527    Use char because int might match the return type of a GCC
       
 13528    builtin and then its argument prototype would still apply.  */
       
 13529 #ifdef __cplusplus
       
 13530 extern "C"
       
 13531 #endif
       
 13532 char __pthread_create_system ();
       
 13533 int
       
 13534 main ()
       
 13535 {
       
 13536 return __pthread_create_system ();
       
 13537   ;
       
 13538   return 0;
       
 13539 }
       
 13540 _ACEOF
       
 13541 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13542 if { (ac_try="$ac_link"
       
 13543 case "(($ac_try" in
       
 13544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13545   *) ac_try_echo=$ac_try;;
       
 13546 esac
       
 13547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13548   (eval "$ac_link") 2>conftest.er1
       
 13549   ac_status=$?
       
 13550   grep -v '^ *+' conftest.er1 >conftest.err
       
 13551   rm -f conftest.er1
       
 13552   cat conftest.err >&5
       
 13553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13554   (exit $ac_status); } && {
       
 13555 	 test -z "$ac_c_werror_flag" ||
       
 13556 	 test ! -s conftest.err
       
 13557        } && test -s conftest$ac_exeext &&
       
 13558        $as_test_x conftest$ac_exeext; then
       
 13559   ac_cv_lib_pthread___pthread_create_system=yes
       
 13560 else
       
 13561   echo "$as_me: failed program was:" >&5
       
 13562 sed 's/^/| /' conftest.$ac_ext >&5
       
 13563 
       
 13564 	ac_cv_lib_pthread___pthread_create_system=no
       
 13565 fi
       
 13566 
       
 13567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13568       conftest$ac_exeext conftest.$ac_ext
       
 13569 LIBS=$ac_check_lib_save_LIBS
       
 13570 fi
       
 13571 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_create_system" >&5
       
 13572 echo "${ECHO_T}$ac_cv_lib_pthread___pthread_create_system" >&6; }
       
 13573 if test $ac_cv_lib_pthread___pthread_create_system = yes; then
       
 13574   cat >>confdefs.h <<\_ACEOF
       
 13575 #define WITH_THREAD 1
       
 13576 _ACEOF
       
 13577 
       
 13578     posix_threads=yes
       
 13579     LIBS="$LIBS -lpthread"
       
 13580     THREADOBJ="Python/thread.o"
       
 13581 else
       
 13582 
       
 13583     { echo "$as_me:$LINENO: checking for pthread_create in -lcma" >&5
       
 13584 echo $ECHO_N "checking for pthread_create in -lcma... $ECHO_C" >&6; }
       
 13585 if test "${ac_cv_lib_cma_pthread_create+set}" = set; then
       
 13586   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13587 else
       
 13588   ac_check_lib_save_LIBS=$LIBS
       
 13589 LIBS="-lcma  $LIBS"
       
 13590 cat >conftest.$ac_ext <<_ACEOF
       
 13591 /* confdefs.h.  */
       
 13592 _ACEOF
       
 13593 cat confdefs.h >>conftest.$ac_ext
       
 13594 cat >>conftest.$ac_ext <<_ACEOF
       
 13595 /* end confdefs.h.  */
       
 13596 
       
 13597 /* Override any GCC internal prototype to avoid an error.
       
 13598    Use char because int might match the return type of a GCC
       
 13599    builtin and then its argument prototype would still apply.  */
       
 13600 #ifdef __cplusplus
       
 13601 extern "C"
       
 13602 #endif
       
 13603 char pthread_create ();
       
 13604 int
       
 13605 main ()
       
 13606 {
       
 13607 return pthread_create ();
       
 13608   ;
       
 13609   return 0;
       
 13610 }
       
 13611 _ACEOF
       
 13612 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13613 if { (ac_try="$ac_link"
       
 13614 case "(($ac_try" in
       
 13615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13616   *) ac_try_echo=$ac_try;;
       
 13617 esac
       
 13618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13619   (eval "$ac_link") 2>conftest.er1
       
 13620   ac_status=$?
       
 13621   grep -v '^ *+' conftest.er1 >conftest.err
       
 13622   rm -f conftest.er1
       
 13623   cat conftest.err >&5
       
 13624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13625   (exit $ac_status); } && {
       
 13626 	 test -z "$ac_c_werror_flag" ||
       
 13627 	 test ! -s conftest.err
       
 13628        } && test -s conftest$ac_exeext &&
       
 13629        $as_test_x conftest$ac_exeext; then
       
 13630   ac_cv_lib_cma_pthread_create=yes
       
 13631 else
       
 13632   echo "$as_me: failed program was:" >&5
       
 13633 sed 's/^/| /' conftest.$ac_ext >&5
       
 13634 
       
 13635 	ac_cv_lib_cma_pthread_create=no
       
 13636 fi
       
 13637 
       
 13638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13639       conftest$ac_exeext conftest.$ac_ext
       
 13640 LIBS=$ac_check_lib_save_LIBS
       
 13641 fi
       
 13642 { echo "$as_me:$LINENO: result: $ac_cv_lib_cma_pthread_create" >&5
       
 13643 echo "${ECHO_T}$ac_cv_lib_cma_pthread_create" >&6; }
       
 13644 if test $ac_cv_lib_cma_pthread_create = yes; then
       
 13645   cat >>confdefs.h <<\_ACEOF
       
 13646 #define WITH_THREAD 1
       
 13647 _ACEOF
       
 13648 
       
 13649     posix_threads=yes
       
 13650     LIBS="$LIBS -lcma"
       
 13651     THREADOBJ="Python/thread.o"
       
 13652 else
       
 13653 
       
 13654     USE_THREAD_MODULE="#"
       
 13655 fi
       
 13656 
       
 13657 
       
 13658 fi
       
 13659 
       
 13660 fi
       
 13661 
       
 13662 fi
       
 13663 
       
 13664 fi
       
 13665 
       
 13666 
       
 13667 fi
       
 13668 
       
 13669 
       
 13670 fi
       
 13671 
       
 13672 fi
       
 13673 
       
 13674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13675       conftest$ac_exeext conftest.$ac_ext
       
 13676 fi
       
 13677 
       
 13678 fi
       
 13679 
       
 13680 
       
 13681 fi
       
 13682 
       
 13683 
       
 13684 
       
 13685     { echo "$as_me:$LINENO: checking for usconfig in -lmpc" >&5
       
 13686 echo $ECHO_N "checking for usconfig in -lmpc... $ECHO_C" >&6; }
       
 13687 if test "${ac_cv_lib_mpc_usconfig+set}" = set; then
       
 13688   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13689 else
       
 13690   ac_check_lib_save_LIBS=$LIBS
       
 13691 LIBS="-lmpc  $LIBS"
       
 13692 cat >conftest.$ac_ext <<_ACEOF
       
 13693 /* confdefs.h.  */
       
 13694 _ACEOF
       
 13695 cat confdefs.h >>conftest.$ac_ext
       
 13696 cat >>conftest.$ac_ext <<_ACEOF
       
 13697 /* end confdefs.h.  */
       
 13698 
       
 13699 /* Override any GCC internal prototype to avoid an error.
       
 13700    Use char because int might match the return type of a GCC
       
 13701    builtin and then its argument prototype would still apply.  */
       
 13702 #ifdef __cplusplus
       
 13703 extern "C"
       
 13704 #endif
       
 13705 char usconfig ();
       
 13706 int
       
 13707 main ()
       
 13708 {
       
 13709 return usconfig ();
       
 13710   ;
       
 13711   return 0;
       
 13712 }
       
 13713 _ACEOF
       
 13714 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13715 if { (ac_try="$ac_link"
       
 13716 case "(($ac_try" in
       
 13717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13718   *) ac_try_echo=$ac_try;;
       
 13719 esac
       
 13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13721   (eval "$ac_link") 2>conftest.er1
       
 13722   ac_status=$?
       
 13723   grep -v '^ *+' conftest.er1 >conftest.err
       
 13724   rm -f conftest.er1
       
 13725   cat conftest.err >&5
       
 13726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13727   (exit $ac_status); } && {
       
 13728 	 test -z "$ac_c_werror_flag" ||
       
 13729 	 test ! -s conftest.err
       
 13730        } && test -s conftest$ac_exeext &&
       
 13731        $as_test_x conftest$ac_exeext; then
       
 13732   ac_cv_lib_mpc_usconfig=yes
       
 13733 else
       
 13734   echo "$as_me: failed program was:" >&5
       
 13735 sed 's/^/| /' conftest.$ac_ext >&5
       
 13736 
       
 13737 	ac_cv_lib_mpc_usconfig=no
       
 13738 fi
       
 13739 
       
 13740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13741       conftest$ac_exeext conftest.$ac_ext
       
 13742 LIBS=$ac_check_lib_save_LIBS
       
 13743 fi
       
 13744 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpc_usconfig" >&5
       
 13745 echo "${ECHO_T}$ac_cv_lib_mpc_usconfig" >&6; }
       
 13746 if test $ac_cv_lib_mpc_usconfig = yes; then
       
 13747   cat >>confdefs.h <<\_ACEOF
       
 13748 #define WITH_THREAD 1
       
 13749 _ACEOF
       
 13750 
       
 13751     LIBS="$LIBS -lmpc"
       
 13752     THREADOBJ="Python/thread.o"
       
 13753     USE_THREAD_MODULE=""
       
 13754 fi
       
 13755 
       
 13756 
       
 13757     if test "$posix_threads" != "yes"; then
       
 13758       { echo "$as_me:$LINENO: checking for thr_create in -lthread" >&5
       
 13759 echo $ECHO_N "checking for thr_create in -lthread... $ECHO_C" >&6; }
       
 13760 if test "${ac_cv_lib_thread_thr_create+set}" = set; then
       
 13761   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13762 else
       
 13763   ac_check_lib_save_LIBS=$LIBS
       
 13764 LIBS="-lthread  $LIBS"
       
 13765 cat >conftest.$ac_ext <<_ACEOF
       
 13766 /* confdefs.h.  */
       
 13767 _ACEOF
       
 13768 cat confdefs.h >>conftest.$ac_ext
       
 13769 cat >>conftest.$ac_ext <<_ACEOF
       
 13770 /* end confdefs.h.  */
       
 13771 
       
 13772 /* Override any GCC internal prototype to avoid an error.
       
 13773    Use char because int might match the return type of a GCC
       
 13774    builtin and then its argument prototype would still apply.  */
       
 13775 #ifdef __cplusplus
       
 13776 extern "C"
       
 13777 #endif
       
 13778 char thr_create ();
       
 13779 int
       
 13780 main ()
       
 13781 {
       
 13782 return thr_create ();
       
 13783   ;
       
 13784   return 0;
       
 13785 }
       
 13786 _ACEOF
       
 13787 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13788 if { (ac_try="$ac_link"
       
 13789 case "(($ac_try" in
       
 13790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13791   *) ac_try_echo=$ac_try;;
       
 13792 esac
       
 13793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13794   (eval "$ac_link") 2>conftest.er1
       
 13795   ac_status=$?
       
 13796   grep -v '^ *+' conftest.er1 >conftest.err
       
 13797   rm -f conftest.er1
       
 13798   cat conftest.err >&5
       
 13799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13800   (exit $ac_status); } && {
       
 13801 	 test -z "$ac_c_werror_flag" ||
       
 13802 	 test ! -s conftest.err
       
 13803        } && test -s conftest$ac_exeext &&
       
 13804        $as_test_x conftest$ac_exeext; then
       
 13805   ac_cv_lib_thread_thr_create=yes
       
 13806 else
       
 13807   echo "$as_me: failed program was:" >&5
       
 13808 sed 's/^/| /' conftest.$ac_ext >&5
       
 13809 
       
 13810 	ac_cv_lib_thread_thr_create=no
       
 13811 fi
       
 13812 
       
 13813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 13814       conftest$ac_exeext conftest.$ac_ext
       
 13815 LIBS=$ac_check_lib_save_LIBS
       
 13816 fi
       
 13817 { echo "$as_me:$LINENO: result: $ac_cv_lib_thread_thr_create" >&5
       
 13818 echo "${ECHO_T}$ac_cv_lib_thread_thr_create" >&6; }
       
 13819 if test $ac_cv_lib_thread_thr_create = yes; then
       
 13820   cat >>confdefs.h <<\_ACEOF
       
 13821 #define WITH_THREAD 1
       
 13822 _ACEOF
       
 13823 
       
 13824       LIBS="$LIBS -lthread"
       
 13825       THREADOBJ="Python/thread.o"
       
 13826       USE_THREAD_MODULE=""
       
 13827 fi
       
 13828 
       
 13829     fi
       
 13830 
       
 13831     if test "$USE_THREAD_MODULE" != "#"
       
 13832     then
       
 13833         # If the above checks didn't disable threads, (at least) OSF1
       
 13834         # needs this '-threads' argument during linking.
       
 13835         case $ac_sys_system in
       
 13836         OSF1) LDLAST=-threads;;
       
 13837         esac
       
 13838     fi
       
 13839 fi
       
 13840 
       
 13841 if test "$posix_threads" = "yes"; then
       
 13842       if test "$unistd_defines_pthreads" = "no"; then
       
 13843 
       
 13844 cat >>confdefs.h <<\_ACEOF
       
 13845 #define _POSIX_THREADS 1
       
 13846 _ACEOF
       
 13847 
       
 13848       fi
       
 13849 
       
 13850       # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
       
 13851       case  $ac_sys_system/$ac_sys_release in
       
 13852   SunOS/5.6)
       
 13853 cat >>confdefs.h <<\_ACEOF
       
 13854 #define HAVE_PTHREAD_DESTRUCTOR 1
       
 13855 _ACEOF
       
 13856 
       
 13857 		       ;;
       
 13858       SunOS/5.8)
       
 13859 cat >>confdefs.h <<\_ACEOF
       
 13860 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
       
 13861 _ACEOF
       
 13862 
       
 13863 		       ;;
       
 13864       AIX/5)
       
 13865 cat >>confdefs.h <<\_ACEOF
       
 13866 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
       
 13867 _ACEOF
       
 13868 
       
 13869 		       ;;
       
 13870       esac
       
 13871 
       
 13872       { echo "$as_me:$LINENO: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
       
 13873 echo $ECHO_N "checking if PTHREAD_SCOPE_SYSTEM is supported... $ECHO_C" >&6; }
       
 13874       if test "${ac_cv_pthread_system_supported+set}" = set; then
       
 13875   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13876 else
       
 13877   if test "$cross_compiling" = yes; then
       
 13878   ac_cv_pthread_system_supported=no
       
 13879 else
       
 13880   cat >conftest.$ac_ext <<_ACEOF
       
 13881 /* confdefs.h.  */
       
 13882 _ACEOF
       
 13883 cat confdefs.h >>conftest.$ac_ext
       
 13884 cat >>conftest.$ac_ext <<_ACEOF
       
 13885 /* end confdefs.h.  */
       
 13886 #include <pthread.h>
       
 13887       void *foo(void *parm) {
       
 13888         return NULL;
       
 13889       }
       
 13890       main() {
       
 13891         pthread_attr_t attr;
       
 13892         pthread_t id;
       
 13893         if (pthread_attr_init(&attr)) exit(-1);
       
 13894         if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1);
       
 13895         if (pthread_create(&id, &attr, foo, NULL)) exit(-1);
       
 13896         exit(0);
       
 13897       }
       
 13898 _ACEOF
       
 13899 rm -f conftest$ac_exeext
       
 13900 if { (ac_try="$ac_link"
       
 13901 case "(($ac_try" in
       
 13902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13903   *) ac_try_echo=$ac_try;;
       
 13904 esac
       
 13905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13906   (eval "$ac_link") 2>&5
       
 13907   ac_status=$?
       
 13908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13909   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 13910   { (case "(($ac_try" in
       
 13911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 13912   *) ac_try_echo=$ac_try;;
       
 13913 esac
       
 13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 13915   (eval "$ac_try") 2>&5
       
 13916   ac_status=$?
       
 13917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13918   (exit $ac_status); }; }; then
       
 13919   ac_cv_pthread_system_supported=yes
       
 13920 else
       
 13921   echo "$as_me: program exited with status $ac_status" >&5
       
 13922 echo "$as_me: failed program was:" >&5
       
 13923 sed 's/^/| /' conftest.$ac_ext >&5
       
 13924 
       
 13925 ( exit $ac_status )
       
 13926 ac_cv_pthread_system_supported=no
       
 13927 fi
       
 13928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 13929 fi
       
 13930 
       
 13931 
       
 13932 
       
 13933 fi
       
 13934 
       
 13935       { echo "$as_me:$LINENO: result: $ac_cv_pthread_system_supported" >&5
       
 13936 echo "${ECHO_T}$ac_cv_pthread_system_supported" >&6; }
       
 13937       if test "$ac_cv_pthread_system_supported" = "yes"; then
       
 13938 
       
 13939 cat >>confdefs.h <<\_ACEOF
       
 13940 #define PTHREAD_SYSTEM_SCHED_SUPPORTED 1
       
 13941 _ACEOF
       
 13942 
       
 13943       fi
       
 13944 
       
 13945 for ac_func in pthread_sigmask
       
 13946 do
       
 13947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 13948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 13949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 13950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 13951   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 13952 else
       
 13953   cat >conftest.$ac_ext <<_ACEOF
       
 13954 /* confdefs.h.  */
       
 13955 _ACEOF
       
 13956 cat confdefs.h >>conftest.$ac_ext
       
 13957 cat >>conftest.$ac_ext <<_ACEOF
       
 13958 /* end confdefs.h.  */
       
 13959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 13960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 13961 #define $ac_func innocuous_$ac_func
       
 13962 
       
 13963 /* System header to define __stub macros and hopefully few prototypes,
       
 13964     which can conflict with char $ac_func (); below.
       
 13965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 13966     <limits.h> exists even on freestanding compilers.  */
       
 13967 
       
 13968 #ifdef __STDC__
       
 13969 # include <limits.h>
       
 13970 #else
       
 13971 # include <assert.h>
       
 13972 #endif
       
 13973 
       
 13974 #undef $ac_func
       
 13975 
       
 13976 /* Override any GCC internal prototype to avoid an error.
       
 13977    Use char because int might match the return type of a GCC
       
 13978    builtin and then its argument prototype would still apply.  */
       
 13979 #ifdef __cplusplus
       
 13980 extern "C"
       
 13981 #endif
       
 13982 char $ac_func ();
       
 13983 /* The GNU C library defines this for functions which it implements
       
 13984     to always fail with ENOSYS.  Some functions are actually named
       
 13985     something starting with __ and the normal name is an alias.  */
       
 13986 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 13987 choke me
       
 13988 #endif
       
 13989 
       
 13990 int
       
 13991 main ()
       
 13992 {
       
 13993 return $ac_func ();
       
 13994   ;
       
 13995   return 0;
       
 13996 }
       
 13997 _ACEOF
       
 13998 rm -f conftest.$ac_objext conftest$ac_exeext
       
 13999 if { (ac_try="$ac_link"
       
 14000 case "(($ac_try" in
       
 14001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14002   *) ac_try_echo=$ac_try;;
       
 14003 esac
       
 14004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14005   (eval "$ac_link") 2>conftest.er1
       
 14006   ac_status=$?
       
 14007   grep -v '^ *+' conftest.er1 >conftest.err
       
 14008   rm -f conftest.er1
       
 14009   cat conftest.err >&5
       
 14010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14011   (exit $ac_status); } && {
       
 14012 	 test -z "$ac_c_werror_flag" ||
       
 14013 	 test ! -s conftest.err
       
 14014        } && test -s conftest$ac_exeext &&
       
 14015        $as_test_x conftest$ac_exeext; then
       
 14016   eval "$as_ac_var=yes"
       
 14017 else
       
 14018   echo "$as_me: failed program was:" >&5
       
 14019 sed 's/^/| /' conftest.$ac_ext >&5
       
 14020 
       
 14021 	eval "$as_ac_var=no"
       
 14022 fi
       
 14023 
       
 14024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 14025       conftest$ac_exeext conftest.$ac_ext
       
 14026 fi
       
 14027 ac_res=`eval echo '${'$as_ac_var'}'`
       
 14028 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 14029 echo "${ECHO_T}$ac_res" >&6; }
       
 14030 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 14031   cat >>confdefs.h <<_ACEOF
       
 14032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 14033 _ACEOF
       
 14034  case $ac_sys_system in
       
 14035         CYGWIN*)
       
 14036 
       
 14037 cat >>confdefs.h <<\_ACEOF
       
 14038 #define HAVE_BROKEN_PTHREAD_SIGMASK 1
       
 14039 _ACEOF
       
 14040 
       
 14041             ;;
       
 14042         esac
       
 14043 fi
       
 14044 done
       
 14045 
       
 14046 fi
       
 14047 
       
 14048 
       
 14049 # Check for enable-ipv6
       
 14050 
       
 14051 
       
 14052 { echo "$as_me:$LINENO: checking if --enable-ipv6 is specified" >&5
       
 14053 echo $ECHO_N "checking if --enable-ipv6 is specified... $ECHO_C" >&6; }
       
 14054 # Check whether --enable-ipv6 was given.
       
 14055 if test "${enable_ipv6+set}" = set; then
       
 14056   enableval=$enable_ipv6;  case "$enableval" in
       
 14057   no)
       
 14058        { echo "$as_me:$LINENO: result: no" >&5
       
 14059 echo "${ECHO_T}no" >&6; }
       
 14060        ipv6=no
       
 14061        ;;
       
 14062   *)   { echo "$as_me:$LINENO: result: yes" >&5
       
 14063 echo "${ECHO_T}yes" >&6; }
       
 14064        cat >>confdefs.h <<\_ACEOF
       
 14065 #define ENABLE_IPV6 1
       
 14066 _ACEOF
       
 14067 
       
 14068        ipv6=yes
       
 14069        ;;
       
 14070   esac
       
 14071 else
       
 14072 
       
 14073   if test "$cross_compiling" = yes; then
       
 14074   { echo "$as_me:$LINENO: result: no" >&5
       
 14075 echo "${ECHO_T}no" >&6; }
       
 14076   ipv6=no
       
 14077 
       
 14078 else
       
 14079   cat >conftest.$ac_ext <<_ACEOF
       
 14080 /* confdefs.h.  */
       
 14081 _ACEOF
       
 14082 cat confdefs.h >>conftest.$ac_ext
       
 14083 cat >>conftest.$ac_ext <<_ACEOF
       
 14084 /* end confdefs.h.  */
       
 14085  /* AF_INET6 available check */
       
 14086 #include <sys/types.h>
       
 14087 #include <sys/socket.h>
       
 14088 main()
       
 14089 {
       
 14090  if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
       
 14091    exit(1);
       
 14092  else
       
 14093    exit(0);
       
 14094 }
       
 14095 
       
 14096 _ACEOF
       
 14097 rm -f conftest$ac_exeext
       
 14098 if { (ac_try="$ac_link"
       
 14099 case "(($ac_try" in
       
 14100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14101   *) ac_try_echo=$ac_try;;
       
 14102 esac
       
 14103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14104   (eval "$ac_link") 2>&5
       
 14105   ac_status=$?
       
 14106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14107   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 14108   { (case "(($ac_try" in
       
 14109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14110   *) ac_try_echo=$ac_try;;
       
 14111 esac
       
 14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14113   (eval "$ac_try") 2>&5
       
 14114   ac_status=$?
       
 14115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14116   (exit $ac_status); }; }; then
       
 14117   { echo "$as_me:$LINENO: result: yes" >&5
       
 14118 echo "${ECHO_T}yes" >&6; }
       
 14119   ipv6=yes
       
 14120 else
       
 14121   echo "$as_me: program exited with status $ac_status" >&5
       
 14122 echo "$as_me: failed program was:" >&5
       
 14123 sed 's/^/| /' conftest.$ac_ext >&5
       
 14124 
       
 14125 ( exit $ac_status )
       
 14126 { echo "$as_me:$LINENO: result: no" >&5
       
 14127 echo "${ECHO_T}no" >&6; }
       
 14128   ipv6=no
       
 14129 fi
       
 14130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 14131 fi
       
 14132 
       
 14133 
       
 14134 
       
 14135 if test "$ipv6" = "yes"; then
       
 14136 	{ echo "$as_me:$LINENO: checking if RFC2553 API is available" >&5
       
 14137 echo $ECHO_N "checking if RFC2553 API is available... $ECHO_C" >&6; }
       
 14138 	cat >conftest.$ac_ext <<_ACEOF
       
 14139 /* confdefs.h.  */
       
 14140 _ACEOF
       
 14141 cat confdefs.h >>conftest.$ac_ext
       
 14142 cat >>conftest.$ac_ext <<_ACEOF
       
 14143 /* end confdefs.h.  */
       
 14144 #include <sys/types.h>
       
 14145 #include <netinet/in.h>
       
 14146 int
       
 14147 main ()
       
 14148 {
       
 14149 struct sockaddr_in6 x;
       
 14150 x.sin6_scope_id;
       
 14151   ;
       
 14152   return 0;
       
 14153 }
       
 14154 _ACEOF
       
 14155 rm -f conftest.$ac_objext
       
 14156 if { (ac_try="$ac_compile"
       
 14157 case "(($ac_try" in
       
 14158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14159   *) ac_try_echo=$ac_try;;
       
 14160 esac
       
 14161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14162   (eval "$ac_compile") 2>conftest.er1
       
 14163   ac_status=$?
       
 14164   grep -v '^ *+' conftest.er1 >conftest.err
       
 14165   rm -f conftest.er1
       
 14166   cat conftest.err >&5
       
 14167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14168   (exit $ac_status); } && {
       
 14169 	 test -z "$ac_c_werror_flag" ||
       
 14170 	 test ! -s conftest.err
       
 14171        } && test -s conftest.$ac_objext; then
       
 14172   { echo "$as_me:$LINENO: result: yes" >&5
       
 14173 echo "${ECHO_T}yes" >&6; }
       
 14174 		ipv6=yes
       
 14175 else
       
 14176   echo "$as_me: failed program was:" >&5
       
 14177 sed 's/^/| /' conftest.$ac_ext >&5
       
 14178 
       
 14179 	{ echo "$as_me:$LINENO: result: no" >&5
       
 14180 echo "${ECHO_T}no" >&6; }
       
 14181 		ipv6=no
       
 14182 fi
       
 14183 
       
 14184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 14185 fi
       
 14186 
       
 14187 if test "$ipv6" = "yes"; then
       
 14188 	cat >>confdefs.h <<\_ACEOF
       
 14189 #define ENABLE_IPV6 1
       
 14190 _ACEOF
       
 14191 
       
 14192 fi
       
 14193 
       
 14194 fi
       
 14195 
       
 14196 
       
 14197 ipv6type=unknown
       
 14198 ipv6lib=none
       
 14199 ipv6trylibc=no
       
 14200 
       
 14201 if test "$ipv6" = "yes"; then
       
 14202 	{ echo "$as_me:$LINENO: checking ipv6 stack type" >&5
       
 14203 echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6; }
       
 14204 	for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
       
 14205 	do
       
 14206 		case $i in
       
 14207 		inria)
       
 14208 						cat >conftest.$ac_ext <<_ACEOF
       
 14209 /* confdefs.h.  */
       
 14210 _ACEOF
       
 14211 cat confdefs.h >>conftest.$ac_ext
       
 14212 cat >>conftest.$ac_ext <<_ACEOF
       
 14213 /* end confdefs.h.  */
       
 14214 
       
 14215 #include <netinet/in.h>
       
 14216 #ifdef IPV6_INRIA_VERSION
       
 14217 yes
       
 14218 #endif
       
 14219 _ACEOF
       
 14220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 14221   $EGREP "yes" >/dev/null 2>&1; then
       
 14222   ipv6type=$i
       
 14223 fi
       
 14224 rm -f conftest*
       
 14225 
       
 14226 			;;
       
 14227 		kame)
       
 14228 						cat >conftest.$ac_ext <<_ACEOF
       
 14229 /* confdefs.h.  */
       
 14230 _ACEOF
       
 14231 cat confdefs.h >>conftest.$ac_ext
       
 14232 cat >>conftest.$ac_ext <<_ACEOF
       
 14233 /* end confdefs.h.  */
       
 14234 
       
 14235 #include <netinet/in.h>
       
 14236 #ifdef __KAME__
       
 14237 yes
       
 14238 #endif
       
 14239 _ACEOF
       
 14240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 14241   $EGREP "yes" >/dev/null 2>&1; then
       
 14242   ipv6type=$i;
       
 14243 				ipv6lib=inet6
       
 14244 				ipv6libdir=/usr/local/v6/lib
       
 14245 				ipv6trylibc=yes
       
 14246 fi
       
 14247 rm -f conftest*
       
 14248 
       
 14249 			;;
       
 14250 		linux-glibc)
       
 14251 						cat >conftest.$ac_ext <<_ACEOF
       
 14252 /* confdefs.h.  */
       
 14253 _ACEOF
       
 14254 cat confdefs.h >>conftest.$ac_ext
       
 14255 cat >>conftest.$ac_ext <<_ACEOF
       
 14256 /* end confdefs.h.  */
       
 14257 
       
 14258 #include <features.h>
       
 14259 #if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2))
       
 14260 yes
       
 14261 #endif
       
 14262 _ACEOF
       
 14263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 14264   $EGREP "yes" >/dev/null 2>&1; then
       
 14265   ipv6type=$i;
       
 14266 				ipv6trylibc=yes
       
 14267 fi
       
 14268 rm -f conftest*
       
 14269 
       
 14270 			;;
       
 14271 		linux-inet6)
       
 14272 						if test -d /usr/inet6; then
       
 14273 				ipv6type=$i
       
 14274 				ipv6lib=inet6
       
 14275 				ipv6libdir=/usr/inet6/lib
       
 14276 				BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
       
 14277 			fi
       
 14278 			;;
       
 14279 		solaris)
       
 14280 			if test -f /etc/netconfig; then
       
 14281                           if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
       
 14282 				ipv6type=$i
       
 14283 				ipv6trylibc=yes
       
 14284                           fi
       
 14285                         fi
       
 14286 			;;
       
 14287 		toshiba)
       
 14288 			cat >conftest.$ac_ext <<_ACEOF
       
 14289 /* confdefs.h.  */
       
 14290 _ACEOF
       
 14291 cat confdefs.h >>conftest.$ac_ext
       
 14292 cat >>conftest.$ac_ext <<_ACEOF
       
 14293 /* end confdefs.h.  */
       
 14294 
       
 14295 #include <sys/param.h>
       
 14296 #ifdef _TOSHIBA_INET6
       
 14297 yes
       
 14298 #endif
       
 14299 _ACEOF
       
 14300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 14301   $EGREP "yes" >/dev/null 2>&1; then
       
 14302   ipv6type=$i;
       
 14303 				ipv6lib=inet6;
       
 14304 				ipv6libdir=/usr/local/v6/lib
       
 14305 fi
       
 14306 rm -f conftest*
       
 14307 
       
 14308 			;;
       
 14309 		v6d)
       
 14310 			cat >conftest.$ac_ext <<_ACEOF
       
 14311 /* confdefs.h.  */
       
 14312 _ACEOF
       
 14313 cat confdefs.h >>conftest.$ac_ext
       
 14314 cat >>conftest.$ac_ext <<_ACEOF
       
 14315 /* end confdefs.h.  */
       
 14316 
       
 14317 #include </usr/local/v6/include/sys/v6config.h>
       
 14318 #ifdef __V6D__
       
 14319 yes
       
 14320 #endif
       
 14321 _ACEOF
       
 14322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 14323   $EGREP "yes" >/dev/null 2>&1; then
       
 14324   ipv6type=$i;
       
 14325 				ipv6lib=v6;
       
 14326 				ipv6libdir=/usr/local/v6/lib;
       
 14327 				BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
       
 14328 fi
       
 14329 rm -f conftest*
       
 14330 
       
 14331 			;;
       
 14332 		zeta)
       
 14333 			cat >conftest.$ac_ext <<_ACEOF
       
 14334 /* confdefs.h.  */
       
 14335 _ACEOF
       
 14336 cat confdefs.h >>conftest.$ac_ext
       
 14337 cat >>conftest.$ac_ext <<_ACEOF
       
 14338 /* end confdefs.h.  */
       
 14339 
       
 14340 #include <sys/param.h>
       
 14341 #ifdef _ZETA_MINAMI_INET6
       
 14342 yes
       
 14343 #endif
       
 14344 _ACEOF
       
 14345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 14346   $EGREP "yes" >/dev/null 2>&1; then
       
 14347   ipv6type=$i;
       
 14348 				ipv6lib=inet6;
       
 14349 				ipv6libdir=/usr/local/v6/lib
       
 14350 fi
       
 14351 rm -f conftest*
       
 14352 
       
 14353 			;;
       
 14354 		esac
       
 14355 		if test "$ipv6type" != "unknown"; then
       
 14356 			break
       
 14357 		fi
       
 14358 	done
       
 14359 	{ echo "$as_me:$LINENO: result: $ipv6type" >&5
       
 14360 echo "${ECHO_T}$ipv6type" >&6; }
       
 14361 fi
       
 14362 
       
 14363 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
       
 14364 	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
       
 14365 		LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
       
 14366 		echo "using lib$ipv6lib"
       
 14367 	else
       
 14368 		if test $ipv6trylibc = "yes"; then
       
 14369 			echo "using libc"
       
 14370 		else
       
 14371 			echo 'Fatal: no $ipv6lib library found.  cannot continue.'
       
 14372 			echo "You need to fetch lib$ipv6lib.a from appropriate"
       
 14373 			echo 'ipv6 kit and compile beforehand.'
       
 14374 			exit 1
       
 14375 		fi
       
 14376 	fi
       
 14377 fi
       
 14378 
       
 14379 # Check for --with-doc-strings
       
 14380 { echo "$as_me:$LINENO: checking for --with-doc-strings" >&5
       
 14381 echo $ECHO_N "checking for --with-doc-strings... $ECHO_C" >&6; }
       
 14382 
       
 14383 # Check whether --with-doc-strings was given.
       
 14384 if test "${with_doc_strings+set}" = set; then
       
 14385   withval=$with_doc_strings;
       
 14386 fi
       
 14387 
       
 14388 
       
 14389 if test -z "$with_doc_strings"
       
 14390 then with_doc_strings="yes"
       
 14391 fi
       
 14392 if test "$with_doc_strings" != "no"
       
 14393 then
       
 14394 
       
 14395 cat >>confdefs.h <<\_ACEOF
       
 14396 #define WITH_DOC_STRINGS 1
       
 14397 _ACEOF
       
 14398 
       
 14399 fi
       
 14400 { echo "$as_me:$LINENO: result: $with_doc_strings" >&5
       
 14401 echo "${ECHO_T}$with_doc_strings" >&6; }
       
 14402 
       
 14403 # Check for Python-specific malloc support
       
 14404 { echo "$as_me:$LINENO: checking for --with-tsc" >&5
       
 14405 echo $ECHO_N "checking for --with-tsc... $ECHO_C" >&6; }
       
 14406 
       
 14407 # Check whether --with-tsc was given.
       
 14408 if test "${with_tsc+set}" = set; then
       
 14409   withval=$with_tsc;
       
 14410 if test "$withval" != no
       
 14411 then
       
 14412 
       
 14413 cat >>confdefs.h <<\_ACEOF
       
 14414 #define WITH_TSC 1
       
 14415 _ACEOF
       
 14416 
       
 14417     { echo "$as_me:$LINENO: result: yes" >&5
       
 14418 echo "${ECHO_T}yes" >&6; }
       
 14419 else { echo "$as_me:$LINENO: result: no" >&5
       
 14420 echo "${ECHO_T}no" >&6; }
       
 14421 fi
       
 14422 else
       
 14423   { echo "$as_me:$LINENO: result: no" >&5
       
 14424 echo "${ECHO_T}no" >&6; }
       
 14425 fi
       
 14426 
       
 14427 
       
 14428 # Check for Python-specific malloc support
       
 14429 { echo "$as_me:$LINENO: checking for --with-pymalloc" >&5
       
 14430 echo $ECHO_N "checking for --with-pymalloc... $ECHO_C" >&6; }
       
 14431 
       
 14432 # Check whether --with-pymalloc was given.
       
 14433 if test "${with_pymalloc+set}" = set; then
       
 14434   withval=$with_pymalloc;
       
 14435 fi
       
 14436 
       
 14437 
       
 14438 if test -z "$with_pymalloc"
       
 14439 then with_pymalloc="yes"
       
 14440 fi
       
 14441 if test "$with_pymalloc" != "no"
       
 14442 then
       
 14443 
       
 14444 cat >>confdefs.h <<\_ACEOF
       
 14445 #define WITH_PYMALLOC 1
       
 14446 _ACEOF
       
 14447 
       
 14448 fi
       
 14449 { echo "$as_me:$LINENO: result: $with_pymalloc" >&5
       
 14450 echo "${ECHO_T}$with_pymalloc" >&6; }
       
 14451 
       
 14452 # Check for --with-wctype-functions
       
 14453 { echo "$as_me:$LINENO: checking for --with-wctype-functions" >&5
       
 14454 echo $ECHO_N "checking for --with-wctype-functions... $ECHO_C" >&6; }
       
 14455 
       
 14456 # Check whether --with-wctype-functions was given.
       
 14457 if test "${with_wctype_functions+set}" = set; then
       
 14458   withval=$with_wctype_functions;
       
 14459 if test "$withval" != no
       
 14460 then
       
 14461 
       
 14462 cat >>confdefs.h <<\_ACEOF
       
 14463 #define WANT_WCTYPE_FUNCTIONS 1
       
 14464 _ACEOF
       
 14465 
       
 14466   { echo "$as_me:$LINENO: result: yes" >&5
       
 14467 echo "${ECHO_T}yes" >&6; }
       
 14468 else { echo "$as_me:$LINENO: result: no" >&5
       
 14469 echo "${ECHO_T}no" >&6; }
       
 14470 fi
       
 14471 else
       
 14472   { echo "$as_me:$LINENO: result: no" >&5
       
 14473 echo "${ECHO_T}no" >&6; }
       
 14474 fi
       
 14475 
       
 14476 
       
 14477 # -I${DLINCLDIR} is added to the compile rule for importdl.o
       
 14478 
       
 14479 DLINCLDIR=.
       
 14480 
       
 14481 # the dlopen() function means we might want to use dynload_shlib.o. some
       
 14482 # platforms, such as AIX, have dlopen(), but don't want to use it.
       
 14483 
       
 14484 for ac_func in dlopen
       
 14485 do
       
 14486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 14487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 14488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 14489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 14490   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14491 else
       
 14492   cat >conftest.$ac_ext <<_ACEOF
       
 14493 /* confdefs.h.  */
       
 14494 _ACEOF
       
 14495 cat confdefs.h >>conftest.$ac_ext
       
 14496 cat >>conftest.$ac_ext <<_ACEOF
       
 14497 /* end confdefs.h.  */
       
 14498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 14499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 14500 #define $ac_func innocuous_$ac_func
       
 14501 
       
 14502 /* System header to define __stub macros and hopefully few prototypes,
       
 14503     which can conflict with char $ac_func (); below.
       
 14504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 14505     <limits.h> exists even on freestanding compilers.  */
       
 14506 
       
 14507 #ifdef __STDC__
       
 14508 # include <limits.h>
       
 14509 #else
       
 14510 # include <assert.h>
       
 14511 #endif
       
 14512 
       
 14513 #undef $ac_func
       
 14514 
       
 14515 /* Override any GCC internal prototype to avoid an error.
       
 14516    Use char because int might match the return type of a GCC
       
 14517    builtin and then its argument prototype would still apply.  */
       
 14518 #ifdef __cplusplus
       
 14519 extern "C"
       
 14520 #endif
       
 14521 char $ac_func ();
       
 14522 /* The GNU C library defines this for functions which it implements
       
 14523     to always fail with ENOSYS.  Some functions are actually named
       
 14524     something starting with __ and the normal name is an alias.  */
       
 14525 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 14526 choke me
       
 14527 #endif
       
 14528 
       
 14529 int
       
 14530 main ()
       
 14531 {
       
 14532 return $ac_func ();
       
 14533   ;
       
 14534   return 0;
       
 14535 }
       
 14536 _ACEOF
       
 14537 rm -f conftest.$ac_objext conftest$ac_exeext
       
 14538 if { (ac_try="$ac_link"
       
 14539 case "(($ac_try" in
       
 14540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14541   *) ac_try_echo=$ac_try;;
       
 14542 esac
       
 14543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14544   (eval "$ac_link") 2>conftest.er1
       
 14545   ac_status=$?
       
 14546   grep -v '^ *+' conftest.er1 >conftest.err
       
 14547   rm -f conftest.er1
       
 14548   cat conftest.err >&5
       
 14549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14550   (exit $ac_status); } && {
       
 14551 	 test -z "$ac_c_werror_flag" ||
       
 14552 	 test ! -s conftest.err
       
 14553        } && test -s conftest$ac_exeext &&
       
 14554        $as_test_x conftest$ac_exeext; then
       
 14555   eval "$as_ac_var=yes"
       
 14556 else
       
 14557   echo "$as_me: failed program was:" >&5
       
 14558 sed 's/^/| /' conftest.$ac_ext >&5
       
 14559 
       
 14560 	eval "$as_ac_var=no"
       
 14561 fi
       
 14562 
       
 14563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 14564       conftest$ac_exeext conftest.$ac_ext
       
 14565 fi
       
 14566 ac_res=`eval echo '${'$as_ac_var'}'`
       
 14567 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 14568 echo "${ECHO_T}$ac_res" >&6; }
       
 14569 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 14570   cat >>confdefs.h <<_ACEOF
       
 14571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 14572 _ACEOF
       
 14573 
       
 14574 fi
       
 14575 done
       
 14576 
       
 14577 
       
 14578 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
       
 14579 # loading of modules.
       
 14580 
       
 14581 { echo "$as_me:$LINENO: checking DYNLOADFILE" >&5
       
 14582 echo $ECHO_N "checking DYNLOADFILE... $ECHO_C" >&6; }
       
 14583 if test -z "$DYNLOADFILE"
       
 14584 then
       
 14585 	case $ac_sys_system/$ac_sys_release in
       
 14586 	AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
       
 14587 	if test "$ac_cv_func_dlopen" = yes
       
 14588 	then DYNLOADFILE="dynload_shlib.o"
       
 14589 	else DYNLOADFILE="dynload_aix.o"
       
 14590 	fi
       
 14591 	;;
       
 14592 	BeOS*) DYNLOADFILE="dynload_beos.o";;
       
 14593 	hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
       
 14594 	# Use dynload_next.c only on 10.2 and below, which don't have native dlopen()
       
 14595 	Darwin/[0156]\..*) DYNLOADFILE="dynload_next.o";;
       
 14596 	atheos*) DYNLOADFILE="dynload_atheos.o";;
       
 14597 	*)
       
 14598 	# use dynload_shlib.c and dlopen() if we have it; otherwise stub
       
 14599 	# out any dynamic loading
       
 14600 	if test "$ac_cv_func_dlopen" = yes
       
 14601 	then DYNLOADFILE="dynload_shlib.o"
       
 14602 	else DYNLOADFILE="dynload_stub.o"
       
 14603 	fi
       
 14604 	;;
       
 14605 	esac
       
 14606 fi
       
 14607 { echo "$as_me:$LINENO: result: $DYNLOADFILE" >&5
       
 14608 echo "${ECHO_T}$DYNLOADFILE" >&6; }
       
 14609 if test "$DYNLOADFILE" != "dynload_stub.o"
       
 14610 then
       
 14611 
       
 14612 cat >>confdefs.h <<\_ACEOF
       
 14613 #define HAVE_DYNAMIC_LOADING 1
       
 14614 _ACEOF
       
 14615 
       
 14616 fi
       
 14617 
       
 14618 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
       
 14619 
       
 14620 
       
 14621 { echo "$as_me:$LINENO: checking MACHDEP_OBJS" >&5
       
 14622 echo $ECHO_N "checking MACHDEP_OBJS... $ECHO_C" >&6; }
       
 14623 if test -z "$MACHDEP_OBJS"
       
 14624 then
       
 14625 	MACHDEP_OBJS=$extra_machdep_objs
       
 14626 else
       
 14627 	MACHDEP_OBJS="$MACHDEP_OBJS $extra_machdep_objs"
       
 14628 fi
       
 14629 { echo "$as_me:$LINENO: result: MACHDEP_OBJS" >&5
       
 14630 echo "${ECHO_T}MACHDEP_OBJS" >&6; }
       
 14631 
       
 14632 # checks for library functions
       
 14633 
       
 14634 
       
 14635 
       
 14636 
       
 14637 
       
 14638 
       
 14639 
       
 14640 
       
 14641 
       
 14642 
       
 14643 
       
 14644 
       
 14645 
       
 14646 
       
 14647 
       
 14648 
       
 14649 
       
 14650 
       
 14651 
       
 14652 
       
 14653 
       
 14654 
       
 14655 
       
 14656 
       
 14657 
       
 14658 
       
 14659 
       
 14660 
       
 14661 
       
 14662 
       
 14663 
       
 14664 
       
 14665 
       
 14666 
       
 14667 
       
 14668 
       
 14669 
       
 14670 
       
 14671 
       
 14672 
       
 14673 
       
 14674 
       
 14675 
       
 14676 
       
 14677 
       
 14678 
       
 14679 
       
 14680 
       
 14681 
       
 14682 
       
 14683 
       
 14684 
       
 14685 
       
 14686 
       
 14687 
       
 14688 
       
 14689 
       
 14690 
       
 14691 
       
 14692 
       
 14693 
       
 14694 
       
 14695 
       
 14696 
       
 14697 
       
 14698 
       
 14699 
       
 14700 
       
 14701 
       
 14702 
       
 14703 
       
 14704 
       
 14705 
       
 14706 
       
 14707 
       
 14708 
       
 14709 for ac_func in alarm bind_textdomain_codeset chown clock confstr ctermid \
       
 14710  execv fork fpathconf ftime ftruncate \
       
 14711  gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
       
 14712  getpriority getpwent getspnam getspent getsid getwd \
       
 14713  kill killpg lchown lstat mkfifo mknod mktime \
       
 14714  mremap nice pathconf pause plock poll pthread_init \
       
 14715  putenv readlink realpath \
       
 14716  select setegid seteuid setgid \
       
 14717  setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
       
 14718  sigaction siginterrupt sigrelse strftime \
       
 14719  sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
       
 14720  truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll _getpty
       
 14721 do
       
 14722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 14723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 14724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 14725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 14726   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14727 else
       
 14728   cat >conftest.$ac_ext <<_ACEOF
       
 14729 /* confdefs.h.  */
       
 14730 _ACEOF
       
 14731 cat confdefs.h >>conftest.$ac_ext
       
 14732 cat >>conftest.$ac_ext <<_ACEOF
       
 14733 /* end confdefs.h.  */
       
 14734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 14735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 14736 #define $ac_func innocuous_$ac_func
       
 14737 
       
 14738 /* System header to define __stub macros and hopefully few prototypes,
       
 14739     which can conflict with char $ac_func (); below.
       
 14740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 14741     <limits.h> exists even on freestanding compilers.  */
       
 14742 
       
 14743 #ifdef __STDC__
       
 14744 # include <limits.h>
       
 14745 #else
       
 14746 # include <assert.h>
       
 14747 #endif
       
 14748 
       
 14749 #undef $ac_func
       
 14750 
       
 14751 /* Override any GCC internal prototype to avoid an error.
       
 14752    Use char because int might match the return type of a GCC
       
 14753    builtin and then its argument prototype would still apply.  */
       
 14754 #ifdef __cplusplus
       
 14755 extern "C"
       
 14756 #endif
       
 14757 char $ac_func ();
       
 14758 /* The GNU C library defines this for functions which it implements
       
 14759     to always fail with ENOSYS.  Some functions are actually named
       
 14760     something starting with __ and the normal name is an alias.  */
       
 14761 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 14762 choke me
       
 14763 #endif
       
 14764 
       
 14765 int
       
 14766 main ()
       
 14767 {
       
 14768 return $ac_func ();
       
 14769   ;
       
 14770   return 0;
       
 14771 }
       
 14772 _ACEOF
       
 14773 rm -f conftest.$ac_objext conftest$ac_exeext
       
 14774 if { (ac_try="$ac_link"
       
 14775 case "(($ac_try" in
       
 14776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14777   *) ac_try_echo=$ac_try;;
       
 14778 esac
       
 14779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14780   (eval "$ac_link") 2>conftest.er1
       
 14781   ac_status=$?
       
 14782   grep -v '^ *+' conftest.er1 >conftest.err
       
 14783   rm -f conftest.er1
       
 14784   cat conftest.err >&5
       
 14785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14786   (exit $ac_status); } && {
       
 14787 	 test -z "$ac_c_werror_flag" ||
       
 14788 	 test ! -s conftest.err
       
 14789        } && test -s conftest$ac_exeext &&
       
 14790        $as_test_x conftest$ac_exeext; then
       
 14791   eval "$as_ac_var=yes"
       
 14792 else
       
 14793   echo "$as_me: failed program was:" >&5
       
 14794 sed 's/^/| /' conftest.$ac_ext >&5
       
 14795 
       
 14796 	eval "$as_ac_var=no"
       
 14797 fi
       
 14798 
       
 14799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 14800       conftest$ac_exeext conftest.$ac_ext
       
 14801 fi
       
 14802 ac_res=`eval echo '${'$as_ac_var'}'`
       
 14803 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 14804 echo "${ECHO_T}$ac_res" >&6; }
       
 14805 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 14806   cat >>confdefs.h <<_ACEOF
       
 14807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 14808 _ACEOF
       
 14809 
       
 14810 fi
       
 14811 done
       
 14812 
       
 14813 
       
 14814 # For some functions, having a definition is not sufficient, since
       
 14815 # we want to take their address.
       
 14816 { echo "$as_me:$LINENO: checking for chroot" >&5
       
 14817 echo $ECHO_N "checking for chroot... $ECHO_C" >&6; }
       
 14818 cat >conftest.$ac_ext <<_ACEOF
       
 14819 /* confdefs.h.  */
       
 14820 _ACEOF
       
 14821 cat confdefs.h >>conftest.$ac_ext
       
 14822 cat >>conftest.$ac_ext <<_ACEOF
       
 14823 /* end confdefs.h.  */
       
 14824 #include <unistd.h>
       
 14825 int
       
 14826 main ()
       
 14827 {
       
 14828 void *x=chroot
       
 14829   ;
       
 14830   return 0;
       
 14831 }
       
 14832 _ACEOF
       
 14833 rm -f conftest.$ac_objext
       
 14834 if { (ac_try="$ac_compile"
       
 14835 case "(($ac_try" in
       
 14836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14837   *) ac_try_echo=$ac_try;;
       
 14838 esac
       
 14839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14840   (eval "$ac_compile") 2>conftest.er1
       
 14841   ac_status=$?
       
 14842   grep -v '^ *+' conftest.er1 >conftest.err
       
 14843   rm -f conftest.er1
       
 14844   cat conftest.err >&5
       
 14845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14846   (exit $ac_status); } && {
       
 14847 	 test -z "$ac_c_werror_flag" ||
       
 14848 	 test ! -s conftest.err
       
 14849        } && test -s conftest.$ac_objext; then
       
 14850 
       
 14851 cat >>confdefs.h <<\_ACEOF
       
 14852 #define HAVE_CHROOT 1
       
 14853 _ACEOF
       
 14854 
       
 14855   { echo "$as_me:$LINENO: result: yes" >&5
       
 14856 echo "${ECHO_T}yes" >&6; }
       
 14857 else
       
 14858   echo "$as_me: failed program was:" >&5
       
 14859 sed 's/^/| /' conftest.$ac_ext >&5
       
 14860 
       
 14861 	{ echo "$as_me:$LINENO: result: no" >&5
       
 14862 echo "${ECHO_T}no" >&6; }
       
 14863 
       
 14864 fi
       
 14865 
       
 14866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 14867 { echo "$as_me:$LINENO: checking for link" >&5
       
 14868 echo $ECHO_N "checking for link... $ECHO_C" >&6; }
       
 14869 cat >conftest.$ac_ext <<_ACEOF
       
 14870 /* confdefs.h.  */
       
 14871 _ACEOF
       
 14872 cat confdefs.h >>conftest.$ac_ext
       
 14873 cat >>conftest.$ac_ext <<_ACEOF
       
 14874 /* end confdefs.h.  */
       
 14875 #include <unistd.h>
       
 14876 int
       
 14877 main ()
       
 14878 {
       
 14879 void *x=link
       
 14880   ;
       
 14881   return 0;
       
 14882 }
       
 14883 _ACEOF
       
 14884 rm -f conftest.$ac_objext
       
 14885 if { (ac_try="$ac_compile"
       
 14886 case "(($ac_try" in
       
 14887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14888   *) ac_try_echo=$ac_try;;
       
 14889 esac
       
 14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14891   (eval "$ac_compile") 2>conftest.er1
       
 14892   ac_status=$?
       
 14893   grep -v '^ *+' conftest.er1 >conftest.err
       
 14894   rm -f conftest.er1
       
 14895   cat conftest.err >&5
       
 14896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14897   (exit $ac_status); } && {
       
 14898 	 test -z "$ac_c_werror_flag" ||
       
 14899 	 test ! -s conftest.err
       
 14900        } && test -s conftest.$ac_objext; then
       
 14901 
       
 14902 cat >>confdefs.h <<\_ACEOF
       
 14903 #define HAVE_LINK 1
       
 14904 _ACEOF
       
 14905 
       
 14906   { echo "$as_me:$LINENO: result: yes" >&5
       
 14907 echo "${ECHO_T}yes" >&6; }
       
 14908 else
       
 14909   echo "$as_me: failed program was:" >&5
       
 14910 sed 's/^/| /' conftest.$ac_ext >&5
       
 14911 
       
 14912 	{ echo "$as_me:$LINENO: result: no" >&5
       
 14913 echo "${ECHO_T}no" >&6; }
       
 14914 
       
 14915 fi
       
 14916 
       
 14917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 14918 { echo "$as_me:$LINENO: checking for symlink" >&5
       
 14919 echo $ECHO_N "checking for symlink... $ECHO_C" >&6; }
       
 14920 cat >conftest.$ac_ext <<_ACEOF
       
 14921 /* confdefs.h.  */
       
 14922 _ACEOF
       
 14923 cat confdefs.h >>conftest.$ac_ext
       
 14924 cat >>conftest.$ac_ext <<_ACEOF
       
 14925 /* end confdefs.h.  */
       
 14926 #include <unistd.h>
       
 14927 int
       
 14928 main ()
       
 14929 {
       
 14930 void *x=symlink
       
 14931   ;
       
 14932   return 0;
       
 14933 }
       
 14934 _ACEOF
       
 14935 rm -f conftest.$ac_objext
       
 14936 if { (ac_try="$ac_compile"
       
 14937 case "(($ac_try" in
       
 14938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14939   *) ac_try_echo=$ac_try;;
       
 14940 esac
       
 14941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14942   (eval "$ac_compile") 2>conftest.er1
       
 14943   ac_status=$?
       
 14944   grep -v '^ *+' conftest.er1 >conftest.err
       
 14945   rm -f conftest.er1
       
 14946   cat conftest.err >&5
       
 14947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14948   (exit $ac_status); } && {
       
 14949 	 test -z "$ac_c_werror_flag" ||
       
 14950 	 test ! -s conftest.err
       
 14951        } && test -s conftest.$ac_objext; then
       
 14952 
       
 14953 cat >>confdefs.h <<\_ACEOF
       
 14954 #define HAVE_SYMLINK 1
       
 14955 _ACEOF
       
 14956 
       
 14957   { echo "$as_me:$LINENO: result: yes" >&5
       
 14958 echo "${ECHO_T}yes" >&6; }
       
 14959 else
       
 14960   echo "$as_me: failed program was:" >&5
       
 14961 sed 's/^/| /' conftest.$ac_ext >&5
       
 14962 
       
 14963 	{ echo "$as_me:$LINENO: result: no" >&5
       
 14964 echo "${ECHO_T}no" >&6; }
       
 14965 
       
 14966 fi
       
 14967 
       
 14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 14969 { echo "$as_me:$LINENO: checking for fchdir" >&5
       
 14970 echo $ECHO_N "checking for fchdir... $ECHO_C" >&6; }
       
 14971 cat >conftest.$ac_ext <<_ACEOF
       
 14972 /* confdefs.h.  */
       
 14973 _ACEOF
       
 14974 cat confdefs.h >>conftest.$ac_ext
       
 14975 cat >>conftest.$ac_ext <<_ACEOF
       
 14976 /* end confdefs.h.  */
       
 14977 #include <unistd.h>
       
 14978 int
       
 14979 main ()
       
 14980 {
       
 14981 void *x=fchdir
       
 14982   ;
       
 14983   return 0;
       
 14984 }
       
 14985 _ACEOF
       
 14986 rm -f conftest.$ac_objext
       
 14987 if { (ac_try="$ac_compile"
       
 14988 case "(($ac_try" in
       
 14989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14990   *) ac_try_echo=$ac_try;;
       
 14991 esac
       
 14992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14993   (eval "$ac_compile") 2>conftest.er1
       
 14994   ac_status=$?
       
 14995   grep -v '^ *+' conftest.er1 >conftest.err
       
 14996   rm -f conftest.er1
       
 14997   cat conftest.err >&5
       
 14998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14999   (exit $ac_status); } && {
       
 15000 	 test -z "$ac_c_werror_flag" ||
       
 15001 	 test ! -s conftest.err
       
 15002        } && test -s conftest.$ac_objext; then
       
 15003 
       
 15004 cat >>confdefs.h <<\_ACEOF
       
 15005 #define HAVE_FCHDIR 1
       
 15006 _ACEOF
       
 15007 
       
 15008   { echo "$as_me:$LINENO: result: yes" >&5
       
 15009 echo "${ECHO_T}yes" >&6; }
       
 15010 else
       
 15011   echo "$as_me: failed program was:" >&5
       
 15012 sed 's/^/| /' conftest.$ac_ext >&5
       
 15013 
       
 15014 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15015 echo "${ECHO_T}no" >&6; }
       
 15016 
       
 15017 fi
       
 15018 
       
 15019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15020 { echo "$as_me:$LINENO: checking for fsync" >&5
       
 15021 echo $ECHO_N "checking for fsync... $ECHO_C" >&6; }
       
 15022 cat >conftest.$ac_ext <<_ACEOF
       
 15023 /* confdefs.h.  */
       
 15024 _ACEOF
       
 15025 cat confdefs.h >>conftest.$ac_ext
       
 15026 cat >>conftest.$ac_ext <<_ACEOF
       
 15027 /* end confdefs.h.  */
       
 15028 #include <unistd.h>
       
 15029 int
       
 15030 main ()
       
 15031 {
       
 15032 void *x=fsync
       
 15033   ;
       
 15034   return 0;
       
 15035 }
       
 15036 _ACEOF
       
 15037 rm -f conftest.$ac_objext
       
 15038 if { (ac_try="$ac_compile"
       
 15039 case "(($ac_try" in
       
 15040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15041   *) ac_try_echo=$ac_try;;
       
 15042 esac
       
 15043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15044   (eval "$ac_compile") 2>conftest.er1
       
 15045   ac_status=$?
       
 15046   grep -v '^ *+' conftest.er1 >conftest.err
       
 15047   rm -f conftest.er1
       
 15048   cat conftest.err >&5
       
 15049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15050   (exit $ac_status); } && {
       
 15051 	 test -z "$ac_c_werror_flag" ||
       
 15052 	 test ! -s conftest.err
       
 15053        } && test -s conftest.$ac_objext; then
       
 15054 
       
 15055 cat >>confdefs.h <<\_ACEOF
       
 15056 #define HAVE_FSYNC 1
       
 15057 _ACEOF
       
 15058 
       
 15059   { echo "$as_me:$LINENO: result: yes" >&5
       
 15060 echo "${ECHO_T}yes" >&6; }
       
 15061 else
       
 15062   echo "$as_me: failed program was:" >&5
       
 15063 sed 's/^/| /' conftest.$ac_ext >&5
       
 15064 
       
 15065 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15066 echo "${ECHO_T}no" >&6; }
       
 15067 
       
 15068 fi
       
 15069 
       
 15070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15071 { echo "$as_me:$LINENO: checking for fdatasync" >&5
       
 15072 echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }
       
 15073 cat >conftest.$ac_ext <<_ACEOF
       
 15074 /* confdefs.h.  */
       
 15075 _ACEOF
       
 15076 cat confdefs.h >>conftest.$ac_ext
       
 15077 cat >>conftest.$ac_ext <<_ACEOF
       
 15078 /* end confdefs.h.  */
       
 15079 #include <unistd.h>
       
 15080 int
       
 15081 main ()
       
 15082 {
       
 15083 void *x=fdatasync
       
 15084   ;
       
 15085   return 0;
       
 15086 }
       
 15087 _ACEOF
       
 15088 rm -f conftest.$ac_objext
       
 15089 if { (ac_try="$ac_compile"
       
 15090 case "(($ac_try" in
       
 15091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15092   *) ac_try_echo=$ac_try;;
       
 15093 esac
       
 15094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15095   (eval "$ac_compile") 2>conftest.er1
       
 15096   ac_status=$?
       
 15097   grep -v '^ *+' conftest.er1 >conftest.err
       
 15098   rm -f conftest.er1
       
 15099   cat conftest.err >&5
       
 15100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15101   (exit $ac_status); } && {
       
 15102 	 test -z "$ac_c_werror_flag" ||
       
 15103 	 test ! -s conftest.err
       
 15104        } && test -s conftest.$ac_objext; then
       
 15105 
       
 15106 cat >>confdefs.h <<\_ACEOF
       
 15107 #define HAVE_FDATASYNC 1
       
 15108 _ACEOF
       
 15109 
       
 15110   { echo "$as_me:$LINENO: result: yes" >&5
       
 15111 echo "${ECHO_T}yes" >&6; }
       
 15112 else
       
 15113   echo "$as_me: failed program was:" >&5
       
 15114 sed 's/^/| /' conftest.$ac_ext >&5
       
 15115 
       
 15116 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15117 echo "${ECHO_T}no" >&6; }
       
 15118 
       
 15119 fi
       
 15120 
       
 15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15122 
       
 15123 # On some systems (eg. FreeBSD 5), we would find a definition of the
       
 15124 # functions ctermid_r, setgroups in the library, but no prototype
       
 15125 # (e.g. because we use _XOPEN_SOURCE). See whether we can take their
       
 15126 # address to avoid compiler warnings and potential miscompilations
       
 15127 # because of the missing prototypes.
       
 15128 
       
 15129 { echo "$as_me:$LINENO: checking for ctermid_r" >&5
       
 15130 echo $ECHO_N "checking for ctermid_r... $ECHO_C" >&6; }
       
 15131 cat >conftest.$ac_ext <<_ACEOF
       
 15132 /* confdefs.h.  */
       
 15133 _ACEOF
       
 15134 cat confdefs.h >>conftest.$ac_ext
       
 15135 cat >>conftest.$ac_ext <<_ACEOF
       
 15136 /* end confdefs.h.  */
       
 15137 
       
 15138 #include "confdefs.h"
       
 15139 #include <stdio.h>
       
 15140 
       
 15141 int
       
 15142 main ()
       
 15143 {
       
 15144 void* p = ctermid_r
       
 15145   ;
       
 15146   return 0;
       
 15147 }
       
 15148 _ACEOF
       
 15149 rm -f conftest.$ac_objext
       
 15150 if { (ac_try="$ac_compile"
       
 15151 case "(($ac_try" in
       
 15152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15153   *) ac_try_echo=$ac_try;;
       
 15154 esac
       
 15155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15156   (eval "$ac_compile") 2>conftest.er1
       
 15157   ac_status=$?
       
 15158   grep -v '^ *+' conftest.er1 >conftest.err
       
 15159   rm -f conftest.er1
       
 15160   cat conftest.err >&5
       
 15161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15162   (exit $ac_status); } && {
       
 15163 	 test -z "$ac_c_werror_flag" ||
       
 15164 	 test ! -s conftest.err
       
 15165        } && test -s conftest.$ac_objext; then
       
 15166 
       
 15167 cat >>confdefs.h <<\_ACEOF
       
 15168 #define HAVE_CTERMID_R 1
       
 15169 _ACEOF
       
 15170 
       
 15171   { echo "$as_me:$LINENO: result: yes" >&5
       
 15172 echo "${ECHO_T}yes" >&6; }
       
 15173 else
       
 15174   echo "$as_me: failed program was:" >&5
       
 15175 sed 's/^/| /' conftest.$ac_ext >&5
       
 15176 
       
 15177 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15178 echo "${ECHO_T}no" >&6; }
       
 15179 
       
 15180 fi
       
 15181 
       
 15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15183 
       
 15184 { echo "$as_me:$LINENO: checking for flock" >&5
       
 15185 echo $ECHO_N "checking for flock... $ECHO_C" >&6; }
       
 15186 cat >conftest.$ac_ext <<_ACEOF
       
 15187 /* confdefs.h.  */
       
 15188 _ACEOF
       
 15189 cat confdefs.h >>conftest.$ac_ext
       
 15190 cat >>conftest.$ac_ext <<_ACEOF
       
 15191 /* end confdefs.h.  */
       
 15192 
       
 15193 #include "confdefs.h"
       
 15194 #include <sys/file.h>
       
 15195 
       
 15196 int
       
 15197 main ()
       
 15198 {
       
 15199 void* p = flock
       
 15200   ;
       
 15201   return 0;
       
 15202 }
       
 15203 _ACEOF
       
 15204 rm -f conftest.$ac_objext
       
 15205 if { (ac_try="$ac_compile"
       
 15206 case "(($ac_try" in
       
 15207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15208   *) ac_try_echo=$ac_try;;
       
 15209 esac
       
 15210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15211   (eval "$ac_compile") 2>conftest.er1
       
 15212   ac_status=$?
       
 15213   grep -v '^ *+' conftest.er1 >conftest.err
       
 15214   rm -f conftest.er1
       
 15215   cat conftest.err >&5
       
 15216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15217   (exit $ac_status); } && {
       
 15218 	 test -z "$ac_c_werror_flag" ||
       
 15219 	 test ! -s conftest.err
       
 15220        } && test -s conftest.$ac_objext; then
       
 15221 
       
 15222 cat >>confdefs.h <<\_ACEOF
       
 15223 #define HAVE_FLOCK 1
       
 15224 _ACEOF
       
 15225 
       
 15226   { echo "$as_me:$LINENO: result: yes" >&5
       
 15227 echo "${ECHO_T}yes" >&6; }
       
 15228 else
       
 15229   echo "$as_me: failed program was:" >&5
       
 15230 sed 's/^/| /' conftest.$ac_ext >&5
       
 15231 
       
 15232 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15233 echo "${ECHO_T}no" >&6; }
       
 15234 
       
 15235 fi
       
 15236 
       
 15237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15238 
       
 15239 { echo "$as_me:$LINENO: checking for getpagesize" >&5
       
 15240 echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; }
       
 15241 cat >conftest.$ac_ext <<_ACEOF
       
 15242 /* confdefs.h.  */
       
 15243 _ACEOF
       
 15244 cat confdefs.h >>conftest.$ac_ext
       
 15245 cat >>conftest.$ac_ext <<_ACEOF
       
 15246 /* end confdefs.h.  */
       
 15247 
       
 15248 #include "confdefs.h"
       
 15249 #include <unistd.h>
       
 15250 
       
 15251 int
       
 15252 main ()
       
 15253 {
       
 15254 void* p = getpagesize
       
 15255   ;
       
 15256   return 0;
       
 15257 }
       
 15258 _ACEOF
       
 15259 rm -f conftest.$ac_objext
       
 15260 if { (ac_try="$ac_compile"
       
 15261 case "(($ac_try" in
       
 15262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15263   *) ac_try_echo=$ac_try;;
       
 15264 esac
       
 15265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15266   (eval "$ac_compile") 2>conftest.er1
       
 15267   ac_status=$?
       
 15268   grep -v '^ *+' conftest.er1 >conftest.err
       
 15269   rm -f conftest.er1
       
 15270   cat conftest.err >&5
       
 15271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15272   (exit $ac_status); } && {
       
 15273 	 test -z "$ac_c_werror_flag" ||
       
 15274 	 test ! -s conftest.err
       
 15275        } && test -s conftest.$ac_objext; then
       
 15276 
       
 15277 cat >>confdefs.h <<\_ACEOF
       
 15278 #define HAVE_GETPAGESIZE 1
       
 15279 _ACEOF
       
 15280 
       
 15281   { echo "$as_me:$LINENO: result: yes" >&5
       
 15282 echo "${ECHO_T}yes" >&6; }
       
 15283 else
       
 15284   echo "$as_me: failed program was:" >&5
       
 15285 sed 's/^/| /' conftest.$ac_ext >&5
       
 15286 
       
 15287 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15288 echo "${ECHO_T}no" >&6; }
       
 15289 
       
 15290 fi
       
 15291 
       
 15292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15293 
       
 15294 for ac_prog in true
       
 15295 do
       
 15296   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
 15297 set dummy $ac_prog; ac_word=$2
       
 15298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
 15299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
 15300 if test "${ac_cv_prog_TRUE+set}" = set; then
       
 15301   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15302 else
       
 15303   if test -n "$TRUE"; then
       
 15304   ac_cv_prog_TRUE="$TRUE" # Let the user override the test.
       
 15305 else
       
 15306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 15307 for as_dir in $PATH
       
 15308 do
       
 15309   IFS=$as_save_IFS
       
 15310   test -z "$as_dir" && as_dir=.
       
 15311   for ac_exec_ext in '' $ac_executable_extensions; do
       
 15312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       
 15313     ac_cv_prog_TRUE="$ac_prog"
       
 15314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
 15315     break 2
       
 15316   fi
       
 15317 done
       
 15318 done
       
 15319 IFS=$as_save_IFS
       
 15320 
       
 15321 fi
       
 15322 fi
       
 15323 TRUE=$ac_cv_prog_TRUE
       
 15324 if test -n "$TRUE"; then
       
 15325   { echo "$as_me:$LINENO: result: $TRUE" >&5
       
 15326 echo "${ECHO_T}$TRUE" >&6; }
       
 15327 else
       
 15328   { echo "$as_me:$LINENO: result: no" >&5
       
 15329 echo "${ECHO_T}no" >&6; }
       
 15330 fi
       
 15331 
       
 15332 
       
 15333   test -n "$TRUE" && break
       
 15334 done
       
 15335 test -n "$TRUE" || TRUE="/bin/true"
       
 15336 
       
 15337 
       
 15338 { echo "$as_me:$LINENO: checking for inet_aton in -lc" >&5
       
 15339 echo $ECHO_N "checking for inet_aton in -lc... $ECHO_C" >&6; }
       
 15340 if test "${ac_cv_lib_c_inet_aton+set}" = set; then
       
 15341   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15342 else
       
 15343   ac_check_lib_save_LIBS=$LIBS
       
 15344 LIBS="-lc  $LIBS"
       
 15345 cat >conftest.$ac_ext <<_ACEOF
       
 15346 /* confdefs.h.  */
       
 15347 _ACEOF
       
 15348 cat confdefs.h >>conftest.$ac_ext
       
 15349 cat >>conftest.$ac_ext <<_ACEOF
       
 15350 /* end confdefs.h.  */
       
 15351 
       
 15352 /* Override any GCC internal prototype to avoid an error.
       
 15353    Use char because int might match the return type of a GCC
       
 15354    builtin and then its argument prototype would still apply.  */
       
 15355 #ifdef __cplusplus
       
 15356 extern "C"
       
 15357 #endif
       
 15358 char inet_aton ();
       
 15359 int
       
 15360 main ()
       
 15361 {
       
 15362 return inet_aton ();
       
 15363   ;
       
 15364   return 0;
       
 15365 }
       
 15366 _ACEOF
       
 15367 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15368 if { (ac_try="$ac_link"
       
 15369 case "(($ac_try" in
       
 15370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15371   *) ac_try_echo=$ac_try;;
       
 15372 esac
       
 15373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15374   (eval "$ac_link") 2>conftest.er1
       
 15375   ac_status=$?
       
 15376   grep -v '^ *+' conftest.er1 >conftest.err
       
 15377   rm -f conftest.er1
       
 15378   cat conftest.err >&5
       
 15379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15380   (exit $ac_status); } && {
       
 15381 	 test -z "$ac_c_werror_flag" ||
       
 15382 	 test ! -s conftest.err
       
 15383        } && test -s conftest$ac_exeext &&
       
 15384        $as_test_x conftest$ac_exeext; then
       
 15385   ac_cv_lib_c_inet_aton=yes
       
 15386 else
       
 15387   echo "$as_me: failed program was:" >&5
       
 15388 sed 's/^/| /' conftest.$ac_ext >&5
       
 15389 
       
 15390 	ac_cv_lib_c_inet_aton=no
       
 15391 fi
       
 15392 
       
 15393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15394       conftest$ac_exeext conftest.$ac_ext
       
 15395 LIBS=$ac_check_lib_save_LIBS
       
 15396 fi
       
 15397 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_inet_aton" >&5
       
 15398 echo "${ECHO_T}$ac_cv_lib_c_inet_aton" >&6; }
       
 15399 if test $ac_cv_lib_c_inet_aton = yes; then
       
 15400   $ac_cv_prog_TRUE
       
 15401 else
       
 15402 
       
 15403 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
       
 15404 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
       
 15405 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
       
 15406   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15407 else
       
 15408   ac_check_lib_save_LIBS=$LIBS
       
 15409 LIBS="-lresolv  $LIBS"
       
 15410 cat >conftest.$ac_ext <<_ACEOF
       
 15411 /* confdefs.h.  */
       
 15412 _ACEOF
       
 15413 cat confdefs.h >>conftest.$ac_ext
       
 15414 cat >>conftest.$ac_ext <<_ACEOF
       
 15415 /* end confdefs.h.  */
       
 15416 
       
 15417 /* Override any GCC internal prototype to avoid an error.
       
 15418    Use char because int might match the return type of a GCC
       
 15419    builtin and then its argument prototype would still apply.  */
       
 15420 #ifdef __cplusplus
       
 15421 extern "C"
       
 15422 #endif
       
 15423 char inet_aton ();
       
 15424 int
       
 15425 main ()
       
 15426 {
       
 15427 return inet_aton ();
       
 15428   ;
       
 15429   return 0;
       
 15430 }
       
 15431 _ACEOF
       
 15432 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15433 if { (ac_try="$ac_link"
       
 15434 case "(($ac_try" in
       
 15435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15436   *) ac_try_echo=$ac_try;;
       
 15437 esac
       
 15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15439   (eval "$ac_link") 2>conftest.er1
       
 15440   ac_status=$?
       
 15441   grep -v '^ *+' conftest.er1 >conftest.err
       
 15442   rm -f conftest.er1
       
 15443   cat conftest.err >&5
       
 15444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15445   (exit $ac_status); } && {
       
 15446 	 test -z "$ac_c_werror_flag" ||
       
 15447 	 test ! -s conftest.err
       
 15448        } && test -s conftest$ac_exeext &&
       
 15449        $as_test_x conftest$ac_exeext; then
       
 15450   ac_cv_lib_resolv_inet_aton=yes
       
 15451 else
       
 15452   echo "$as_me: failed program was:" >&5
       
 15453 sed 's/^/| /' conftest.$ac_ext >&5
       
 15454 
       
 15455 	ac_cv_lib_resolv_inet_aton=no
       
 15456 fi
       
 15457 
       
 15458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15459       conftest$ac_exeext conftest.$ac_ext
       
 15460 LIBS=$ac_check_lib_save_LIBS
       
 15461 fi
       
 15462 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
       
 15463 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
       
 15464 if test $ac_cv_lib_resolv_inet_aton = yes; then
       
 15465   cat >>confdefs.h <<_ACEOF
       
 15466 #define HAVE_LIBRESOLV 1
       
 15467 _ACEOF
       
 15468 
       
 15469   LIBS="-lresolv $LIBS"
       
 15470 
       
 15471 fi
       
 15472 
       
 15473 
       
 15474 fi
       
 15475 
       
 15476 
       
 15477 case $ac_sys_system/$ac_sys_release in
       
 15478 Darwin/*)
       
 15479 	_CUR_CFLAGS="${CFLAGS}"
       
 15480 	_CUR_LDFLAGS="${LDFLAGS}"
       
 15481 	CFLAGS="${CFLAGS} -Wl,-search_paths_first"
       
 15482 	LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L/usr/local/lib"
       
 15483 	;;
       
 15484 esac
       
 15485 
       
 15486 { echo "$as_me:$LINENO: checking for inflateCopy in -lz" >&5
       
 15487 echo $ECHO_N "checking for inflateCopy in -lz... $ECHO_C" >&6; }
       
 15488 if test "${ac_cv_lib_z_inflateCopy+set}" = set; then
       
 15489   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15490 else
       
 15491   ac_check_lib_save_LIBS=$LIBS
       
 15492 LIBS="-lz  $LIBS"
       
 15493 cat >conftest.$ac_ext <<_ACEOF
       
 15494 /* confdefs.h.  */
       
 15495 _ACEOF
       
 15496 cat confdefs.h >>conftest.$ac_ext
       
 15497 cat >>conftest.$ac_ext <<_ACEOF
       
 15498 /* end confdefs.h.  */
       
 15499 
       
 15500 /* Override any GCC internal prototype to avoid an error.
       
 15501    Use char because int might match the return type of a GCC
       
 15502    builtin and then its argument prototype would still apply.  */
       
 15503 #ifdef __cplusplus
       
 15504 extern "C"
       
 15505 #endif
       
 15506 char inflateCopy ();
       
 15507 int
       
 15508 main ()
       
 15509 {
       
 15510 return inflateCopy ();
       
 15511   ;
       
 15512   return 0;
       
 15513 }
       
 15514 _ACEOF
       
 15515 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15516 if { (ac_try="$ac_link"
       
 15517 case "(($ac_try" in
       
 15518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15519   *) ac_try_echo=$ac_try;;
       
 15520 esac
       
 15521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15522   (eval "$ac_link") 2>conftest.er1
       
 15523   ac_status=$?
       
 15524   grep -v '^ *+' conftest.er1 >conftest.err
       
 15525   rm -f conftest.er1
       
 15526   cat conftest.err >&5
       
 15527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15528   (exit $ac_status); } && {
       
 15529 	 test -z "$ac_c_werror_flag" ||
       
 15530 	 test ! -s conftest.err
       
 15531        } && test -s conftest$ac_exeext &&
       
 15532        $as_test_x conftest$ac_exeext; then
       
 15533   ac_cv_lib_z_inflateCopy=yes
       
 15534 else
       
 15535   echo "$as_me: failed program was:" >&5
       
 15536 sed 's/^/| /' conftest.$ac_ext >&5
       
 15537 
       
 15538 	ac_cv_lib_z_inflateCopy=no
       
 15539 fi
       
 15540 
       
 15541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15542       conftest$ac_exeext conftest.$ac_ext
       
 15543 LIBS=$ac_check_lib_save_LIBS
       
 15544 fi
       
 15545 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateCopy" >&5
       
 15546 echo "${ECHO_T}$ac_cv_lib_z_inflateCopy" >&6; }
       
 15547 if test $ac_cv_lib_z_inflateCopy = yes; then
       
 15548 
       
 15549 cat >>confdefs.h <<\_ACEOF
       
 15550 #define HAVE_ZLIB_COPY 1
       
 15551 _ACEOF
       
 15552 
       
 15553 fi
       
 15554 
       
 15555 
       
 15556 case $ac_sys_system/$ac_sys_release in
       
 15557 Darwin/*)
       
 15558 	CFLAGS="${_CUR_CFLAGS}"
       
 15559 	LDFLAGS="${_CUR_LDFLAGS}"
       
 15560 	;;
       
 15561 esac
       
 15562 
       
 15563 { echo "$as_me:$LINENO: checking for hstrerror" >&5
       
 15564 echo $ECHO_N "checking for hstrerror... $ECHO_C" >&6; }
       
 15565 cat >conftest.$ac_ext <<_ACEOF
       
 15566 /* confdefs.h.  */
       
 15567 _ACEOF
       
 15568 cat confdefs.h >>conftest.$ac_ext
       
 15569 cat >>conftest.$ac_ext <<_ACEOF
       
 15570 /* end confdefs.h.  */
       
 15571 
       
 15572 #include "confdefs.h"
       
 15573 #include <netdb.h>
       
 15574 
       
 15575 int
       
 15576 main ()
       
 15577 {
       
 15578 void* p = hstrerror; hstrerror(0)
       
 15579   ;
       
 15580   return 0;
       
 15581 }
       
 15582 _ACEOF
       
 15583 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15584 if { (ac_try="$ac_link"
       
 15585 case "(($ac_try" in
       
 15586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15587   *) ac_try_echo=$ac_try;;
       
 15588 esac
       
 15589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15590   (eval "$ac_link") 2>conftest.er1
       
 15591   ac_status=$?
       
 15592   grep -v '^ *+' conftest.er1 >conftest.err
       
 15593   rm -f conftest.er1
       
 15594   cat conftest.err >&5
       
 15595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15596   (exit $ac_status); } && {
       
 15597 	 test -z "$ac_c_werror_flag" ||
       
 15598 	 test ! -s conftest.err
       
 15599        } && test -s conftest$ac_exeext &&
       
 15600        $as_test_x conftest$ac_exeext; then
       
 15601 
       
 15602 cat >>confdefs.h <<\_ACEOF
       
 15603 #define HAVE_HSTRERROR 1
       
 15604 _ACEOF
       
 15605 
       
 15606   { echo "$as_me:$LINENO: result: yes" >&5
       
 15607 echo "${ECHO_T}yes" >&6; }
       
 15608 else
       
 15609   echo "$as_me: failed program was:" >&5
       
 15610 sed 's/^/| /' conftest.$ac_ext >&5
       
 15611 
       
 15612 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15613 echo "${ECHO_T}no" >&6; }
       
 15614 
       
 15615 fi
       
 15616 
       
 15617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15618       conftest$ac_exeext conftest.$ac_ext
       
 15619 
       
 15620 { echo "$as_me:$LINENO: checking for inet_aton" >&5
       
 15621 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6; }
       
 15622 cat >conftest.$ac_ext <<_ACEOF
       
 15623 /* confdefs.h.  */
       
 15624 _ACEOF
       
 15625 cat confdefs.h >>conftest.$ac_ext
       
 15626 cat >>conftest.$ac_ext <<_ACEOF
       
 15627 /* end confdefs.h.  */
       
 15628 
       
 15629 #include "confdefs.h"
       
 15630 #include <sys/types.h>
       
 15631 #include <sys/socket.h>
       
 15632 #include <netinet/in.h>
       
 15633 #include <arpa/inet.h>
       
 15634 
       
 15635 int
       
 15636 main ()
       
 15637 {
       
 15638 void* p = inet_aton;inet_aton(0,0)
       
 15639   ;
       
 15640   return 0;
       
 15641 }
       
 15642 _ACEOF
       
 15643 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15644 if { (ac_try="$ac_link"
       
 15645 case "(($ac_try" in
       
 15646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15647   *) ac_try_echo=$ac_try;;
       
 15648 esac
       
 15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15650   (eval "$ac_link") 2>conftest.er1
       
 15651   ac_status=$?
       
 15652   grep -v '^ *+' conftest.er1 >conftest.err
       
 15653   rm -f conftest.er1
       
 15654   cat conftest.err >&5
       
 15655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15656   (exit $ac_status); } && {
       
 15657 	 test -z "$ac_c_werror_flag" ||
       
 15658 	 test ! -s conftest.err
       
 15659        } && test -s conftest$ac_exeext &&
       
 15660        $as_test_x conftest$ac_exeext; then
       
 15661 
       
 15662 cat >>confdefs.h <<\_ACEOF
       
 15663 #define HAVE_INET_ATON 1
       
 15664 _ACEOF
       
 15665 
       
 15666   { echo "$as_me:$LINENO: result: yes" >&5
       
 15667 echo "${ECHO_T}yes" >&6; }
       
 15668 else
       
 15669   echo "$as_me: failed program was:" >&5
       
 15670 sed 's/^/| /' conftest.$ac_ext >&5
       
 15671 
       
 15672 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15673 echo "${ECHO_T}no" >&6; }
       
 15674 
       
 15675 fi
       
 15676 
       
 15677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15678       conftest$ac_exeext conftest.$ac_ext
       
 15679 
       
 15680 { echo "$as_me:$LINENO: checking for inet_pton" >&5
       
 15681 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6; }
       
 15682 cat >conftest.$ac_ext <<_ACEOF
       
 15683 /* confdefs.h.  */
       
 15684 _ACEOF
       
 15685 cat confdefs.h >>conftest.$ac_ext
       
 15686 cat >>conftest.$ac_ext <<_ACEOF
       
 15687 /* end confdefs.h.  */
       
 15688 
       
 15689 #include "confdefs.h"
       
 15690 #include <sys/types.h>
       
 15691 #include <sys/socket.h>
       
 15692 #include <netinet/in.h>
       
 15693 #include <arpa/inet.h>
       
 15694 
       
 15695 int
       
 15696 main ()
       
 15697 {
       
 15698 void* p = inet_pton
       
 15699   ;
       
 15700   return 0;
       
 15701 }
       
 15702 _ACEOF
       
 15703 rm -f conftest.$ac_objext
       
 15704 if { (ac_try="$ac_compile"
       
 15705 case "(($ac_try" in
       
 15706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15707   *) ac_try_echo=$ac_try;;
       
 15708 esac
       
 15709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15710   (eval "$ac_compile") 2>conftest.er1
       
 15711   ac_status=$?
       
 15712   grep -v '^ *+' conftest.er1 >conftest.err
       
 15713   rm -f conftest.er1
       
 15714   cat conftest.err >&5
       
 15715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15716   (exit $ac_status); } && {
       
 15717 	 test -z "$ac_c_werror_flag" ||
       
 15718 	 test ! -s conftest.err
       
 15719        } && test -s conftest.$ac_objext; then
       
 15720 
       
 15721 cat >>confdefs.h <<\_ACEOF
       
 15722 #define HAVE_INET_PTON 1
       
 15723 _ACEOF
       
 15724 
       
 15725   { echo "$as_me:$LINENO: result: yes" >&5
       
 15726 echo "${ECHO_T}yes" >&6; }
       
 15727 else
       
 15728   echo "$as_me: failed program was:" >&5
       
 15729 sed 's/^/| /' conftest.$ac_ext >&5
       
 15730 
       
 15731 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15732 echo "${ECHO_T}no" >&6; }
       
 15733 
       
 15734 fi
       
 15735 
       
 15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15737 
       
 15738 # On some systems, setgroups is in unistd.h, on others, in grp.h
       
 15739 { echo "$as_me:$LINENO: checking for setgroups" >&5
       
 15740 echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; }
       
 15741 cat >conftest.$ac_ext <<_ACEOF
       
 15742 /* confdefs.h.  */
       
 15743 _ACEOF
       
 15744 cat confdefs.h >>conftest.$ac_ext
       
 15745 cat >>conftest.$ac_ext <<_ACEOF
       
 15746 /* end confdefs.h.  */
       
 15747 
       
 15748 #include "confdefs.h"
       
 15749 #include <unistd.h>
       
 15750 #ifdef HAVE_GRP_H
       
 15751 #include <grp.h>
       
 15752 #endif
       
 15753 
       
 15754 int
       
 15755 main ()
       
 15756 {
       
 15757 void* p = setgroups
       
 15758   ;
       
 15759   return 0;
       
 15760 }
       
 15761 _ACEOF
       
 15762 rm -f conftest.$ac_objext
       
 15763 if { (ac_try="$ac_compile"
       
 15764 case "(($ac_try" in
       
 15765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15766   *) ac_try_echo=$ac_try;;
       
 15767 esac
       
 15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15769   (eval "$ac_compile") 2>conftest.er1
       
 15770   ac_status=$?
       
 15771   grep -v '^ *+' conftest.er1 >conftest.err
       
 15772   rm -f conftest.er1
       
 15773   cat conftest.err >&5
       
 15774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15775   (exit $ac_status); } && {
       
 15776 	 test -z "$ac_c_werror_flag" ||
       
 15777 	 test ! -s conftest.err
       
 15778        } && test -s conftest.$ac_objext; then
       
 15779 
       
 15780 cat >>confdefs.h <<\_ACEOF
       
 15781 #define HAVE_SETGROUPS 1
       
 15782 _ACEOF
       
 15783 
       
 15784   { echo "$as_me:$LINENO: result: yes" >&5
       
 15785 echo "${ECHO_T}yes" >&6; }
       
 15786 else
       
 15787   echo "$as_me: failed program was:" >&5
       
 15788 sed 's/^/| /' conftest.$ac_ext >&5
       
 15789 
       
 15790 	{ echo "$as_me:$LINENO: result: no" >&5
       
 15791 echo "${ECHO_T}no" >&6; }
       
 15792 
       
 15793 fi
       
 15794 
       
 15795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 15796 
       
 15797 # check for openpty and forkpty
       
 15798 
       
 15799 
       
 15800 for ac_func in openpty
       
 15801 do
       
 15802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 15803 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 15804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 15805 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 15806   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15807 else
       
 15808   cat >conftest.$ac_ext <<_ACEOF
       
 15809 /* confdefs.h.  */
       
 15810 _ACEOF
       
 15811 cat confdefs.h >>conftest.$ac_ext
       
 15812 cat >>conftest.$ac_ext <<_ACEOF
       
 15813 /* end confdefs.h.  */
       
 15814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 15815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 15816 #define $ac_func innocuous_$ac_func
       
 15817 
       
 15818 /* System header to define __stub macros and hopefully few prototypes,
       
 15819     which can conflict with char $ac_func (); below.
       
 15820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 15821     <limits.h> exists even on freestanding compilers.  */
       
 15822 
       
 15823 #ifdef __STDC__
       
 15824 # include <limits.h>
       
 15825 #else
       
 15826 # include <assert.h>
       
 15827 #endif
       
 15828 
       
 15829 #undef $ac_func
       
 15830 
       
 15831 /* Override any GCC internal prototype to avoid an error.
       
 15832    Use char because int might match the return type of a GCC
       
 15833    builtin and then its argument prototype would still apply.  */
       
 15834 #ifdef __cplusplus
       
 15835 extern "C"
       
 15836 #endif
       
 15837 char $ac_func ();
       
 15838 /* The GNU C library defines this for functions which it implements
       
 15839     to always fail with ENOSYS.  Some functions are actually named
       
 15840     something starting with __ and the normal name is an alias.  */
       
 15841 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 15842 choke me
       
 15843 #endif
       
 15844 
       
 15845 int
       
 15846 main ()
       
 15847 {
       
 15848 return $ac_func ();
       
 15849   ;
       
 15850   return 0;
       
 15851 }
       
 15852 _ACEOF
       
 15853 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15854 if { (ac_try="$ac_link"
       
 15855 case "(($ac_try" in
       
 15856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15857   *) ac_try_echo=$ac_try;;
       
 15858 esac
       
 15859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15860   (eval "$ac_link") 2>conftest.er1
       
 15861   ac_status=$?
       
 15862   grep -v '^ *+' conftest.er1 >conftest.err
       
 15863   rm -f conftest.er1
       
 15864   cat conftest.err >&5
       
 15865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15866   (exit $ac_status); } && {
       
 15867 	 test -z "$ac_c_werror_flag" ||
       
 15868 	 test ! -s conftest.err
       
 15869        } && test -s conftest$ac_exeext &&
       
 15870        $as_test_x conftest$ac_exeext; then
       
 15871   eval "$as_ac_var=yes"
       
 15872 else
       
 15873   echo "$as_me: failed program was:" >&5
       
 15874 sed 's/^/| /' conftest.$ac_ext >&5
       
 15875 
       
 15876 	eval "$as_ac_var=no"
       
 15877 fi
       
 15878 
       
 15879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15880       conftest$ac_exeext conftest.$ac_ext
       
 15881 fi
       
 15882 ac_res=`eval echo '${'$as_ac_var'}'`
       
 15883 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 15884 echo "${ECHO_T}$ac_res" >&6; }
       
 15885 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 15886   cat >>confdefs.h <<_ACEOF
       
 15887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 15888 _ACEOF
       
 15889 
       
 15890 else
       
 15891   { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
       
 15892 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
       
 15893 if test "${ac_cv_lib_util_openpty+set}" = set; then
       
 15894   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15895 else
       
 15896   ac_check_lib_save_LIBS=$LIBS
       
 15897 LIBS="-lutil  $LIBS"
       
 15898 cat >conftest.$ac_ext <<_ACEOF
       
 15899 /* confdefs.h.  */
       
 15900 _ACEOF
       
 15901 cat confdefs.h >>conftest.$ac_ext
       
 15902 cat >>conftest.$ac_ext <<_ACEOF
       
 15903 /* end confdefs.h.  */
       
 15904 
       
 15905 /* Override any GCC internal prototype to avoid an error.
       
 15906    Use char because int might match the return type of a GCC
       
 15907    builtin and then its argument prototype would still apply.  */
       
 15908 #ifdef __cplusplus
       
 15909 extern "C"
       
 15910 #endif
       
 15911 char openpty ();
       
 15912 int
       
 15913 main ()
       
 15914 {
       
 15915 return openpty ();
       
 15916   ;
       
 15917   return 0;
       
 15918 }
       
 15919 _ACEOF
       
 15920 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15921 if { (ac_try="$ac_link"
       
 15922 case "(($ac_try" in
       
 15923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15924   *) ac_try_echo=$ac_try;;
       
 15925 esac
       
 15926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15927   (eval "$ac_link") 2>conftest.er1
       
 15928   ac_status=$?
       
 15929   grep -v '^ *+' conftest.er1 >conftest.err
       
 15930   rm -f conftest.er1
       
 15931   cat conftest.err >&5
       
 15932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15933   (exit $ac_status); } && {
       
 15934 	 test -z "$ac_c_werror_flag" ||
       
 15935 	 test ! -s conftest.err
       
 15936        } && test -s conftest$ac_exeext &&
       
 15937        $as_test_x conftest$ac_exeext; then
       
 15938   ac_cv_lib_util_openpty=yes
       
 15939 else
       
 15940   echo "$as_me: failed program was:" >&5
       
 15941 sed 's/^/| /' conftest.$ac_ext >&5
       
 15942 
       
 15943 	ac_cv_lib_util_openpty=no
       
 15944 fi
       
 15945 
       
 15946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 15947       conftest$ac_exeext conftest.$ac_ext
       
 15948 LIBS=$ac_check_lib_save_LIBS
       
 15949 fi
       
 15950 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
       
 15951 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
       
 15952 if test $ac_cv_lib_util_openpty = yes; then
       
 15953   cat >>confdefs.h <<\_ACEOF
       
 15954 #define HAVE_OPENPTY 1
       
 15955 _ACEOF
       
 15956  LIBS="$LIBS -lutil"
       
 15957 else
       
 15958   { echo "$as_me:$LINENO: checking for openpty in -lbsd" >&5
       
 15959 echo $ECHO_N "checking for openpty in -lbsd... $ECHO_C" >&6; }
       
 15960 if test "${ac_cv_lib_bsd_openpty+set}" = set; then
       
 15961   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 15962 else
       
 15963   ac_check_lib_save_LIBS=$LIBS
       
 15964 LIBS="-lbsd  $LIBS"
       
 15965 cat >conftest.$ac_ext <<_ACEOF
       
 15966 /* confdefs.h.  */
       
 15967 _ACEOF
       
 15968 cat confdefs.h >>conftest.$ac_ext
       
 15969 cat >>conftest.$ac_ext <<_ACEOF
       
 15970 /* end confdefs.h.  */
       
 15971 
       
 15972 /* Override any GCC internal prototype to avoid an error.
       
 15973    Use char because int might match the return type of a GCC
       
 15974    builtin and then its argument prototype would still apply.  */
       
 15975 #ifdef __cplusplus
       
 15976 extern "C"
       
 15977 #endif
       
 15978 char openpty ();
       
 15979 int
       
 15980 main ()
       
 15981 {
       
 15982 return openpty ();
       
 15983   ;
       
 15984   return 0;
       
 15985 }
       
 15986 _ACEOF
       
 15987 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15988 if { (ac_try="$ac_link"
       
 15989 case "(($ac_try" in
       
 15990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15991   *) ac_try_echo=$ac_try;;
       
 15992 esac
       
 15993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15994   (eval "$ac_link") 2>conftest.er1
       
 15995   ac_status=$?
       
 15996   grep -v '^ *+' conftest.er1 >conftest.err
       
 15997   rm -f conftest.er1
       
 15998   cat conftest.err >&5
       
 15999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16000   (exit $ac_status); } && {
       
 16001 	 test -z "$ac_c_werror_flag" ||
       
 16002 	 test ! -s conftest.err
       
 16003        } && test -s conftest$ac_exeext &&
       
 16004        $as_test_x conftest$ac_exeext; then
       
 16005   ac_cv_lib_bsd_openpty=yes
       
 16006 else
       
 16007   echo "$as_me: failed program was:" >&5
       
 16008 sed 's/^/| /' conftest.$ac_ext >&5
       
 16009 
       
 16010 	ac_cv_lib_bsd_openpty=no
       
 16011 fi
       
 16012 
       
 16013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16014       conftest$ac_exeext conftest.$ac_ext
       
 16015 LIBS=$ac_check_lib_save_LIBS
       
 16016 fi
       
 16017 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_openpty" >&5
       
 16018 echo "${ECHO_T}$ac_cv_lib_bsd_openpty" >&6; }
       
 16019 if test $ac_cv_lib_bsd_openpty = yes; then
       
 16020   cat >>confdefs.h <<\_ACEOF
       
 16021 #define HAVE_OPENPTY 1
       
 16022 _ACEOF
       
 16023  LIBS="$LIBS -lbsd"
       
 16024 fi
       
 16025 
       
 16026 
       
 16027 fi
       
 16028 
       
 16029 
       
 16030 fi
       
 16031 done
       
 16032 
       
 16033 
       
 16034 for ac_func in forkpty
       
 16035 do
       
 16036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 16037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 16038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 16039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 16040   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16041 else
       
 16042   cat >conftest.$ac_ext <<_ACEOF
       
 16043 /* confdefs.h.  */
       
 16044 _ACEOF
       
 16045 cat confdefs.h >>conftest.$ac_ext
       
 16046 cat >>conftest.$ac_ext <<_ACEOF
       
 16047 /* end confdefs.h.  */
       
 16048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 16049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 16050 #define $ac_func innocuous_$ac_func
       
 16051 
       
 16052 /* System header to define __stub macros and hopefully few prototypes,
       
 16053     which can conflict with char $ac_func (); below.
       
 16054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 16055     <limits.h> exists even on freestanding compilers.  */
       
 16056 
       
 16057 #ifdef __STDC__
       
 16058 # include <limits.h>
       
 16059 #else
       
 16060 # include <assert.h>
       
 16061 #endif
       
 16062 
       
 16063 #undef $ac_func
       
 16064 
       
 16065 /* Override any GCC internal prototype to avoid an error.
       
 16066    Use char because int might match the return type of a GCC
       
 16067    builtin and then its argument prototype would still apply.  */
       
 16068 #ifdef __cplusplus
       
 16069 extern "C"
       
 16070 #endif
       
 16071 char $ac_func ();
       
 16072 /* The GNU C library defines this for functions which it implements
       
 16073     to always fail with ENOSYS.  Some functions are actually named
       
 16074     something starting with __ and the normal name is an alias.  */
       
 16075 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 16076 choke me
       
 16077 #endif
       
 16078 
       
 16079 int
       
 16080 main ()
       
 16081 {
       
 16082 return $ac_func ();
       
 16083   ;
       
 16084   return 0;
       
 16085 }
       
 16086 _ACEOF
       
 16087 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16088 if { (ac_try="$ac_link"
       
 16089 case "(($ac_try" in
       
 16090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16091   *) ac_try_echo=$ac_try;;
       
 16092 esac
       
 16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16094   (eval "$ac_link") 2>conftest.er1
       
 16095   ac_status=$?
       
 16096   grep -v '^ *+' conftest.er1 >conftest.err
       
 16097   rm -f conftest.er1
       
 16098   cat conftest.err >&5
       
 16099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16100   (exit $ac_status); } && {
       
 16101 	 test -z "$ac_c_werror_flag" ||
       
 16102 	 test ! -s conftest.err
       
 16103        } && test -s conftest$ac_exeext &&
       
 16104        $as_test_x conftest$ac_exeext; then
       
 16105   eval "$as_ac_var=yes"
       
 16106 else
       
 16107   echo "$as_me: failed program was:" >&5
       
 16108 sed 's/^/| /' conftest.$ac_ext >&5
       
 16109 
       
 16110 	eval "$as_ac_var=no"
       
 16111 fi
       
 16112 
       
 16113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16114       conftest$ac_exeext conftest.$ac_ext
       
 16115 fi
       
 16116 ac_res=`eval echo '${'$as_ac_var'}'`
       
 16117 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 16118 echo "${ECHO_T}$ac_res" >&6; }
       
 16119 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 16120   cat >>confdefs.h <<_ACEOF
       
 16121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 16122 _ACEOF
       
 16123 
       
 16124 else
       
 16125   { echo "$as_me:$LINENO: checking for forkpty in -lutil" >&5
       
 16126 echo $ECHO_N "checking for forkpty in -lutil... $ECHO_C" >&6; }
       
 16127 if test "${ac_cv_lib_util_forkpty+set}" = set; then
       
 16128   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16129 else
       
 16130   ac_check_lib_save_LIBS=$LIBS
       
 16131 LIBS="-lutil  $LIBS"
       
 16132 cat >conftest.$ac_ext <<_ACEOF
       
 16133 /* confdefs.h.  */
       
 16134 _ACEOF
       
 16135 cat confdefs.h >>conftest.$ac_ext
       
 16136 cat >>conftest.$ac_ext <<_ACEOF
       
 16137 /* end confdefs.h.  */
       
 16138 
       
 16139 /* Override any GCC internal prototype to avoid an error.
       
 16140    Use char because int might match the return type of a GCC
       
 16141    builtin and then its argument prototype would still apply.  */
       
 16142 #ifdef __cplusplus
       
 16143 extern "C"
       
 16144 #endif
       
 16145 char forkpty ();
       
 16146 int
       
 16147 main ()
       
 16148 {
       
 16149 return forkpty ();
       
 16150   ;
       
 16151   return 0;
       
 16152 }
       
 16153 _ACEOF
       
 16154 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16155 if { (ac_try="$ac_link"
       
 16156 case "(($ac_try" in
       
 16157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16158   *) ac_try_echo=$ac_try;;
       
 16159 esac
       
 16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16161   (eval "$ac_link") 2>conftest.er1
       
 16162   ac_status=$?
       
 16163   grep -v '^ *+' conftest.er1 >conftest.err
       
 16164   rm -f conftest.er1
       
 16165   cat conftest.err >&5
       
 16166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16167   (exit $ac_status); } && {
       
 16168 	 test -z "$ac_c_werror_flag" ||
       
 16169 	 test ! -s conftest.err
       
 16170        } && test -s conftest$ac_exeext &&
       
 16171        $as_test_x conftest$ac_exeext; then
       
 16172   ac_cv_lib_util_forkpty=yes
       
 16173 else
       
 16174   echo "$as_me: failed program was:" >&5
       
 16175 sed 's/^/| /' conftest.$ac_ext >&5
       
 16176 
       
 16177 	ac_cv_lib_util_forkpty=no
       
 16178 fi
       
 16179 
       
 16180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16181       conftest$ac_exeext conftest.$ac_ext
       
 16182 LIBS=$ac_check_lib_save_LIBS
       
 16183 fi
       
 16184 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_forkpty" >&5
       
 16185 echo "${ECHO_T}$ac_cv_lib_util_forkpty" >&6; }
       
 16186 if test $ac_cv_lib_util_forkpty = yes; then
       
 16187   cat >>confdefs.h <<\_ACEOF
       
 16188 #define HAVE_FORKPTY 1
       
 16189 _ACEOF
       
 16190  LIBS="$LIBS -lutil"
       
 16191 else
       
 16192   { echo "$as_me:$LINENO: checking for forkpty in -lbsd" >&5
       
 16193 echo $ECHO_N "checking for forkpty in -lbsd... $ECHO_C" >&6; }
       
 16194 if test "${ac_cv_lib_bsd_forkpty+set}" = set; then
       
 16195   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16196 else
       
 16197   ac_check_lib_save_LIBS=$LIBS
       
 16198 LIBS="-lbsd  $LIBS"
       
 16199 cat >conftest.$ac_ext <<_ACEOF
       
 16200 /* confdefs.h.  */
       
 16201 _ACEOF
       
 16202 cat confdefs.h >>conftest.$ac_ext
       
 16203 cat >>conftest.$ac_ext <<_ACEOF
       
 16204 /* end confdefs.h.  */
       
 16205 
       
 16206 /* Override any GCC internal prototype to avoid an error.
       
 16207    Use char because int might match the return type of a GCC
       
 16208    builtin and then its argument prototype would still apply.  */
       
 16209 #ifdef __cplusplus
       
 16210 extern "C"
       
 16211 #endif
       
 16212 char forkpty ();
       
 16213 int
       
 16214 main ()
       
 16215 {
       
 16216 return forkpty ();
       
 16217   ;
       
 16218   return 0;
       
 16219 }
       
 16220 _ACEOF
       
 16221 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16222 if { (ac_try="$ac_link"
       
 16223 case "(($ac_try" in
       
 16224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16225   *) ac_try_echo=$ac_try;;
       
 16226 esac
       
 16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16228   (eval "$ac_link") 2>conftest.er1
       
 16229   ac_status=$?
       
 16230   grep -v '^ *+' conftest.er1 >conftest.err
       
 16231   rm -f conftest.er1
       
 16232   cat conftest.err >&5
       
 16233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16234   (exit $ac_status); } && {
       
 16235 	 test -z "$ac_c_werror_flag" ||
       
 16236 	 test ! -s conftest.err
       
 16237        } && test -s conftest$ac_exeext &&
       
 16238        $as_test_x conftest$ac_exeext; then
       
 16239   ac_cv_lib_bsd_forkpty=yes
       
 16240 else
       
 16241   echo "$as_me: failed program was:" >&5
       
 16242 sed 's/^/| /' conftest.$ac_ext >&5
       
 16243 
       
 16244 	ac_cv_lib_bsd_forkpty=no
       
 16245 fi
       
 16246 
       
 16247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16248       conftest$ac_exeext conftest.$ac_ext
       
 16249 LIBS=$ac_check_lib_save_LIBS
       
 16250 fi
       
 16251 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_forkpty" >&5
       
 16252 echo "${ECHO_T}$ac_cv_lib_bsd_forkpty" >&6; }
       
 16253 if test $ac_cv_lib_bsd_forkpty = yes; then
       
 16254   cat >>confdefs.h <<\_ACEOF
       
 16255 #define HAVE_FORKPTY 1
       
 16256 _ACEOF
       
 16257  LIBS="$LIBS -lbsd"
       
 16258 fi
       
 16259 
       
 16260 
       
 16261 fi
       
 16262 
       
 16263 
       
 16264 fi
       
 16265 done
       
 16266 
       
 16267 
       
 16268 # check for long file support functions
       
 16269 
       
 16270 
       
 16271 
       
 16272 
       
 16273 
       
 16274 
       
 16275 for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
       
 16276 do
       
 16277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 16278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 16279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 16280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 16281   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16282 else
       
 16283   cat >conftest.$ac_ext <<_ACEOF
       
 16284 /* confdefs.h.  */
       
 16285 _ACEOF
       
 16286 cat confdefs.h >>conftest.$ac_ext
       
 16287 cat >>conftest.$ac_ext <<_ACEOF
       
 16288 /* end confdefs.h.  */
       
 16289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 16290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 16291 #define $ac_func innocuous_$ac_func
       
 16292 
       
 16293 /* System header to define __stub macros and hopefully few prototypes,
       
 16294     which can conflict with char $ac_func (); below.
       
 16295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 16296     <limits.h> exists even on freestanding compilers.  */
       
 16297 
       
 16298 #ifdef __STDC__
       
 16299 # include <limits.h>
       
 16300 #else
       
 16301 # include <assert.h>
       
 16302 #endif
       
 16303 
       
 16304 #undef $ac_func
       
 16305 
       
 16306 /* Override any GCC internal prototype to avoid an error.
       
 16307    Use char because int might match the return type of a GCC
       
 16308    builtin and then its argument prototype would still apply.  */
       
 16309 #ifdef __cplusplus
       
 16310 extern "C"
       
 16311 #endif
       
 16312 char $ac_func ();
       
 16313 /* The GNU C library defines this for functions which it implements
       
 16314     to always fail with ENOSYS.  Some functions are actually named
       
 16315     something starting with __ and the normal name is an alias.  */
       
 16316 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 16317 choke me
       
 16318 #endif
       
 16319 
       
 16320 int
       
 16321 main ()
       
 16322 {
       
 16323 return $ac_func ();
       
 16324   ;
       
 16325   return 0;
       
 16326 }
       
 16327 _ACEOF
       
 16328 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16329 if { (ac_try="$ac_link"
       
 16330 case "(($ac_try" in
       
 16331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16332   *) ac_try_echo=$ac_try;;
       
 16333 esac
       
 16334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16335   (eval "$ac_link") 2>conftest.er1
       
 16336   ac_status=$?
       
 16337   grep -v '^ *+' conftest.er1 >conftest.err
       
 16338   rm -f conftest.er1
       
 16339   cat conftest.err >&5
       
 16340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16341   (exit $ac_status); } && {
       
 16342 	 test -z "$ac_c_werror_flag" ||
       
 16343 	 test ! -s conftest.err
       
 16344        } && test -s conftest$ac_exeext &&
       
 16345        $as_test_x conftest$ac_exeext; then
       
 16346   eval "$as_ac_var=yes"
       
 16347 else
       
 16348   echo "$as_me: failed program was:" >&5
       
 16349 sed 's/^/| /' conftest.$ac_ext >&5
       
 16350 
       
 16351 	eval "$as_ac_var=no"
       
 16352 fi
       
 16353 
       
 16354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16355       conftest$ac_exeext conftest.$ac_ext
       
 16356 fi
       
 16357 ac_res=`eval echo '${'$as_ac_var'}'`
       
 16358 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 16359 echo "${ECHO_T}$ac_res" >&6; }
       
 16360 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 16361   cat >>confdefs.h <<_ACEOF
       
 16362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 16363 _ACEOF
       
 16364 
       
 16365 fi
       
 16366 done
       
 16367 
       
 16368 
       
 16369 
       
 16370 
       
 16371 
       
 16372 
       
 16373 
       
 16374 for ac_func in dup2 getcwd strdup strerror memmove
       
 16375 do
       
 16376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 16377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 16378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 16379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 16380   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16381 else
       
 16382   cat >conftest.$ac_ext <<_ACEOF
       
 16383 /* confdefs.h.  */
       
 16384 _ACEOF
       
 16385 cat confdefs.h >>conftest.$ac_ext
       
 16386 cat >>conftest.$ac_ext <<_ACEOF
       
 16387 /* end confdefs.h.  */
       
 16388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 16389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 16390 #define $ac_func innocuous_$ac_func
       
 16391 
       
 16392 /* System header to define __stub macros and hopefully few prototypes,
       
 16393     which can conflict with char $ac_func (); below.
       
 16394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 16395     <limits.h> exists even on freestanding compilers.  */
       
 16396 
       
 16397 #ifdef __STDC__
       
 16398 # include <limits.h>
       
 16399 #else
       
 16400 # include <assert.h>
       
 16401 #endif
       
 16402 
       
 16403 #undef $ac_func
       
 16404 
       
 16405 /* Override any GCC internal prototype to avoid an error.
       
 16406    Use char because int might match the return type of a GCC
       
 16407    builtin and then its argument prototype would still apply.  */
       
 16408 #ifdef __cplusplus
       
 16409 extern "C"
       
 16410 #endif
       
 16411 char $ac_func ();
       
 16412 /* The GNU C library defines this for functions which it implements
       
 16413     to always fail with ENOSYS.  Some functions are actually named
       
 16414     something starting with __ and the normal name is an alias.  */
       
 16415 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 16416 choke me
       
 16417 #endif
       
 16418 
       
 16419 int
       
 16420 main ()
       
 16421 {
       
 16422 return $ac_func ();
       
 16423   ;
       
 16424   return 0;
       
 16425 }
       
 16426 _ACEOF
       
 16427 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16428 if { (ac_try="$ac_link"
       
 16429 case "(($ac_try" in
       
 16430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16431   *) ac_try_echo=$ac_try;;
       
 16432 esac
       
 16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16434   (eval "$ac_link") 2>conftest.er1
       
 16435   ac_status=$?
       
 16436   grep -v '^ *+' conftest.er1 >conftest.err
       
 16437   rm -f conftest.er1
       
 16438   cat conftest.err >&5
       
 16439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16440   (exit $ac_status); } && {
       
 16441 	 test -z "$ac_c_werror_flag" ||
       
 16442 	 test ! -s conftest.err
       
 16443        } && test -s conftest$ac_exeext &&
       
 16444        $as_test_x conftest$ac_exeext; then
       
 16445   eval "$as_ac_var=yes"
       
 16446 else
       
 16447   echo "$as_me: failed program was:" >&5
       
 16448 sed 's/^/| /' conftest.$ac_ext >&5
       
 16449 
       
 16450 	eval "$as_ac_var=no"
       
 16451 fi
       
 16452 
       
 16453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16454       conftest$ac_exeext conftest.$ac_ext
       
 16455 fi
       
 16456 ac_res=`eval echo '${'$as_ac_var'}'`
       
 16457 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 16458 echo "${ECHO_T}$ac_res" >&6; }
       
 16459 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 16460   cat >>confdefs.h <<_ACEOF
       
 16461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 16462 _ACEOF
       
 16463 
       
 16464 else
       
 16465   case " $LIBOBJS " in
       
 16466   *" $ac_func.$ac_objext "* ) ;;
       
 16467   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
       
 16468  ;;
       
 16469 esac
       
 16470 
       
 16471 fi
       
 16472 done
       
 16473 
       
 16474 
       
 16475 
       
 16476 for ac_func in getpgrp
       
 16477 do
       
 16478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 16479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 16480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 16481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 16482   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16483 else
       
 16484   cat >conftest.$ac_ext <<_ACEOF
       
 16485 /* confdefs.h.  */
       
 16486 _ACEOF
       
 16487 cat confdefs.h >>conftest.$ac_ext
       
 16488 cat >>conftest.$ac_ext <<_ACEOF
       
 16489 /* end confdefs.h.  */
       
 16490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 16491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 16492 #define $ac_func innocuous_$ac_func
       
 16493 
       
 16494 /* System header to define __stub macros and hopefully few prototypes,
       
 16495     which can conflict with char $ac_func (); below.
       
 16496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 16497     <limits.h> exists even on freestanding compilers.  */
       
 16498 
       
 16499 #ifdef __STDC__
       
 16500 # include <limits.h>
       
 16501 #else
       
 16502 # include <assert.h>
       
 16503 #endif
       
 16504 
       
 16505 #undef $ac_func
       
 16506 
       
 16507 /* Override any GCC internal prototype to avoid an error.
       
 16508    Use char because int might match the return type of a GCC
       
 16509    builtin and then its argument prototype would still apply.  */
       
 16510 #ifdef __cplusplus
       
 16511 extern "C"
       
 16512 #endif
       
 16513 char $ac_func ();
       
 16514 /* The GNU C library defines this for functions which it implements
       
 16515     to always fail with ENOSYS.  Some functions are actually named
       
 16516     something starting with __ and the normal name is an alias.  */
       
 16517 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 16518 choke me
       
 16519 #endif
       
 16520 
       
 16521 int
       
 16522 main ()
       
 16523 {
       
 16524 return $ac_func ();
       
 16525   ;
       
 16526   return 0;
       
 16527 }
       
 16528 _ACEOF
       
 16529 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16530 if { (ac_try="$ac_link"
       
 16531 case "(($ac_try" in
       
 16532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16533   *) ac_try_echo=$ac_try;;
       
 16534 esac
       
 16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16536   (eval "$ac_link") 2>conftest.er1
       
 16537   ac_status=$?
       
 16538   grep -v '^ *+' conftest.er1 >conftest.err
       
 16539   rm -f conftest.er1
       
 16540   cat conftest.err >&5
       
 16541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16542   (exit $ac_status); } && {
       
 16543 	 test -z "$ac_c_werror_flag" ||
       
 16544 	 test ! -s conftest.err
       
 16545        } && test -s conftest$ac_exeext &&
       
 16546        $as_test_x conftest$ac_exeext; then
       
 16547   eval "$as_ac_var=yes"
       
 16548 else
       
 16549   echo "$as_me: failed program was:" >&5
       
 16550 sed 's/^/| /' conftest.$ac_ext >&5
       
 16551 
       
 16552 	eval "$as_ac_var=no"
       
 16553 fi
       
 16554 
       
 16555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16556       conftest$ac_exeext conftest.$ac_ext
       
 16557 fi
       
 16558 ac_res=`eval echo '${'$as_ac_var'}'`
       
 16559 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 16560 echo "${ECHO_T}$ac_res" >&6; }
       
 16561 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 16562   cat >>confdefs.h <<_ACEOF
       
 16563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 16564 _ACEOF
       
 16565  cat >conftest.$ac_ext <<_ACEOF
       
 16566 /* confdefs.h.  */
       
 16567 _ACEOF
       
 16568 cat confdefs.h >>conftest.$ac_ext
       
 16569 cat >>conftest.$ac_ext <<_ACEOF
       
 16570 /* end confdefs.h.  */
       
 16571 #include <unistd.h>
       
 16572 int
       
 16573 main ()
       
 16574 {
       
 16575 getpgrp(0);
       
 16576   ;
       
 16577   return 0;
       
 16578 }
       
 16579 _ACEOF
       
 16580 rm -f conftest.$ac_objext
       
 16581 if { (ac_try="$ac_compile"
       
 16582 case "(($ac_try" in
       
 16583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16584   *) ac_try_echo=$ac_try;;
       
 16585 esac
       
 16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16587   (eval "$ac_compile") 2>conftest.er1
       
 16588   ac_status=$?
       
 16589   grep -v '^ *+' conftest.er1 >conftest.err
       
 16590   rm -f conftest.er1
       
 16591   cat conftest.err >&5
       
 16592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16593   (exit $ac_status); } && {
       
 16594 	 test -z "$ac_c_werror_flag" ||
       
 16595 	 test ! -s conftest.err
       
 16596        } && test -s conftest.$ac_objext; then
       
 16597 
       
 16598 cat >>confdefs.h <<\_ACEOF
       
 16599 #define GETPGRP_HAVE_ARG 1
       
 16600 _ACEOF
       
 16601 
       
 16602 
       
 16603 else
       
 16604   echo "$as_me: failed program was:" >&5
       
 16605 sed 's/^/| /' conftest.$ac_ext >&5
       
 16606 
       
 16607 
       
 16608 fi
       
 16609 
       
 16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 16611 
       
 16612 fi
       
 16613 done
       
 16614 
       
 16615 
       
 16616 for ac_func in setpgrp
       
 16617 do
       
 16618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 16619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 16620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 16621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 16622   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16623 else
       
 16624   cat >conftest.$ac_ext <<_ACEOF
       
 16625 /* confdefs.h.  */
       
 16626 _ACEOF
       
 16627 cat confdefs.h >>conftest.$ac_ext
       
 16628 cat >>conftest.$ac_ext <<_ACEOF
       
 16629 /* end confdefs.h.  */
       
 16630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 16631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 16632 #define $ac_func innocuous_$ac_func
       
 16633 
       
 16634 /* System header to define __stub macros and hopefully few prototypes,
       
 16635     which can conflict with char $ac_func (); below.
       
 16636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 16637     <limits.h> exists even on freestanding compilers.  */
       
 16638 
       
 16639 #ifdef __STDC__
       
 16640 # include <limits.h>
       
 16641 #else
       
 16642 # include <assert.h>
       
 16643 #endif
       
 16644 
       
 16645 #undef $ac_func
       
 16646 
       
 16647 /* Override any GCC internal prototype to avoid an error.
       
 16648    Use char because int might match the return type of a GCC
       
 16649    builtin and then its argument prototype would still apply.  */
       
 16650 #ifdef __cplusplus
       
 16651 extern "C"
       
 16652 #endif
       
 16653 char $ac_func ();
       
 16654 /* The GNU C library defines this for functions which it implements
       
 16655     to always fail with ENOSYS.  Some functions are actually named
       
 16656     something starting with __ and the normal name is an alias.  */
       
 16657 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 16658 choke me
       
 16659 #endif
       
 16660 
       
 16661 int
       
 16662 main ()
       
 16663 {
       
 16664 return $ac_func ();
       
 16665   ;
       
 16666   return 0;
       
 16667 }
       
 16668 _ACEOF
       
 16669 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16670 if { (ac_try="$ac_link"
       
 16671 case "(($ac_try" in
       
 16672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16673   *) ac_try_echo=$ac_try;;
       
 16674 esac
       
 16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16676   (eval "$ac_link") 2>conftest.er1
       
 16677   ac_status=$?
       
 16678   grep -v '^ *+' conftest.er1 >conftest.err
       
 16679   rm -f conftest.er1
       
 16680   cat conftest.err >&5
       
 16681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16682   (exit $ac_status); } && {
       
 16683 	 test -z "$ac_c_werror_flag" ||
       
 16684 	 test ! -s conftest.err
       
 16685        } && test -s conftest$ac_exeext &&
       
 16686        $as_test_x conftest$ac_exeext; then
       
 16687   eval "$as_ac_var=yes"
       
 16688 else
       
 16689   echo "$as_me: failed program was:" >&5
       
 16690 sed 's/^/| /' conftest.$ac_ext >&5
       
 16691 
       
 16692 	eval "$as_ac_var=no"
       
 16693 fi
       
 16694 
       
 16695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16696       conftest$ac_exeext conftest.$ac_ext
       
 16697 fi
       
 16698 ac_res=`eval echo '${'$as_ac_var'}'`
       
 16699 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 16700 echo "${ECHO_T}$ac_res" >&6; }
       
 16701 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 16702   cat >>confdefs.h <<_ACEOF
       
 16703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 16704 _ACEOF
       
 16705  cat >conftest.$ac_ext <<_ACEOF
       
 16706 /* confdefs.h.  */
       
 16707 _ACEOF
       
 16708 cat confdefs.h >>conftest.$ac_ext
       
 16709 cat >>conftest.$ac_ext <<_ACEOF
       
 16710 /* end confdefs.h.  */
       
 16711 #include <unistd.h>
       
 16712 int
       
 16713 main ()
       
 16714 {
       
 16715 setpgrp(0,0);
       
 16716   ;
       
 16717   return 0;
       
 16718 }
       
 16719 _ACEOF
       
 16720 rm -f conftest.$ac_objext
       
 16721 if { (ac_try="$ac_compile"
       
 16722 case "(($ac_try" in
       
 16723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16724   *) ac_try_echo=$ac_try;;
       
 16725 esac
       
 16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16727   (eval "$ac_compile") 2>conftest.er1
       
 16728   ac_status=$?
       
 16729   grep -v '^ *+' conftest.er1 >conftest.err
       
 16730   rm -f conftest.er1
       
 16731   cat conftest.err >&5
       
 16732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16733   (exit $ac_status); } && {
       
 16734 	 test -z "$ac_c_werror_flag" ||
       
 16735 	 test ! -s conftest.err
       
 16736        } && test -s conftest.$ac_objext; then
       
 16737 
       
 16738 cat >>confdefs.h <<\_ACEOF
       
 16739 #define SETPGRP_HAVE_ARG 1
       
 16740 _ACEOF
       
 16741 
       
 16742 
       
 16743 else
       
 16744   echo "$as_me: failed program was:" >&5
       
 16745 sed 's/^/| /' conftest.$ac_ext >&5
       
 16746 
       
 16747 
       
 16748 fi
       
 16749 
       
 16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 16751 
       
 16752 fi
       
 16753 done
       
 16754 
       
 16755 
       
 16756 for ac_func in gettimeofday
       
 16757 do
       
 16758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 16759 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 16760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 16761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 16762   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16763 else
       
 16764   cat >conftest.$ac_ext <<_ACEOF
       
 16765 /* confdefs.h.  */
       
 16766 _ACEOF
       
 16767 cat confdefs.h >>conftest.$ac_ext
       
 16768 cat >>conftest.$ac_ext <<_ACEOF
       
 16769 /* end confdefs.h.  */
       
 16770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 16771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 16772 #define $ac_func innocuous_$ac_func
       
 16773 
       
 16774 /* System header to define __stub macros and hopefully few prototypes,
       
 16775     which can conflict with char $ac_func (); below.
       
 16776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 16777     <limits.h> exists even on freestanding compilers.  */
       
 16778 
       
 16779 #ifdef __STDC__
       
 16780 # include <limits.h>
       
 16781 #else
       
 16782 # include <assert.h>
       
 16783 #endif
       
 16784 
       
 16785 #undef $ac_func
       
 16786 
       
 16787 /* Override any GCC internal prototype to avoid an error.
       
 16788    Use char because int might match the return type of a GCC
       
 16789    builtin and then its argument prototype would still apply.  */
       
 16790 #ifdef __cplusplus
       
 16791 extern "C"
       
 16792 #endif
       
 16793 char $ac_func ();
       
 16794 /* The GNU C library defines this for functions which it implements
       
 16795     to always fail with ENOSYS.  Some functions are actually named
       
 16796     something starting with __ and the normal name is an alias.  */
       
 16797 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 16798 choke me
       
 16799 #endif
       
 16800 
       
 16801 int
       
 16802 main ()
       
 16803 {
       
 16804 return $ac_func ();
       
 16805   ;
       
 16806   return 0;
       
 16807 }
       
 16808 _ACEOF
       
 16809 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16810 if { (ac_try="$ac_link"
       
 16811 case "(($ac_try" in
       
 16812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16813   *) ac_try_echo=$ac_try;;
       
 16814 esac
       
 16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16816   (eval "$ac_link") 2>conftest.er1
       
 16817   ac_status=$?
       
 16818   grep -v '^ *+' conftest.er1 >conftest.err
       
 16819   rm -f conftest.er1
       
 16820   cat conftest.err >&5
       
 16821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16822   (exit $ac_status); } && {
       
 16823 	 test -z "$ac_c_werror_flag" ||
       
 16824 	 test ! -s conftest.err
       
 16825        } && test -s conftest$ac_exeext &&
       
 16826        $as_test_x conftest$ac_exeext; then
       
 16827   eval "$as_ac_var=yes"
       
 16828 else
       
 16829   echo "$as_me: failed program was:" >&5
       
 16830 sed 's/^/| /' conftest.$ac_ext >&5
       
 16831 
       
 16832 	eval "$as_ac_var=no"
       
 16833 fi
       
 16834 
       
 16835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16836       conftest$ac_exeext conftest.$ac_ext
       
 16837 fi
       
 16838 ac_res=`eval echo '${'$as_ac_var'}'`
       
 16839 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 16840 echo "${ECHO_T}$ac_res" >&6; }
       
 16841 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 16842   cat >>confdefs.h <<_ACEOF
       
 16843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 16844 _ACEOF
       
 16845  cat >conftest.$ac_ext <<_ACEOF
       
 16846 /* confdefs.h.  */
       
 16847 _ACEOF
       
 16848 cat confdefs.h >>conftest.$ac_ext
       
 16849 cat >>conftest.$ac_ext <<_ACEOF
       
 16850 /* end confdefs.h.  */
       
 16851 #include <sys/time.h>
       
 16852 int
       
 16853 main ()
       
 16854 {
       
 16855 gettimeofday((struct timeval*)0,(struct timezone*)0);
       
 16856   ;
       
 16857   return 0;
       
 16858 }
       
 16859 _ACEOF
       
 16860 rm -f conftest.$ac_objext
       
 16861 if { (ac_try="$ac_compile"
       
 16862 case "(($ac_try" in
       
 16863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16864   *) ac_try_echo=$ac_try;;
       
 16865 esac
       
 16866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16867   (eval "$ac_compile") 2>conftest.er1
       
 16868   ac_status=$?
       
 16869   grep -v '^ *+' conftest.er1 >conftest.err
       
 16870   rm -f conftest.er1
       
 16871   cat conftest.err >&5
       
 16872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16873   (exit $ac_status); } && {
       
 16874 	 test -z "$ac_c_werror_flag" ||
       
 16875 	 test ! -s conftest.err
       
 16876        } && test -s conftest.$ac_objext; then
       
 16877   :
       
 16878 else
       
 16879   echo "$as_me: failed program was:" >&5
       
 16880 sed 's/^/| /' conftest.$ac_ext >&5
       
 16881 
       
 16882 
       
 16883 cat >>confdefs.h <<\_ACEOF
       
 16884 #define GETTIMEOFDAY_NO_TZ 1
       
 16885 _ACEOF
       
 16886 
       
 16887 
       
 16888 fi
       
 16889 
       
 16890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 16891 
       
 16892 fi
       
 16893 done
       
 16894 
       
 16895 
       
 16896 { echo "$as_me:$LINENO: checking for major" >&5
       
 16897 echo $ECHO_N "checking for major... $ECHO_C" >&6; }
       
 16898 cat >conftest.$ac_ext <<_ACEOF
       
 16899 /* confdefs.h.  */
       
 16900 _ACEOF
       
 16901 cat confdefs.h >>conftest.$ac_ext
       
 16902 cat >>conftest.$ac_ext <<_ACEOF
       
 16903 /* end confdefs.h.  */
       
 16904 
       
 16905 #if defined(MAJOR_IN_MKDEV)
       
 16906 #include <sys/mkdev.h>
       
 16907 #elif defined(MAJOR_IN_SYSMACROS)
       
 16908 #include <sys/sysmacros.h>
       
 16909 #else
       
 16910 #include <sys/types.h>
       
 16911 #endif
       
 16912 
       
 16913 int
       
 16914 main ()
       
 16915 {
       
 16916 
       
 16917   makedev(major(0),minor(0));
       
 16918 
       
 16919   ;
       
 16920   return 0;
       
 16921 }
       
 16922 _ACEOF
       
 16923 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16924 if { (ac_try="$ac_link"
       
 16925 case "(($ac_try" in
       
 16926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16927   *) ac_try_echo=$ac_try;;
       
 16928 esac
       
 16929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16930   (eval "$ac_link") 2>conftest.er1
       
 16931   ac_status=$?
       
 16932   grep -v '^ *+' conftest.er1 >conftest.err
       
 16933   rm -f conftest.er1
       
 16934   cat conftest.err >&5
       
 16935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 16936   (exit $ac_status); } && {
       
 16937 	 test -z "$ac_c_werror_flag" ||
       
 16938 	 test ! -s conftest.err
       
 16939        } && test -s conftest$ac_exeext &&
       
 16940        $as_test_x conftest$ac_exeext; then
       
 16941 
       
 16942 
       
 16943 cat >>confdefs.h <<\_ACEOF
       
 16944 #define HAVE_DEVICE_MACROS 1
       
 16945 _ACEOF
       
 16946 
       
 16947   { echo "$as_me:$LINENO: result: yes" >&5
       
 16948 echo "${ECHO_T}yes" >&6; }
       
 16949 
       
 16950 else
       
 16951   echo "$as_me: failed program was:" >&5
       
 16952 sed 's/^/| /' conftest.$ac_ext >&5
       
 16953 
       
 16954 
       
 16955   { echo "$as_me:$LINENO: result: no" >&5
       
 16956 echo "${ECHO_T}no" >&6; }
       
 16957 
       
 16958 fi
       
 16959 
       
 16960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 16961       conftest$ac_exeext conftest.$ac_ext
       
 16962 
       
 16963 # On OSF/1 V5.1, getaddrinfo is available, but a define
       
 16964 # for [no]getaddrinfo in netdb.h.
       
 16965 { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
       
 16966 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
       
 16967 cat >conftest.$ac_ext <<_ACEOF
       
 16968 /* confdefs.h.  */
       
 16969 _ACEOF
       
 16970 cat confdefs.h >>conftest.$ac_ext
       
 16971 cat >>conftest.$ac_ext <<_ACEOF
       
 16972 /* end confdefs.h.  */
       
 16973 
       
 16974 #include <sys/types.h>
       
 16975 #include <sys/socket.h>
       
 16976 #include <netdb.h>
       
 16977 #include <stdio.h>
       
 16978 
       
 16979 int
       
 16980 main ()
       
 16981 {
       
 16982 
       
 16983 getaddrinfo(NULL, NULL, NULL, NULL);
       
 16984 
       
 16985   ;
       
 16986   return 0;
       
 16987 }
       
 16988 _ACEOF
       
 16989 rm -f conftest.$ac_objext conftest$ac_exeext
       
 16990 if { (ac_try="$ac_link"
       
 16991 case "(($ac_try" in
       
 16992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 16993   *) ac_try_echo=$ac_try;;
       
 16994 esac
       
 16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 16996   (eval "$ac_link") 2>conftest.er1
       
 16997   ac_status=$?
       
 16998   grep -v '^ *+' conftest.er1 >conftest.err
       
 16999   rm -f conftest.er1
       
 17000   cat conftest.err >&5
       
 17001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17002   (exit $ac_status); } && {
       
 17003 	 test -z "$ac_c_werror_flag" ||
       
 17004 	 test ! -s conftest.err
       
 17005        } && test -s conftest$ac_exeext &&
       
 17006        $as_test_x conftest$ac_exeext; then
       
 17007 
       
 17008 { echo "$as_me:$LINENO: result: yes" >&5
       
 17009 echo "${ECHO_T}yes" >&6; }
       
 17010 { echo "$as_me:$LINENO: checking getaddrinfo bug" >&5
       
 17011 echo $ECHO_N "checking getaddrinfo bug... $ECHO_C" >&6; }
       
 17012 if test "$cross_compiling" = yes; then
       
 17013   { echo "$as_me:$LINENO: result: buggy" >&5
       
 17014 echo "${ECHO_T}buggy" >&6; }
       
 17015 buggygetaddrinfo=yes
       
 17016 else
       
 17017   cat >conftest.$ac_ext <<_ACEOF
       
 17018 /* confdefs.h.  */
       
 17019 _ACEOF
       
 17020 cat confdefs.h >>conftest.$ac_ext
       
 17021 cat >>conftest.$ac_ext <<_ACEOF
       
 17022 /* end confdefs.h.  */
       
 17023 
       
 17024 #include <sys/types.h>
       
 17025 #include <netdb.h>
       
 17026 #include <string.h>
       
 17027 #include <sys/socket.h>
       
 17028 #include <netinet/in.h>
       
 17029 
       
 17030 main()
       
 17031 {
       
 17032   int passive, gaierr, inet4 = 0, inet6 = 0;
       
 17033   struct addrinfo hints, *ai, *aitop;
       
 17034   char straddr[INET6_ADDRSTRLEN], strport[16];
       
 17035 
       
 17036   for (passive = 0; passive <= 1; passive++) {
       
 17037     memset(&hints, 0, sizeof(hints));
       
 17038     hints.ai_family = AF_UNSPEC;
       
 17039     hints.ai_flags = passive ? AI_PASSIVE : 0;
       
 17040     hints.ai_socktype = SOCK_STREAM;
       
 17041     hints.ai_protocol = IPPROTO_TCP;
       
 17042     if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
       
 17043       (void)gai_strerror(gaierr);
       
 17044       goto bad;
       
 17045     }
       
 17046     for (ai = aitop; ai; ai = ai->ai_next) {
       
 17047       if (ai->ai_addr == NULL ||
       
 17048           ai->ai_addrlen == 0 ||
       
 17049           getnameinfo(ai->ai_addr, ai->ai_addrlen,
       
 17050                       straddr, sizeof(straddr), strport, sizeof(strport),
       
 17051                       NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
       
 17052         goto bad;
       
 17053       }
       
 17054       switch (ai->ai_family) {
       
 17055       case AF_INET:
       
 17056         if (strcmp(strport, "54321") != 0) {
       
 17057           goto bad;
       
 17058         }
       
 17059         if (passive) {
       
 17060           if (strcmp(straddr, "0.0.0.0") != 0) {
       
 17061             goto bad;
       
 17062           }
       
 17063         } else {
       
 17064           if (strcmp(straddr, "127.0.0.1") != 0) {
       
 17065             goto bad;
       
 17066           }
       
 17067         }
       
 17068         inet4++;
       
 17069         break;
       
 17070       case AF_INET6:
       
 17071         if (strcmp(strport, "54321") != 0) {
       
 17072           goto bad;
       
 17073         }
       
 17074         if (passive) {
       
 17075           if (strcmp(straddr, "::") != 0) {
       
 17076             goto bad;
       
 17077           }
       
 17078         } else {
       
 17079           if (strcmp(straddr, "::1") != 0) {
       
 17080             goto bad;
       
 17081           }
       
 17082         }
       
 17083         inet6++;
       
 17084         break;
       
 17085       case AF_UNSPEC:
       
 17086         goto bad;
       
 17087         break;
       
 17088       default:
       
 17089         /* another family support? */
       
 17090         break;
       
 17091       }
       
 17092     }
       
 17093   }
       
 17094 
       
 17095   if (!(inet4 == 0 || inet4 == 2))
       
 17096     goto bad;
       
 17097   if (!(inet6 == 0 || inet6 == 2))
       
 17098     goto bad;
       
 17099 
       
 17100   if (aitop)
       
 17101     freeaddrinfo(aitop);
       
 17102   exit(0);
       
 17103 
       
 17104  bad:
       
 17105   if (aitop)
       
 17106     freeaddrinfo(aitop);
       
 17107   exit(1);
       
 17108 }
       
 17109 
       
 17110 _ACEOF
       
 17111 rm -f conftest$ac_exeext
       
 17112 if { (ac_try="$ac_link"
       
 17113 case "(($ac_try" in
       
 17114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17115   *) ac_try_echo=$ac_try;;
       
 17116 esac
       
 17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17118   (eval "$ac_link") 2>&5
       
 17119   ac_status=$?
       
 17120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17121   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 17122   { (case "(($ac_try" in
       
 17123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17124   *) ac_try_echo=$ac_try;;
       
 17125 esac
       
 17126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17127   (eval "$ac_try") 2>&5
       
 17128   ac_status=$?
       
 17129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17130   (exit $ac_status); }; }; then
       
 17131   { echo "$as_me:$LINENO: result: good" >&5
       
 17132 echo "${ECHO_T}good" >&6; }
       
 17133 buggygetaddrinfo=no
       
 17134 else
       
 17135   echo "$as_me: program exited with status $ac_status" >&5
       
 17136 echo "$as_me: failed program was:" >&5
       
 17137 sed 's/^/| /' conftest.$ac_ext >&5
       
 17138 
       
 17139 ( exit $ac_status )
       
 17140 { echo "$as_me:$LINENO: result: buggy" >&5
       
 17141 echo "${ECHO_T}buggy" >&6; }
       
 17142 buggygetaddrinfo=yes
       
 17143 fi
       
 17144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 17145 fi
       
 17146 
       
 17147 
       
 17148 else
       
 17149   echo "$as_me: failed program was:" >&5
       
 17150 sed 's/^/| /' conftest.$ac_ext >&5
       
 17151 
       
 17152 
       
 17153 { echo "$as_me:$LINENO: result: no" >&5
       
 17154 echo "${ECHO_T}no" >&6; }
       
 17155 buggygetaddrinfo=yes
       
 17156 
       
 17157 fi
       
 17158 
       
 17159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 17160       conftest$ac_exeext conftest.$ac_ext
       
 17161 
       
 17162 if test "$buggygetaddrinfo" = "yes"; then
       
 17163 	if test "$ipv6" = "yes"; then
       
 17164 		echo 'Fatal: You must get working getaddrinfo() function.'
       
 17165 		echo '       or you can specify "--disable-ipv6"'.
       
 17166 		exit 1
       
 17167 	fi
       
 17168 else
       
 17169 
       
 17170 cat >>confdefs.h <<\_ACEOF
       
 17171 #define HAVE_GETADDRINFO 1
       
 17172 _ACEOF
       
 17173 
       
 17174 fi
       
 17175 
       
 17176 for ac_func in getnameinfo
       
 17177 do
       
 17178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 17179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 17180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 17181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 17182   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17183 else
       
 17184   cat >conftest.$ac_ext <<_ACEOF
       
 17185 /* confdefs.h.  */
       
 17186 _ACEOF
       
 17187 cat confdefs.h >>conftest.$ac_ext
       
 17188 cat >>conftest.$ac_ext <<_ACEOF
       
 17189 /* end confdefs.h.  */
       
 17190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 17191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 17192 #define $ac_func innocuous_$ac_func
       
 17193 
       
 17194 /* System header to define __stub macros and hopefully few prototypes,
       
 17195     which can conflict with char $ac_func (); below.
       
 17196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 17197     <limits.h> exists even on freestanding compilers.  */
       
 17198 
       
 17199 #ifdef __STDC__
       
 17200 # include <limits.h>
       
 17201 #else
       
 17202 # include <assert.h>
       
 17203 #endif
       
 17204 
       
 17205 #undef $ac_func
       
 17206 
       
 17207 /* Override any GCC internal prototype to avoid an error.
       
 17208    Use char because int might match the return type of a GCC
       
 17209    builtin and then its argument prototype would still apply.  */
       
 17210 #ifdef __cplusplus
       
 17211 extern "C"
       
 17212 #endif
       
 17213 char $ac_func ();
       
 17214 /* The GNU C library defines this for functions which it implements
       
 17215     to always fail with ENOSYS.  Some functions are actually named
       
 17216     something starting with __ and the normal name is an alias.  */
       
 17217 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 17218 choke me
       
 17219 #endif
       
 17220 
       
 17221 int
       
 17222 main ()
       
 17223 {
       
 17224 return $ac_func ();
       
 17225   ;
       
 17226   return 0;
       
 17227 }
       
 17228 _ACEOF
       
 17229 rm -f conftest.$ac_objext conftest$ac_exeext
       
 17230 if { (ac_try="$ac_link"
       
 17231 case "(($ac_try" in
       
 17232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17233   *) ac_try_echo=$ac_try;;
       
 17234 esac
       
 17235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17236   (eval "$ac_link") 2>conftest.er1
       
 17237   ac_status=$?
       
 17238   grep -v '^ *+' conftest.er1 >conftest.err
       
 17239   rm -f conftest.er1
       
 17240   cat conftest.err >&5
       
 17241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17242   (exit $ac_status); } && {
       
 17243 	 test -z "$ac_c_werror_flag" ||
       
 17244 	 test ! -s conftest.err
       
 17245        } && test -s conftest$ac_exeext &&
       
 17246        $as_test_x conftest$ac_exeext; then
       
 17247   eval "$as_ac_var=yes"
       
 17248 else
       
 17249   echo "$as_me: failed program was:" >&5
       
 17250 sed 's/^/| /' conftest.$ac_ext >&5
       
 17251 
       
 17252 	eval "$as_ac_var=no"
       
 17253 fi
       
 17254 
       
 17255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 17256       conftest$ac_exeext conftest.$ac_ext
       
 17257 fi
       
 17258 ac_res=`eval echo '${'$as_ac_var'}'`
       
 17259 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 17260 echo "${ECHO_T}$ac_res" >&6; }
       
 17261 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 17262   cat >>confdefs.h <<_ACEOF
       
 17263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 17264 _ACEOF
       
 17265 
       
 17266 fi
       
 17267 done
       
 17268 
       
 17269 
       
 17270 # checks for structures
       
 17271 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
       
 17272 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
       
 17273 if test "${ac_cv_header_time+set}" = set; then
       
 17274   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17275 else
       
 17276   cat >conftest.$ac_ext <<_ACEOF
       
 17277 /* confdefs.h.  */
       
 17278 _ACEOF
       
 17279 cat confdefs.h >>conftest.$ac_ext
       
 17280 cat >>conftest.$ac_ext <<_ACEOF
       
 17281 /* end confdefs.h.  */
       
 17282 #include <sys/types.h>
       
 17283 #include <sys/time.h>
       
 17284 #include <time.h>
       
 17285 
       
 17286 int
       
 17287 main ()
       
 17288 {
       
 17289 if ((struct tm *) 0)
       
 17290 return 0;
       
 17291   ;
       
 17292   return 0;
       
 17293 }
       
 17294 _ACEOF
       
 17295 rm -f conftest.$ac_objext
       
 17296 if { (ac_try="$ac_compile"
       
 17297 case "(($ac_try" in
       
 17298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17299   *) ac_try_echo=$ac_try;;
       
 17300 esac
       
 17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17302   (eval "$ac_compile") 2>conftest.er1
       
 17303   ac_status=$?
       
 17304   grep -v '^ *+' conftest.er1 >conftest.err
       
 17305   rm -f conftest.er1
       
 17306   cat conftest.err >&5
       
 17307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17308   (exit $ac_status); } && {
       
 17309 	 test -z "$ac_c_werror_flag" ||
       
 17310 	 test ! -s conftest.err
       
 17311        } && test -s conftest.$ac_objext; then
       
 17312   ac_cv_header_time=yes
       
 17313 else
       
 17314   echo "$as_me: failed program was:" >&5
       
 17315 sed 's/^/| /' conftest.$ac_ext >&5
       
 17316 
       
 17317 	ac_cv_header_time=no
       
 17318 fi
       
 17319 
       
 17320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17321 fi
       
 17322 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
       
 17323 echo "${ECHO_T}$ac_cv_header_time" >&6; }
       
 17324 if test $ac_cv_header_time = yes; then
       
 17325 
       
 17326 cat >>confdefs.h <<\_ACEOF
       
 17327 #define TIME_WITH_SYS_TIME 1
       
 17328 _ACEOF
       
 17329 
       
 17330 fi
       
 17331 
       
 17332 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
       
 17333 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
       
 17334 if test "${ac_cv_struct_tm+set}" = set; then
       
 17335   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17336 else
       
 17337   cat >conftest.$ac_ext <<_ACEOF
       
 17338 /* confdefs.h.  */
       
 17339 _ACEOF
       
 17340 cat confdefs.h >>conftest.$ac_ext
       
 17341 cat >>conftest.$ac_ext <<_ACEOF
       
 17342 /* end confdefs.h.  */
       
 17343 #include <sys/types.h>
       
 17344 #include <time.h>
       
 17345 
       
 17346 int
       
 17347 main ()
       
 17348 {
       
 17349 struct tm tm;
       
 17350 				     int *p = &tm.tm_sec;
       
 17351  				     return !p;
       
 17352   ;
       
 17353   return 0;
       
 17354 }
       
 17355 _ACEOF
       
 17356 rm -f conftest.$ac_objext
       
 17357 if { (ac_try="$ac_compile"
       
 17358 case "(($ac_try" in
       
 17359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17360   *) ac_try_echo=$ac_try;;
       
 17361 esac
       
 17362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17363   (eval "$ac_compile") 2>conftest.er1
       
 17364   ac_status=$?
       
 17365   grep -v '^ *+' conftest.er1 >conftest.err
       
 17366   rm -f conftest.er1
       
 17367   cat conftest.err >&5
       
 17368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17369   (exit $ac_status); } && {
       
 17370 	 test -z "$ac_c_werror_flag" ||
       
 17371 	 test ! -s conftest.err
       
 17372        } && test -s conftest.$ac_objext; then
       
 17373   ac_cv_struct_tm=time.h
       
 17374 else
       
 17375   echo "$as_me: failed program was:" >&5
       
 17376 sed 's/^/| /' conftest.$ac_ext >&5
       
 17377 
       
 17378 	ac_cv_struct_tm=sys/time.h
       
 17379 fi
       
 17380 
       
 17381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17382 fi
       
 17383 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
       
 17384 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
       
 17385 if test $ac_cv_struct_tm = sys/time.h; then
       
 17386 
       
 17387 cat >>confdefs.h <<\_ACEOF
       
 17388 #define TM_IN_SYS_TIME 1
       
 17389 _ACEOF
       
 17390 
       
 17391 fi
       
 17392 
       
 17393 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
       
 17394 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
       
 17395 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
       
 17396   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17397 else
       
 17398   cat >conftest.$ac_ext <<_ACEOF
       
 17399 /* confdefs.h.  */
       
 17400 _ACEOF
       
 17401 cat confdefs.h >>conftest.$ac_ext
       
 17402 cat >>conftest.$ac_ext <<_ACEOF
       
 17403 /* end confdefs.h.  */
       
 17404 #include <sys/types.h>
       
 17405 #include <$ac_cv_struct_tm>
       
 17406 
       
 17407 
       
 17408 int
       
 17409 main ()
       
 17410 {
       
 17411 static struct tm ac_aggr;
       
 17412 if (ac_aggr.tm_zone)
       
 17413 return 0;
       
 17414   ;
       
 17415   return 0;
       
 17416 }
       
 17417 _ACEOF
       
 17418 rm -f conftest.$ac_objext
       
 17419 if { (ac_try="$ac_compile"
       
 17420 case "(($ac_try" in
       
 17421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17422   *) ac_try_echo=$ac_try;;
       
 17423 esac
       
 17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17425   (eval "$ac_compile") 2>conftest.er1
       
 17426   ac_status=$?
       
 17427   grep -v '^ *+' conftest.er1 >conftest.err
       
 17428   rm -f conftest.er1
       
 17429   cat conftest.err >&5
       
 17430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17431   (exit $ac_status); } && {
       
 17432 	 test -z "$ac_c_werror_flag" ||
       
 17433 	 test ! -s conftest.err
       
 17434        } && test -s conftest.$ac_objext; then
       
 17435   ac_cv_member_struct_tm_tm_zone=yes
       
 17436 else
       
 17437   echo "$as_me: failed program was:" >&5
       
 17438 sed 's/^/| /' conftest.$ac_ext >&5
       
 17439 
       
 17440 	cat >conftest.$ac_ext <<_ACEOF
       
 17441 /* confdefs.h.  */
       
 17442 _ACEOF
       
 17443 cat confdefs.h >>conftest.$ac_ext
       
 17444 cat >>conftest.$ac_ext <<_ACEOF
       
 17445 /* end confdefs.h.  */
       
 17446 #include <sys/types.h>
       
 17447 #include <$ac_cv_struct_tm>
       
 17448 
       
 17449 
       
 17450 int
       
 17451 main ()
       
 17452 {
       
 17453 static struct tm ac_aggr;
       
 17454 if (sizeof ac_aggr.tm_zone)
       
 17455 return 0;
       
 17456   ;
       
 17457   return 0;
       
 17458 }
       
 17459 _ACEOF
       
 17460 rm -f conftest.$ac_objext
       
 17461 if { (ac_try="$ac_compile"
       
 17462 case "(($ac_try" in
       
 17463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17464   *) ac_try_echo=$ac_try;;
       
 17465 esac
       
 17466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17467   (eval "$ac_compile") 2>conftest.er1
       
 17468   ac_status=$?
       
 17469   grep -v '^ *+' conftest.er1 >conftest.err
       
 17470   rm -f conftest.er1
       
 17471   cat conftest.err >&5
       
 17472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17473   (exit $ac_status); } && {
       
 17474 	 test -z "$ac_c_werror_flag" ||
       
 17475 	 test ! -s conftest.err
       
 17476        } && test -s conftest.$ac_objext; then
       
 17477   ac_cv_member_struct_tm_tm_zone=yes
       
 17478 else
       
 17479   echo "$as_me: failed program was:" >&5
       
 17480 sed 's/^/| /' conftest.$ac_ext >&5
       
 17481 
       
 17482 	ac_cv_member_struct_tm_tm_zone=no
       
 17483 fi
       
 17484 
       
 17485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17486 fi
       
 17487 
       
 17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17489 fi
       
 17490 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
       
 17491 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
       
 17492 if test $ac_cv_member_struct_tm_tm_zone = yes; then
       
 17493 
       
 17494 cat >>confdefs.h <<_ACEOF
       
 17495 #define HAVE_STRUCT_TM_TM_ZONE 1
       
 17496 _ACEOF
       
 17497 
       
 17498 
       
 17499 fi
       
 17500 
       
 17501 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
       
 17502 
       
 17503 cat >>confdefs.h <<\_ACEOF
       
 17504 #define HAVE_TM_ZONE 1
       
 17505 _ACEOF
       
 17506 
       
 17507 else
       
 17508   { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
       
 17509 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
       
 17510 if test "${ac_cv_have_decl_tzname+set}" = set; then
       
 17511   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17512 else
       
 17513   cat >conftest.$ac_ext <<_ACEOF
       
 17514 /* confdefs.h.  */
       
 17515 _ACEOF
       
 17516 cat confdefs.h >>conftest.$ac_ext
       
 17517 cat >>conftest.$ac_ext <<_ACEOF
       
 17518 /* end confdefs.h.  */
       
 17519 #include <time.h>
       
 17520 
       
 17521 int
       
 17522 main ()
       
 17523 {
       
 17524 #ifndef tzname
       
 17525   (void) tzname;
       
 17526 #endif
       
 17527 
       
 17528   ;
       
 17529   return 0;
       
 17530 }
       
 17531 _ACEOF
       
 17532 rm -f conftest.$ac_objext
       
 17533 if { (ac_try="$ac_compile"
       
 17534 case "(($ac_try" in
       
 17535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17536   *) ac_try_echo=$ac_try;;
       
 17537 esac
       
 17538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17539   (eval "$ac_compile") 2>conftest.er1
       
 17540   ac_status=$?
       
 17541   grep -v '^ *+' conftest.er1 >conftest.err
       
 17542   rm -f conftest.er1
       
 17543   cat conftest.err >&5
       
 17544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17545   (exit $ac_status); } && {
       
 17546 	 test -z "$ac_c_werror_flag" ||
       
 17547 	 test ! -s conftest.err
       
 17548        } && test -s conftest.$ac_objext; then
       
 17549   ac_cv_have_decl_tzname=yes
       
 17550 else
       
 17551   echo "$as_me: failed program was:" >&5
       
 17552 sed 's/^/| /' conftest.$ac_ext >&5
       
 17553 
       
 17554 	ac_cv_have_decl_tzname=no
       
 17555 fi
       
 17556 
       
 17557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17558 fi
       
 17559 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
       
 17560 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
       
 17561 if test $ac_cv_have_decl_tzname = yes; then
       
 17562 
       
 17563 cat >>confdefs.h <<_ACEOF
       
 17564 #define HAVE_DECL_TZNAME 1
       
 17565 _ACEOF
       
 17566 
       
 17567 
       
 17568 else
       
 17569   cat >>confdefs.h <<_ACEOF
       
 17570 #define HAVE_DECL_TZNAME 0
       
 17571 _ACEOF
       
 17572 
       
 17573 
       
 17574 fi
       
 17575 
       
 17576 
       
 17577   { echo "$as_me:$LINENO: checking for tzname" >&5
       
 17578 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
       
 17579 if test "${ac_cv_var_tzname+set}" = set; then
       
 17580   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17581 else
       
 17582   cat >conftest.$ac_ext <<_ACEOF
       
 17583 /* confdefs.h.  */
       
 17584 _ACEOF
       
 17585 cat confdefs.h >>conftest.$ac_ext
       
 17586 cat >>conftest.$ac_ext <<_ACEOF
       
 17587 /* end confdefs.h.  */
       
 17588 #include <time.h>
       
 17589 #if !HAVE_DECL_TZNAME
       
 17590 extern char *tzname[];
       
 17591 #endif
       
 17592 
       
 17593 int
       
 17594 main ()
       
 17595 {
       
 17596 return tzname[0][0];
       
 17597   ;
       
 17598   return 0;
       
 17599 }
       
 17600 _ACEOF
       
 17601 rm -f conftest.$ac_objext conftest$ac_exeext
       
 17602 if { (ac_try="$ac_link"
       
 17603 case "(($ac_try" in
       
 17604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17605   *) ac_try_echo=$ac_try;;
       
 17606 esac
       
 17607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17608   (eval "$ac_link") 2>conftest.er1
       
 17609   ac_status=$?
       
 17610   grep -v '^ *+' conftest.er1 >conftest.err
       
 17611   rm -f conftest.er1
       
 17612   cat conftest.err >&5
       
 17613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17614   (exit $ac_status); } && {
       
 17615 	 test -z "$ac_c_werror_flag" ||
       
 17616 	 test ! -s conftest.err
       
 17617        } && test -s conftest$ac_exeext &&
       
 17618        $as_test_x conftest$ac_exeext; then
       
 17619   ac_cv_var_tzname=yes
       
 17620 else
       
 17621   echo "$as_me: failed program was:" >&5
       
 17622 sed 's/^/| /' conftest.$ac_ext >&5
       
 17623 
       
 17624 	ac_cv_var_tzname=no
       
 17625 fi
       
 17626 
       
 17627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 17628       conftest$ac_exeext conftest.$ac_ext
       
 17629 fi
       
 17630 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
       
 17631 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
       
 17632   if test $ac_cv_var_tzname = yes; then
       
 17633 
       
 17634 cat >>confdefs.h <<\_ACEOF
       
 17635 #define HAVE_TZNAME 1
       
 17636 _ACEOF
       
 17637 
       
 17638   fi
       
 17639 fi
       
 17640 
       
 17641 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
       
 17642 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
       
 17643 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
       
 17644   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17645 else
       
 17646   cat >conftest.$ac_ext <<_ACEOF
       
 17647 /* confdefs.h.  */
       
 17648 _ACEOF
       
 17649 cat confdefs.h >>conftest.$ac_ext
       
 17650 cat >>conftest.$ac_ext <<_ACEOF
       
 17651 /* end confdefs.h.  */
       
 17652 $ac_includes_default
       
 17653 int
       
 17654 main ()
       
 17655 {
       
 17656 static struct stat ac_aggr;
       
 17657 if (ac_aggr.st_rdev)
       
 17658 return 0;
       
 17659   ;
       
 17660   return 0;
       
 17661 }
       
 17662 _ACEOF
       
 17663 rm -f conftest.$ac_objext
       
 17664 if { (ac_try="$ac_compile"
       
 17665 case "(($ac_try" in
       
 17666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17667   *) ac_try_echo=$ac_try;;
       
 17668 esac
       
 17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17670   (eval "$ac_compile") 2>conftest.er1
       
 17671   ac_status=$?
       
 17672   grep -v '^ *+' conftest.er1 >conftest.err
       
 17673   rm -f conftest.er1
       
 17674   cat conftest.err >&5
       
 17675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17676   (exit $ac_status); } && {
       
 17677 	 test -z "$ac_c_werror_flag" ||
       
 17678 	 test ! -s conftest.err
       
 17679        } && test -s conftest.$ac_objext; then
       
 17680   ac_cv_member_struct_stat_st_rdev=yes
       
 17681 else
       
 17682   echo "$as_me: failed program was:" >&5
       
 17683 sed 's/^/| /' conftest.$ac_ext >&5
       
 17684 
       
 17685 	cat >conftest.$ac_ext <<_ACEOF
       
 17686 /* confdefs.h.  */
       
 17687 _ACEOF
       
 17688 cat confdefs.h >>conftest.$ac_ext
       
 17689 cat >>conftest.$ac_ext <<_ACEOF
       
 17690 /* end confdefs.h.  */
       
 17691 $ac_includes_default
       
 17692 int
       
 17693 main ()
       
 17694 {
       
 17695 static struct stat ac_aggr;
       
 17696 if (sizeof ac_aggr.st_rdev)
       
 17697 return 0;
       
 17698   ;
       
 17699   return 0;
       
 17700 }
       
 17701 _ACEOF
       
 17702 rm -f conftest.$ac_objext
       
 17703 if { (ac_try="$ac_compile"
       
 17704 case "(($ac_try" in
       
 17705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17706   *) ac_try_echo=$ac_try;;
       
 17707 esac
       
 17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17709   (eval "$ac_compile") 2>conftest.er1
       
 17710   ac_status=$?
       
 17711   grep -v '^ *+' conftest.er1 >conftest.err
       
 17712   rm -f conftest.er1
       
 17713   cat conftest.err >&5
       
 17714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17715   (exit $ac_status); } && {
       
 17716 	 test -z "$ac_c_werror_flag" ||
       
 17717 	 test ! -s conftest.err
       
 17718        } && test -s conftest.$ac_objext; then
       
 17719   ac_cv_member_struct_stat_st_rdev=yes
       
 17720 else
       
 17721   echo "$as_me: failed program was:" >&5
       
 17722 sed 's/^/| /' conftest.$ac_ext >&5
       
 17723 
       
 17724 	ac_cv_member_struct_stat_st_rdev=no
       
 17725 fi
       
 17726 
       
 17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17728 fi
       
 17729 
       
 17730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17731 fi
       
 17732 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
       
 17733 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
       
 17734 if test $ac_cv_member_struct_stat_st_rdev = yes; then
       
 17735 
       
 17736 cat >>confdefs.h <<_ACEOF
       
 17737 #define HAVE_STRUCT_STAT_ST_RDEV 1
       
 17738 _ACEOF
       
 17739 
       
 17740 
       
 17741 fi
       
 17742 
       
 17743 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
       
 17744 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
       
 17745 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
       
 17746   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17747 else
       
 17748   cat >conftest.$ac_ext <<_ACEOF
       
 17749 /* confdefs.h.  */
       
 17750 _ACEOF
       
 17751 cat confdefs.h >>conftest.$ac_ext
       
 17752 cat >>conftest.$ac_ext <<_ACEOF
       
 17753 /* end confdefs.h.  */
       
 17754 $ac_includes_default
       
 17755 int
       
 17756 main ()
       
 17757 {
       
 17758 static struct stat ac_aggr;
       
 17759 if (ac_aggr.st_blksize)
       
 17760 return 0;
       
 17761   ;
       
 17762   return 0;
       
 17763 }
       
 17764 _ACEOF
       
 17765 rm -f conftest.$ac_objext
       
 17766 if { (ac_try="$ac_compile"
       
 17767 case "(($ac_try" in
       
 17768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17769   *) ac_try_echo=$ac_try;;
       
 17770 esac
       
 17771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17772   (eval "$ac_compile") 2>conftest.er1
       
 17773   ac_status=$?
       
 17774   grep -v '^ *+' conftest.er1 >conftest.err
       
 17775   rm -f conftest.er1
       
 17776   cat conftest.err >&5
       
 17777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17778   (exit $ac_status); } && {
       
 17779 	 test -z "$ac_c_werror_flag" ||
       
 17780 	 test ! -s conftest.err
       
 17781        } && test -s conftest.$ac_objext; then
       
 17782   ac_cv_member_struct_stat_st_blksize=yes
       
 17783 else
       
 17784   echo "$as_me: failed program was:" >&5
       
 17785 sed 's/^/| /' conftest.$ac_ext >&5
       
 17786 
       
 17787 	cat >conftest.$ac_ext <<_ACEOF
       
 17788 /* confdefs.h.  */
       
 17789 _ACEOF
       
 17790 cat confdefs.h >>conftest.$ac_ext
       
 17791 cat >>conftest.$ac_ext <<_ACEOF
       
 17792 /* end confdefs.h.  */
       
 17793 $ac_includes_default
       
 17794 int
       
 17795 main ()
       
 17796 {
       
 17797 static struct stat ac_aggr;
       
 17798 if (sizeof ac_aggr.st_blksize)
       
 17799 return 0;
       
 17800   ;
       
 17801   return 0;
       
 17802 }
       
 17803 _ACEOF
       
 17804 rm -f conftest.$ac_objext
       
 17805 if { (ac_try="$ac_compile"
       
 17806 case "(($ac_try" in
       
 17807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17808   *) ac_try_echo=$ac_try;;
       
 17809 esac
       
 17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17811   (eval "$ac_compile") 2>conftest.er1
       
 17812   ac_status=$?
       
 17813   grep -v '^ *+' conftest.er1 >conftest.err
       
 17814   rm -f conftest.er1
       
 17815   cat conftest.err >&5
       
 17816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17817   (exit $ac_status); } && {
       
 17818 	 test -z "$ac_c_werror_flag" ||
       
 17819 	 test ! -s conftest.err
       
 17820        } && test -s conftest.$ac_objext; then
       
 17821   ac_cv_member_struct_stat_st_blksize=yes
       
 17822 else
       
 17823   echo "$as_me: failed program was:" >&5
       
 17824 sed 's/^/| /' conftest.$ac_ext >&5
       
 17825 
       
 17826 	ac_cv_member_struct_stat_st_blksize=no
       
 17827 fi
       
 17828 
       
 17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17830 fi
       
 17831 
       
 17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17833 fi
       
 17834 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
       
 17835 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
       
 17836 if test $ac_cv_member_struct_stat_st_blksize = yes; then
       
 17837 
       
 17838 cat >>confdefs.h <<_ACEOF
       
 17839 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
       
 17840 _ACEOF
       
 17841 
       
 17842 
       
 17843 fi
       
 17844 
       
 17845 { echo "$as_me:$LINENO: checking for struct stat.st_flags" >&5
       
 17846 echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6; }
       
 17847 if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
       
 17848   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17849 else
       
 17850   cat >conftest.$ac_ext <<_ACEOF
       
 17851 /* confdefs.h.  */
       
 17852 _ACEOF
       
 17853 cat confdefs.h >>conftest.$ac_ext
       
 17854 cat >>conftest.$ac_ext <<_ACEOF
       
 17855 /* end confdefs.h.  */
       
 17856 $ac_includes_default
       
 17857 int
       
 17858 main ()
       
 17859 {
       
 17860 static struct stat ac_aggr;
       
 17861 if (ac_aggr.st_flags)
       
 17862 return 0;
       
 17863   ;
       
 17864   return 0;
       
 17865 }
       
 17866 _ACEOF
       
 17867 rm -f conftest.$ac_objext
       
 17868 if { (ac_try="$ac_compile"
       
 17869 case "(($ac_try" in
       
 17870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17871   *) ac_try_echo=$ac_try;;
       
 17872 esac
       
 17873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17874   (eval "$ac_compile") 2>conftest.er1
       
 17875   ac_status=$?
       
 17876   grep -v '^ *+' conftest.er1 >conftest.err
       
 17877   rm -f conftest.er1
       
 17878   cat conftest.err >&5
       
 17879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17880   (exit $ac_status); } && {
       
 17881 	 test -z "$ac_c_werror_flag" ||
       
 17882 	 test ! -s conftest.err
       
 17883        } && test -s conftest.$ac_objext; then
       
 17884   ac_cv_member_struct_stat_st_flags=yes
       
 17885 else
       
 17886   echo "$as_me: failed program was:" >&5
       
 17887 sed 's/^/| /' conftest.$ac_ext >&5
       
 17888 
       
 17889 	cat >conftest.$ac_ext <<_ACEOF
       
 17890 /* confdefs.h.  */
       
 17891 _ACEOF
       
 17892 cat confdefs.h >>conftest.$ac_ext
       
 17893 cat >>conftest.$ac_ext <<_ACEOF
       
 17894 /* end confdefs.h.  */
       
 17895 $ac_includes_default
       
 17896 int
       
 17897 main ()
       
 17898 {
       
 17899 static struct stat ac_aggr;
       
 17900 if (sizeof ac_aggr.st_flags)
       
 17901 return 0;
       
 17902   ;
       
 17903   return 0;
       
 17904 }
       
 17905 _ACEOF
       
 17906 rm -f conftest.$ac_objext
       
 17907 if { (ac_try="$ac_compile"
       
 17908 case "(($ac_try" in
       
 17909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17910   *) ac_try_echo=$ac_try;;
       
 17911 esac
       
 17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17913   (eval "$ac_compile") 2>conftest.er1
       
 17914   ac_status=$?
       
 17915   grep -v '^ *+' conftest.er1 >conftest.err
       
 17916   rm -f conftest.er1
       
 17917   cat conftest.err >&5
       
 17918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17919   (exit $ac_status); } && {
       
 17920 	 test -z "$ac_c_werror_flag" ||
       
 17921 	 test ! -s conftest.err
       
 17922        } && test -s conftest.$ac_objext; then
       
 17923   ac_cv_member_struct_stat_st_flags=yes
       
 17924 else
       
 17925   echo "$as_me: failed program was:" >&5
       
 17926 sed 's/^/| /' conftest.$ac_ext >&5
       
 17927 
       
 17928 	ac_cv_member_struct_stat_st_flags=no
       
 17929 fi
       
 17930 
       
 17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17932 fi
       
 17933 
       
 17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 17935 fi
       
 17936 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
       
 17937 echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6; }
       
 17938 if test $ac_cv_member_struct_stat_st_flags = yes; then
       
 17939 
       
 17940 cat >>confdefs.h <<_ACEOF
       
 17941 #define HAVE_STRUCT_STAT_ST_FLAGS 1
       
 17942 _ACEOF
       
 17943 
       
 17944 
       
 17945 fi
       
 17946 
       
 17947 { echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
       
 17948 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6; }
       
 17949 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
       
 17950   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17951 else
       
 17952   cat >conftest.$ac_ext <<_ACEOF
       
 17953 /* confdefs.h.  */
       
 17954 _ACEOF
       
 17955 cat confdefs.h >>conftest.$ac_ext
       
 17956 cat >>conftest.$ac_ext <<_ACEOF
       
 17957 /* end confdefs.h.  */
       
 17958 $ac_includes_default
       
 17959 int
       
 17960 main ()
       
 17961 {
       
 17962 static struct stat ac_aggr;
       
 17963 if (ac_aggr.st_gen)
       
 17964 return 0;
       
 17965   ;
       
 17966   return 0;
       
 17967 }
       
 17968 _ACEOF
       
 17969 rm -f conftest.$ac_objext
       
 17970 if { (ac_try="$ac_compile"
       
 17971 case "(($ac_try" in
       
 17972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17973   *) ac_try_echo=$ac_try;;
       
 17974 esac
       
 17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17976   (eval "$ac_compile") 2>conftest.er1
       
 17977   ac_status=$?
       
 17978   grep -v '^ *+' conftest.er1 >conftest.err
       
 17979   rm -f conftest.er1
       
 17980   cat conftest.err >&5
       
 17981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17982   (exit $ac_status); } && {
       
 17983 	 test -z "$ac_c_werror_flag" ||
       
 17984 	 test ! -s conftest.err
       
 17985        } && test -s conftest.$ac_objext; then
       
 17986   ac_cv_member_struct_stat_st_gen=yes
       
 17987 else
       
 17988   echo "$as_me: failed program was:" >&5
       
 17989 sed 's/^/| /' conftest.$ac_ext >&5
       
 17990 
       
 17991 	cat >conftest.$ac_ext <<_ACEOF
       
 17992 /* confdefs.h.  */
       
 17993 _ACEOF
       
 17994 cat confdefs.h >>conftest.$ac_ext
       
 17995 cat >>conftest.$ac_ext <<_ACEOF
       
 17996 /* end confdefs.h.  */
       
 17997 $ac_includes_default
       
 17998 int
       
 17999 main ()
       
 18000 {
       
 18001 static struct stat ac_aggr;
       
 18002 if (sizeof ac_aggr.st_gen)
       
 18003 return 0;
       
 18004   ;
       
 18005   return 0;
       
 18006 }
       
 18007 _ACEOF
       
 18008 rm -f conftest.$ac_objext
       
 18009 if { (ac_try="$ac_compile"
       
 18010 case "(($ac_try" in
       
 18011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18012   *) ac_try_echo=$ac_try;;
       
 18013 esac
       
 18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18015   (eval "$ac_compile") 2>conftest.er1
       
 18016   ac_status=$?
       
 18017   grep -v '^ *+' conftest.er1 >conftest.err
       
 18018   rm -f conftest.er1
       
 18019   cat conftest.err >&5
       
 18020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18021   (exit $ac_status); } && {
       
 18022 	 test -z "$ac_c_werror_flag" ||
       
 18023 	 test ! -s conftest.err
       
 18024        } && test -s conftest.$ac_objext; then
       
 18025   ac_cv_member_struct_stat_st_gen=yes
       
 18026 else
       
 18027   echo "$as_me: failed program was:" >&5
       
 18028 sed 's/^/| /' conftest.$ac_ext >&5
       
 18029 
       
 18030 	ac_cv_member_struct_stat_st_gen=no
       
 18031 fi
       
 18032 
       
 18033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18034 fi
       
 18035 
       
 18036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18037 fi
       
 18038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
       
 18039 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6; }
       
 18040 if test $ac_cv_member_struct_stat_st_gen = yes; then
       
 18041 
       
 18042 cat >>confdefs.h <<_ACEOF
       
 18043 #define HAVE_STRUCT_STAT_ST_GEN 1
       
 18044 _ACEOF
       
 18045 
       
 18046 
       
 18047 fi
       
 18048 
       
 18049 { echo "$as_me:$LINENO: checking for struct stat.st_birthtime" >&5
       
 18050 echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6; }
       
 18051 if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
       
 18052   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18053 else
       
 18054   cat >conftest.$ac_ext <<_ACEOF
       
 18055 /* confdefs.h.  */
       
 18056 _ACEOF
       
 18057 cat confdefs.h >>conftest.$ac_ext
       
 18058 cat >>conftest.$ac_ext <<_ACEOF
       
 18059 /* end confdefs.h.  */
       
 18060 $ac_includes_default
       
 18061 int
       
 18062 main ()
       
 18063 {
       
 18064 static struct stat ac_aggr;
       
 18065 if (ac_aggr.st_birthtime)
       
 18066 return 0;
       
 18067   ;
       
 18068   return 0;
       
 18069 }
       
 18070 _ACEOF
       
 18071 rm -f conftest.$ac_objext
       
 18072 if { (ac_try="$ac_compile"
       
 18073 case "(($ac_try" in
       
 18074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18075   *) ac_try_echo=$ac_try;;
       
 18076 esac
       
 18077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18078   (eval "$ac_compile") 2>conftest.er1
       
 18079   ac_status=$?
       
 18080   grep -v '^ *+' conftest.er1 >conftest.err
       
 18081   rm -f conftest.er1
       
 18082   cat conftest.err >&5
       
 18083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18084   (exit $ac_status); } && {
       
 18085 	 test -z "$ac_c_werror_flag" ||
       
 18086 	 test ! -s conftest.err
       
 18087        } && test -s conftest.$ac_objext; then
       
 18088   ac_cv_member_struct_stat_st_birthtime=yes
       
 18089 else
       
 18090   echo "$as_me: failed program was:" >&5
       
 18091 sed 's/^/| /' conftest.$ac_ext >&5
       
 18092 
       
 18093 	cat >conftest.$ac_ext <<_ACEOF
       
 18094 /* confdefs.h.  */
       
 18095 _ACEOF
       
 18096 cat confdefs.h >>conftest.$ac_ext
       
 18097 cat >>conftest.$ac_ext <<_ACEOF
       
 18098 /* end confdefs.h.  */
       
 18099 $ac_includes_default
       
 18100 int
       
 18101 main ()
       
 18102 {
       
 18103 static struct stat ac_aggr;
       
 18104 if (sizeof ac_aggr.st_birthtime)
       
 18105 return 0;
       
 18106   ;
       
 18107   return 0;
       
 18108 }
       
 18109 _ACEOF
       
 18110 rm -f conftest.$ac_objext
       
 18111 if { (ac_try="$ac_compile"
       
 18112 case "(($ac_try" in
       
 18113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18114   *) ac_try_echo=$ac_try;;
       
 18115 esac
       
 18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18117   (eval "$ac_compile") 2>conftest.er1
       
 18118   ac_status=$?
       
 18119   grep -v '^ *+' conftest.er1 >conftest.err
       
 18120   rm -f conftest.er1
       
 18121   cat conftest.err >&5
       
 18122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18123   (exit $ac_status); } && {
       
 18124 	 test -z "$ac_c_werror_flag" ||
       
 18125 	 test ! -s conftest.err
       
 18126        } && test -s conftest.$ac_objext; then
       
 18127   ac_cv_member_struct_stat_st_birthtime=yes
       
 18128 else
       
 18129   echo "$as_me: failed program was:" >&5
       
 18130 sed 's/^/| /' conftest.$ac_ext >&5
       
 18131 
       
 18132 	ac_cv_member_struct_stat_st_birthtime=no
       
 18133 fi
       
 18134 
       
 18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18136 fi
       
 18137 
       
 18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18139 fi
       
 18140 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_birthtime" >&5
       
 18141 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6; }
       
 18142 if test $ac_cv_member_struct_stat_st_birthtime = yes; then
       
 18143 
       
 18144 cat >>confdefs.h <<_ACEOF
       
 18145 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
       
 18146 _ACEOF
       
 18147 
       
 18148 
       
 18149 fi
       
 18150 
       
 18151 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
       
 18152 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
       
 18153 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
       
 18154   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18155 else
       
 18156   cat >conftest.$ac_ext <<_ACEOF
       
 18157 /* confdefs.h.  */
       
 18158 _ACEOF
       
 18159 cat confdefs.h >>conftest.$ac_ext
       
 18160 cat >>conftest.$ac_ext <<_ACEOF
       
 18161 /* end confdefs.h.  */
       
 18162 $ac_includes_default
       
 18163 int
       
 18164 main ()
       
 18165 {
       
 18166 static struct stat ac_aggr;
       
 18167 if (ac_aggr.st_blocks)
       
 18168 return 0;
       
 18169   ;
       
 18170   return 0;
       
 18171 }
       
 18172 _ACEOF
       
 18173 rm -f conftest.$ac_objext
       
 18174 if { (ac_try="$ac_compile"
       
 18175 case "(($ac_try" in
       
 18176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18177   *) ac_try_echo=$ac_try;;
       
 18178 esac
       
 18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18180   (eval "$ac_compile") 2>conftest.er1
       
 18181   ac_status=$?
       
 18182   grep -v '^ *+' conftest.er1 >conftest.err
       
 18183   rm -f conftest.er1
       
 18184   cat conftest.err >&5
       
 18185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18186   (exit $ac_status); } && {
       
 18187 	 test -z "$ac_c_werror_flag" ||
       
 18188 	 test ! -s conftest.err
       
 18189        } && test -s conftest.$ac_objext; then
       
 18190   ac_cv_member_struct_stat_st_blocks=yes
       
 18191 else
       
 18192   echo "$as_me: failed program was:" >&5
       
 18193 sed 's/^/| /' conftest.$ac_ext >&5
       
 18194 
       
 18195 	cat >conftest.$ac_ext <<_ACEOF
       
 18196 /* confdefs.h.  */
       
 18197 _ACEOF
       
 18198 cat confdefs.h >>conftest.$ac_ext
       
 18199 cat >>conftest.$ac_ext <<_ACEOF
       
 18200 /* end confdefs.h.  */
       
 18201 $ac_includes_default
       
 18202 int
       
 18203 main ()
       
 18204 {
       
 18205 static struct stat ac_aggr;
       
 18206 if (sizeof ac_aggr.st_blocks)
       
 18207 return 0;
       
 18208   ;
       
 18209   return 0;
       
 18210 }
       
 18211 _ACEOF
       
 18212 rm -f conftest.$ac_objext
       
 18213 if { (ac_try="$ac_compile"
       
 18214 case "(($ac_try" in
       
 18215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18216   *) ac_try_echo=$ac_try;;
       
 18217 esac
       
 18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18219   (eval "$ac_compile") 2>conftest.er1
       
 18220   ac_status=$?
       
 18221   grep -v '^ *+' conftest.er1 >conftest.err
       
 18222   rm -f conftest.er1
       
 18223   cat conftest.err >&5
       
 18224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18225   (exit $ac_status); } && {
       
 18226 	 test -z "$ac_c_werror_flag" ||
       
 18227 	 test ! -s conftest.err
       
 18228        } && test -s conftest.$ac_objext; then
       
 18229   ac_cv_member_struct_stat_st_blocks=yes
       
 18230 else
       
 18231   echo "$as_me: failed program was:" >&5
       
 18232 sed 's/^/| /' conftest.$ac_ext >&5
       
 18233 
       
 18234 	ac_cv_member_struct_stat_st_blocks=no
       
 18235 fi
       
 18236 
       
 18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18238 fi
       
 18239 
       
 18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18241 fi
       
 18242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
       
 18243 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
       
 18244 if test $ac_cv_member_struct_stat_st_blocks = yes; then
       
 18245 
       
 18246 cat >>confdefs.h <<_ACEOF
       
 18247 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
       
 18248 _ACEOF
       
 18249 
       
 18250 
       
 18251 cat >>confdefs.h <<\_ACEOF
       
 18252 #define HAVE_ST_BLOCKS 1
       
 18253 _ACEOF
       
 18254 
       
 18255 else
       
 18256   case " $LIBOBJS " in
       
 18257   *" fileblocks.$ac_objext "* ) ;;
       
 18258   *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext"
       
 18259  ;;
       
 18260 esac
       
 18261 
       
 18262 fi
       
 18263 
       
 18264 
       
 18265 
       
 18266 { echo "$as_me:$LINENO: checking for time.h that defines altzone" >&5
       
 18267 echo $ECHO_N "checking for time.h that defines altzone... $ECHO_C" >&6; }
       
 18268 if test "${ac_cv_header_time_altzone+set}" = set; then
       
 18269   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18270 else
       
 18271   cat >conftest.$ac_ext <<_ACEOF
       
 18272 /* confdefs.h.  */
       
 18273 _ACEOF
       
 18274 cat confdefs.h >>conftest.$ac_ext
       
 18275 cat >>conftest.$ac_ext <<_ACEOF
       
 18276 /* end confdefs.h.  */
       
 18277 #include <time.h>
       
 18278 int
       
 18279 main ()
       
 18280 {
       
 18281 return altzone;
       
 18282   ;
       
 18283   return 0;
       
 18284 }
       
 18285 _ACEOF
       
 18286 rm -f conftest.$ac_objext
       
 18287 if { (ac_try="$ac_compile"
       
 18288 case "(($ac_try" in
       
 18289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18290   *) ac_try_echo=$ac_try;;
       
 18291 esac
       
 18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18293   (eval "$ac_compile") 2>conftest.er1
       
 18294   ac_status=$?
       
 18295   grep -v '^ *+' conftest.er1 >conftest.err
       
 18296   rm -f conftest.er1
       
 18297   cat conftest.err >&5
       
 18298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18299   (exit $ac_status); } && {
       
 18300 	 test -z "$ac_c_werror_flag" ||
       
 18301 	 test ! -s conftest.err
       
 18302        } && test -s conftest.$ac_objext; then
       
 18303   ac_cv_header_time_altzone=yes
       
 18304 else
       
 18305   echo "$as_me: failed program was:" >&5
       
 18306 sed 's/^/| /' conftest.$ac_ext >&5
       
 18307 
       
 18308 	ac_cv_header_time_altzone=no
       
 18309 fi
       
 18310 
       
 18311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18312 fi
       
 18313 
       
 18314 { echo "$as_me:$LINENO: result: $ac_cv_header_time_altzone" >&5
       
 18315 echo "${ECHO_T}$ac_cv_header_time_altzone" >&6; }
       
 18316 if test $ac_cv_header_time_altzone = yes; then
       
 18317 
       
 18318 cat >>confdefs.h <<\_ACEOF
       
 18319 #define HAVE_ALTZONE 1
       
 18320 _ACEOF
       
 18321 
       
 18322 fi
       
 18323 
       
 18324 was_it_defined=no
       
 18325 { echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
       
 18326 echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6; }
       
 18327 cat >conftest.$ac_ext <<_ACEOF
       
 18328 /* confdefs.h.  */
       
 18329 _ACEOF
       
 18330 cat confdefs.h >>conftest.$ac_ext
       
 18331 cat >>conftest.$ac_ext <<_ACEOF
       
 18332 /* end confdefs.h.  */
       
 18333 
       
 18334 #include <sys/types.h>
       
 18335 #include <sys/select.h>
       
 18336 #include <sys/time.h>
       
 18337 
       
 18338 int
       
 18339 main ()
       
 18340 {
       
 18341 ;
       
 18342   ;
       
 18343   return 0;
       
 18344 }
       
 18345 _ACEOF
       
 18346 rm -f conftest.$ac_objext
       
 18347 if { (ac_try="$ac_compile"
       
 18348 case "(($ac_try" in
       
 18349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18350   *) ac_try_echo=$ac_try;;
       
 18351 esac
       
 18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18353   (eval "$ac_compile") 2>conftest.er1
       
 18354   ac_status=$?
       
 18355   grep -v '^ *+' conftest.er1 >conftest.err
       
 18356   rm -f conftest.er1
       
 18357   cat conftest.err >&5
       
 18358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18359   (exit $ac_status); } && {
       
 18360 	 test -z "$ac_c_werror_flag" ||
       
 18361 	 test ! -s conftest.err
       
 18362        } && test -s conftest.$ac_objext; then
       
 18363 
       
 18364 
       
 18365 cat >>confdefs.h <<\_ACEOF
       
 18366 #define SYS_SELECT_WITH_SYS_TIME 1
       
 18367 _ACEOF
       
 18368 
       
 18369   was_it_defined=yes
       
 18370 
       
 18371 else
       
 18372   echo "$as_me: failed program was:" >&5
       
 18373 sed 's/^/| /' conftest.$ac_ext >&5
       
 18374 
       
 18375 
       
 18376 fi
       
 18377 
       
 18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18379 { echo "$as_me:$LINENO: result: $was_it_defined" >&5
       
 18380 echo "${ECHO_T}$was_it_defined" >&6; }
       
 18381 
       
 18382 { echo "$as_me:$LINENO: checking for addrinfo" >&5
       
 18383 echo $ECHO_N "checking for addrinfo... $ECHO_C" >&6; }
       
 18384 if test "${ac_cv_struct_addrinfo+set}" = set; then
       
 18385   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18386 else
       
 18387   cat >conftest.$ac_ext <<_ACEOF
       
 18388 /* confdefs.h.  */
       
 18389 _ACEOF
       
 18390 cat confdefs.h >>conftest.$ac_ext
       
 18391 cat >>conftest.$ac_ext <<_ACEOF
       
 18392 /* end confdefs.h.  */
       
 18393 
       
 18394 #		include <netdb.h>
       
 18395 int
       
 18396 main ()
       
 18397 {
       
 18398 struct addrinfo a
       
 18399   ;
       
 18400   return 0;
       
 18401 }
       
 18402 _ACEOF
       
 18403 rm -f conftest.$ac_objext
       
 18404 if { (ac_try="$ac_compile"
       
 18405 case "(($ac_try" in
       
 18406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18407   *) ac_try_echo=$ac_try;;
       
 18408 esac
       
 18409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18410   (eval "$ac_compile") 2>conftest.er1
       
 18411   ac_status=$?
       
 18412   grep -v '^ *+' conftest.er1 >conftest.err
       
 18413   rm -f conftest.er1
       
 18414   cat conftest.err >&5
       
 18415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18416   (exit $ac_status); } && {
       
 18417 	 test -z "$ac_c_werror_flag" ||
       
 18418 	 test ! -s conftest.err
       
 18419        } && test -s conftest.$ac_objext; then
       
 18420   ac_cv_struct_addrinfo=yes
       
 18421 else
       
 18422   echo "$as_me: failed program was:" >&5
       
 18423 sed 's/^/| /' conftest.$ac_ext >&5
       
 18424 
       
 18425 	ac_cv_struct_addrinfo=no
       
 18426 fi
       
 18427 
       
 18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18429 fi
       
 18430 
       
 18431 { echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
       
 18432 echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6; }
       
 18433 if test $ac_cv_struct_addrinfo = yes; then
       
 18434 
       
 18435 cat >>confdefs.h <<\_ACEOF
       
 18436 #define HAVE_ADDRINFO 1
       
 18437 _ACEOF
       
 18438 
       
 18439 fi
       
 18440 
       
 18441 { echo "$as_me:$LINENO: checking for sockaddr_storage" >&5
       
 18442 echo $ECHO_N "checking for sockaddr_storage... $ECHO_C" >&6; }
       
 18443 if test "${ac_cv_struct_sockaddr_storage+set}" = set; then
       
 18444   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18445 else
       
 18446   cat >conftest.$ac_ext <<_ACEOF
       
 18447 /* confdefs.h.  */
       
 18448 _ACEOF
       
 18449 cat confdefs.h >>conftest.$ac_ext
       
 18450 cat >>conftest.$ac_ext <<_ACEOF
       
 18451 /* end confdefs.h.  */
       
 18452 
       
 18453 #		include <sys/types.h>
       
 18454 #		include <sys/socket.h>
       
 18455 int
       
 18456 main ()
       
 18457 {
       
 18458 struct sockaddr_storage s
       
 18459   ;
       
 18460   return 0;
       
 18461 }
       
 18462 _ACEOF
       
 18463 rm -f conftest.$ac_objext
       
 18464 if { (ac_try="$ac_compile"
       
 18465 case "(($ac_try" in
       
 18466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18467   *) ac_try_echo=$ac_try;;
       
 18468 esac
       
 18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18470   (eval "$ac_compile") 2>conftest.er1
       
 18471   ac_status=$?
       
 18472   grep -v '^ *+' conftest.er1 >conftest.err
       
 18473   rm -f conftest.er1
       
 18474   cat conftest.err >&5
       
 18475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18476   (exit $ac_status); } && {
       
 18477 	 test -z "$ac_c_werror_flag" ||
       
 18478 	 test ! -s conftest.err
       
 18479        } && test -s conftest.$ac_objext; then
       
 18480   ac_cv_struct_sockaddr_storage=yes
       
 18481 else
       
 18482   echo "$as_me: failed program was:" >&5
       
 18483 sed 's/^/| /' conftest.$ac_ext >&5
       
 18484 
       
 18485 	ac_cv_struct_sockaddr_storage=no
       
 18486 fi
       
 18487 
       
 18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18489 fi
       
 18490 
       
 18491 { echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_storage" >&5
       
 18492 echo "${ECHO_T}$ac_cv_struct_sockaddr_storage" >&6; }
       
 18493 if test $ac_cv_struct_sockaddr_storage = yes; then
       
 18494 
       
 18495 cat >>confdefs.h <<\_ACEOF
       
 18496 #define HAVE_SOCKADDR_STORAGE 1
       
 18497 _ACEOF
       
 18498 
       
 18499 fi
       
 18500 
       
 18501 # checks for compiler characteristics
       
 18502 
       
 18503 
       
 18504 { echo "$as_me:$LINENO: checking whether char is unsigned" >&5
       
 18505 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
       
 18506 if test "${ac_cv_c_char_unsigned+set}" = set; then
       
 18507   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18508 else
       
 18509   cat >conftest.$ac_ext <<_ACEOF
       
 18510 /* confdefs.h.  */
       
 18511 _ACEOF
       
 18512 cat confdefs.h >>conftest.$ac_ext
       
 18513 cat >>conftest.$ac_ext <<_ACEOF
       
 18514 /* end confdefs.h.  */
       
 18515 $ac_includes_default
       
 18516 int
       
 18517 main ()
       
 18518 {
       
 18519 static int test_array [1 - 2 * !(((char) -1) < 0)];
       
 18520 test_array [0] = 0
       
 18521 
       
 18522   ;
       
 18523   return 0;
       
 18524 }
       
 18525 _ACEOF
       
 18526 rm -f conftest.$ac_objext
       
 18527 if { (ac_try="$ac_compile"
       
 18528 case "(($ac_try" in
       
 18529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18530   *) ac_try_echo=$ac_try;;
       
 18531 esac
       
 18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18533   (eval "$ac_compile") 2>conftest.er1
       
 18534   ac_status=$?
       
 18535   grep -v '^ *+' conftest.er1 >conftest.err
       
 18536   rm -f conftest.er1
       
 18537   cat conftest.err >&5
       
 18538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18539   (exit $ac_status); } && {
       
 18540 	 test -z "$ac_c_werror_flag" ||
       
 18541 	 test ! -s conftest.err
       
 18542        } && test -s conftest.$ac_objext; then
       
 18543   ac_cv_c_char_unsigned=no
       
 18544 else
       
 18545   echo "$as_me: failed program was:" >&5
       
 18546 sed 's/^/| /' conftest.$ac_ext >&5
       
 18547 
       
 18548 	ac_cv_c_char_unsigned=yes
       
 18549 fi
       
 18550 
       
 18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18552 fi
       
 18553 { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
       
 18554 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
       
 18555 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
       
 18556   cat >>confdefs.h <<\_ACEOF
       
 18557 #define __CHAR_UNSIGNED__ 1
       
 18558 _ACEOF
       
 18559 
       
 18560 fi
       
 18561 
       
 18562 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
       
 18563 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
       
 18564 if test "${ac_cv_c_const+set}" = set; then
       
 18565   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 18566 else
       
 18567   cat >conftest.$ac_ext <<_ACEOF
       
 18568 /* confdefs.h.  */
       
 18569 _ACEOF
       
 18570 cat confdefs.h >>conftest.$ac_ext
       
 18571 cat >>conftest.$ac_ext <<_ACEOF
       
 18572 /* end confdefs.h.  */
       
 18573 
       
 18574 int
       
 18575 main ()
       
 18576 {
       
 18577 /* FIXME: Include the comments suggested by Paul. */
       
 18578 #ifndef __cplusplus
       
 18579   /* Ultrix mips cc rejects this.  */
       
 18580   typedef int charset[2];
       
 18581   const charset cs;
       
 18582   /* SunOS 4.1.1 cc rejects this.  */
       
 18583   char const *const *pcpcc;
       
 18584   char **ppc;
       
 18585   /* NEC SVR4.0.2 mips cc rejects this.  */
       
 18586   struct point {int x, y;};
       
 18587   static struct point const zero = {0,0};
       
 18588   /* AIX XL C 1.02.0.0 rejects this.
       
 18589      It does not let you subtract one const X* pointer from another in
       
 18590      an arm of an if-expression whose if-part is not a constant
       
 18591      expression */
       
 18592   const char *g = "string";
       
 18593   pcpcc = &g + (g ? g-g : 0);
       
 18594   /* HPUX 7.0 cc rejects these. */
       
 18595   ++pcpcc;
       
 18596   ppc = (char**) pcpcc;
       
 18597   pcpcc = (char const *const *) ppc;
       
 18598   { /* SCO 3.2v4 cc rejects this.  */
       
 18599     char *t;
       
 18600     char const *s = 0 ? (char *) 0 : (char const *) 0;
       
 18601 
       
 18602     *t++ = 0;
       
 18603     if (s) return 0;
       
 18604   }
       
 18605   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
       
 18606     int x[] = {25, 17};
       
 18607     const int *foo = &x[0];
       
 18608     ++foo;
       
 18609   }
       
 18610   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
       
 18611     typedef const int *iptr;
       
 18612     iptr p = 0;
       
 18613     ++p;
       
 18614   }
       
 18615   { /* AIX XL C 1.02.0.0 rejects this saying
       
 18616        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
       
 18617     struct s { int j; const int *ap[3]; };
       
 18618     struct s *b; b->j = 5;
       
 18619   }
       
 18620   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
       
 18621     const int foo = 10;
       
 18622     if (!foo) return 0;
       
 18623   }
       
 18624   return !cs[0] && !zero.x;
       
 18625 #endif
       
 18626 
       
 18627   ;
       
 18628   return 0;
       
 18629 }
       
 18630 _ACEOF
       
 18631 rm -f conftest.$ac_objext
       
 18632 if { (ac_try="$ac_compile"
       
 18633 case "(($ac_try" in
       
 18634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18635   *) ac_try_echo=$ac_try;;
       
 18636 esac
       
 18637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18638   (eval "$ac_compile") 2>conftest.er1
       
 18639   ac_status=$?
       
 18640   grep -v '^ *+' conftest.er1 >conftest.err
       
 18641   rm -f conftest.er1
       
 18642   cat conftest.err >&5
       
 18643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18644   (exit $ac_status); } && {
       
 18645 	 test -z "$ac_c_werror_flag" ||
       
 18646 	 test ! -s conftest.err
       
 18647        } && test -s conftest.$ac_objext; then
       
 18648   ac_cv_c_const=yes
       
 18649 else
       
 18650   echo "$as_me: failed program was:" >&5
       
 18651 sed 's/^/| /' conftest.$ac_ext >&5
       
 18652 
       
 18653 	ac_cv_c_const=no
       
 18654 fi
       
 18655 
       
 18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18657 fi
       
 18658 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
       
 18659 echo "${ECHO_T}$ac_cv_c_const" >&6; }
       
 18660 if test $ac_cv_c_const = no; then
       
 18661 
       
 18662 cat >>confdefs.h <<\_ACEOF
       
 18663 #define const
       
 18664 _ACEOF
       
 18665 
       
 18666 fi
       
 18667 
       
 18668 
       
 18669 works=no
       
 18670 { echo "$as_me:$LINENO: checking for working volatile" >&5
       
 18671 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
       
 18672 cat >conftest.$ac_ext <<_ACEOF
       
 18673 /* confdefs.h.  */
       
 18674 _ACEOF
       
 18675 cat confdefs.h >>conftest.$ac_ext
       
 18676 cat >>conftest.$ac_ext <<_ACEOF
       
 18677 /* end confdefs.h.  */
       
 18678 
       
 18679 int
       
 18680 main ()
       
 18681 {
       
 18682 volatile int x; x = 0;
       
 18683   ;
       
 18684   return 0;
       
 18685 }
       
 18686 _ACEOF
       
 18687 rm -f conftest.$ac_objext
       
 18688 if { (ac_try="$ac_compile"
       
 18689 case "(($ac_try" in
       
 18690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18691   *) ac_try_echo=$ac_try;;
       
 18692 esac
       
 18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18694   (eval "$ac_compile") 2>conftest.er1
       
 18695   ac_status=$?
       
 18696   grep -v '^ *+' conftest.er1 >conftest.err
       
 18697   rm -f conftest.er1
       
 18698   cat conftest.err >&5
       
 18699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18700   (exit $ac_status); } && {
       
 18701 	 test -z "$ac_c_werror_flag" ||
       
 18702 	 test ! -s conftest.err
       
 18703        } && test -s conftest.$ac_objext; then
       
 18704   works=yes
       
 18705 else
       
 18706   echo "$as_me: failed program was:" >&5
       
 18707 sed 's/^/| /' conftest.$ac_ext >&5
       
 18708 
       
 18709 
       
 18710 cat >>confdefs.h <<\_ACEOF
       
 18711 #define volatile
       
 18712 _ACEOF
       
 18713 
       
 18714 
       
 18715 fi
       
 18716 
       
 18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18718 { echo "$as_me:$LINENO: result: $works" >&5
       
 18719 echo "${ECHO_T}$works" >&6; }
       
 18720 
       
 18721 works=no
       
 18722 { echo "$as_me:$LINENO: checking for working signed char" >&5
       
 18723 echo $ECHO_N "checking for working signed char... $ECHO_C" >&6; }
       
 18724 cat >conftest.$ac_ext <<_ACEOF
       
 18725 /* confdefs.h.  */
       
 18726 _ACEOF
       
 18727 cat confdefs.h >>conftest.$ac_ext
       
 18728 cat >>conftest.$ac_ext <<_ACEOF
       
 18729 /* end confdefs.h.  */
       
 18730 
       
 18731 int
       
 18732 main ()
       
 18733 {
       
 18734 signed char c;
       
 18735   ;
       
 18736   return 0;
       
 18737 }
       
 18738 _ACEOF
       
 18739 rm -f conftest.$ac_objext
       
 18740 if { (ac_try="$ac_compile"
       
 18741 case "(($ac_try" in
       
 18742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18743   *) ac_try_echo=$ac_try;;
       
 18744 esac
       
 18745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18746   (eval "$ac_compile") 2>conftest.er1
       
 18747   ac_status=$?
       
 18748   grep -v '^ *+' conftest.er1 >conftest.err
       
 18749   rm -f conftest.er1
       
 18750   cat conftest.err >&5
       
 18751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18752   (exit $ac_status); } && {
       
 18753 	 test -z "$ac_c_werror_flag" ||
       
 18754 	 test ! -s conftest.err
       
 18755        } && test -s conftest.$ac_objext; then
       
 18756   works=yes
       
 18757 else
       
 18758   echo "$as_me: failed program was:" >&5
       
 18759 sed 's/^/| /' conftest.$ac_ext >&5
       
 18760 
       
 18761 
       
 18762 cat >>confdefs.h <<\_ACEOF
       
 18763 #define signed
       
 18764 _ACEOF
       
 18765 
       
 18766 
       
 18767 fi
       
 18768 
       
 18769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18770 { echo "$as_me:$LINENO: result: $works" >&5
       
 18771 echo "${ECHO_T}$works" >&6; }
       
 18772 
       
 18773 have_prototypes=no
       
 18774 { echo "$as_me:$LINENO: checking for prototypes" >&5
       
 18775 echo $ECHO_N "checking for prototypes... $ECHO_C" >&6; }
       
 18776 cat >conftest.$ac_ext <<_ACEOF
       
 18777 /* confdefs.h.  */
       
 18778 _ACEOF
       
 18779 cat confdefs.h >>conftest.$ac_ext
       
 18780 cat >>conftest.$ac_ext <<_ACEOF
       
 18781 /* end confdefs.h.  */
       
 18782 int foo(int x) { return 0; }
       
 18783 int
       
 18784 main ()
       
 18785 {
       
 18786 return foo(10);
       
 18787   ;
       
 18788   return 0;
       
 18789 }
       
 18790 _ACEOF
       
 18791 rm -f conftest.$ac_objext
       
 18792 if { (ac_try="$ac_compile"
       
 18793 case "(($ac_try" in
       
 18794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18795   *) ac_try_echo=$ac_try;;
       
 18796 esac
       
 18797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18798   (eval "$ac_compile") 2>conftest.er1
       
 18799   ac_status=$?
       
 18800   grep -v '^ *+' conftest.er1 >conftest.err
       
 18801   rm -f conftest.er1
       
 18802   cat conftest.err >&5
       
 18803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18804   (exit $ac_status); } && {
       
 18805 	 test -z "$ac_c_werror_flag" ||
       
 18806 	 test ! -s conftest.err
       
 18807        } && test -s conftest.$ac_objext; then
       
 18808 
       
 18809 
       
 18810 cat >>confdefs.h <<\_ACEOF
       
 18811 #define HAVE_PROTOTYPES 1
       
 18812 _ACEOF
       
 18813 
       
 18814   have_prototypes=yes
       
 18815 
       
 18816 else
       
 18817   echo "$as_me: failed program was:" >&5
       
 18818 sed 's/^/| /' conftest.$ac_ext >&5
       
 18819 
       
 18820 
       
 18821 fi
       
 18822 
       
 18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18824 { echo "$as_me:$LINENO: result: $have_prototypes" >&5
       
 18825 echo "${ECHO_T}$have_prototypes" >&6; }
       
 18826 
       
 18827 works=no
       
 18828 { echo "$as_me:$LINENO: checking for variable length prototypes and stdarg.h" >&5
       
 18829 echo $ECHO_N "checking for variable length prototypes and stdarg.h... $ECHO_C" >&6; }
       
 18830 cat >conftest.$ac_ext <<_ACEOF
       
 18831 /* confdefs.h.  */
       
 18832 _ACEOF
       
 18833 cat confdefs.h >>conftest.$ac_ext
       
 18834 cat >>conftest.$ac_ext <<_ACEOF
       
 18835 /* end confdefs.h.  */
       
 18836 
       
 18837 #include <stdarg.h>
       
 18838 int foo(int x, ...) {
       
 18839 	va_list va;
       
 18840 	va_start(va, x);
       
 18841 	va_arg(va, int);
       
 18842 	va_arg(va, char *);
       
 18843 	va_arg(va, double);
       
 18844 	return 0;
       
 18845 }
       
 18846 
       
 18847 int
       
 18848 main ()
       
 18849 {
       
 18850 return foo(10, "", 3.14);
       
 18851   ;
       
 18852   return 0;
       
 18853 }
       
 18854 _ACEOF
       
 18855 rm -f conftest.$ac_objext
       
 18856 if { (ac_try="$ac_compile"
       
 18857 case "(($ac_try" in
       
 18858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18859   *) ac_try_echo=$ac_try;;
       
 18860 esac
       
 18861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18862   (eval "$ac_compile") 2>conftest.er1
       
 18863   ac_status=$?
       
 18864   grep -v '^ *+' conftest.er1 >conftest.err
       
 18865   rm -f conftest.er1
       
 18866   cat conftest.err >&5
       
 18867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18868   (exit $ac_status); } && {
       
 18869 	 test -z "$ac_c_werror_flag" ||
       
 18870 	 test ! -s conftest.err
       
 18871        } && test -s conftest.$ac_objext; then
       
 18872 
       
 18873 
       
 18874 cat >>confdefs.h <<\_ACEOF
       
 18875 #define HAVE_STDARG_PROTOTYPES 1
       
 18876 _ACEOF
       
 18877 
       
 18878   works=yes
       
 18879 
       
 18880 else
       
 18881   echo "$as_me: failed program was:" >&5
       
 18882 sed 's/^/| /' conftest.$ac_ext >&5
       
 18883 
       
 18884 
       
 18885 fi
       
 18886 
       
 18887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18888 { echo "$as_me:$LINENO: result: $works" >&5
       
 18889 echo "${ECHO_T}$works" >&6; }
       
 18890 
       
 18891 # check for socketpair
       
 18892 { echo "$as_me:$LINENO: checking for socketpair" >&5
       
 18893 echo $ECHO_N "checking for socketpair... $ECHO_C" >&6; }
       
 18894 cat >conftest.$ac_ext <<_ACEOF
       
 18895 /* confdefs.h.  */
       
 18896 _ACEOF
       
 18897 cat confdefs.h >>conftest.$ac_ext
       
 18898 cat >>conftest.$ac_ext <<_ACEOF
       
 18899 /* end confdefs.h.  */
       
 18900 
       
 18901 #include <sys/types.h>
       
 18902 #include <sys/socket.h>
       
 18903 
       
 18904 int
       
 18905 main ()
       
 18906 {
       
 18907 void *x=socketpair
       
 18908   ;
       
 18909   return 0;
       
 18910 }
       
 18911 _ACEOF
       
 18912 rm -f conftest.$ac_objext
       
 18913 if { (ac_try="$ac_compile"
       
 18914 case "(($ac_try" in
       
 18915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18916   *) ac_try_echo=$ac_try;;
       
 18917 esac
       
 18918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18919   (eval "$ac_compile") 2>conftest.er1
       
 18920   ac_status=$?
       
 18921   grep -v '^ *+' conftest.er1 >conftest.err
       
 18922   rm -f conftest.er1
       
 18923   cat conftest.err >&5
       
 18924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18925   (exit $ac_status); } && {
       
 18926 	 test -z "$ac_c_werror_flag" ||
       
 18927 	 test ! -s conftest.err
       
 18928        } && test -s conftest.$ac_objext; then
       
 18929 
       
 18930 cat >>confdefs.h <<\_ACEOF
       
 18931 #define HAVE_SOCKETPAIR 1
       
 18932 _ACEOF
       
 18933 
       
 18934   { echo "$as_me:$LINENO: result: yes" >&5
       
 18935 echo "${ECHO_T}yes" >&6; }
       
 18936 else
       
 18937   echo "$as_me: failed program was:" >&5
       
 18938 sed 's/^/| /' conftest.$ac_ext >&5
       
 18939 
       
 18940 	{ echo "$as_me:$LINENO: result: no" >&5
       
 18941 echo "${ECHO_T}no" >&6; }
       
 18942 
       
 18943 fi
       
 18944 
       
 18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 18946 
       
 18947 # check if sockaddr has sa_len member
       
 18948 { echo "$as_me:$LINENO: checking if sockaddr has sa_len member" >&5
       
 18949 echo $ECHO_N "checking if sockaddr has sa_len member... $ECHO_C" >&6; }
       
 18950 cat >conftest.$ac_ext <<_ACEOF
       
 18951 /* confdefs.h.  */
       
 18952 _ACEOF
       
 18953 cat confdefs.h >>conftest.$ac_ext
       
 18954 cat >>conftest.$ac_ext <<_ACEOF
       
 18955 /* end confdefs.h.  */
       
 18956 #include <sys/types.h>
       
 18957 #include <sys/socket.h>
       
 18958 int
       
 18959 main ()
       
 18960 {
       
 18961 struct sockaddr x;
       
 18962 x.sa_len = 0;
       
 18963   ;
       
 18964   return 0;
       
 18965 }
       
 18966 _ACEOF
       
 18967 rm -f conftest.$ac_objext
       
 18968 if { (ac_try="$ac_compile"
       
 18969 case "(($ac_try" in
       
 18970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 18971   *) ac_try_echo=$ac_try;;
       
 18972 esac
       
 18973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 18974   (eval "$ac_compile") 2>conftest.er1
       
 18975   ac_status=$?
       
 18976   grep -v '^ *+' conftest.er1 >conftest.err
       
 18977   rm -f conftest.er1
       
 18978   cat conftest.err >&5
       
 18979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18980   (exit $ac_status); } && {
       
 18981 	 test -z "$ac_c_werror_flag" ||
       
 18982 	 test ! -s conftest.err
       
 18983        } && test -s conftest.$ac_objext; then
       
 18984   { echo "$as_me:$LINENO: result: yes" >&5
       
 18985 echo "${ECHO_T}yes" >&6; }
       
 18986 
       
 18987 cat >>confdefs.h <<\_ACEOF
       
 18988 #define HAVE_SOCKADDR_SA_LEN 1
       
 18989 _ACEOF
       
 18990 
       
 18991 else
       
 18992   echo "$as_me: failed program was:" >&5
       
 18993 sed 's/^/| /' conftest.$ac_ext >&5
       
 18994 
       
 18995 	{ echo "$as_me:$LINENO: result: no" >&5
       
 18996 echo "${ECHO_T}no" >&6; }
       
 18997 fi
       
 18998 
       
 18999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 19000 
       
 19001 va_list_is_array=no
       
 19002 { echo "$as_me:$LINENO: checking whether va_list is an array" >&5
       
 19003 echo $ECHO_N "checking whether va_list is an array... $ECHO_C" >&6; }
       
 19004 cat >conftest.$ac_ext <<_ACEOF
       
 19005 /* confdefs.h.  */
       
 19006 _ACEOF
       
 19007 cat confdefs.h >>conftest.$ac_ext
       
 19008 cat >>conftest.$ac_ext <<_ACEOF
       
 19009 /* end confdefs.h.  */
       
 19010 
       
 19011 #ifdef HAVE_STDARG_PROTOTYPES
       
 19012 #include <stdarg.h>
       
 19013 #else
       
 19014 #include <varargs.h>
       
 19015 #endif
       
 19016 
       
 19017 int
       
 19018 main ()
       
 19019 {
       
 19020 va_list list1, list2; list1 = list2;
       
 19021   ;
       
 19022   return 0;
       
 19023 }
       
 19024 _ACEOF
       
 19025 rm -f conftest.$ac_objext
       
 19026 if { (ac_try="$ac_compile"
       
 19027 case "(($ac_try" in
       
 19028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19029   *) ac_try_echo=$ac_try;;
       
 19030 esac
       
 19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19032   (eval "$ac_compile") 2>conftest.er1
       
 19033   ac_status=$?
       
 19034   grep -v '^ *+' conftest.er1 >conftest.err
       
 19035   rm -f conftest.er1
       
 19036   cat conftest.err >&5
       
 19037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19038   (exit $ac_status); } && {
       
 19039 	 test -z "$ac_c_werror_flag" ||
       
 19040 	 test ! -s conftest.err
       
 19041        } && test -s conftest.$ac_objext; then
       
 19042   :
       
 19043 else
       
 19044   echo "$as_me: failed program was:" >&5
       
 19045 sed 's/^/| /' conftest.$ac_ext >&5
       
 19046 
       
 19047 
       
 19048 
       
 19049 cat >>confdefs.h <<\_ACEOF
       
 19050 #define VA_LIST_IS_ARRAY 1
       
 19051 _ACEOF
       
 19052 
       
 19053  va_list_is_array=yes
       
 19054 
       
 19055 fi
       
 19056 
       
 19057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 19058 { echo "$as_me:$LINENO: result: $va_list_is_array" >&5
       
 19059 echo "${ECHO_T}$va_list_is_array" >&6; }
       
 19060 
       
 19061 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
       
 19062 
       
 19063 
       
 19064 
       
 19065 { echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
       
 19066 echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
       
 19067 if test "${ac_cv_func_gethostbyname_r+set}" = set; then
       
 19068   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19069 else
       
 19070   cat >conftest.$ac_ext <<_ACEOF
       
 19071 /* confdefs.h.  */
       
 19072 _ACEOF
       
 19073 cat confdefs.h >>conftest.$ac_ext
       
 19074 cat >>conftest.$ac_ext <<_ACEOF
       
 19075 /* end confdefs.h.  */
       
 19076 /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
       
 19077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 19078 #define gethostbyname_r innocuous_gethostbyname_r
       
 19079 
       
 19080 /* System header to define __stub macros and hopefully few prototypes,
       
 19081     which can conflict with char gethostbyname_r (); below.
       
 19082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 19083     <limits.h> exists even on freestanding compilers.  */
       
 19084 
       
 19085 #ifdef __STDC__
       
 19086 # include <limits.h>
       
 19087 #else
       
 19088 # include <assert.h>
       
 19089 #endif
       
 19090 
       
 19091 #undef gethostbyname_r
       
 19092 
       
 19093 /* Override any GCC internal prototype to avoid an error.
       
 19094    Use char because int might match the return type of a GCC
       
 19095    builtin and then its argument prototype would still apply.  */
       
 19096 #ifdef __cplusplus
       
 19097 extern "C"
       
 19098 #endif
       
 19099 char gethostbyname_r ();
       
 19100 /* The GNU C library defines this for functions which it implements
       
 19101     to always fail with ENOSYS.  Some functions are actually named
       
 19102     something starting with __ and the normal name is an alias.  */
       
 19103 #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
       
 19104 choke me
       
 19105 #endif
       
 19106 
       
 19107 int
       
 19108 main ()
       
 19109 {
       
 19110 return gethostbyname_r ();
       
 19111   ;
       
 19112   return 0;
       
 19113 }
       
 19114 _ACEOF
       
 19115 rm -f conftest.$ac_objext conftest$ac_exeext
       
 19116 if { (ac_try="$ac_link"
       
 19117 case "(($ac_try" in
       
 19118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19119   *) ac_try_echo=$ac_try;;
       
 19120 esac
       
 19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19122   (eval "$ac_link") 2>conftest.er1
       
 19123   ac_status=$?
       
 19124   grep -v '^ *+' conftest.er1 >conftest.err
       
 19125   rm -f conftest.er1
       
 19126   cat conftest.err >&5
       
 19127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19128   (exit $ac_status); } && {
       
 19129 	 test -z "$ac_c_werror_flag" ||
       
 19130 	 test ! -s conftest.err
       
 19131        } && test -s conftest$ac_exeext &&
       
 19132        $as_test_x conftest$ac_exeext; then
       
 19133   ac_cv_func_gethostbyname_r=yes
       
 19134 else
       
 19135   echo "$as_me: failed program was:" >&5
       
 19136 sed 's/^/| /' conftest.$ac_ext >&5
       
 19137 
       
 19138 	ac_cv_func_gethostbyname_r=no
       
 19139 fi
       
 19140 
       
 19141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 19142       conftest$ac_exeext conftest.$ac_ext
       
 19143 fi
       
 19144 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
       
 19145 echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6; }
       
 19146 if test $ac_cv_func_gethostbyname_r = yes; then
       
 19147 
       
 19148   cat >>confdefs.h <<\_ACEOF
       
 19149 #define HAVE_GETHOSTBYNAME_R 1
       
 19150 _ACEOF
       
 19151 
       
 19152   { echo "$as_me:$LINENO: checking gethostbyname_r with 6 args" >&5
       
 19153 echo $ECHO_N "checking gethostbyname_r with 6 args... $ECHO_C" >&6; }
       
 19154   OLD_CFLAGS=$CFLAGS
       
 19155   CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
       
 19156   cat >conftest.$ac_ext <<_ACEOF
       
 19157 /* confdefs.h.  */
       
 19158 _ACEOF
       
 19159 cat confdefs.h >>conftest.$ac_ext
       
 19160 cat >>conftest.$ac_ext <<_ACEOF
       
 19161 /* end confdefs.h.  */
       
 19162 
       
 19163 #   include <netdb.h>
       
 19164 
       
 19165 int
       
 19166 main ()
       
 19167 {
       
 19168 
       
 19169     char *name;
       
 19170     struct hostent *he, *res;
       
 19171     char buffer[2048];
       
 19172     int buflen = 2048;
       
 19173     int h_errnop;
       
 19174 
       
 19175     (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
       
 19176 
       
 19177   ;
       
 19178   return 0;
       
 19179 }
       
 19180 _ACEOF
       
 19181 rm -f conftest.$ac_objext
       
 19182 if { (ac_try="$ac_compile"
       
 19183 case "(($ac_try" in
       
 19184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19185   *) ac_try_echo=$ac_try;;
       
 19186 esac
       
 19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19188   (eval "$ac_compile") 2>conftest.er1
       
 19189   ac_status=$?
       
 19190   grep -v '^ *+' conftest.er1 >conftest.err
       
 19191   rm -f conftest.er1
       
 19192   cat conftest.err >&5
       
 19193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19194   (exit $ac_status); } && {
       
 19195 	 test -z "$ac_c_werror_flag" ||
       
 19196 	 test ! -s conftest.err
       
 19197        } && test -s conftest.$ac_objext; then
       
 19198 
       
 19199     cat >>confdefs.h <<\_ACEOF
       
 19200 #define HAVE_GETHOSTBYNAME_R 1
       
 19201 _ACEOF
       
 19202 
       
 19203 
       
 19204 cat >>confdefs.h <<\_ACEOF
       
 19205 #define HAVE_GETHOSTBYNAME_R_6_ARG 1
       
 19206 _ACEOF
       
 19207 
       
 19208     { echo "$as_me:$LINENO: result: yes" >&5
       
 19209 echo "${ECHO_T}yes" >&6; }
       
 19210 
       
 19211 else
       
 19212   echo "$as_me: failed program was:" >&5
       
 19213 sed 's/^/| /' conftest.$ac_ext >&5
       
 19214 
       
 19215 
       
 19216     { echo "$as_me:$LINENO: result: no" >&5
       
 19217 echo "${ECHO_T}no" >&6; }
       
 19218     { echo "$as_me:$LINENO: checking gethostbyname_r with 5 args" >&5
       
 19219 echo $ECHO_N "checking gethostbyname_r with 5 args... $ECHO_C" >&6; }
       
 19220     cat >conftest.$ac_ext <<_ACEOF
       
 19221 /* confdefs.h.  */
       
 19222 _ACEOF
       
 19223 cat confdefs.h >>conftest.$ac_ext
       
 19224 cat >>conftest.$ac_ext <<_ACEOF
       
 19225 /* end confdefs.h.  */
       
 19226 
       
 19227 #     include <netdb.h>
       
 19228 
       
 19229 int
       
 19230 main ()
       
 19231 {
       
 19232 
       
 19233       char *name;
       
 19234       struct hostent *he;
       
 19235       char buffer[2048];
       
 19236       int buflen = 2048;
       
 19237       int h_errnop;
       
 19238 
       
 19239       (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
       
 19240 
       
 19241   ;
       
 19242   return 0;
       
 19243 }
       
 19244 _ACEOF
       
 19245 rm -f conftest.$ac_objext
       
 19246 if { (ac_try="$ac_compile"
       
 19247 case "(($ac_try" in
       
 19248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19249   *) ac_try_echo=$ac_try;;
       
 19250 esac
       
 19251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19252   (eval "$ac_compile") 2>conftest.er1
       
 19253   ac_status=$?
       
 19254   grep -v '^ *+' conftest.er1 >conftest.err
       
 19255   rm -f conftest.er1
       
 19256   cat conftest.err >&5
       
 19257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19258   (exit $ac_status); } && {
       
 19259 	 test -z "$ac_c_werror_flag" ||
       
 19260 	 test ! -s conftest.err
       
 19261        } && test -s conftest.$ac_objext; then
       
 19262 
       
 19263       cat >>confdefs.h <<\_ACEOF
       
 19264 #define HAVE_GETHOSTBYNAME_R 1
       
 19265 _ACEOF
       
 19266 
       
 19267 
       
 19268 cat >>confdefs.h <<\_ACEOF
       
 19269 #define HAVE_GETHOSTBYNAME_R_5_ARG 1
       
 19270 _ACEOF
       
 19271 
       
 19272       { echo "$as_me:$LINENO: result: yes" >&5
       
 19273 echo "${ECHO_T}yes" >&6; }
       
 19274 
       
 19275 else
       
 19276   echo "$as_me: failed program was:" >&5
       
 19277 sed 's/^/| /' conftest.$ac_ext >&5
       
 19278 
       
 19279 
       
 19280       { echo "$as_me:$LINENO: result: no" >&5
       
 19281 echo "${ECHO_T}no" >&6; }
       
 19282       { echo "$as_me:$LINENO: checking gethostbyname_r with 3 args" >&5
       
 19283 echo $ECHO_N "checking gethostbyname_r with 3 args... $ECHO_C" >&6; }
       
 19284       cat >conftest.$ac_ext <<_ACEOF
       
 19285 /* confdefs.h.  */
       
 19286 _ACEOF
       
 19287 cat confdefs.h >>conftest.$ac_ext
       
 19288 cat >>conftest.$ac_ext <<_ACEOF
       
 19289 /* end confdefs.h.  */
       
 19290 
       
 19291 #       include <netdb.h>
       
 19292 
       
 19293 int
       
 19294 main ()
       
 19295 {
       
 19296 
       
 19297         char *name;
       
 19298         struct hostent *he;
       
 19299         struct hostent_data data;
       
 19300 
       
 19301         (void) gethostbyname_r(name, he, &data);
       
 19302 
       
 19303   ;
       
 19304   return 0;
       
 19305 }
       
 19306 _ACEOF
       
 19307 rm -f conftest.$ac_objext
       
 19308 if { (ac_try="$ac_compile"
       
 19309 case "(($ac_try" in
       
 19310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19311   *) ac_try_echo=$ac_try;;
       
 19312 esac
       
 19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19314   (eval "$ac_compile") 2>conftest.er1
       
 19315   ac_status=$?
       
 19316   grep -v '^ *+' conftest.er1 >conftest.err
       
 19317   rm -f conftest.er1
       
 19318   cat conftest.err >&5
       
 19319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19320   (exit $ac_status); } && {
       
 19321 	 test -z "$ac_c_werror_flag" ||
       
 19322 	 test ! -s conftest.err
       
 19323        } && test -s conftest.$ac_objext; then
       
 19324 
       
 19325         cat >>confdefs.h <<\_ACEOF
       
 19326 #define HAVE_GETHOSTBYNAME_R 1
       
 19327 _ACEOF
       
 19328 
       
 19329 
       
 19330 cat >>confdefs.h <<\_ACEOF
       
 19331 #define HAVE_GETHOSTBYNAME_R_3_ARG 1
       
 19332 _ACEOF
       
 19333 
       
 19334         { echo "$as_me:$LINENO: result: yes" >&5
       
 19335 echo "${ECHO_T}yes" >&6; }
       
 19336 
       
 19337 else
       
 19338   echo "$as_me: failed program was:" >&5
       
 19339 sed 's/^/| /' conftest.$ac_ext >&5
       
 19340 
       
 19341 
       
 19342         { echo "$as_me:$LINENO: result: no" >&5
       
 19343 echo "${ECHO_T}no" >&6; }
       
 19344 
       
 19345 fi
       
 19346 
       
 19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 19348 
       
 19349 fi
       
 19350 
       
 19351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 19352 
       
 19353 fi
       
 19354 
       
 19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 19356   CFLAGS=$OLD_CFLAGS
       
 19357 
       
 19358 else
       
 19359 
       
 19360 
       
 19361 for ac_func in gethostbyname
       
 19362 do
       
 19363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 19364 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 19365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 19366 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 19367   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19368 else
       
 19369   cat >conftest.$ac_ext <<_ACEOF
       
 19370 /* confdefs.h.  */
       
 19371 _ACEOF
       
 19372 cat confdefs.h >>conftest.$ac_ext
       
 19373 cat >>conftest.$ac_ext <<_ACEOF
       
 19374 /* end confdefs.h.  */
       
 19375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 19376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 19377 #define $ac_func innocuous_$ac_func
       
 19378 
       
 19379 /* System header to define __stub macros and hopefully few prototypes,
       
 19380     which can conflict with char $ac_func (); below.
       
 19381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 19382     <limits.h> exists even on freestanding compilers.  */
       
 19383 
       
 19384 #ifdef __STDC__
       
 19385 # include <limits.h>
       
 19386 #else
       
 19387 # include <assert.h>
       
 19388 #endif
       
 19389 
       
 19390 #undef $ac_func
       
 19391 
       
 19392 /* Override any GCC internal prototype to avoid an error.
       
 19393    Use char because int might match the return type of a GCC
       
 19394    builtin and then its argument prototype would still apply.  */
       
 19395 #ifdef __cplusplus
       
 19396 extern "C"
       
 19397 #endif
       
 19398 char $ac_func ();
       
 19399 /* The GNU C library defines this for functions which it implements
       
 19400     to always fail with ENOSYS.  Some functions are actually named
       
 19401     something starting with __ and the normal name is an alias.  */
       
 19402 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 19403 choke me
       
 19404 #endif
       
 19405 
       
 19406 int
       
 19407 main ()
       
 19408 {
       
 19409 return $ac_func ();
       
 19410   ;
       
 19411   return 0;
       
 19412 }
       
 19413 _ACEOF
       
 19414 rm -f conftest.$ac_objext conftest$ac_exeext
       
 19415 if { (ac_try="$ac_link"
       
 19416 case "(($ac_try" in
       
 19417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19418   *) ac_try_echo=$ac_try;;
       
 19419 esac
       
 19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19421   (eval "$ac_link") 2>conftest.er1
       
 19422   ac_status=$?
       
 19423   grep -v '^ *+' conftest.er1 >conftest.err
       
 19424   rm -f conftest.er1
       
 19425   cat conftest.err >&5
       
 19426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19427   (exit $ac_status); } && {
       
 19428 	 test -z "$ac_c_werror_flag" ||
       
 19429 	 test ! -s conftest.err
       
 19430        } && test -s conftest$ac_exeext &&
       
 19431        $as_test_x conftest$ac_exeext; then
       
 19432   eval "$as_ac_var=yes"
       
 19433 else
       
 19434   echo "$as_me: failed program was:" >&5
       
 19435 sed 's/^/| /' conftest.$ac_ext >&5
       
 19436 
       
 19437 	eval "$as_ac_var=no"
       
 19438 fi
       
 19439 
       
 19440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 19441       conftest$ac_exeext conftest.$ac_ext
       
 19442 fi
       
 19443 ac_res=`eval echo '${'$as_ac_var'}'`
       
 19444 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 19445 echo "${ECHO_T}$ac_res" >&6; }
       
 19446 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 19447   cat >>confdefs.h <<_ACEOF
       
 19448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 19449 _ACEOF
       
 19450 
       
 19451 fi
       
 19452 done
       
 19453 
       
 19454 
       
 19455 fi
       
 19456 
       
 19457 
       
 19458 
       
 19459 
       
 19460 
       
 19461 
       
 19462 
       
 19463 # checks for system services
       
 19464 # (none yet)
       
 19465 
       
 19466 # Linux requires this for correct f.p. operations
       
 19467 { echo "$as_me:$LINENO: checking for __fpu_control" >&5
       
 19468 echo $ECHO_N "checking for __fpu_control... $ECHO_C" >&6; }
       
 19469 if test "${ac_cv_func___fpu_control+set}" = set; then
       
 19470   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19471 else
       
 19472   cat >conftest.$ac_ext <<_ACEOF
       
 19473 /* confdefs.h.  */
       
 19474 _ACEOF
       
 19475 cat confdefs.h >>conftest.$ac_ext
       
 19476 cat >>conftest.$ac_ext <<_ACEOF
       
 19477 /* end confdefs.h.  */
       
 19478 /* Define __fpu_control to an innocuous variant, in case <limits.h> declares __fpu_control.
       
 19479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 19480 #define __fpu_control innocuous___fpu_control
       
 19481 
       
 19482 /* System header to define __stub macros and hopefully few prototypes,
       
 19483     which can conflict with char __fpu_control (); below.
       
 19484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 19485     <limits.h> exists even on freestanding compilers.  */
       
 19486 
       
 19487 #ifdef __STDC__
       
 19488 # include <limits.h>
       
 19489 #else
       
 19490 # include <assert.h>
       
 19491 #endif
       
 19492 
       
 19493 #undef __fpu_control
       
 19494 
       
 19495 /* Override any GCC internal prototype to avoid an error.
       
 19496    Use char because int might match the return type of a GCC
       
 19497    builtin and then its argument prototype would still apply.  */
       
 19498 #ifdef __cplusplus
       
 19499 extern "C"
       
 19500 #endif
       
 19501 char __fpu_control ();
       
 19502 /* The GNU C library defines this for functions which it implements
       
 19503     to always fail with ENOSYS.  Some functions are actually named
       
 19504     something starting with __ and the normal name is an alias.  */
       
 19505 #if defined __stub___fpu_control || defined __stub_____fpu_control
       
 19506 choke me
       
 19507 #endif
       
 19508 
       
 19509 int
       
 19510 main ()
       
 19511 {
       
 19512 return __fpu_control ();
       
 19513   ;
       
 19514   return 0;
       
 19515 }
       
 19516 _ACEOF
       
 19517 rm -f conftest.$ac_objext conftest$ac_exeext
       
 19518 if { (ac_try="$ac_link"
       
 19519 case "(($ac_try" in
       
 19520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19521   *) ac_try_echo=$ac_try;;
       
 19522 esac
       
 19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19524   (eval "$ac_link") 2>conftest.er1
       
 19525   ac_status=$?
       
 19526   grep -v '^ *+' conftest.er1 >conftest.err
       
 19527   rm -f conftest.er1
       
 19528   cat conftest.err >&5
       
 19529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19530   (exit $ac_status); } && {
       
 19531 	 test -z "$ac_c_werror_flag" ||
       
 19532 	 test ! -s conftest.err
       
 19533        } && test -s conftest$ac_exeext &&
       
 19534        $as_test_x conftest$ac_exeext; then
       
 19535   ac_cv_func___fpu_control=yes
       
 19536 else
       
 19537   echo "$as_me: failed program was:" >&5
       
 19538 sed 's/^/| /' conftest.$ac_ext >&5
       
 19539 
       
 19540 	ac_cv_func___fpu_control=no
       
 19541 fi
       
 19542 
       
 19543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 19544       conftest$ac_exeext conftest.$ac_ext
       
 19545 fi
       
 19546 { echo "$as_me:$LINENO: result: $ac_cv_func___fpu_control" >&5
       
 19547 echo "${ECHO_T}$ac_cv_func___fpu_control" >&6; }
       
 19548 if test $ac_cv_func___fpu_control = yes; then
       
 19549   :
       
 19550 else
       
 19551 
       
 19552 { echo "$as_me:$LINENO: checking for __fpu_control in -lieee" >&5
       
 19553 echo $ECHO_N "checking for __fpu_control in -lieee... $ECHO_C" >&6; }
       
 19554 if test "${ac_cv_lib_ieee___fpu_control+set}" = set; then
       
 19555   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19556 else
       
 19557   ac_check_lib_save_LIBS=$LIBS
       
 19558 LIBS="-lieee  $LIBS"
       
 19559 cat >conftest.$ac_ext <<_ACEOF
       
 19560 /* confdefs.h.  */
       
 19561 _ACEOF
       
 19562 cat confdefs.h >>conftest.$ac_ext
       
 19563 cat >>conftest.$ac_ext <<_ACEOF
       
 19564 /* end confdefs.h.  */
       
 19565 
       
 19566 /* Override any GCC internal prototype to avoid an error.
       
 19567    Use char because int might match the return type of a GCC
       
 19568    builtin and then its argument prototype would still apply.  */
       
 19569 #ifdef __cplusplus
       
 19570 extern "C"
       
 19571 #endif
       
 19572 char __fpu_control ();
       
 19573 int
       
 19574 main ()
       
 19575 {
       
 19576 return __fpu_control ();
       
 19577   ;
       
 19578   return 0;
       
 19579 }
       
 19580 _ACEOF
       
 19581 rm -f conftest.$ac_objext conftest$ac_exeext
       
 19582 if { (ac_try="$ac_link"
       
 19583 case "(($ac_try" in
       
 19584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19585   *) ac_try_echo=$ac_try;;
       
 19586 esac
       
 19587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19588   (eval "$ac_link") 2>conftest.er1
       
 19589   ac_status=$?
       
 19590   grep -v '^ *+' conftest.er1 >conftest.err
       
 19591   rm -f conftest.er1
       
 19592   cat conftest.err >&5
       
 19593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19594   (exit $ac_status); } && {
       
 19595 	 test -z "$ac_c_werror_flag" ||
       
 19596 	 test ! -s conftest.err
       
 19597        } && test -s conftest$ac_exeext &&
       
 19598        $as_test_x conftest$ac_exeext; then
       
 19599   ac_cv_lib_ieee___fpu_control=yes
       
 19600 else
       
 19601   echo "$as_me: failed program was:" >&5
       
 19602 sed 's/^/| /' conftest.$ac_ext >&5
       
 19603 
       
 19604 	ac_cv_lib_ieee___fpu_control=no
       
 19605 fi
       
 19606 
       
 19607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 19608       conftest$ac_exeext conftest.$ac_ext
       
 19609 LIBS=$ac_check_lib_save_LIBS
       
 19610 fi
       
 19611 { echo "$as_me:$LINENO: result: $ac_cv_lib_ieee___fpu_control" >&5
       
 19612 echo "${ECHO_T}$ac_cv_lib_ieee___fpu_control" >&6; }
       
 19613 if test $ac_cv_lib_ieee___fpu_control = yes; then
       
 19614   cat >>confdefs.h <<_ACEOF
       
 19615 #define HAVE_LIBIEEE 1
       
 19616 _ACEOF
       
 19617 
       
 19618   LIBS="-lieee $LIBS"
       
 19619 
       
 19620 fi
       
 19621 
       
 19622 
       
 19623 fi
       
 19624 
       
 19625 
       
 19626 # Check for --with-fpectl
       
 19627 { echo "$as_me:$LINENO: checking for --with-fpectl" >&5
       
 19628 echo $ECHO_N "checking for --with-fpectl... $ECHO_C" >&6; }
       
 19629 
       
 19630 # Check whether --with-fpectl was given.
       
 19631 if test "${with_fpectl+set}" = set; then
       
 19632   withval=$with_fpectl;
       
 19633 if test "$withval" != no
       
 19634 then
       
 19635 
       
 19636 cat >>confdefs.h <<\_ACEOF
       
 19637 #define WANT_SIGFPE_HANDLER 1
       
 19638 _ACEOF
       
 19639 
       
 19640   { echo "$as_me:$LINENO: result: yes" >&5
       
 19641 echo "${ECHO_T}yes" >&6; }
       
 19642 else { echo "$as_me:$LINENO: result: no" >&5
       
 19643 echo "${ECHO_T}no" >&6; }
       
 19644 fi
       
 19645 else
       
 19646   { echo "$as_me:$LINENO: result: no" >&5
       
 19647 echo "${ECHO_T}no" >&6; }
       
 19648 fi
       
 19649 
       
 19650 
       
 19651 # check for --with-libm=...
       
 19652 
       
 19653 case $ac_sys_system in
       
 19654 Darwin) ;;
       
 19655 BeOS) ;;
       
 19656 *) LIBM=-lm
       
 19657 esac
       
 19658 { echo "$as_me:$LINENO: checking for --with-libm=STRING" >&5
       
 19659 echo $ECHO_N "checking for --with-libm=STRING... $ECHO_C" >&6; }
       
 19660 
       
 19661 # Check whether --with-libm was given.
       
 19662 if test "${with_libm+set}" = set; then
       
 19663   withval=$with_libm;
       
 19664 if test "$withval" = no
       
 19665 then LIBM=
       
 19666      { echo "$as_me:$LINENO: result: force LIBM empty" >&5
       
 19667 echo "${ECHO_T}force LIBM empty" >&6; }
       
 19668 elif test "$withval" != yes
       
 19669 then LIBM=$withval
       
 19670      { echo "$as_me:$LINENO: result: set LIBM=\"$withval\"" >&5
       
 19671 echo "${ECHO_T}set LIBM=\"$withval\"" >&6; }
       
 19672 else { { echo "$as_me:$LINENO: error: proper usage is --with-libm=STRING" >&5
       
 19673 echo "$as_me: error: proper usage is --with-libm=STRING" >&2;}
       
 19674    { (exit 1); exit 1; }; }
       
 19675 fi
       
 19676 else
       
 19677   { echo "$as_me:$LINENO: result: default LIBM=\"$LIBM\"" >&5
       
 19678 echo "${ECHO_T}default LIBM=\"$LIBM\"" >&6; }
       
 19679 fi
       
 19680 
       
 19681 
       
 19682 # check for --with-libc=...
       
 19683 
       
 19684 { echo "$as_me:$LINENO: checking for --with-libc=STRING" >&5
       
 19685 echo $ECHO_N "checking for --with-libc=STRING... $ECHO_C" >&6; }
       
 19686 
       
 19687 # Check whether --with-libc was given.
       
 19688 if test "${with_libc+set}" = set; then
       
 19689   withval=$with_libc;
       
 19690 if test "$withval" = no
       
 19691 then LIBC=
       
 19692      { echo "$as_me:$LINENO: result: force LIBC empty" >&5
       
 19693 echo "${ECHO_T}force LIBC empty" >&6; }
       
 19694 elif test "$withval" != yes
       
 19695 then LIBC=$withval
       
 19696      { echo "$as_me:$LINENO: result: set LIBC=\"$withval\"" >&5
       
 19697 echo "${ECHO_T}set LIBC=\"$withval\"" >&6; }
       
 19698 else { { echo "$as_me:$LINENO: error: proper usage is --with-libc=STRING" >&5
       
 19699 echo "$as_me: error: proper usage is --with-libc=STRING" >&2;}
       
 19700    { (exit 1); exit 1; }; }
       
 19701 fi
       
 19702 else
       
 19703   { echo "$as_me:$LINENO: result: default LIBC=\"$LIBC\"" >&5
       
 19704 echo "${ECHO_T}default LIBC=\"$LIBC\"" >&6; }
       
 19705 fi
       
 19706 
       
 19707 
       
 19708 # check for hypot() in math library
       
 19709 LIBS_SAVE=$LIBS
       
 19710 LIBS="$LIBS $LIBM"
       
 19711 
       
 19712 for ac_func in hypot
       
 19713 do
       
 19714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 19715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 19716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 19717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 19718   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19719 else
       
 19720   cat >conftest.$ac_ext <<_ACEOF
       
 19721 /* confdefs.h.  */
       
 19722 _ACEOF
       
 19723 cat confdefs.h >>conftest.$ac_ext
       
 19724 cat >>conftest.$ac_ext <<_ACEOF
       
 19725 /* end confdefs.h.  */
       
 19726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 19727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 19728 #define $ac_func innocuous_$ac_func
       
 19729 
       
 19730 /* System header to define __stub macros and hopefully few prototypes,
       
 19731     which can conflict with char $ac_func (); below.
       
 19732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 19733     <limits.h> exists even on freestanding compilers.  */
       
 19734 
       
 19735 #ifdef __STDC__
       
 19736 # include <limits.h>
       
 19737 #else
       
 19738 # include <assert.h>
       
 19739 #endif
       
 19740 
       
 19741 #undef $ac_func
       
 19742 
       
 19743 /* Override any GCC internal prototype to avoid an error.
       
 19744    Use char because int might match the return type of a GCC
       
 19745    builtin and then its argument prototype would still apply.  */
       
 19746 #ifdef __cplusplus
       
 19747 extern "C"
       
 19748 #endif
       
 19749 char $ac_func ();
       
 19750 /* The GNU C library defines this for functions which it implements
       
 19751     to always fail with ENOSYS.  Some functions are actually named
       
 19752     something starting with __ and the normal name is an alias.  */
       
 19753 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 19754 choke me
       
 19755 #endif
       
 19756 
       
 19757 int
       
 19758 main ()
       
 19759 {
       
 19760 return $ac_func ();
       
 19761   ;
       
 19762   return 0;
       
 19763 }
       
 19764 _ACEOF
       
 19765 rm -f conftest.$ac_objext conftest$ac_exeext
       
 19766 if { (ac_try="$ac_link"
       
 19767 case "(($ac_try" in
       
 19768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19769   *) ac_try_echo=$ac_try;;
       
 19770 esac
       
 19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19772   (eval "$ac_link") 2>conftest.er1
       
 19773   ac_status=$?
       
 19774   grep -v '^ *+' conftest.er1 >conftest.err
       
 19775   rm -f conftest.er1
       
 19776   cat conftest.err >&5
       
 19777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19778   (exit $ac_status); } && {
       
 19779 	 test -z "$ac_c_werror_flag" ||
       
 19780 	 test ! -s conftest.err
       
 19781        } && test -s conftest$ac_exeext &&
       
 19782        $as_test_x conftest$ac_exeext; then
       
 19783   eval "$as_ac_var=yes"
       
 19784 else
       
 19785   echo "$as_me: failed program was:" >&5
       
 19786 sed 's/^/| /' conftest.$ac_ext >&5
       
 19787 
       
 19788 	eval "$as_ac_var=no"
       
 19789 fi
       
 19790 
       
 19791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 19792       conftest$ac_exeext conftest.$ac_ext
       
 19793 fi
       
 19794 ac_res=`eval echo '${'$as_ac_var'}'`
       
 19795 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 19796 echo "${ECHO_T}$ac_res" >&6; }
       
 19797 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 19798   cat >>confdefs.h <<_ACEOF
       
 19799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 19800 _ACEOF
       
 19801 
       
 19802 else
       
 19803   case " $LIBOBJS " in
       
 19804   *" $ac_func.$ac_objext "* ) ;;
       
 19805   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
       
 19806  ;;
       
 19807 esac
       
 19808 
       
 19809 fi
       
 19810 done
       
 19811 
       
 19812 
       
 19813 LIBS=$LIBS_SAVE
       
 19814 
       
 19815 # check for wchar.h
       
 19816 if test "${ac_cv_header_wchar_h+set}" = set; then
       
 19817   { echo "$as_me:$LINENO: checking for wchar.h" >&5
       
 19818 echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6; }
       
 19819 if test "${ac_cv_header_wchar_h+set}" = set; then
       
 19820   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19821 fi
       
 19822 { echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
       
 19823 echo "${ECHO_T}$ac_cv_header_wchar_h" >&6; }
       
 19824 else
       
 19825   # Is the header compilable?
       
 19826 { echo "$as_me:$LINENO: checking wchar.h usability" >&5
       
 19827 echo $ECHO_N "checking wchar.h usability... $ECHO_C" >&6; }
       
 19828 cat >conftest.$ac_ext <<_ACEOF
       
 19829 /* confdefs.h.  */
       
 19830 _ACEOF
       
 19831 cat confdefs.h >>conftest.$ac_ext
       
 19832 cat >>conftest.$ac_ext <<_ACEOF
       
 19833 /* end confdefs.h.  */
       
 19834 $ac_includes_default
       
 19835 #include <wchar.h>
       
 19836 _ACEOF
       
 19837 rm -f conftest.$ac_objext
       
 19838 if { (ac_try="$ac_compile"
       
 19839 case "(($ac_try" in
       
 19840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19841   *) ac_try_echo=$ac_try;;
       
 19842 esac
       
 19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19844   (eval "$ac_compile") 2>conftest.er1
       
 19845   ac_status=$?
       
 19846   grep -v '^ *+' conftest.er1 >conftest.err
       
 19847   rm -f conftest.er1
       
 19848   cat conftest.err >&5
       
 19849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19850   (exit $ac_status); } && {
       
 19851 	 test -z "$ac_c_werror_flag" ||
       
 19852 	 test ! -s conftest.err
       
 19853        } && test -s conftest.$ac_objext; then
       
 19854   ac_header_compiler=yes
       
 19855 else
       
 19856   echo "$as_me: failed program was:" >&5
       
 19857 sed 's/^/| /' conftest.$ac_ext >&5
       
 19858 
       
 19859 	ac_header_compiler=no
       
 19860 fi
       
 19861 
       
 19862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 19863 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
 19864 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
 19865 
       
 19866 # Is the header present?
       
 19867 { echo "$as_me:$LINENO: checking wchar.h presence" >&5
       
 19868 echo $ECHO_N "checking wchar.h presence... $ECHO_C" >&6; }
       
 19869 cat >conftest.$ac_ext <<_ACEOF
       
 19870 /* confdefs.h.  */
       
 19871 _ACEOF
       
 19872 cat confdefs.h >>conftest.$ac_ext
       
 19873 cat >>conftest.$ac_ext <<_ACEOF
       
 19874 /* end confdefs.h.  */
       
 19875 #include <wchar.h>
       
 19876 _ACEOF
       
 19877 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 19878 case "(($ac_try" in
       
 19879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19880   *) ac_try_echo=$ac_try;;
       
 19881 esac
       
 19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19883   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 19884   ac_status=$?
       
 19885   grep -v '^ *+' conftest.er1 >conftest.err
       
 19886   rm -f conftest.er1
       
 19887   cat conftest.err >&5
       
 19888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 19889   (exit $ac_status); } >/dev/null && {
       
 19890 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 19891 	 test ! -s conftest.err
       
 19892        }; then
       
 19893   ac_header_preproc=yes
       
 19894 else
       
 19895   echo "$as_me: failed program was:" >&5
       
 19896 sed 's/^/| /' conftest.$ac_ext >&5
       
 19897 
       
 19898   ac_header_preproc=no
       
 19899 fi
       
 19900 
       
 19901 rm -f conftest.err conftest.$ac_ext
       
 19902 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
 19903 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
 19904 
       
 19905 # So?  What about this header?
       
 19906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
 19907   yes:no: )
       
 19908     { echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
       
 19909 echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
 19910     { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
       
 19911 echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
       
 19912     ac_header_preproc=yes
       
 19913     ;;
       
 19914   no:yes:* )
       
 19915     { echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
       
 19916 echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
       
 19917     { echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
       
 19918 echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
       
 19919     { echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
       
 19920 echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
       
 19921     { echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
       
 19922 echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
       
 19923     { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
       
 19924 echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
       
 19925     { echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
       
 19926 echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
       
 19927     ( cat <<\_ASBOX
       
 19928 ## ------------------------------------------------ ##
       
 19929 ## Report this to http://www.python.org/python-bugs ##
       
 19930 ## ------------------------------------------------ ##
       
 19931 _ASBOX
       
 19932      ) | sed "s/^/$as_me: WARNING:     /" >&2
       
 19933     ;;
       
 19934 esac
       
 19935 { echo "$as_me:$LINENO: checking for wchar.h" >&5
       
 19936 echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6; }
       
 19937 if test "${ac_cv_header_wchar_h+set}" = set; then
       
 19938   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19939 else
       
 19940   ac_cv_header_wchar_h=$ac_header_preproc
       
 19941 fi
       
 19942 { echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
       
 19943 echo "${ECHO_T}$ac_cv_header_wchar_h" >&6; }
       
 19944 
       
 19945 fi
       
 19946 if test $ac_cv_header_wchar_h = yes; then
       
 19947 
       
 19948 
       
 19949 cat >>confdefs.h <<\_ACEOF
       
 19950 #define HAVE_WCHAR_H 1
       
 19951 _ACEOF
       
 19952 
       
 19953   wchar_h="yes"
       
 19954 
       
 19955 else
       
 19956   wchar_h="no"
       
 19957 
       
 19958 fi
       
 19959 
       
 19960 
       
 19961 
       
 19962 # determine wchar_t size
       
 19963 if test "$wchar_h" = yes
       
 19964 then
       
 19965   { echo "$as_me:$LINENO: checking for wchar_t" >&5
       
 19966 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
       
 19967 if test "${ac_cv_type_wchar_t+set}" = set; then
       
 19968   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 19969 else
       
 19970   cat >conftest.$ac_ext <<_ACEOF
       
 19971 /* confdefs.h.  */
       
 19972 _ACEOF
       
 19973 cat confdefs.h >>conftest.$ac_ext
       
 19974 cat >>conftest.$ac_ext <<_ACEOF
       
 19975 /* end confdefs.h.  */
       
 19976 #include <wchar.h>
       
 19977 
       
 19978 typedef wchar_t ac__type_new_;
       
 19979 int
       
 19980 main ()
       
 19981 {
       
 19982 if ((ac__type_new_ *) 0)
       
 19983   return 0;
       
 19984 if (sizeof (ac__type_new_))
       
 19985   return 0;
       
 19986   ;
       
 19987   return 0;
       
 19988 }
       
 19989 _ACEOF
       
 19990 rm -f conftest.$ac_objext
       
 19991 if { (ac_try="$ac_compile"
       
 19992 case "(($ac_try" in
       
 19993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 19994   *) ac_try_echo=$ac_try;;
       
 19995 esac
       
 19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 19997   (eval "$ac_compile") 2>conftest.er1
       
 19998   ac_status=$?
       
 19999   grep -v '^ *+' conftest.er1 >conftest.err
       
 20000   rm -f conftest.er1
       
 20001   cat conftest.err >&5
       
 20002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20003   (exit $ac_status); } && {
       
 20004 	 test -z "$ac_c_werror_flag" ||
       
 20005 	 test ! -s conftest.err
       
 20006        } && test -s conftest.$ac_objext; then
       
 20007   ac_cv_type_wchar_t=yes
       
 20008 else
       
 20009   echo "$as_me: failed program was:" >&5
       
 20010 sed 's/^/| /' conftest.$ac_ext >&5
       
 20011 
       
 20012 	ac_cv_type_wchar_t=no
       
 20013 fi
       
 20014 
       
 20015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20016 fi
       
 20017 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
       
 20018 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
       
 20019 
       
 20020 # The cast to long int works around a bug in the HP C Compiler
       
 20021 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
       
 20022 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
       
 20023 # This bug is HP SR number 8606223364.
       
 20024 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
       
 20025 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
       
 20026 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
       
 20027   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20028 else
       
 20029   if test "$cross_compiling" = yes; then
       
 20030   # Depending upon the size, compute the lo and hi bounds.
       
 20031 cat >conftest.$ac_ext <<_ACEOF
       
 20032 /* confdefs.h.  */
       
 20033 _ACEOF
       
 20034 cat confdefs.h >>conftest.$ac_ext
       
 20035 cat >>conftest.$ac_ext <<_ACEOF
       
 20036 /* end confdefs.h.  */
       
 20037 #include <wchar.h>
       
 20038 
       
 20039    typedef wchar_t ac__type_sizeof_;
       
 20040 int
       
 20041 main ()
       
 20042 {
       
 20043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
       
 20044 test_array [0] = 0
       
 20045 
       
 20046   ;
       
 20047   return 0;
       
 20048 }
       
 20049 _ACEOF
       
 20050 rm -f conftest.$ac_objext
       
 20051 if { (ac_try="$ac_compile"
       
 20052 case "(($ac_try" in
       
 20053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20054   *) ac_try_echo=$ac_try;;
       
 20055 esac
       
 20056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20057   (eval "$ac_compile") 2>conftest.er1
       
 20058   ac_status=$?
       
 20059   grep -v '^ *+' conftest.er1 >conftest.err
       
 20060   rm -f conftest.er1
       
 20061   cat conftest.err >&5
       
 20062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20063   (exit $ac_status); } && {
       
 20064 	 test -z "$ac_c_werror_flag" ||
       
 20065 	 test ! -s conftest.err
       
 20066        } && test -s conftest.$ac_objext; then
       
 20067   ac_lo=0 ac_mid=0
       
 20068   while :; do
       
 20069     cat >conftest.$ac_ext <<_ACEOF
       
 20070 /* confdefs.h.  */
       
 20071 _ACEOF
       
 20072 cat confdefs.h >>conftest.$ac_ext
       
 20073 cat >>conftest.$ac_ext <<_ACEOF
       
 20074 /* end confdefs.h.  */
       
 20075 #include <wchar.h>
       
 20076 
       
 20077    typedef wchar_t ac__type_sizeof_;
       
 20078 int
       
 20079 main ()
       
 20080 {
       
 20081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
 20082 test_array [0] = 0
       
 20083 
       
 20084   ;
       
 20085   return 0;
       
 20086 }
       
 20087 _ACEOF
       
 20088 rm -f conftest.$ac_objext
       
 20089 if { (ac_try="$ac_compile"
       
 20090 case "(($ac_try" in
       
 20091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20092   *) ac_try_echo=$ac_try;;
       
 20093 esac
       
 20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20095   (eval "$ac_compile") 2>conftest.er1
       
 20096   ac_status=$?
       
 20097   grep -v '^ *+' conftest.er1 >conftest.err
       
 20098   rm -f conftest.er1
       
 20099   cat conftest.err >&5
       
 20100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20101   (exit $ac_status); } && {
       
 20102 	 test -z "$ac_c_werror_flag" ||
       
 20103 	 test ! -s conftest.err
       
 20104        } && test -s conftest.$ac_objext; then
       
 20105   ac_hi=$ac_mid; break
       
 20106 else
       
 20107   echo "$as_me: failed program was:" >&5
       
 20108 sed 's/^/| /' conftest.$ac_ext >&5
       
 20109 
       
 20110 	ac_lo=`expr $ac_mid + 1`
       
 20111 			if test $ac_lo -le $ac_mid; then
       
 20112 			  ac_lo= ac_hi=
       
 20113 			  break
       
 20114 			fi
       
 20115 			ac_mid=`expr 2 '*' $ac_mid + 1`
       
 20116 fi
       
 20117 
       
 20118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20119   done
       
 20120 else
       
 20121   echo "$as_me: failed program was:" >&5
       
 20122 sed 's/^/| /' conftest.$ac_ext >&5
       
 20123 
       
 20124 	cat >conftest.$ac_ext <<_ACEOF
       
 20125 /* confdefs.h.  */
       
 20126 _ACEOF
       
 20127 cat confdefs.h >>conftest.$ac_ext
       
 20128 cat >>conftest.$ac_ext <<_ACEOF
       
 20129 /* end confdefs.h.  */
       
 20130 #include <wchar.h>
       
 20131 
       
 20132    typedef wchar_t ac__type_sizeof_;
       
 20133 int
       
 20134 main ()
       
 20135 {
       
 20136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
       
 20137 test_array [0] = 0
       
 20138 
       
 20139   ;
       
 20140   return 0;
       
 20141 }
       
 20142 _ACEOF
       
 20143 rm -f conftest.$ac_objext
       
 20144 if { (ac_try="$ac_compile"
       
 20145 case "(($ac_try" in
       
 20146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20147   *) ac_try_echo=$ac_try;;
       
 20148 esac
       
 20149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20150   (eval "$ac_compile") 2>conftest.er1
       
 20151   ac_status=$?
       
 20152   grep -v '^ *+' conftest.er1 >conftest.err
       
 20153   rm -f conftest.er1
       
 20154   cat conftest.err >&5
       
 20155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20156   (exit $ac_status); } && {
       
 20157 	 test -z "$ac_c_werror_flag" ||
       
 20158 	 test ! -s conftest.err
       
 20159        } && test -s conftest.$ac_objext; then
       
 20160   ac_hi=-1 ac_mid=-1
       
 20161   while :; do
       
 20162     cat >conftest.$ac_ext <<_ACEOF
       
 20163 /* confdefs.h.  */
       
 20164 _ACEOF
       
 20165 cat confdefs.h >>conftest.$ac_ext
       
 20166 cat >>conftest.$ac_ext <<_ACEOF
       
 20167 /* end confdefs.h.  */
       
 20168 #include <wchar.h>
       
 20169 
       
 20170    typedef wchar_t ac__type_sizeof_;
       
 20171 int
       
 20172 main ()
       
 20173 {
       
 20174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
       
 20175 test_array [0] = 0
       
 20176 
       
 20177   ;
       
 20178   return 0;
       
 20179 }
       
 20180 _ACEOF
       
 20181 rm -f conftest.$ac_objext
       
 20182 if { (ac_try="$ac_compile"
       
 20183 case "(($ac_try" in
       
 20184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20185   *) ac_try_echo=$ac_try;;
       
 20186 esac
       
 20187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20188   (eval "$ac_compile") 2>conftest.er1
       
 20189   ac_status=$?
       
 20190   grep -v '^ *+' conftest.er1 >conftest.err
       
 20191   rm -f conftest.er1
       
 20192   cat conftest.err >&5
       
 20193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20194   (exit $ac_status); } && {
       
 20195 	 test -z "$ac_c_werror_flag" ||
       
 20196 	 test ! -s conftest.err
       
 20197        } && test -s conftest.$ac_objext; then
       
 20198   ac_lo=$ac_mid; break
       
 20199 else
       
 20200   echo "$as_me: failed program was:" >&5
       
 20201 sed 's/^/| /' conftest.$ac_ext >&5
       
 20202 
       
 20203 	ac_hi=`expr '(' $ac_mid ')' - 1`
       
 20204 			if test $ac_mid -le $ac_hi; then
       
 20205 			  ac_lo= ac_hi=
       
 20206 			  break
       
 20207 			fi
       
 20208 			ac_mid=`expr 2 '*' $ac_mid`
       
 20209 fi
       
 20210 
       
 20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20212   done
       
 20213 else
       
 20214   echo "$as_me: failed program was:" >&5
       
 20215 sed 's/^/| /' conftest.$ac_ext >&5
       
 20216 
       
 20217 	ac_lo= ac_hi=
       
 20218 fi
       
 20219 
       
 20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20221 fi
       
 20222 
       
 20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20224 # Binary search between lo and hi bounds.
       
 20225 while test "x$ac_lo" != "x$ac_hi"; do
       
 20226   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
       
 20227   cat >conftest.$ac_ext <<_ACEOF
       
 20228 /* confdefs.h.  */
       
 20229 _ACEOF
       
 20230 cat confdefs.h >>conftest.$ac_ext
       
 20231 cat >>conftest.$ac_ext <<_ACEOF
       
 20232 /* end confdefs.h.  */
       
 20233 #include <wchar.h>
       
 20234 
       
 20235    typedef wchar_t ac__type_sizeof_;
       
 20236 int
       
 20237 main ()
       
 20238 {
       
 20239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
       
 20240 test_array [0] = 0
       
 20241 
       
 20242   ;
       
 20243   return 0;
       
 20244 }
       
 20245 _ACEOF
       
 20246 rm -f conftest.$ac_objext
       
 20247 if { (ac_try="$ac_compile"
       
 20248 case "(($ac_try" in
       
 20249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20250   *) ac_try_echo=$ac_try;;
       
 20251 esac
       
 20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20253   (eval "$ac_compile") 2>conftest.er1
       
 20254   ac_status=$?
       
 20255   grep -v '^ *+' conftest.er1 >conftest.err
       
 20256   rm -f conftest.er1
       
 20257   cat conftest.err >&5
       
 20258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20259   (exit $ac_status); } && {
       
 20260 	 test -z "$ac_c_werror_flag" ||
       
 20261 	 test ! -s conftest.err
       
 20262        } && test -s conftest.$ac_objext; then
       
 20263   ac_hi=$ac_mid
       
 20264 else
       
 20265   echo "$as_me: failed program was:" >&5
       
 20266 sed 's/^/| /' conftest.$ac_ext >&5
       
 20267 
       
 20268 	ac_lo=`expr '(' $ac_mid ')' + 1`
       
 20269 fi
       
 20270 
       
 20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20272 done
       
 20273 case $ac_lo in
       
 20274 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
       
 20275 '') if test "$ac_cv_type_wchar_t" = yes; then
       
 20276      { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
       
 20277 See \`config.log' for more details." >&5
       
 20278 echo "$as_me: error: cannot compute sizeof (wchar_t)
       
 20279 See \`config.log' for more details." >&2;}
       
 20280    { (exit 77); exit 77; }; }
       
 20281    else
       
 20282      ac_cv_sizeof_wchar_t=0
       
 20283    fi ;;
       
 20284 esac
       
 20285 else
       
 20286   cat >conftest.$ac_ext <<_ACEOF
       
 20287 /* confdefs.h.  */
       
 20288 _ACEOF
       
 20289 cat confdefs.h >>conftest.$ac_ext
       
 20290 cat >>conftest.$ac_ext <<_ACEOF
       
 20291 /* end confdefs.h.  */
       
 20292 #include <wchar.h>
       
 20293 
       
 20294    typedef wchar_t ac__type_sizeof_;
       
 20295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 20296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
       
 20297 #include <stdio.h>
       
 20298 #include <stdlib.h>
       
 20299 int
       
 20300 main ()
       
 20301 {
       
 20302 
       
 20303   FILE *f = fopen ("conftest.val", "w");
       
 20304   if (! f)
       
 20305     return 1;
       
 20306   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
       
 20307     {
       
 20308       long int i = longval ();
       
 20309       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 20310 	return 1;
       
 20311       fprintf (f, "%ld\n", i);
       
 20312     }
       
 20313   else
       
 20314     {
       
 20315       unsigned long int i = ulongval ();
       
 20316       if (i != ((long int) (sizeof (ac__type_sizeof_))))
       
 20317 	return 1;
       
 20318       fprintf (f, "%lu\n", i);
       
 20319     }
       
 20320   return ferror (f) || fclose (f) != 0;
       
 20321 
       
 20322   ;
       
 20323   return 0;
       
 20324 }
       
 20325 _ACEOF
       
 20326 rm -f conftest$ac_exeext
       
 20327 if { (ac_try="$ac_link"
       
 20328 case "(($ac_try" in
       
 20329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20330   *) ac_try_echo=$ac_try;;
       
 20331 esac
       
 20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20333   (eval "$ac_link") 2>&5
       
 20334   ac_status=$?
       
 20335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20336   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 20337   { (case "(($ac_try" in
       
 20338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20339   *) ac_try_echo=$ac_try;;
       
 20340 esac
       
 20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20342   (eval "$ac_try") 2>&5
       
 20343   ac_status=$?
       
 20344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20345   (exit $ac_status); }; }; then
       
 20346   ac_cv_sizeof_wchar_t=`cat conftest.val`
       
 20347 else
       
 20348   echo "$as_me: program exited with status $ac_status" >&5
       
 20349 echo "$as_me: failed program was:" >&5
       
 20350 sed 's/^/| /' conftest.$ac_ext >&5
       
 20351 
       
 20352 ( exit $ac_status )
       
 20353 if test "$ac_cv_type_wchar_t" = yes; then
       
 20354      { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
       
 20355 See \`config.log' for more details." >&5
       
 20356 echo "$as_me: error: cannot compute sizeof (wchar_t)
       
 20357 See \`config.log' for more details." >&2;}
       
 20358    { (exit 77); exit 77; }; }
       
 20359    else
       
 20360      ac_cv_sizeof_wchar_t=0
       
 20361    fi
       
 20362 fi
       
 20363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 20364 fi
       
 20365 rm -f conftest.val
       
 20366 fi
       
 20367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
       
 20368 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
       
 20369 
       
 20370 
       
 20371 
       
 20372 cat >>confdefs.h <<_ACEOF
       
 20373 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
       
 20374 _ACEOF
       
 20375 
       
 20376 
       
 20377 fi
       
 20378 
       
 20379 { echo "$as_me:$LINENO: checking for UCS-4 tcl" >&5
       
 20380 echo $ECHO_N "checking for UCS-4 tcl... $ECHO_C" >&6; }
       
 20381 have_ucs4_tcl=no
       
 20382 cat >conftest.$ac_ext <<_ACEOF
       
 20383 /* confdefs.h.  */
       
 20384 _ACEOF
       
 20385 cat confdefs.h >>conftest.$ac_ext
       
 20386 cat >>conftest.$ac_ext <<_ACEOF
       
 20387 /* end confdefs.h.  */
       
 20388 
       
 20389 #include <tcl.h>
       
 20390 #if TCL_UTF_MAX != 6
       
 20391 # error "NOT UCS4_TCL"
       
 20392 #endif
       
 20393 int
       
 20394 main ()
       
 20395 {
       
 20396 
       
 20397   ;
       
 20398   return 0;
       
 20399 }
       
 20400 _ACEOF
       
 20401 rm -f conftest.$ac_objext
       
 20402 if { (ac_try="$ac_compile"
       
 20403 case "(($ac_try" in
       
 20404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20405   *) ac_try_echo=$ac_try;;
       
 20406 esac
       
 20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20408   (eval "$ac_compile") 2>conftest.er1
       
 20409   ac_status=$?
       
 20410   grep -v '^ *+' conftest.er1 >conftest.err
       
 20411   rm -f conftest.er1
       
 20412   cat conftest.err >&5
       
 20413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20414   (exit $ac_status); } && {
       
 20415 	 test -z "$ac_c_werror_flag" ||
       
 20416 	 test ! -s conftest.err
       
 20417        } && test -s conftest.$ac_objext; then
       
 20418 
       
 20419 
       
 20420 cat >>confdefs.h <<\_ACEOF
       
 20421 #define HAVE_UCS4_TCL 1
       
 20422 _ACEOF
       
 20423 
       
 20424   have_ucs4_tcl=yes
       
 20425 
       
 20426 else
       
 20427   echo "$as_me: failed program was:" >&5
       
 20428 sed 's/^/| /' conftest.$ac_ext >&5
       
 20429 
       
 20430 
       
 20431 fi
       
 20432 
       
 20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20434 { echo "$as_me:$LINENO: result: $have_ucs4_tcl" >&5
       
 20435 echo "${ECHO_T}$have_ucs4_tcl" >&6; }
       
 20436 
       
 20437 # check whether wchar_t is signed or not
       
 20438 if test "$wchar_h" = yes
       
 20439 then
       
 20440   # check whether wchar_t is signed or not
       
 20441   { echo "$as_me:$LINENO: checking whether wchar_t is signed" >&5
       
 20442 echo $ECHO_N "checking whether wchar_t is signed... $ECHO_C" >&6; }
       
 20443   if test "${ac_cv_wchar_t_signed+set}" = set; then
       
 20444   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20445 else
       
 20446 
       
 20447   if test "$cross_compiling" = yes; then
       
 20448   ac_cv_wchar_t_signed=yes
       
 20449 else
       
 20450   cat >conftest.$ac_ext <<_ACEOF
       
 20451 /* confdefs.h.  */
       
 20452 _ACEOF
       
 20453 cat confdefs.h >>conftest.$ac_ext
       
 20454 cat >>conftest.$ac_ext <<_ACEOF
       
 20455 /* end confdefs.h.  */
       
 20456 
       
 20457   #include <wchar.h>
       
 20458   int main()
       
 20459   {
       
 20460 	/* Success: exit code 0 */
       
 20461         exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
       
 20462   }
       
 20463 
       
 20464 _ACEOF
       
 20465 rm -f conftest$ac_exeext
       
 20466 if { (ac_try="$ac_link"
       
 20467 case "(($ac_try" in
       
 20468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20469   *) ac_try_echo=$ac_try;;
       
 20470 esac
       
 20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20472   (eval "$ac_link") 2>&5
       
 20473   ac_status=$?
       
 20474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20475   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 20476   { (case "(($ac_try" in
       
 20477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20478   *) ac_try_echo=$ac_try;;
       
 20479 esac
       
 20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20481   (eval "$ac_try") 2>&5
       
 20482   ac_status=$?
       
 20483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20484   (exit $ac_status); }; }; then
       
 20485   ac_cv_wchar_t_signed=yes
       
 20486 else
       
 20487   echo "$as_me: program exited with status $ac_status" >&5
       
 20488 echo "$as_me: failed program was:" >&5
       
 20489 sed 's/^/| /' conftest.$ac_ext >&5
       
 20490 
       
 20491 ( exit $ac_status )
       
 20492 ac_cv_wchar_t_signed=no
       
 20493 fi
       
 20494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 20495 fi
       
 20496 
       
 20497 
       
 20498 fi
       
 20499 
       
 20500   { echo "$as_me:$LINENO: result: $ac_cv_wchar_t_signed" >&5
       
 20501 echo "${ECHO_T}$ac_cv_wchar_t_signed" >&6; }
       
 20502 fi
       
 20503 
       
 20504 { echo "$as_me:$LINENO: checking what type to use for unicode" >&5
       
 20505 echo $ECHO_N "checking what type to use for unicode... $ECHO_C" >&6; }
       
 20506 # Check whether --enable-unicode was given.
       
 20507 if test "${enable_unicode+set}" = set; then
       
 20508   enableval=$enable_unicode;
       
 20509 else
       
 20510   enable_unicode=yes
       
 20511 fi
       
 20512 
       
 20513 
       
 20514 if test $enable_unicode = yes
       
 20515 then
       
 20516   # Without any arguments, Py_UNICODE defaults to two-byte mode
       
 20517   case "$have_ucs4_tcl" in
       
 20518   yes) enable_unicode="ucs4"
       
 20519        ;;
       
 20520   *)   enable_unicode="ucs2"
       
 20521        ;;
       
 20522   esac
       
 20523 fi
       
 20524 
       
 20525 
       
 20526 
       
 20527 case "$enable_unicode" in
       
 20528 ucs2) unicode_size="2"
       
 20529       cat >>confdefs.h <<\_ACEOF
       
 20530 #define Py_UNICODE_SIZE 2
       
 20531 _ACEOF
       
 20532 
       
 20533       ;;
       
 20534 ucs4) unicode_size="4"
       
 20535       cat >>confdefs.h <<\_ACEOF
       
 20536 #define Py_UNICODE_SIZE 4
       
 20537 _ACEOF
       
 20538 
       
 20539       ;;
       
 20540 esac
       
 20541 
       
 20542 
       
 20543 
       
 20544 
       
 20545 
       
 20546 if test "$enable_unicode" = "no"
       
 20547 then
       
 20548   UNICODE_OBJS=""
       
 20549   { echo "$as_me:$LINENO: result: not used" >&5
       
 20550 echo "${ECHO_T}not used" >&6; }
       
 20551 else
       
 20552   UNICODE_OBJS="Objects/unicodeobject.o Objects/unicodectype.o"
       
 20553 
       
 20554 cat >>confdefs.h <<\_ACEOF
       
 20555 #define Py_USING_UNICODE 1
       
 20556 _ACEOF
       
 20557 
       
 20558 
       
 20559   # wchar_t is only usable if it maps to an unsigned type
       
 20560   if test "$unicode_size" = "$ac_cv_sizeof_wchar_t" \
       
 20561           -a "$ac_cv_wchar_t_signed" = "no"
       
 20562   then
       
 20563     PY_UNICODE_TYPE="wchar_t"
       
 20564 
       
 20565 cat >>confdefs.h <<\_ACEOF
       
 20566 #define HAVE_USABLE_WCHAR_T 1
       
 20567 _ACEOF
       
 20568 
       
 20569     cat >>confdefs.h <<\_ACEOF
       
 20570 #define PY_UNICODE_TYPE wchar_t
       
 20571 _ACEOF
       
 20572 
       
 20573   elif test "$ac_cv_sizeof_short" = "$unicode_size"
       
 20574   then
       
 20575        PY_UNICODE_TYPE="unsigned short"
       
 20576        cat >>confdefs.h <<\_ACEOF
       
 20577 #define PY_UNICODE_TYPE unsigned short
       
 20578 _ACEOF
       
 20579 
       
 20580   elif test "$ac_cv_sizeof_long" = "$unicode_size"
       
 20581   then
       
 20582        PY_UNICODE_TYPE="unsigned long"
       
 20583        cat >>confdefs.h <<\_ACEOF
       
 20584 #define PY_UNICODE_TYPE unsigned long
       
 20585 _ACEOF
       
 20586 
       
 20587   else
       
 20588        PY_UNICODE_TYPE="no type found"
       
 20589   fi
       
 20590   { echo "$as_me:$LINENO: result: $PY_UNICODE_TYPE" >&5
       
 20591 echo "${ECHO_T}$PY_UNICODE_TYPE" >&6; }
       
 20592 fi
       
 20593 
       
 20594 # check for endianness
       
 20595 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
       
 20596 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
       
 20597 if test "${ac_cv_c_bigendian+set}" = set; then
       
 20598   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20599 else
       
 20600   # See if sys/param.h defines the BYTE_ORDER macro.
       
 20601 cat >conftest.$ac_ext <<_ACEOF
       
 20602 /* confdefs.h.  */
       
 20603 _ACEOF
       
 20604 cat confdefs.h >>conftest.$ac_ext
       
 20605 cat >>conftest.$ac_ext <<_ACEOF
       
 20606 /* end confdefs.h.  */
       
 20607 #include <sys/types.h>
       
 20608 #include <sys/param.h>
       
 20609 
       
 20610 int
       
 20611 main ()
       
 20612 {
       
 20613 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
       
 20614 	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
       
 20615  bogus endian macros
       
 20616 #endif
       
 20617 
       
 20618   ;
       
 20619   return 0;
       
 20620 }
       
 20621 _ACEOF
       
 20622 rm -f conftest.$ac_objext
       
 20623 if { (ac_try="$ac_compile"
       
 20624 case "(($ac_try" in
       
 20625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20626   *) ac_try_echo=$ac_try;;
       
 20627 esac
       
 20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20629   (eval "$ac_compile") 2>conftest.er1
       
 20630   ac_status=$?
       
 20631   grep -v '^ *+' conftest.er1 >conftest.err
       
 20632   rm -f conftest.er1
       
 20633   cat conftest.err >&5
       
 20634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20635   (exit $ac_status); } && {
       
 20636 	 test -z "$ac_c_werror_flag" ||
       
 20637 	 test ! -s conftest.err
       
 20638        } && test -s conftest.$ac_objext; then
       
 20639   # It does; now see whether it defined to BIG_ENDIAN or not.
       
 20640 cat >conftest.$ac_ext <<_ACEOF
       
 20641 /* confdefs.h.  */
       
 20642 _ACEOF
       
 20643 cat confdefs.h >>conftest.$ac_ext
       
 20644 cat >>conftest.$ac_ext <<_ACEOF
       
 20645 /* end confdefs.h.  */
       
 20646 #include <sys/types.h>
       
 20647 #include <sys/param.h>
       
 20648 
       
 20649 int
       
 20650 main ()
       
 20651 {
       
 20652 #if BYTE_ORDER != BIG_ENDIAN
       
 20653  not big endian
       
 20654 #endif
       
 20655 
       
 20656   ;
       
 20657   return 0;
       
 20658 }
       
 20659 _ACEOF
       
 20660 rm -f conftest.$ac_objext
       
 20661 if { (ac_try="$ac_compile"
       
 20662 case "(($ac_try" in
       
 20663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20664   *) ac_try_echo=$ac_try;;
       
 20665 esac
       
 20666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20667   (eval "$ac_compile") 2>conftest.er1
       
 20668   ac_status=$?
       
 20669   grep -v '^ *+' conftest.er1 >conftest.err
       
 20670   rm -f conftest.er1
       
 20671   cat conftest.err >&5
       
 20672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20673   (exit $ac_status); } && {
       
 20674 	 test -z "$ac_c_werror_flag" ||
       
 20675 	 test ! -s conftest.err
       
 20676        } && test -s conftest.$ac_objext; then
       
 20677   ac_cv_c_bigendian=yes
       
 20678 else
       
 20679   echo "$as_me: failed program was:" >&5
       
 20680 sed 's/^/| /' conftest.$ac_ext >&5
       
 20681 
       
 20682 	ac_cv_c_bigendian=no
       
 20683 fi
       
 20684 
       
 20685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20686 else
       
 20687   echo "$as_me: failed program was:" >&5
       
 20688 sed 's/^/| /' conftest.$ac_ext >&5
       
 20689 
       
 20690 	# It does not; compile a test program.
       
 20691 if test "$cross_compiling" = yes; then
       
 20692   # try to guess the endianness by grepping values into an object file
       
 20693   ac_cv_c_bigendian=unknown
       
 20694   cat >conftest.$ac_ext <<_ACEOF
       
 20695 /* confdefs.h.  */
       
 20696 _ACEOF
       
 20697 cat confdefs.h >>conftest.$ac_ext
       
 20698 cat >>conftest.$ac_ext <<_ACEOF
       
 20699 /* end confdefs.h.  */
       
 20700 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
       
 20701 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
       
 20702 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
       
 20703 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
       
 20704 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
       
 20705 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
       
 20706 int
       
 20707 main ()
       
 20708 {
       
 20709  _ascii (); _ebcdic ();
       
 20710   ;
       
 20711   return 0;
       
 20712 }
       
 20713 _ACEOF
       
 20714 rm -f conftest.$ac_objext
       
 20715 if { (ac_try="$ac_compile"
       
 20716 case "(($ac_try" in
       
 20717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20718   *) ac_try_echo=$ac_try;;
       
 20719 esac
       
 20720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20721   (eval "$ac_compile") 2>conftest.er1
       
 20722   ac_status=$?
       
 20723   grep -v '^ *+' conftest.er1 >conftest.err
       
 20724   rm -f conftest.er1
       
 20725   cat conftest.err >&5
       
 20726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20727   (exit $ac_status); } && {
       
 20728 	 test -z "$ac_c_werror_flag" ||
       
 20729 	 test ! -s conftest.err
       
 20730        } && test -s conftest.$ac_objext; then
       
 20731   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
       
 20732   ac_cv_c_bigendian=yes
       
 20733 fi
       
 20734 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
       
 20735   if test "$ac_cv_c_bigendian" = unknown; then
       
 20736     ac_cv_c_bigendian=no
       
 20737   else
       
 20738     # finding both strings is unlikely to happen, but who knows?
       
 20739     ac_cv_c_bigendian=unknown
       
 20740   fi
       
 20741 fi
       
 20742 else
       
 20743   echo "$as_me: failed program was:" >&5
       
 20744 sed 's/^/| /' conftest.$ac_ext >&5
       
 20745 
       
 20746 
       
 20747 fi
       
 20748 
       
 20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20750 else
       
 20751   cat >conftest.$ac_ext <<_ACEOF
       
 20752 /* confdefs.h.  */
       
 20753 _ACEOF
       
 20754 cat confdefs.h >>conftest.$ac_ext
       
 20755 cat >>conftest.$ac_ext <<_ACEOF
       
 20756 /* end confdefs.h.  */
       
 20757 $ac_includes_default
       
 20758 int
       
 20759 main ()
       
 20760 {
       
 20761 
       
 20762   /* Are we little or big endian?  From Harbison&Steele.  */
       
 20763   union
       
 20764   {
       
 20765     long int l;
       
 20766     char c[sizeof (long int)];
       
 20767   } u;
       
 20768   u.l = 1;
       
 20769   return u.c[sizeof (long int) - 1] == 1;
       
 20770 
       
 20771   ;
       
 20772   return 0;
       
 20773 }
       
 20774 _ACEOF
       
 20775 rm -f conftest$ac_exeext
       
 20776 if { (ac_try="$ac_link"
       
 20777 case "(($ac_try" in
       
 20778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20779   *) ac_try_echo=$ac_try;;
       
 20780 esac
       
 20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20782   (eval "$ac_link") 2>&5
       
 20783   ac_status=$?
       
 20784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20785   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 20786   { (case "(($ac_try" in
       
 20787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20788   *) ac_try_echo=$ac_try;;
       
 20789 esac
       
 20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20791   (eval "$ac_try") 2>&5
       
 20792   ac_status=$?
       
 20793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20794   (exit $ac_status); }; }; then
       
 20795   ac_cv_c_bigendian=no
       
 20796 else
       
 20797   echo "$as_me: program exited with status $ac_status" >&5
       
 20798 echo "$as_me: failed program was:" >&5
       
 20799 sed 's/^/| /' conftest.$ac_ext >&5
       
 20800 
       
 20801 ( exit $ac_status )
       
 20802 ac_cv_c_bigendian=yes
       
 20803 fi
       
 20804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 20805 fi
       
 20806 
       
 20807 
       
 20808 fi
       
 20809 
       
 20810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20811 fi
       
 20812 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
       
 20813 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
       
 20814 case $ac_cv_c_bigendian in
       
 20815   yes)
       
 20816 
       
 20817 cat >>confdefs.h <<\_ACEOF
       
 20818 #define WORDS_BIGENDIAN 1
       
 20819 _ACEOF
       
 20820  ;;
       
 20821   no)
       
 20822      ;;
       
 20823   *)
       
 20824     { { echo "$as_me:$LINENO: error: unknown endianness
       
 20825 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
       
 20826 echo "$as_me: error: unknown endianness
       
 20827 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
       
 20828    { (exit 1); exit 1; }; } ;;
       
 20829 esac
       
 20830 
       
 20831 
       
 20832 
       
 20833 
       
 20834 # Check whether right shifting a negative integer extends the sign bit
       
 20835 # or fills with zeros (like the Cray J90, according to Tim Peters).
       
 20836 { echo "$as_me:$LINENO: checking whether right shift extends the sign bit" >&5
       
 20837 echo $ECHO_N "checking whether right shift extends the sign bit... $ECHO_C" >&6; }
       
 20838 if test "${ac_cv_rshift_extends_sign+set}" = set; then
       
 20839   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20840 else
       
 20841 
       
 20842 if test "$cross_compiling" = yes; then
       
 20843   ac_cv_rshift_extends_sign=yes
       
 20844 else
       
 20845   cat >conftest.$ac_ext <<_ACEOF
       
 20846 /* confdefs.h.  */
       
 20847 _ACEOF
       
 20848 cat confdefs.h >>conftest.$ac_ext
       
 20849 cat >>conftest.$ac_ext <<_ACEOF
       
 20850 /* end confdefs.h.  */
       
 20851 
       
 20852 int main()
       
 20853 {
       
 20854 	exit(((-1)>>3 == -1) ? 0 : 1);
       
 20855 }
       
 20856 
       
 20857 _ACEOF
       
 20858 rm -f conftest$ac_exeext
       
 20859 if { (ac_try="$ac_link"
       
 20860 case "(($ac_try" in
       
 20861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20862   *) ac_try_echo=$ac_try;;
       
 20863 esac
       
 20864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20865   (eval "$ac_link") 2>&5
       
 20866   ac_status=$?
       
 20867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20868   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 20869   { (case "(($ac_try" in
       
 20870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20871   *) ac_try_echo=$ac_try;;
       
 20872 esac
       
 20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20874   (eval "$ac_try") 2>&5
       
 20875   ac_status=$?
       
 20876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20877   (exit $ac_status); }; }; then
       
 20878   ac_cv_rshift_extends_sign=yes
       
 20879 else
       
 20880   echo "$as_me: program exited with status $ac_status" >&5
       
 20881 echo "$as_me: failed program was:" >&5
       
 20882 sed 's/^/| /' conftest.$ac_ext >&5
       
 20883 
       
 20884 ( exit $ac_status )
       
 20885 ac_cv_rshift_extends_sign=no
       
 20886 fi
       
 20887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 20888 fi
       
 20889 
       
 20890 
       
 20891 fi
       
 20892 
       
 20893 { echo "$as_me:$LINENO: result: $ac_cv_rshift_extends_sign" >&5
       
 20894 echo "${ECHO_T}$ac_cv_rshift_extends_sign" >&6; }
       
 20895 if test "$ac_cv_rshift_extends_sign" = no
       
 20896 then
       
 20897 
       
 20898 cat >>confdefs.h <<\_ACEOF
       
 20899 #define SIGNED_RIGHT_SHIFT_ZERO_FILLS 1
       
 20900 _ACEOF
       
 20901 
       
 20902 fi
       
 20903 
       
 20904 # check for getc_unlocked and related locking functions
       
 20905 { echo "$as_me:$LINENO: checking for getc_unlocked() and friends" >&5
       
 20906 echo $ECHO_N "checking for getc_unlocked() and friends... $ECHO_C" >&6; }
       
 20907 if test "${ac_cv_have_getc_unlocked+set}" = set; then
       
 20908   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20909 else
       
 20910 
       
 20911 cat >conftest.$ac_ext <<_ACEOF
       
 20912 /* confdefs.h.  */
       
 20913 _ACEOF
       
 20914 cat confdefs.h >>conftest.$ac_ext
       
 20915 cat >>conftest.$ac_ext <<_ACEOF
       
 20916 /* end confdefs.h.  */
       
 20917 #include <stdio.h>
       
 20918 int
       
 20919 main ()
       
 20920 {
       
 20921 
       
 20922 	FILE *f = fopen("/dev/null", "r");
       
 20923 	flockfile(f);
       
 20924 	getc_unlocked(f);
       
 20925 	funlockfile(f);
       
 20926 
       
 20927   ;
       
 20928   return 0;
       
 20929 }
       
 20930 _ACEOF
       
 20931 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20932 if { (ac_try="$ac_link"
       
 20933 case "(($ac_try" in
       
 20934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20935   *) ac_try_echo=$ac_try;;
       
 20936 esac
       
 20937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20938   (eval "$ac_link") 2>conftest.er1
       
 20939   ac_status=$?
       
 20940   grep -v '^ *+' conftest.er1 >conftest.err
       
 20941   rm -f conftest.er1
       
 20942   cat conftest.err >&5
       
 20943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20944   (exit $ac_status); } && {
       
 20945 	 test -z "$ac_c_werror_flag" ||
       
 20946 	 test ! -s conftest.err
       
 20947        } && test -s conftest$ac_exeext &&
       
 20948        $as_test_x conftest$ac_exeext; then
       
 20949   ac_cv_have_getc_unlocked=yes
       
 20950 else
       
 20951   echo "$as_me: failed program was:" >&5
       
 20952 sed 's/^/| /' conftest.$ac_ext >&5
       
 20953 
       
 20954 	ac_cv_have_getc_unlocked=no
       
 20955 fi
       
 20956 
       
 20957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 20958       conftest$ac_exeext conftest.$ac_ext
       
 20959 fi
       
 20960 
       
 20961 { echo "$as_me:$LINENO: result: $ac_cv_have_getc_unlocked" >&5
       
 20962 echo "${ECHO_T}$ac_cv_have_getc_unlocked" >&6; }
       
 20963 if test "$ac_cv_have_getc_unlocked" = yes
       
 20964 then
       
 20965 
       
 20966 cat >>confdefs.h <<\_ACEOF
       
 20967 #define HAVE_GETC_UNLOCKED 1
       
 20968 _ACEOF
       
 20969 
       
 20970 fi
       
 20971 
       
 20972 # check where readline lives
       
 20973 # save the value of LIBS so we don't actually link Python with readline
       
 20974 LIBS_no_readline=$LIBS
       
 20975 
       
 20976 # On some systems we need to link readline to a termcap compatible
       
 20977 # library.  NOTE: Keep the precedence of listed libraries synchronised
       
 20978 # with setup.py.
       
 20979 py_cv_lib_readline=no
       
 20980 { echo "$as_me:$LINENO: checking how to link readline libs" >&5
       
 20981 echo $ECHO_N "checking how to link readline libs... $ECHO_C" >&6; }
       
 20982 for py_libtermcap in "" ncursesw ncurses curses termcap; do
       
 20983   if test -z "$py_libtermcap"; then
       
 20984     READLINE_LIBS="-lreadline"
       
 20985   else
       
 20986     READLINE_LIBS="-lreadline -l$py_libtermcap"
       
 20987   fi
       
 20988   LIBS="$READLINE_LIBS $LIBS_no_readline"
       
 20989   cat >conftest.$ac_ext <<_ACEOF
       
 20990 /* confdefs.h.  */
       
 20991 _ACEOF
       
 20992 cat confdefs.h >>conftest.$ac_ext
       
 20993 cat >>conftest.$ac_ext <<_ACEOF
       
 20994 /* end confdefs.h.  */
       
 20995 
       
 20996 /* Override any GCC internal prototype to avoid an error.
       
 20997    Use char because int might match the return type of a GCC
       
 20998    builtin and then its argument prototype would still apply.  */
       
 20999 #ifdef __cplusplus
       
 21000 extern "C"
       
 21001 #endif
       
 21002 char readline ();
       
 21003 int
       
 21004 main ()
       
 21005 {
       
 21006 return readline ();
       
 21007   ;
       
 21008   return 0;
       
 21009 }
       
 21010 _ACEOF
       
 21011 rm -f conftest.$ac_objext conftest$ac_exeext
       
 21012 if { (ac_try="$ac_link"
       
 21013 case "(($ac_try" in
       
 21014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21015   *) ac_try_echo=$ac_try;;
       
 21016 esac
       
 21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21018   (eval "$ac_link") 2>conftest.er1
       
 21019   ac_status=$?
       
 21020   grep -v '^ *+' conftest.er1 >conftest.err
       
 21021   rm -f conftest.er1
       
 21022   cat conftest.err >&5
       
 21023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21024   (exit $ac_status); } && {
       
 21025 	 test -z "$ac_c_werror_flag" ||
       
 21026 	 test ! -s conftest.err
       
 21027        } && test -s conftest$ac_exeext &&
       
 21028        $as_test_x conftest$ac_exeext; then
       
 21029   py_cv_lib_readline=yes
       
 21030 else
       
 21031   echo "$as_me: failed program was:" >&5
       
 21032 sed 's/^/| /' conftest.$ac_ext >&5
       
 21033 
       
 21034 
       
 21035 fi
       
 21036 
       
 21037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 21038       conftest$ac_exeext conftest.$ac_ext
       
 21039   if test $py_cv_lib_readline = yes; then
       
 21040     break
       
 21041   fi
       
 21042 done
       
 21043 # Uncomment this line if you want to use READINE_LIBS in Makefile or scripts
       
 21044 #AC_SUBST([READLINE_LIBS])
       
 21045 if test $py_cv_lib_readline = no; then
       
 21046   { echo "$as_me:$LINENO: result: none" >&5
       
 21047 echo "${ECHO_T}none" >&6; }
       
 21048 else
       
 21049   { echo "$as_me:$LINENO: result: $READLINE_LIBS" >&5
       
 21050 echo "${ECHO_T}$READLINE_LIBS" >&6; }
       
 21051 
       
 21052 cat >>confdefs.h <<\_ACEOF
       
 21053 #define HAVE_LIBREADLINE 1
       
 21054 _ACEOF
       
 21055 
       
 21056 fi
       
 21057 
       
 21058 # check for readline 2.1
       
 21059 { echo "$as_me:$LINENO: checking for rl_callback_handler_install in -lreadline" >&5
       
 21060 echo $ECHO_N "checking for rl_callback_handler_install in -lreadline... $ECHO_C" >&6; }
       
 21061 if test "${ac_cv_lib_readline_rl_callback_handler_install+set}" = set; then
       
 21062   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21063 else
       
 21064   ac_check_lib_save_LIBS=$LIBS
       
 21065 LIBS="-lreadline $READLINE_LIBS $LIBS"
       
 21066 cat >conftest.$ac_ext <<_ACEOF
       
 21067 /* confdefs.h.  */
       
 21068 _ACEOF
       
 21069 cat confdefs.h >>conftest.$ac_ext
       
 21070 cat >>conftest.$ac_ext <<_ACEOF
       
 21071 /* end confdefs.h.  */
       
 21072 
       
 21073 /* Override any GCC internal prototype to avoid an error.
       
 21074    Use char because int might match the return type of a GCC
       
 21075    builtin and then its argument prototype would still apply.  */
       
 21076 #ifdef __cplusplus
       
 21077 extern "C"
       
 21078 #endif
       
 21079 char rl_callback_handler_install ();
       
 21080 int
       
 21081 main ()
       
 21082 {
       
 21083 return rl_callback_handler_install ();
       
 21084   ;
       
 21085   return 0;
       
 21086 }
       
 21087 _ACEOF
       
 21088 rm -f conftest.$ac_objext conftest$ac_exeext
       
 21089 if { (ac_try="$ac_link"
       
 21090 case "(($ac_try" in
       
 21091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21092   *) ac_try_echo=$ac_try;;
       
 21093 esac
       
 21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21095   (eval "$ac_link") 2>conftest.er1
       
 21096   ac_status=$?
       
 21097   grep -v '^ *+' conftest.er1 >conftest.err
       
 21098   rm -f conftest.er1
       
 21099   cat conftest.err >&5
       
 21100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21101   (exit $ac_status); } && {
       
 21102 	 test -z "$ac_c_werror_flag" ||
       
 21103 	 test ! -s conftest.err
       
 21104        } && test -s conftest$ac_exeext &&
       
 21105        $as_test_x conftest$ac_exeext; then
       
 21106   ac_cv_lib_readline_rl_callback_handler_install=yes
       
 21107 else
       
 21108   echo "$as_me: failed program was:" >&5
       
 21109 sed 's/^/| /' conftest.$ac_ext >&5
       
 21110 
       
 21111 	ac_cv_lib_readline_rl_callback_handler_install=no
       
 21112 fi
       
 21113 
       
 21114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 21115       conftest$ac_exeext conftest.$ac_ext
       
 21116 LIBS=$ac_check_lib_save_LIBS
       
 21117 fi
       
 21118 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_callback_handler_install" >&5
       
 21119 echo "${ECHO_T}$ac_cv_lib_readline_rl_callback_handler_install" >&6; }
       
 21120 if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
       
 21121 
       
 21122 cat >>confdefs.h <<\_ACEOF
       
 21123 #define HAVE_RL_CALLBACK 1
       
 21124 _ACEOF
       
 21125 
       
 21126 fi
       
 21127 
       
 21128 
       
 21129 # check for readline 2.2
       
 21130 cat >conftest.$ac_ext <<_ACEOF
       
 21131 /* confdefs.h.  */
       
 21132 _ACEOF
       
 21133 cat confdefs.h >>conftest.$ac_ext
       
 21134 cat >>conftest.$ac_ext <<_ACEOF
       
 21135 /* end confdefs.h.  */
       
 21136 #include <readline/readline.h>
       
 21137 _ACEOF
       
 21138 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 21139 case "(($ac_try" in
       
 21140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21141   *) ac_try_echo=$ac_try;;
       
 21142 esac
       
 21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21144   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 21145   ac_status=$?
       
 21146   grep -v '^ *+' conftest.er1 >conftest.err
       
 21147   rm -f conftest.er1
       
 21148   cat conftest.err >&5
       
 21149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21150   (exit $ac_status); } >/dev/null && {
       
 21151 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 21152 	 test ! -s conftest.err
       
 21153        }; then
       
 21154   have_readline=yes
       
 21155 else
       
 21156   echo "$as_me: failed program was:" >&5
       
 21157 sed 's/^/| /' conftest.$ac_ext >&5
       
 21158 
       
 21159   have_readline=no
       
 21160 fi
       
 21161 
       
 21162 rm -f conftest.err conftest.$ac_ext
       
 21163 if test $have_readline = yes
       
 21164 then
       
 21165   cat >conftest.$ac_ext <<_ACEOF
       
 21166 /* confdefs.h.  */
       
 21167 _ACEOF
       
 21168 cat confdefs.h >>conftest.$ac_ext
       
 21169 cat >>conftest.$ac_ext <<_ACEOF
       
 21170 /* end confdefs.h.  */
       
 21171 #include <readline/readline.h>
       
 21172 
       
 21173 _ACEOF
       
 21174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 21175   $EGREP "extern int rl_completion_append_character;" >/dev/null 2>&1; then
       
 21176 
       
 21177 cat >>confdefs.h <<\_ACEOF
       
 21178 #define HAVE_RL_COMPLETION_APPEND_CHARACTER 1
       
 21179 _ACEOF
       
 21180 
       
 21181 fi
       
 21182 rm -f conftest*
       
 21183 
       
 21184 fi
       
 21185 
       
 21186 # check for readline 4.0
       
 21187 { echo "$as_me:$LINENO: checking for rl_pre_input_hook in -lreadline" >&5
       
 21188 echo $ECHO_N "checking for rl_pre_input_hook in -lreadline... $ECHO_C" >&6; }
       
 21189 if test "${ac_cv_lib_readline_rl_pre_input_hook+set}" = set; then
       
 21190   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21191 else
       
 21192   ac_check_lib_save_LIBS=$LIBS
       
 21193 LIBS="-lreadline $READLINE_LIBS $LIBS"
       
 21194 cat >conftest.$ac_ext <<_ACEOF
       
 21195 /* confdefs.h.  */
       
 21196 _ACEOF
       
 21197 cat confdefs.h >>conftest.$ac_ext
       
 21198 cat >>conftest.$ac_ext <<_ACEOF
       
 21199 /* end confdefs.h.  */
       
 21200 
       
 21201 /* Override any GCC internal prototype to avoid an error.
       
 21202    Use char because int might match the return type of a GCC
       
 21203    builtin and then its argument prototype would still apply.  */
       
 21204 #ifdef __cplusplus
       
 21205 extern "C"
       
 21206 #endif
       
 21207 char rl_pre_input_hook ();
       
 21208 int
       
 21209 main ()
       
 21210 {
       
 21211 return rl_pre_input_hook ();
       
 21212   ;
       
 21213   return 0;
       
 21214 }
       
 21215 _ACEOF
       
 21216 rm -f conftest.$ac_objext conftest$ac_exeext
       
 21217 if { (ac_try="$ac_link"
       
 21218 case "(($ac_try" in
       
 21219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21220   *) ac_try_echo=$ac_try;;
       
 21221 esac
       
 21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21223   (eval "$ac_link") 2>conftest.er1
       
 21224   ac_status=$?
       
 21225   grep -v '^ *+' conftest.er1 >conftest.err
       
 21226   rm -f conftest.er1
       
 21227   cat conftest.err >&5
       
 21228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21229   (exit $ac_status); } && {
       
 21230 	 test -z "$ac_c_werror_flag" ||
       
 21231 	 test ! -s conftest.err
       
 21232        } && test -s conftest$ac_exeext &&
       
 21233        $as_test_x conftest$ac_exeext; then
       
 21234   ac_cv_lib_readline_rl_pre_input_hook=yes
       
 21235 else
       
 21236   echo "$as_me: failed program was:" >&5
       
 21237 sed 's/^/| /' conftest.$ac_ext >&5
       
 21238 
       
 21239 	ac_cv_lib_readline_rl_pre_input_hook=no
       
 21240 fi
       
 21241 
       
 21242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 21243       conftest$ac_exeext conftest.$ac_ext
       
 21244 LIBS=$ac_check_lib_save_LIBS
       
 21245 fi
       
 21246 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_pre_input_hook" >&5
       
 21247 echo "${ECHO_T}$ac_cv_lib_readline_rl_pre_input_hook" >&6; }
       
 21248 if test $ac_cv_lib_readline_rl_pre_input_hook = yes; then
       
 21249 
       
 21250 cat >>confdefs.h <<\_ACEOF
       
 21251 #define HAVE_RL_PRE_INPUT_HOOK 1
       
 21252 _ACEOF
       
 21253 
       
 21254 fi
       
 21255 
       
 21256 
       
 21257 # check for readline 4.2
       
 21258 { echo "$as_me:$LINENO: checking for rl_completion_matches in -lreadline" >&5
       
 21259 echo $ECHO_N "checking for rl_completion_matches in -lreadline... $ECHO_C" >&6; }
       
 21260 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then
       
 21261   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21262 else
       
 21263   ac_check_lib_save_LIBS=$LIBS
       
 21264 LIBS="-lreadline $READLINE_LIBS $LIBS"
       
 21265 cat >conftest.$ac_ext <<_ACEOF
       
 21266 /* confdefs.h.  */
       
 21267 _ACEOF
       
 21268 cat confdefs.h >>conftest.$ac_ext
       
 21269 cat >>conftest.$ac_ext <<_ACEOF
       
 21270 /* end confdefs.h.  */
       
 21271 
       
 21272 /* Override any GCC internal prototype to avoid an error.
       
 21273    Use char because int might match the return type of a GCC
       
 21274    builtin and then its argument prototype would still apply.  */
       
 21275 #ifdef __cplusplus
       
 21276 extern "C"
       
 21277 #endif
       
 21278 char rl_completion_matches ();
       
 21279 int
       
 21280 main ()
       
 21281 {
       
 21282 return rl_completion_matches ();
       
 21283   ;
       
 21284   return 0;
       
 21285 }
       
 21286 _ACEOF
       
 21287 rm -f conftest.$ac_objext conftest$ac_exeext
       
 21288 if { (ac_try="$ac_link"
       
 21289 case "(($ac_try" in
       
 21290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21291   *) ac_try_echo=$ac_try;;
       
 21292 esac
       
 21293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21294   (eval "$ac_link") 2>conftest.er1
       
 21295   ac_status=$?
       
 21296   grep -v '^ *+' conftest.er1 >conftest.err
       
 21297   rm -f conftest.er1
       
 21298   cat conftest.err >&5
       
 21299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21300   (exit $ac_status); } && {
       
 21301 	 test -z "$ac_c_werror_flag" ||
       
 21302 	 test ! -s conftest.err
       
 21303        } && test -s conftest$ac_exeext &&
       
 21304        $as_test_x conftest$ac_exeext; then
       
 21305   ac_cv_lib_readline_rl_completion_matches=yes
       
 21306 else
       
 21307   echo "$as_me: failed program was:" >&5
       
 21308 sed 's/^/| /' conftest.$ac_ext >&5
       
 21309 
       
 21310 	ac_cv_lib_readline_rl_completion_matches=no
       
 21311 fi
       
 21312 
       
 21313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 21314       conftest$ac_exeext conftest.$ac_ext
       
 21315 LIBS=$ac_check_lib_save_LIBS
       
 21316 fi
       
 21317 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_matches" >&5
       
 21318 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_matches" >&6; }
       
 21319 if test $ac_cv_lib_readline_rl_completion_matches = yes; then
       
 21320 
       
 21321 cat >>confdefs.h <<\_ACEOF
       
 21322 #define HAVE_RL_COMPLETION_MATCHES 1
       
 21323 _ACEOF
       
 21324 
       
 21325 fi
       
 21326 
       
 21327 
       
 21328 # also in readline 4.2
       
 21329 cat >conftest.$ac_ext <<_ACEOF
       
 21330 /* confdefs.h.  */
       
 21331 _ACEOF
       
 21332 cat confdefs.h >>conftest.$ac_ext
       
 21333 cat >>conftest.$ac_ext <<_ACEOF
       
 21334 /* end confdefs.h.  */
       
 21335 #include <readline/readline.h>
       
 21336 _ACEOF
       
 21337 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
 21338 case "(($ac_try" in
       
 21339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21340   *) ac_try_echo=$ac_try;;
       
 21341 esac
       
 21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21343   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
 21344   ac_status=$?
       
 21345   grep -v '^ *+' conftest.er1 >conftest.err
       
 21346   rm -f conftest.er1
       
 21347   cat conftest.err >&5
       
 21348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21349   (exit $ac_status); } >/dev/null && {
       
 21350 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
       
 21351 	 test ! -s conftest.err
       
 21352        }; then
       
 21353   have_readline=yes
       
 21354 else
       
 21355   echo "$as_me: failed program was:" >&5
       
 21356 sed 's/^/| /' conftest.$ac_ext >&5
       
 21357 
       
 21358   have_readline=no
       
 21359 fi
       
 21360 
       
 21361 rm -f conftest.err conftest.$ac_ext
       
 21362 if test $have_readline = yes
       
 21363 then
       
 21364   cat >conftest.$ac_ext <<_ACEOF
       
 21365 /* confdefs.h.  */
       
 21366 _ACEOF
       
 21367 cat confdefs.h >>conftest.$ac_ext
       
 21368 cat >>conftest.$ac_ext <<_ACEOF
       
 21369 /* end confdefs.h.  */
       
 21370 #include <readline/readline.h>
       
 21371 
       
 21372 _ACEOF
       
 21373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
 21374   $EGREP "extern int rl_catch_signals;" >/dev/null 2>&1; then
       
 21375 
       
 21376 cat >>confdefs.h <<\_ACEOF
       
 21377 #define HAVE_RL_CATCH_SIGNAL 1
       
 21378 _ACEOF
       
 21379 
       
 21380 fi
       
 21381 rm -f conftest*
       
 21382 
       
 21383 fi
       
 21384 
       
 21385 # End of readline checks: restore LIBS
       
 21386 LIBS=$LIBS_no_readline
       
 21387 
       
 21388 { echo "$as_me:$LINENO: checking for broken nice()" >&5
       
 21389 echo $ECHO_N "checking for broken nice()... $ECHO_C" >&6; }
       
 21390 if test "${ac_cv_broken_nice+set}" = set; then
       
 21391   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21392 else
       
 21393 
       
 21394 if test "$cross_compiling" = yes; then
       
 21395   ac_cv_broken_nice=no
       
 21396 else
       
 21397   cat >conftest.$ac_ext <<_ACEOF
       
 21398 /* confdefs.h.  */
       
 21399 _ACEOF
       
 21400 cat confdefs.h >>conftest.$ac_ext
       
 21401 cat >>conftest.$ac_ext <<_ACEOF
       
 21402 /* end confdefs.h.  */
       
 21403 
       
 21404 int main()
       
 21405 {
       
 21406 	int val1 = nice(1);
       
 21407 	if (val1 != -1 && val1 == nice(2))
       
 21408 		exit(0);
       
 21409 	exit(1);
       
 21410 }
       
 21411 
       
 21412 _ACEOF
       
 21413 rm -f conftest$ac_exeext
       
 21414 if { (ac_try="$ac_link"
       
 21415 case "(($ac_try" in
       
 21416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21417   *) ac_try_echo=$ac_try;;
       
 21418 esac
       
 21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21420   (eval "$ac_link") 2>&5
       
 21421   ac_status=$?
       
 21422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21423   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 21424   { (case "(($ac_try" in
       
 21425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21426   *) ac_try_echo=$ac_try;;
       
 21427 esac
       
 21428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21429   (eval "$ac_try") 2>&5
       
 21430   ac_status=$?
       
 21431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21432   (exit $ac_status); }; }; then
       
 21433   ac_cv_broken_nice=yes
       
 21434 else
       
 21435   echo "$as_me: program exited with status $ac_status" >&5
       
 21436 echo "$as_me: failed program was:" >&5
       
 21437 sed 's/^/| /' conftest.$ac_ext >&5
       
 21438 
       
 21439 ( exit $ac_status )
       
 21440 ac_cv_broken_nice=no
       
 21441 fi
       
 21442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 21443 fi
       
 21444 
       
 21445 
       
 21446 fi
       
 21447 
       
 21448 { echo "$as_me:$LINENO: result: $ac_cv_broken_nice" >&5
       
 21449 echo "${ECHO_T}$ac_cv_broken_nice" >&6; }
       
 21450 if test "$ac_cv_broken_nice" = yes
       
 21451 then
       
 21452 
       
 21453 cat >>confdefs.h <<\_ACEOF
       
 21454 #define HAVE_BROKEN_NICE 1
       
 21455 _ACEOF
       
 21456 
       
 21457 fi
       
 21458 
       
 21459 { echo "$as_me:$LINENO: checking for broken poll()" >&5
       
 21460 echo $ECHO_N "checking for broken poll()... $ECHO_C" >&6; }
       
 21461 if test "$cross_compiling" = yes; then
       
 21462   ac_cv_broken_poll=no
       
 21463 else
       
 21464   cat >conftest.$ac_ext <<_ACEOF
       
 21465 /* confdefs.h.  */
       
 21466 _ACEOF
       
 21467 cat confdefs.h >>conftest.$ac_ext
       
 21468 cat >>conftest.$ac_ext <<_ACEOF
       
 21469 /* end confdefs.h.  */
       
 21470 
       
 21471 #include <poll.h>
       
 21472 
       
 21473 int main (void)
       
 21474     {
       
 21475     struct pollfd poll_struct = { 42, POLLIN|POLLPRI|POLLOUT, 0 };
       
 21476 
       
 21477     close (42);
       
 21478 
       
 21479     int poll_test = poll (&poll_struct, 1, 0);
       
 21480 
       
 21481     if (poll_test < 0)
       
 21482         {
       
 21483         exit(0);
       
 21484         }
       
 21485     else if (poll_test == 0 && poll_struct.revents != POLLNVAL)
       
 21486         {
       
 21487         exit(0);
       
 21488         }
       
 21489     else
       
 21490         {
       
 21491         exit(1);
       
 21492         }
       
 21493     }
       
 21494 
       
 21495 _ACEOF
       
 21496 rm -f conftest$ac_exeext
       
 21497 if { (ac_try="$ac_link"
       
 21498 case "(($ac_try" in
       
 21499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21500   *) ac_try_echo=$ac_try;;
       
 21501 esac
       
 21502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21503   (eval "$ac_link") 2>&5
       
 21504   ac_status=$?
       
 21505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21506   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 21507   { (case "(($ac_try" in
       
 21508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21509   *) ac_try_echo=$ac_try;;
       
 21510 esac
       
 21511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21512   (eval "$ac_try") 2>&5
       
 21513   ac_status=$?
       
 21514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21515   (exit $ac_status); }; }; then
       
 21516   ac_cv_broken_poll=yes
       
 21517 else
       
 21518   echo "$as_me: program exited with status $ac_status" >&5
       
 21519 echo "$as_me: failed program was:" >&5
       
 21520 sed 's/^/| /' conftest.$ac_ext >&5
       
 21521 
       
 21522 ( exit $ac_status )
       
 21523 ac_cv_broken_poll=no
       
 21524 fi
       
 21525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 21526 fi
       
 21527 
       
 21528 
       
 21529 { echo "$as_me:$LINENO: result: $ac_cv_broken_poll" >&5
       
 21530 echo "${ECHO_T}$ac_cv_broken_poll" >&6; }
       
 21531 if test "$ac_cv_broken_poll" = yes
       
 21532 then
       
 21533 
       
 21534 cat >>confdefs.h <<\_ACEOF
       
 21535 #define HAVE_BROKEN_POLL 1
       
 21536 _ACEOF
       
 21537 
       
 21538 fi
       
 21539 
       
 21540 # Before we can test tzset, we need to check if struct tm has a tm_zone
       
 21541 # (which is not required by ISO C or UNIX spec) and/or if we support
       
 21542 # tzname[]
       
 21543 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
       
 21544 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
       
 21545 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
       
 21546   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21547 else
       
 21548   cat >conftest.$ac_ext <<_ACEOF
       
 21549 /* confdefs.h.  */
       
 21550 _ACEOF
       
 21551 cat confdefs.h >>conftest.$ac_ext
       
 21552 cat >>conftest.$ac_ext <<_ACEOF
       
 21553 /* end confdefs.h.  */
       
 21554 #include <sys/types.h>
       
 21555 #include <$ac_cv_struct_tm>
       
 21556 
       
 21557 
       
 21558 int
       
 21559 main ()
       
 21560 {
       
 21561 static struct tm ac_aggr;
       
 21562 if (ac_aggr.tm_zone)
       
 21563 return 0;
       
 21564   ;
       
 21565   return 0;
       
 21566 }
       
 21567 _ACEOF
       
 21568 rm -f conftest.$ac_objext
       
 21569 if { (ac_try="$ac_compile"
       
 21570 case "(($ac_try" in
       
 21571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21572   *) ac_try_echo=$ac_try;;
       
 21573 esac
       
 21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21575   (eval "$ac_compile") 2>conftest.er1
       
 21576   ac_status=$?
       
 21577   grep -v '^ *+' conftest.er1 >conftest.err
       
 21578   rm -f conftest.er1
       
 21579   cat conftest.err >&5
       
 21580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21581   (exit $ac_status); } && {
       
 21582 	 test -z "$ac_c_werror_flag" ||
       
 21583 	 test ! -s conftest.err
       
 21584        } && test -s conftest.$ac_objext; then
       
 21585   ac_cv_member_struct_tm_tm_zone=yes
       
 21586 else
       
 21587   echo "$as_me: failed program was:" >&5
       
 21588 sed 's/^/| /' conftest.$ac_ext >&5
       
 21589 
       
 21590 	cat >conftest.$ac_ext <<_ACEOF
       
 21591 /* confdefs.h.  */
       
 21592 _ACEOF
       
 21593 cat confdefs.h >>conftest.$ac_ext
       
 21594 cat >>conftest.$ac_ext <<_ACEOF
       
 21595 /* end confdefs.h.  */
       
 21596 #include <sys/types.h>
       
 21597 #include <$ac_cv_struct_tm>
       
 21598 
       
 21599 
       
 21600 int
       
 21601 main ()
       
 21602 {
       
 21603 static struct tm ac_aggr;
       
 21604 if (sizeof ac_aggr.tm_zone)
       
 21605 return 0;
       
 21606   ;
       
 21607   return 0;
       
 21608 }
       
 21609 _ACEOF
       
 21610 rm -f conftest.$ac_objext
       
 21611 if { (ac_try="$ac_compile"
       
 21612 case "(($ac_try" in
       
 21613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21614   *) ac_try_echo=$ac_try;;
       
 21615 esac
       
 21616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21617   (eval "$ac_compile") 2>conftest.er1
       
 21618   ac_status=$?
       
 21619   grep -v '^ *+' conftest.er1 >conftest.err
       
 21620   rm -f conftest.er1
       
 21621   cat conftest.err >&5
       
 21622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21623   (exit $ac_status); } && {
       
 21624 	 test -z "$ac_c_werror_flag" ||
       
 21625 	 test ! -s conftest.err
       
 21626        } && test -s conftest.$ac_objext; then
       
 21627   ac_cv_member_struct_tm_tm_zone=yes
       
 21628 else
       
 21629   echo "$as_me: failed program was:" >&5
       
 21630 sed 's/^/| /' conftest.$ac_ext >&5
       
 21631 
       
 21632 	ac_cv_member_struct_tm_tm_zone=no
       
 21633 fi
       
 21634 
       
 21635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 21636 fi
       
 21637 
       
 21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 21639 fi
       
 21640 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
       
 21641 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
       
 21642 if test $ac_cv_member_struct_tm_tm_zone = yes; then
       
 21643 
       
 21644 cat >>confdefs.h <<_ACEOF
       
 21645 #define HAVE_STRUCT_TM_TM_ZONE 1
       
 21646 _ACEOF
       
 21647 
       
 21648 
       
 21649 fi
       
 21650 
       
 21651 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
       
 21652 
       
 21653 cat >>confdefs.h <<\_ACEOF
       
 21654 #define HAVE_TM_ZONE 1
       
 21655 _ACEOF
       
 21656 
       
 21657 else
       
 21658   { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
       
 21659 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
       
 21660 if test "${ac_cv_have_decl_tzname+set}" = set; then
       
 21661   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21662 else
       
 21663   cat >conftest.$ac_ext <<_ACEOF
       
 21664 /* confdefs.h.  */
       
 21665 _ACEOF
       
 21666 cat confdefs.h >>conftest.$ac_ext
       
 21667 cat >>conftest.$ac_ext <<_ACEOF
       
 21668 /* end confdefs.h.  */
       
 21669 #include <time.h>
       
 21670 
       
 21671 int
       
 21672 main ()
       
 21673 {
       
 21674 #ifndef tzname
       
 21675   (void) tzname;
       
 21676 #endif
       
 21677 
       
 21678   ;
       
 21679   return 0;
       
 21680 }
       
 21681 _ACEOF
       
 21682 rm -f conftest.$ac_objext
       
 21683 if { (ac_try="$ac_compile"
       
 21684 case "(($ac_try" in
       
 21685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21686   *) ac_try_echo=$ac_try;;
       
 21687 esac
       
 21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21689   (eval "$ac_compile") 2>conftest.er1
       
 21690   ac_status=$?
       
 21691   grep -v '^ *+' conftest.er1 >conftest.err
       
 21692   rm -f conftest.er1
       
 21693   cat conftest.err >&5
       
 21694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21695   (exit $ac_status); } && {
       
 21696 	 test -z "$ac_c_werror_flag" ||
       
 21697 	 test ! -s conftest.err
       
 21698        } && test -s conftest.$ac_objext; then
       
 21699   ac_cv_have_decl_tzname=yes
       
 21700 else
       
 21701   echo "$as_me: failed program was:" >&5
       
 21702 sed 's/^/| /' conftest.$ac_ext >&5
       
 21703 
       
 21704 	ac_cv_have_decl_tzname=no
       
 21705 fi
       
 21706 
       
 21707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 21708 fi
       
 21709 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
       
 21710 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
       
 21711 if test $ac_cv_have_decl_tzname = yes; then
       
 21712 
       
 21713 cat >>confdefs.h <<_ACEOF
       
 21714 #define HAVE_DECL_TZNAME 1
       
 21715 _ACEOF
       
 21716 
       
 21717 
       
 21718 else
       
 21719   cat >>confdefs.h <<_ACEOF
       
 21720 #define HAVE_DECL_TZNAME 0
       
 21721 _ACEOF
       
 21722 
       
 21723 
       
 21724 fi
       
 21725 
       
 21726 
       
 21727   { echo "$as_me:$LINENO: checking for tzname" >&5
       
 21728 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
       
 21729 if test "${ac_cv_var_tzname+set}" = set; then
       
 21730   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21731 else
       
 21732   cat >conftest.$ac_ext <<_ACEOF
       
 21733 /* confdefs.h.  */
       
 21734 _ACEOF
       
 21735 cat confdefs.h >>conftest.$ac_ext
       
 21736 cat >>conftest.$ac_ext <<_ACEOF
       
 21737 /* end confdefs.h.  */
       
 21738 #include <time.h>
       
 21739 #if !HAVE_DECL_TZNAME
       
 21740 extern char *tzname[];
       
 21741 #endif
       
 21742 
       
 21743 int
       
 21744 main ()
       
 21745 {
       
 21746 return tzname[0][0];
       
 21747   ;
       
 21748   return 0;
       
 21749 }
       
 21750 _ACEOF
       
 21751 rm -f conftest.$ac_objext conftest$ac_exeext
       
 21752 if { (ac_try="$ac_link"
       
 21753 case "(($ac_try" in
       
 21754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21755   *) ac_try_echo=$ac_try;;
       
 21756 esac
       
 21757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21758   (eval "$ac_link") 2>conftest.er1
       
 21759   ac_status=$?
       
 21760   grep -v '^ *+' conftest.er1 >conftest.err
       
 21761   rm -f conftest.er1
       
 21762   cat conftest.err >&5
       
 21763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21764   (exit $ac_status); } && {
       
 21765 	 test -z "$ac_c_werror_flag" ||
       
 21766 	 test ! -s conftest.err
       
 21767        } && test -s conftest$ac_exeext &&
       
 21768        $as_test_x conftest$ac_exeext; then
       
 21769   ac_cv_var_tzname=yes
       
 21770 else
       
 21771   echo "$as_me: failed program was:" >&5
       
 21772 sed 's/^/| /' conftest.$ac_ext >&5
       
 21773 
       
 21774 	ac_cv_var_tzname=no
       
 21775 fi
       
 21776 
       
 21777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
       
 21778       conftest$ac_exeext conftest.$ac_ext
       
 21779 fi
       
 21780 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
       
 21781 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
       
 21782   if test $ac_cv_var_tzname = yes; then
       
 21783 
       
 21784 cat >>confdefs.h <<\_ACEOF
       
 21785 #define HAVE_TZNAME 1
       
 21786 _ACEOF
       
 21787 
       
 21788   fi
       
 21789 fi
       
 21790 
       
 21791 
       
 21792 # check tzset(3) exists and works like we expect it to
       
 21793 { echo "$as_me:$LINENO: checking for working tzset()" >&5
       
 21794 echo $ECHO_N "checking for working tzset()... $ECHO_C" >&6; }
       
 21795 if test "${ac_cv_working_tzset+set}" = set; then
       
 21796   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21797 else
       
 21798 
       
 21799 if test "$cross_compiling" = yes; then
       
 21800   ac_cv_working_tzset=no
       
 21801 else
       
 21802   cat >conftest.$ac_ext <<_ACEOF
       
 21803 /* confdefs.h.  */
       
 21804 _ACEOF
       
 21805 cat confdefs.h >>conftest.$ac_ext
       
 21806 cat >>conftest.$ac_ext <<_ACEOF
       
 21807 /* end confdefs.h.  */
       
 21808 
       
 21809 #include <stdlib.h>
       
 21810 #include <time.h>
       
 21811 #include <string.h>
       
 21812 
       
 21813 #if HAVE_TZNAME
       
 21814 extern char *tzname[];
       
 21815 #endif
       
 21816 
       
 21817 int main()
       
 21818 {
       
 21819 	/* Note that we need to ensure that not only does tzset(3)
       
 21820 	   do 'something' with localtime, but it works as documented
       
 21821 	   in the library reference and as expected by the test suite.
       
 21822 	   This includes making sure that tzname is set properly if
       
 21823 	   tm->tm_zone does not exist since it is the alternative way
       
 21824 	   of getting timezone info.
       
 21825 
       
 21826 	   Red Hat 6.2 doesn't understand the southern hemisphere
       
 21827 	   after New Year's Day.
       
 21828 	*/
       
 21829 
       
 21830 	time_t groundhogday = 1044144000; /* GMT-based */
       
 21831 	time_t midyear = groundhogday + (365 * 24 * 3600 / 2);
       
 21832 
       
 21833 	putenv("TZ=UTC+0");
       
 21834 	tzset();
       
 21835 	if (localtime(&groundhogday)->tm_hour != 0)
       
 21836 	    exit(1);
       
 21837 #if HAVE_TZNAME
       
 21838 	/* For UTC, tzname[1] is sometimes "", sometimes "   " */
       
 21839 	if (strcmp(tzname[0], "UTC") ||
       
 21840 		(tzname[1][0] != 0 && tzname[1][0] != ' '))
       
 21841 	    exit(1);
       
 21842 #endif
       
 21843 
       
 21844 	putenv("TZ=EST+5EDT,M4.1.0,M10.5.0");
       
 21845 	tzset();
       
 21846 	if (localtime(&groundhogday)->tm_hour != 19)
       
 21847 	    exit(1);
       
 21848 #if HAVE_TZNAME
       
 21849 	if (strcmp(tzname[0], "EST") || strcmp(tzname[1], "EDT"))
       
 21850 	    exit(1);
       
 21851 #endif
       
 21852 
       
 21853 	putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
       
 21854 	tzset();
       
 21855 	if (localtime(&groundhogday)->tm_hour != 11)
       
 21856 	    exit(1);
       
 21857 #if HAVE_TZNAME
       
 21858 	if (strcmp(tzname[0], "AEST") || strcmp(tzname[1], "AEDT"))
       
 21859 	    exit(1);
       
 21860 #endif
       
 21861 
       
 21862 #if HAVE_STRUCT_TM_TM_ZONE
       
 21863 	if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
       
 21864 	    exit(1);
       
 21865 	if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
       
 21866 	    exit(1);
       
 21867 #endif
       
 21868 
       
 21869 	exit(0);
       
 21870 }
       
 21871 
       
 21872 _ACEOF
       
 21873 rm -f conftest$ac_exeext
       
 21874 if { (ac_try="$ac_link"
       
 21875 case "(($ac_try" in
       
 21876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21877   *) ac_try_echo=$ac_try;;
       
 21878 esac
       
 21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21880   (eval "$ac_link") 2>&5
       
 21881   ac_status=$?
       
 21882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21883   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 21884   { (case "(($ac_try" in
       
 21885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21886   *) ac_try_echo=$ac_try;;
       
 21887 esac
       
 21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21889   (eval "$ac_try") 2>&5
       
 21890   ac_status=$?
       
 21891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21892   (exit $ac_status); }; }; then
       
 21893   ac_cv_working_tzset=yes
       
 21894 else
       
 21895   echo "$as_me: program exited with status $ac_status" >&5
       
 21896 echo "$as_me: failed program was:" >&5
       
 21897 sed 's/^/| /' conftest.$ac_ext >&5
       
 21898 
       
 21899 ( exit $ac_status )
       
 21900 ac_cv_working_tzset=no
       
 21901 fi
       
 21902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 21903 fi
       
 21904 
       
 21905 
       
 21906 fi
       
 21907 
       
 21908 { echo "$as_me:$LINENO: result: $ac_cv_working_tzset" >&5
       
 21909 echo "${ECHO_T}$ac_cv_working_tzset" >&6; }
       
 21910 if test "$ac_cv_working_tzset" = yes
       
 21911 then
       
 21912 
       
 21913 cat >>confdefs.h <<\_ACEOF
       
 21914 #define HAVE_WORKING_TZSET 1
       
 21915 _ACEOF
       
 21916 
       
 21917 fi
       
 21918 
       
 21919 # Look for subsecond timestamps in struct stat
       
 21920 { echo "$as_me:$LINENO: checking for tv_nsec in struct stat" >&5
       
 21921 echo $ECHO_N "checking for tv_nsec in struct stat... $ECHO_C" >&6; }
       
 21922 if test "${ac_cv_stat_tv_nsec+set}" = set; then
       
 21923   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21924 else
       
 21925   cat >conftest.$ac_ext <<_ACEOF
       
 21926 /* confdefs.h.  */
       
 21927 _ACEOF
       
 21928 cat confdefs.h >>conftest.$ac_ext
       
 21929 cat >>conftest.$ac_ext <<_ACEOF
       
 21930 /* end confdefs.h.  */
       
 21931 #include <sys/stat.h>
       
 21932 int
       
 21933 main ()
       
 21934 {
       
 21935 
       
 21936 struct stat st;
       
 21937 st.st_mtim.tv_nsec = 1;
       
 21938 
       
 21939   ;
       
 21940   return 0;
       
 21941 }
       
 21942 _ACEOF
       
 21943 rm -f conftest.$ac_objext
       
 21944 if { (ac_try="$ac_compile"
       
 21945 case "(($ac_try" in
       
 21946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 21947   *) ac_try_echo=$ac_try;;
       
 21948 esac
       
 21949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 21950   (eval "$ac_compile") 2>conftest.er1
       
 21951   ac_status=$?
       
 21952   grep -v '^ *+' conftest.er1 >conftest.err
       
 21953   rm -f conftest.er1
       
 21954   cat conftest.err >&5
       
 21955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 21956   (exit $ac_status); } && {
       
 21957 	 test -z "$ac_c_werror_flag" ||
       
 21958 	 test ! -s conftest.err
       
 21959        } && test -s conftest.$ac_objext; then
       
 21960   ac_cv_stat_tv_nsec=yes
       
 21961 else
       
 21962   echo "$as_me: failed program was:" >&5
       
 21963 sed 's/^/| /' conftest.$ac_ext >&5
       
 21964 
       
 21965 	ac_cv_stat_tv_nsec=no
       
 21966 fi
       
 21967 
       
 21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 21969 fi
       
 21970 
       
 21971 { echo "$as_me:$LINENO: result: $ac_cv_stat_tv_nsec" >&5
       
 21972 echo "${ECHO_T}$ac_cv_stat_tv_nsec" >&6; }
       
 21973 if test "$ac_cv_stat_tv_nsec" = yes
       
 21974 then
       
 21975 
       
 21976 cat >>confdefs.h <<\_ACEOF
       
 21977 #define HAVE_STAT_TV_NSEC 1
       
 21978 _ACEOF
       
 21979 
       
 21980 fi
       
 21981 
       
 21982 # Look for BSD style subsecond timestamps in struct stat
       
 21983 { echo "$as_me:$LINENO: checking for tv_nsec2 in struct stat" >&5
       
 21984 echo $ECHO_N "checking for tv_nsec2 in struct stat... $ECHO_C" >&6; }
       
 21985 if test "${ac_cv_stat_tv_nsec2+set}" = set; then
       
 21986   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 21987 else
       
 21988   cat >conftest.$ac_ext <<_ACEOF
       
 21989 /* confdefs.h.  */
       
 21990 _ACEOF
       
 21991 cat confdefs.h >>conftest.$ac_ext
       
 21992 cat >>conftest.$ac_ext <<_ACEOF
       
 21993 /* end confdefs.h.  */
       
 21994 #include <sys/stat.h>
       
 21995 int
       
 21996 main ()
       
 21997 {
       
 21998 
       
 21999 struct stat st;
       
 22000 st.st_mtimespec.tv_nsec = 1;
       
 22001 
       
 22002   ;
       
 22003   return 0;
       
 22004 }
       
 22005 _ACEOF
       
 22006 rm -f conftest.$ac_objext
       
 22007 if { (ac_try="$ac_compile"
       
 22008 case "(($ac_try" in
       
 22009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22010   *) ac_try_echo=$ac_try;;
       
 22011 esac
       
 22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22013   (eval "$ac_compile") 2>conftest.er1
       
 22014   ac_status=$?
       
 22015   grep -v '^ *+' conftest.er1 >conftest.err
       
 22016   rm -f conftest.er1
       
 22017   cat conftest.err >&5
       
 22018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22019   (exit $ac_status); } && {
       
 22020 	 test -z "$ac_c_werror_flag" ||
       
 22021 	 test ! -s conftest.err
       
 22022        } && test -s conftest.$ac_objext; then
       
 22023   ac_cv_stat_tv_nsec2=yes
       
 22024 else
       
 22025   echo "$as_me: failed program was:" >&5
       
 22026 sed 's/^/| /' conftest.$ac_ext >&5
       
 22027 
       
 22028 	ac_cv_stat_tv_nsec2=no
       
 22029 fi
       
 22030 
       
 22031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22032 fi
       
 22033 
       
 22034 { echo "$as_me:$LINENO: result: $ac_cv_stat_tv_nsec2" >&5
       
 22035 echo "${ECHO_T}$ac_cv_stat_tv_nsec2" >&6; }
       
 22036 if test "$ac_cv_stat_tv_nsec2" = yes
       
 22037 then
       
 22038 
       
 22039 cat >>confdefs.h <<\_ACEOF
       
 22040 #define HAVE_STAT_TV_NSEC2 1
       
 22041 _ACEOF
       
 22042 
       
 22043 fi
       
 22044 
       
 22045 # On HP/UX 11.0, mvwdelch is a block with a return statement
       
 22046 { echo "$as_me:$LINENO: checking whether mvwdelch is an expression" >&5
       
 22047 echo $ECHO_N "checking whether mvwdelch is an expression... $ECHO_C" >&6; }
       
 22048 if test "${ac_cv_mvwdelch_is_expression+set}" = set; then
       
 22049   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 22050 else
       
 22051   cat >conftest.$ac_ext <<_ACEOF
       
 22052 /* confdefs.h.  */
       
 22053 _ACEOF
       
 22054 cat confdefs.h >>conftest.$ac_ext
       
 22055 cat >>conftest.$ac_ext <<_ACEOF
       
 22056 /* end confdefs.h.  */
       
 22057 #include <curses.h>
       
 22058 int
       
 22059 main ()
       
 22060 {
       
 22061 
       
 22062   int rtn;
       
 22063   rtn = mvwdelch(0,0,0);
       
 22064 
       
 22065   ;
       
 22066   return 0;
       
 22067 }
       
 22068 _ACEOF
       
 22069 rm -f conftest.$ac_objext
       
 22070 if { (ac_try="$ac_compile"
       
 22071 case "(($ac_try" in
       
 22072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22073   *) ac_try_echo=$ac_try;;
       
 22074 esac
       
 22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22076   (eval "$ac_compile") 2>conftest.er1
       
 22077   ac_status=$?
       
 22078   grep -v '^ *+' conftest.er1 >conftest.err
       
 22079   rm -f conftest.er1
       
 22080   cat conftest.err >&5
       
 22081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22082   (exit $ac_status); } && {
       
 22083 	 test -z "$ac_c_werror_flag" ||
       
 22084 	 test ! -s conftest.err
       
 22085        } && test -s conftest.$ac_objext; then
       
 22086   ac_cv_mvwdelch_is_expression=yes
       
 22087 else
       
 22088   echo "$as_me: failed program was:" >&5
       
 22089 sed 's/^/| /' conftest.$ac_ext >&5
       
 22090 
       
 22091 	ac_cv_mvwdelch_is_expression=no
       
 22092 fi
       
 22093 
       
 22094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22095 fi
       
 22096 
       
 22097 { echo "$as_me:$LINENO: result: $ac_cv_mvwdelch_is_expression" >&5
       
 22098 echo "${ECHO_T}$ac_cv_mvwdelch_is_expression" >&6; }
       
 22099 
       
 22100 if test "$ac_cv_mvwdelch_is_expression" = yes
       
 22101 then
       
 22102 
       
 22103 cat >>confdefs.h <<\_ACEOF
       
 22104 #define MVWDELCH_IS_EXPRESSION 1
       
 22105 _ACEOF
       
 22106 
       
 22107 fi
       
 22108 
       
 22109 { echo "$as_me:$LINENO: checking whether WINDOW has _flags" >&5
       
 22110 echo $ECHO_N "checking whether WINDOW has _flags... $ECHO_C" >&6; }
       
 22111 if test "${ac_cv_window_has_flags+set}" = set; then
       
 22112   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 22113 else
       
 22114   cat >conftest.$ac_ext <<_ACEOF
       
 22115 /* confdefs.h.  */
       
 22116 _ACEOF
       
 22117 cat confdefs.h >>conftest.$ac_ext
       
 22118 cat >>conftest.$ac_ext <<_ACEOF
       
 22119 /* end confdefs.h.  */
       
 22120 #include <curses.h>
       
 22121 int
       
 22122 main ()
       
 22123 {
       
 22124 
       
 22125   WINDOW *w;
       
 22126   w->_flags = 0;
       
 22127 
       
 22128   ;
       
 22129   return 0;
       
 22130 }
       
 22131 _ACEOF
       
 22132 rm -f conftest.$ac_objext
       
 22133 if { (ac_try="$ac_compile"
       
 22134 case "(($ac_try" in
       
 22135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22136   *) ac_try_echo=$ac_try;;
       
 22137 esac
       
 22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22139   (eval "$ac_compile") 2>conftest.er1
       
 22140   ac_status=$?
       
 22141   grep -v '^ *+' conftest.er1 >conftest.err
       
 22142   rm -f conftest.er1
       
 22143   cat conftest.err >&5
       
 22144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22145   (exit $ac_status); } && {
       
 22146 	 test -z "$ac_c_werror_flag" ||
       
 22147 	 test ! -s conftest.err
       
 22148        } && test -s conftest.$ac_objext; then
       
 22149   ac_cv_window_has_flags=yes
       
 22150 else
       
 22151   echo "$as_me: failed program was:" >&5
       
 22152 sed 's/^/| /' conftest.$ac_ext >&5
       
 22153 
       
 22154 	ac_cv_window_has_flags=no
       
 22155 fi
       
 22156 
       
 22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22158 fi
       
 22159 
       
 22160 { echo "$as_me:$LINENO: result: $ac_cv_window_has_flags" >&5
       
 22161 echo "${ECHO_T}$ac_cv_window_has_flags" >&6; }
       
 22162 
       
 22163 
       
 22164 if test "$ac_cv_window_has_flags" = yes
       
 22165 then
       
 22166 
       
 22167 cat >>confdefs.h <<\_ACEOF
       
 22168 #define WINDOW_HAS_FLAGS 1
       
 22169 _ACEOF
       
 22170 
       
 22171 fi
       
 22172 
       
 22173 { echo "$as_me:$LINENO: checking for is_term_resized" >&5
       
 22174 echo $ECHO_N "checking for is_term_resized... $ECHO_C" >&6; }
       
 22175 cat >conftest.$ac_ext <<_ACEOF
       
 22176 /* confdefs.h.  */
       
 22177 _ACEOF
       
 22178 cat confdefs.h >>conftest.$ac_ext
       
 22179 cat >>conftest.$ac_ext <<_ACEOF
       
 22180 /* end confdefs.h.  */
       
 22181 #include <curses.h>
       
 22182 int
       
 22183 main ()
       
 22184 {
       
 22185 void *x=is_term_resized
       
 22186   ;
       
 22187   return 0;
       
 22188 }
       
 22189 _ACEOF
       
 22190 rm -f conftest.$ac_objext
       
 22191 if { (ac_try="$ac_compile"
       
 22192 case "(($ac_try" in
       
 22193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22194   *) ac_try_echo=$ac_try;;
       
 22195 esac
       
 22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22197   (eval "$ac_compile") 2>conftest.er1
       
 22198   ac_status=$?
       
 22199   grep -v '^ *+' conftest.er1 >conftest.err
       
 22200   rm -f conftest.er1
       
 22201   cat conftest.err >&5
       
 22202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22203   (exit $ac_status); } && {
       
 22204 	 test -z "$ac_c_werror_flag" ||
       
 22205 	 test ! -s conftest.err
       
 22206        } && test -s conftest.$ac_objext; then
       
 22207 
       
 22208 cat >>confdefs.h <<\_ACEOF
       
 22209 #define HAVE_CURSES_IS_TERM_RESIZED 1
       
 22210 _ACEOF
       
 22211 
       
 22212   { echo "$as_me:$LINENO: result: yes" >&5
       
 22213 echo "${ECHO_T}yes" >&6; }
       
 22214 else
       
 22215   echo "$as_me: failed program was:" >&5
       
 22216 sed 's/^/| /' conftest.$ac_ext >&5
       
 22217 
       
 22218 	{ echo "$as_me:$LINENO: result: no" >&5
       
 22219 echo "${ECHO_T}no" >&6; }
       
 22220 
       
 22221 fi
       
 22222 
       
 22223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22224 
       
 22225 { echo "$as_me:$LINENO: checking for resize_term" >&5
       
 22226 echo $ECHO_N "checking for resize_term... $ECHO_C" >&6; }
       
 22227 cat >conftest.$ac_ext <<_ACEOF
       
 22228 /* confdefs.h.  */
       
 22229 _ACEOF
       
 22230 cat confdefs.h >>conftest.$ac_ext
       
 22231 cat >>conftest.$ac_ext <<_ACEOF
       
 22232 /* end confdefs.h.  */
       
 22233 #include <curses.h>
       
 22234 int
       
 22235 main ()
       
 22236 {
       
 22237 void *x=resize_term
       
 22238   ;
       
 22239   return 0;
       
 22240 }
       
 22241 _ACEOF
       
 22242 rm -f conftest.$ac_objext
       
 22243 if { (ac_try="$ac_compile"
       
 22244 case "(($ac_try" in
       
 22245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22246   *) ac_try_echo=$ac_try;;
       
 22247 esac
       
 22248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22249   (eval "$ac_compile") 2>conftest.er1
       
 22250   ac_status=$?
       
 22251   grep -v '^ *+' conftest.er1 >conftest.err
       
 22252   rm -f conftest.er1
       
 22253   cat conftest.err >&5
       
 22254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22255   (exit $ac_status); } && {
       
 22256 	 test -z "$ac_c_werror_flag" ||
       
 22257 	 test ! -s conftest.err
       
 22258        } && test -s conftest.$ac_objext; then
       
 22259 
       
 22260 cat >>confdefs.h <<\_ACEOF
       
 22261 #define HAVE_CURSES_RESIZE_TERM 1
       
 22262 _ACEOF
       
 22263 
       
 22264   { echo "$as_me:$LINENO: result: yes" >&5
       
 22265 echo "${ECHO_T}yes" >&6; }
       
 22266 else
       
 22267   echo "$as_me: failed program was:" >&5
       
 22268 sed 's/^/| /' conftest.$ac_ext >&5
       
 22269 
       
 22270 	{ echo "$as_me:$LINENO: result: no" >&5
       
 22271 echo "${ECHO_T}no" >&6; }
       
 22272 
       
 22273 fi
       
 22274 
       
 22275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22276 
       
 22277 { echo "$as_me:$LINENO: checking for resizeterm" >&5
       
 22278 echo $ECHO_N "checking for resizeterm... $ECHO_C" >&6; }
       
 22279 cat >conftest.$ac_ext <<_ACEOF
       
 22280 /* confdefs.h.  */
       
 22281 _ACEOF
       
 22282 cat confdefs.h >>conftest.$ac_ext
       
 22283 cat >>conftest.$ac_ext <<_ACEOF
       
 22284 /* end confdefs.h.  */
       
 22285 #include <curses.h>
       
 22286 int
       
 22287 main ()
       
 22288 {
       
 22289 void *x=resizeterm
       
 22290   ;
       
 22291   return 0;
       
 22292 }
       
 22293 _ACEOF
       
 22294 rm -f conftest.$ac_objext
       
 22295 if { (ac_try="$ac_compile"
       
 22296 case "(($ac_try" in
       
 22297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22298   *) ac_try_echo=$ac_try;;
       
 22299 esac
       
 22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22301   (eval "$ac_compile") 2>conftest.er1
       
 22302   ac_status=$?
       
 22303   grep -v '^ *+' conftest.er1 >conftest.err
       
 22304   rm -f conftest.er1
       
 22305   cat conftest.err >&5
       
 22306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22307   (exit $ac_status); } && {
       
 22308 	 test -z "$ac_c_werror_flag" ||
       
 22309 	 test ! -s conftest.err
       
 22310        } && test -s conftest.$ac_objext; then
       
 22311 
       
 22312 cat >>confdefs.h <<\_ACEOF
       
 22313 #define HAVE_CURSES_RESIZETERM 1
       
 22314 _ACEOF
       
 22315 
       
 22316   { echo "$as_me:$LINENO: result: yes" >&5
       
 22317 echo "${ECHO_T}yes" >&6; }
       
 22318 else
       
 22319   echo "$as_me: failed program was:" >&5
       
 22320 sed 's/^/| /' conftest.$ac_ext >&5
       
 22321 
       
 22322 	{ echo "$as_me:$LINENO: result: no" >&5
       
 22323 echo "${ECHO_T}no" >&6; }
       
 22324 
       
 22325 fi
       
 22326 
       
 22327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22328 
       
 22329 { echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
       
 22330 echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6; }
       
 22331 
       
 22332 if test -r /dev/ptmx
       
 22333 then
       
 22334   { echo "$as_me:$LINENO: result: yes" >&5
       
 22335 echo "${ECHO_T}yes" >&6; }
       
 22336 
       
 22337 cat >>confdefs.h <<\_ACEOF
       
 22338 #define HAVE_DEV_PTMX 1
       
 22339 _ACEOF
       
 22340 
       
 22341 else
       
 22342   { echo "$as_me:$LINENO: result: no" >&5
       
 22343 echo "${ECHO_T}no" >&6; }
       
 22344 fi
       
 22345 
       
 22346 { echo "$as_me:$LINENO: checking for /dev/ptc" >&5
       
 22347 echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6; }
       
 22348 
       
 22349 if test -r /dev/ptc
       
 22350 then
       
 22351   { echo "$as_me:$LINENO: result: yes" >&5
       
 22352 echo "${ECHO_T}yes" >&6; }
       
 22353 
       
 22354 cat >>confdefs.h <<\_ACEOF
       
 22355 #define HAVE_DEV_PTC 1
       
 22356 _ACEOF
       
 22357 
       
 22358 else
       
 22359   { echo "$as_me:$LINENO: result: no" >&5
       
 22360 echo "${ECHO_T}no" >&6; }
       
 22361 fi
       
 22362 
       
 22363 case $MACHDEP in
       
 22364 darwin)
       
 22365 	{ echo "$as_me:$LINENO: checking for kOSADebuggerCreateSession" >&5
       
 22366 echo $ECHO_N "checking for kOSADebuggerCreateSession... $ECHO_C" >&6; }
       
 22367 	OLD_CFLAGS="${CFLAGS}"
       
 22368 	CFLAGS="${CFLAGS} -Wall -framework Carbon"
       
 22369 	cat >conftest.$ac_ext <<_ACEOF
       
 22370 /* confdefs.h.  */
       
 22371 _ACEOF
       
 22372 cat confdefs.h >>conftest.$ac_ext
       
 22373 cat >>conftest.$ac_ext <<_ACEOF
       
 22374 /* end confdefs.h.  */
       
 22375 #include <Carbon/Carbon.h>
       
 22376 int
       
 22377 main ()
       
 22378 {
       
 22379 kOSADebuggerCreateSession
       
 22380   ;
       
 22381   return 0;
       
 22382 }
       
 22383 _ACEOF
       
 22384 rm -f conftest.$ac_objext
       
 22385 if { (ac_try="$ac_compile"
       
 22386 case "(($ac_try" in
       
 22387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22388   *) ac_try_echo=$ac_try;;
       
 22389 esac
       
 22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22391   (eval "$ac_compile") 2>conftest.er1
       
 22392   ac_status=$?
       
 22393   grep -v '^ *+' conftest.er1 >conftest.err
       
 22394   rm -f conftest.er1
       
 22395   cat conftest.err >&5
       
 22396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22397   (exit $ac_status); } && {
       
 22398 	 test -z "$ac_c_werror_flag" ||
       
 22399 	 test ! -s conftest.err
       
 22400        } && test -s conftest.$ac_objext; then
       
 22401   have_osa_debug=yes
       
 22402 else
       
 22403   echo "$as_me: failed program was:" >&5
       
 22404 sed 's/^/| /' conftest.$ac_ext >&5
       
 22405 
       
 22406 	have_osa_debug=no
       
 22407 fi
       
 22408 
       
 22409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22410 	if test $have_osa_debug = yes
       
 22411 	then
       
 22412 		{ echo "$as_me:$LINENO: result: yes" >&5
       
 22413 echo "${ECHO_T}yes" >&6; }
       
 22414 
       
 22415 cat >>confdefs.h <<\_ACEOF
       
 22416 #define HAVE_OSA_DEBUG 1
       
 22417 _ACEOF
       
 22418 
       
 22419 	else
       
 22420 		{ echo "$as_me:$LINENO: result: no" >&5
       
 22421 echo "${ECHO_T}no" >&6; }
       
 22422 	fi
       
 22423 	CFLAGS="${OLD_CFLAGS}"
       
 22424 	;;
       
 22425 esac
       
 22426 
       
 22427 
       
 22428 
       
 22429 { echo "$as_me:$LINENO: checking for %zd printf() format support" >&5
       
 22430 echo $ECHO_N "checking for %zd printf() format support... $ECHO_C" >&6; }
       
 22431 if test "$cross_compiling" = yes; then
       
 22432   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
       
 22433 See \`config.log' for more details." >&5
       
 22434 echo "$as_me: error: cannot run test program while cross compiling
       
 22435 See \`config.log' for more details." >&2;}
       
 22436    { (exit 1); exit 1; }; }
       
 22437 else
       
 22438   cat >conftest.$ac_ext <<_ACEOF
       
 22439 /* confdefs.h.  */
       
 22440 _ACEOF
       
 22441 cat confdefs.h >>conftest.$ac_ext
       
 22442 cat >>conftest.$ac_ext <<_ACEOF
       
 22443 /* end confdefs.h.  */
       
 22444 #include <stdio.h>
       
 22445 #include <stddef.h>
       
 22446 #include <string.h>
       
 22447 
       
 22448 #ifdef HAVE_SYS_TYPES_H
       
 22449 #include <sys/types.h>
       
 22450 #endif
       
 22451 
       
 22452 #ifdef HAVE_SSIZE_T
       
 22453 typedef ssize_t Py_ssize_t;
       
 22454 #elif SIZEOF_VOID_P == SIZEOF_LONG
       
 22455 typedef long Py_ssize_t;
       
 22456 #else
       
 22457 typedef int Py_ssize_t;
       
 22458 #endif
       
 22459 
       
 22460 int main()
       
 22461 {
       
 22462     char buffer[256];
       
 22463 
       
 22464     if(sprintf(buffer, "%zd", (size_t)123) < 0)
       
 22465        	return 1;
       
 22466 
       
 22467     if (strcmp(buffer, "123"))
       
 22468 	return 1;
       
 22469 
       
 22470     if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
       
 22471        	return 1;
       
 22472 
       
 22473     if (strcmp(buffer, "-123"))
       
 22474 	return 1;
       
 22475 
       
 22476     return 0;
       
 22477 }
       
 22478 _ACEOF
       
 22479 rm -f conftest$ac_exeext
       
 22480 if { (ac_try="$ac_link"
       
 22481 case "(($ac_try" in
       
 22482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22483   *) ac_try_echo=$ac_try;;
       
 22484 esac
       
 22485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22486   (eval "$ac_link") 2>&5
       
 22487   ac_status=$?
       
 22488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22489   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
 22490   { (case "(($ac_try" in
       
 22491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22492   *) ac_try_echo=$ac_try;;
       
 22493 esac
       
 22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22495   (eval "$ac_try") 2>&5
       
 22496   ac_status=$?
       
 22497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22498   (exit $ac_status); }; }; then
       
 22499   { echo "$as_me:$LINENO: result: yes" >&5
       
 22500 echo "${ECHO_T}yes" >&6; }
       
 22501 
       
 22502 cat >>confdefs.h <<\_ACEOF
       
 22503 #define PY_FORMAT_SIZE_T "z"
       
 22504 _ACEOF
       
 22505 
       
 22506 else
       
 22507   echo "$as_me: program exited with status $ac_status" >&5
       
 22508 echo "$as_me: failed program was:" >&5
       
 22509 sed 's/^/| /' conftest.$ac_ext >&5
       
 22510 
       
 22511 ( exit $ac_status )
       
 22512 { echo "$as_me:$LINENO: result: no" >&5
       
 22513 echo "${ECHO_T}no" >&6; }
       
 22514 fi
       
 22515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
 22516 fi
       
 22517 
       
 22518 
       
 22519 
       
 22520 { echo "$as_me:$LINENO: checking for socklen_t" >&5
       
 22521 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
       
 22522 if test "${ac_cv_type_socklen_t+set}" = set; then
       
 22523   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 22524 else
       
 22525   cat >conftest.$ac_ext <<_ACEOF
       
 22526 /* confdefs.h.  */
       
 22527 _ACEOF
       
 22528 cat confdefs.h >>conftest.$ac_ext
       
 22529 cat >>conftest.$ac_ext <<_ACEOF
       
 22530 /* end confdefs.h.  */
       
 22531 
       
 22532 #ifdef HAVE_SYS_TYPES_H
       
 22533 #include <sys/types.h>
       
 22534 #endif
       
 22535 #ifdef HAVE_SYS_SOCKET_H
       
 22536 #include <sys/socket.h>
       
 22537 #endif
       
 22538 
       
 22539 
       
 22540 typedef socklen_t ac__type_new_;
       
 22541 int
       
 22542 main ()
       
 22543 {
       
 22544 if ((ac__type_new_ *) 0)
       
 22545   return 0;
       
 22546 if (sizeof (ac__type_new_))
       
 22547   return 0;
       
 22548   ;
       
 22549   return 0;
       
 22550 }
       
 22551 _ACEOF
       
 22552 rm -f conftest.$ac_objext
       
 22553 if { (ac_try="$ac_compile"
       
 22554 case "(($ac_try" in
       
 22555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 22556   *) ac_try_echo=$ac_try;;
       
 22557 esac
       
 22558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 22559   (eval "$ac_compile") 2>conftest.er1
       
 22560   ac_status=$?
       
 22561   grep -v '^ *+' conftest.er1 >conftest.err
       
 22562   rm -f conftest.er1
       
 22563   cat conftest.err >&5
       
 22564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 22565   (exit $ac_status); } && {
       
 22566 	 test -z "$ac_c_werror_flag" ||
       
 22567 	 test ! -s conftest.err
       
 22568        } && test -s conftest.$ac_objext; then
       
 22569   ac_cv_type_socklen_t=yes
       
 22570 else
       
 22571   echo "$as_me: failed program was:" >&5
       
 22572 sed 's/^/| /' conftest.$ac_ext >&5
       
 22573 
       
 22574 	ac_cv_type_socklen_t=no
       
 22575 fi
       
 22576 
       
 22577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 22578 fi
       
 22579 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
       
 22580 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
       
 22581 if test $ac_cv_type_socklen_t = yes; then
       
 22582   :
       
 22583 else
       
 22584 
       
 22585 cat >>confdefs.h <<\_ACEOF
       
 22586 #define socklen_t int
       
 22587 _ACEOF
       
 22588 
       
 22589 fi
       
 22590 
       
 22591 
       
 22592 
       
 22593 
       
 22594 for h in `(cd $srcdir;echo Python/thread_*.h)`
       
 22595 do
       
 22596   THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
       
 22597 done
       
 22598 
       
 22599 
       
 22600 SRCDIRS="Parser Grammar Objects Python Modules Mac"
       
 22601 { echo "$as_me:$LINENO: checking for build directories" >&5
       
 22602 echo $ECHO_N "checking for build directories... $ECHO_C" >&6; }
       
 22603 for dir in $SRCDIRS; do
       
 22604     if test ! -d $dir; then
       
 22605         mkdir $dir
       
 22606     fi
       
 22607 done
       
 22608 { echo "$as_me:$LINENO: result: done" >&5
       
 22609 echo "${ECHO_T}done" >&6; }
       
 22610 
       
 22611 # generate output files
       
 22612 ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config"
       
 22613 
       
 22614 cat >confcache <<\_ACEOF
       
 22615 # This file is a shell script that caches the results of configure
       
 22616 # tests run on this system so they can be shared between configure
       
 22617 # scripts and configure runs, see configure's option --config-cache.
       
 22618 # It is not useful on other systems.  If it contains results you don't
       
 22619 # want to keep, you may remove or edit it.
       
 22620 #
       
 22621 # config.status only pays attention to the cache file if you give it
       
 22622 # the --recheck option to rerun configure.
       
 22623 #
       
 22624 # `ac_cv_env_foo' variables (set or unset) will be overridden when
       
 22625 # loading this file, other *unset* `ac_cv_foo' will be assigned the
       
 22626 # following values.
       
 22627 
       
 22628 _ACEOF
       
 22629 
       
 22630 # The following way of writing the cache mishandles newlines in values,
       
 22631 # but we know of no workaround that is simple, portable, and efficient.
       
 22632 # So, we kill variables containing newlines.
       
 22633 # Ultrix sh set writes to stderr and can't be redirected directly,
       
 22634 # and sets the high bit in the cache file unless we assign to the vars.
       
 22635 (
       
 22636   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
       
 22637     eval ac_val=\$$ac_var
       
 22638     case $ac_val in #(
       
 22639     *${as_nl}*)
       
 22640       case $ac_var in #(
       
 22641       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
 22642 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
 22643       esac
       
 22644       case $ac_var in #(
       
 22645       _ | IFS | as_nl) ;; #(
       
 22646       *) $as_unset $ac_var ;;
       
 22647       esac ;;
       
 22648     esac
       
 22649   done
       
 22650 
       
 22651   (set) 2>&1 |
       
 22652     case $as_nl`(ac_space=' '; set) 2>&1` in #(
       
 22653     *${as_nl}ac_space=\ *)
       
 22654       # `set' does not quote correctly, so add quotes (double-quote
       
 22655       # substitution turns \\\\ into \\, and sed turns \\ into \).
       
 22656       sed -n \
       
 22657 	"s/'/'\\\\''/g;
       
 22658 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
       
 22659       ;; #(
       
 22660     *)
       
 22661       # `set' quotes correctly as required by POSIX, so do not add quotes.
       
 22662       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
 22663       ;;
       
 22664     esac |
       
 22665     sort
       
 22666 ) |
       
 22667   sed '
       
 22668      /^ac_cv_env_/b end
       
 22669      t clear
       
 22670      :clear
       
 22671      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
       
 22672      t end
       
 22673      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
       
 22674      :end' >>confcache
       
 22675 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
       
 22676   if test -w "$cache_file"; then
       
 22677     test "x$cache_file" != "x/dev/null" &&
       
 22678       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
       
 22679 echo "$as_me: updating cache $cache_file" >&6;}
       
 22680     cat confcache >$cache_file
       
 22681   else
       
 22682     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
       
 22683 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
       
 22684   fi
       
 22685 fi
       
 22686 rm -f confcache
       
 22687 
       
 22688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
       
 22689 # Let make expand exec_prefix.
       
 22690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
       
 22691 
       
 22692 DEFS=-DHAVE_CONFIG_H
       
 22693 
       
 22694 ac_libobjs=
       
 22695 ac_ltlibobjs=
       
 22696 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
       
 22697   # 1. Remove the extension, and $U if already installed.
       
 22698   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
       
 22699   ac_i=`echo "$ac_i" | sed "$ac_script"`
       
 22700   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
       
 22701   #    will be set to the directory where LIBOBJS objects are built.
       
 22702   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
       
 22703   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
       
 22704 done
       
 22705 LIBOBJS=$ac_libobjs
       
 22706 
       
 22707 LTLIBOBJS=$ac_ltlibobjs
       
 22708 
       
 22709 
       
 22710 
       
 22711 : ${CONFIG_STATUS=./config.status}
       
 22712 ac_clean_files_save=$ac_clean_files
       
 22713 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
       
 22714 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
       
 22715 echo "$as_me: creating $CONFIG_STATUS" >&6;}
       
 22716 cat >$CONFIG_STATUS <<_ACEOF
       
 22717 #! $SHELL
       
 22718 # Generated by $as_me.
       
 22719 # Run this file to recreate the current configuration.
       
 22720 # Compiler output produced by configure, useful for debugging
       
 22721 # configure, is in config.log if it exists.
       
 22722 
       
 22723 debug=false
       
 22724 ac_cs_recheck=false
       
 22725 ac_cs_silent=false
       
 22726 SHELL=\${CONFIG_SHELL-$SHELL}
       
 22727 _ACEOF
       
 22728 
       
 22729 cat >>$CONFIG_STATUS <<\_ACEOF
       
 22730 ## --------------------- ##
       
 22731 ## M4sh Initialization.  ##
       
 22732 ## --------------------- ##
       
 22733 
       
 22734 # Be more Bourne compatible
       
 22735 DUALCASE=1; export DUALCASE # for MKS sh
       
 22736 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
 22737   emulate sh
       
 22738   NULLCMD=:
       
 22739   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
 22740   # is contrary to our usage.  Disable this feature.
       
 22741   alias -g '${1+"$@"}'='"$@"'
       
 22742   setopt NO_GLOB_SUBST
       
 22743 else
       
 22744   case `(set -o) 2>/dev/null` in
       
 22745   *posix*) set -o posix ;;
       
 22746 esac
       
 22747 
       
 22748 fi
       
 22749 
       
 22750 
       
 22751 
       
 22752 
       
 22753 # PATH needs CR
       
 22754 # Avoid depending upon Character Ranges.
       
 22755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
 22756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
 22757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
 22758 as_cr_digits='0123456789'
       
 22759 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
 22760 
       
 22761 # The user is always right.
       
 22762 if test "${PATH_SEPARATOR+set}" != set; then
       
 22763   echo "#! /bin/sh" >conf$$.sh
       
 22764   echo  "exit 0"   >>conf$$.sh
       
 22765   chmod +x conf$$.sh
       
 22766   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
       
 22767     PATH_SEPARATOR=';'
       
 22768   else
       
 22769     PATH_SEPARATOR=:
       
 22770   fi
       
 22771   rm -f conf$$.sh
       
 22772 fi
       
 22773 
       
 22774 # Support unset when possible.
       
 22775 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
 22776   as_unset=unset
       
 22777 else
       
 22778   as_unset=false
       
 22779 fi
       
 22780 
       
 22781 
       
 22782 # IFS
       
 22783 # We need space, tab and new line, in precisely that order.  Quoting is
       
 22784 # there to prevent editors from complaining about space-tab.
       
 22785 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
 22786 # splitting by setting IFS to empty value.)
       
 22787 as_nl='
       
 22788 '
       
 22789 IFS=" ""	$as_nl"
       
 22790 
       
 22791 # Find who we are.  Look in the path if we contain no directory separator.
       
 22792 case $0 in
       
 22793   *[\\/]* ) as_myself=$0 ;;
       
 22794   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 22795 for as_dir in $PATH
       
 22796 do
       
 22797   IFS=$as_save_IFS
       
 22798   test -z "$as_dir" && as_dir=.
       
 22799   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
 22800 done
       
 22801 IFS=$as_save_IFS
       
 22802 
       
 22803      ;;
       
 22804 esac
       
 22805 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
 22806 # in which case we are not to be found in the path.
       
 22807 if test "x$as_myself" = x; then
       
 22808   as_myself=$0
       
 22809 fi
       
 22810 if test ! -f "$as_myself"; then
       
 22811   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
 22812   { (exit 1); exit 1; }
       
 22813 fi
       
 22814 
       
 22815 # Work around bugs in pre-3.0 UWIN ksh.
       
 22816 for as_var in ENV MAIL MAILPATH
       
 22817 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
 22818 done
       
 22819 PS1='$ '
       
 22820 PS2='> '
       
 22821 PS4='+ '
       
 22822 
       
 22823 # NLS nuisances.
       
 22824 for as_var in \
       
 22825   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
       
 22826   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
       
 22827   LC_TELEPHONE LC_TIME
       
 22828 do
       
 22829   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       
 22830     eval $as_var=C; export $as_var
       
 22831   else
       
 22832     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
 22833   fi
       
 22834 done
       
 22835 
       
 22836 # Required to use basename.
       
 22837 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
 22838    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
 22839   as_expr=expr
       
 22840 else
       
 22841   as_expr=false
       
 22842 fi
       
 22843 
       
 22844 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
 22845   as_basename=basename
       
 22846 else
       
 22847   as_basename=false
       
 22848 fi
       
 22849 
       
 22850 
       
 22851 # Name of the executable.
       
 22852 as_me=`$as_basename -- "$0" ||
       
 22853 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
 22854 	 X"$0" : 'X\(//\)$' \| \
       
 22855 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
 22856 echo X/"$0" |
       
 22857     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
 22858 	    s//\1/
       
 22859 	    q
       
 22860 	  }
       
 22861 	  /^X\/\(\/\/\)$/{
       
 22862 	    s//\1/
       
 22863 	    q
       
 22864 	  }
       
 22865 	  /^X\/\(\/\).*/{
       
 22866 	    s//\1/
       
 22867 	    q
       
 22868 	  }
       
 22869 	  s/.*/./; q'`
       
 22870 
       
 22871 # CDPATH.
       
 22872 $as_unset CDPATH
       
 22873 
       
 22874 
       
 22875 
       
 22876   as_lineno_1=$LINENO
       
 22877   as_lineno_2=$LINENO
       
 22878   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
 22879   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
       
 22880 
       
 22881   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
       
 22882   # uniformly replaced by the line number.  The first 'sed' inserts a
       
 22883   # line-number line after each line using $LINENO; the second 'sed'
       
 22884   # does the real work.  The second script uses 'N' to pair each
       
 22885   # line-number line with the line containing $LINENO, and appends
       
 22886   # trailing '-' during substitution so that $LINENO is not a special
       
 22887   # case at line end.
       
 22888   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
       
 22889   # scripts with optimization help from Paolo Bonzini.  Blame Lee
       
 22890   # E. McMahon (1931-1989) for sed's syntax.  :-)
       
 22891   sed -n '
       
 22892     p
       
 22893     /[$]LINENO/=
       
 22894   ' <$as_myself |
       
 22895     sed '
       
 22896       s/[$]LINENO.*/&-/
       
 22897       t lineno
       
 22898       b
       
 22899       :lineno
       
 22900       N
       
 22901       :loop
       
 22902       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
 22903       t loop
       
 22904       s/-\n.*//
       
 22905     ' >$as_me.lineno &&
       
 22906   chmod +x "$as_me.lineno" ||
       
 22907     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
       
 22908    { (exit 1); exit 1; }; }
       
 22909 
       
 22910   # Don't try to exec as it changes $[0], causing all sort of problems
       
 22911   # (the dirname of $[0] is not the place where we might find the
       
 22912   # original and so on.  Autoconf is especially sensitive to this).
       
 22913   . "./$as_me.lineno"
       
 22914   # Exit status is that of the last command.
       
 22915   exit
       
 22916 }
       
 22917 
       
 22918 
       
 22919 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
 22920   as_dirname=dirname
       
 22921 else
       
 22922   as_dirname=false
       
 22923 fi
       
 22924 
       
 22925 ECHO_C= ECHO_N= ECHO_T=
       
 22926 case `echo -n x` in
       
 22927 -n*)
       
 22928   case `echo 'x\c'` in
       
 22929   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
 22930   *)   ECHO_C='\c';;
       
 22931   esac;;
       
 22932 *)
       
 22933   ECHO_N='-n';;
       
 22934 esac
       
 22935 
       
 22936 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
 22937    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
 22938   as_expr=expr
       
 22939 else
       
 22940   as_expr=false
       
 22941 fi
       
 22942 
       
 22943 rm -f conf$$ conf$$.exe conf$$.file
       
 22944 if test -d conf$$.dir; then
       
 22945   rm -f conf$$.dir/conf$$.file
       
 22946 else
       
 22947   rm -f conf$$.dir
       
 22948   mkdir conf$$.dir
       
 22949 fi
       
 22950 echo >conf$$.file
       
 22951 if ln -s conf$$.file conf$$ 2>/dev/null; then
       
 22952   as_ln_s='ln -s'
       
 22953   # ... but there are two gotchas:
       
 22954   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
 22955   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
 22956   # In both cases, we have to default to `cp -p'.
       
 22957   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
 22958     as_ln_s='cp -p'
       
 22959 elif ln conf$$.file conf$$ 2>/dev/null; then
       
 22960   as_ln_s=ln
       
 22961 else
       
 22962   as_ln_s='cp -p'
       
 22963 fi
       
 22964 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
 22965 rmdir conf$$.dir 2>/dev/null
       
 22966 
       
 22967 if mkdir -p . 2>/dev/null; then
       
 22968   as_mkdir_p=:
       
 22969 else
       
 22970   test -d ./-p && rmdir ./-p
       
 22971   as_mkdir_p=false
       
 22972 fi
       
 22973 
       
 22974 if test -x / >/dev/null 2>&1; then
       
 22975   as_test_x='test -x'
       
 22976 else
       
 22977   if ls -dL / >/dev/null 2>&1; then
       
 22978     as_ls_L_option=L
       
 22979   else
       
 22980     as_ls_L_option=
       
 22981   fi
       
 22982   as_test_x='
       
 22983     eval sh -c '\''
       
 22984       if test -d "$1"; then
       
 22985         test -d "$1/.";
       
 22986       else
       
 22987 	case $1 in
       
 22988         -*)set "./$1";;
       
 22989 	esac;
       
 22990 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
       
 22991 	???[sx]*):;;*)false;;esac;fi
       
 22992     '\'' sh
       
 22993   '
       
 22994 fi
       
 22995 as_executable_p=$as_test_x
       
 22996 
       
 22997 # Sed expression to map a string onto a valid CPP name.
       
 22998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
 22999 
       
 23000 # Sed expression to map a string onto a valid variable name.
       
 23001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
 23002 
       
 23003 
       
 23004 exec 6>&1
       
 23005 
       
 23006 # Save the log message, to keep $[0] and so on meaningful, and to
       
 23007 # report actual input values of CONFIG_FILES etc. instead of their
       
 23008 # values after options handling.
       
 23009 ac_log="
       
 23010 This file was extended by python $as_me 2.5, which was
       
 23011 generated by GNU Autoconf 2.61.  Invocation command line was
       
 23012 
       
 23013   CONFIG_FILES    = $CONFIG_FILES
       
 23014   CONFIG_HEADERS  = $CONFIG_HEADERS
       
 23015   CONFIG_LINKS    = $CONFIG_LINKS
       
 23016   CONFIG_COMMANDS = $CONFIG_COMMANDS
       
 23017   $ $0 $@
       
 23018 
       
 23019 on `(hostname || uname -n) 2>/dev/null | sed 1q`
       
 23020 "
       
 23021 
       
 23022 _ACEOF
       
 23023 
       
 23024 cat >>$CONFIG_STATUS <<_ACEOF
       
 23025 # Files that config.status was made for.
       
 23026 config_files="$ac_config_files"
       
 23027 config_headers="$ac_config_headers"
       
 23028 
       
 23029 _ACEOF
       
 23030 
       
 23031 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23032 ac_cs_usage="\
       
 23033 \`$as_me' instantiates files from templates according to the
       
 23034 current configuration.
       
 23035 
       
 23036 Usage: $0 [OPTIONS] [FILE]...
       
 23037 
       
 23038   -h, --help       print this help, then exit
       
 23039   -V, --version    print version number and configuration settings, then exit
       
 23040   -q, --quiet      do not print progress messages
       
 23041   -d, --debug      don't remove temporary files
       
 23042       --recheck    update $as_me by reconfiguring in the same conditions
       
 23043   --file=FILE[:TEMPLATE]
       
 23044 		   instantiate the configuration file FILE
       
 23045   --header=FILE[:TEMPLATE]
       
 23046 		   instantiate the configuration header FILE
       
 23047 
       
 23048 Configuration files:
       
 23049 $config_files
       
 23050 
       
 23051 Configuration headers:
       
 23052 $config_headers
       
 23053 
       
 23054 Report bugs to <bug-autoconf@gnu.org>."
       
 23055 
       
 23056 _ACEOF
       
 23057 cat >>$CONFIG_STATUS <<_ACEOF
       
 23058 ac_cs_version="\\
       
 23059 python config.status 2.5
       
 23060 configured by $0, generated by GNU Autoconf 2.61,
       
 23061   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
       
 23062 
       
 23063 Copyright (C) 2006 Free Software Foundation, Inc.
       
 23064 This config.status script is free software; the Free Software Foundation
       
 23065 gives unlimited permission to copy, distribute and modify it."
       
 23066 
       
 23067 ac_pwd='$ac_pwd'
       
 23068 srcdir='$srcdir'
       
 23069 INSTALL='$INSTALL'
       
 23070 _ACEOF
       
 23071 
       
 23072 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23073 # If no file are specified by the user, then we need to provide default
       
 23074 # value.  By we need to know if files were specified by the user.
       
 23075 ac_need_defaults=:
       
 23076 while test $# != 0
       
 23077 do
       
 23078   case $1 in
       
 23079   --*=*)
       
 23080     ac_option=`expr "X$1" : 'X\([^=]*\)='`
       
 23081     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
       
 23082     ac_shift=:
       
 23083     ;;
       
 23084   *)
       
 23085     ac_option=$1
       
 23086     ac_optarg=$2
       
 23087     ac_shift=shift
       
 23088     ;;
       
 23089   esac
       
 23090 
       
 23091   case $ac_option in
       
 23092   # Handling of the options.
       
 23093   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
       
 23094     ac_cs_recheck=: ;;
       
 23095   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
       
 23096     echo "$ac_cs_version"; exit ;;
       
 23097   --debug | --debu | --deb | --de | --d | -d )
       
 23098     debug=: ;;
       
 23099   --file | --fil | --fi | --f )
       
 23100     $ac_shift
       
 23101     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
       
 23102     ac_need_defaults=false;;
       
 23103   --header | --heade | --head | --hea )
       
 23104     $ac_shift
       
 23105     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
       
 23106     ac_need_defaults=false;;
       
 23107   --he | --h)
       
 23108     # Conflict between --help and --header
       
 23109     { echo "$as_me: error: ambiguous option: $1
       
 23110 Try \`$0 --help' for more information." >&2
       
 23111    { (exit 1); exit 1; }; };;
       
 23112   --help | --hel | -h )
       
 23113     echo "$ac_cs_usage"; exit ;;
       
 23114   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
 23115   | -silent | --silent | --silen | --sile | --sil | --si | --s)
       
 23116     ac_cs_silent=: ;;
       
 23117 
       
 23118   # This is an error.
       
 23119   -*) { echo "$as_me: error: unrecognized option: $1
       
 23120 Try \`$0 --help' for more information." >&2
       
 23121    { (exit 1); exit 1; }; } ;;
       
 23122 
       
 23123   *) ac_config_targets="$ac_config_targets $1"
       
 23124      ac_need_defaults=false ;;
       
 23125 
       
 23126   esac
       
 23127   shift
       
 23128 done
       
 23129 
       
 23130 ac_configure_extra_args=
       
 23131 
       
 23132 if $ac_cs_silent; then
       
 23133   exec 6>/dev/null
       
 23134   ac_configure_extra_args="$ac_configure_extra_args --silent"
       
 23135 fi
       
 23136 
       
 23137 _ACEOF
       
 23138 cat >>$CONFIG_STATUS <<_ACEOF
       
 23139 if \$ac_cs_recheck; then
       
 23140   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
       
 23141   CONFIG_SHELL=$SHELL
       
 23142   export CONFIG_SHELL
       
 23143   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
       
 23144 fi
       
 23145 
       
 23146 _ACEOF
       
 23147 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23148 exec 5>>config.log
       
 23149 {
       
 23150   echo
       
 23151   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
       
 23152 ## Running $as_me. ##
       
 23153 _ASBOX
       
 23154   echo "$ac_log"
       
 23155 } >&5
       
 23156 
       
 23157 _ACEOF
       
 23158 cat >>$CONFIG_STATUS <<_ACEOF
       
 23159 _ACEOF
       
 23160 
       
 23161 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23162 
       
 23163 # Handling of arguments.
       
 23164 for ac_config_target in $ac_config_targets
       
 23165 do
       
 23166   case $ac_config_target in
       
 23167     "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;;
       
 23168     "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;;
       
 23169     "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;;
       
 23170     "Mac/IDLE/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/IDLE/Makefile" ;;
       
 23171     "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;;
       
 23172     "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;;
       
 23173 
       
 23174   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
       
 23175 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
       
 23176    { (exit 1); exit 1; }; };;
       
 23177   esac
       
 23178 done
       
 23179 
       
 23180 
       
 23181 # If the user did not use the arguments to specify the items to instantiate,
       
 23182 # then the envvar interface is used.  Set only those that are not.
       
 23183 # We use the long form for the default assignment because of an extremely
       
 23184 # bizarre bug on SunOS 4.1.3.
       
 23185 if $ac_need_defaults; then
       
 23186   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
       
 23187   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
       
 23188 fi
       
 23189 
       
 23190 # Have a temporary directory for convenience.  Make it in the build tree
       
 23191 # simply because there is no reason against having it here, and in addition,
       
 23192 # creating and moving files from /tmp can sometimes cause problems.
       
 23193 # Hook for its removal unless debugging.
       
 23194 # Note that there is a small window in which the directory will not be cleaned:
       
 23195 # after its creation but before its name has been assigned to `$tmp'.
       
 23196 $debug ||
       
 23197 {
       
 23198   tmp=
       
 23199   trap 'exit_status=$?
       
 23200   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
       
 23201 ' 0
       
 23202   trap '{ (exit 1); exit 1; }' 1 2 13 15
       
 23203 }
       
 23204 # Create a (secure) tmp directory for tmp files.
       
 23205 
       
 23206 {
       
 23207   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
       
 23208   test -n "$tmp" && test -d "$tmp"
       
 23209 }  ||
       
 23210 {
       
 23211   tmp=./conf$$-$RANDOM
       
 23212   (umask 077 && mkdir "$tmp")
       
 23213 } ||
       
 23214 {
       
 23215    echo "$me: cannot create a temporary directory in ." >&2
       
 23216    { (exit 1); exit 1; }
       
 23217 }
       
 23218 
       
 23219 #
       
 23220 # Set up the sed scripts for CONFIG_FILES section.
       
 23221 #
       
 23222 
       
 23223 # No need to generate the scripts if there are no CONFIG_FILES.
       
 23224 # This happens for instance when ./config.status config.h
       
 23225 if test -n "$CONFIG_FILES"; then
       
 23226 
       
 23227 _ACEOF
       
 23228 
       
 23229 
       
 23230 
       
 23231 ac_delim='%!_!# '
       
 23232 for ac_last_try in false false false false false :; do
       
 23233   cat >conf$$subs.sed <<_ACEOF
       
 23234 SHELL!$SHELL$ac_delim
       
 23235 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
       
 23236 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
       
 23237 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
       
 23238 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
       
 23239 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
       
 23240 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
       
 23241 exec_prefix!$exec_prefix$ac_delim
       
 23242 prefix!$prefix$ac_delim
       
 23243 program_transform_name!$program_transform_name$ac_delim
       
 23244 bindir!$bindir$ac_delim
       
 23245 sbindir!$sbindir$ac_delim
       
 23246 libexecdir!$libexecdir$ac_delim
       
 23247 datarootdir!$datarootdir$ac_delim
       
 23248 datadir!$datadir$ac_delim
       
 23249 sysconfdir!$sysconfdir$ac_delim
       
 23250 sharedstatedir!$sharedstatedir$ac_delim
       
 23251 localstatedir!$localstatedir$ac_delim
       
 23252 includedir!$includedir$ac_delim
       
 23253 oldincludedir!$oldincludedir$ac_delim
       
 23254 docdir!$docdir$ac_delim
       
 23255 infodir!$infodir$ac_delim
       
 23256 htmldir!$htmldir$ac_delim
       
 23257 dvidir!$dvidir$ac_delim
       
 23258 pdfdir!$pdfdir$ac_delim
       
 23259 psdir!$psdir$ac_delim
       
 23260 libdir!$libdir$ac_delim
       
 23261 localedir!$localedir$ac_delim
       
 23262 mandir!$mandir$ac_delim
       
 23263 DEFS!$DEFS$ac_delim
       
 23264 ECHO_C!$ECHO_C$ac_delim
       
 23265 ECHO_N!$ECHO_N$ac_delim
       
 23266 ECHO_T!$ECHO_T$ac_delim
       
 23267 LIBS!$LIBS$ac_delim
       
 23268 build_alias!$build_alias$ac_delim
       
 23269 host_alias!$host_alias$ac_delim
       
 23270 target_alias!$target_alias$ac_delim
       
 23271 VERSION!$VERSION$ac_delim
       
 23272 SOVERSION!$SOVERSION$ac_delim
       
 23273 CONFIG_ARGS!$CONFIG_ARGS$ac_delim
       
 23274 UNIVERSALSDK!$UNIVERSALSDK$ac_delim
       
 23275 PYTHONFRAMEWORK!$PYTHONFRAMEWORK$ac_delim
       
 23276 PYTHONFRAMEWORKDIR!$PYTHONFRAMEWORKDIR$ac_delim
       
 23277 PYTHONFRAMEWORKPREFIX!$PYTHONFRAMEWORKPREFIX$ac_delim
       
 23278 PYTHONFRAMEWORKINSTALLDIR!$PYTHONFRAMEWORKINSTALLDIR$ac_delim
       
 23279 FRAMEWORKINSTALLFIRST!$FRAMEWORKINSTALLFIRST$ac_delim
       
 23280 FRAMEWORKINSTALLLAST!$FRAMEWORKINSTALLLAST$ac_delim
       
 23281 FRAMEWORKALTINSTALLFIRST!$FRAMEWORKALTINSTALLFIRST$ac_delim
       
 23282 FRAMEWORKALTINSTALLLAST!$FRAMEWORKALTINSTALLLAST$ac_delim
       
 23283 FRAMEWORKUNIXTOOLSPREFIX!$FRAMEWORKUNIXTOOLSPREFIX$ac_delim
       
 23284 MACHDEP!$MACHDEP$ac_delim
       
 23285 SGI_ABI!$SGI_ABI$ac_delim
       
 23286 EXTRAPLATDIR!$EXTRAPLATDIR$ac_delim
       
 23287 EXTRAMACHDEPPATH!$EXTRAMACHDEPPATH$ac_delim
       
 23288 CONFIGURE_MACOSX_DEPLOYMENT_TARGET!$CONFIGURE_MACOSX_DEPLOYMENT_TARGET$ac_delim
       
 23289 EXPORT_MACOSX_DEPLOYMENT_TARGET!$EXPORT_MACOSX_DEPLOYMENT_TARGET$ac_delim
       
 23290 CC!$CC$ac_delim
       
 23291 CFLAGS!$CFLAGS$ac_delim
       
 23292 LDFLAGS!$LDFLAGS$ac_delim
       
 23293 CPPFLAGS!$CPPFLAGS$ac_delim
       
 23294 ac_ct_CC!$ac_ct_CC$ac_delim
       
 23295 EXEEXT!$EXEEXT$ac_delim
       
 23296 OBJEXT!$OBJEXT$ac_delim
       
 23297 CXX!$CXX$ac_delim
       
 23298 MAINCC!$MAINCC$ac_delim
       
 23299 CPP!$CPP$ac_delim
       
 23300 GREP!$GREP$ac_delim
       
 23301 EGREP!$EGREP$ac_delim
       
 23302 BUILDEXEEXT!$BUILDEXEEXT$ac_delim
       
 23303 LIBRARY!$LIBRARY$ac_delim
       
 23304 LDLIBRARY!$LDLIBRARY$ac_delim
       
 23305 DLLLIBRARY!$DLLLIBRARY$ac_delim
       
 23306 BLDLIBRARY!$BLDLIBRARY$ac_delim
       
 23307 LDLIBRARYDIR!$LDLIBRARYDIR$ac_delim
       
 23308 INSTSONAME!$INSTSONAME$ac_delim
       
 23309 RUNSHARED!$RUNSHARED$ac_delim
       
 23310 LINKCC!$LINKCC$ac_delim
       
 23311 RANLIB!$RANLIB$ac_delim
       
 23312 AR!$AR$ac_delim
       
 23313 SVNVERSION!$SVNVERSION$ac_delim
       
 23314 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
       
 23315 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
       
 23316 INSTALL_DATA!$INSTALL_DATA$ac_delim
       
 23317 LN!$LN$ac_delim
       
 23318 OPT!$OPT$ac_delim
       
 23319 BASECFLAGS!$BASECFLAGS$ac_delim
       
 23320 OTHER_LIBTOOL_OPT!$OTHER_LIBTOOL_OPT$ac_delim
       
 23321 LIBTOOL_CRUFT!$LIBTOOL_CRUFT$ac_delim
       
 23322 SO!$SO$ac_delim
       
 23323 LDSHARED!$LDSHARED$ac_delim
       
 23324 BLDSHARED!$BLDSHARED$ac_delim
       
 23325 CCSHARED!$CCSHARED$ac_delim
       
 23326 LINKFORSHARED!$LINKFORSHARED$ac_delim
       
 23327 CFLAGSFORSHARED!$CFLAGSFORSHARED$ac_delim
       
 23328 SHLIBS!$SHLIBS$ac_delim
       
 23329 USE_SIGNAL_MODULE!$USE_SIGNAL_MODULE$ac_delim
       
 23330 SIGNAL_OBJS!$SIGNAL_OBJS$ac_delim
       
 23331 _ACEOF
       
 23332 
       
 23333   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
       
 23334     break
       
 23335   elif $ac_last_try; then
       
 23336     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
       
 23337 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       
 23338    { (exit 1); exit 1; }; }
       
 23339   else
       
 23340     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
 23341   fi
       
 23342 done
       
 23343 
       
 23344 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
       
 23345 if test -n "$ac_eof"; then
       
 23346   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
       
 23347   ac_eof=`expr $ac_eof + 1`
       
 23348 fi
       
 23349 
       
 23350 cat >>$CONFIG_STATUS <<_ACEOF
       
 23351 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
       
 23352 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
 23353 _ACEOF
       
 23354 sed '
       
 23355 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
       
 23356 s/^/s,@/; s/!/@,|#_!!_#|/
       
 23357 :n
       
 23358 t n
       
 23359 s/'"$ac_delim"'$/,g/; t
       
 23360 s/$/\\/; p
       
 23361 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
       
 23362 ' >>$CONFIG_STATUS <conf$$subs.sed
       
 23363 rm -f conf$$subs.sed
       
 23364 cat >>$CONFIG_STATUS <<_ACEOF
       
 23365 CEOF$ac_eof
       
 23366 _ACEOF
       
 23367 
       
 23368 
       
 23369 ac_delim='%!_!# '
       
 23370 for ac_last_try in false false false false false :; do
       
 23371   cat >conf$$subs.sed <<_ACEOF
       
 23372 USE_THREAD_MODULE!$USE_THREAD_MODULE$ac_delim
       
 23373 LDLAST!$LDLAST$ac_delim
       
 23374 THREADOBJ!$THREADOBJ$ac_delim
       
 23375 DLINCLDIR!$DLINCLDIR$ac_delim
       
 23376 DYNLOADFILE!$DYNLOADFILE$ac_delim
       
 23377 MACHDEP_OBJS!$MACHDEP_OBJS$ac_delim
       
 23378 TRUE!$TRUE$ac_delim
       
 23379 LIBOBJS!$LIBOBJS$ac_delim
       
 23380 HAVE_GETHOSTBYNAME_R_6_ARG!$HAVE_GETHOSTBYNAME_R_6_ARG$ac_delim
       
 23381 HAVE_GETHOSTBYNAME_R_5_ARG!$HAVE_GETHOSTBYNAME_R_5_ARG$ac_delim
       
 23382 HAVE_GETHOSTBYNAME_R_3_ARG!$HAVE_GETHOSTBYNAME_R_3_ARG$ac_delim
       
 23383 HAVE_GETHOSTBYNAME_R!$HAVE_GETHOSTBYNAME_R$ac_delim
       
 23384 HAVE_GETHOSTBYNAME!$HAVE_GETHOSTBYNAME$ac_delim
       
 23385 LIBM!$LIBM$ac_delim
       
 23386 LIBC!$LIBC$ac_delim
       
 23387 UNICODE_OBJS!$UNICODE_OBJS$ac_delim
       
 23388 THREADHEADERS!$THREADHEADERS$ac_delim
       
 23389 SRCDIRS!$SRCDIRS$ac_delim
       
 23390 LTLIBOBJS!$LTLIBOBJS$ac_delim
       
 23391 _ACEOF
       
 23392 
       
 23393   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
       
 23394     break
       
 23395   elif $ac_last_try; then
       
 23396     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
       
 23397 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       
 23398    { (exit 1); exit 1; }; }
       
 23399   else
       
 23400     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
 23401   fi
       
 23402 done
       
 23403 
       
 23404 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
       
 23405 if test -n "$ac_eof"; then
       
 23406   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
       
 23407   ac_eof=`expr $ac_eof + 1`
       
 23408 fi
       
 23409 
       
 23410 cat >>$CONFIG_STATUS <<_ACEOF
       
 23411 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
       
 23412 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
       
 23413 _ACEOF
       
 23414 sed '
       
 23415 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
       
 23416 s/^/s,@/; s/!/@,|#_!!_#|/
       
 23417 :n
       
 23418 t n
       
 23419 s/'"$ac_delim"'$/,g/; t
       
 23420 s/$/\\/; p
       
 23421 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
       
 23422 ' >>$CONFIG_STATUS <conf$$subs.sed
       
 23423 rm -f conf$$subs.sed
       
 23424 cat >>$CONFIG_STATUS <<_ACEOF
       
 23425 :end
       
 23426 s/|#_!!_#|//g
       
 23427 CEOF$ac_eof
       
 23428 _ACEOF
       
 23429 
       
 23430 
       
 23431 # VPATH may cause trouble with some makes, so we remove $(srcdir),
       
 23432 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
       
 23433 # trailing colons and then remove the whole line if VPATH becomes empty
       
 23434 # (actually we leave an empty line to preserve line numbers).
       
 23435 if test "x$srcdir" = x.; then
       
 23436   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
       
 23437 s/:*\$(srcdir):*/:/
       
 23438 s/:*\${srcdir}:*/:/
       
 23439 s/:*@srcdir@:*/:/
       
 23440 s/^\([^=]*=[	 ]*\):*/\1/
       
 23441 s/:*$//
       
 23442 s/^[^=]*=[	 ]*$//
       
 23443 }'
       
 23444 fi
       
 23445 
       
 23446 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23447 fi # test -n "$CONFIG_FILES"
       
 23448 
       
 23449 
       
 23450 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
       
 23451 do
       
 23452   case $ac_tag in
       
 23453   :[FHLC]) ac_mode=$ac_tag; continue;;
       
 23454   esac
       
 23455   case $ac_mode$ac_tag in
       
 23456   :[FHL]*:*);;
       
 23457   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
       
 23458 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
       
 23459    { (exit 1); exit 1; }; };;
       
 23460   :[FH]-) ac_tag=-:-;;
       
 23461   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
       
 23462   esac
       
 23463   ac_save_IFS=$IFS
       
 23464   IFS=:
       
 23465   set x $ac_tag
       
 23466   IFS=$ac_save_IFS
       
 23467   shift
       
 23468   ac_file=$1
       
 23469   shift
       
 23470 
       
 23471   case $ac_mode in
       
 23472   :L) ac_source=$1;;
       
 23473   :[FH])
       
 23474     ac_file_inputs=
       
 23475     for ac_f
       
 23476     do
       
 23477       case $ac_f in
       
 23478       -) ac_f="$tmp/stdin";;
       
 23479       *) # Look for the file first in the build tree, then in the source tree
       
 23480 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
       
 23481 	 # because $ac_f cannot contain `:'.
       
 23482 	 test -f "$ac_f" ||
       
 23483 	   case $ac_f in
       
 23484 	   [\\/$]*) false;;
       
 23485 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
       
 23486 	   esac ||
       
 23487 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
       
 23488 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
       
 23489    { (exit 1); exit 1; }; };;
       
 23490       esac
       
 23491       ac_file_inputs="$ac_file_inputs $ac_f"
       
 23492     done
       
 23493 
       
 23494     # Let's still pretend it is `configure' which instantiates (i.e., don't
       
 23495     # use $as_me), people would be surprised to read:
       
 23496     #    /* config.h.  Generated by config.status.  */
       
 23497     configure_input="Generated from "`IFS=:
       
 23498 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
       
 23499     if test x"$ac_file" != x-; then
       
 23500       configure_input="$ac_file.  $configure_input"
       
 23501       { echo "$as_me:$LINENO: creating $ac_file" >&5
       
 23502 echo "$as_me: creating $ac_file" >&6;}
       
 23503     fi
       
 23504 
       
 23505     case $ac_tag in
       
 23506     *:-:* | *:-) cat >"$tmp/stdin";;
       
 23507     esac
       
 23508     ;;
       
 23509   esac
       
 23510 
       
 23511   ac_dir=`$as_dirname -- "$ac_file" ||
       
 23512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 23513 	 X"$ac_file" : 'X\(//\)[^/]' \| \
       
 23514 	 X"$ac_file" : 'X\(//\)$' \| \
       
 23515 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
       
 23516 echo X"$ac_file" |
       
 23517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 23518 	    s//\1/
       
 23519 	    q
       
 23520 	  }
       
 23521 	  /^X\(\/\/\)[^/].*/{
       
 23522 	    s//\1/
       
 23523 	    q
       
 23524 	  }
       
 23525 	  /^X\(\/\/\)$/{
       
 23526 	    s//\1/
       
 23527 	    q
       
 23528 	  }
       
 23529 	  /^X\(\/\).*/{
       
 23530 	    s//\1/
       
 23531 	    q
       
 23532 	  }
       
 23533 	  s/.*/./; q'`
       
 23534   { as_dir="$ac_dir"
       
 23535   case $as_dir in #(
       
 23536   -*) as_dir=./$as_dir;;
       
 23537   esac
       
 23538   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
       
 23539     as_dirs=
       
 23540     while :; do
       
 23541       case $as_dir in #(
       
 23542       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
       
 23543       *) as_qdir=$as_dir;;
       
 23544       esac
       
 23545       as_dirs="'$as_qdir' $as_dirs"
       
 23546       as_dir=`$as_dirname -- "$as_dir" ||
       
 23547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 23548 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
 23549 	 X"$as_dir" : 'X\(//\)$' \| \
       
 23550 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
 23551 echo X"$as_dir" |
       
 23552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 23553 	    s//\1/
       
 23554 	    q
       
 23555 	  }
       
 23556 	  /^X\(\/\/\)[^/].*/{
       
 23557 	    s//\1/
       
 23558 	    q
       
 23559 	  }
       
 23560 	  /^X\(\/\/\)$/{
       
 23561 	    s//\1/
       
 23562 	    q
       
 23563 	  }
       
 23564 	  /^X\(\/\).*/{
       
 23565 	    s//\1/
       
 23566 	    q
       
 23567 	  }
       
 23568 	  s/.*/./; q'`
       
 23569       test -d "$as_dir" && break
       
 23570     done
       
 23571     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
 23572   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
       
 23573 echo "$as_me: error: cannot create directory $as_dir" >&2;}
       
 23574    { (exit 1); exit 1; }; }; }
       
 23575   ac_builddir=.
       
 23576 
       
 23577 case "$ac_dir" in
       
 23578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
 23579 *)
       
 23580   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
 23581   # A ".." for each directory in $ac_dir_suffix.
       
 23582   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
 23583   case $ac_top_builddir_sub in
       
 23584   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
 23585   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
 23586   esac ;;
       
 23587 esac
       
 23588 ac_abs_top_builddir=$ac_pwd
       
 23589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
 23590 # for backward compatibility:
       
 23591 ac_top_builddir=$ac_top_build_prefix
       
 23592 
       
 23593 case $srcdir in
       
 23594   .)  # We are building in place.
       
 23595     ac_srcdir=.
       
 23596     ac_top_srcdir=$ac_top_builddir_sub
       
 23597     ac_abs_top_srcdir=$ac_pwd ;;
       
 23598   [\\/]* | ?:[\\/]* )  # Absolute name.
       
 23599     ac_srcdir=$srcdir$ac_dir_suffix;
       
 23600     ac_top_srcdir=$srcdir
       
 23601     ac_abs_top_srcdir=$srcdir ;;
       
 23602   *) # Relative name.
       
 23603     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
 23604     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
 23605     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
 23606 esac
       
 23607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
 23608 
       
 23609 
       
 23610   case $ac_mode in
       
 23611   :F)
       
 23612   #
       
 23613   # CONFIG_FILE
       
 23614   #
       
 23615 
       
 23616   case $INSTALL in
       
 23617   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
       
 23618   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
       
 23619   esac
       
 23620 _ACEOF
       
 23621 
       
 23622 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23623 # If the template does not know about datarootdir, expand it.
       
 23624 # FIXME: This hack should be removed a few years after 2.60.
       
 23625 ac_datarootdir_hack=; ac_datarootdir_seen=
       
 23626 
       
 23627 case `sed -n '/datarootdir/ {
       
 23628   p
       
 23629   q
       
 23630 }
       
 23631 /@datadir@/p
       
 23632 /@docdir@/p
       
 23633 /@infodir@/p
       
 23634 /@localedir@/p
       
 23635 /@mandir@/p
       
 23636 ' $ac_file_inputs` in
       
 23637 *datarootdir*) ac_datarootdir_seen=yes;;
       
 23638 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
       
 23639   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
       
 23640 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
       
 23641 _ACEOF
       
 23642 cat >>$CONFIG_STATUS <<_ACEOF
       
 23643   ac_datarootdir_hack='
       
 23644   s&@datadir@&$datadir&g
       
 23645   s&@docdir@&$docdir&g
       
 23646   s&@infodir@&$infodir&g
       
 23647   s&@localedir@&$localedir&g
       
 23648   s&@mandir@&$mandir&g
       
 23649     s&\\\${datarootdir}&$datarootdir&g' ;;
       
 23650 esac
       
 23651 _ACEOF
       
 23652 
       
 23653 # Neutralize VPATH when `$srcdir' = `.'.
       
 23654 # Shell code in configure.ac might set extrasub.
       
 23655 # FIXME: do we really want to maintain this feature?
       
 23656 cat >>$CONFIG_STATUS <<_ACEOF
       
 23657   sed "$ac_vpsub
       
 23658 $extrasub
       
 23659 _ACEOF
       
 23660 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23661 :t
       
 23662 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
 23663 s&@configure_input@&$configure_input&;t t
       
 23664 s&@top_builddir@&$ac_top_builddir_sub&;t t
       
 23665 s&@srcdir@&$ac_srcdir&;t t
       
 23666 s&@abs_srcdir@&$ac_abs_srcdir&;t t
       
 23667 s&@top_srcdir@&$ac_top_srcdir&;t t
       
 23668 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
       
 23669 s&@builddir@&$ac_builddir&;t t
       
 23670 s&@abs_builddir@&$ac_abs_builddir&;t t
       
 23671 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
       
 23672 s&@INSTALL@&$ac_INSTALL&;t t
       
 23673 $ac_datarootdir_hack
       
 23674 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
       
 23675 
       
 23676 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
       
 23677   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
       
 23678   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
       
 23679   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
 23680 which seems to be undefined.  Please make sure it is defined." >&5
       
 23681 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
 23682 which seems to be undefined.  Please make sure it is defined." >&2;}
       
 23683 
       
 23684   rm -f "$tmp/stdin"
       
 23685   case $ac_file in
       
 23686   -) cat "$tmp/out"; rm -f "$tmp/out";;
       
 23687   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
       
 23688   esac
       
 23689  ;;
       
 23690   :H)
       
 23691   #
       
 23692   # CONFIG_HEADER
       
 23693   #
       
 23694 _ACEOF
       
 23695 
       
 23696 # Transform confdefs.h into a sed script `conftest.defines', that
       
 23697 # substitutes the proper values into config.h.in to produce config.h.
       
 23698 rm -f conftest.defines conftest.tail
       
 23699 # First, append a space to every undef/define line, to ease matching.
       
 23700 echo 's/$/ /' >conftest.defines
       
 23701 # Then, protect against being on the right side of a sed subst, or in
       
 23702 # an unquoted here document, in config.status.  If some macros were
       
 23703 # called several times there might be several #defines for the same
       
 23704 # symbol, which is useless.  But do not sort them, since the last
       
 23705 # AC_DEFINE must be honored.
       
 23706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
       
 23707 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
       
 23708 # NAME is the cpp macro being defined, VALUE is the value it is being given.
       
 23709 # PARAMS is the parameter list in the macro definition--in most cases, it's
       
 23710 # just an empty string.
       
 23711 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
       
 23712 ac_dB='\\)[	 (].*,\\1define\\2'
       
 23713 ac_dC=' '
       
 23714 ac_dD=' ,'
       
 23715 
       
 23716 uniq confdefs.h |
       
 23717   sed -n '
       
 23718 	t rset
       
 23719 	:rset
       
 23720 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
       
 23721 	t ok
       
 23722 	d
       
 23723 	:ok
       
 23724 	s/[\\&,]/\\&/g
       
 23725 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
       
 23726 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
       
 23727   ' >>conftest.defines
       
 23728 
       
 23729 # Remove the space that was appended to ease matching.
       
 23730 # Then replace #undef with comments.  This is necessary, for
       
 23731 # example, in the case of _POSIX_SOURCE, which is predefined and required
       
 23732 # on some systems where configure will not decide to define it.
       
 23733 # (The regexp can be short, since the line contains either #define or #undef.)
       
 23734 echo 's/ $//
       
 23735 s,^[	 #]*u.*,/* & */,' >>conftest.defines
       
 23736 
       
 23737 # Break up conftest.defines:
       
 23738 ac_max_sed_lines=50
       
 23739 
       
 23740 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
       
 23741 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
       
 23742 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
       
 23743 # et cetera.
       
 23744 ac_in='$ac_file_inputs'
       
 23745 ac_out='"$tmp/out1"'
       
 23746 ac_nxt='"$tmp/out2"'
       
 23747 
       
 23748 while :
       
 23749 do
       
 23750   # Write a here document:
       
 23751     cat >>$CONFIG_STATUS <<_ACEOF
       
 23752     # First, check the format of the line:
       
 23753     cat >"\$tmp/defines.sed" <<\\CEOF
       
 23754 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
       
 23755 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
       
 23756 b
       
 23757 :def
       
 23758 _ACEOF
       
 23759   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
       
 23760   echo 'CEOF
       
 23761     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
       
 23762   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
       
 23763   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
       
 23764   grep . conftest.tail >/dev/null || break
       
 23765   rm -f conftest.defines
       
 23766   mv conftest.tail conftest.defines
       
 23767 done
       
 23768 rm -f conftest.defines conftest.tail
       
 23769 
       
 23770 echo "ac_result=$ac_in" >>$CONFIG_STATUS
       
 23771 cat >>$CONFIG_STATUS <<\_ACEOF
       
 23772   if test x"$ac_file" != x-; then
       
 23773     echo "/* $configure_input  */" >"$tmp/config.h"
       
 23774     cat "$ac_result" >>"$tmp/config.h"
       
 23775     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
       
 23776       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
       
 23777 echo "$as_me: $ac_file is unchanged" >&6;}
       
 23778     else
       
 23779       rm -f $ac_file
       
 23780       mv "$tmp/config.h" $ac_file
       
 23781     fi
       
 23782   else
       
 23783     echo "/* $configure_input  */"
       
 23784     cat "$ac_result"
       
 23785   fi
       
 23786   rm -f "$tmp/out12"
       
 23787  ;;
       
 23788 
       
 23789 
       
 23790   esac
       
 23791 
       
 23792 done # for ac_tag
       
 23793 
       
 23794 
       
 23795 { (exit 0); exit 0; }
       
 23796 _ACEOF
       
 23797 chmod +x $CONFIG_STATUS
       
 23798 ac_clean_files=$ac_clean_files_save
       
 23799 
       
 23800 
       
 23801 # configure is writing to config.log, and then calls config.status.
       
 23802 # config.status does its own redirection, appending to config.log.
       
 23803 # Unfortunately, on DOS this fails, as config.log is still kept open
       
 23804 # by configure, so config.status won't be able to write to it; its
       
 23805 # output is simply discarded.  So we exec the FD to /dev/null,
       
 23806 # effectively closing config.log, so it can be properly (re)opened and
       
 23807 # appended to by config.status.  When coming back to configure, we
       
 23808 # need to make the FD available again.
       
 23809 if test "$no_create" != yes; then
       
 23810   ac_cs_success=:
       
 23811   ac_config_status_args=
       
 23812   test "$silent" = yes &&
       
 23813     ac_config_status_args="$ac_config_status_args --quiet"
       
 23814   exec 5>/dev/null
       
 23815   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
       
 23816   exec 5>>config.log
       
 23817   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
       
 23818   # would make configure fail if this is the last instruction.
       
 23819   $ac_cs_success || { (exit 1); exit 1; }
       
 23820 fi
       
 23821 
       
 23822 
       
 23823 echo "creating Modules/Setup"
       
 23824 if test ! -f Modules/Setup
       
 23825 then
       
 23826 	cp $srcdir/Modules/Setup.dist Modules/Setup
       
 23827 fi
       
 23828 
       
 23829 echo "creating Modules/Setup.local"
       
 23830 if test ! -f Modules/Setup.local
       
 23831 then
       
 23832 	echo "# Edit this file for local setup changes" >Modules/Setup.local
       
 23833 fi
       
 23834 
       
 23835 echo "creating Makefile"
       
 23836 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
       
 23837 			-s Modules Modules/Setup.config \
       
 23838 			Modules/Setup.local Modules/Setup
       
 23839 mv config.c Modules