Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xhost 1.0.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 exec 7<&0 </dev/null 6>&1
    577 
    578 # Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    580 # so uname gets run too.
    581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    582 
    583 #
    584 # Initializations.
    585 #
    586 ac_default_prefix=/usr/local
    587 ac_clean_files=
    588 ac_config_libobj_dir=.
    589 LIBOBJS=
    590 cross_compiling=no
    591 subdirs=
    592 MFLAGS=
    593 MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595 
    596 # Identity of this package.
    597 PACKAGE_NAME='xhost'
    598 PACKAGE_TARNAME='xhost'
    599 PACKAGE_VERSION='1.0.3'
    600 PACKAGE_STRING='xhost 1.0.3'
    601 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    602 
    603 # Factoring default headers for most tests.
    604 ac_includes_default="\
    605 #include <stdio.h>
    606 #ifdef HAVE_SYS_TYPES_H
    607 # include <sys/types.h>
    608 #endif
    609 #ifdef HAVE_SYS_STAT_H
    610 # include <sys/stat.h>
    611 #endif
    612 #ifdef STDC_HEADERS
    613 # include <stdlib.h>
    614 # include <stddef.h>
    615 #else
    616 # ifdef HAVE_STDLIB_H
    617 #  include <stdlib.h>
    618 # endif
    619 #endif
    620 #ifdef HAVE_STRING_H
    621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    622 #  include <memory.h>
    623 # endif
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_STRINGS_H
    627 # include <strings.h>
    628 #endif
    629 #ifdef HAVE_INTTYPES_H
    630 # include <inttypes.h>
    631 #endif
    632 #ifdef HAVE_STDINT_H
    633 # include <stdint.h>
    634 #endif
    635 #ifdef HAVE_UNISTD_H
    636 # include <unistd.h>
    637 #endif"
    638 
    639 ac_subst_vars='am__EXEEXT_FALSE
    640 am__EXEEXT_TRUE
    641 LTLIBOBJS
    642 LIBOBJS
    643 XHOST_LIBS
    644 XHOST_CFLAGS
    645 PKG_CONFIG
    646 ADMIN_MAN_DIR
    647 DRIVER_MAN_DIR
    648 MISC_MAN_DIR
    649 FILE_MAN_DIR
    650 LIB_MAN_DIR
    651 APP_MAN_DIR
    652 ADMIN_MAN_SUFFIX
    653 DRIVER_MAN_SUFFIX
    654 MISC_MAN_SUFFIX
    655 FILE_MAN_SUFFIX
    656 LIB_MAN_SUFFIX
    657 APP_MAN_SUFFIX
    658 host_os
    659 host_vendor
    660 host_cpu
    661 host
    662 build_os
    663 build_vendor
    664 build_cpu
    665 build
    666 distcleancheck_listfiles
    667 CHANGELOG_CMD
    668 AM_BACKSLASH
    669 AM_DEFAULT_VERBOSITY
    670 CWARNFLAGS
    671 EGREP
    672 GREP
    673 CPP
    674 am__fastdepCC_FALSE
    675 am__fastdepCC_TRUE
    676 CCDEPMODE
    677 AMDEPBACKSLASH
    678 AMDEP_FALSE
    679 AMDEP_TRUE
    680 am__quote
    681 am__include
    682 DEPDIR
    683 OBJEXT
    684 EXEEXT
    685 ac_ct_CC
    686 CPPFLAGS
    687 LDFLAGS
    688 CFLAGS
    689 CC
    690 MAINT
    691 MAINTAINER_MODE_FALSE
    692 MAINTAINER_MODE_TRUE
    693 am__untar
    694 am__tar
    695 AMTAR
    696 am__leading_dot
    697 SET_MAKE
    698 AWK
    699 mkdir_p
    700 MKDIR_P
    701 INSTALL_STRIP_PROGRAM
    702 STRIP
    703 install_sh
    704 MAKEINFO
    705 AUTOHEADER
    706 AUTOMAKE
    707 AUTOCONF
    708 ACLOCAL
    709 VERSION
    710 PACKAGE
    711 CYGPATH_W
    712 am__isrc
    713 INSTALL_DATA
    714 INSTALL_SCRIPT
    715 INSTALL_PROGRAM
    716 target_alias
    717 host_alias
    718 build_alias
    719 LIBS
    720 ECHO_T
    721 ECHO_N
    722 ECHO_C
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_BUGREPORT
    747 PACKAGE_STRING
    748 PACKAGE_VERSION
    749 PACKAGE_TARNAME
    750 PACKAGE_NAME
    751 PATH_SEPARATOR
    752 SHELL'
    753 ac_subst_files=''
    754 ac_user_opts='
    755 enable_option_checking
    756 enable_maintainer_mode
    757 enable_dependency_tracking
    758 enable_silent_rules
    759 enable_strict_compilation
    760 with_release_version
    761 enable_unix_transport
    762 enable_tcp_transport
    763 enable_ipv6
    764 enable_local_transport
    765 enable_secure_rpc
    766 '
    767       ac_precious_vars='build_alias
    768 host_alias
    769 target_alias
    770 CC
    771 CFLAGS
    772 LDFLAGS
    773 LIBS
    774 CPPFLAGS
    775 CPP
    776 PKG_CONFIG
    777 XHOST_CFLAGS
    778 XHOST_LIBS'
    779 
    780 
    781 # Initialize some variables set by options.
    782 ac_init_help=
    783 ac_init_version=false
    784 ac_unrecognized_opts=
    785 ac_unrecognized_sep=
    786 # The variables have the same names as the options, with
    787 # dashes changed to underlines.
    788 cache_file=/dev/null
    789 exec_prefix=NONE
    790 no_create=
    791 no_recursion=
    792 prefix=NONE
    793 program_prefix=NONE
    794 program_suffix=NONE
    795 program_transform_name=s,x,x,
    796 silent=
    797 site=
    798 srcdir=
    799 verbose=
    800 x_includes=NONE
    801 x_libraries=NONE
    802 
    803 # Installation directory options.
    804 # These are left unexpanded so users can "make install exec_prefix=/foo"
    805 # and all the variables that are supposed to be based on exec_prefix
    806 # by default will actually change.
    807 # Use braces instead of parens because sh, perl, etc. also accept them.
    808 # (The list follows the same order as the GNU Coding Standards.)
    809 bindir='${exec_prefix}/bin'
    810 sbindir='${exec_prefix}/sbin'
    811 libexecdir='${exec_prefix}/libexec'
    812 datarootdir='${prefix}/share'
    813 datadir='${datarootdir}'
    814 sysconfdir='${prefix}/etc'
    815 sharedstatedir='${prefix}/com'
    816 localstatedir='${prefix}/var'
    817 includedir='${prefix}/include'
    818 oldincludedir='/usr/include'
    819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    820 infodir='${datarootdir}/info'
    821 htmldir='${docdir}'
    822 dvidir='${docdir}'
    823 pdfdir='${docdir}'
    824 psdir='${docdir}'
    825 libdir='${exec_prefix}/lib'
    826 localedir='${datarootdir}/locale'
    827 mandir='${datarootdir}/man'
    828 
    829 ac_prev=
    830 ac_dashdash=
    831 for ac_option
    832 do
    833   # If the previous option needs an argument, assign it.
    834   if test -n "$ac_prev"; then
    835     eval $ac_prev=\$ac_option
    836     ac_prev=
    837     continue
    838   fi
    839 
    840   case $ac_option in
    841   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    842   *)	ac_optarg=yes ;;
    843   esac
    844 
    845   # Accept the important Cygnus configure options, so we can diagnose typos.
    846 
    847   case $ac_dashdash$ac_option in
    848   --)
    849     ac_dashdash=yes ;;
    850 
    851   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    852     ac_prev=bindir ;;
    853   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    854     bindir=$ac_optarg ;;
    855 
    856   -build | --build | --buil | --bui | --bu)
    857     ac_prev=build_alias ;;
    858   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    859     build_alias=$ac_optarg ;;
    860 
    861   -cache-file | --cache-file | --cache-fil | --cache-fi \
    862   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    863     ac_prev=cache_file ;;
    864   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    865   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    866     cache_file=$ac_optarg ;;
    867 
    868   --config-cache | -C)
    869     cache_file=config.cache ;;
    870 
    871   -datadir | --datadir | --datadi | --datad)
    872     ac_prev=datadir ;;
    873   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    874     datadir=$ac_optarg ;;
    875 
    876   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    877   | --dataroo | --dataro | --datar)
    878     ac_prev=datarootdir ;;
    879   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    880   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    881     datarootdir=$ac_optarg ;;
    882 
    883   -disable-* | --disable-*)
    884     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    885     # Reject names that are not valid shell variable names.
    886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    887       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    888    { (exit 1); exit 1; }; }
    889     ac_useropt_orig=$ac_useropt
    890     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    891     case $ac_user_opts in
    892       *"
    893 "enable_$ac_useropt"
    894 "*) ;;
    895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    896 	 ac_unrecognized_sep=', ';;
    897     esac
    898     eval enable_$ac_useropt=no ;;
    899 
    900   -docdir | --docdir | --docdi | --doc | --do)
    901     ac_prev=docdir ;;
    902   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    903     docdir=$ac_optarg ;;
    904 
    905   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    906     ac_prev=dvidir ;;
    907   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    908     dvidir=$ac_optarg ;;
    909 
    910   -enable-* | --enable-*)
    911     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    912     # Reject names that are not valid shell variable names.
    913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    914       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    915    { (exit 1); exit 1; }; }
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=\$ac_optarg ;;
    926 
    927   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    928   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    929   | --exec | --exe | --ex)
    930     ac_prev=exec_prefix ;;
    931   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    932   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    933   | --exec=* | --exe=* | --ex=*)
    934     exec_prefix=$ac_optarg ;;
    935 
    936   -gas | --gas | --ga | --g)
    937     # Obsolete; use --with-gas.
    938     with_gas=yes ;;
    939 
    940   -help | --help | --hel | --he | -h)
    941     ac_init_help=long ;;
    942   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    943     ac_init_help=recursive ;;
    944   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    945     ac_init_help=short ;;
    946 
    947   -host | --host | --hos | --ho)
    948     ac_prev=host_alias ;;
    949   -host=* | --host=* | --hos=* | --ho=*)
    950     host_alias=$ac_optarg ;;
    951 
    952   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    953     ac_prev=htmldir ;;
    954   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    955   | --ht=*)
    956     htmldir=$ac_optarg ;;
    957 
    958   -includedir | --includedir | --includedi | --included | --include \
    959   | --includ | --inclu | --incl | --inc)
    960     ac_prev=includedir ;;
    961   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    962   | --includ=* | --inclu=* | --incl=* | --inc=*)
    963     includedir=$ac_optarg ;;
    964 
    965   -infodir | --infodir | --infodi | --infod | --info | --inf)
    966     ac_prev=infodir ;;
    967   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    968     infodir=$ac_optarg ;;
    969 
    970   -libdir | --libdir | --libdi | --libd)
    971     ac_prev=libdir ;;
    972   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    973     libdir=$ac_optarg ;;
    974 
    975   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    976   | --libexe | --libex | --libe)
    977     ac_prev=libexecdir ;;
    978   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    979   | --libexe=* | --libex=* | --libe=*)
    980     libexecdir=$ac_optarg ;;
    981 
    982   -localedir | --localedir | --localedi | --localed | --locale)
    983     ac_prev=localedir ;;
    984   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    985     localedir=$ac_optarg ;;
    986 
    987   -localstatedir | --localstatedir | --localstatedi | --localstated \
    988   | --localstate | --localstat | --localsta | --localst | --locals)
    989     ac_prev=localstatedir ;;
    990   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    991   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    992     localstatedir=$ac_optarg ;;
    993 
    994   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    995     ac_prev=mandir ;;
    996   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    997     mandir=$ac_optarg ;;
    998 
    999   -nfp | --nfp | --nf)
   1000     # Obsolete; use --without-fp.
   1001     with_fp=no ;;
   1002 
   1003   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1004   | --no-cr | --no-c | -n)
   1005     no_create=yes ;;
   1006 
   1007   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1008   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1009     no_recursion=yes ;;
   1010 
   1011   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1012   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1013   | --oldin | --oldi | --old | --ol | --o)
   1014     ac_prev=oldincludedir ;;
   1015   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1016   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1017   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1018     oldincludedir=$ac_optarg ;;
   1019 
   1020   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1021     ac_prev=prefix ;;
   1022   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1023     prefix=$ac_optarg ;;
   1024 
   1025   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1026   | --program-pre | --program-pr | --program-p)
   1027     ac_prev=program_prefix ;;
   1028   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1029   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1030     program_prefix=$ac_optarg ;;
   1031 
   1032   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1033   | --program-suf | --program-su | --program-s)
   1034     ac_prev=program_suffix ;;
   1035   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1036   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1037     program_suffix=$ac_optarg ;;
   1038 
   1039   -program-transform-name | --program-transform-name \
   1040   | --program-transform-nam | --program-transform-na \
   1041   | --program-transform-n | --program-transform- \
   1042   | --program-transform | --program-transfor \
   1043   | --program-transfo | --program-transf \
   1044   | --program-trans | --program-tran \
   1045   | --progr-tra | --program-tr | --program-t)
   1046     ac_prev=program_transform_name ;;
   1047   -program-transform-name=* | --program-transform-name=* \
   1048   | --program-transform-nam=* | --program-transform-na=* \
   1049   | --program-transform-n=* | --program-transform-=* \
   1050   | --program-transform=* | --program-transfor=* \
   1051   | --program-transfo=* | --program-transf=* \
   1052   | --program-trans=* | --program-tran=* \
   1053   | --progr-tra=* | --program-tr=* | --program-t=*)
   1054     program_transform_name=$ac_optarg ;;
   1055 
   1056   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1057     ac_prev=pdfdir ;;
   1058   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1059     pdfdir=$ac_optarg ;;
   1060 
   1061   -psdir | --psdir | --psdi | --psd | --ps)
   1062     ac_prev=psdir ;;
   1063   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1064     psdir=$ac_optarg ;;
   1065 
   1066   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1067   | -silent | --silent | --silen | --sile | --sil)
   1068     silent=yes ;;
   1069 
   1070   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1071     ac_prev=sbindir ;;
   1072   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1073   | --sbi=* | --sb=*)
   1074     sbindir=$ac_optarg ;;
   1075 
   1076   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1077   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1078   | --sharedst | --shareds | --shared | --share | --shar \
   1079   | --sha | --sh)
   1080     ac_prev=sharedstatedir ;;
   1081   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1082   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1083   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1084   | --sha=* | --sh=*)
   1085     sharedstatedir=$ac_optarg ;;
   1086 
   1087   -site | --site | --sit)
   1088     ac_prev=site ;;
   1089   -site=* | --site=* | --sit=*)
   1090     site=$ac_optarg ;;
   1091 
   1092   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1093     ac_prev=srcdir ;;
   1094   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1095     srcdir=$ac_optarg ;;
   1096 
   1097   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1098   | --syscon | --sysco | --sysc | --sys | --sy)
   1099     ac_prev=sysconfdir ;;
   1100   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1101   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1102     sysconfdir=$ac_optarg ;;
   1103 
   1104   -target | --target | --targe | --targ | --tar | --ta | --t)
   1105     ac_prev=target_alias ;;
   1106   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1107     target_alias=$ac_optarg ;;
   1108 
   1109   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1110     verbose=yes ;;
   1111 
   1112   -version | --version | --versio | --versi | --vers | -V)
   1113     ac_init_version=: ;;
   1114 
   1115   -with-* | --with-*)
   1116     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1117     # Reject names that are not valid shell variable names.
   1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1119       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1120    { (exit 1); exit 1; }; }
   1121     ac_useropt_orig=$ac_useropt
   1122     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1123     case $ac_user_opts in
   1124       *"
   1125 "with_$ac_useropt"
   1126 "*) ;;
   1127       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1128 	 ac_unrecognized_sep=', ';;
   1129     esac
   1130     eval with_$ac_useropt=\$ac_optarg ;;
   1131 
   1132   -without-* | --without-*)
   1133     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1134     # Reject names that are not valid shell variable names.
   1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1136       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1137    { (exit 1); exit 1; }; }
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "with_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval with_$ac_useropt=no ;;
   1148 
   1149   --x)
   1150     # Obsolete; use --with-x.
   1151     with_x=yes ;;
   1152 
   1153   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1154   | --x-incl | --x-inc | --x-in | --x-i)
   1155     ac_prev=x_includes ;;
   1156   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1157   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1158     x_includes=$ac_optarg ;;
   1159 
   1160   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1161   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1162     ac_prev=x_libraries ;;
   1163   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1164   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1165     x_libraries=$ac_optarg ;;
   1166 
   1167   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1168 Try \`$0 --help' for more information." >&2
   1169    { (exit 1); exit 1; }; }
   1170     ;;
   1171 
   1172   *=*)
   1173     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1176       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1177    { (exit 1); exit 1; }; }
   1178     eval $ac_envvar=\$ac_optarg
   1179     export $ac_envvar ;;
   1180 
   1181   *)
   1182     # FIXME: should be removed in autoconf 3.0.
   1183     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1184     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1185       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1186     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1187     ;;
   1188 
   1189   esac
   1190 done
   1191 
   1192 if test -n "$ac_prev"; then
   1193   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1194   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1195    { (exit 1); exit 1; }; }
   1196 fi
   1197 
   1198 if test -n "$ac_unrecognized_opts"; then
   1199   case $enable_option_checking in
   1200     no) ;;
   1201     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1202    { (exit 1); exit 1; }; } ;;
   1203     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1204   esac
   1205 fi
   1206 
   1207 # Check all directory arguments for consistency.
   1208 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1209 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1210 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1211 		libdir localedir mandir
   1212 do
   1213   eval ac_val=\$$ac_var
   1214   # Remove trailing slashes.
   1215   case $ac_val in
   1216     */ )
   1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1218       eval $ac_var=\$ac_val;;
   1219   esac
   1220   # Be sure to have absolute directory names.
   1221   case $ac_val in
   1222     [\\/$]* | ?:[\\/]* )  continue;;
   1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1224   esac
   1225   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1226    { (exit 1); exit 1; }; }
   1227 done
   1228 
   1229 # There might be people who depend on the old broken behavior: `$host'
   1230 # used to hold the argument of --host etc.
   1231 # FIXME: To remove some day.
   1232 build=$build_alias
   1233 host=$host_alias
   1234 target=$target_alias
   1235 
   1236 # FIXME: To remove some day.
   1237 if test "x$host_alias" != x; then
   1238   if test "x$build_alias" = x; then
   1239     cross_compiling=maybe
   1240     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1241     If a cross compiler is detected then cross compile mode will be used." >&2
   1242   elif test "x$build_alias" != "x$host_alias"; then
   1243     cross_compiling=yes
   1244   fi
   1245 fi
   1246 
   1247 ac_tool_prefix=
   1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1249 
   1250 test "$silent" = yes && exec 6>/dev/null
   1251 
   1252 
   1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1254 ac_ls_di=`ls -di .` &&
   1255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1256   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1257    { (exit 1); exit 1; }; }
   1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1259   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1260    { (exit 1); exit 1; }; }
   1261 
   1262 
   1263 # Find the source files, if location was not specified.
   1264 if test -z "$srcdir"; then
   1265   ac_srcdir_defaulted=yes
   1266   # Try the directory containing this script, then the parent directory.
   1267   ac_confdir=`$as_dirname -- "$as_myself" ||
   1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1269 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1270 	 X"$as_myself" : 'X\(//\)$' \| \
   1271 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1272 $as_echo X"$as_myself" |
   1273     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  /^X\(\/\/\)[^/].*/{
   1278 	    s//\1/
   1279 	    q
   1280 	  }
   1281 	  /^X\(\/\/\)$/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  /^X\(\/\).*/{
   1286 	    s//\1/
   1287 	    q
   1288 	  }
   1289 	  s/.*/./; q'`
   1290   srcdir=$ac_confdir
   1291   if test ! -r "$srcdir/$ac_unique_file"; then
   1292     srcdir=..
   1293   fi
   1294 else
   1295   ac_srcdir_defaulted=no
   1296 fi
   1297 if test ! -r "$srcdir/$ac_unique_file"; then
   1298   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1299   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1300    { (exit 1); exit 1; }; }
   1301 fi
   1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1303 ac_abs_confdir=`(
   1304 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1305    { (exit 1); exit 1; }; }
   1306 	pwd)`
   1307 # When building in place, set srcdir=.
   1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1309   srcdir=.
   1310 fi
   1311 # Remove unnecessary trailing slashes from srcdir.
   1312 # Double slashes in file names in object file debugging info
   1313 # mess up M-x gdb in Emacs.
   1314 case $srcdir in
   1315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1316 esac
   1317 for ac_var in $ac_precious_vars; do
   1318   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1319   eval ac_env_${ac_var}_value=\$${ac_var}
   1320   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1321   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1322 done
   1323 
   1324 #
   1325 # Report the --help message.
   1326 #
   1327 if test "$ac_init_help" = "long"; then
   1328   # Omit some internal or obsolete options to make the list less imposing.
   1329   # This message is too long to be a string in the A/UX 3.1 sh.
   1330   cat <<_ACEOF
   1331 \`configure' configures xhost 1.0.3 to adapt to many kinds of systems.
   1332 
   1333 Usage: $0 [OPTION]... [VAR=VALUE]...
   1334 
   1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1336 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1337 
   1338 Defaults for the options are specified in brackets.
   1339 
   1340 Configuration:
   1341   -h, --help              display this help and exit
   1342       --help=short        display options specific to this package
   1343       --help=recursive    display the short help of all the included packages
   1344   -V, --version           display version information and exit
   1345   -q, --quiet, --silent   do not print \`checking...' messages
   1346       --cache-file=FILE   cache test results in FILE [disabled]
   1347   -C, --config-cache      alias for \`--cache-file=config.cache'
   1348   -n, --no-create         do not create output files
   1349       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1350 
   1351 Installation directories:
   1352   --prefix=PREFIX         install architecture-independent files in PREFIX
   1353                           [$ac_default_prefix]
   1354   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1355                           [PREFIX]
   1356 
   1357 By default, \`make install' will install all the files in
   1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1360 for instance \`--prefix=\$HOME'.
   1361 
   1362 For better control, use the options below.
   1363 
   1364 Fine tuning of the installation directories:
   1365   --bindir=DIR            user executables [EPREFIX/bin]
   1366   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1367   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1368   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1369   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1370   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1371   --libdir=DIR            object code libraries [EPREFIX/lib]
   1372   --includedir=DIR        C header files [PREFIX/include]
   1373   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1374   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1375   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1376   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1377   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1378   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1379   --docdir=DIR            documentation root [DATAROOTDIR/doc/xhost]
   1380   --htmldir=DIR           html documentation [DOCDIR]
   1381   --dvidir=DIR            dvi documentation [DOCDIR]
   1382   --pdfdir=DIR            pdf documentation [DOCDIR]
   1383   --psdir=DIR             ps documentation [DOCDIR]
   1384 _ACEOF
   1385 
   1386   cat <<\_ACEOF
   1387 
   1388 Program names:
   1389   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1390   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1391   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1392 
   1393 System types:
   1394   --build=BUILD     configure for building on BUILD [guessed]
   1395   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1396 _ACEOF
   1397 fi
   1398 
   1399 if test -n "$ac_init_help"; then
   1400   case $ac_init_help in
   1401      short | recursive ) echo "Configuration of xhost 1.0.3:";;
   1402    esac
   1403   cat <<\_ACEOF
   1404 
   1405 Optional Features:
   1406   --disable-option-checking  ignore unrecognized --enable/--with options
   1407   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1408   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1409   --enable-maintainer-mode  enable make rules and dependencies not useful
   1410 			  (and sometimes confusing) to the casual installer
   1411   --disable-dependency-tracking  speeds up one-time build
   1412   --enable-dependency-tracking   do not reject slow dependency extractors
   1413   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1414   --disable-silent-rules         verbose build output (undo: `make V=0')
   1415   --enable-strict-compilation
   1416                           Enable all warnings from compiler and make them
   1417                           errors (default: disabled)
   1418   --enable-unix-transport Enable UNIX domain socket transport
   1419   --enable-tcp-transport  Enable TCP socket transport
   1420   --enable-ipv6           Enable IPv6 support
   1421   --enable-local-transport
   1422                           Enable os-specific local transport
   1423   --enable-secure-rpc     Enable Secure RPC
   1424 
   1425 Optional Packages:
   1426   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1427   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1428   --with-release-version=STRING
   1429                           Use release version string in package name
   1430 
   1431 Some influential environment variables:
   1432   CC          C compiler command
   1433   CFLAGS      C compiler flags
   1434   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1435               nonstandard directory <lib dir>
   1436   LIBS        libraries to pass to the linker, e.g. -l<library>
   1437   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1438               you have headers in a nonstandard directory <include dir>
   1439   CPP         C preprocessor
   1440   PKG_CONFIG  path to pkg-config utility
   1441   XHOST_CFLAGS
   1442               C compiler flags for XHOST, overriding pkg-config
   1443   XHOST_LIBS  linker flags for XHOST, overriding pkg-config
   1444 
   1445 Use these variables to override the choices made by `configure' or to help
   1446 it to find libraries and programs with nonstandard names/locations.
   1447 
   1448 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1449 _ACEOF
   1450 ac_status=$?
   1451 fi
   1452 
   1453 if test "$ac_init_help" = "recursive"; then
   1454   # If there are subdirs, report their specific --help.
   1455   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1456     test -d "$ac_dir" ||
   1457       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1458       continue
   1459     ac_builddir=.
   1460 
   1461 case "$ac_dir" in
   1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1463 *)
   1464   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1465   # A ".." for each directory in $ac_dir_suffix.
   1466   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1467   case $ac_top_builddir_sub in
   1468   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1469   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1470   esac ;;
   1471 esac
   1472 ac_abs_top_builddir=$ac_pwd
   1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1474 # for backward compatibility:
   1475 ac_top_builddir=$ac_top_build_prefix
   1476 
   1477 case $srcdir in
   1478   .)  # We are building in place.
   1479     ac_srcdir=.
   1480     ac_top_srcdir=$ac_top_builddir_sub
   1481     ac_abs_top_srcdir=$ac_pwd ;;
   1482   [\\/]* | ?:[\\/]* )  # Absolute name.
   1483     ac_srcdir=$srcdir$ac_dir_suffix;
   1484     ac_top_srcdir=$srcdir
   1485     ac_abs_top_srcdir=$srcdir ;;
   1486   *) # Relative name.
   1487     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1488     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1489     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1490 esac
   1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1492 
   1493     cd "$ac_dir" || { ac_status=$?; continue; }
   1494     # Check for guested configure.
   1495     if test -f "$ac_srcdir/configure.gnu"; then
   1496       echo &&
   1497       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1498     elif test -f "$ac_srcdir/configure"; then
   1499       echo &&
   1500       $SHELL "$ac_srcdir/configure" --help=recursive
   1501     else
   1502       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1503     fi || ac_status=$?
   1504     cd "$ac_pwd" || { ac_status=$?; break; }
   1505   done
   1506 fi
   1507 
   1508 test -n "$ac_init_help" && exit $ac_status
   1509 if $ac_init_version; then
   1510   cat <<\_ACEOF
   1511 xhost configure 1.0.3
   1512 generated by GNU Autoconf 2.63
   1513 
   1514 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1515 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1516 This configure script is free software; the Free Software Foundation
   1517 gives unlimited permission to copy, distribute and modify it.
   1518 _ACEOF
   1519   exit
   1520 fi
   1521 cat >config.log <<_ACEOF
   1522 This file contains any messages produced by compilers while
   1523 running configure, to aid debugging if configure makes a mistake.
   1524 
   1525 It was created by xhost $as_me 1.0.3, which was
   1526 generated by GNU Autoconf 2.63.  Invocation command line was
   1527 
   1528   $ $0 $@
   1529 
   1530 _ACEOF
   1531 exec 5>>config.log
   1532 {
   1533 cat <<_ASUNAME
   1534 ## --------- ##
   1535 ## Platform. ##
   1536 ## --------- ##
   1537 
   1538 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1539 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1540 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1541 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1542 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1543 
   1544 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1545 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1546 
   1547 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1548 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1549 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1550 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1551 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1552 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1553 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1554 
   1555 _ASUNAME
   1556 
   1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1558 for as_dir in $PATH
   1559 do
   1560   IFS=$as_save_IFS
   1561   test -z "$as_dir" && as_dir=.
   1562   $as_echo "PATH: $as_dir"
   1563 done
   1564 IFS=$as_save_IFS
   1565 
   1566 } >&5
   1567 
   1568 cat >&5 <<_ACEOF
   1569 
   1570 
   1571 ## ----------- ##
   1572 ## Core tests. ##
   1573 ## ----------- ##
   1574 
   1575 _ACEOF
   1576 
   1577 
   1578 # Keep a trace of the command line.
   1579 # Strip out --no-create and --no-recursion so they do not pile up.
   1580 # Strip out --silent because we don't want to record it for future runs.
   1581 # Also quote any args containing shell meta-characters.
   1582 # Make two passes to allow for proper duplicate-argument suppression.
   1583 ac_configure_args=
   1584 ac_configure_args0=
   1585 ac_configure_args1=
   1586 ac_must_keep_next=false
   1587 for ac_pass in 1 2
   1588 do
   1589   for ac_arg
   1590   do
   1591     case $ac_arg in
   1592     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1593     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1594     | -silent | --silent | --silen | --sile | --sil)
   1595       continue ;;
   1596     *\'*)
   1597       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1598     esac
   1599     case $ac_pass in
   1600     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1601     2)
   1602       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1603       if test $ac_must_keep_next = true; then
   1604 	ac_must_keep_next=false # Got value, back to normal.
   1605       else
   1606 	case $ac_arg in
   1607 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1608 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1609 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1610 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1611 	    case "$ac_configure_args0 " in
   1612 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1613 	    esac
   1614 	    ;;
   1615 	  -* ) ac_must_keep_next=true ;;
   1616 	esac
   1617       fi
   1618       ac_configure_args="$ac_configure_args '$ac_arg'"
   1619       ;;
   1620     esac
   1621   done
   1622 done
   1623 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1624 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1625 
   1626 # When interrupted or exit'd, cleanup temporary files, and complete
   1627 # config.log.  We remove comments because anyway the quotes in there
   1628 # would cause problems or look ugly.
   1629 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1630 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1631 trap 'exit_status=$?
   1632   # Save into config.log some information that might help in debugging.
   1633   {
   1634     echo
   1635 
   1636     cat <<\_ASBOX
   1637 ## ---------------- ##
   1638 ## Cache variables. ##
   1639 ## ---------------- ##
   1640 _ASBOX
   1641     echo
   1642     # The following way of writing the cache mishandles newlines in values,
   1643 (
   1644   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1645     eval ac_val=\$$ac_var
   1646     case $ac_val in #(
   1647     *${as_nl}*)
   1648       case $ac_var in #(
   1649       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1650 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1651       esac
   1652       case $ac_var in #(
   1653       _ | IFS | as_nl) ;; #(
   1654       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1655       *) $as_unset $ac_var ;;
   1656       esac ;;
   1657     esac
   1658   done
   1659   (set) 2>&1 |
   1660     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1661     *${as_nl}ac_space=\ *)
   1662       sed -n \
   1663 	"s/'\''/'\''\\\\'\'''\''/g;
   1664 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1665       ;; #(
   1666     *)
   1667       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1668       ;;
   1669     esac |
   1670     sort
   1671 )
   1672     echo
   1673 
   1674     cat <<\_ASBOX
   1675 ## ----------------- ##
   1676 ## Output variables. ##
   1677 ## ----------------- ##
   1678 _ASBOX
   1679     echo
   1680     for ac_var in $ac_subst_vars
   1681     do
   1682       eval ac_val=\$$ac_var
   1683       case $ac_val in
   1684       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1685       esac
   1686       $as_echo "$ac_var='\''$ac_val'\''"
   1687     done | sort
   1688     echo
   1689 
   1690     if test -n "$ac_subst_files"; then
   1691       cat <<\_ASBOX
   1692 ## ------------------- ##
   1693 ## File substitutions. ##
   1694 ## ------------------- ##
   1695 _ASBOX
   1696       echo
   1697       for ac_var in $ac_subst_files
   1698       do
   1699 	eval ac_val=\$$ac_var
   1700 	case $ac_val in
   1701 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1702 	esac
   1703 	$as_echo "$ac_var='\''$ac_val'\''"
   1704       done | sort
   1705       echo
   1706     fi
   1707 
   1708     if test -s confdefs.h; then
   1709       cat <<\_ASBOX
   1710 ## ----------- ##
   1711 ## confdefs.h. ##
   1712 ## ----------- ##
   1713 _ASBOX
   1714       echo
   1715       cat confdefs.h
   1716       echo
   1717     fi
   1718     test "$ac_signal" != 0 &&
   1719       $as_echo "$as_me: caught signal $ac_signal"
   1720     $as_echo "$as_me: exit $exit_status"
   1721   } >&5
   1722   rm -f core *.core core.conftest.* &&
   1723     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1724     exit $exit_status
   1725 ' 0
   1726 for ac_signal in 1 2 13 15; do
   1727   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1728 done
   1729 ac_signal=0
   1730 
   1731 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1732 rm -f -r conftest* confdefs.h
   1733 
   1734 # Predefined preprocessor variables.
   1735 
   1736 cat >>confdefs.h <<_ACEOF
   1737 #define PACKAGE_NAME "$PACKAGE_NAME"
   1738 _ACEOF
   1739 
   1740 
   1741 cat >>confdefs.h <<_ACEOF
   1742 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1743 _ACEOF
   1744 
   1745 
   1746 cat >>confdefs.h <<_ACEOF
   1747 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1748 _ACEOF
   1749 
   1750 
   1751 cat >>confdefs.h <<_ACEOF
   1752 #define PACKAGE_STRING "$PACKAGE_STRING"
   1753 _ACEOF
   1754 
   1755 
   1756 cat >>confdefs.h <<_ACEOF
   1757 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1758 _ACEOF
   1759 
   1760 
   1761 # Let the site file select an alternate cache file if it wants to.
   1762 # Prefer an explicitly selected file to automatically selected ones.
   1763 ac_site_file1=NONE
   1764 ac_site_file2=NONE
   1765 if test -n "$CONFIG_SITE"; then
   1766   ac_site_file1=$CONFIG_SITE
   1767 elif test "x$prefix" != xNONE; then
   1768   ac_site_file1=$prefix/share/config.site
   1769   ac_site_file2=$prefix/etc/config.site
   1770 else
   1771   ac_site_file1=$ac_default_prefix/share/config.site
   1772   ac_site_file2=$ac_default_prefix/etc/config.site
   1773 fi
   1774 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1775 do
   1776   test "x$ac_site_file" = xNONE && continue
   1777   if test -r "$ac_site_file"; then
   1778     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1779 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1780     sed 's/^/| /' "$ac_site_file" >&5
   1781     . "$ac_site_file"
   1782   fi
   1783 done
   1784 
   1785 if test -r "$cache_file"; then
   1786   # Some versions of bash will fail to source /dev/null (special
   1787   # files actually), so we avoid doing that.
   1788   if test -f "$cache_file"; then
   1789     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1790 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1791     case $cache_file in
   1792       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1793       *)                      . "./$cache_file";;
   1794     esac
   1795   fi
   1796 else
   1797   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1798 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1799   >$cache_file
   1800 fi
   1801 
   1802 # Check that the precious variables saved in the cache have kept the same
   1803 # value.
   1804 ac_cache_corrupted=false
   1805 for ac_var in $ac_precious_vars; do
   1806   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1807   eval ac_new_set=\$ac_env_${ac_var}_set
   1808   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1809   eval ac_new_val=\$ac_env_${ac_var}_value
   1810   case $ac_old_set,$ac_new_set in
   1811     set,)
   1812       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1813 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1814       ac_cache_corrupted=: ;;
   1815     ,set)
   1816       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1817 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1818       ac_cache_corrupted=: ;;
   1819     ,);;
   1820     *)
   1821       if test "x$ac_old_val" != "x$ac_new_val"; then
   1822 	# differences in whitespace do not lead to failure.
   1823 	ac_old_val_w=`echo x $ac_old_val`
   1824 	ac_new_val_w=`echo x $ac_new_val`
   1825 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1826 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1827 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1828 	  ac_cache_corrupted=:
   1829 	else
   1830 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1831 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1832 	  eval $ac_var=\$ac_old_val
   1833 	fi
   1834 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1835 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1836 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1837 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1838       fi;;
   1839   esac
   1840   # Pass precious variables to config.status.
   1841   if test "$ac_new_set" = set; then
   1842     case $ac_new_val in
   1843     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1844     *) ac_arg=$ac_var=$ac_new_val ;;
   1845     esac
   1846     case " $ac_configure_args " in
   1847       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1848       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1849     esac
   1850   fi
   1851 done
   1852 if $ac_cache_corrupted; then
   1853   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1855   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1856 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1857   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1858 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1859    { (exit 1); exit 1; }; }
   1860 fi
   1861 
   1862 
   1863 
   1864 
   1865 
   1866 
   1867 
   1868 
   1869 
   1870 
   1871 
   1872 
   1873 
   1874 
   1875 
   1876 
   1877 
   1878 
   1879 
   1880 
   1881 
   1882 
   1883 
   1884 
   1885 
   1886 ac_ext=c
   1887 ac_cpp='$CPP $CPPFLAGS'
   1888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1891 
   1892 
   1893 am__api_version='1.11'
   1894 
   1895 ac_aux_dir=
   1896 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1897   if test -f "$ac_dir/install-sh"; then
   1898     ac_aux_dir=$ac_dir
   1899     ac_install_sh="$ac_aux_dir/install-sh -c"
   1900     break
   1901   elif test -f "$ac_dir/install.sh"; then
   1902     ac_aux_dir=$ac_dir
   1903     ac_install_sh="$ac_aux_dir/install.sh -c"
   1904     break
   1905   elif test -f "$ac_dir/shtool"; then
   1906     ac_aux_dir=$ac_dir
   1907     ac_install_sh="$ac_aux_dir/shtool install -c"
   1908     break
   1909   fi
   1910 done
   1911 if test -z "$ac_aux_dir"; then
   1912   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1913 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1914    { (exit 1); exit 1; }; }
   1915 fi
   1916 
   1917 # These three variables are undocumented and unsupported,
   1918 # and are intended to be withdrawn in a future Autoconf release.
   1919 # They can cause serious problems if a builder's source tree is in a directory
   1920 # whose full name contains unusual characters.
   1921 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1922 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1923 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1924 
   1925 
   1926 # Find a good install program.  We prefer a C program (faster),
   1927 # so one script is as good as another.  But avoid the broken or
   1928 # incompatible versions:
   1929 # SysV /etc/install, /usr/sbin/install
   1930 # SunOS /usr/etc/install
   1931 # IRIX /sbin/install
   1932 # AIX /bin/install
   1933 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1937 # OS/2's system install, which has a completely different semantic
   1938 # ./install, which can be erroneously created by make from ./install.sh.
   1939 # Reject install programs that cannot install multiple files.
   1940 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1941 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   1942 if test -z "$INSTALL"; then
   1943 if test "${ac_cv_path_install+set}" = set; then
   1944   $as_echo_n "(cached) " >&6
   1945 else
   1946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1947 for as_dir in $PATH
   1948 do
   1949   IFS=$as_save_IFS
   1950   test -z "$as_dir" && as_dir=.
   1951   # Account for people who put trailing slashes in PATH elements.
   1952 case $as_dir/ in
   1953   ./ | .// | /cC/* | \
   1954   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1955   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1956   /usr/ucb/* ) ;;
   1957   *)
   1958     # OSF1 and SCO ODT 3.0 have their own names for install.
   1959     # Don't use installbsd from OSF since it installs stuff as root
   1960     # by default.
   1961     for ac_prog in ginstall scoinst install; do
   1962       for ac_exec_ext in '' $ac_executable_extensions; do
   1963 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1964 	  if test $ac_prog = install &&
   1965 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1966 	    # AIX install.  It has an incompatible calling convention.
   1967 	    :
   1968 	  elif test $ac_prog = install &&
   1969 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1970 	    # program-specific install script used by HP pwplus--don't use.
   1971 	    :
   1972 	  else
   1973 	    rm -rf conftest.one conftest.two conftest.dir
   1974 	    echo one > conftest.one
   1975 	    echo two > conftest.two
   1976 	    mkdir conftest.dir
   1977 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   1978 	      test -s conftest.one && test -s conftest.two &&
   1979 	      test -s conftest.dir/conftest.one &&
   1980 	      test -s conftest.dir/conftest.two
   1981 	    then
   1982 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1983 	      break 3
   1984 	    fi
   1985 	  fi
   1986 	fi
   1987       done
   1988     done
   1989     ;;
   1990 esac
   1991 
   1992 done
   1993 IFS=$as_save_IFS
   1994 
   1995 rm -rf conftest.one conftest.two conftest.dir
   1996 
   1997 fi
   1998   if test "${ac_cv_path_install+set}" = set; then
   1999     INSTALL=$ac_cv_path_install
   2000   else
   2001     # As a last resort, use the slow shell script.  Don't cache a
   2002     # value for INSTALL within a source directory, because that will
   2003     # break other packages using the cache if that directory is
   2004     # removed, or if the value is a relative name.
   2005     INSTALL=$ac_install_sh
   2006   fi
   2007 fi
   2008 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2009 $as_echo "$INSTALL" >&6; }
   2010 
   2011 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2012 # It thinks the first close brace ends the variable substitution.
   2013 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2014 
   2015 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2016 
   2017 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2018 
   2019 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2020 $as_echo_n "checking whether build environment is sane... " >&6; }
   2021 # Just in case
   2022 sleep 1
   2023 echo timestamp > conftest.file
   2024 # Reject unsafe characters in $srcdir or the absolute working directory
   2025 # name.  Accept space and tab only in the latter.
   2026 am_lf='
   2027 '
   2028 case `pwd` in
   2029   *[\\\"\#\$\&\'\`$am_lf]*)
   2030     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2031 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2032    { (exit 1); exit 1; }; };;
   2033 esac
   2034 case $srcdir in
   2035   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2036     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2037 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2038    { (exit 1); exit 1; }; };;
   2039 esac
   2040 
   2041 # Do `set' in a subshell so we don't clobber the current shell's
   2042 # arguments.  Must try -L first in case configure is actually a
   2043 # symlink; some systems play weird games with the mod time of symlinks
   2044 # (eg FreeBSD returns the mod time of the symlink's containing
   2045 # directory).
   2046 if (
   2047    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2048    if test "$*" = "X"; then
   2049       # -L didn't work.
   2050       set X `ls -t "$srcdir/configure" conftest.file`
   2051    fi
   2052    rm -f conftest.file
   2053    if test "$*" != "X $srcdir/configure conftest.file" \
   2054       && test "$*" != "X conftest.file $srcdir/configure"; then
   2055 
   2056       # If neither matched, then we have a broken ls.  This can happen
   2057       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2058       # broken ls alias from the environment.  This has actually
   2059       # happened.  Such a system could not be considered "sane".
   2060       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2061 alias in your environment" >&5
   2062 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2063 alias in your environment" >&2;}
   2064    { (exit 1); exit 1; }; }
   2065    fi
   2066 
   2067    test "$2" = conftest.file
   2068    )
   2069 then
   2070    # Ok.
   2071    :
   2072 else
   2073    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2074 Check your system clock" >&5
   2075 $as_echo "$as_me: error: newly created file is older than distributed files!
   2076 Check your system clock" >&2;}
   2077    { (exit 1); exit 1; }; }
   2078 fi
   2079 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2080 $as_echo "yes" >&6; }
   2081 test "$program_prefix" != NONE &&
   2082   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2083 # Use a double $ so make ignores it.
   2084 test "$program_suffix" != NONE &&
   2085   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2086 # Double any \ or $.
   2087 # By default was `s,x,x', remove it if useless.
   2088 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2089 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2090 
   2091 # expand $ac_aux_dir to an absolute path
   2092 am_aux_dir=`cd $ac_aux_dir && pwd`
   2093 
   2094 if test x"${MISSING+set}" != xset; then
   2095   case $am_aux_dir in
   2096   *\ * | *\	*)
   2097     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2098   *)
   2099     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2100   esac
   2101 fi
   2102 # Use eval to expand $SHELL
   2103 if eval "$MISSING --run true"; then
   2104   am_missing_run="$MISSING --run "
   2105 else
   2106   am_missing_run=
   2107   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2108 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2109 fi
   2110 
   2111 if test x"${install_sh}" != xset; then
   2112   case $am_aux_dir in
   2113   *\ * | *\	*)
   2114     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2115   *)
   2116     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2117   esac
   2118 fi
   2119 
   2120 # Installed binaries are usually stripped using `strip' when the user
   2121 # run `make install-strip'.  However `strip' might not be the right
   2122 # tool to use in cross-compilation environments, therefore Automake
   2123 # will honor the `STRIP' environment variable to overrule this program.
   2124 if test "$cross_compiling" != no; then
   2125   if test -n "$ac_tool_prefix"; then
   2126   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2127 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2129 $as_echo_n "checking for $ac_word... " >&6; }
   2130 if test "${ac_cv_prog_STRIP+set}" = set; then
   2131   $as_echo_n "(cached) " >&6
   2132 else
   2133   if test -n "$STRIP"; then
   2134   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2135 else
   2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2137 for as_dir in $PATH
   2138 do
   2139   IFS=$as_save_IFS
   2140   test -z "$as_dir" && as_dir=.
   2141   for ac_exec_ext in '' $ac_executable_extensions; do
   2142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2143     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2144     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2145     break 2
   2146   fi
   2147 done
   2148 done
   2149 IFS=$as_save_IFS
   2150 
   2151 fi
   2152 fi
   2153 STRIP=$ac_cv_prog_STRIP
   2154 if test -n "$STRIP"; then
   2155   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2156 $as_echo "$STRIP" >&6; }
   2157 else
   2158   { $as_echo "$as_me:$LINENO: result: no" >&5
   2159 $as_echo "no" >&6; }
   2160 fi
   2161 
   2162 
   2163 fi
   2164 if test -z "$ac_cv_prog_STRIP"; then
   2165   ac_ct_STRIP=$STRIP
   2166   # Extract the first word of "strip", so it can be a program name with args.
   2167 set dummy strip; ac_word=$2
   2168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2169 $as_echo_n "checking for $ac_word... " >&6; }
   2170 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2171   $as_echo_n "(cached) " >&6
   2172 else
   2173   if test -n "$ac_ct_STRIP"; then
   2174   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2175 else
   2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2177 for as_dir in $PATH
   2178 do
   2179   IFS=$as_save_IFS
   2180   test -z "$as_dir" && as_dir=.
   2181   for ac_exec_ext in '' $ac_executable_extensions; do
   2182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2183     ac_cv_prog_ac_ct_STRIP="strip"
   2184     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2185     break 2
   2186   fi
   2187 done
   2188 done
   2189 IFS=$as_save_IFS
   2190 
   2191 fi
   2192 fi
   2193 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2194 if test -n "$ac_ct_STRIP"; then
   2195   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2196 $as_echo "$ac_ct_STRIP" >&6; }
   2197 else
   2198   { $as_echo "$as_me:$LINENO: result: no" >&5
   2199 $as_echo "no" >&6; }
   2200 fi
   2201 
   2202   if test "x$ac_ct_STRIP" = x; then
   2203     STRIP=":"
   2204   else
   2205     case $cross_compiling:$ac_tool_warned in
   2206 yes:)
   2207 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2209 ac_tool_warned=yes ;;
   2210 esac
   2211     STRIP=$ac_ct_STRIP
   2212   fi
   2213 else
   2214   STRIP="$ac_cv_prog_STRIP"
   2215 fi
   2216 
   2217 fi
   2218 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2219 
   2220 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2221 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2222 if test -z "$MKDIR_P"; then
   2223   if test "${ac_cv_path_mkdir+set}" = set; then
   2224   $as_echo_n "(cached) " >&6
   2225 else
   2226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2227 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2228 do
   2229   IFS=$as_save_IFS
   2230   test -z "$as_dir" && as_dir=.
   2231   for ac_prog in mkdir gmkdir; do
   2232 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2233 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2234 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2235 	     'mkdir (GNU coreutils) '* | \
   2236 	     'mkdir (coreutils) '* | \
   2237 	     'mkdir (fileutils) '4.1*)
   2238 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2239 	       break 3;;
   2240 	   esac
   2241 	 done
   2242        done
   2243 done
   2244 IFS=$as_save_IFS
   2245 
   2246 fi
   2247 
   2248   if test "${ac_cv_path_mkdir+set}" = set; then
   2249     MKDIR_P="$ac_cv_path_mkdir -p"
   2250   else
   2251     # As a last resort, use the slow shell script.  Don't cache a
   2252     # value for MKDIR_P within a source directory, because that will
   2253     # break other packages using the cache if that directory is
   2254     # removed, or if the value is a relative name.
   2255     test -d ./--version && rmdir ./--version
   2256     MKDIR_P="$ac_install_sh -d"
   2257   fi
   2258 fi
   2259 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2260 $as_echo "$MKDIR_P" >&6; }
   2261 
   2262 mkdir_p="$MKDIR_P"
   2263 case $mkdir_p in
   2264   [\\/$]* | ?:[\\/]*) ;;
   2265   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2266 esac
   2267 
   2268 for ac_prog in gawk mawk nawk awk
   2269 do
   2270   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2271 set dummy $ac_prog; ac_word=$2
   2272 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2273 $as_echo_n "checking for $ac_word... " >&6; }
   2274 if test "${ac_cv_prog_AWK+set}" = set; then
   2275   $as_echo_n "(cached) " >&6
   2276 else
   2277   if test -n "$AWK"; then
   2278   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2279 else
   2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2281 for as_dir in $PATH
   2282 do
   2283   IFS=$as_save_IFS
   2284   test -z "$as_dir" && as_dir=.
   2285   for ac_exec_ext in '' $ac_executable_extensions; do
   2286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2287     ac_cv_prog_AWK="$ac_prog"
   2288     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2289     break 2
   2290   fi
   2291 done
   2292 done
   2293 IFS=$as_save_IFS
   2294 
   2295 fi
   2296 fi
   2297 AWK=$ac_cv_prog_AWK
   2298 if test -n "$AWK"; then
   2299   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2300 $as_echo "$AWK" >&6; }
   2301 else
   2302   { $as_echo "$as_me:$LINENO: result: no" >&5
   2303 $as_echo "no" >&6; }
   2304 fi
   2305 
   2306 
   2307   test -n "$AWK" && break
   2308 done
   2309 
   2310 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2311 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2312 set x ${MAKE-make}
   2313 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2314 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2315   $as_echo_n "(cached) " >&6
   2316 else
   2317   cat >conftest.make <<\_ACEOF
   2318 SHELL = /bin/sh
   2319 all:
   2320 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2321 _ACEOF
   2322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2323 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2324   *@@@%%%=?*=@@@%%%*)
   2325     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2326   *)
   2327     eval ac_cv_prog_make_${ac_make}_set=no;;
   2328 esac
   2329 rm -f conftest.make
   2330 fi
   2331 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2332   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2333 $as_echo "yes" >&6; }
   2334   SET_MAKE=
   2335 else
   2336   { $as_echo "$as_me:$LINENO: result: no" >&5
   2337 $as_echo "no" >&6; }
   2338   SET_MAKE="MAKE=${MAKE-make}"
   2339 fi
   2340 
   2341 rm -rf .tst 2>/dev/null
   2342 mkdir .tst 2>/dev/null
   2343 if test -d .tst; then
   2344   am__leading_dot=.
   2345 else
   2346   am__leading_dot=_
   2347 fi
   2348 rmdir .tst 2>/dev/null
   2349 
   2350 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2351   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2352   # is not polluted with repeated "-I."
   2353   am__isrc=' -I$(srcdir)'
   2354   # test to see if srcdir already configured
   2355   if test -f $srcdir/config.status; then
   2356     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2357 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2358    { (exit 1); exit 1; }; }
   2359   fi
   2360 fi
   2361 
   2362 # test whether we have cygpath
   2363 if test -z "$CYGPATH_W"; then
   2364   if (cygpath --version) >/dev/null 2>/dev/null; then
   2365     CYGPATH_W='cygpath -w'
   2366   else
   2367     CYGPATH_W=echo
   2368   fi
   2369 fi
   2370 
   2371 
   2372 # Define the identity of the package.
   2373  PACKAGE='xhost'
   2374  VERSION='1.0.3'
   2375 
   2376 
   2377 cat >>confdefs.h <<_ACEOF
   2378 #define PACKAGE "$PACKAGE"
   2379 _ACEOF
   2380 
   2381 
   2382 cat >>confdefs.h <<_ACEOF
   2383 #define VERSION "$VERSION"
   2384 _ACEOF
   2385 
   2386 # Some tools Automake needs.
   2387 
   2388 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2389 
   2390 
   2391 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2392 
   2393 
   2394 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2395 
   2396 
   2397 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2398 
   2399 
   2400 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2401 
   2402 # We need awk for the "check" target.  The system "awk" is bad on
   2403 # some platforms.
   2404 # Always define AMTAR for backward compatibility.
   2405 
   2406 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2407 
   2408 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2409 
   2410 
   2411 
   2412 
   2413 
   2414 
   2415 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2416 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2417     # Check whether --enable-maintainer-mode was given.
   2418 if test "${enable_maintainer_mode+set}" = set; then
   2419   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2420 else
   2421   USE_MAINTAINER_MODE=no
   2422 fi
   2423 
   2424   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2425 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2426    if test $USE_MAINTAINER_MODE = yes; then
   2427   MAINTAINER_MODE_TRUE=
   2428   MAINTAINER_MODE_FALSE='#'
   2429 else
   2430   MAINTAINER_MODE_TRUE='#'
   2431   MAINTAINER_MODE_FALSE=
   2432 fi
   2433 
   2434   MAINT=$MAINTAINER_MODE_TRUE
   2435 
   2436 
   2437 
   2438 # Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
   2439 
   2440 
   2441 
   2442 
   2443 
   2444 
   2445 
   2446 
   2447 
   2448 
   2449 
   2450 
   2451 ac_config_headers="$ac_config_headers config.h"
   2452 
   2453 
   2454 ac_ext=c
   2455 ac_cpp='$CPP $CPPFLAGS'
   2456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2459 if test -n "$ac_tool_prefix"; then
   2460   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2461 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2463 $as_echo_n "checking for $ac_word... " >&6; }
   2464 if test "${ac_cv_prog_CC+set}" = set; then
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   if test -n "$CC"; then
   2468   ac_cv_prog_CC="$CC" # Let the user override the test.
   2469 else
   2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2471 for as_dir in $PATH
   2472 do
   2473   IFS=$as_save_IFS
   2474   test -z "$as_dir" && as_dir=.
   2475   for ac_exec_ext in '' $ac_executable_extensions; do
   2476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2477     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2478     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2479     break 2
   2480   fi
   2481 done
   2482 done
   2483 IFS=$as_save_IFS
   2484 
   2485 fi
   2486 fi
   2487 CC=$ac_cv_prog_CC
   2488 if test -n "$CC"; then
   2489   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2490 $as_echo "$CC" >&6; }
   2491 else
   2492   { $as_echo "$as_me:$LINENO: result: no" >&5
   2493 $as_echo "no" >&6; }
   2494 fi
   2495 
   2496 
   2497 fi
   2498 if test -z "$ac_cv_prog_CC"; then
   2499   ac_ct_CC=$CC
   2500   # Extract the first word of "gcc", so it can be a program name with args.
   2501 set dummy gcc; ac_word=$2
   2502 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2503 $as_echo_n "checking for $ac_word... " >&6; }
   2504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2505   $as_echo_n "(cached) " >&6
   2506 else
   2507   if test -n "$ac_ct_CC"; then
   2508   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2509 else
   2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2511 for as_dir in $PATH
   2512 do
   2513   IFS=$as_save_IFS
   2514   test -z "$as_dir" && as_dir=.
   2515   for ac_exec_ext in '' $ac_executable_extensions; do
   2516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2517     ac_cv_prog_ac_ct_CC="gcc"
   2518     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2519     break 2
   2520   fi
   2521 done
   2522 done
   2523 IFS=$as_save_IFS
   2524 
   2525 fi
   2526 fi
   2527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2528 if test -n "$ac_ct_CC"; then
   2529   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2530 $as_echo "$ac_ct_CC" >&6; }
   2531 else
   2532   { $as_echo "$as_me:$LINENO: result: no" >&5
   2533 $as_echo "no" >&6; }
   2534 fi
   2535 
   2536   if test "x$ac_ct_CC" = x; then
   2537     CC=""
   2538   else
   2539     case $cross_compiling:$ac_tool_warned in
   2540 yes:)
   2541 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2543 ac_tool_warned=yes ;;
   2544 esac
   2545     CC=$ac_ct_CC
   2546   fi
   2547 else
   2548   CC="$ac_cv_prog_CC"
   2549 fi
   2550 
   2551 if test -z "$CC"; then
   2552           if test -n "$ac_tool_prefix"; then
   2553     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2554 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2555 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2556 $as_echo_n "checking for $ac_word... " >&6; }
   2557 if test "${ac_cv_prog_CC+set}" = set; then
   2558   $as_echo_n "(cached) " >&6
   2559 else
   2560   if test -n "$CC"; then
   2561   ac_cv_prog_CC="$CC" # Let the user override the test.
   2562 else
   2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2564 for as_dir in $PATH
   2565 do
   2566   IFS=$as_save_IFS
   2567   test -z "$as_dir" && as_dir=.
   2568   for ac_exec_ext in '' $ac_executable_extensions; do
   2569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2570     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2571     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2572     break 2
   2573   fi
   2574 done
   2575 done
   2576 IFS=$as_save_IFS
   2577 
   2578 fi
   2579 fi
   2580 CC=$ac_cv_prog_CC
   2581 if test -n "$CC"; then
   2582   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2583 $as_echo "$CC" >&6; }
   2584 else
   2585   { $as_echo "$as_me:$LINENO: result: no" >&5
   2586 $as_echo "no" >&6; }
   2587 fi
   2588 
   2589 
   2590   fi
   2591 fi
   2592 if test -z "$CC"; then
   2593   # Extract the first word of "cc", so it can be a program name with args.
   2594 set dummy cc; ac_word=$2
   2595 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2596 $as_echo_n "checking for $ac_word... " >&6; }
   2597 if test "${ac_cv_prog_CC+set}" = set; then
   2598   $as_echo_n "(cached) " >&6
   2599 else
   2600   if test -n "$CC"; then
   2601   ac_cv_prog_CC="$CC" # Let the user override the test.
   2602 else
   2603   ac_prog_rejected=no
   2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2605 for as_dir in $PATH
   2606 do
   2607   IFS=$as_save_IFS
   2608   test -z "$as_dir" && as_dir=.
   2609   for ac_exec_ext in '' $ac_executable_extensions; do
   2610   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2611     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2612        ac_prog_rejected=yes
   2613        continue
   2614      fi
   2615     ac_cv_prog_CC="cc"
   2616     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2617     break 2
   2618   fi
   2619 done
   2620 done
   2621 IFS=$as_save_IFS
   2622 
   2623 if test $ac_prog_rejected = yes; then
   2624   # We found a bogon in the path, so make sure we never use it.
   2625   set dummy $ac_cv_prog_CC
   2626   shift
   2627   if test $# != 0; then
   2628     # We chose a different compiler from the bogus one.
   2629     # However, it has the same basename, so the bogon will be chosen
   2630     # first if we set CC to just the basename; use the full file name.
   2631     shift
   2632     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2633   fi
   2634 fi
   2635 fi
   2636 fi
   2637 CC=$ac_cv_prog_CC
   2638 if test -n "$CC"; then
   2639   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2640 $as_echo "$CC" >&6; }
   2641 else
   2642   { $as_echo "$as_me:$LINENO: result: no" >&5
   2643 $as_echo "no" >&6; }
   2644 fi
   2645 
   2646 
   2647 fi
   2648 if test -z "$CC"; then
   2649   if test -n "$ac_tool_prefix"; then
   2650   for ac_prog in cl.exe
   2651   do
   2652     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2655 $as_echo_n "checking for $ac_word... " >&6; }
   2656 if test "${ac_cv_prog_CC+set}" = set; then
   2657   $as_echo_n "(cached) " >&6
   2658 else
   2659   if test -n "$CC"; then
   2660   ac_cv_prog_CC="$CC" # Let the user override the test.
   2661 else
   2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2663 for as_dir in $PATH
   2664 do
   2665   IFS=$as_save_IFS
   2666   test -z "$as_dir" && as_dir=.
   2667   for ac_exec_ext in '' $ac_executable_extensions; do
   2668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2669     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2670     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2671     break 2
   2672   fi
   2673 done
   2674 done
   2675 IFS=$as_save_IFS
   2676 
   2677 fi
   2678 fi
   2679 CC=$ac_cv_prog_CC
   2680 if test -n "$CC"; then
   2681   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2682 $as_echo "$CC" >&6; }
   2683 else
   2684   { $as_echo "$as_me:$LINENO: result: no" >&5
   2685 $as_echo "no" >&6; }
   2686 fi
   2687 
   2688 
   2689     test -n "$CC" && break
   2690   done
   2691 fi
   2692 if test -z "$CC"; then
   2693   ac_ct_CC=$CC
   2694   for ac_prog in cl.exe
   2695 do
   2696   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2697 set dummy $ac_prog; ac_word=$2
   2698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2699 $as_echo_n "checking for $ac_word... " >&6; }
   2700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2701   $as_echo_n "(cached) " >&6
   2702 else
   2703   if test -n "$ac_ct_CC"; then
   2704   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2705 else
   2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2707 for as_dir in $PATH
   2708 do
   2709   IFS=$as_save_IFS
   2710   test -z "$as_dir" && as_dir=.
   2711   for ac_exec_ext in '' $ac_executable_extensions; do
   2712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2713     ac_cv_prog_ac_ct_CC="$ac_prog"
   2714     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2715     break 2
   2716   fi
   2717 done
   2718 done
   2719 IFS=$as_save_IFS
   2720 
   2721 fi
   2722 fi
   2723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2724 if test -n "$ac_ct_CC"; then
   2725   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2726 $as_echo "$ac_ct_CC" >&6; }
   2727 else
   2728   { $as_echo "$as_me:$LINENO: result: no" >&5
   2729 $as_echo "no" >&6; }
   2730 fi
   2731 
   2732 
   2733   test -n "$ac_ct_CC" && break
   2734 done
   2735 
   2736   if test "x$ac_ct_CC" = x; then
   2737     CC=""
   2738   else
   2739     case $cross_compiling:$ac_tool_warned in
   2740 yes:)
   2741 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2743 ac_tool_warned=yes ;;
   2744 esac
   2745     CC=$ac_ct_CC
   2746   fi
   2747 fi
   2748 
   2749 fi
   2750 
   2751 
   2752 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2754 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2755 See \`config.log' for more details." >&5
   2756 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2757 See \`config.log' for more details." >&2;}
   2758    { (exit 1); exit 1; }; }; }
   2759 
   2760 # Provide some information about the compiler.
   2761 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2762 set X $ac_compile
   2763 ac_compiler=$2
   2764 { (ac_try="$ac_compiler --version >&5"
   2765 case "(($ac_try" in
   2766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2767   *) ac_try_echo=$ac_try;;
   2768 esac
   2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2770 $as_echo "$ac_try_echo") >&5
   2771   (eval "$ac_compiler --version >&5") 2>&5
   2772   ac_status=$?
   2773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2774   (exit $ac_status); }
   2775 { (ac_try="$ac_compiler -v >&5"
   2776 case "(($ac_try" in
   2777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2778   *) ac_try_echo=$ac_try;;
   2779 esac
   2780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2781 $as_echo "$ac_try_echo") >&5
   2782   (eval "$ac_compiler -v >&5") 2>&5
   2783   ac_status=$?
   2784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2785   (exit $ac_status); }
   2786 { (ac_try="$ac_compiler -V >&5"
   2787 case "(($ac_try" in
   2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2789   *) ac_try_echo=$ac_try;;
   2790 esac
   2791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2792 $as_echo "$ac_try_echo") >&5
   2793   (eval "$ac_compiler -V >&5") 2>&5
   2794   ac_status=$?
   2795   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2796   (exit $ac_status); }
   2797 
   2798 cat >conftest.$ac_ext <<_ACEOF
   2799 /* confdefs.h.  */
   2800 _ACEOF
   2801 cat confdefs.h >>conftest.$ac_ext
   2802 cat >>conftest.$ac_ext <<_ACEOF
   2803 /* end confdefs.h.  */
   2804 
   2805 int
   2806 main ()
   2807 {
   2808 
   2809   ;
   2810   return 0;
   2811 }
   2812 _ACEOF
   2813 ac_clean_files_save=$ac_clean_files
   2814 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2815 # Try to create an executable without -o first, disregard a.out.
   2816 # It will help us diagnose broken compilers, and finding out an intuition
   2817 # of exeext.
   2818 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2819 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2820 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2821 
   2822 # The possible output files:
   2823 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2824 
   2825 ac_rmfiles=
   2826 for ac_file in $ac_files
   2827 do
   2828   case $ac_file in
   2829     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2830     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2831   esac
   2832 done
   2833 rm -f $ac_rmfiles
   2834 
   2835 if { (ac_try="$ac_link_default"
   2836 case "(($ac_try" in
   2837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2838   *) ac_try_echo=$ac_try;;
   2839 esac
   2840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2841 $as_echo "$ac_try_echo") >&5
   2842   (eval "$ac_link_default") 2>&5
   2843   ac_status=$?
   2844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2845   (exit $ac_status); }; then
   2846   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2847 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2848 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2849 # so that the user can short-circuit this test for compilers unknown to
   2850 # Autoconf.
   2851 for ac_file in $ac_files ''
   2852 do
   2853   test -f "$ac_file" || continue
   2854   case $ac_file in
   2855     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2856 	;;
   2857     [ab].out )
   2858 	# We found the default executable, but exeext='' is most
   2859 	# certainly right.
   2860 	break;;
   2861     *.* )
   2862         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2863 	then :; else
   2864 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2865 	fi
   2866 	# We set ac_cv_exeext here because the later test for it is not
   2867 	# safe: cross compilers may not add the suffix if given an `-o'
   2868 	# argument, so we may need to know it at that point already.
   2869 	# Even if this section looks crufty: it has the advantage of
   2870 	# actually working.
   2871 	break;;
   2872     * )
   2873 	break;;
   2874   esac
   2875 done
   2876 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2877 
   2878 else
   2879   ac_file=''
   2880 fi
   2881 
   2882 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   2883 $as_echo "$ac_file" >&6; }
   2884 if test -z "$ac_file"; then
   2885   $as_echo "$as_me: failed program was:" >&5
   2886 sed 's/^/| /' conftest.$ac_ext >&5
   2887 
   2888 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2890 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   2891 See \`config.log' for more details." >&5
   2892 $as_echo "$as_me: error: C compiler cannot create executables
   2893 See \`config.log' for more details." >&2;}
   2894    { (exit 77); exit 77; }; }; }
   2895 fi
   2896 
   2897 ac_exeext=$ac_cv_exeext
   2898 
   2899 # Check that the compiler produces executables we can run.  If not, either
   2900 # the compiler is broken, or we cross compile.
   2901 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2902 $as_echo_n "checking whether the C compiler works... " >&6; }
   2903 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2904 # If not cross compiling, check that we can run a simple program.
   2905 if test "$cross_compiling" != yes; then
   2906   if { ac_try='./$ac_file'
   2907   { (case "(($ac_try" in
   2908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2909   *) ac_try_echo=$ac_try;;
   2910 esac
   2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2912 $as_echo "$ac_try_echo") >&5
   2913   (eval "$ac_try") 2>&5
   2914   ac_status=$?
   2915   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2916   (exit $ac_status); }; }; then
   2917     cross_compiling=no
   2918   else
   2919     if test "$cross_compiling" = maybe; then
   2920 	cross_compiling=yes
   2921     else
   2922 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2924 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2925 If you meant to cross compile, use \`--host'.
   2926 See \`config.log' for more details." >&5
   2927 $as_echo "$as_me: error: cannot run C compiled programs.
   2928 If you meant to cross compile, use \`--host'.
   2929 See \`config.log' for more details." >&2;}
   2930    { (exit 1); exit 1; }; }; }
   2931     fi
   2932   fi
   2933 fi
   2934 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2935 $as_echo "yes" >&6; }
   2936 
   2937 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2938 ac_clean_files=$ac_clean_files_save
   2939 # Check that the compiler produces executables we can run.  If not, either
   2940 # the compiler is broken, or we cross compile.
   2941 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2942 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2943 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2944 $as_echo "$cross_compiling" >&6; }
   2945 
   2946 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2947 $as_echo_n "checking for suffix of executables... " >&6; }
   2948 if { (ac_try="$ac_link"
   2949 case "(($ac_try" in
   2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2951   *) ac_try_echo=$ac_try;;
   2952 esac
   2953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2954 $as_echo "$ac_try_echo") >&5
   2955   (eval "$ac_link") 2>&5
   2956   ac_status=$?
   2957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2958   (exit $ac_status); }; then
   2959   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2960 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2961 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2962 # `rm'.
   2963 for ac_file in conftest.exe conftest conftest.*; do
   2964   test -f "$ac_file" || continue
   2965   case $ac_file in
   2966     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2967     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2968 	  break;;
   2969     * ) break;;
   2970   esac
   2971 done
   2972 else
   2973   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2975 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2976 See \`config.log' for more details." >&5
   2977 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2978 See \`config.log' for more details." >&2;}
   2979    { (exit 1); exit 1; }; }; }
   2980 fi
   2981 
   2982 rm -f conftest$ac_cv_exeext
   2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2984 $as_echo "$ac_cv_exeext" >&6; }
   2985 
   2986 rm -f conftest.$ac_ext
   2987 EXEEXT=$ac_cv_exeext
   2988 ac_exeext=$EXEEXT
   2989 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2990 $as_echo_n "checking for suffix of object files... " >&6; }
   2991 if test "${ac_cv_objext+set}" = set; then
   2992   $as_echo_n "(cached) " >&6
   2993 else
   2994   cat >conftest.$ac_ext <<_ACEOF
   2995 /* confdefs.h.  */
   2996 _ACEOF
   2997 cat confdefs.h >>conftest.$ac_ext
   2998 cat >>conftest.$ac_ext <<_ACEOF
   2999 /* end confdefs.h.  */
   3000 
   3001 int
   3002 main ()
   3003 {
   3004 
   3005   ;
   3006   return 0;
   3007 }
   3008 _ACEOF
   3009 rm -f conftest.o conftest.obj
   3010 if { (ac_try="$ac_compile"
   3011 case "(($ac_try" in
   3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3013   *) ac_try_echo=$ac_try;;
   3014 esac
   3015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3016 $as_echo "$ac_try_echo") >&5
   3017   (eval "$ac_compile") 2>&5
   3018   ac_status=$?
   3019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3020   (exit $ac_status); }; then
   3021   for ac_file in conftest.o conftest.obj conftest.*; do
   3022   test -f "$ac_file" || continue;
   3023   case $ac_file in
   3024     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3025     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3026        break;;
   3027   esac
   3028 done
   3029 else
   3030   $as_echo "$as_me: failed program was:" >&5
   3031 sed 's/^/| /' conftest.$ac_ext >&5
   3032 
   3033 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3035 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3036 See \`config.log' for more details." >&5
   3037 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3038 See \`config.log' for more details." >&2;}
   3039    { (exit 1); exit 1; }; }; }
   3040 fi
   3041 
   3042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3043 fi
   3044 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3045 $as_echo "$ac_cv_objext" >&6; }
   3046 OBJEXT=$ac_cv_objext
   3047 ac_objext=$OBJEXT
   3048 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3050 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3051   $as_echo_n "(cached) " >&6
   3052 else
   3053   cat >conftest.$ac_ext <<_ACEOF
   3054 /* confdefs.h.  */
   3055 _ACEOF
   3056 cat confdefs.h >>conftest.$ac_ext
   3057 cat >>conftest.$ac_ext <<_ACEOF
   3058 /* end confdefs.h.  */
   3059 
   3060 int
   3061 main ()
   3062 {
   3063 #ifndef __GNUC__
   3064        choke me
   3065 #endif
   3066 
   3067   ;
   3068   return 0;
   3069 }
   3070 _ACEOF
   3071 rm -f conftest.$ac_objext
   3072 if { (ac_try="$ac_compile"
   3073 case "(($ac_try" in
   3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3075   *) ac_try_echo=$ac_try;;
   3076 esac
   3077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3078 $as_echo "$ac_try_echo") >&5
   3079   (eval "$ac_compile") 2>conftest.er1
   3080   ac_status=$?
   3081   grep -v '^ *+' conftest.er1 >conftest.err
   3082   rm -f conftest.er1
   3083   cat conftest.err >&5
   3084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3085   (exit $ac_status); } && {
   3086 	 test -z "$ac_c_werror_flag" ||
   3087 	 test ! -s conftest.err
   3088        } && test -s conftest.$ac_objext; then
   3089   ac_compiler_gnu=yes
   3090 else
   3091   $as_echo "$as_me: failed program was:" >&5
   3092 sed 's/^/| /' conftest.$ac_ext >&5
   3093 
   3094 	ac_compiler_gnu=no
   3095 fi
   3096 
   3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3099 
   3100 fi
   3101 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3102 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3103 if test $ac_compiler_gnu = yes; then
   3104   GCC=yes
   3105 else
   3106   GCC=
   3107 fi
   3108 ac_test_CFLAGS=${CFLAGS+set}
   3109 ac_save_CFLAGS=$CFLAGS
   3110 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3111 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3112 if test "${ac_cv_prog_cc_g+set}" = set; then
   3113   $as_echo_n "(cached) " >&6
   3114 else
   3115   ac_save_c_werror_flag=$ac_c_werror_flag
   3116    ac_c_werror_flag=yes
   3117    ac_cv_prog_cc_g=no
   3118    CFLAGS="-g"
   3119    cat >conftest.$ac_ext <<_ACEOF
   3120 /* confdefs.h.  */
   3121 _ACEOF
   3122 cat confdefs.h >>conftest.$ac_ext
   3123 cat >>conftest.$ac_ext <<_ACEOF
   3124 /* end confdefs.h.  */
   3125 
   3126 int
   3127 main ()
   3128 {
   3129 
   3130   ;
   3131   return 0;
   3132 }
   3133 _ACEOF
   3134 rm -f conftest.$ac_objext
   3135 if { (ac_try="$ac_compile"
   3136 case "(($ac_try" in
   3137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3138   *) ac_try_echo=$ac_try;;
   3139 esac
   3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3141 $as_echo "$ac_try_echo") >&5
   3142   (eval "$ac_compile") 2>conftest.er1
   3143   ac_status=$?
   3144   grep -v '^ *+' conftest.er1 >conftest.err
   3145   rm -f conftest.er1
   3146   cat conftest.err >&5
   3147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3148   (exit $ac_status); } && {
   3149 	 test -z "$ac_c_werror_flag" ||
   3150 	 test ! -s conftest.err
   3151        } && test -s conftest.$ac_objext; then
   3152   ac_cv_prog_cc_g=yes
   3153 else
   3154   $as_echo "$as_me: failed program was:" >&5
   3155 sed 's/^/| /' conftest.$ac_ext >&5
   3156 
   3157 	CFLAGS=""
   3158       cat >conftest.$ac_ext <<_ACEOF
   3159 /* confdefs.h.  */
   3160 _ACEOF
   3161 cat confdefs.h >>conftest.$ac_ext
   3162 cat >>conftest.$ac_ext <<_ACEOF
   3163 /* end confdefs.h.  */
   3164 
   3165 int
   3166 main ()
   3167 {
   3168 
   3169   ;
   3170   return 0;
   3171 }
   3172 _ACEOF
   3173 rm -f conftest.$ac_objext
   3174 if { (ac_try="$ac_compile"
   3175 case "(($ac_try" in
   3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3177   *) ac_try_echo=$ac_try;;
   3178 esac
   3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3180 $as_echo "$ac_try_echo") >&5
   3181   (eval "$ac_compile") 2>conftest.er1
   3182   ac_status=$?
   3183   grep -v '^ *+' conftest.er1 >conftest.err
   3184   rm -f conftest.er1
   3185   cat conftest.err >&5
   3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3187   (exit $ac_status); } && {
   3188 	 test -z "$ac_c_werror_flag" ||
   3189 	 test ! -s conftest.err
   3190        } && test -s conftest.$ac_objext; then
   3191   :
   3192 else
   3193   $as_echo "$as_me: failed program was:" >&5
   3194 sed 's/^/| /' conftest.$ac_ext >&5
   3195 
   3196 	ac_c_werror_flag=$ac_save_c_werror_flag
   3197 	 CFLAGS="-g"
   3198 	 cat >conftest.$ac_ext <<_ACEOF
   3199 /* confdefs.h.  */
   3200 _ACEOF
   3201 cat confdefs.h >>conftest.$ac_ext
   3202 cat >>conftest.$ac_ext <<_ACEOF
   3203 /* end confdefs.h.  */
   3204 
   3205 int
   3206 main ()
   3207 {
   3208 
   3209   ;
   3210   return 0;
   3211 }
   3212 _ACEOF
   3213 rm -f conftest.$ac_objext
   3214 if { (ac_try="$ac_compile"
   3215 case "(($ac_try" in
   3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3217   *) ac_try_echo=$ac_try;;
   3218 esac
   3219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3220 $as_echo "$ac_try_echo") >&5
   3221   (eval "$ac_compile") 2>conftest.er1
   3222   ac_status=$?
   3223   grep -v '^ *+' conftest.er1 >conftest.err
   3224   rm -f conftest.er1
   3225   cat conftest.err >&5
   3226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3227   (exit $ac_status); } && {
   3228 	 test -z "$ac_c_werror_flag" ||
   3229 	 test ! -s conftest.err
   3230        } && test -s conftest.$ac_objext; then
   3231   ac_cv_prog_cc_g=yes
   3232 else
   3233   $as_echo "$as_me: failed program was:" >&5
   3234 sed 's/^/| /' conftest.$ac_ext >&5
   3235 
   3236 
   3237 fi
   3238 
   3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3240 fi
   3241 
   3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3243 fi
   3244 
   3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3246    ac_c_werror_flag=$ac_save_c_werror_flag
   3247 fi
   3248 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3249 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3250 if test "$ac_test_CFLAGS" = set; then
   3251   CFLAGS=$ac_save_CFLAGS
   3252 elif test $ac_cv_prog_cc_g = yes; then
   3253   if test "$GCC" = yes; then
   3254     CFLAGS="-g -O2"
   3255   else
   3256     CFLAGS="-g"
   3257   fi
   3258 else
   3259   if test "$GCC" = yes; then
   3260     CFLAGS="-O2"
   3261   else
   3262     CFLAGS=
   3263   fi
   3264 fi
   3265 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3266 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3267 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3268   $as_echo_n "(cached) " >&6
   3269 else
   3270   ac_cv_prog_cc_c89=no
   3271 ac_save_CC=$CC
   3272 cat >conftest.$ac_ext <<_ACEOF
   3273 /* confdefs.h.  */
   3274 _ACEOF
   3275 cat confdefs.h >>conftest.$ac_ext
   3276 cat >>conftest.$ac_ext <<_ACEOF
   3277 /* end confdefs.h.  */
   3278 #include <stdarg.h>
   3279 #include <stdio.h>
   3280 #include <sys/types.h>
   3281 #include <sys/stat.h>
   3282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3283 struct buf { int x; };
   3284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3285 static char *e (p, i)
   3286      char **p;
   3287      int i;
   3288 {
   3289   return p[i];
   3290 }
   3291 static char *f (char * (*g) (char **, int), char **p, ...)
   3292 {
   3293   char *s;
   3294   va_list v;
   3295   va_start (v,p);
   3296   s = g (p, va_arg (v,int));
   3297   va_end (v);
   3298   return s;
   3299 }
   3300 
   3301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3302    function prototypes and stuff, but not '\xHH' hex character constants.
   3303    These don't provoke an error unfortunately, instead are silently treated
   3304    as 'x'.  The following induces an error, until -std is added to get
   3305    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3306    array size at least.  It's necessary to write '\x00'==0 to get something
   3307    that's true only with -std.  */
   3308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3309 
   3310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3311    inside strings and character constants.  */
   3312 #define FOO(x) 'x'
   3313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3314 
   3315 int test (int i, double x);
   3316 struct s1 {int (*f) (int a);};
   3317 struct s2 {int (*f) (double a);};
   3318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3319 int argc;
   3320 char **argv;
   3321 int
   3322 main ()
   3323 {
   3324 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3325   ;
   3326   return 0;
   3327 }
   3328 _ACEOF
   3329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3330 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3331 do
   3332   CC="$ac_save_CC $ac_arg"
   3333   rm -f conftest.$ac_objext
   3334 if { (ac_try="$ac_compile"
   3335 case "(($ac_try" in
   3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3337   *) ac_try_echo=$ac_try;;
   3338 esac
   3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3340 $as_echo "$ac_try_echo") >&5
   3341   (eval "$ac_compile") 2>conftest.er1
   3342   ac_status=$?
   3343   grep -v '^ *+' conftest.er1 >conftest.err
   3344   rm -f conftest.er1
   3345   cat conftest.err >&5
   3346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3347   (exit $ac_status); } && {
   3348 	 test -z "$ac_c_werror_flag" ||
   3349 	 test ! -s conftest.err
   3350        } && test -s conftest.$ac_objext; then
   3351   ac_cv_prog_cc_c89=$ac_arg
   3352 else
   3353   $as_echo "$as_me: failed program was:" >&5
   3354 sed 's/^/| /' conftest.$ac_ext >&5
   3355 
   3356 
   3357 fi
   3358 
   3359 rm -f core conftest.err conftest.$ac_objext
   3360   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3361 done
   3362 rm -f conftest.$ac_ext
   3363 CC=$ac_save_CC
   3364 
   3365 fi
   3366 # AC_CACHE_VAL
   3367 case "x$ac_cv_prog_cc_c89" in
   3368   x)
   3369     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3370 $as_echo "none needed" >&6; } ;;
   3371   xno)
   3372     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3373 $as_echo "unsupported" >&6; } ;;
   3374   *)
   3375     CC="$CC $ac_cv_prog_cc_c89"
   3376     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3377 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3378 esac
   3379 
   3380 
   3381 ac_ext=c
   3382 ac_cpp='$CPP $CPPFLAGS'
   3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3386 DEPDIR="${am__leading_dot}deps"
   3387 
   3388 ac_config_commands="$ac_config_commands depfiles"
   3389 
   3390 
   3391 am_make=${MAKE-make}
   3392 cat > confinc << 'END'
   3393 am__doit:
   3394 	@echo this is the am__doit target
   3395 .PHONY: am__doit
   3396 END
   3397 # If we don't find an include directive, just comment out the code.
   3398 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3399 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3400 am__include="#"
   3401 am__quote=
   3402 _am_result=none
   3403 # First try GNU make style include.
   3404 echo "include confinc" > confmf
   3405 # Ignore all kinds of additional output from `make'.
   3406 case `$am_make -s -f confmf 2> /dev/null` in #(
   3407 *the\ am__doit\ target*)
   3408   am__include=include
   3409   am__quote=
   3410   _am_result=GNU
   3411   ;;
   3412 esac
   3413 # Now try BSD make style include.
   3414 if test "$am__include" = "#"; then
   3415    echo '.include "confinc"' > confmf
   3416    case `$am_make -s -f confmf 2> /dev/null` in #(
   3417    *the\ am__doit\ target*)
   3418      am__include=.include
   3419      am__quote="\""
   3420      _am_result=BSD
   3421      ;;
   3422    esac
   3423 fi
   3424 
   3425 
   3426 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3427 $as_echo "$_am_result" >&6; }
   3428 rm -f confinc confmf
   3429 
   3430 # Check whether --enable-dependency-tracking was given.
   3431 if test "${enable_dependency_tracking+set}" = set; then
   3432   enableval=$enable_dependency_tracking;
   3433 fi
   3434 
   3435 if test "x$enable_dependency_tracking" != xno; then
   3436   am_depcomp="$ac_aux_dir/depcomp"
   3437   AMDEPBACKSLASH='\'
   3438 fi
   3439  if test "x$enable_dependency_tracking" != xno; then
   3440   AMDEP_TRUE=
   3441   AMDEP_FALSE='#'
   3442 else
   3443   AMDEP_TRUE='#'
   3444   AMDEP_FALSE=
   3445 fi
   3446 
   3447 
   3448 
   3449 depcc="$CC"   am_compiler_list=
   3450 
   3451 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3452 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3453 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3457   # We make a subdir and do the tests there.  Otherwise we can end up
   3458   # making bogus files that we don't know about and never remove.  For
   3459   # instance it was reported that on HP-UX the gcc test will end up
   3460   # making a dummy file named `D' -- because `-MD' means `put the output
   3461   # in D'.
   3462   mkdir conftest.dir
   3463   # Copy depcomp to subdir because otherwise we won't find it if we're
   3464   # using a relative directory.
   3465   cp "$am_depcomp" conftest.dir
   3466   cd conftest.dir
   3467   # We will build objects and dependencies in a subdirectory because
   3468   # it helps to detect inapplicable dependency modes.  For instance
   3469   # both Tru64's cc and ICC support -MD to output dependencies as a
   3470   # side effect of compilation, but ICC will put the dependencies in
   3471   # the current directory while Tru64 will put them in the object
   3472   # directory.
   3473   mkdir sub
   3474 
   3475   am_cv_CC_dependencies_compiler_type=none
   3476   if test "$am_compiler_list" = ""; then
   3477      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3478   fi
   3479   am__universal=false
   3480   case " $depcc " in #(
   3481      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3482      esac
   3483 
   3484   for depmode in $am_compiler_list; do
   3485     # Setup a source with many dependencies, because some compilers
   3486     # like to wrap large dependency lists on column 80 (with \), and
   3487     # we should not choose a depcomp mode which is confused by this.
   3488     #
   3489     # We need to recreate these files for each test, as the compiler may
   3490     # overwrite some of them when testing with obscure command lines.
   3491     # This happens at least with the AIX C compiler.
   3492     : > sub/conftest.c
   3493     for i in 1 2 3 4 5 6; do
   3494       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3495       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3496       # Solaris 8's {/usr,}/bin/sh.
   3497       touch sub/conftst$i.h
   3498     done
   3499     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3500 
   3501     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3502     # mode.  It turns out that the SunPro C++ compiler does not properly
   3503     # handle `-M -o', and we need to detect this.  Also, some Intel
   3504     # versions had trouble with output in subdirs
   3505     am__obj=sub/conftest.${OBJEXT-o}
   3506     am__minus_obj="-o $am__obj"
   3507     case $depmode in
   3508     gcc)
   3509       # This depmode causes a compiler race in universal mode.
   3510       test "$am__universal" = false || continue
   3511       ;;
   3512     nosideeffect)
   3513       # after this tag, mechanisms are not by side-effect, so they'll
   3514       # only be used when explicitly requested
   3515       if test "x$enable_dependency_tracking" = xyes; then
   3516 	continue
   3517       else
   3518 	break
   3519       fi
   3520       ;;
   3521     msvisualcpp | msvcmsys)
   3522       # This compiler won't grok `-c -o', but also, the minuso test has
   3523       # not run yet.  These depmodes are late enough in the game, and
   3524       # so weak that their functioning should not be impacted.
   3525       am__obj=conftest.${OBJEXT-o}
   3526       am__minus_obj=
   3527       ;;
   3528     none) break ;;
   3529     esac
   3530     if depmode=$depmode \
   3531        source=sub/conftest.c object=$am__obj \
   3532        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3533        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3534          >/dev/null 2>conftest.err &&
   3535        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3536        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3537        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3538        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3539       # icc doesn't choke on unknown options, it will just issue warnings
   3540       # or remarks (even with -Werror).  So we grep stderr for any message
   3541       # that says an option was ignored or not supported.
   3542       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3543       #   icc: Command line warning: ignoring option '-M'; no argument required
   3544       # The diagnosis changed in icc 8.0:
   3545       #   icc: Command line remark: option '-MP' not supported
   3546       if (grep 'ignoring option' conftest.err ||
   3547           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3548         am_cv_CC_dependencies_compiler_type=$depmode
   3549         break
   3550       fi
   3551     fi
   3552   done
   3553 
   3554   cd ..
   3555   rm -rf conftest.dir
   3556 else
   3557   am_cv_CC_dependencies_compiler_type=none
   3558 fi
   3559 
   3560 fi
   3561 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3562 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3564 
   3565  if
   3566   test "x$enable_dependency_tracking" != xno \
   3567   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3568   am__fastdepCC_TRUE=
   3569   am__fastdepCC_FALSE='#'
   3570 else
   3571   am__fastdepCC_TRUE='#'
   3572   am__fastdepCC_FALSE=
   3573 fi
   3574 
   3575 
   3576 # Find a good install program.  We prefer a C program (faster),
   3577 # so one script is as good as another.  But avoid the broken or
   3578 # incompatible versions:
   3579 # SysV /etc/install, /usr/sbin/install
   3580 # SunOS /usr/etc/install
   3581 # IRIX /sbin/install
   3582 # AIX /bin/install
   3583 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3584 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3585 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3586 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3587 # OS/2's system install, which has a completely different semantic
   3588 # ./install, which can be erroneously created by make from ./install.sh.
   3589 # Reject install programs that cannot install multiple files.
   3590 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3591 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3592 if test -z "$INSTALL"; then
   3593 if test "${ac_cv_path_install+set}" = set; then
   3594   $as_echo_n "(cached) " >&6
   3595 else
   3596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3597 for as_dir in $PATH
   3598 do
   3599   IFS=$as_save_IFS
   3600   test -z "$as_dir" && as_dir=.
   3601   # Account for people who put trailing slashes in PATH elements.
   3602 case $as_dir/ in
   3603   ./ | .// | /cC/* | \
   3604   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3605   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3606   /usr/ucb/* ) ;;
   3607   *)
   3608     # OSF1 and SCO ODT 3.0 have their own names for install.
   3609     # Don't use installbsd from OSF since it installs stuff as root
   3610     # by default.
   3611     for ac_prog in ginstall scoinst install; do
   3612       for ac_exec_ext in '' $ac_executable_extensions; do
   3613 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3614 	  if test $ac_prog = install &&
   3615 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3616 	    # AIX install.  It has an incompatible calling convention.
   3617 	    :
   3618 	  elif test $ac_prog = install &&
   3619 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3620 	    # program-specific install script used by HP pwplus--don't use.
   3621 	    :
   3622 	  else
   3623 	    rm -rf conftest.one conftest.two conftest.dir
   3624 	    echo one > conftest.one
   3625 	    echo two > conftest.two
   3626 	    mkdir conftest.dir
   3627 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3628 	      test -s conftest.one && test -s conftest.two &&
   3629 	      test -s conftest.dir/conftest.one &&
   3630 	      test -s conftest.dir/conftest.two
   3631 	    then
   3632 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3633 	      break 3
   3634 	    fi
   3635 	  fi
   3636 	fi
   3637       done
   3638     done
   3639     ;;
   3640 esac
   3641 
   3642 done
   3643 IFS=$as_save_IFS
   3644 
   3645 rm -rf conftest.one conftest.two conftest.dir
   3646 
   3647 fi
   3648   if test "${ac_cv_path_install+set}" = set; then
   3649     INSTALL=$ac_cv_path_install
   3650   else
   3651     # As a last resort, use the slow shell script.  Don't cache a
   3652     # value for INSTALL within a source directory, because that will
   3653     # break other packages using the cache if that directory is
   3654     # removed, or if the value is a relative name.
   3655     INSTALL=$ac_install_sh
   3656   fi
   3657 fi
   3658 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   3659 $as_echo "$INSTALL" >&6; }
   3660 
   3661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3662 # It thinks the first close brace ends the variable substitution.
   3663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3664 
   3665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3666 
   3667 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3668 
   3669 
   3670 
   3671 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   3672 $as_echo_n "checking return type of signal handlers... " >&6; }
   3673 if test "${ac_cv_type_signal+set}" = set; then
   3674   $as_echo_n "(cached) " >&6
   3675 else
   3676   cat >conftest.$ac_ext <<_ACEOF
   3677 /* confdefs.h.  */
   3678 _ACEOF
   3679 cat confdefs.h >>conftest.$ac_ext
   3680 cat >>conftest.$ac_ext <<_ACEOF
   3681 /* end confdefs.h.  */
   3682 #include <sys/types.h>
   3683 #include <signal.h>
   3684 
   3685 int
   3686 main ()
   3687 {
   3688 return *(signal (0, 0)) (0) == 1;
   3689   ;
   3690   return 0;
   3691 }
   3692 _ACEOF
   3693 rm -f conftest.$ac_objext
   3694 if { (ac_try="$ac_compile"
   3695 case "(($ac_try" in
   3696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3697   *) ac_try_echo=$ac_try;;
   3698 esac
   3699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3700 $as_echo "$ac_try_echo") >&5
   3701   (eval "$ac_compile") 2>conftest.er1
   3702   ac_status=$?
   3703   grep -v '^ *+' conftest.er1 >conftest.err
   3704   rm -f conftest.er1
   3705   cat conftest.err >&5
   3706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3707   (exit $ac_status); } && {
   3708 	 test -z "$ac_c_werror_flag" ||
   3709 	 test ! -s conftest.err
   3710        } && test -s conftest.$ac_objext; then
   3711   ac_cv_type_signal=int
   3712 else
   3713   $as_echo "$as_me: failed program was:" >&5
   3714 sed 's/^/| /' conftest.$ac_ext >&5
   3715 
   3716 	ac_cv_type_signal=void
   3717 fi
   3718 
   3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3720 fi
   3721 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   3722 $as_echo "$ac_cv_type_signal" >&6; }
   3723 
   3724 cat >>confdefs.h <<_ACEOF
   3725 #define RETSIGTYPE $ac_cv_type_signal
   3726 _ACEOF
   3727 
   3728 
   3729 
   3730 ac_ext=c
   3731 ac_cpp='$CPP $CPPFLAGS'
   3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3735 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3736 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3737 # On Suns, sometimes $CPP names a directory.
   3738 if test -n "$CPP" && test -d "$CPP"; then
   3739   CPP=
   3740 fi
   3741 if test -z "$CPP"; then
   3742   if test "${ac_cv_prog_CPP+set}" = set; then
   3743   $as_echo_n "(cached) " >&6
   3744 else
   3745       # Double quotes because CPP needs to be expanded
   3746     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3747     do
   3748       ac_preproc_ok=false
   3749 for ac_c_preproc_warn_flag in '' yes
   3750 do
   3751   # Use a header file that comes with gcc, so configuring glibc
   3752   # with a fresh cross-compiler works.
   3753   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3754   # <limits.h> exists even on freestanding compilers.
   3755   # On the NeXT, cc -E runs the code through the compiler's parser,
   3756   # not just through cpp. "Syntax error" is here to catch this case.
   3757   cat >conftest.$ac_ext <<_ACEOF
   3758 /* confdefs.h.  */
   3759 _ACEOF
   3760 cat confdefs.h >>conftest.$ac_ext
   3761 cat >>conftest.$ac_ext <<_ACEOF
   3762 /* end confdefs.h.  */
   3763 #ifdef __STDC__
   3764 # include <limits.h>
   3765 #else
   3766 # include <assert.h>
   3767 #endif
   3768 		     Syntax error
   3769 _ACEOF
   3770 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3771 case "(($ac_try" in
   3772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3773   *) ac_try_echo=$ac_try;;
   3774 esac
   3775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3776 $as_echo "$ac_try_echo") >&5
   3777   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3778   ac_status=$?
   3779   grep -v '^ *+' conftest.er1 >conftest.err
   3780   rm -f conftest.er1
   3781   cat conftest.err >&5
   3782   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3783   (exit $ac_status); } >/dev/null && {
   3784 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3785 	 test ! -s conftest.err
   3786        }; then
   3787   :
   3788 else
   3789   $as_echo "$as_me: failed program was:" >&5
   3790 sed 's/^/| /' conftest.$ac_ext >&5
   3791 
   3792   # Broken: fails on valid input.
   3793 continue
   3794 fi
   3795 
   3796 rm -f conftest.err conftest.$ac_ext
   3797 
   3798   # OK, works on sane cases.  Now check whether nonexistent headers
   3799   # can be detected and how.
   3800   cat >conftest.$ac_ext <<_ACEOF
   3801 /* confdefs.h.  */
   3802 _ACEOF
   3803 cat confdefs.h >>conftest.$ac_ext
   3804 cat >>conftest.$ac_ext <<_ACEOF
   3805 /* end confdefs.h.  */
   3806 #include <ac_nonexistent.h>
   3807 _ACEOF
   3808 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3809 case "(($ac_try" in
   3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3811   *) ac_try_echo=$ac_try;;
   3812 esac
   3813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3814 $as_echo "$ac_try_echo") >&5
   3815   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3816   ac_status=$?
   3817   grep -v '^ *+' conftest.er1 >conftest.err
   3818   rm -f conftest.er1
   3819   cat conftest.err >&5
   3820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3821   (exit $ac_status); } >/dev/null && {
   3822 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3823 	 test ! -s conftest.err
   3824        }; then
   3825   # Broken: success on invalid input.
   3826 continue
   3827 else
   3828   $as_echo "$as_me: failed program was:" >&5
   3829 sed 's/^/| /' conftest.$ac_ext >&5
   3830 
   3831   # Passes both tests.
   3832 ac_preproc_ok=:
   3833 break
   3834 fi
   3835 
   3836 rm -f conftest.err conftest.$ac_ext
   3837 
   3838 done
   3839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3840 rm -f conftest.err conftest.$ac_ext
   3841 if $ac_preproc_ok; then
   3842   break
   3843 fi
   3844 
   3845     done
   3846     ac_cv_prog_CPP=$CPP
   3847 
   3848 fi
   3849   CPP=$ac_cv_prog_CPP
   3850 else
   3851   ac_cv_prog_CPP=$CPP
   3852 fi
   3853 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   3854 $as_echo "$CPP" >&6; }
   3855 ac_preproc_ok=false
   3856 for ac_c_preproc_warn_flag in '' yes
   3857 do
   3858   # Use a header file that comes with gcc, so configuring glibc
   3859   # with a fresh cross-compiler works.
   3860   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3861   # <limits.h> exists even on freestanding compilers.
   3862   # On the NeXT, cc -E runs the code through the compiler's parser,
   3863   # not just through cpp. "Syntax error" is here to catch this case.
   3864   cat >conftest.$ac_ext <<_ACEOF
   3865 /* confdefs.h.  */
   3866 _ACEOF
   3867 cat confdefs.h >>conftest.$ac_ext
   3868 cat >>conftest.$ac_ext <<_ACEOF
   3869 /* end confdefs.h.  */
   3870 #ifdef __STDC__
   3871 # include <limits.h>
   3872 #else
   3873 # include <assert.h>
   3874 #endif
   3875 		     Syntax error
   3876 _ACEOF
   3877 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3878 case "(($ac_try" in
   3879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3880   *) ac_try_echo=$ac_try;;
   3881 esac
   3882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3883 $as_echo "$ac_try_echo") >&5
   3884   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3885   ac_status=$?
   3886   grep -v '^ *+' conftest.er1 >conftest.err
   3887   rm -f conftest.er1
   3888   cat conftest.err >&5
   3889   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3890   (exit $ac_status); } >/dev/null && {
   3891 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3892 	 test ! -s conftest.err
   3893        }; then
   3894   :
   3895 else
   3896   $as_echo "$as_me: failed program was:" >&5
   3897 sed 's/^/| /' conftest.$ac_ext >&5
   3898 
   3899   # Broken: fails on valid input.
   3900 continue
   3901 fi
   3902 
   3903 rm -f conftest.err conftest.$ac_ext
   3904 
   3905   # OK, works on sane cases.  Now check whether nonexistent headers
   3906   # can be detected and how.
   3907   cat >conftest.$ac_ext <<_ACEOF
   3908 /* confdefs.h.  */
   3909 _ACEOF
   3910 cat confdefs.h >>conftest.$ac_ext
   3911 cat >>conftest.$ac_ext <<_ACEOF
   3912 /* end confdefs.h.  */
   3913 #include <ac_nonexistent.h>
   3914 _ACEOF
   3915 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3916 case "(($ac_try" in
   3917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3918   *) ac_try_echo=$ac_try;;
   3919 esac
   3920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3921 $as_echo "$ac_try_echo") >&5
   3922   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3923   ac_status=$?
   3924   grep -v '^ *+' conftest.er1 >conftest.err
   3925   rm -f conftest.er1
   3926   cat conftest.err >&5
   3927   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3928   (exit $ac_status); } >/dev/null && {
   3929 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3930 	 test ! -s conftest.err
   3931        }; then
   3932   # Broken: success on invalid input.
   3933 continue
   3934 else
   3935   $as_echo "$as_me: failed program was:" >&5
   3936 sed 's/^/| /' conftest.$ac_ext >&5
   3937 
   3938   # Passes both tests.
   3939 ac_preproc_ok=:
   3940 break
   3941 fi
   3942 
   3943 rm -f conftest.err conftest.$ac_ext
   3944 
   3945 done
   3946 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3947 rm -f conftest.err conftest.$ac_ext
   3948 if $ac_preproc_ok; then
   3949   :
   3950 else
   3951   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3953 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3954 See \`config.log' for more details." >&5
   3955 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3956 See \`config.log' for more details." >&2;}
   3957    { (exit 1); exit 1; }; }; }
   3958 fi
   3959 
   3960 ac_ext=c
   3961 ac_cpp='$CPP $CPPFLAGS'
   3962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3965 
   3966 
   3967 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3968 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3969 if test "${ac_cv_path_GREP+set}" = set; then
   3970   $as_echo_n "(cached) " >&6
   3971 else
   3972   if test -z "$GREP"; then
   3973   ac_path_GREP_found=false
   3974   # Loop through the user's path and test for each of PROGNAME-LIST
   3975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3977 do
   3978   IFS=$as_save_IFS
   3979   test -z "$as_dir" && as_dir=.
   3980   for ac_prog in grep ggrep; do
   3981     for ac_exec_ext in '' $ac_executable_extensions; do
   3982       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3983       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3984 # Check for GNU ac_path_GREP and select it if it is found.
   3985   # Check for GNU $ac_path_GREP
   3986 case `"$ac_path_GREP" --version 2>&1` in
   3987 *GNU*)
   3988   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3989 *)
   3990   ac_count=0
   3991   $as_echo_n 0123456789 >"conftest.in"
   3992   while :
   3993   do
   3994     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3995     mv "conftest.tmp" "conftest.in"
   3996     cp "conftest.in" "conftest.nl"
   3997     $as_echo 'GREP' >> "conftest.nl"
   3998     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3999     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4000     ac_count=`expr $ac_count + 1`
   4001     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4002       # Best one so far, save it but keep looking for a better one
   4003       ac_cv_path_GREP="$ac_path_GREP"
   4004       ac_path_GREP_max=$ac_count
   4005     fi
   4006     # 10*(2^10) chars as input seems more than enough
   4007     test $ac_count -gt 10 && break
   4008   done
   4009   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4010 esac
   4011 
   4012       $ac_path_GREP_found && break 3
   4013     done
   4014   done
   4015 done
   4016 IFS=$as_save_IFS
   4017   if test -z "$ac_cv_path_GREP"; then
   4018     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4019 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4020    { (exit 1); exit 1; }; }
   4021   fi
   4022 else
   4023   ac_cv_path_GREP=$GREP
   4024 fi
   4025 
   4026 fi
   4027 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4028 $as_echo "$ac_cv_path_GREP" >&6; }
   4029  GREP="$ac_cv_path_GREP"
   4030 
   4031 
   4032 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4033 $as_echo_n "checking for egrep... " >&6; }
   4034 if test "${ac_cv_path_EGREP+set}" = set; then
   4035   $as_echo_n "(cached) " >&6
   4036 else
   4037   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4038    then ac_cv_path_EGREP="$GREP -E"
   4039    else
   4040      if test -z "$EGREP"; then
   4041   ac_path_EGREP_found=false
   4042   # Loop through the user's path and test for each of PROGNAME-LIST
   4043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4045 do
   4046   IFS=$as_save_IFS
   4047   test -z "$as_dir" && as_dir=.
   4048   for ac_prog in egrep; do
   4049     for ac_exec_ext in '' $ac_executable_extensions; do
   4050       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4051       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4052 # Check for GNU ac_path_EGREP and select it if it is found.
   4053   # Check for GNU $ac_path_EGREP
   4054 case `"$ac_path_EGREP" --version 2>&1` in
   4055 *GNU*)
   4056   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4057 *)
   4058   ac_count=0
   4059   $as_echo_n 0123456789 >"conftest.in"
   4060   while :
   4061   do
   4062     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4063     mv "conftest.tmp" "conftest.in"
   4064     cp "conftest.in" "conftest.nl"
   4065     $as_echo 'EGREP' >> "conftest.nl"
   4066     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4067     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4068     ac_count=`expr $ac_count + 1`
   4069     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4070       # Best one so far, save it but keep looking for a better one
   4071       ac_cv_path_EGREP="$ac_path_EGREP"
   4072       ac_path_EGREP_max=$ac_count
   4073     fi
   4074     # 10*(2^10) chars as input seems more than enough
   4075     test $ac_count -gt 10 && break
   4076   done
   4077   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4078 esac
   4079 
   4080       $ac_path_EGREP_found && break 3
   4081     done
   4082   done
   4083 done
   4084 IFS=$as_save_IFS
   4085   if test -z "$ac_cv_path_EGREP"; then
   4086     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4087 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4088    { (exit 1); exit 1; }; }
   4089   fi
   4090 else
   4091   ac_cv_path_EGREP=$EGREP
   4092 fi
   4093 
   4094    fi
   4095 fi
   4096 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4097 $as_echo "$ac_cv_path_EGREP" >&6; }
   4098  EGREP="$ac_cv_path_EGREP"
   4099 
   4100 
   4101 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4102 $as_echo_n "checking for ANSI C header files... " >&6; }
   4103 if test "${ac_cv_header_stdc+set}" = set; then
   4104   $as_echo_n "(cached) " >&6
   4105 else
   4106   cat >conftest.$ac_ext <<_ACEOF
   4107 /* confdefs.h.  */
   4108 _ACEOF
   4109 cat confdefs.h >>conftest.$ac_ext
   4110 cat >>conftest.$ac_ext <<_ACEOF
   4111 /* end confdefs.h.  */
   4112 #include <stdlib.h>
   4113 #include <stdarg.h>
   4114 #include <string.h>
   4115 #include <float.h>
   4116 
   4117 int
   4118 main ()
   4119 {
   4120 
   4121   ;
   4122   return 0;
   4123 }
   4124 _ACEOF
   4125 rm -f conftest.$ac_objext
   4126 if { (ac_try="$ac_compile"
   4127 case "(($ac_try" in
   4128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4129   *) ac_try_echo=$ac_try;;
   4130 esac
   4131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4132 $as_echo "$ac_try_echo") >&5
   4133   (eval "$ac_compile") 2>conftest.er1
   4134   ac_status=$?
   4135   grep -v '^ *+' conftest.er1 >conftest.err
   4136   rm -f conftest.er1
   4137   cat conftest.err >&5
   4138   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4139   (exit $ac_status); } && {
   4140 	 test -z "$ac_c_werror_flag" ||
   4141 	 test ! -s conftest.err
   4142        } && test -s conftest.$ac_objext; then
   4143   ac_cv_header_stdc=yes
   4144 else
   4145   $as_echo "$as_me: failed program was:" >&5
   4146 sed 's/^/| /' conftest.$ac_ext >&5
   4147 
   4148 	ac_cv_header_stdc=no
   4149 fi
   4150 
   4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4152 
   4153 if test $ac_cv_header_stdc = yes; then
   4154   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4155   cat >conftest.$ac_ext <<_ACEOF
   4156 /* confdefs.h.  */
   4157 _ACEOF
   4158 cat confdefs.h >>conftest.$ac_ext
   4159 cat >>conftest.$ac_ext <<_ACEOF
   4160 /* end confdefs.h.  */
   4161 #include <string.h>
   4162 
   4163 _ACEOF
   4164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4165   $EGREP "memchr" >/dev/null 2>&1; then
   4166   :
   4167 else
   4168   ac_cv_header_stdc=no
   4169 fi
   4170 rm -f conftest*
   4171 
   4172 fi
   4173 
   4174 if test $ac_cv_header_stdc = yes; then
   4175   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4176   cat >conftest.$ac_ext <<_ACEOF
   4177 /* confdefs.h.  */
   4178 _ACEOF
   4179 cat confdefs.h >>conftest.$ac_ext
   4180 cat >>conftest.$ac_ext <<_ACEOF
   4181 /* end confdefs.h.  */
   4182 #include <stdlib.h>
   4183 
   4184 _ACEOF
   4185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4186   $EGREP "free" >/dev/null 2>&1; then
   4187   :
   4188 else
   4189   ac_cv_header_stdc=no
   4190 fi
   4191 rm -f conftest*
   4192 
   4193 fi
   4194 
   4195 if test $ac_cv_header_stdc = yes; then
   4196   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4197   if test "$cross_compiling" = yes; then
   4198   :
   4199 else
   4200   cat >conftest.$ac_ext <<_ACEOF
   4201 /* confdefs.h.  */
   4202 _ACEOF
   4203 cat confdefs.h >>conftest.$ac_ext
   4204 cat >>conftest.$ac_ext <<_ACEOF
   4205 /* end confdefs.h.  */
   4206 #include <ctype.h>
   4207 #include <stdlib.h>
   4208 #if ((' ' & 0x0FF) == 0x020)
   4209 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4210 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4211 #else
   4212 # define ISLOWER(c) \
   4213 		   (('a' <= (c) && (c) <= 'i') \
   4214 		     || ('j' <= (c) && (c) <= 'r') \
   4215 		     || ('s' <= (c) && (c) <= 'z'))
   4216 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4217 #endif
   4218 
   4219 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4220 int
   4221 main ()
   4222 {
   4223   int i;
   4224   for (i = 0; i < 256; i++)
   4225     if (XOR (islower (i), ISLOWER (i))
   4226 	|| toupper (i) != TOUPPER (i))
   4227       return 2;
   4228   return 0;
   4229 }
   4230 _ACEOF
   4231 rm -f conftest$ac_exeext
   4232 if { (ac_try="$ac_link"
   4233 case "(($ac_try" in
   4234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4235   *) ac_try_echo=$ac_try;;
   4236 esac
   4237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4238 $as_echo "$ac_try_echo") >&5
   4239   (eval "$ac_link") 2>&5
   4240   ac_status=$?
   4241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4242   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4243   { (case "(($ac_try" in
   4244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4245   *) ac_try_echo=$ac_try;;
   4246 esac
   4247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4248 $as_echo "$ac_try_echo") >&5
   4249   (eval "$ac_try") 2>&5
   4250   ac_status=$?
   4251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4252   (exit $ac_status); }; }; then
   4253   :
   4254 else
   4255   $as_echo "$as_me: program exited with status $ac_status" >&5
   4256 $as_echo "$as_me: failed program was:" >&5
   4257 sed 's/^/| /' conftest.$ac_ext >&5
   4258 
   4259 ( exit $ac_status )
   4260 ac_cv_header_stdc=no
   4261 fi
   4262 rm -rf conftest.dSYM
   4263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4264 fi
   4265 
   4266 
   4267 fi
   4268 fi
   4269 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4270 $as_echo "$ac_cv_header_stdc" >&6; }
   4271 if test $ac_cv_header_stdc = yes; then
   4272 
   4273 cat >>confdefs.h <<\_ACEOF
   4274 #define STDC_HEADERS 1
   4275 _ACEOF
   4276 
   4277 fi
   4278 
   4279 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4280 
   4281 
   4282 
   4283 
   4284 
   4285 
   4286 
   4287 
   4288 
   4289 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4290 		  inttypes.h stdint.h unistd.h
   4291 do
   4292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4293 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4294 $as_echo_n "checking for $ac_header... " >&6; }
   4295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4296   $as_echo_n "(cached) " >&6
   4297 else
   4298   cat >conftest.$ac_ext <<_ACEOF
   4299 /* confdefs.h.  */
   4300 _ACEOF
   4301 cat confdefs.h >>conftest.$ac_ext
   4302 cat >>conftest.$ac_ext <<_ACEOF
   4303 /* end confdefs.h.  */
   4304 $ac_includes_default
   4305 
   4306 #include <$ac_header>
   4307 _ACEOF
   4308 rm -f conftest.$ac_objext
   4309 if { (ac_try="$ac_compile"
   4310 case "(($ac_try" in
   4311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4312   *) ac_try_echo=$ac_try;;
   4313 esac
   4314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4315 $as_echo "$ac_try_echo") >&5
   4316   (eval "$ac_compile") 2>conftest.er1
   4317   ac_status=$?
   4318   grep -v '^ *+' conftest.er1 >conftest.err
   4319   rm -f conftest.er1
   4320   cat conftest.err >&5
   4321   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4322   (exit $ac_status); } && {
   4323 	 test -z "$ac_c_werror_flag" ||
   4324 	 test ! -s conftest.err
   4325        } && test -s conftest.$ac_objext; then
   4326   eval "$as_ac_Header=yes"
   4327 else
   4328   $as_echo "$as_me: failed program was:" >&5
   4329 sed 's/^/| /' conftest.$ac_ext >&5
   4330 
   4331 	eval "$as_ac_Header=no"
   4332 fi
   4333 
   4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4335 fi
   4336 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4337 		 $as_echo "$as_val"'`
   4338 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4339 $as_echo "$ac_res" >&6; }
   4340 as_val=`eval 'as_val=${'$as_ac_Header'}
   4341 		 $as_echo "$as_val"'`
   4342    if test "x$as_val" = x""yes; then
   4343   cat >>confdefs.h <<_ACEOF
   4344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4345 _ACEOF
   4346 
   4347 fi
   4348 
   4349 done
   4350 
   4351 
   4352    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   4353 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4354 if test "${ac_cv_prog_cc_c99+set}" = set; then
   4355   $as_echo_n "(cached) " >&6
   4356 else
   4357   ac_cv_prog_cc_c99=no
   4358 ac_save_CC=$CC
   4359 cat >conftest.$ac_ext <<_ACEOF
   4360 /* confdefs.h.  */
   4361 _ACEOF
   4362 cat confdefs.h >>conftest.$ac_ext
   4363 cat >>conftest.$ac_ext <<_ACEOF
   4364 /* end confdefs.h.  */
   4365 #include <stdarg.h>
   4366 #include <stdbool.h>
   4367 #include <stdlib.h>
   4368 #include <wchar.h>
   4369 #include <stdio.h>
   4370 
   4371 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4372 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4373 #define showlist(...) puts (#__VA_ARGS__)
   4374 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4375 static void
   4376 test_varargs_macros (void)
   4377 {
   4378   int x = 1234;
   4379   int y = 5678;
   4380   debug ("Flag");
   4381   debug ("X = %d\n", x);
   4382   showlist (The first, second, and third items.);
   4383   report (x>y, "x is %d but y is %d", x, y);
   4384 }
   4385 
   4386 // Check long long types.
   4387 #define BIG64 18446744073709551615ull
   4388 #define BIG32 4294967295ul
   4389 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4390 #if !BIG_OK
   4391   your preprocessor is broken;
   4392 #endif
   4393 #if BIG_OK
   4394 #else
   4395   your preprocessor is broken;
   4396 #endif
   4397 static long long int bignum = -9223372036854775807LL;
   4398 static unsigned long long int ubignum = BIG64;
   4399 
   4400 struct incomplete_array
   4401 {
   4402   int datasize;
   4403   double data[];
   4404 };
   4405 
   4406 struct named_init {
   4407   int number;
   4408   const wchar_t *name;
   4409   double average;
   4410 };
   4411 
   4412 typedef const char *ccp;
   4413 
   4414 static inline int
   4415 test_restrict (ccp restrict text)
   4416 {
   4417   // See if C++-style comments work.
   4418   // Iterate through items via the restricted pointer.
   4419   // Also check for declarations in for loops.
   4420   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4421     continue;
   4422   return 0;
   4423 }
   4424 
   4425 // Check varargs and va_copy.
   4426 static void
   4427 test_varargs (const char *format, ...)
   4428 {
   4429   va_list args;
   4430   va_start (args, format);
   4431   va_list args_copy;
   4432   va_copy (args_copy, args);
   4433 
   4434   const char *str;
   4435   int number;
   4436   float fnumber;
   4437 
   4438   while (*format)
   4439     {
   4440       switch (*format++)
   4441 	{
   4442 	case 's': // string
   4443 	  str = va_arg (args_copy, const char *);
   4444 	  break;
   4445 	case 'd': // int
   4446 	  number = va_arg (args_copy, int);
   4447 	  break;
   4448 	case 'f': // float
   4449 	  fnumber = va_arg (args_copy, double);
   4450 	  break;
   4451 	default:
   4452 	  break;
   4453 	}
   4454     }
   4455   va_end (args_copy);
   4456   va_end (args);
   4457 }
   4458 
   4459 int
   4460 main ()
   4461 {
   4462 
   4463   // Check bool.
   4464   _Bool success = false;
   4465 
   4466   // Check restrict.
   4467   if (test_restrict ("String literal") == 0)
   4468     success = true;
   4469   char *restrict newvar = "Another string";
   4470 
   4471   // Check varargs.
   4472   test_varargs ("s, d' f .", "string", 65, 34.234);
   4473   test_varargs_macros ();
   4474 
   4475   // Check flexible array members.
   4476   struct incomplete_array *ia =
   4477     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4478   ia->datasize = 10;
   4479   for (int i = 0; i < ia->datasize; ++i)
   4480     ia->data[i] = i * 1.234;
   4481 
   4482   // Check named initializers.
   4483   struct named_init ni = {
   4484     .number = 34,
   4485     .name = L"Test wide string",
   4486     .average = 543.34343,
   4487   };
   4488 
   4489   ni.number = 58;
   4490 
   4491   int dynamic_array[ni.number];
   4492   dynamic_array[ni.number - 1] = 543;
   4493 
   4494   // work around unused variable warnings
   4495   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4496 	  || dynamic_array[ni.number - 1] != 543);
   4497 
   4498   ;
   4499   return 0;
   4500 }
   4501 _ACEOF
   4502 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4503 do
   4504   CC="$ac_save_CC $ac_arg"
   4505   rm -f conftest.$ac_objext
   4506 if { (ac_try="$ac_compile"
   4507 case "(($ac_try" in
   4508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4509   *) ac_try_echo=$ac_try;;
   4510 esac
   4511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4512 $as_echo "$ac_try_echo") >&5
   4513   (eval "$ac_compile") 2>conftest.er1
   4514   ac_status=$?
   4515   grep -v '^ *+' conftest.er1 >conftest.err
   4516   rm -f conftest.er1
   4517   cat conftest.err >&5
   4518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4519   (exit $ac_status); } && {
   4520 	 test -z "$ac_c_werror_flag" ||
   4521 	 test ! -s conftest.err
   4522        } && test -s conftest.$ac_objext; then
   4523   ac_cv_prog_cc_c99=$ac_arg
   4524 else
   4525   $as_echo "$as_me: failed program was:" >&5
   4526 sed 's/^/| /' conftest.$ac_ext >&5
   4527 
   4528 
   4529 fi
   4530 
   4531 rm -f core conftest.err conftest.$ac_objext
   4532   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4533 done
   4534 rm -f conftest.$ac_ext
   4535 CC=$ac_save_CC
   4536 
   4537 fi
   4538 # AC_CACHE_VAL
   4539 case "x$ac_cv_prog_cc_c99" in
   4540   x)
   4541     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   4542 $as_echo "none needed" >&6; } ;;
   4543   xno)
   4544     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   4545 $as_echo "unsupported" >&6; } ;;
   4546   *)
   4547     CC="$CC $ac_cv_prog_cc_c99"
   4548     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   4549 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4550 esac
   4551 
   4552 
   4553 
   4554 # Make sure we can run config.sub.
   4555 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4556   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4557 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4558    { (exit 1); exit 1; }; }
   4559 
   4560 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4561 $as_echo_n "checking build system type... " >&6; }
   4562 if test "${ac_cv_build+set}" = set; then
   4563   $as_echo_n "(cached) " >&6
   4564 else
   4565   ac_build_alias=$build_alias
   4566 test "x$ac_build_alias" = x &&
   4567   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4568 test "x$ac_build_alias" = x &&
   4569   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4570 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4571    { (exit 1); exit 1; }; }
   4572 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4573   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4574 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4575    { (exit 1); exit 1; }; }
   4576 
   4577 fi
   4578 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4579 $as_echo "$ac_cv_build" >&6; }
   4580 case $ac_cv_build in
   4581 *-*-*) ;;
   4582 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4583 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4584    { (exit 1); exit 1; }; };;
   4585 esac
   4586 build=$ac_cv_build
   4587 ac_save_IFS=$IFS; IFS='-'
   4588 set x $ac_cv_build
   4589 shift
   4590 build_cpu=$1
   4591 build_vendor=$2
   4592 shift; shift
   4593 # Remember, the first character of IFS is used to create $*,
   4594 # except with old shells:
   4595 build_os=$*
   4596 IFS=$ac_save_IFS
   4597 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4598 
   4599 
   4600 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4601 $as_echo_n "checking host system type... " >&6; }
   4602 if test "${ac_cv_host+set}" = set; then
   4603   $as_echo_n "(cached) " >&6
   4604 else
   4605   if test "x$host_alias" = x; then
   4606   ac_cv_host=$ac_cv_build
   4607 else
   4608   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4609     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4610 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4611    { (exit 1); exit 1; }; }
   4612 fi
   4613 
   4614 fi
   4615 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4616 $as_echo "$ac_cv_host" >&6; }
   4617 case $ac_cv_host in
   4618 *-*-*) ;;
   4619 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4620 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4621    { (exit 1); exit 1; }; };;
   4622 esac
   4623 host=$ac_cv_host
   4624 ac_save_IFS=$IFS; IFS='-'
   4625 set x $ac_cv_host
   4626 shift
   4627 host_cpu=$1
   4628 host_vendor=$2
   4629 shift; shift
   4630 # Remember, the first character of IFS is used to create $*,
   4631 # except with old shells:
   4632 host_os=$*
   4633 IFS=$ac_save_IFS
   4634 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 if  test "x$GCC" = xyes ; then
   4641     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4642 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4643 -Wbad-function-cast"
   4644     case `$CC -dumpversion` in
   4645     3.4.* | 4.*)
   4646 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4647 	;;
   4648     esac
   4649 else
   4650     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4651 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4652 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655   cat >conftest.$ac_ext <<_ACEOF
   4656 /* confdefs.h.  */
   4657 _ACEOF
   4658 cat confdefs.h >>conftest.$ac_ext
   4659 cat >>conftest.$ac_ext <<_ACEOF
   4660 /* end confdefs.h.  */
   4661 $ac_includes_default
   4662 int
   4663 main ()
   4664 {
   4665 #ifndef __SUNPRO_C
   4666   (void) __SUNPRO_C;
   4667 #endif
   4668 
   4669   ;
   4670   return 0;
   4671 }
   4672 _ACEOF
   4673 rm -f conftest.$ac_objext
   4674 if { (ac_try="$ac_compile"
   4675 case "(($ac_try" in
   4676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4677   *) ac_try_echo=$ac_try;;
   4678 esac
   4679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4680 $as_echo "$ac_try_echo") >&5
   4681   (eval "$ac_compile") 2>conftest.er1
   4682   ac_status=$?
   4683   grep -v '^ *+' conftest.er1 >conftest.err
   4684   rm -f conftest.er1
   4685   cat conftest.err >&5
   4686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4687   (exit $ac_status); } && {
   4688 	 test -z "$ac_c_werror_flag" ||
   4689 	 test ! -s conftest.err
   4690        } && test -s conftest.$ac_objext; then
   4691   ac_cv_have_decl___SUNPRO_C=yes
   4692 else
   4693   $as_echo "$as_me: failed program was:" >&5
   4694 sed 's/^/| /' conftest.$ac_ext >&5
   4695 
   4696 	ac_cv_have_decl___SUNPRO_C=no
   4697 fi
   4698 
   4699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4700 fi
   4701 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4702 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4703 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4704   SUNCC="yes"
   4705 else
   4706   SUNCC="no"
   4707 fi
   4708 
   4709     if test "x$SUNCC" = "xyes"; then
   4710 	CWARNFLAGS="-v"
   4711     fi
   4712 fi
   4713 
   4714 # Check whether --enable-silent-rules was given.
   4715 if test "${enable_silent_rules+set}" = set; then
   4716   enableval=$enable_silent_rules;
   4717 fi
   4718 
   4719 case $enable_silent_rules in
   4720 yes) AM_DEFAULT_VERBOSITY=0;;
   4721 no)  AM_DEFAULT_VERBOSITY=1;;
   4722 *)   AM_DEFAULT_VERBOSITY=0;;
   4723 esac
   4724 AM_BACKSLASH='\'
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 # Check whether --enable-strict-compilation was given.
   4733 if test "${enable_strict_compilation+set}" = set; then
   4734   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4735 else
   4736   STRICT_COMPILE=no
   4737 fi
   4738 
   4739 if test "x$STRICT_COMPILE" = "xyes"; then
   4740 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4741 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4742 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4743   $as_echo_n "(cached) " >&6
   4744 else
   4745   cat >conftest.$ac_ext <<_ACEOF
   4746 /* confdefs.h.  */
   4747 _ACEOF
   4748 cat confdefs.h >>conftest.$ac_ext
   4749 cat >>conftest.$ac_ext <<_ACEOF
   4750 /* end confdefs.h.  */
   4751 $ac_includes_default
   4752 int
   4753 main ()
   4754 {
   4755 #ifndef __SUNPRO_C
   4756   (void) __SUNPRO_C;
   4757 #endif
   4758 
   4759   ;
   4760   return 0;
   4761 }
   4762 _ACEOF
   4763 rm -f conftest.$ac_objext
   4764 if { (ac_try="$ac_compile"
   4765 case "(($ac_try" in
   4766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4767   *) ac_try_echo=$ac_try;;
   4768 esac
   4769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4770 $as_echo "$ac_try_echo") >&5
   4771   (eval "$ac_compile") 2>conftest.er1
   4772   ac_status=$?
   4773   grep -v '^ *+' conftest.er1 >conftest.err
   4774   rm -f conftest.er1
   4775   cat conftest.err >&5
   4776   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4777   (exit $ac_status); } && {
   4778 	 test -z "$ac_c_werror_flag" ||
   4779 	 test ! -s conftest.err
   4780        } && test -s conftest.$ac_objext; then
   4781   ac_cv_have_decl___SUNPRO_C=yes
   4782 else
   4783   $as_echo "$as_me: failed program was:" >&5
   4784 sed 's/^/| /' conftest.$ac_ext >&5
   4785 
   4786 	ac_cv_have_decl___SUNPRO_C=no
   4787 fi
   4788 
   4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4790 fi
   4791 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4792 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4793 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4794   SUNCC="yes"
   4795 else
   4796   SUNCC="no"
   4797 fi
   4798 
   4799 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   4800 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   4801 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   4802   $as_echo_n "(cached) " >&6
   4803 else
   4804   cat >conftest.$ac_ext <<_ACEOF
   4805 /* confdefs.h.  */
   4806 _ACEOF
   4807 cat confdefs.h >>conftest.$ac_ext
   4808 cat >>conftest.$ac_ext <<_ACEOF
   4809 /* end confdefs.h.  */
   4810 $ac_includes_default
   4811 int
   4812 main ()
   4813 {
   4814 #ifndef __INTEL_COMPILER
   4815   (void) __INTEL_COMPILER;
   4816 #endif
   4817 
   4818   ;
   4819   return 0;
   4820 }
   4821 _ACEOF
   4822 rm -f conftest.$ac_objext
   4823 if { (ac_try="$ac_compile"
   4824 case "(($ac_try" in
   4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4826   *) ac_try_echo=$ac_try;;
   4827 esac
   4828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4829 $as_echo "$ac_try_echo") >&5
   4830   (eval "$ac_compile") 2>conftest.er1
   4831   ac_status=$?
   4832   grep -v '^ *+' conftest.er1 >conftest.err
   4833   rm -f conftest.er1
   4834   cat conftest.err >&5
   4835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4836   (exit $ac_status); } && {
   4837 	 test -z "$ac_c_werror_flag" ||
   4838 	 test ! -s conftest.err
   4839        } && test -s conftest.$ac_objext; then
   4840   ac_cv_have_decl___INTEL_COMPILER=yes
   4841 else
   4842   $as_echo "$as_me: failed program was:" >&5
   4843 sed 's/^/| /' conftest.$ac_ext >&5
   4844 
   4845 	ac_cv_have_decl___INTEL_COMPILER=no
   4846 fi
   4847 
   4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4849 fi
   4850 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   4851 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   4852 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   4853   INTELCC="yes"
   4854 else
   4855   INTELCC="no"
   4856 fi
   4857 
   4858 	if test "x$GCC" = xyes ; then
   4859 		STRICT_CFLAGS="-pedantic -Werror"
   4860 	elif test "x$SUNCC" = "xyes"; then
   4861 		STRICT_CFLAGS="-errwarn"
   4862     elif test "x$INTELCC" = "xyes"; then
   4863 		STRICT_CFLAGS="-Werror"
   4864 	fi
   4865 fi
   4866 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4867 
   4868 
   4869 
   4870 
   4871 # Check whether --with-release-version was given.
   4872 if test "${with_release_version+set}" = set; then
   4873   withval=$with_release_version; RELEASE_VERSION="$withval"
   4874 else
   4875   RELEASE_VERSION=""
   4876 fi
   4877 
   4878 	if test "x$RELEASE_VERSION" != "x"; then
   4879 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   4880 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   4881 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   4882 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   4883 	fi
   4884 
   4885 cat >>confdefs.h <<_ACEOF
   4886 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4887 _ACEOF
   4888 
   4889 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4890 	if test "x$PVM" = "x"; then
   4891 		PVM="0"
   4892 	fi
   4893 
   4894 cat >>confdefs.h <<_ACEOF
   4895 #define PACKAGE_VERSION_MINOR $PVM
   4896 _ACEOF
   4897 
   4898 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4899 	if test "x$PVP" = "x"; then
   4900 		PVP="0"
   4901 	fi
   4902 
   4903 cat >>confdefs.h <<_ACEOF
   4904 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4905 _ACEOF
   4906 
   4907 
   4908 
   4909 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   4910 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   4911 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4912 
   4913 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 if test x$APP_MAN_SUFFIX = x    ; then
   4920     APP_MAN_SUFFIX=1
   4921 fi
   4922 if test x$APP_MAN_DIR = x    ; then
   4923     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4924 fi
   4925 
   4926 if test x$LIB_MAN_SUFFIX = x    ; then
   4927     LIB_MAN_SUFFIX=3
   4928 fi
   4929 if test x$LIB_MAN_DIR = x    ; then
   4930     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4931 fi
   4932 
   4933 if test x$FILE_MAN_SUFFIX = x    ; then
   4934     case $host_os in
   4935 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4936 	*)		FILE_MAN_SUFFIX=5  ;;
   4937     esac
   4938 fi
   4939 if test x$FILE_MAN_DIR = x    ; then
   4940     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4941 fi
   4942 
   4943 if test x$MISC_MAN_SUFFIX = x    ; then
   4944     case $host_os in
   4945 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4946 	*)		MISC_MAN_SUFFIX=7  ;;
   4947     esac
   4948 fi
   4949 if test x$MISC_MAN_DIR = x    ; then
   4950     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4951 fi
   4952 
   4953 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4954     case $host_os in
   4955 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4956 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4957     esac
   4958 fi
   4959 if test x$DRIVER_MAN_DIR = x    ; then
   4960     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4961 fi
   4962 
   4963 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4964     case $host_os in
   4965 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4966 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4967     esac
   4968 fi
   4969 if test x$ADMIN_MAN_DIR = x    ; then
   4970     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4971 fi
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 # Checks for pkg-config packages
   4990 
   4991 
   4992 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4993 	if test -n "$ac_tool_prefix"; then
   4994   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4995 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4997 $as_echo_n "checking for $ac_word... " >&6; }
   4998 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   4999   $as_echo_n "(cached) " >&6
   5000 else
   5001   case $PKG_CONFIG in
   5002   [\\/]* | ?:[\\/]*)
   5003   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5004   ;;
   5005   *)
   5006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5007 for as_dir in $PATH
   5008 do
   5009   IFS=$as_save_IFS
   5010   test -z "$as_dir" && as_dir=.
   5011   for ac_exec_ext in '' $ac_executable_extensions; do
   5012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5013     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5014     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5015     break 2
   5016   fi
   5017 done
   5018 done
   5019 IFS=$as_save_IFS
   5020 
   5021   ;;
   5022 esac
   5023 fi
   5024 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5025 if test -n "$PKG_CONFIG"; then
   5026   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   5027 $as_echo "$PKG_CONFIG" >&6; }
   5028 else
   5029   { $as_echo "$as_me:$LINENO: result: no" >&5
   5030 $as_echo "no" >&6; }
   5031 fi
   5032 
   5033 
   5034 fi
   5035 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5036   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5037   # Extract the first word of "pkg-config", so it can be a program name with args.
   5038 set dummy pkg-config; ac_word=$2
   5039 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5040 $as_echo_n "checking for $ac_word... " >&6; }
   5041 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   case $ac_pt_PKG_CONFIG in
   5045   [\\/]* | ?:[\\/]*)
   5046   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5047   ;;
   5048   *)
   5049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5050 for as_dir in $PATH
   5051 do
   5052   IFS=$as_save_IFS
   5053   test -z "$as_dir" && as_dir=.
   5054   for ac_exec_ext in '' $ac_executable_extensions; do
   5055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5056     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5057     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5058     break 2
   5059   fi
   5060 done
   5061 done
   5062 IFS=$as_save_IFS
   5063 
   5064   ;;
   5065 esac
   5066 fi
   5067 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5068 if test -n "$ac_pt_PKG_CONFIG"; then
   5069   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   5070 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5071 else
   5072   { $as_echo "$as_me:$LINENO: result: no" >&5
   5073 $as_echo "no" >&6; }
   5074 fi
   5075 
   5076   if test "x$ac_pt_PKG_CONFIG" = x; then
   5077     PKG_CONFIG=""
   5078   else
   5079     case $cross_compiling:$ac_tool_warned in
   5080 yes:)
   5081 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5083 ac_tool_warned=yes ;;
   5084 esac
   5085     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5086   fi
   5087 else
   5088   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5089 fi
   5090 
   5091 fi
   5092 if test -n "$PKG_CONFIG"; then
   5093 	_pkg_min_version=0.9.0
   5094 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   5095 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5096 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5097 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   5098 $as_echo "yes" >&6; }
   5099 	else
   5100 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   5101 $as_echo "no" >&6; }
   5102 		PKG_CONFIG=""
   5103 	fi
   5104 
   5105 fi
   5106 
   5107 pkg_failed=no
   5108 { $as_echo "$as_me:$LINENO: checking for XHOST" >&5
   5109 $as_echo_n "checking for XHOST... " >&6; }
   5110 
   5111 if test -n "$XHOST_CFLAGS"; then
   5112     pkg_cv_XHOST_CFLAGS="$XHOST_CFLAGS"
   5113  elif test -n "$PKG_CONFIG"; then
   5114     if test -n "$PKG_CONFIG" && \
   5115     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xau\"") >&5
   5116   ($PKG_CONFIG --exists --print-errors "x11 xmuu xau") 2>&5
   5117   ac_status=$?
   5118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5119   (exit $ac_status); }; then
   5120   pkg_cv_XHOST_CFLAGS=`$PKG_CONFIG --cflags "x11 xmuu xau" 2>/dev/null`
   5121 else
   5122   pkg_failed=yes
   5123 fi
   5124  else
   5125     pkg_failed=untried
   5126 fi
   5127 if test -n "$XHOST_LIBS"; then
   5128     pkg_cv_XHOST_LIBS="$XHOST_LIBS"
   5129  elif test -n "$PKG_CONFIG"; then
   5130     if test -n "$PKG_CONFIG" && \
   5131     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xau\"") >&5
   5132   ($PKG_CONFIG --exists --print-errors "x11 xmuu xau") 2>&5
   5133   ac_status=$?
   5134   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5135   (exit $ac_status); }; then
   5136   pkg_cv_XHOST_LIBS=`$PKG_CONFIG --libs "x11 xmuu xau" 2>/dev/null`
   5137 else
   5138   pkg_failed=yes
   5139 fi
   5140  else
   5141     pkg_failed=untried
   5142 fi
   5143 
   5144 
   5145 
   5146 if test $pkg_failed = yes; then
   5147 
   5148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   5149         _pkg_short_errors_supported=yes
   5150 else
   5151         _pkg_short_errors_supported=no
   5152 fi
   5153         if test $_pkg_short_errors_supported = yes; then
   5154 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmuu xau" 2>&1`
   5155         else
   5156 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmuu xau" 2>&1`
   5157         fi
   5158 	# Put the nasty error message in config.log where it belongs
   5159 	echo "$XHOST_PKG_ERRORS" >&5
   5160 
   5161 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xmuu xau) were not met:
   5162 
   5163 $XHOST_PKG_ERRORS
   5164 
   5165 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   5166 installed software in a non-standard prefix.
   5167 
   5168 Alternatively, you may set the environment variables XHOST_CFLAGS
   5169 and XHOST_LIBS to avoid the need to call pkg-config.
   5170 See the pkg-config man page for more details.
   5171 " >&5
   5172 $as_echo "$as_me: error: Package requirements (x11 xmuu xau) were not met:
   5173 
   5174 $XHOST_PKG_ERRORS
   5175 
   5176 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   5177 installed software in a non-standard prefix.
   5178 
   5179 Alternatively, you may set the environment variables XHOST_CFLAGS
   5180 and XHOST_LIBS to avoid the need to call pkg-config.
   5181 See the pkg-config man page for more details.
   5182 " >&2;}
   5183    { (exit 1); exit 1; }; }
   5184 elif test $pkg_failed = untried; then
   5185 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   5186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5187 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   5188 is in your PATH or set the PKG_CONFIG environment variable to the full
   5189 path to pkg-config.
   5190 
   5191 Alternatively, you may set the environment variables XHOST_CFLAGS
   5192 and XHOST_LIBS to avoid the need to call pkg-config.
   5193 See the pkg-config man page for more details.
   5194 
   5195 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   5196 See \`config.log' for more details." >&5
   5197 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   5198 is in your PATH or set the PKG_CONFIG environment variable to the full
   5199 path to pkg-config.
   5200 
   5201 Alternatively, you may set the environment variables XHOST_CFLAGS
   5202 and XHOST_LIBS to avoid the need to call pkg-config.
   5203 See the pkg-config man page for more details.
   5204 
   5205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   5206 See \`config.log' for more details." >&2;}
   5207    { (exit 1); exit 1; }; }; }
   5208 else
   5209 	XHOST_CFLAGS=$pkg_cv_XHOST_CFLAGS
   5210 	XHOST_LIBS=$pkg_cv_XHOST_LIBS
   5211         { $as_echo "$as_me:$LINENO: result: yes" >&5
   5212 $as_echo "yes" >&6; }
   5213 	:
   5214 fi
   5215 
   5216 
   5217 
   5218 # Transport selection macro from xtrans.m4
   5219 
   5220 
   5221 
   5222  case $host_os in
   5223 	mingw*)	unixdef="no"   ;;
   5224 	*)	unixdef="yes"  ;;
   5225  esac
   5226  # Check whether --enable-unix-transport was given.
   5227 if test "${enable_unix_transport+set}" = set; then
   5228   enableval=$enable_unix_transport; UNIXCONN=$enableval
   5229 else
   5230   UNIXCONN=$unixdef
   5231 fi
   5232 
   5233  { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   5234 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   5235  if test "$UNIXCONN" = "yes"; then
   5236 
   5237 cat >>confdefs.h <<\_ACEOF
   5238 #define UNIXCONN 1
   5239 _ACEOF
   5240 
   5241  fi
   5242  { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   5243 $as_echo "$UNIXCONN" >&6; }
   5244  # Check whether --enable-tcp-transport was given.
   5245 if test "${enable_tcp_transport+set}" = set; then
   5246   enableval=$enable_tcp_transport; TCPCONN=$enableval
   5247 else
   5248   TCPCONN=yes
   5249 fi
   5250 
   5251  { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   5252 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   5253  { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5
   5254 $as_echo "$TCPCONN" >&6; }
   5255  if test "$TCPCONN" = "yes"; then
   5256 
   5257 cat >>confdefs.h <<\_ACEOF
   5258 #define TCPCONN 1
   5259 _ACEOF
   5260 
   5261 
   5262  # SVR4 hides these in libraries other than libc
   5263  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
   5264 $as_echo_n "checking for library containing socket... " >&6; }
   5265 if test "${ac_cv_search_socket+set}" = set; then
   5266   $as_echo_n "(cached) " >&6
   5267 else
   5268   ac_func_search_save_LIBS=$LIBS
   5269 cat >conftest.$ac_ext <<_ACEOF
   5270 /* confdefs.h.  */
   5271 _ACEOF
   5272 cat confdefs.h >>conftest.$ac_ext
   5273 cat >>conftest.$ac_ext <<_ACEOF
   5274 /* end confdefs.h.  */
   5275 
   5276 /* Override any GCC internal prototype to avoid an error.
   5277    Use char because int might match the return type of a GCC
   5278    builtin and then its argument prototype would still apply.  */
   5279 #ifdef __cplusplus
   5280 extern "C"
   5281 #endif
   5282 char socket ();
   5283 int
   5284 main ()
   5285 {
   5286 return socket ();
   5287   ;
   5288   return 0;
   5289 }
   5290 _ACEOF
   5291 for ac_lib in '' socket; do
   5292   if test -z "$ac_lib"; then
   5293     ac_res="none required"
   5294   else
   5295     ac_res=-l$ac_lib
   5296     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5297   fi
   5298   rm -f conftest.$ac_objext conftest$ac_exeext
   5299 if { (ac_try="$ac_link"
   5300 case "(($ac_try" in
   5301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5302   *) ac_try_echo=$ac_try;;
   5303 esac
   5304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5305 $as_echo "$ac_try_echo") >&5
   5306   (eval "$ac_link") 2>conftest.er1
   5307   ac_status=$?
   5308   grep -v '^ *+' conftest.er1 >conftest.err
   5309   rm -f conftest.er1
   5310   cat conftest.err >&5
   5311   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5312   (exit $ac_status); } && {
   5313 	 test -z "$ac_c_werror_flag" ||
   5314 	 test ! -s conftest.err
   5315        } && test -s conftest$ac_exeext && {
   5316 	 test "$cross_compiling" = yes ||
   5317 	 $as_test_x conftest$ac_exeext
   5318        }; then
   5319   ac_cv_search_socket=$ac_res
   5320 else
   5321   $as_echo "$as_me: failed program was:" >&5
   5322 sed 's/^/| /' conftest.$ac_ext >&5
   5323 
   5324 
   5325 fi
   5326 
   5327 rm -rf conftest.dSYM
   5328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5329       conftest$ac_exeext
   5330   if test "${ac_cv_search_socket+set}" = set; then
   5331   break
   5332 fi
   5333 done
   5334 if test "${ac_cv_search_socket+set}" = set; then
   5335   :
   5336 else
   5337   ac_cv_search_socket=no
   5338 fi
   5339 rm conftest.$ac_ext
   5340 LIBS=$ac_func_search_save_LIBS
   5341 fi
   5342 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   5343 $as_echo "$ac_cv_search_socket" >&6; }
   5344 ac_res=$ac_cv_search_socket
   5345 if test "$ac_res" != no; then
   5346   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   5347 
   5348 fi
   5349 
   5350  { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   5351 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   5352 if test "${ac_cv_search_gethostbyname+set}" = set; then
   5353   $as_echo_n "(cached) " >&6
   5354 else
   5355   ac_func_search_save_LIBS=$LIBS
   5356 cat >conftest.$ac_ext <<_ACEOF
   5357 /* confdefs.h.  */
   5358 _ACEOF
   5359 cat confdefs.h >>conftest.$ac_ext
   5360 cat >>conftest.$ac_ext <<_ACEOF
   5361 /* end confdefs.h.  */
   5362 
   5363 /* Override any GCC internal prototype to avoid an error.
   5364    Use char because int might match the return type of a GCC
   5365    builtin and then its argument prototype would still apply.  */
   5366 #ifdef __cplusplus
   5367 extern "C"
   5368 #endif
   5369 char gethostbyname ();
   5370 int
   5371 main ()
   5372 {
   5373 return gethostbyname ();
   5374   ;
   5375   return 0;
   5376 }
   5377 _ACEOF
   5378 for ac_lib in '' nsl; do
   5379   if test -z "$ac_lib"; then
   5380     ac_res="none required"
   5381   else
   5382     ac_res=-l$ac_lib
   5383     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5384   fi
   5385   rm -f conftest.$ac_objext conftest$ac_exeext
   5386 if { (ac_try="$ac_link"
   5387 case "(($ac_try" in
   5388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5389   *) ac_try_echo=$ac_try;;
   5390 esac
   5391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5392 $as_echo "$ac_try_echo") >&5
   5393   (eval "$ac_link") 2>conftest.er1
   5394   ac_status=$?
   5395   grep -v '^ *+' conftest.er1 >conftest.err
   5396   rm -f conftest.er1
   5397   cat conftest.err >&5
   5398   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5399   (exit $ac_status); } && {
   5400 	 test -z "$ac_c_werror_flag" ||
   5401 	 test ! -s conftest.err
   5402        } && test -s conftest$ac_exeext && {
   5403 	 test "$cross_compiling" = yes ||
   5404 	 $as_test_x conftest$ac_exeext
   5405        }; then
   5406   ac_cv_search_gethostbyname=$ac_res
   5407 else
   5408   $as_echo "$as_me: failed program was:" >&5
   5409 sed 's/^/| /' conftest.$ac_ext >&5
   5410 
   5411 
   5412 fi
   5413 
   5414 rm -rf conftest.dSYM
   5415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5416       conftest$ac_exeext
   5417   if test "${ac_cv_search_gethostbyname+set}" = set; then
   5418   break
   5419 fi
   5420 done
   5421 if test "${ac_cv_search_gethostbyname+set}" = set; then
   5422   :
   5423 else
   5424   ac_cv_search_gethostbyname=no
   5425 fi
   5426 rm conftest.$ac_ext
   5427 LIBS=$ac_func_search_save_LIBS
   5428 fi
   5429 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   5430 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   5431 ac_res=$ac_cv_search_gethostbyname
   5432 if test "$ac_res" != no; then
   5433   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   5434 
   5435 fi
   5436 
   5437 
   5438 { $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
   5439 $as_echo_n "checking for main in -lws2_32... " >&6; }
   5440 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   ac_check_lib_save_LIBS=$LIBS
   5444 LIBS="-lws2_32  $LIBS"
   5445 cat >conftest.$ac_ext <<_ACEOF
   5446 /* confdefs.h.  */
   5447 _ACEOF
   5448 cat confdefs.h >>conftest.$ac_ext
   5449 cat >>conftest.$ac_ext <<_ACEOF
   5450 /* end confdefs.h.  */
   5451 
   5452 
   5453 int
   5454 main ()
   5455 {
   5456 return main ();
   5457   ;
   5458   return 0;
   5459 }
   5460 _ACEOF
   5461 rm -f conftest.$ac_objext conftest$ac_exeext
   5462 if { (ac_try="$ac_link"
   5463 case "(($ac_try" in
   5464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5465   *) ac_try_echo=$ac_try;;
   5466 esac
   5467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5468 $as_echo "$ac_try_echo") >&5
   5469   (eval "$ac_link") 2>conftest.er1
   5470   ac_status=$?
   5471   grep -v '^ *+' conftest.er1 >conftest.err
   5472   rm -f conftest.er1
   5473   cat conftest.err >&5
   5474   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5475   (exit $ac_status); } && {
   5476 	 test -z "$ac_c_werror_flag" ||
   5477 	 test ! -s conftest.err
   5478        } && test -s conftest$ac_exeext && {
   5479 	 test "$cross_compiling" = yes ||
   5480 	 $as_test_x conftest$ac_exeext
   5481        }; then
   5482   ac_cv_lib_ws2_32_main=yes
   5483 else
   5484   $as_echo "$as_me: failed program was:" >&5
   5485 sed 's/^/| /' conftest.$ac_ext >&5
   5486 
   5487 	ac_cv_lib_ws2_32_main=no
   5488 fi
   5489 
   5490 rm -rf conftest.dSYM
   5491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5492       conftest$ac_exeext conftest.$ac_ext
   5493 LIBS=$ac_check_lib_save_LIBS
   5494 fi
   5495 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
   5496 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   5497 if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
   5498   cat >>confdefs.h <<_ACEOF
   5499 #define HAVE_LIBWS2_32 1
   5500 _ACEOF
   5501 
   5502   LIBS="-lws2_32 $LIBS"
   5503 
   5504 fi
   5505 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   5506 
   5507 
   5508  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   5509  # Check whether --enable-ipv6 was given.
   5510 if test "${enable_ipv6+set}" = set; then
   5511   enableval=$enable_ipv6; IPV6CONN=$enableval
   5512 else
   5513   { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   5514 $as_echo_n "checking for getaddrinfo... " >&6; }
   5515 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   cat >conftest.$ac_ext <<_ACEOF
   5519 /* confdefs.h.  */
   5520 _ACEOF
   5521 cat confdefs.h >>conftest.$ac_ext
   5522 cat >>conftest.$ac_ext <<_ACEOF
   5523 /* end confdefs.h.  */
   5524 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   5525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5526 #define getaddrinfo innocuous_getaddrinfo
   5527 
   5528 /* System header to define __stub macros and hopefully few prototypes,
   5529     which can conflict with char getaddrinfo (); below.
   5530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5531     <limits.h> exists even on freestanding compilers.  */
   5532 
   5533 #ifdef __STDC__
   5534 # include <limits.h>
   5535 #else
   5536 # include <assert.h>
   5537 #endif
   5538 
   5539 #undef getaddrinfo
   5540 
   5541 /* Override any GCC internal prototype to avoid an error.
   5542    Use char because int might match the return type of a GCC
   5543    builtin and then its argument prototype would still apply.  */
   5544 #ifdef __cplusplus
   5545 extern "C"
   5546 #endif
   5547 char getaddrinfo ();
   5548 /* The GNU C library defines this for functions which it implements
   5549     to always fail with ENOSYS.  Some functions are actually named
   5550     something starting with __ and the normal name is an alias.  */
   5551 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   5552 choke me
   5553 #endif
   5554 
   5555 int
   5556 main ()
   5557 {
   5558 return getaddrinfo ();
   5559   ;
   5560   return 0;
   5561 }
   5562 _ACEOF
   5563 rm -f conftest.$ac_objext conftest$ac_exeext
   5564 if { (ac_try="$ac_link"
   5565 case "(($ac_try" in
   5566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5567   *) ac_try_echo=$ac_try;;
   5568 esac
   5569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5570 $as_echo "$ac_try_echo") >&5
   5571   (eval "$ac_link") 2>conftest.er1
   5572   ac_status=$?
   5573   grep -v '^ *+' conftest.er1 >conftest.err
   5574   rm -f conftest.er1
   5575   cat conftest.err >&5
   5576   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5577   (exit $ac_status); } && {
   5578 	 test -z "$ac_c_werror_flag" ||
   5579 	 test ! -s conftest.err
   5580        } && test -s conftest$ac_exeext && {
   5581 	 test "$cross_compiling" = yes ||
   5582 	 $as_test_x conftest$ac_exeext
   5583        }; then
   5584   ac_cv_func_getaddrinfo=yes
   5585 else
   5586   $as_echo "$as_me: failed program was:" >&5
   5587 sed 's/^/| /' conftest.$ac_ext >&5
   5588 
   5589 	ac_cv_func_getaddrinfo=no
   5590 fi
   5591 
   5592 rm -rf conftest.dSYM
   5593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5594       conftest$ac_exeext conftest.$ac_ext
   5595 fi
   5596 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   5597 $as_echo "$ac_cv_func_getaddrinfo" >&6; }
   5598 if test "x$ac_cv_func_getaddrinfo" = x""yes; then
   5599   IPV6CONN=yes
   5600 else
   5601   IPV6CONN=no
   5602 fi
   5603 
   5604 fi
   5605 
   5606  { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   5607 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   5608  if test "$IPV6CONN" = "yes"; then
   5609 
   5610 cat >>confdefs.h <<\_ACEOF
   5611 #define IPv6 1
   5612 _ACEOF
   5613 
   5614  fi
   5615  { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   5616 $as_echo "$IPV6CONN" >&6; }
   5617 
   5618  # 4.3BSD-Reno added a new member to struct sockaddr_in
   5619  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   5620 $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
   5621 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   cat >conftest.$ac_ext <<_ACEOF
   5625 /* confdefs.h.  */
   5626 _ACEOF
   5627 cat confdefs.h >>conftest.$ac_ext
   5628 cat >>conftest.$ac_ext <<_ACEOF
   5629 /* end confdefs.h.  */
   5630 
   5631 #include <sys/types.h>
   5632 #include <sys/socket.h>
   5633 #include <netinet/in.h>
   5634 
   5635 
   5636 int
   5637 main ()
   5638 {
   5639 static struct sockaddr_in ac_aggr;
   5640 if (ac_aggr.sin_len)
   5641 return 0;
   5642   ;
   5643   return 0;
   5644 }
   5645 _ACEOF
   5646 rm -f conftest.$ac_objext
   5647 if { (ac_try="$ac_compile"
   5648 case "(($ac_try" in
   5649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5650   *) ac_try_echo=$ac_try;;
   5651 esac
   5652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5653 $as_echo "$ac_try_echo") >&5
   5654   (eval "$ac_compile") 2>conftest.er1
   5655   ac_status=$?
   5656   grep -v '^ *+' conftest.er1 >conftest.err
   5657   rm -f conftest.er1
   5658   cat conftest.err >&5
   5659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5660   (exit $ac_status); } && {
   5661 	 test -z "$ac_c_werror_flag" ||
   5662 	 test ! -s conftest.err
   5663        } && test -s conftest.$ac_objext; then
   5664   ac_cv_member_struct_sockaddr_in_sin_len=yes
   5665 else
   5666   $as_echo "$as_me: failed program was:" >&5
   5667 sed 's/^/| /' conftest.$ac_ext >&5
   5668 
   5669 	cat >conftest.$ac_ext <<_ACEOF
   5670 /* confdefs.h.  */
   5671 _ACEOF
   5672 cat confdefs.h >>conftest.$ac_ext
   5673 cat >>conftest.$ac_ext <<_ACEOF
   5674 /* end confdefs.h.  */
   5675 
   5676 #include <sys/types.h>
   5677 #include <sys/socket.h>
   5678 #include <netinet/in.h>
   5679 
   5680 
   5681 int
   5682 main ()
   5683 {
   5684 static struct sockaddr_in ac_aggr;
   5685 if (sizeof ac_aggr.sin_len)
   5686 return 0;
   5687   ;
   5688   return 0;
   5689 }
   5690 _ACEOF
   5691 rm -f conftest.$ac_objext
   5692 if { (ac_try="$ac_compile"
   5693 case "(($ac_try" in
   5694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5695   *) ac_try_echo=$ac_try;;
   5696 esac
   5697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5698 $as_echo "$ac_try_echo") >&5
   5699   (eval "$ac_compile") 2>conftest.er1
   5700   ac_status=$?
   5701   grep -v '^ *+' conftest.er1 >conftest.err
   5702   rm -f conftest.er1
   5703   cat conftest.err >&5
   5704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5705   (exit $ac_status); } && {
   5706 	 test -z "$ac_c_werror_flag" ||
   5707 	 test ! -s conftest.err
   5708        } && test -s conftest.$ac_objext; then
   5709   ac_cv_member_struct_sockaddr_in_sin_len=yes
   5710 else
   5711   $as_echo "$as_me: failed program was:" >&5
   5712 sed 's/^/| /' conftest.$ac_ext >&5
   5713 
   5714 	ac_cv_member_struct_sockaddr_in_sin_len=no
   5715 fi
   5716 
   5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5718 fi
   5719 
   5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5721 fi
   5722 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   5723 $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   5724 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
   5725 
   5726 cat >>confdefs.h <<\_ACEOF
   5727 #define BSD44SOCKETS 1
   5728 _ACEOF
   5729 
   5730 fi
   5731 
   5732 
   5733  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   5734  { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
   5735 $as_echo_n "checking for socklen_t... " >&6; }
   5736 if test "${ac_cv_type_socklen_t+set}" = set; then
   5737   $as_echo_n "(cached) " >&6
   5738 else
   5739   ac_cv_type_socklen_t=no
   5740 cat >conftest.$ac_ext <<_ACEOF
   5741 /* confdefs.h.  */
   5742 _ACEOF
   5743 cat confdefs.h >>conftest.$ac_ext
   5744 cat >>conftest.$ac_ext <<_ACEOF
   5745 /* end confdefs.h.  */
   5746 
   5747 $ac_includes_default
   5748 #include <sys/socket.h>
   5749 
   5750 int
   5751 main ()
   5752 {
   5753 if (sizeof (socklen_t))
   5754        return 0;
   5755   ;
   5756   return 0;
   5757 }
   5758 _ACEOF
   5759 rm -f conftest.$ac_objext
   5760 if { (ac_try="$ac_compile"
   5761 case "(($ac_try" in
   5762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5763   *) ac_try_echo=$ac_try;;
   5764 esac
   5765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5766 $as_echo "$ac_try_echo") >&5
   5767   (eval "$ac_compile") 2>conftest.er1
   5768   ac_status=$?
   5769   grep -v '^ *+' conftest.er1 >conftest.err
   5770   rm -f conftest.er1
   5771   cat conftest.err >&5
   5772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5773   (exit $ac_status); } && {
   5774 	 test -z "$ac_c_werror_flag" ||
   5775 	 test ! -s conftest.err
   5776        } && test -s conftest.$ac_objext; then
   5777   cat >conftest.$ac_ext <<_ACEOF
   5778 /* confdefs.h.  */
   5779 _ACEOF
   5780 cat confdefs.h >>conftest.$ac_ext
   5781 cat >>conftest.$ac_ext <<_ACEOF
   5782 /* end confdefs.h.  */
   5783 
   5784 $ac_includes_default
   5785 #include <sys/socket.h>
   5786 
   5787 int
   5788 main ()
   5789 {
   5790 if (sizeof ((socklen_t)))
   5791 	  return 0;
   5792   ;
   5793   return 0;
   5794 }
   5795 _ACEOF
   5796 rm -f conftest.$ac_objext
   5797 if { (ac_try="$ac_compile"
   5798 case "(($ac_try" in
   5799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5800   *) ac_try_echo=$ac_try;;
   5801 esac
   5802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5803 $as_echo "$ac_try_echo") >&5
   5804   (eval "$ac_compile") 2>conftest.er1
   5805   ac_status=$?
   5806   grep -v '^ *+' conftest.er1 >conftest.err
   5807   rm -f conftest.er1
   5808   cat conftest.err >&5
   5809   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5810   (exit $ac_status); } && {
   5811 	 test -z "$ac_c_werror_flag" ||
   5812 	 test ! -s conftest.err
   5813        } && test -s conftest.$ac_objext; then
   5814   :
   5815 else
   5816   $as_echo "$as_me: failed program was:" >&5
   5817 sed 's/^/| /' conftest.$ac_ext >&5
   5818 
   5819 	ac_cv_type_socklen_t=yes
   5820 fi
   5821 
   5822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5823 else
   5824   $as_echo "$as_me: failed program was:" >&5
   5825 sed 's/^/| /' conftest.$ac_ext >&5
   5826 
   5827 
   5828 fi
   5829 
   5830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5831 fi
   5832 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   5833 $as_echo "$ac_cv_type_socklen_t" >&6; }
   5834 if test "x$ac_cv_type_socklen_t" = x""yes; then
   5835 
   5836 cat >>confdefs.h <<_ACEOF
   5837 #define HAVE_SOCKLEN_T 1
   5838 _ACEOF
   5839 
   5840 
   5841 fi
   5842 
   5843 
   5844 
   5845  fi
   5846  case $host_os in
   5847 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   5848 	*)			localdef="no"  ;;
   5849  esac
   5850  # Check whether --enable-local-transport was given.
   5851 if test "${enable_local_transport+set}" = set; then
   5852   enableval=$enable_local_transport; LOCALCONN=$enableval
   5853 else
   5854   LOCALCONN=$localdef
   5855 fi
   5856 
   5857  { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   5858 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   5859  { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   5860 $as_echo "$LOCALCONN" >&6; }
   5861  if test "$LOCALCONN" = "yes"; then
   5862 
   5863 cat >>confdefs.h <<\_ACEOF
   5864 #define LOCALCONN 1
   5865 _ACEOF
   5866 
   5867  fi
   5868 
   5869 
   5870 
   5871 # Secure RPC detection macro from xtrans.m4
   5872 
   5873  # Check whether --enable-secure-rpc was given.
   5874 if test "${enable_secure_rpc+set}" = set; then
   5875   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   5876 else
   5877   SECURE_RPC="try"
   5878 fi
   5879 
   5880 
   5881  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   5882 	FOUND_SECURE_RPC="no"
   5883 
   5884 
   5885 for ac_func in authdes_seccreate authdes_create
   5886 do
   5887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5888 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   5889 $as_echo_n "checking for $ac_func... " >&6; }
   5890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   5891   $as_echo_n "(cached) " >&6
   5892 else
   5893   cat >conftest.$ac_ext <<_ACEOF
   5894 /* confdefs.h.  */
   5895 _ACEOF
   5896 cat confdefs.h >>conftest.$ac_ext
   5897 cat >>conftest.$ac_ext <<_ACEOF
   5898 /* end confdefs.h.  */
   5899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5901 #define $ac_func innocuous_$ac_func
   5902 
   5903 /* System header to define __stub macros and hopefully few prototypes,
   5904     which can conflict with char $ac_func (); below.
   5905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5906     <limits.h> exists even on freestanding compilers.  */
   5907 
   5908 #ifdef __STDC__
   5909 # include <limits.h>
   5910 #else
   5911 # include <assert.h>
   5912 #endif
   5913 
   5914 #undef $ac_func
   5915 
   5916 /* Override any GCC internal prototype to avoid an error.
   5917    Use char because int might match the return type of a GCC
   5918    builtin and then its argument prototype would still apply.  */
   5919 #ifdef __cplusplus
   5920 extern "C"
   5921 #endif
   5922 char $ac_func ();
   5923 /* The GNU C library defines this for functions which it implements
   5924     to always fail with ENOSYS.  Some functions are actually named
   5925     something starting with __ and the normal name is an alias.  */
   5926 #if defined __stub_$ac_func || defined __stub___$ac_func
   5927 choke me
   5928 #endif
   5929 
   5930 int
   5931 main ()
   5932 {
   5933 return $ac_func ();
   5934   ;
   5935   return 0;
   5936 }
   5937 _ACEOF
   5938 rm -f conftest.$ac_objext conftest$ac_exeext
   5939 if { (ac_try="$ac_link"
   5940 case "(($ac_try" in
   5941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5942   *) ac_try_echo=$ac_try;;
   5943 esac
   5944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5945 $as_echo "$ac_try_echo") >&5
   5946   (eval "$ac_link") 2>conftest.er1
   5947   ac_status=$?
   5948   grep -v '^ *+' conftest.er1 >conftest.err
   5949   rm -f conftest.er1
   5950   cat conftest.err >&5
   5951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5952   (exit $ac_status); } && {
   5953 	 test -z "$ac_c_werror_flag" ||
   5954 	 test ! -s conftest.err
   5955        } && test -s conftest$ac_exeext && {
   5956 	 test "$cross_compiling" = yes ||
   5957 	 $as_test_x conftest$ac_exeext
   5958        }; then
   5959   eval "$as_ac_var=yes"
   5960 else
   5961   $as_echo "$as_me: failed program was:" >&5
   5962 sed 's/^/| /' conftest.$ac_ext >&5
   5963 
   5964 	eval "$as_ac_var=no"
   5965 fi
   5966 
   5967 rm -rf conftest.dSYM
   5968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5969       conftest$ac_exeext conftest.$ac_ext
   5970 fi
   5971 ac_res=`eval 'as_val=${'$as_ac_var'}
   5972 		 $as_echo "$as_val"'`
   5973 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5974 $as_echo "$ac_res" >&6; }
   5975 as_val=`eval 'as_val=${'$as_ac_var'}
   5976 		 $as_echo "$as_val"'`
   5977    if test "x$as_val" = x""yes; then
   5978   cat >>confdefs.h <<_ACEOF
   5979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5980 _ACEOF
   5981  FOUND_SECURE_RPC="yes"
   5982 fi
   5983 done
   5984 
   5985 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   5986 		if test "x$SECURE_RPC" = "xyes" ; then
   5987 	{ { $as_echo "$as_me:$LINENO: error: Secure RPC requested, but required functions not found" >&5
   5988 $as_echo "$as_me: error: Secure RPC requested, but required functions not found" >&2;}
   5989    { (exit 1); exit 1; }; }
   5990 		fi
   5991 		SECURE_RPC="no"
   5992 	else
   5993 				{ $as_echo "$as_me:$LINENO: checking for library containing getsecretkey" >&5
   5994 $as_echo_n "checking for library containing getsecretkey... " >&6; }
   5995 if test "${ac_cv_search_getsecretkey+set}" = set; then
   5996   $as_echo_n "(cached) " >&6
   5997 else
   5998   ac_func_search_save_LIBS=$LIBS
   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 
   6006 /* Override any GCC internal prototype to avoid an error.
   6007    Use char because int might match the return type of a GCC
   6008    builtin and then its argument prototype would still apply.  */
   6009 #ifdef __cplusplus
   6010 extern "C"
   6011 #endif
   6012 char getsecretkey ();
   6013 int
   6014 main ()
   6015 {
   6016 return getsecretkey ();
   6017   ;
   6018   return 0;
   6019 }
   6020 _ACEOF
   6021 for ac_lib in '' rpcsvc; do
   6022   if test -z "$ac_lib"; then
   6023     ac_res="none required"
   6024   else
   6025     ac_res=-l$ac_lib
   6026     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6027   fi
   6028   rm -f conftest.$ac_objext conftest$ac_exeext
   6029 if { (ac_try="$ac_link"
   6030 case "(($ac_try" in
   6031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6032   *) ac_try_echo=$ac_try;;
   6033 esac
   6034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6035 $as_echo "$ac_try_echo") >&5
   6036   (eval "$ac_link") 2>conftest.er1
   6037   ac_status=$?
   6038   grep -v '^ *+' conftest.er1 >conftest.err
   6039   rm -f conftest.er1
   6040   cat conftest.err >&5
   6041   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6042   (exit $ac_status); } && {
   6043 	 test -z "$ac_c_werror_flag" ||
   6044 	 test ! -s conftest.err
   6045        } && test -s conftest$ac_exeext && {
   6046 	 test "$cross_compiling" = yes ||
   6047 	 $as_test_x conftest$ac_exeext
   6048        }; then
   6049   ac_cv_search_getsecretkey=$ac_res
   6050 else
   6051   $as_echo "$as_me: failed program was:" >&5
   6052 sed 's/^/| /' conftest.$ac_ext >&5
   6053 
   6054 
   6055 fi
   6056 
   6057 rm -rf conftest.dSYM
   6058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6059       conftest$ac_exeext
   6060   if test "${ac_cv_search_getsecretkey+set}" = set; then
   6061   break
   6062 fi
   6063 done
   6064 if test "${ac_cv_search_getsecretkey+set}" = set; then
   6065   :
   6066 else
   6067   ac_cv_search_getsecretkey=no
   6068 fi
   6069 rm conftest.$ac_ext
   6070 LIBS=$ac_func_search_save_LIBS
   6071 fi
   6072 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getsecretkey" >&5
   6073 $as_echo "$ac_cv_search_getsecretkey" >&6; }
   6074 ac_res=$ac_cv_search_getsecretkey
   6075 if test "$ac_res" != no; then
   6076   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6077 
   6078 fi
   6079 
   6080 		SECURE_RPC="yes"
   6081 	fi
   6082  fi
   6083  { $as_echo "$as_me:$LINENO: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   6084 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   6085  if test "x$SECURE_RPC" = "xyes" ; then
   6086 
   6087 cat >>confdefs.h <<\_ACEOF
   6088 #define SECURE_RPC 1
   6089 _ACEOF
   6090 
   6091  fi
   6092  { $as_echo "$as_me:$LINENO: result: $SECURE_RPC" >&5
   6093 $as_echo "$SECURE_RPC" >&6; }
   6094 
   6095 
   6096 ac_config_files="$ac_config_files Makefile"
   6097 
   6098 cat >confcache <<\_ACEOF
   6099 # This file is a shell script that caches the results of configure
   6100 # tests run on this system so they can be shared between configure
   6101 # scripts and configure runs, see configure's option --config-cache.
   6102 # It is not useful on other systems.  If it contains results you don't
   6103 # want to keep, you may remove or edit it.
   6104 #
   6105 # config.status only pays attention to the cache file if you give it
   6106 # the --recheck option to rerun configure.
   6107 #
   6108 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   6109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6110 # following values.
   6111 
   6112 _ACEOF
   6113 
   6114 # The following way of writing the cache mishandles newlines in values,
   6115 # but we know of no workaround that is simple, portable, and efficient.
   6116 # So, we kill variables containing newlines.
   6117 # Ultrix sh set writes to stderr and can't be redirected directly,
   6118 # and sets the high bit in the cache file unless we assign to the vars.
   6119 (
   6120   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   6121     eval ac_val=\$$ac_var
   6122     case $ac_val in #(
   6123     *${as_nl}*)
   6124       case $ac_var in #(
   6125       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   6126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   6127       esac
   6128       case $ac_var in #(
   6129       _ | IFS | as_nl) ;; #(
   6130       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   6131       *) $as_unset $ac_var ;;
   6132       esac ;;
   6133     esac
   6134   done
   6135 
   6136   (set) 2>&1 |
   6137     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   6138     *${as_nl}ac_space=\ *)
   6139       # `set' does not quote correctly, so add quotes (double-quote
   6140       # substitution turns \\\\ into \\, and sed turns \\ into \).
   6141       sed -n \
   6142 	"s/'/'\\\\''/g;
   6143 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6144       ;; #(
   6145     *)
   6146       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6147       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   6148       ;;
   6149     esac |
   6150     sort
   6151 ) |
   6152   sed '
   6153      /^ac_cv_env_/b end
   6154      t clear
   6155      :clear
   6156      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6157      t end
   6158      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6159      :end' >>confcache
   6160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   6161   if test -w "$cache_file"; then
   6162     test "x$cache_file" != "x/dev/null" &&
   6163       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   6164 $as_echo "$as_me: updating cache $cache_file" >&6;}
   6165     cat confcache >$cache_file
   6166   else
   6167     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   6168 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   6169   fi
   6170 fi
   6171 rm -f confcache
   6172 
   6173 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   6174 # Let make expand exec_prefix.
   6175 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   6176 
   6177 DEFS=-DHAVE_CONFIG_H
   6178 
   6179 ac_libobjs=
   6180 ac_ltlibobjs=
   6181 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   6182   # 1. Remove the extension, and $U if already installed.
   6183   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   6184   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   6185   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   6186   #    will be set to the directory where LIBOBJS objects are built.
   6187   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   6188   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   6189 done
   6190 LIBOBJS=$ac_libobjs
   6191 
   6192 LTLIBOBJS=$ac_ltlibobjs
   6193 
   6194 
   6195  if test -n "$EXEEXT"; then
   6196   am__EXEEXT_TRUE=
   6197   am__EXEEXT_FALSE='#'
   6198 else
   6199   am__EXEEXT_TRUE='#'
   6200   am__EXEEXT_FALSE=
   6201 fi
   6202 
   6203 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   6204   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   6205 Usually this means the macro was only invoked conditionally." >&5
   6206 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   6207 Usually this means the macro was only invoked conditionally." >&2;}
   6208    { (exit 1); exit 1; }; }
   6209 fi
   6210 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   6211   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   6212 Usually this means the macro was only invoked conditionally." >&5
   6213 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   6214 Usually this means the macro was only invoked conditionally." >&2;}
   6215    { (exit 1); exit 1; }; }
   6216 fi
   6217 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   6218   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   6219 Usually this means the macro was only invoked conditionally." >&5
   6220 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   6221 Usually this means the macro was only invoked conditionally." >&2;}
   6222    { (exit 1); exit 1; }; }
   6223 fi
   6224 
   6225 : ${CONFIG_STATUS=./config.status}
   6226 ac_write_fail=0
   6227 ac_clean_files_save=$ac_clean_files
   6228 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   6229 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   6230 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   6231 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6232 #! $SHELL
   6233 # Generated by $as_me.
   6234 # Run this file to recreate the current configuration.
   6235 # Compiler output produced by configure, useful for debugging
   6236 # configure, is in config.log if it exists.
   6237 
   6238 debug=false
   6239 ac_cs_recheck=false
   6240 ac_cs_silent=false
   6241 SHELL=\${CONFIG_SHELL-$SHELL}
   6242 _ACEOF
   6243 
   6244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6245 ## --------------------- ##
   6246 ## M4sh Initialization.  ##
   6247 ## --------------------- ##
   6248 
   6249 # Be more Bourne compatible
   6250 DUALCASE=1; export DUALCASE # for MKS sh
   6251 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   6252   emulate sh
   6253   NULLCMD=:
   6254   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   6255   # is contrary to our usage.  Disable this feature.
   6256   alias -g '${1+"$@"}'='"$@"'
   6257   setopt NO_GLOB_SUBST
   6258 else
   6259   case `(set -o) 2>/dev/null` in
   6260   *posix*) set -o posix ;;
   6261 esac
   6262 
   6263 fi
   6264 
   6265 
   6266 
   6267 
   6268 # PATH needs CR
   6269 # Avoid depending upon Character Ranges.
   6270 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   6271 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   6272 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   6273 as_cr_digits='0123456789'
   6274 as_cr_alnum=$as_cr_Letters$as_cr_digits
   6275 
   6276 as_nl='
   6277 '
   6278 export as_nl
   6279 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   6280 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6281 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   6282 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   6283 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   6284   as_echo='printf %s\n'
   6285   as_echo_n='printf %s'
   6286 else
   6287   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   6288     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   6289     as_echo_n='/usr/ucb/echo -n'
   6290   else
   6291     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   6292     as_echo_n_body='eval
   6293       arg=$1;
   6294       case $arg in
   6295       *"$as_nl"*)
   6296 	expr "X$arg" : "X\\(.*\\)$as_nl";
   6297 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   6298       esac;
   6299       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   6300     '
   6301     export as_echo_n_body
   6302     as_echo_n='sh -c $as_echo_n_body as_echo'
   6303   fi
   6304   export as_echo_body
   6305   as_echo='sh -c $as_echo_body as_echo'
   6306 fi
   6307 
   6308 # The user is always right.
   6309 if test "${PATH_SEPARATOR+set}" != set; then
   6310   PATH_SEPARATOR=:
   6311   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   6312     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   6313       PATH_SEPARATOR=';'
   6314   }
   6315 fi
   6316 
   6317 # Support unset when possible.
   6318 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6319   as_unset=unset
   6320 else
   6321   as_unset=false
   6322 fi
   6323 
   6324 
   6325 # IFS
   6326 # We need space, tab and new line, in precisely that order.  Quoting is
   6327 # there to prevent editors from complaining about space-tab.
   6328 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   6329 # splitting by setting IFS to empty value.)
   6330 IFS=" ""	$as_nl"
   6331 
   6332 # Find who we are.  Look in the path if we contain no directory separator.
   6333 case $0 in
   6334   *[\\/]* ) as_myself=$0 ;;
   6335   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6336 for as_dir in $PATH
   6337 do
   6338   IFS=$as_save_IFS
   6339   test -z "$as_dir" && as_dir=.
   6340   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   6341 done
   6342 IFS=$as_save_IFS
   6343 
   6344      ;;
   6345 esac
   6346 # We did not find ourselves, most probably we were run as `sh COMMAND'
   6347 # in which case we are not to be found in the path.
   6348 if test "x$as_myself" = x; then
   6349   as_myself=$0
   6350 fi
   6351 if test ! -f "$as_myself"; then
   6352   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   6353   { (exit 1); exit 1; }
   6354 fi
   6355 
   6356 # Work around bugs in pre-3.0 UWIN ksh.
   6357 for as_var in ENV MAIL MAILPATH
   6358 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   6359 done
   6360 PS1='$ '
   6361 PS2='> '
   6362 PS4='+ '
   6363 
   6364 # NLS nuisances.
   6365 LC_ALL=C
   6366 export LC_ALL
   6367 LANGUAGE=C
   6368 export LANGUAGE
   6369 
   6370 # Required to use basename.
   6371 if expr a : '\(a\)' >/dev/null 2>&1 &&
   6372    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   6373   as_expr=expr
   6374 else
   6375   as_expr=false
   6376 fi
   6377 
   6378 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   6379   as_basename=basename
   6380 else
   6381   as_basename=false
   6382 fi
   6383 
   6384 
   6385 # Name of the executable.
   6386 as_me=`$as_basename -- "$0" ||
   6387 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   6388 	 X"$0" : 'X\(//\)$' \| \
   6389 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   6390 $as_echo X/"$0" |
   6391     sed '/^.*\/\([^/][^/]*\)\/*$/{
   6392 	    s//\1/
   6393 	    q
   6394 	  }
   6395 	  /^X\/\(\/\/\)$/{
   6396 	    s//\1/
   6397 	    q
   6398 	  }
   6399 	  /^X\/\(\/\).*/{
   6400 	    s//\1/
   6401 	    q
   6402 	  }
   6403 	  s/.*/./; q'`
   6404 
   6405 # CDPATH.
   6406 $as_unset CDPATH
   6407 
   6408 
   6409 
   6410   as_lineno_1=$LINENO
   6411   as_lineno_2=$LINENO
   6412   test "x$as_lineno_1" != "x$as_lineno_2" &&
   6413   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   6414 
   6415   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   6416   # uniformly replaced by the line number.  The first 'sed' inserts a
   6417   # line-number line after each line using $LINENO; the second 'sed'
   6418   # does the real work.  The second script uses 'N' to pair each
   6419   # line-number line with the line containing $LINENO, and appends
   6420   # trailing '-' during substitution so that $LINENO is not a special
   6421   # case at line end.
   6422   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   6423   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   6424   # E. McMahon (1931-1989) for sed's syntax.  :-)
   6425   sed -n '
   6426     p
   6427     /[$]LINENO/=
   6428   ' <$as_myself |
   6429     sed '
   6430       s/[$]LINENO.*/&-/
   6431       t lineno
   6432       b
   6433       :lineno
   6434       N
   6435       :loop
   6436       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   6437       t loop
   6438       s/-\n.*//
   6439     ' >$as_me.lineno &&
   6440   chmod +x "$as_me.lineno" ||
   6441     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   6442    { (exit 1); exit 1; }; }
   6443 
   6444   # Don't try to exec as it changes $[0], causing all sort of problems
   6445   # (the dirname of $[0] is not the place where we might find the
   6446   # original and so on.  Autoconf is especially sensitive to this).
   6447   . "./$as_me.lineno"
   6448   # Exit status is that of the last command.
   6449   exit
   6450 }
   6451 
   6452 
   6453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   6454   as_dirname=dirname
   6455 else
   6456   as_dirname=false
   6457 fi
   6458 
   6459 ECHO_C= ECHO_N= ECHO_T=
   6460 case `echo -n x` in
   6461 -n*)
   6462   case `echo 'x\c'` in
   6463   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   6464   *)   ECHO_C='\c';;
   6465   esac;;
   6466 *)
   6467   ECHO_N='-n';;
   6468 esac
   6469 if expr a : '\(a\)' >/dev/null 2>&1 &&
   6470    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   6471   as_expr=expr
   6472 else
   6473   as_expr=false
   6474 fi
   6475 
   6476 rm -f conf$$ conf$$.exe conf$$.file
   6477 if test -d conf$$.dir; then
   6478   rm -f conf$$.dir/conf$$.file
   6479 else
   6480   rm -f conf$$.dir
   6481   mkdir conf$$.dir 2>/dev/null
   6482 fi
   6483 if (echo >conf$$.file) 2>/dev/null; then
   6484   if ln -s conf$$.file conf$$ 2>/dev/null; then
   6485     as_ln_s='ln -s'
   6486     # ... but there are two gotchas:
   6487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   6488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   6489     # In both cases, we have to default to `cp -p'.
   6490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   6491       as_ln_s='cp -p'
   6492   elif ln conf$$.file conf$$ 2>/dev/null; then
   6493     as_ln_s=ln
   6494   else
   6495     as_ln_s='cp -p'
   6496   fi
   6497 else
   6498   as_ln_s='cp -p'
   6499 fi
   6500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   6501 rmdir conf$$.dir 2>/dev/null
   6502 
   6503 if mkdir -p . 2>/dev/null; then
   6504   as_mkdir_p=:
   6505 else
   6506   test -d ./-p && rmdir ./-p
   6507   as_mkdir_p=false
   6508 fi
   6509 
   6510 if test -x / >/dev/null 2>&1; then
   6511   as_test_x='test -x'
   6512 else
   6513   if ls -dL / >/dev/null 2>&1; then
   6514     as_ls_L_option=L
   6515   else
   6516     as_ls_L_option=
   6517   fi
   6518   as_test_x='
   6519     eval sh -c '\''
   6520       if test -d "$1"; then
   6521 	test -d "$1/.";
   6522       else
   6523 	case $1 in
   6524 	-*)set "./$1";;
   6525 	esac;
   6526 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   6527 	???[sx]*):;;*)false;;esac;fi
   6528     '\'' sh
   6529   '
   6530 fi
   6531 as_executable_p=$as_test_x
   6532 
   6533 # Sed expression to map a string onto a valid CPP name.
   6534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   6535 
   6536 # Sed expression to map a string onto a valid variable name.
   6537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   6538 
   6539 
   6540 exec 6>&1
   6541 
   6542 # Save the log message, to keep $[0] and so on meaningful, and to
   6543 # report actual input values of CONFIG_FILES etc. instead of their
   6544 # values after options handling.
   6545 ac_log="
   6546 This file was extended by xhost $as_me 1.0.3, which was
   6547 generated by GNU Autoconf 2.63.  Invocation command line was
   6548 
   6549   CONFIG_FILES    = $CONFIG_FILES
   6550   CONFIG_HEADERS  = $CONFIG_HEADERS
   6551   CONFIG_LINKS    = $CONFIG_LINKS
   6552   CONFIG_COMMANDS = $CONFIG_COMMANDS
   6553   $ $0 $@
   6554 
   6555 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   6556 "
   6557 
   6558 _ACEOF
   6559 
   6560 case $ac_config_files in *"
   6561 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   6562 esac
   6563 
   6564 case $ac_config_headers in *"
   6565 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   6566 esac
   6567 
   6568 
   6569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6570 # Files that config.status was made for.
   6571 config_files="$ac_config_files"
   6572 config_headers="$ac_config_headers"
   6573 config_commands="$ac_config_commands"
   6574 
   6575 _ACEOF
   6576 
   6577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6578 ac_cs_usage="\
   6579 \`$as_me' instantiates files from templates according to the
   6580 current configuration.
   6581 
   6582 Usage: $0 [OPTION]... [FILE]...
   6583 
   6584   -h, --help       print this help, then exit
   6585   -V, --version    print version number and configuration settings, then exit
   6586   -q, --quiet, --silent
   6587                    do not print progress messages
   6588   -d, --debug      don't remove temporary files
   6589       --recheck    update $as_me by reconfiguring in the same conditions
   6590       --file=FILE[:TEMPLATE]
   6591                    instantiate the configuration file FILE
   6592       --header=FILE[:TEMPLATE]
   6593                    instantiate the configuration header FILE
   6594 
   6595 Configuration files:
   6596 $config_files
   6597 
   6598 Configuration headers:
   6599 $config_headers
   6600 
   6601 Configuration commands:
   6602 $config_commands
   6603 
   6604 Report bugs to <bug-autoconf (at] gnu.org>."
   6605 
   6606 _ACEOF
   6607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6608 ac_cs_version="\\
   6609 xhost config.status 1.0.3
   6610 configured by $0, generated by GNU Autoconf 2.63,
   6611   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   6612 
   6613 Copyright (C) 2008 Free Software Foundation, Inc.
   6614 This config.status script is free software; the Free Software Foundation
   6615 gives unlimited permission to copy, distribute and modify it."
   6616 
   6617 ac_pwd='$ac_pwd'
   6618 srcdir='$srcdir'
   6619 INSTALL='$INSTALL'
   6620 MKDIR_P='$MKDIR_P'
   6621 AWK='$AWK'
   6622 test -n "\$AWK" || AWK=awk
   6623 _ACEOF
   6624 
   6625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6626 # The default lists apply if the user does not specify any file.
   6627 ac_need_defaults=:
   6628 while test $# != 0
   6629 do
   6630   case $1 in
   6631   --*=*)
   6632     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   6633     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   6634     ac_shift=:
   6635     ;;
   6636   *)
   6637     ac_option=$1
   6638     ac_optarg=$2
   6639     ac_shift=shift
   6640     ;;
   6641   esac
   6642 
   6643   case $ac_option in
   6644   # Handling of the options.
   6645   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   6646     ac_cs_recheck=: ;;
   6647   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   6648     $as_echo "$ac_cs_version"; exit ;;
   6649   --debug | --debu | --deb | --de | --d | -d )
   6650     debug=: ;;
   6651   --file | --fil | --fi | --f )
   6652     $ac_shift
   6653     case $ac_optarg in
   6654     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   6655     esac
   6656     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   6657     ac_need_defaults=false;;
   6658   --header | --heade | --head | --hea )
   6659     $ac_shift
   6660     case $ac_optarg in
   6661     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   6662     esac
   6663     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   6664     ac_need_defaults=false;;
   6665   --he | --h)
   6666     # Conflict between --help and --header
   6667     { $as_echo "$as_me: error: ambiguous option: $1
   6668 Try \`$0 --help' for more information." >&2
   6669    { (exit 1); exit 1; }; };;
   6670   --help | --hel | -h )
   6671     $as_echo "$ac_cs_usage"; exit ;;
   6672   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   6673   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   6674     ac_cs_silent=: ;;
   6675 
   6676   # This is an error.
   6677   -*) { $as_echo "$as_me: error: unrecognized option: $1
   6678 Try \`$0 --help' for more information." >&2
   6679    { (exit 1); exit 1; }; } ;;
   6680 
   6681   *) ac_config_targets="$ac_config_targets $1"
   6682      ac_need_defaults=false ;;
   6683 
   6684   esac
   6685   shift
   6686 done
   6687 
   6688 ac_configure_extra_args=
   6689 
   6690 if $ac_cs_silent; then
   6691   exec 6>/dev/null
   6692   ac_configure_extra_args="$ac_configure_extra_args --silent"
   6693 fi
   6694 
   6695 _ACEOF
   6696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6697 if \$ac_cs_recheck; then
   6698   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   6699   shift
   6700   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   6701   CONFIG_SHELL='$SHELL'
   6702   export CONFIG_SHELL
   6703   exec "\$@"
   6704 fi
   6705 
   6706 _ACEOF
   6707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6708 exec 5>>config.log
   6709 {
   6710   echo
   6711   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   6712 ## Running $as_me. ##
   6713 _ASBOX
   6714   $as_echo "$ac_log"
   6715 } >&5
   6716 
   6717 _ACEOF
   6718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6719 #
   6720 # INIT-COMMANDS
   6721 #
   6722 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   6723 
   6724 _ACEOF
   6725 
   6726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6727 
   6728 # Handling of arguments.
   6729 for ac_config_target in $ac_config_targets
   6730 do
   6731   case $ac_config_target in
   6732     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   6733     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   6734     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   6735 
   6736   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   6737 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   6738    { (exit 1); exit 1; }; };;
   6739   esac
   6740 done
   6741 
   6742 
   6743 # If the user did not use the arguments to specify the items to instantiate,
   6744 # then the envvar interface is used.  Set only those that are not.
   6745 # We use the long form for the default assignment because of an extremely
   6746 # bizarre bug on SunOS 4.1.3.
   6747 if $ac_need_defaults; then
   6748   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   6749   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   6750   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   6751 fi
   6752 
   6753 # Have a temporary directory for convenience.  Make it in the build tree
   6754 # simply because there is no reason against having it here, and in addition,
   6755 # creating and moving files from /tmp can sometimes cause problems.
   6756 # Hook for its removal unless debugging.
   6757 # Note that there is a small window in which the directory will not be cleaned:
   6758 # after its creation but before its name has been assigned to `$tmp'.
   6759 $debug ||
   6760 {
   6761   tmp=
   6762   trap 'exit_status=$?
   6763   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   6764 ' 0
   6765   trap '{ (exit 1); exit 1; }' 1 2 13 15
   6766 }
   6767 # Create a (secure) tmp directory for tmp files.
   6768 
   6769 {
   6770   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   6771   test -n "$tmp" && test -d "$tmp"
   6772 }  ||
   6773 {
   6774   tmp=./conf$$-$RANDOM
   6775   (umask 077 && mkdir "$tmp")
   6776 } ||
   6777 {
   6778    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   6779    { (exit 1); exit 1; }
   6780 }
   6781 
   6782 # Set up the scripts for CONFIG_FILES section.
   6783 # No need to generate them if there are no CONFIG_FILES.
   6784 # This happens for instance with `./config.status config.h'.
   6785 if test -n "$CONFIG_FILES"; then
   6786 
   6787 
   6788 ac_cr='
'
   6790 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   6791 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   6792   ac_cs_awk_cr='\\r'
   6793 else
   6794   ac_cs_awk_cr=$ac_cr
   6795 fi
   6796 
   6797 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   6798 _ACEOF
   6799 
   6800 
   6801 {
   6802   echo "cat >conf$$subs.awk <<_ACEOF" &&
   6803   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   6804   echo "_ACEOF"
   6805 } >conf$$subs.sh ||
   6806   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   6807 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   6808    { (exit 1); exit 1; }; }
   6809 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   6810 ac_delim='%!_!# '
   6811 for ac_last_try in false false false false false :; do
   6812   . ./conf$$subs.sh ||
   6813     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   6814 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   6815    { (exit 1); exit 1; }; }
   6816 
   6817   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   6818   if test $ac_delim_n = $ac_delim_num; then
   6819     break
   6820   elif $ac_last_try; then
   6821     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   6822 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   6823    { (exit 1); exit 1; }; }
   6824   else
   6825     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6826   fi
   6827 done
   6828 rm -f conf$$subs.sh
   6829 
   6830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6831 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   6832 _ACEOF
   6833 sed -n '
   6834 h
   6835 s/^/S["/; s/!.*/"]=/
   6836 p
   6837 g
   6838 s/^[^!]*!//
   6839 :repl
   6840 t repl
   6841 s/'"$ac_delim"'$//
   6842 t delim
   6843 :nl
   6844 h
   6845 s/\(.\{148\}\).*/\1/
   6846 t more1
   6847 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   6848 p
   6849 n
   6850 b repl
   6851 :more1
   6852 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   6853 p
   6854 g
   6855 s/.\{148\}//
   6856 t nl
   6857 :delim
   6858 h
   6859 s/\(.\{148\}\).*/\1/
   6860 t more2
   6861 s/["\\]/\\&/g; s/^/"/; s/$/"/
   6862 p
   6863 b
   6864 :more2
   6865 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   6866 p
   6867 g
   6868 s/.\{148\}//
   6869 t delim
   6870 ' <conf$$subs.awk | sed '
   6871 /^[^""]/{
   6872   N
   6873   s/\n//
   6874 }
   6875 ' >>$CONFIG_STATUS || ac_write_fail=1
   6876 rm -f conf$$subs.awk
   6877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6878 _ACAWK
   6879 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   6880   for (key in S) S_is_set[key] = 1
   6881   FS = ""
   6882 
   6883 }
   6884 {
   6885   line = $ 0
   6886   nfields = split(line, field, "@")
   6887   substed = 0
   6888   len = length(field[1])
   6889   for (i = 2; i < nfields; i++) {
   6890     key = field[i]
   6891     keylen = length(key)
   6892     if (S_is_set[key]) {
   6893       value = S[key]
   6894       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   6895       len += length(value) + length(field[++i])
   6896       substed = 1
   6897     } else
   6898       len += 1 + keylen
   6899   }
   6900 
   6901   print line
   6902 }
   6903 
   6904 _ACAWK
   6905 _ACEOF
   6906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6907 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   6908   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   6909 else
   6910   cat
   6911 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   6912   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   6913 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   6914    { (exit 1); exit 1; }; }
   6915 _ACEOF
   6916 
   6917 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   6918 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   6919 # trailing colons and then remove the whole line if VPATH becomes empty
   6920 # (actually we leave an empty line to preserve line numbers).
   6921 if test "x$srcdir" = x.; then
   6922   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   6923 s/:*\$(srcdir):*/:/
   6924 s/:*\${srcdir}:*/:/
   6925 s/:*@srcdir@:*/:/
   6926 s/^\([^=]*=[	 ]*\):*/\1/
   6927 s/:*$//
   6928 s/^[^=]*=[	 ]*$//
   6929 }'
   6930 fi
   6931 
   6932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6933 fi # test -n "$CONFIG_FILES"
   6934 
   6935 # Set up the scripts for CONFIG_HEADERS section.
   6936 # No need to generate them if there are no CONFIG_HEADERS.
   6937 # This happens for instance with `./config.status Makefile'.
   6938 if test -n "$CONFIG_HEADERS"; then
   6939 cat >"$tmp/defines.awk" <<\_ACAWK ||
   6940 BEGIN {
   6941 _ACEOF
   6942 
   6943 # Transform confdefs.h into an awk script `defines.awk', embedded as
   6944 # here-document in config.status, that substitutes the proper values into
   6945 # config.h.in to produce config.h.
   6946 
   6947 # Create a delimiter string that does not exist in confdefs.h, to ease
   6948 # handling of long lines.
   6949 ac_delim='%!_!# '
   6950 for ac_last_try in false false :; do
   6951   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   6952   if test -z "$ac_t"; then
   6953     break
   6954   elif $ac_last_try; then
   6955     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   6956 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   6957    { (exit 1); exit 1; }; }
   6958   else
   6959     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6960   fi
   6961 done
   6962 
   6963 # For the awk script, D is an array of macro values keyed by name,
   6964 # likewise P contains macro parameters if any.  Preserve backslash
   6965 # newline sequences.
   6966 
   6967 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   6968 sed -n '
   6969 s/.\{148\}/&'"$ac_delim"'/g
   6970 t rset
   6971 :rset
   6972 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   6973 t def
   6974 d
   6975 :def
   6976 s/\\$//
   6977 t bsnl
   6978 s/["\\]/\\&/g
   6979 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6980 D["\1"]=" \3"/p
   6981 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   6982 d
   6983 :bsnl
   6984 s/["\\]/\\&/g
   6985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6986 D["\1"]=" \3\\\\\\n"\\/p
   6987 t cont
   6988 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   6989 t cont
   6990 d
   6991 :cont
   6992 n
   6993 s/.\{148\}/&'"$ac_delim"'/g
   6994 t clear
   6995 :clear
   6996 s/\\$//
   6997 t bsnlc
   6998 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   6999 d
   7000 :bsnlc
   7001 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   7002 b cont
   7003 ' <confdefs.h | sed '
   7004 s/'"$ac_delim"'/"\\\
   7005 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   7006 
   7007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7008   for (key in D) D_is_set[key] = 1
   7009   FS = ""
   7010 }
   7011 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   7012   line = \$ 0
   7013   split(line, arg, " ")
   7014   if (arg[1] == "#") {
   7015     defundef = arg[2]
   7016     mac1 = arg[3]
   7017   } else {
   7018     defundef = substr(arg[1], 2)
   7019     mac1 = arg[2]
   7020   }
   7021   split(mac1, mac2, "(") #)
   7022   macro = mac2[1]
   7023   prefix = substr(line, 1, index(line, defundef) - 1)
   7024   if (D_is_set[macro]) {
   7025     # Preserve the white space surrounding the "#".
   7026     print prefix "define", macro P[macro] D[macro]
   7027     next
   7028   } else {
   7029     # Replace #undef with comments.  This is necessary, for example,
   7030     # in the case of _POSIX_SOURCE, which is predefined and required
   7031     # on some systems where configure will not decide to define it.
   7032     if (defundef == "undef") {
   7033       print "/*", prefix defundef, macro, "*/"
   7034       next
   7035     }
   7036   }
   7037 }
   7038 { print }
   7039 _ACAWK
   7040 _ACEOF
   7041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7042   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   7043 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   7044    { (exit 1); exit 1; }; }
   7045 fi # test -n "$CONFIG_HEADERS"
   7046 
   7047 
   7048 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   7049 shift
   7050 for ac_tag
   7051 do
   7052   case $ac_tag in
   7053   :[FHLC]) ac_mode=$ac_tag; continue;;
   7054   esac
   7055   case $ac_mode$ac_tag in
   7056   :[FHL]*:*);;
   7057   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   7058 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   7059    { (exit 1); exit 1; }; };;
   7060   :[FH]-) ac_tag=-:-;;
   7061   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   7062   esac
   7063   ac_save_IFS=$IFS
   7064   IFS=:
   7065   set x $ac_tag
   7066   IFS=$ac_save_IFS
   7067   shift
   7068   ac_file=$1
   7069   shift
   7070 
   7071   case $ac_mode in
   7072   :L) ac_source=$1;;
   7073   :[FH])
   7074     ac_file_inputs=
   7075     for ac_f
   7076     do
   7077       case $ac_f in
   7078       -) ac_f="$tmp/stdin";;
   7079       *) # Look for the file first in the build tree, then in the source tree
   7080 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   7081 	 # because $ac_f cannot contain `:'.
   7082 	 test -f "$ac_f" ||
   7083 	   case $ac_f in
   7084 	   [\\/$]*) false;;
   7085 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   7086 	   esac ||
   7087 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   7088 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   7089    { (exit 1); exit 1; }; };;
   7090       esac
   7091       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   7092       ac_file_inputs="$ac_file_inputs '$ac_f'"
   7093     done
   7094 
   7095     # Let's still pretend it is `configure' which instantiates (i.e., don't
   7096     # use $as_me), people would be surprised to read:
   7097     #    /* config.h.  Generated by config.status.  */
   7098     configure_input='Generated from '`
   7099 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   7100 	`' by configure.'
   7101     if test x"$ac_file" != x-; then
   7102       configure_input="$ac_file.  $configure_input"
   7103       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   7104 $as_echo "$as_me: creating $ac_file" >&6;}
   7105     fi
   7106     # Neutralize special characters interpreted by sed in replacement strings.
   7107     case $configure_input in #(
   7108     *\&* | *\|* | *\\* )
   7109        ac_sed_conf_input=`$as_echo "$configure_input" |
   7110        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   7111     *) ac_sed_conf_input=$configure_input;;
   7112     esac
   7113 
   7114     case $ac_tag in
   7115     *:-:* | *:-) cat >"$tmp/stdin" \
   7116       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7117 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7118    { (exit 1); exit 1; }; } ;;
   7119     esac
   7120     ;;
   7121   esac
   7122 
   7123   ac_dir=`$as_dirname -- "$ac_file" ||
   7124 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7125 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   7126 	 X"$ac_file" : 'X\(//\)$' \| \
   7127 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   7128 $as_echo X"$ac_file" |
   7129     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7130 	    s//\1/
   7131 	    q
   7132 	  }
   7133 	  /^X\(\/\/\)[^/].*/{
   7134 	    s//\1/
   7135 	    q
   7136 	  }
   7137 	  /^X\(\/\/\)$/{
   7138 	    s//\1/
   7139 	    q
   7140 	  }
   7141 	  /^X\(\/\).*/{
   7142 	    s//\1/
   7143 	    q
   7144 	  }
   7145 	  s/.*/./; q'`
   7146   { as_dir="$ac_dir"
   7147   case $as_dir in #(
   7148   -*) as_dir=./$as_dir;;
   7149   esac
   7150   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   7151     as_dirs=
   7152     while :; do
   7153       case $as_dir in #(
   7154       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   7155       *) as_qdir=$as_dir;;
   7156       esac
   7157       as_dirs="'$as_qdir' $as_dirs"
   7158       as_dir=`$as_dirname -- "$as_dir" ||
   7159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7160 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7161 	 X"$as_dir" : 'X\(//\)$' \| \
   7162 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   7163 $as_echo X"$as_dir" |
   7164     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7165 	    s//\1/
   7166 	    q
   7167 	  }
   7168 	  /^X\(\/\/\)[^/].*/{
   7169 	    s//\1/
   7170 	    q
   7171 	  }
   7172 	  /^X\(\/\/\)$/{
   7173 	    s//\1/
   7174 	    q
   7175 	  }
   7176 	  /^X\(\/\).*/{
   7177 	    s//\1/
   7178 	    q
   7179 	  }
   7180 	  s/.*/./; q'`
   7181       test -d "$as_dir" && break
   7182     done
   7183     test -z "$as_dirs" || eval "mkdir $as_dirs"
   7184   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   7185 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   7186    { (exit 1); exit 1; }; }; }
   7187   ac_builddir=.
   7188 
   7189 case "$ac_dir" in
   7190 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   7191 *)
   7192   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   7193   # A ".." for each directory in $ac_dir_suffix.
   7194   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   7195   case $ac_top_builddir_sub in
   7196   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   7197   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   7198   esac ;;
   7199 esac
   7200 ac_abs_top_builddir=$ac_pwd
   7201 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   7202 # for backward compatibility:
   7203 ac_top_builddir=$ac_top_build_prefix
   7204 
   7205 case $srcdir in
   7206   .)  # We are building in place.
   7207     ac_srcdir=.
   7208     ac_top_srcdir=$ac_top_builddir_sub
   7209     ac_abs_top_srcdir=$ac_pwd ;;
   7210   [\\/]* | ?:[\\/]* )  # Absolute name.
   7211     ac_srcdir=$srcdir$ac_dir_suffix;
   7212     ac_top_srcdir=$srcdir
   7213     ac_abs_top_srcdir=$srcdir ;;
   7214   *) # Relative name.
   7215     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   7216     ac_top_srcdir=$ac_top_build_prefix$srcdir
   7217     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   7218 esac
   7219 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   7220 
   7221 
   7222   case $ac_mode in
   7223   :F)
   7224   #
   7225   # CONFIG_FILE
   7226   #
   7227 
   7228   case $INSTALL in
   7229   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   7230   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   7231   esac
   7232   ac_MKDIR_P=$MKDIR_P
   7233   case $MKDIR_P in
   7234   [\\/$]* | ?:[\\/]* ) ;;
   7235   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   7236   esac
   7237 _ACEOF
   7238 
   7239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7240 # If the template does not know about datarootdir, expand it.
   7241 # FIXME: This hack should be removed a few years after 2.60.
   7242 ac_datarootdir_hack=; ac_datarootdir_seen=
   7243 
   7244 ac_sed_dataroot='
   7245 /datarootdir/ {
   7246   p
   7247   q
   7248 }
   7249 /@datadir@/p
   7250 /@docdir@/p
   7251 /@infodir@/p
   7252 /@localedir@/p
   7253 /@mandir@/p
   7254 '
   7255 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   7256 *datarootdir*) ac_datarootdir_seen=yes;;
   7257 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   7258   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   7259 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   7260 _ACEOF
   7261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7262   ac_datarootdir_hack='
   7263   s&@datadir@&$datadir&g
   7264   s&@docdir@&$docdir&g
   7265   s&@infodir@&$infodir&g
   7266   s&@localedir@&$localedir&g
   7267   s&@mandir@&$mandir&g
   7268     s&\\\${datarootdir}&$datarootdir&g' ;;
   7269 esac
   7270 _ACEOF
   7271 
   7272 # Neutralize VPATH when `$srcdir' = `.'.
   7273 # Shell code in configure.ac might set extrasub.
   7274 # FIXME: do we really want to maintain this feature?
   7275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7276 ac_sed_extra="$ac_vpsub
   7277 $extrasub
   7278 _ACEOF
   7279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7280 :t
   7281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7282 s|@configure_input@|$ac_sed_conf_input|;t t
   7283 s&@top_builddir@&$ac_top_builddir_sub&;t t
   7284 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   7285 s&@srcdir@&$ac_srcdir&;t t
   7286 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   7287 s&@top_srcdir@&$ac_top_srcdir&;t t
   7288 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   7289 s&@builddir@&$ac_builddir&;t t
   7290 s&@abs_builddir@&$ac_abs_builddir&;t t
   7291 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   7292 s&@INSTALL@&$ac_INSTALL&;t t
   7293 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   7294 $ac_datarootdir_hack
   7295 "
   7296 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   7297   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7298 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7299    { (exit 1); exit 1; }; }
   7300 
   7301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   7302   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   7303   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   7304   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   7305 which seems to be undefined.  Please make sure it is defined." >&5
   7306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   7307 which seems to be undefined.  Please make sure it is defined." >&2;}
   7308 
   7309   rm -f "$tmp/stdin"
   7310   case $ac_file in
   7311   -) cat "$tmp/out" && rm -f "$tmp/out";;
   7312   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   7313   esac \
   7314   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7315 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7316    { (exit 1); exit 1; }; }
   7317  ;;
   7318   :H)
   7319   #
   7320   # CONFIG_HEADER
   7321   #
   7322   if test x"$ac_file" != x-; then
   7323     {
   7324       $as_echo "/* $configure_input  */" \
   7325       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   7326     } >"$tmp/config.h" \
   7327       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7328 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7329    { (exit 1); exit 1; }; }
   7330     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   7331       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   7332 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   7333     else
   7334       rm -f "$ac_file"
   7335       mv "$tmp/config.h" "$ac_file" \
   7336 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   7337 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   7338    { (exit 1); exit 1; }; }
   7339     fi
   7340   else
   7341     $as_echo "/* $configure_input  */" \
   7342       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   7343       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   7344 $as_echo "$as_me: error: could not create -" >&2;}
   7345    { (exit 1); exit 1; }; }
   7346   fi
   7347 # Compute "$ac_file"'s index in $config_headers.
   7348 _am_arg="$ac_file"
   7349 _am_stamp_count=1
   7350 for _am_header in $config_headers :; do
   7351   case $_am_header in
   7352     $_am_arg | $_am_arg:* )
   7353       break ;;
   7354     * )
   7355       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   7356   esac
   7357 done
   7358 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   7359 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7360 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   7361 	 X"$_am_arg" : 'X\(//\)$' \| \
   7362 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   7363 $as_echo X"$_am_arg" |
   7364     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7365 	    s//\1/
   7366 	    q
   7367 	  }
   7368 	  /^X\(\/\/\)[^/].*/{
   7369 	    s//\1/
   7370 	    q
   7371 	  }
   7372 	  /^X\(\/\/\)$/{
   7373 	    s//\1/
   7374 	    q
   7375 	  }
   7376 	  /^X\(\/\).*/{
   7377 	    s//\1/
   7378 	    q
   7379 	  }
   7380 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   7381  ;;
   7382 
   7383   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   7384 $as_echo "$as_me: executing $ac_file commands" >&6;}
   7385  ;;
   7386   esac
   7387 
   7388 
   7389   case $ac_file$ac_mode in
   7390     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   7391   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   7392   # are listed without --file.  Let's play safe and only enable the eval
   7393   # if we detect the quoting.
   7394   case $CONFIG_FILES in
   7395   *\'*) eval set x "$CONFIG_FILES" ;;
   7396   *)   set x $CONFIG_FILES ;;
   7397   esac
   7398   shift
   7399   for mf
   7400   do
   7401     # Strip MF so we end up with the name of the file.
   7402     mf=`echo "$mf" | sed -e 's/:.*$//'`
   7403     # Check whether this is an Automake generated Makefile or not.
   7404     # We used to match only the files named `Makefile.in', but
   7405     # some people rename them; so instead we look at the file content.
   7406     # Grep'ing the first line is not enough: some people post-process
   7407     # each Makefile.in and add a new line on top of each file to say so.
   7408     # Grep'ing the whole file is not good either: AIX grep has a line
   7409     # limit of 2048, but all sed's we know have understand at least 4000.
   7410     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   7411       dirpart=`$as_dirname -- "$mf" ||
   7412 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7413 	 X"$mf" : 'X\(//\)[^/]' \| \
   7414 	 X"$mf" : 'X\(//\)$' \| \
   7415 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   7416 $as_echo X"$mf" |
   7417     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7418 	    s//\1/
   7419 	    q
   7420 	  }
   7421 	  /^X\(\/\/\)[^/].*/{
   7422 	    s//\1/
   7423 	    q
   7424 	  }
   7425 	  /^X\(\/\/\)$/{
   7426 	    s//\1/
   7427 	    q
   7428 	  }
   7429 	  /^X\(\/\).*/{
   7430 	    s//\1/
   7431 	    q
   7432 	  }
   7433 	  s/.*/./; q'`
   7434     else
   7435       continue
   7436     fi
   7437     # Extract the definition of DEPDIR, am__include, and am__quote
   7438     # from the Makefile without running `make'.
   7439     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   7440     test -z "$DEPDIR" && continue
   7441     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   7442     test -z "am__include" && continue
   7443     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   7444     # When using ansi2knr, U may be empty or an underscore; expand it
   7445     U=`sed -n 's/^U = //p' < "$mf"`
   7446     # Find all dependency output files, they are included files with
   7447     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   7448     # simplest approach to changing $(DEPDIR) to its actual value in the
   7449     # expansion.
   7450     for file in `sed -n "
   7451       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   7452 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   7453       # Make sure the directory exists.
   7454       test -f "$dirpart/$file" && continue
   7455       fdir=`$as_dirname -- "$file" ||
   7456 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7457 	 X"$file" : 'X\(//\)[^/]' \| \
   7458 	 X"$file" : 'X\(//\)$' \| \
   7459 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   7460 $as_echo X"$file" |
   7461     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7462 	    s//\1/
   7463 	    q
   7464 	  }
   7465 	  /^X\(\/\/\)[^/].*/{
   7466 	    s//\1/
   7467 	    q
   7468 	  }
   7469 	  /^X\(\/\/\)$/{
   7470 	    s//\1/
   7471 	    q
   7472 	  }
   7473 	  /^X\(\/\).*/{
   7474 	    s//\1/
   7475 	    q
   7476 	  }
   7477 	  s/.*/./; q'`
   7478       { as_dir=$dirpart/$fdir
   7479   case $as_dir in #(
   7480   -*) as_dir=./$as_dir;;
   7481   esac
   7482   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   7483     as_dirs=
   7484     while :; do
   7485       case $as_dir in #(
   7486       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   7487       *) as_qdir=$as_dir;;
   7488       esac
   7489       as_dirs="'$as_qdir' $as_dirs"
   7490       as_dir=`$as_dirname -- "$as_dir" ||
   7491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7492 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7493 	 X"$as_dir" : 'X\(//\)$' \| \
   7494 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   7495 $as_echo X"$as_dir" |
   7496     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7497 	    s//\1/
   7498 	    q
   7499 	  }
   7500 	  /^X\(\/\/\)[^/].*/{
   7501 	    s//\1/
   7502 	    q
   7503 	  }
   7504 	  /^X\(\/\/\)$/{
   7505 	    s//\1/
   7506 	    q
   7507 	  }
   7508 	  /^X\(\/\).*/{
   7509 	    s//\1/
   7510 	    q
   7511 	  }
   7512 	  s/.*/./; q'`
   7513       test -d "$as_dir" && break
   7514     done
   7515     test -z "$as_dirs" || eval "mkdir $as_dirs"
   7516   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   7517 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   7518    { (exit 1); exit 1; }; }; }
   7519       # echo "creating $dirpart/$file"
   7520       echo '# dummy' > "$dirpart/$file"
   7521     done
   7522   done
   7523 }
   7524  ;;
   7525 
   7526   esac
   7527 done # for ac_tag
   7528 
   7529 
   7530 { (exit 0); exit 0; }
   7531 _ACEOF
   7532 chmod +x $CONFIG_STATUS
   7533 ac_clean_files=$ac_clean_files_save
   7534 
   7535 test $ac_write_fail = 0 ||
   7536   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   7537 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   7538    { (exit 1); exit 1; }; }
   7539 
   7540 
   7541 # configure is writing to config.log, and then calls config.status.
   7542 # config.status does its own redirection, appending to config.log.
   7543 # Unfortunately, on DOS this fails, as config.log is still kept open
   7544 # by configure, so config.status won't be able to write to it; its
   7545 # output is simply discarded.  So we exec the FD to /dev/null,
   7546 # effectively closing config.log, so it can be properly (re)opened and
   7547 # appended to by config.status.  When coming back to configure, we
   7548 # need to make the FD available again.
   7549 if test "$no_create" != yes; then
   7550   ac_cs_success=:
   7551   ac_config_status_args=
   7552   test "$silent" = yes &&
   7553     ac_config_status_args="$ac_config_status_args --quiet"
   7554   exec 5>/dev/null
   7555   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   7556   exec 5>>config.log
   7557   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   7558   # would make configure fail if this is the last instruction.
   7559   $ac_cs_success || { (exit 1); exit 1; }
   7560 fi
   7561 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   7562   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   7563 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   7564 fi
   7565 
   7566