Home | History | Annotate | Download | only in make-3.81
      1 #! /bin/sh
      2 # From configure.in Id: configure.in,v 1.142 2006/04/01 06:36:40 psmith Exp .
      3 # Guess values for system-dependent variables and create Makefiles.
      4 # Generated by GNU Autoconf 2.65 for GNU make 3.81.
      5 #
      6 # Report bugs to <bug-make (at] gnu.org>.
      7 #
      8 #
      9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     11 # Inc.
     12 #
     13 #
     14 # This configure script is free software; the Free Software Foundation
     15 # gives unlimited permission to copy, distribute and modify it.
     16 ## -------------------- ##
     17 ## M4sh Initialization. ##
     18 ## -------------------- ##
     19 
     20 # Be more Bourne compatible
     21 DUALCASE=1; export DUALCASE # for MKS sh
     22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 as_nl='
     40 '
     41 export as_nl
     42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     46 # Prefer a ksh shell builtin over an external printf program on Solaris,
     47 # but without wasting forks for bash or zsh.
     48 if test -z "$BASH_VERSION$ZSH_VERSION" \
     49     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='print -r --'
     51   as_echo_n='print -rn --'
     52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     53   as_echo='printf %s\n'
     54   as_echo_n='printf %s'
     55 else
     56   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     57     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     58     as_echo_n='/usr/ucb/echo -n'
     59   else
     60     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     61     as_echo_n_body='eval
     62       arg=$1;
     63       case $arg in #(
     64       *"$as_nl"*)
     65 	expr "X$arg" : "X\\(.*\\)$as_nl";
     66 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     67       esac;
     68       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     69     '
     70     export as_echo_n_body
     71     as_echo_n='sh -c $as_echo_n_body as_echo'
     72   fi
     73   export as_echo_body
     74   as_echo='sh -c $as_echo_body as_echo'
     75 fi
     76 
     77 # The user is always right.
     78 if test "${PATH_SEPARATOR+set}" != set; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # IFS
     88 # We need space, tab and new line, in precisely that order.  Quoting is
     89 # there to prevent editors from complaining about space-tab.
     90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     91 # splitting by setting IFS to empty value.)
     92 IFS=" ""	$as_nl"
     93 
     94 # Find who we are.  Look in the path if we contain no directory separator.
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && 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 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	BASH_ENV=/dev/null
    221 	ENV=/dev/null
    222 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    223 	export CONFIG_SHELL
    224 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    225 fi
    226 
    227     if test x$as_have_required = xno; then :
    228   $as_echo "$0: This script requires a shell more modern than all"
    229   $as_echo "$0: the shells that I found on your system."
    230   if test x${ZSH_VERSION+set} = xset ; then
    231     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    232     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    233   else
    234     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and bug-make (at] gnu.org
    235 $0: about your system, including any error possibly output
    236 $0: before this message. Then install a modern shell, or
    237 $0: manually run the script under such a shell if you do
    238 $0: have one."
    239   fi
    240   exit 1
    241 fi
    242 fi
    243 fi
    244 SHELL=${CONFIG_SHELL-/bin/sh}
    245 export SHELL
    246 # Unset more variables known to interfere with behavior of common tools.
    247 CLICOLOR_FORCE= GREP_OPTIONS=
    248 unset CLICOLOR_FORCE GREP_OPTIONS
    249 
    250 ## --------------------- ##
    251 ## M4sh Shell Functions. ##
    252 ## --------------------- ##
    253 # as_fn_unset VAR
    254 # ---------------
    255 # Portably unset VAR.
    256 as_fn_unset ()
    257 {
    258   { eval $1=; unset $1;}
    259 }
    260 as_unset=as_fn_unset
    261 
    262 # as_fn_set_status STATUS
    263 # -----------------------
    264 # Set $? to STATUS, without forking.
    265 as_fn_set_status ()
    266 {
    267   return $1
    268 } # as_fn_set_status
    269 
    270 # as_fn_exit STATUS
    271 # -----------------
    272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    273 as_fn_exit ()
    274 {
    275   set +e
    276   as_fn_set_status $1
    277   exit $1
    278 } # as_fn_exit
    279 
    280 # as_fn_mkdir_p
    281 # -------------
    282 # Create "$as_dir" as a directory, including parents if necessary.
    283 as_fn_mkdir_p ()
    284 {
    285 
    286   case $as_dir in #(
    287   -*) as_dir=./$as_dir;;
    288   esac
    289   test -d "$as_dir" || eval $as_mkdir_p || {
    290     as_dirs=
    291     while :; do
    292       case $as_dir in #(
    293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    294       *) as_qdir=$as_dir;;
    295       esac
    296       as_dirs="'$as_qdir' $as_dirs"
    297       as_dir=`$as_dirname -- "$as_dir" ||
    298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    300 	 X"$as_dir" : 'X\(//\)$' \| \
    301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    302 $as_echo X"$as_dir" |
    303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)[^/].*/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\/\)$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\).*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  s/.*/./; q'`
    320       test -d "$as_dir" && break
    321     done
    322     test -z "$as_dirs" || eval "mkdir $as_dirs"
    323   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    324 
    325 
    326 } # as_fn_mkdir_p
    327 # as_fn_append VAR VALUE
    328 # ----------------------
    329 # Append the text in VALUE to the end of the definition contained in VAR. Take
    330 # advantage of any shell optimizations that allow amortized linear growth over
    331 # repeated appends, instead of the typical quadratic growth present in naive
    332 # implementations.
    333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    334   eval 'as_fn_append ()
    335   {
    336     eval $1+=\$2
    337   }'
    338 else
    339   as_fn_append ()
    340   {
    341     eval $1=\$$1\$2
    342   }
    343 fi # as_fn_append
    344 
    345 # as_fn_arith ARG...
    346 # ------------------
    347 # Perform arithmetic evaluation on the ARGs, and store the result in the
    348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    349 # must be portable across $(()) and expr.
    350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    351   eval 'as_fn_arith ()
    352   {
    353     as_val=$(( $* ))
    354   }'
    355 else
    356   as_fn_arith ()
    357   {
    358     as_val=`expr "$@" || test $? -eq 1`
    359   }
    360 fi # as_fn_arith
    361 
    362 
    363 # as_fn_error ERROR [LINENO LOG_FD]
    364 # ---------------------------------
    365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    367 # script with status $?, using 1 if that was 0.
    368 as_fn_error ()
    369 {
    370   as_status=$?; test $as_status -eq 0 && as_status=1
    371   if test "$3"; then
    372     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    374   fi
    375   $as_echo "$as_me: error: $1" >&2
    376   as_fn_exit $as_status
    377 } # as_fn_error
    378 
    379 if expr a : '\(a\)' >/dev/null 2>&1 &&
    380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    381   as_expr=expr
    382 else
    383   as_expr=false
    384 fi
    385 
    386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    387   as_basename=basename
    388 else
    389   as_basename=false
    390 fi
    391 
    392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    393   as_dirname=dirname
    394 else
    395   as_dirname=false
    396 fi
    397 
    398 as_me=`$as_basename -- "$0" ||
    399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    400 	 X"$0" : 'X\(//\)$' \| \
    401 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    402 $as_echo X/"$0" |
    403     sed '/^.*\/\([^/][^/]*\)\/*$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\/\)$/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  /^X\/\(\/\).*/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  s/.*/./; q'`
    416 
    417 # Avoid depending upon Character Ranges.
    418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    421 as_cr_digits='0123456789'
    422 as_cr_alnum=$as_cr_Letters$as_cr_digits
    423 
    424 
    425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    430   sed -n '
    431     p
    432     /[$]LINENO/=
    433   ' <$as_myself |
    434     sed '
    435       s/[$]LINENO.*/&-/
    436       t lineno
    437       b
    438       :lineno
    439       N
    440       :loop
    441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    442       t loop
    443       s/-\n.*//
    444     ' >$as_me.lineno &&
    445   chmod +x "$as_me.lineno" ||
    446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    447 
    448   # Don't try to exec as it changes $[0], causing all sort of problems
    449   # (the dirname of $[0] is not the place where we might find the
    450   # original and so on.  Autoconf is especially sensitive to this).
    451   . "./$as_me.lineno"
    452   # Exit status is that of the last command.
    453   exit
    454 }
    455 
    456 ECHO_C= ECHO_N= ECHO_T=
    457 case `echo -n x` in #(((((
    458 -n*)
    459   case `echo 'xy\c'` in
    460   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    461   xy)  ECHO_C='\c';;
    462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    463        ECHO_T='	';;
    464   esac;;
    465 *)
    466   ECHO_N='-n';;
    467 esac
    468 
    469 rm -f conf$$ conf$$.exe conf$$.file
    470 if test -d conf$$.dir; then
    471   rm -f conf$$.dir/conf$$.file
    472 else
    473   rm -f conf$$.dir
    474   mkdir conf$$.dir 2>/dev/null
    475 fi
    476 if (echo >conf$$.file) 2>/dev/null; then
    477   if ln -s conf$$.file conf$$ 2>/dev/null; then
    478     as_ln_s='ln -s'
    479     # ... but there are two gotchas:
    480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    482     # In both cases, we have to default to `cp -p'.
    483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    484       as_ln_s='cp -p'
    485   elif ln conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s=ln
    487   else
    488     as_ln_s='cp -p'
    489   fi
    490 else
    491   as_ln_s='cp -p'
    492 fi
    493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    494 rmdir conf$$.dir 2>/dev/null
    495 
    496 if mkdir -p . 2>/dev/null; then
    497   as_mkdir_p='mkdir -p "$as_dir"'
    498 else
    499   test -d ./-p && rmdir ./-p
    500   as_mkdir_p=false
    501 fi
    502 
    503 if test -x / >/dev/null 2>&1; then
    504   as_test_x='test -x'
    505 else
    506   if ls -dL / >/dev/null 2>&1; then
    507     as_ls_L_option=L
    508   else
    509     as_ls_L_option=
    510   fi
    511   as_test_x='
    512     eval sh -c '\''
    513       if test -d "$1"; then
    514 	test -d "$1/.";
    515       else
    516 	case $1 in #(
    517 	-*)set "./$1";;
    518 	esac;
    519 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    520 	???[sx]*):;;*)false;;esac;fi
    521     '\'' sh
    522   '
    523 fi
    524 as_executable_p=$as_test_x
    525 
    526 # Sed expression to map a string onto a valid CPP name.
    527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 # Sed expression to map a string onto a valid variable name.
    530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    531 
    532 
    533 test -n "$DJDIR" || exec 7<&0 </dev/null
    534 exec 6>&1
    535 
    536 # Name of the host.
    537 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    538 # so uname gets run too.
    539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    540 
    541 #
    542 # Initializations.
    543 #
    544 ac_default_prefix=/usr/local
    545 ac_clean_files=
    546 ac_config_libobj_dir=.
    547 LIBOBJS=
    548 cross_compiling=no
    549 subdirs=
    550 MFLAGS=
    551 MAKEFLAGS=
    552 
    553 # Identity of this package.
    554 PACKAGE_NAME='GNU make'
    555 PACKAGE_TARNAME='make'
    556 PACKAGE_VERSION='3.81'
    557 PACKAGE_STRING='GNU make 3.81'
    558 PACKAGE_BUGREPORT='bug-make@gnu.org'
    559 PACKAGE_URL='http://www.gnu.org/software/make/'
    560 
    561 ac_unique_file="vpath.c"
    562 # Factoring default headers for most tests.
    563 ac_includes_default="\
    564 #include <stdio.h>
    565 #ifdef HAVE_SYS_TYPES_H
    566 # include <sys/types.h>
    567 #endif
    568 #ifdef HAVE_SYS_STAT_H
    569 # include <sys/stat.h>
    570 #endif
    571 #ifdef STDC_HEADERS
    572 # include <stdlib.h>
    573 # include <stddef.h>
    574 #else
    575 # ifdef HAVE_STDLIB_H
    576 #  include <stdlib.h>
    577 # endif
    578 #endif
    579 #ifdef HAVE_STRING_H
    580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    581 #  include <memory.h>
    582 # endif
    583 # include <string.h>
    584 #endif
    585 #ifdef HAVE_STRINGS_H
    586 # include <strings.h>
    587 #endif
    588 #ifdef HAVE_INTTYPES_H
    589 # include <inttypes.h>
    590 #endif
    591 #ifdef HAVE_STDINT_H
    592 # include <stdint.h>
    593 #endif
    594 #ifdef HAVE_UNISTD_H
    595 # include <unistd.h>
    596 #endif"
    597 
    598 ac_subst_vars='LTLIBOBJS
    599 WINDOWSENV_FALSE
    600 WINDOWSENV_TRUE
    601 MAKE_HOST
    602 USE_LOCAL_GLOB_FALSE
    603 USE_LOCAL_GLOB_TRUE
    604 GLOBLIB
    605 GLOBINC
    606 USE_CUSTOMS_FALSE
    607 USE_CUSTOMS_TRUE
    608 REMOTE
    609 GETLOADAVG_LIBS
    610 KMEM_GROUP
    611 NEED_SETGID
    612 LIBOBJS
    613 ALLOCA
    614 POSUB
    615 LTLIBINTL
    616 LIBINTL
    617 INTLLIBS
    618 LTLIBICONV
    619 LIBICONV
    620 MSGMERGE
    621 XGETTEXT
    622 GMSGFMT
    623 MSGFMT
    624 USE_NLS
    625 MKINSTALLDIRS
    626 ANSI2KNR
    627 U
    628 EGREP
    629 GREP
    630 host_os
    631 host_vendor
    632 host_cpu
    633 host
    634 build_os
    635 build_vendor
    636 build_cpu
    637 build
    638 PERL
    639 AR
    640 CPP
    641 RANLIB
    642 am__fastdepCC_FALSE
    643 am__fastdepCC_TRUE
    644 CCDEPMODE
    645 AMDEPBACKSLASH
    646 AMDEP_FALSE
    647 AMDEP_TRUE
    648 am__quote
    649 am__include
    650 DEPDIR
    651 OBJEXT
    652 EXEEXT
    653 ac_ct_CC
    654 CPPFLAGS
    655 LDFLAGS
    656 CFLAGS
    657 CC
    658 am__untar
    659 am__tar
    660 AMTAR
    661 am__leading_dot
    662 SET_MAKE
    663 AWK
    664 mkdir_p
    665 INSTALL_STRIP_PROGRAM
    666 STRIP
    667 install_sh
    668 MAKEINFO
    669 AUTOHEADER
    670 AUTOMAKE
    671 AUTOCONF
    672 ACLOCAL
    673 VERSION
    674 PACKAGE
    675 CYGPATH_W
    676 INSTALL_DATA
    677 INSTALL_SCRIPT
    678 INSTALL_PROGRAM
    679 target_alias
    680 host_alias
    681 build_alias
    682 LIBS
    683 ECHO_T
    684 ECHO_N
    685 ECHO_C
    686 DEFS
    687 mandir
    688 localedir
    689 libdir
    690 psdir
    691 pdfdir
    692 dvidir
    693 htmldir
    694 infodir
    695 docdir
    696 oldincludedir
    697 includedir
    698 localstatedir
    699 sharedstatedir
    700 sysconfdir
    701 datadir
    702 datarootdir
    703 libexecdir
    704 sbindir
    705 bindir
    706 program_transform_name
    707 prefix
    708 exec_prefix
    709 PACKAGE_URL
    710 PACKAGE_BUGREPORT
    711 PACKAGE_STRING
    712 PACKAGE_VERSION
    713 PACKAGE_TARNAME
    714 PACKAGE_NAME
    715 PATH_SEPARATOR
    716 SHELL'
    717 ac_subst_files='MAINT_MAKEFILE'
    718 ac_user_opts='
    719 enable_option_checking
    720 enable_dependency_tracking
    721 enable_nls
    722 with_gnu_ld
    723 enable_rpath
    724 with_libiconv_prefix
    725 with_libintl_prefix
    726 enable_largefile
    727 with_customs
    728 enable_case_insensitive_file_system
    729 enable_job_server
    730 with_dmalloc
    731 '
    732       ac_precious_vars='build_alias
    733 host_alias
    734 target_alias
    735 CC
    736 CFLAGS
    737 LDFLAGS
    738 LIBS
    739 CPPFLAGS
    740 CPP'
    741 
    742 
    743 # Initialize some variables set by options.
    744 ac_init_help=
    745 ac_init_version=false
    746 ac_unrecognized_opts=
    747 ac_unrecognized_sep=
    748 # The variables have the same names as the options, with
    749 # dashes changed to underlines.
    750 cache_file=/dev/null
    751 exec_prefix=NONE
    752 no_create=
    753 no_recursion=
    754 prefix=NONE
    755 program_prefix=NONE
    756 program_suffix=NONE
    757 program_transform_name=s,x,x,
    758 silent=
    759 site=
    760 srcdir=
    761 verbose=
    762 x_includes=NONE
    763 x_libraries=NONE
    764 
    765 # Installation directory options.
    766 # These are left unexpanded so users can "make install exec_prefix=/foo"
    767 # and all the variables that are supposed to be based on exec_prefix
    768 # by default will actually change.
    769 # Use braces instead of parens because sh, perl, etc. also accept them.
    770 # (The list follows the same order as the GNU Coding Standards.)
    771 bindir='${exec_prefix}/bin'
    772 sbindir='${exec_prefix}/sbin'
    773 libexecdir='${exec_prefix}/libexec'
    774 datarootdir='${prefix}/share'
    775 datadir='${datarootdir}'
    776 sysconfdir='${prefix}/etc'
    777 sharedstatedir='${prefix}/com'
    778 localstatedir='${prefix}/var'
    779 includedir='${prefix}/include'
    780 oldincludedir='/usr/include'
    781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    782 infodir='${datarootdir}/info'
    783 htmldir='${docdir}'
    784 dvidir='${docdir}'
    785 pdfdir='${docdir}'
    786 psdir='${docdir}'
    787 libdir='${exec_prefix}/lib'
    788 localedir='${datarootdir}/locale'
    789 mandir='${datarootdir}/man'
    790 
    791 ac_prev=
    792 ac_dashdash=
    793 for ac_option
    794 do
    795   # If the previous option needs an argument, assign it.
    796   if test -n "$ac_prev"; then
    797     eval $ac_prev=\$ac_option
    798     ac_prev=
    799     continue
    800   fi
    801 
    802   case $ac_option in
    803   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    804   *)	ac_optarg=yes ;;
    805   esac
    806 
    807   # Accept the important Cygnus configure options, so we can diagnose typos.
    808 
    809   case $ac_dashdash$ac_option in
    810   --)
    811     ac_dashdash=yes ;;
    812 
    813   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    814     ac_prev=bindir ;;
    815   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    816     bindir=$ac_optarg ;;
    817 
    818   -build | --build | --buil | --bui | --bu)
    819     ac_prev=build_alias ;;
    820   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    821     build_alias=$ac_optarg ;;
    822 
    823   -cache-file | --cache-file | --cache-fil | --cache-fi \
    824   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    825     ac_prev=cache_file ;;
    826   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    827   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    828     cache_file=$ac_optarg ;;
    829 
    830   --config-cache | -C)
    831     cache_file=config.cache ;;
    832 
    833   -datadir | --datadir | --datadi | --datad)
    834     ac_prev=datadir ;;
    835   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    836     datadir=$ac_optarg ;;
    837 
    838   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    839   | --dataroo | --dataro | --datar)
    840     ac_prev=datarootdir ;;
    841   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    842   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    843     datarootdir=$ac_optarg ;;
    844 
    845   -disable-* | --disable-*)
    846     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    847     # Reject names that are not valid shell variable names.
    848     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    849       as_fn_error "invalid feature name: $ac_useropt"
    850     ac_useropt_orig=$ac_useropt
    851     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    852     case $ac_user_opts in
    853       *"
    854 "enable_$ac_useropt"
    855 "*) ;;
    856       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    857 	 ac_unrecognized_sep=', ';;
    858     esac
    859     eval enable_$ac_useropt=no ;;
    860 
    861   -docdir | --docdir | --docdi | --doc | --do)
    862     ac_prev=docdir ;;
    863   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    864     docdir=$ac_optarg ;;
    865 
    866   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    867     ac_prev=dvidir ;;
    868   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    869     dvidir=$ac_optarg ;;
    870 
    871   -enable-* | --enable-*)
    872     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    873     # Reject names that are not valid shell variable names.
    874     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    875       as_fn_error "invalid feature name: $ac_useropt"
    876     ac_useropt_orig=$ac_useropt
    877     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    878     case $ac_user_opts in
    879       *"
    880 "enable_$ac_useropt"
    881 "*) ;;
    882       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    883 	 ac_unrecognized_sep=', ';;
    884     esac
    885     eval enable_$ac_useropt=\$ac_optarg ;;
    886 
    887   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    888   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    889   | --exec | --exe | --ex)
    890     ac_prev=exec_prefix ;;
    891   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    892   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    893   | --exec=* | --exe=* | --ex=*)
    894     exec_prefix=$ac_optarg ;;
    895 
    896   -gas | --gas | --ga | --g)
    897     # Obsolete; use --with-gas.
    898     with_gas=yes ;;
    899 
    900   -help | --help | --hel | --he | -h)
    901     ac_init_help=long ;;
    902   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    903     ac_init_help=recursive ;;
    904   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    905     ac_init_help=short ;;
    906 
    907   -host | --host | --hos | --ho)
    908     ac_prev=host_alias ;;
    909   -host=* | --host=* | --hos=* | --ho=*)
    910     host_alias=$ac_optarg ;;
    911 
    912   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    913     ac_prev=htmldir ;;
    914   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    915   | --ht=*)
    916     htmldir=$ac_optarg ;;
    917 
    918   -includedir | --includedir | --includedi | --included | --include \
    919   | --includ | --inclu | --incl | --inc)
    920     ac_prev=includedir ;;
    921   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    922   | --includ=* | --inclu=* | --incl=* | --inc=*)
    923     includedir=$ac_optarg ;;
    924 
    925   -infodir | --infodir | --infodi | --infod | --info | --inf)
    926     ac_prev=infodir ;;
    927   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    928     infodir=$ac_optarg ;;
    929 
    930   -libdir | --libdir | --libdi | --libd)
    931     ac_prev=libdir ;;
    932   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    933     libdir=$ac_optarg ;;
    934 
    935   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    936   | --libexe | --libex | --libe)
    937     ac_prev=libexecdir ;;
    938   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    939   | --libexe=* | --libex=* | --libe=*)
    940     libexecdir=$ac_optarg ;;
    941 
    942   -localedir | --localedir | --localedi | --localed | --locale)
    943     ac_prev=localedir ;;
    944   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    945     localedir=$ac_optarg ;;
    946 
    947   -localstatedir | --localstatedir | --localstatedi | --localstated \
    948   | --localstate | --localstat | --localsta | --localst | --locals)
    949     ac_prev=localstatedir ;;
    950   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    951   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    952     localstatedir=$ac_optarg ;;
    953 
    954   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    955     ac_prev=mandir ;;
    956   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    957     mandir=$ac_optarg ;;
    958 
    959   -nfp | --nfp | --nf)
    960     # Obsolete; use --without-fp.
    961     with_fp=no ;;
    962 
    963   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    964   | --no-cr | --no-c | -n)
    965     no_create=yes ;;
    966 
    967   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    968   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    969     no_recursion=yes ;;
    970 
    971   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    972   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    973   | --oldin | --oldi | --old | --ol | --o)
    974     ac_prev=oldincludedir ;;
    975   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    976   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    977   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    978     oldincludedir=$ac_optarg ;;
    979 
    980   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    981     ac_prev=prefix ;;
    982   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    983     prefix=$ac_optarg ;;
    984 
    985   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    986   | --program-pre | --program-pr | --program-p)
    987     ac_prev=program_prefix ;;
    988   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    989   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    990     program_prefix=$ac_optarg ;;
    991 
    992   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    993   | --program-suf | --program-su | --program-s)
    994     ac_prev=program_suffix ;;
    995   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    996   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    997     program_suffix=$ac_optarg ;;
    998 
    999   -program-transform-name | --program-transform-name \
   1000   | --program-transform-nam | --program-transform-na \
   1001   | --program-transform-n | --program-transform- \
   1002   | --program-transform | --program-transfor \
   1003   | --program-transfo | --program-transf \
   1004   | --program-trans | --program-tran \
   1005   | --progr-tra | --program-tr | --program-t)
   1006     ac_prev=program_transform_name ;;
   1007   -program-transform-name=* | --program-transform-name=* \
   1008   | --program-transform-nam=* | --program-transform-na=* \
   1009   | --program-transform-n=* | --program-transform-=* \
   1010   | --program-transform=* | --program-transfor=* \
   1011   | --program-transfo=* | --program-transf=* \
   1012   | --program-trans=* | --program-tran=* \
   1013   | --progr-tra=* | --program-tr=* | --program-t=*)
   1014     program_transform_name=$ac_optarg ;;
   1015 
   1016   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1017     ac_prev=pdfdir ;;
   1018   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1019     pdfdir=$ac_optarg ;;
   1020 
   1021   -psdir | --psdir | --psdi | --psd | --ps)
   1022     ac_prev=psdir ;;
   1023   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1024     psdir=$ac_optarg ;;
   1025 
   1026   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1027   | -silent | --silent | --silen | --sile | --sil)
   1028     silent=yes ;;
   1029 
   1030   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1031     ac_prev=sbindir ;;
   1032   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1033   | --sbi=* | --sb=*)
   1034     sbindir=$ac_optarg ;;
   1035 
   1036   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1037   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1038   | --sharedst | --shareds | --shared | --share | --shar \
   1039   | --sha | --sh)
   1040     ac_prev=sharedstatedir ;;
   1041   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1042   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1043   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1044   | --sha=* | --sh=*)
   1045     sharedstatedir=$ac_optarg ;;
   1046 
   1047   -site | --site | --sit)
   1048     ac_prev=site ;;
   1049   -site=* | --site=* | --sit=*)
   1050     site=$ac_optarg ;;
   1051 
   1052   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1053     ac_prev=srcdir ;;
   1054   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1055     srcdir=$ac_optarg ;;
   1056 
   1057   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1058   | --syscon | --sysco | --sysc | --sys | --sy)
   1059     ac_prev=sysconfdir ;;
   1060   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1061   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1062     sysconfdir=$ac_optarg ;;
   1063 
   1064   -target | --target | --targe | --targ | --tar | --ta | --t)
   1065     ac_prev=target_alias ;;
   1066   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1067     target_alias=$ac_optarg ;;
   1068 
   1069   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1070     verbose=yes ;;
   1071 
   1072   -version | --version | --versio | --versi | --vers | -V)
   1073     ac_init_version=: ;;
   1074 
   1075   -with-* | --with-*)
   1076     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1077     # Reject names that are not valid shell variable names.
   1078     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1079       as_fn_error "invalid package name: $ac_useropt"
   1080     ac_useropt_orig=$ac_useropt
   1081     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1082     case $ac_user_opts in
   1083       *"
   1084 "with_$ac_useropt"
   1085 "*) ;;
   1086       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1087 	 ac_unrecognized_sep=', ';;
   1088     esac
   1089     eval with_$ac_useropt=\$ac_optarg ;;
   1090 
   1091   -without-* | --without-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       as_fn_error "invalid package name: $ac_useropt"
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "with_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval with_$ac_useropt=no ;;
   1106 
   1107   --x)
   1108     # Obsolete; use --with-x.
   1109     with_x=yes ;;
   1110 
   1111   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1112   | --x-incl | --x-inc | --x-in | --x-i)
   1113     ac_prev=x_includes ;;
   1114   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1115   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1116     x_includes=$ac_optarg ;;
   1117 
   1118   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1119   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1120     ac_prev=x_libraries ;;
   1121   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1122   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1123     x_libraries=$ac_optarg ;;
   1124 
   1125   -*) as_fn_error "unrecognized option: \`$ac_option'
   1126 Try \`$0 --help' for more information."
   1127     ;;
   1128 
   1129   *=*)
   1130     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1131     # Reject names that are not valid shell variable names.
   1132     case $ac_envvar in #(
   1133       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1134       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1135     esac
   1136     eval $ac_envvar=\$ac_optarg
   1137     export $ac_envvar ;;
   1138 
   1139   *)
   1140     # FIXME: should be removed in autoconf 3.0.
   1141     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1142     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1143       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1144     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1145     ;;
   1146 
   1147   esac
   1148 done
   1149 
   1150 if test -n "$ac_prev"; then
   1151   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1152   as_fn_error "missing argument to $ac_option"
   1153 fi
   1154 
   1155 if test -n "$ac_unrecognized_opts"; then
   1156   case $enable_option_checking in
   1157     no) ;;
   1158     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1159     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1160   esac
   1161 fi
   1162 
   1163 # Check all directory arguments for consistency.
   1164 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1165 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1166 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1167 		libdir localedir mandir
   1168 do
   1169   eval ac_val=\$$ac_var
   1170   # Remove trailing slashes.
   1171   case $ac_val in
   1172     */ )
   1173       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1174       eval $ac_var=\$ac_val;;
   1175   esac
   1176   # Be sure to have absolute directory names.
   1177   case $ac_val in
   1178     [\\/$]* | ?:[\\/]* )  continue;;
   1179     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1180   esac
   1181   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1182 done
   1183 
   1184 # There might be people who depend on the old broken behavior: `$host'
   1185 # used to hold the argument of --host etc.
   1186 # FIXME: To remove some day.
   1187 build=$build_alias
   1188 host=$host_alias
   1189 target=$target_alias
   1190 
   1191 # FIXME: To remove some day.
   1192 if test "x$host_alias" != x; then
   1193   if test "x$build_alias" = x; then
   1194     cross_compiling=maybe
   1195     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1196     If a cross compiler is detected then cross compile mode will be used." >&2
   1197   elif test "x$build_alias" != "x$host_alias"; then
   1198     cross_compiling=yes
   1199   fi
   1200 fi
   1201 
   1202 ac_tool_prefix=
   1203 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1204 
   1205 test "$silent" = yes && exec 6>/dev/null
   1206 
   1207 
   1208 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1209 ac_ls_di=`ls -di .` &&
   1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1211   as_fn_error "working directory cannot be determined"
   1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1213   as_fn_error "pwd does not report name of working directory"
   1214 
   1215 
   1216 # Find the source files, if location was not specified.
   1217 if test -z "$srcdir"; then
   1218   ac_srcdir_defaulted=yes
   1219   # Try the directory containing this script, then the parent directory.
   1220   ac_confdir=`$as_dirname -- "$as_myself" ||
   1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1222 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1223 	 X"$as_myself" : 'X\(//\)$' \| \
   1224 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1225 $as_echo X"$as_myself" |
   1226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1227 	    s//\1/
   1228 	    q
   1229 	  }
   1230 	  /^X\(\/\/\)[^/].*/{
   1231 	    s//\1/
   1232 	    q
   1233 	  }
   1234 	  /^X\(\/\/\)$/{
   1235 	    s//\1/
   1236 	    q
   1237 	  }
   1238 	  /^X\(\/\).*/{
   1239 	    s//\1/
   1240 	    q
   1241 	  }
   1242 	  s/.*/./; q'`
   1243   srcdir=$ac_confdir
   1244   if test ! -r "$srcdir/$ac_unique_file"; then
   1245     srcdir=..
   1246   fi
   1247 else
   1248   ac_srcdir_defaulted=no
   1249 fi
   1250 if test ! -r "$srcdir/$ac_unique_file"; then
   1251   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1252   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1253 fi
   1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1255 ac_abs_confdir=`(
   1256 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1257 	pwd)`
   1258 # When building in place, set srcdir=.
   1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1260   srcdir=.
   1261 fi
   1262 # Remove unnecessary trailing slashes from srcdir.
   1263 # Double slashes in file names in object file debugging info
   1264 # mess up M-x gdb in Emacs.
   1265 case $srcdir in
   1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1267 esac
   1268 for ac_var in $ac_precious_vars; do
   1269   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1270   eval ac_env_${ac_var}_value=\$${ac_var}
   1271   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1272   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1273 done
   1274 
   1275 #
   1276 # Report the --help message.
   1277 #
   1278 if test "$ac_init_help" = "long"; then
   1279   # Omit some internal or obsolete options to make the list less imposing.
   1280   # This message is too long to be a string in the A/UX 3.1 sh.
   1281   cat <<_ACEOF
   1282 \`configure' configures GNU make 3.81 to adapt to many kinds of systems.
   1283 
   1284 Usage: $0 [OPTION]... [VAR=VALUE]...
   1285 
   1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1287 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1288 
   1289 Defaults for the options are specified in brackets.
   1290 
   1291 Configuration:
   1292   -h, --help              display this help and exit
   1293       --help=short        display options specific to this package
   1294       --help=recursive    display the short help of all the included packages
   1295   -V, --version           display version information and exit
   1296   -q, --quiet, --silent   do not print \`checking...' messages
   1297       --cache-file=FILE   cache test results in FILE [disabled]
   1298   -C, --config-cache      alias for \`--cache-file=config.cache'
   1299   -n, --no-create         do not create output files
   1300       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1301 
   1302 Installation directories:
   1303   --prefix=PREFIX         install architecture-independent files in PREFIX
   1304                           [$ac_default_prefix]
   1305   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1306                           [PREFIX]
   1307 
   1308 By default, \`make install' will install all the files in
   1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1311 for instance \`--prefix=\$HOME'.
   1312 
   1313 For better control, use the options below.
   1314 
   1315 Fine tuning of the installation directories:
   1316   --bindir=DIR            user executables [EPREFIX/bin]
   1317   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1318   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1319   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1320   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1321   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1322   --libdir=DIR            object code libraries [EPREFIX/lib]
   1323   --includedir=DIR        C header files [PREFIX/include]
   1324   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1325   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1326   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1327   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1328   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1329   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1330   --docdir=DIR            documentation root [DATAROOTDIR/doc/make]
   1331   --htmldir=DIR           html documentation [DOCDIR]
   1332   --dvidir=DIR            dvi documentation [DOCDIR]
   1333   --pdfdir=DIR            pdf documentation [DOCDIR]
   1334   --psdir=DIR             ps documentation [DOCDIR]
   1335 _ACEOF
   1336 
   1337   cat <<\_ACEOF
   1338 
   1339 Program names:
   1340   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1341   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1342   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1343 
   1344 System types:
   1345   --build=BUILD     configure for building on BUILD [guessed]
   1346   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1347 _ACEOF
   1348 fi
   1349 
   1350 if test -n "$ac_init_help"; then
   1351   case $ac_init_help in
   1352      short | recursive ) echo "Configuration of GNU make 3.81:";;
   1353    esac
   1354   cat <<\_ACEOF
   1355 
   1356 Optional Features:
   1357   --disable-option-checking  ignore unrecognized --enable/--with options
   1358   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1359   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1360   --disable-dependency-tracking  speeds up one-time build
   1361   --enable-dependency-tracking   do not reject slow dependency extractors
   1362   --disable-nls           do not use Native Language Support
   1363   --disable-rpath         do not hardcode runtime library paths
   1364   --disable-largefile     omit support for large files
   1365   --enable-case-insensitive-file-system
   1366                           enable case insensitive file system support
   1367   --disable-job-server    disallow recursive make communication during -jN
   1368 
   1369 Optional Packages:
   1370   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1371   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1372   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1373   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1374   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1375   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1376   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1377   --with-customs=DIR      enable remote jobs via Customs--see README.customs
   1378   --with-dmalloc          use dmalloc, as in
   1379 			  http://www.dmalloc.com/dmalloc.tar.gz
   1380 
   1381 Some influential environment variables:
   1382   CC          C compiler command
   1383   CFLAGS      C compiler flags
   1384   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1385               nonstandard directory <lib dir>
   1386   LIBS        libraries to pass to the linker, e.g. -l<library>
   1387   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1388               you have headers in a nonstandard directory <include dir>
   1389   CPP         C preprocessor
   1390 
   1391 Use these variables to override the choices made by `configure' or to help
   1392 it to find libraries and programs with nonstandard names/locations.
   1393 
   1394 Report bugs to <bug-make@gnu.org>.
   1395 GNU make home page: <http://www.gnu.org/software/make/>.
   1396 General help using GNU software: <http://www.gnu.org/gethelp/>.
   1397 _ACEOF
   1398 ac_status=$?
   1399 fi
   1400 
   1401 if test "$ac_init_help" = "recursive"; then
   1402   # If there are subdirs, report their specific --help.
   1403   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1404     test -d "$ac_dir" ||
   1405       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1406       continue
   1407     ac_builddir=.
   1408 
   1409 case "$ac_dir" in
   1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1411 *)
   1412   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1413   # A ".." for each directory in $ac_dir_suffix.
   1414   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1415   case $ac_top_builddir_sub in
   1416   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1417   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1418   esac ;;
   1419 esac
   1420 ac_abs_top_builddir=$ac_pwd
   1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1422 # for backward compatibility:
   1423 ac_top_builddir=$ac_top_build_prefix
   1424 
   1425 case $srcdir in
   1426   .)  # We are building in place.
   1427     ac_srcdir=.
   1428     ac_top_srcdir=$ac_top_builddir_sub
   1429     ac_abs_top_srcdir=$ac_pwd ;;
   1430   [\\/]* | ?:[\\/]* )  # Absolute name.
   1431     ac_srcdir=$srcdir$ac_dir_suffix;
   1432     ac_top_srcdir=$srcdir
   1433     ac_abs_top_srcdir=$srcdir ;;
   1434   *) # Relative name.
   1435     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1436     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1437     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1438 esac
   1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1440 
   1441     cd "$ac_dir" || { ac_status=$?; continue; }
   1442     # Check for guested configure.
   1443     if test -f "$ac_srcdir/configure.gnu"; then
   1444       echo &&
   1445       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1446     elif test -f "$ac_srcdir/configure"; then
   1447       echo &&
   1448       $SHELL "$ac_srcdir/configure" --help=recursive
   1449     else
   1450       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1451     fi || ac_status=$?
   1452     cd "$ac_pwd" || { ac_status=$?; break; }
   1453   done
   1454 fi
   1455 
   1456 test -n "$ac_init_help" && exit $ac_status
   1457 if $ac_init_version; then
   1458   cat <<\_ACEOF
   1459 GNU make configure 3.81
   1460 generated by GNU Autoconf 2.65
   1461 
   1462 Copyright (C) 2009 Free Software Foundation, Inc.
   1463 This configure script is free software; the Free Software Foundation
   1464 gives unlimited permission to copy, distribute and modify it.
   1465 _ACEOF
   1466   exit
   1467 fi
   1468 
   1469 ## ------------------------ ##
   1470 ## Autoconf initialization. ##
   1471 ## ------------------------ ##
   1472 
   1473 # ac_fn_c_try_compile LINENO
   1474 # --------------------------
   1475 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1476 ac_fn_c_try_compile ()
   1477 {
   1478   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1479   rm -f conftest.$ac_objext
   1480   if { { ac_try="$ac_compile"
   1481 case "(($ac_try" in
   1482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1483   *) ac_try_echo=$ac_try;;
   1484 esac
   1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1486 $as_echo "$ac_try_echo"; } >&5
   1487   (eval "$ac_compile") 2>conftest.err
   1488   ac_status=$?
   1489   if test -s conftest.err; then
   1490     grep -v '^ *+' conftest.err >conftest.er1
   1491     cat conftest.er1 >&5
   1492     mv -f conftest.er1 conftest.err
   1493   fi
   1494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1495   test $ac_status = 0; } && {
   1496 	 test -z "$ac_c_werror_flag" ||
   1497 	 test ! -s conftest.err
   1498        } && test -s conftest.$ac_objext; then :
   1499   ac_retval=0
   1500 else
   1501   $as_echo "$as_me: failed program was:" >&5
   1502 sed 's/^/| /' conftest.$ac_ext >&5
   1503 
   1504 	ac_retval=1
   1505 fi
   1506   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1507   as_fn_set_status $ac_retval
   1508 
   1509 } # ac_fn_c_try_compile
   1510 
   1511 # ac_fn_c_try_cpp LINENO
   1512 # ----------------------
   1513 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1514 ac_fn_c_try_cpp ()
   1515 {
   1516   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1517   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1518 case "(($ac_try" in
   1519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1520   *) ac_try_echo=$ac_try;;
   1521 esac
   1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1523 $as_echo "$ac_try_echo"; } >&5
   1524   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1525   ac_status=$?
   1526   if test -s conftest.err; then
   1527     grep -v '^ *+' conftest.err >conftest.er1
   1528     cat conftest.er1 >&5
   1529     mv -f conftest.er1 conftest.err
   1530   fi
   1531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1532   test $ac_status = 0; } >/dev/null && {
   1533 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1534 	 test ! -s conftest.err
   1535        }; then :
   1536   ac_retval=0
   1537 else
   1538   $as_echo "$as_me: failed program was:" >&5
   1539 sed 's/^/| /' conftest.$ac_ext >&5
   1540 
   1541     ac_retval=1
   1542 fi
   1543   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1544   as_fn_set_status $ac_retval
   1545 
   1546 } # ac_fn_c_try_cpp
   1547 
   1548 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1549 # -------------------------------------------------------
   1550 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1551 # the include files in INCLUDES and setting the cache variable VAR
   1552 # accordingly.
   1553 ac_fn_c_check_header_mongrel ()
   1554 {
   1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1556   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1558 $as_echo_n "checking for $2... " >&6; }
   1559 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1560   $as_echo_n "(cached) " >&6
   1561 fi
   1562 eval ac_res=\$$3
   1563 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1564 $as_echo "$ac_res" >&6; }
   1565 else
   1566   # Is the header compilable?
   1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1568 $as_echo_n "checking $2 usability... " >&6; }
   1569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1570 /* end confdefs.h.  */
   1571 $4
   1572 #include <$2>
   1573 _ACEOF
   1574 if ac_fn_c_try_compile "$LINENO"; then :
   1575   ac_header_compiler=yes
   1576 else
   1577   ac_header_compiler=no
   1578 fi
   1579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1581 $as_echo "$ac_header_compiler" >&6; }
   1582 
   1583 # Is the header present?
   1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1585 $as_echo_n "checking $2 presence... " >&6; }
   1586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1587 /* end confdefs.h.  */
   1588 #include <$2>
   1589 _ACEOF
   1590 if ac_fn_c_try_cpp "$LINENO"; then :
   1591   ac_header_preproc=yes
   1592 else
   1593   ac_header_preproc=no
   1594 fi
   1595 rm -f conftest.err conftest.$ac_ext
   1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1597 $as_echo "$ac_header_preproc" >&6; }
   1598 
   1599 # So?  What about this header?
   1600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1601   yes:no: )
   1602     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1603 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1604     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1605 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1606     ;;
   1607   no:yes:* )
   1608     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1609 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1610     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1611 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1612     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1613 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1614     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1615 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1616     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1617 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1618 ( cat <<\_ASBOX
   1619 ## ------------------------------- ##
   1620 ## Report this to bug-make (at] gnu.org ##
   1621 ## ------------------------------- ##
   1622 _ASBOX
   1623      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1624     ;;
   1625 esac
   1626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1627 $as_echo_n "checking for $2... " >&6; }
   1628 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1629   $as_echo_n "(cached) " >&6
   1630 else
   1631   eval "$3=\$ac_header_compiler"
   1632 fi
   1633 eval ac_res=\$$3
   1634 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1635 $as_echo "$ac_res" >&6; }
   1636 fi
   1637   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1638 
   1639 } # ac_fn_c_check_header_mongrel
   1640 
   1641 # ac_fn_c_try_run LINENO
   1642 # ----------------------
   1643 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1644 # that executables *can* be run.
   1645 ac_fn_c_try_run ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   if { { ac_try="$ac_link"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 $as_echo "$ac_try_echo"; } >&5
   1655   (eval "$ac_link") 2>&5
   1656   ac_status=$?
   1657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1658   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1659   { { case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 $as_echo "$ac_try_echo"; } >&5
   1665   (eval "$ac_try") 2>&5
   1666   ac_status=$?
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; }; }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: program exited with status $ac_status" >&5
   1672        $as_echo "$as_me: failed program was:" >&5
   1673 sed 's/^/| /' conftest.$ac_ext >&5
   1674 
   1675        ac_retval=$ac_status
   1676 fi
   1677   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1678   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_run
   1682 
   1683 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1684 # -------------------------------------------------------
   1685 # Tests whether HEADER exists and can be compiled using the include files in
   1686 # INCLUDES, setting the cache variable VAR accordingly.
   1687 ac_fn_c_check_header_compile ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1691 $as_echo_n "checking for $2... " >&6; }
   1692 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1693   $as_echo_n "(cached) " >&6
   1694 else
   1695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 #include <$2>
   1699 _ACEOF
   1700 if ac_fn_c_try_compile "$LINENO"; then :
   1701   eval "$3=yes"
   1702 else
   1703   eval "$3=no"
   1704 fi
   1705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1706 fi
   1707 eval ac_res=\$$3
   1708 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1709 $as_echo "$ac_res" >&6; }
   1710   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1711 
   1712 } # ac_fn_c_check_header_compile
   1713 
   1714 # ac_fn_c_try_link LINENO
   1715 # -----------------------
   1716 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1717 ac_fn_c_try_link ()
   1718 {
   1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1720   rm -f conftest.$ac_objext conftest$ac_exeext
   1721   if { { ac_try="$ac_link"
   1722 case "(($ac_try" in
   1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1724   *) ac_try_echo=$ac_try;;
   1725 esac
   1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1727 $as_echo "$ac_try_echo"; } >&5
   1728   (eval "$ac_link") 2>conftest.err
   1729   ac_status=$?
   1730   if test -s conftest.err; then
   1731     grep -v '^ *+' conftest.err >conftest.er1
   1732     cat conftest.er1 >&5
   1733     mv -f conftest.er1 conftest.err
   1734   fi
   1735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1736   test $ac_status = 0; } && {
   1737 	 test -z "$ac_c_werror_flag" ||
   1738 	 test ! -s conftest.err
   1739        } && test -s conftest$ac_exeext && {
   1740 	 test "$cross_compiling" = yes ||
   1741 	 $as_test_x conftest$ac_exeext
   1742        }; then :
   1743   ac_retval=0
   1744 else
   1745   $as_echo "$as_me: failed program was:" >&5
   1746 sed 's/^/| /' conftest.$ac_ext >&5
   1747 
   1748 	ac_retval=1
   1749 fi
   1750   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1751   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1752   # interfere with the next link command; also delete a directory that is
   1753   # left behind by Apple's compiler.  We do this before executing the actions.
   1754   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1755   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1756   as_fn_set_status $ac_retval
   1757 
   1758 } # ac_fn_c_try_link
   1759 
   1760 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1761 # -------------------------------------------
   1762 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1763 # variable VAR accordingly.
   1764 ac_fn_c_check_type ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1768 $as_echo_n "checking for $2... " >&6; }
   1769 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1770   $as_echo_n "(cached) " >&6
   1771 else
   1772   eval "$3=no"
   1773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1774 /* end confdefs.h.  */
   1775 $4
   1776 int
   1777 main ()
   1778 {
   1779 if (sizeof ($2))
   1780 	 return 0;
   1781   ;
   1782   return 0;
   1783 }
   1784 _ACEOF
   1785 if ac_fn_c_try_compile "$LINENO"; then :
   1786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1787 /* end confdefs.h.  */
   1788 $4
   1789 int
   1790 main ()
   1791 {
   1792 if (sizeof (($2)))
   1793 	    return 0;
   1794   ;
   1795   return 0;
   1796 }
   1797 _ACEOF
   1798 if ac_fn_c_try_compile "$LINENO"; then :
   1799 
   1800 else
   1801   eval "$3=yes"
   1802 fi
   1803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1804 fi
   1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1806 fi
   1807 eval ac_res=\$$3
   1808 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1809 $as_echo "$ac_res" >&6; }
   1810   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1811 
   1812 } # ac_fn_c_check_type
   1813 
   1814 # ac_fn_c_check_func LINENO FUNC VAR
   1815 # ----------------------------------
   1816 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1817 ac_fn_c_check_func ()
   1818 {
   1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1821 $as_echo_n "checking for $2... " >&6; }
   1822 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1823   $as_echo_n "(cached) " >&6
   1824 else
   1825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1826 /* end confdefs.h.  */
   1827 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1829 #define $2 innocuous_$2
   1830 
   1831 /* System header to define __stub macros and hopefully few prototypes,
   1832     which can conflict with char $2 (); below.
   1833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1834     <limits.h> exists even on freestanding compilers.  */
   1835 
   1836 #ifdef __STDC__
   1837 # include <limits.h>
   1838 #else
   1839 # include <assert.h>
   1840 #endif
   1841 
   1842 #undef $2
   1843 
   1844 /* Override any GCC internal prototype to avoid an error.
   1845    Use char because int might match the return type of a GCC
   1846    builtin and then its argument prototype would still apply.  */
   1847 #ifdef __cplusplus
   1848 extern "C"
   1849 #endif
   1850 char $2 ();
   1851 /* The GNU C library defines this for functions which it implements
   1852     to always fail with ENOSYS.  Some functions are actually named
   1853     something starting with __ and the normal name is an alias.  */
   1854 #if defined __stub_$2 || defined __stub___$2
   1855 choke me
   1856 #endif
   1857 
   1858 int
   1859 main ()
   1860 {
   1861 return $2 ();
   1862   ;
   1863   return 0;
   1864 }
   1865 _ACEOF
   1866 if ac_fn_c_try_link "$LINENO"; then :
   1867   eval "$3=yes"
   1868 else
   1869   eval "$3=no"
   1870 fi
   1871 rm -f core conftest.err conftest.$ac_objext \
   1872     conftest$ac_exeext conftest.$ac_ext
   1873 fi
   1874 eval ac_res=\$$3
   1875 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1876 $as_echo "$ac_res" >&6; }
   1877   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1878 
   1879 } # ac_fn_c_check_func
   1880 
   1881 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1882 # ----------------------------------------------------
   1883 # Tries to find if the field MEMBER exists in type AGGR, after including
   1884 # INCLUDES, setting cache variable VAR accordingly.
   1885 ac_fn_c_check_member ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1889 $as_echo_n "checking for $2.$3... " >&6; }
   1890 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
   1891   $as_echo_n "(cached) " >&6
   1892 else
   1893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1894 /* end confdefs.h.  */
   1895 $5
   1896 int
   1897 main ()
   1898 {
   1899 static $2 ac_aggr;
   1900 if (ac_aggr.$3)
   1901 return 0;
   1902   ;
   1903   return 0;
   1904 }
   1905 _ACEOF
   1906 if ac_fn_c_try_compile "$LINENO"; then :
   1907   eval "$4=yes"
   1908 else
   1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1910 /* end confdefs.h.  */
   1911 $5
   1912 int
   1913 main ()
   1914 {
   1915 static $2 ac_aggr;
   1916 if (sizeof ac_aggr.$3)
   1917 return 0;
   1918   ;
   1919   return 0;
   1920 }
   1921 _ACEOF
   1922 if ac_fn_c_try_compile "$LINENO"; then :
   1923   eval "$4=yes"
   1924 else
   1925   eval "$4=no"
   1926 fi
   1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1928 fi
   1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1930 fi
   1931 eval ac_res=\$$4
   1932 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1933 $as_echo "$ac_res" >&6; }
   1934   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1935 
   1936 } # ac_fn_c_check_member
   1937 
   1938 # ac_fn_c_check_decl LINENO SYMBOL VAR
   1939 # ------------------------------------
   1940 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   1941 ac_fn_c_check_decl ()
   1942 {
   1943   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   1945 $as_echo_n "checking whether $2 is declared... " >&6; }
   1946 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1947   $as_echo_n "(cached) " >&6
   1948 else
   1949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1950 /* end confdefs.h.  */
   1951 $4
   1952 int
   1953 main ()
   1954 {
   1955 #ifndef $2
   1956   (void) $2;
   1957 #endif
   1958 
   1959   ;
   1960   return 0;
   1961 }
   1962 _ACEOF
   1963 if ac_fn_c_try_compile "$LINENO"; then :
   1964   eval "$3=yes"
   1965 else
   1966   eval "$3=no"
   1967 fi
   1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1969 fi
   1970 eval ac_res=\$$3
   1971 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1972 $as_echo "$ac_res" >&6; }
   1973   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1974 
   1975 } # ac_fn_c_check_decl
   1976 cat >config.log <<_ACEOF
   1977 This file contains any messages produced by compilers while
   1978 running configure, to aid debugging if configure makes a mistake.
   1979 
   1980 It was created by GNU make $as_me 3.81, which was
   1981 generated by GNU Autoconf 2.65.  Invocation command line was
   1982 
   1983   $ $0 $@
   1984 
   1985 _ACEOF
   1986 exec 5>>config.log
   1987 {
   1988 cat <<_ASUNAME
   1989 ## --------- ##
   1990 ## Platform. ##
   1991 ## --------- ##
   1992 
   1993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1998 
   1999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2000 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2001 
   2002 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2003 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2005 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2006 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2007 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2008 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2009 
   2010 _ASUNAME
   2011 
   2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2013 for as_dir in $PATH
   2014 do
   2015   IFS=$as_save_IFS
   2016   test -z "$as_dir" && as_dir=.
   2017     $as_echo "PATH: $as_dir"
   2018   done
   2019 IFS=$as_save_IFS
   2020 
   2021 } >&5
   2022 
   2023 cat >&5 <<_ACEOF
   2024 
   2025 
   2026 ## ----------- ##
   2027 ## Core tests. ##
   2028 ## ----------- ##
   2029 
   2030 _ACEOF
   2031 
   2032 
   2033 # Keep a trace of the command line.
   2034 # Strip out --no-create and --no-recursion so they do not pile up.
   2035 # Strip out --silent because we don't want to record it for future runs.
   2036 # Also quote any args containing shell meta-characters.
   2037 # Make two passes to allow for proper duplicate-argument suppression.
   2038 ac_configure_args=
   2039 ac_configure_args0=
   2040 ac_configure_args1=
   2041 ac_must_keep_next=false
   2042 for ac_pass in 1 2
   2043 do
   2044   for ac_arg
   2045   do
   2046     case $ac_arg in
   2047     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2048     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2049     | -silent | --silent | --silen | --sile | --sil)
   2050       continue ;;
   2051     *\'*)
   2052       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2053     esac
   2054     case $ac_pass in
   2055     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2056     2)
   2057       as_fn_append ac_configure_args1 " '$ac_arg'"
   2058       if test $ac_must_keep_next = true; then
   2059 	ac_must_keep_next=false # Got value, back to normal.
   2060       else
   2061 	case $ac_arg in
   2062 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2063 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2064 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2065 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2066 	    case "$ac_configure_args0 " in
   2067 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2068 	    esac
   2069 	    ;;
   2070 	  -* ) ac_must_keep_next=true ;;
   2071 	esac
   2072       fi
   2073       as_fn_append ac_configure_args " '$ac_arg'"
   2074       ;;
   2075     esac
   2076   done
   2077 done
   2078 { ac_configure_args0=; unset ac_configure_args0;}
   2079 { ac_configure_args1=; unset ac_configure_args1;}
   2080 
   2081 # When interrupted or exit'd, cleanup temporary files, and complete
   2082 # config.log.  We remove comments because anyway the quotes in there
   2083 # would cause problems or look ugly.
   2084 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2085 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2086 trap 'exit_status=$?
   2087   # Save into config.log some information that might help in debugging.
   2088   {
   2089     echo
   2090 
   2091     cat <<\_ASBOX
   2092 ## ---------------- ##
   2093 ## Cache variables. ##
   2094 ## ---------------- ##
   2095 _ASBOX
   2096     echo
   2097     # The following way of writing the cache mishandles newlines in values,
   2098 (
   2099   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2100     eval ac_val=\$$ac_var
   2101     case $ac_val in #(
   2102     *${as_nl}*)
   2103       case $ac_var in #(
   2104       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2106       esac
   2107       case $ac_var in #(
   2108       _ | IFS | as_nl) ;; #(
   2109       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2110       *) { eval $ac_var=; unset $ac_var;} ;;
   2111       esac ;;
   2112     esac
   2113   done
   2114   (set) 2>&1 |
   2115     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2116     *${as_nl}ac_space=\ *)
   2117       sed -n \
   2118 	"s/'\''/'\''\\\\'\'''\''/g;
   2119 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2120       ;; #(
   2121     *)
   2122       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2123       ;;
   2124     esac |
   2125     sort
   2126 )
   2127     echo
   2128 
   2129     cat <<\_ASBOX
   2130 ## ----------------- ##
   2131 ## Output variables. ##
   2132 ## ----------------- ##
   2133 _ASBOX
   2134     echo
   2135     for ac_var in $ac_subst_vars
   2136     do
   2137       eval ac_val=\$$ac_var
   2138       case $ac_val in
   2139       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2140       esac
   2141       $as_echo "$ac_var='\''$ac_val'\''"
   2142     done | sort
   2143     echo
   2144 
   2145     if test -n "$ac_subst_files"; then
   2146       cat <<\_ASBOX
   2147 ## ------------------- ##
   2148 ## File substitutions. ##
   2149 ## ------------------- ##
   2150 _ASBOX
   2151       echo
   2152       for ac_var in $ac_subst_files
   2153       do
   2154 	eval ac_val=\$$ac_var
   2155 	case $ac_val in
   2156 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2157 	esac
   2158 	$as_echo "$ac_var='\''$ac_val'\''"
   2159       done | sort
   2160       echo
   2161     fi
   2162 
   2163     if test -s confdefs.h; then
   2164       cat <<\_ASBOX
   2165 ## ----------- ##
   2166 ## confdefs.h. ##
   2167 ## ----------- ##
   2168 _ASBOX
   2169       echo
   2170       cat confdefs.h
   2171       echo
   2172     fi
   2173     test "$ac_signal" != 0 &&
   2174       $as_echo "$as_me: caught signal $ac_signal"
   2175     $as_echo "$as_me: exit $exit_status"
   2176   } >&5
   2177   rm -f core *.core core.conftest.* &&
   2178     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2179     exit $exit_status
   2180 ' 0
   2181 for ac_signal in 1 2 13 15; do
   2182   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2183 done
   2184 ac_signal=0
   2185 
   2186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2187 rm -f -r conftest* confdefs.h
   2188 
   2189 $as_echo "/* confdefs.h */" > confdefs.h
   2190 
   2191 # Predefined preprocessor variables.
   2192 
   2193 cat >>confdefs.h <<_ACEOF
   2194 #define PACKAGE_NAME "$PACKAGE_NAME"
   2195 _ACEOF
   2196 
   2197 cat >>confdefs.h <<_ACEOF
   2198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2199 _ACEOF
   2200 
   2201 cat >>confdefs.h <<_ACEOF
   2202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2203 _ACEOF
   2204 
   2205 cat >>confdefs.h <<_ACEOF
   2206 #define PACKAGE_STRING "$PACKAGE_STRING"
   2207 _ACEOF
   2208 
   2209 cat >>confdefs.h <<_ACEOF
   2210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2211 _ACEOF
   2212 
   2213 cat >>confdefs.h <<_ACEOF
   2214 #define PACKAGE_URL "$PACKAGE_URL"
   2215 _ACEOF
   2216 
   2217 
   2218 # Let the site file select an alternate cache file if it wants to.
   2219 # Prefer an explicitly selected file to automatically selected ones.
   2220 ac_site_file1=NONE
   2221 ac_site_file2=NONE
   2222 if test -n "$CONFIG_SITE"; then
   2223   ac_site_file1=$CONFIG_SITE
   2224 elif test "x$prefix" != xNONE; then
   2225   ac_site_file1=$prefix/share/config.site
   2226   ac_site_file2=$prefix/etc/config.site
   2227 else
   2228   ac_site_file1=$ac_default_prefix/share/config.site
   2229   ac_site_file2=$ac_default_prefix/etc/config.site
   2230 fi
   2231 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2232 do
   2233   test "x$ac_site_file" = xNONE && continue
   2234   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2235     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2236 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2237     sed 's/^/| /' "$ac_site_file" >&5
   2238     . "$ac_site_file"
   2239   fi
   2240 done
   2241 
   2242 if test -r "$cache_file"; then
   2243   # Some versions of bash will fail to source /dev/null (special files
   2244   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2245   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2246     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2247 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2248     case $cache_file in
   2249       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2250       *)                      . "./$cache_file";;
   2251     esac
   2252   fi
   2253 else
   2254   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2255 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2256   >$cache_file
   2257 fi
   2258 
   2259 # Check that the precious variables saved in the cache have kept the same
   2260 # value.
   2261 ac_cache_corrupted=false
   2262 for ac_var in $ac_precious_vars; do
   2263   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2264   eval ac_new_set=\$ac_env_${ac_var}_set
   2265   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2266   eval ac_new_val=\$ac_env_${ac_var}_value
   2267   case $ac_old_set,$ac_new_set in
   2268     set,)
   2269       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2270 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2271       ac_cache_corrupted=: ;;
   2272     ,set)
   2273       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2274 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2275       ac_cache_corrupted=: ;;
   2276     ,);;
   2277     *)
   2278       if test "x$ac_old_val" != "x$ac_new_val"; then
   2279 	# differences in whitespace do not lead to failure.
   2280 	ac_old_val_w=`echo x $ac_old_val`
   2281 	ac_new_val_w=`echo x $ac_new_val`
   2282 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2283 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2285 	  ac_cache_corrupted=:
   2286 	else
   2287 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2289 	  eval $ac_var=\$ac_old_val
   2290 	fi
   2291 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2292 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2293 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2294 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2295       fi;;
   2296   esac
   2297   # Pass precious variables to config.status.
   2298   if test "$ac_new_set" = set; then
   2299     case $ac_new_val in
   2300     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2301     *) ac_arg=$ac_var=$ac_new_val ;;
   2302     esac
   2303     case " $ac_configure_args " in
   2304       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2305       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2306     esac
   2307   fi
   2308 done
   2309 if $ac_cache_corrupted; then
   2310   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2312   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2314   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2315 fi
   2316 ## -------------------- ##
   2317 ## Main body of script. ##
   2318 ## -------------------- ##
   2319 
   2320 ac_ext=c
   2321 ac_cpp='$CPP $CPPFLAGS'
   2322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2325 
   2326 
   2327 
   2328 
   2329 
   2330 
   2331 # Autoconf setup
   2332 ac_aux_dir=
   2333 for ac_dir in config "$srcdir"/config; do
   2334   for ac_t in install-sh install.sh shtool; do
   2335     if test -f "$ac_dir/$ac_t"; then
   2336       ac_aux_dir=$ac_dir
   2337       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2338       break 2
   2339     fi
   2340   done
   2341 done
   2342 if test -z "$ac_aux_dir"; then
   2343   as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
   2344 fi
   2345 
   2346 # These three variables are undocumented and unsupported,
   2347 # and are intended to be withdrawn in a future Autoconf release.
   2348 # They can cause serious problems if a builder's source tree is in a directory
   2349 # whose full name contains unusual characters.
   2350 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2351 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2352 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2353 
   2354 
   2355 
   2356 ac_config_headers="$ac_config_headers config.h"
   2357 
   2358 
   2359 # Automake setup
   2360 am__api_version="1.9"
   2361 # Find a good install program.  We prefer a C program (faster),
   2362 # so one script is as good as another.  But avoid the broken or
   2363 # incompatible versions:
   2364 # SysV /etc/install, /usr/sbin/install
   2365 # SunOS /usr/etc/install
   2366 # IRIX /sbin/install
   2367 # AIX /bin/install
   2368 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2372 # OS/2's system install, which has a completely different semantic
   2373 # ./install, which can be erroneously created by make from ./install.sh.
   2374 # Reject install programs that cannot install multiple files.
   2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2376 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2377 if test -z "$INSTALL"; then
   2378 if test "${ac_cv_path_install+set}" = set; then :
   2379   $as_echo_n "(cached) " >&6
   2380 else
   2381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386     # Account for people who put trailing slashes in PATH elements.
   2387 case $as_dir/ in #((
   2388   ./ | .// | /[cC]/* | \
   2389   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2390   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2391   /usr/ucb/* ) ;;
   2392   *)
   2393     # OSF1 and SCO ODT 3.0 have their own names for install.
   2394     # Don't use installbsd from OSF since it installs stuff as root
   2395     # by default.
   2396     for ac_prog in ginstall scoinst install; do
   2397       for ac_exec_ext in '' $ac_executable_extensions; do
   2398 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2399 	  if test $ac_prog = install &&
   2400 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2401 	    # AIX install.  It has an incompatible calling convention.
   2402 	    :
   2403 	  elif test $ac_prog = install &&
   2404 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2405 	    # program-specific install script used by HP pwplus--don't use.
   2406 	    :
   2407 	  else
   2408 	    rm -rf conftest.one conftest.two conftest.dir
   2409 	    echo one > conftest.one
   2410 	    echo two > conftest.two
   2411 	    mkdir conftest.dir
   2412 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2413 	      test -s conftest.one && test -s conftest.two &&
   2414 	      test -s conftest.dir/conftest.one &&
   2415 	      test -s conftest.dir/conftest.two
   2416 	    then
   2417 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2418 	      break 3
   2419 	    fi
   2420 	  fi
   2421 	fi
   2422       done
   2423     done
   2424     ;;
   2425 esac
   2426 
   2427   done
   2428 IFS=$as_save_IFS
   2429 
   2430 rm -rf conftest.one conftest.two conftest.dir
   2431 
   2432 fi
   2433   if test "${ac_cv_path_install+set}" = set; then
   2434     INSTALL=$ac_cv_path_install
   2435   else
   2436     # As a last resort, use the slow shell script.  Don't cache a
   2437     # value for INSTALL within a source directory, because that will
   2438     # break other packages using the cache if that directory is
   2439     # removed, or if the value is a relative name.
   2440     INSTALL=$ac_install_sh
   2441   fi
   2442 fi
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2444 $as_echo "$INSTALL" >&6; }
   2445 
   2446 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2447 # It thinks the first close brace ends the variable substitution.
   2448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2449 
   2450 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2451 
   2452 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2453 
   2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2455 $as_echo_n "checking whether build environment is sane... " >&6; }
   2456 # Just in case
   2457 sleep 1
   2458 echo timestamp > conftest.file
   2459 # Do `set' in a subshell so we don't clobber the current shell's
   2460 # arguments.  Must try -L first in case configure is actually a
   2461 # symlink; some systems play weird games with the mod time of symlinks
   2462 # (eg FreeBSD returns the mod time of the symlink's containing
   2463 # directory).
   2464 if (
   2465    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2466    if test "$*" = "X"; then
   2467       # -L didn't work.
   2468       set X `ls -t $srcdir/configure conftest.file`
   2469    fi
   2470    rm -f conftest.file
   2471    if test "$*" != "X $srcdir/configure conftest.file" \
   2472       && test "$*" != "X conftest.file $srcdir/configure"; then
   2473 
   2474       # If neither matched, then we have a broken ls.  This can happen
   2475       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2476       # broken ls alias from the environment.  This has actually
   2477       # happened.  Such a system could not be considered "sane".
   2478       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2479 alias in your environment" "$LINENO" 5
   2480    fi
   2481 
   2482    test "$2" = conftest.file
   2483    )
   2484 then
   2485    # Ok.
   2486    :
   2487 else
   2488    as_fn_error "newly created file is older than distributed files!
   2489 Check your system clock" "$LINENO" 5
   2490 fi
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2492 $as_echo "yes" >&6; }
   2493 test "$program_prefix" != NONE &&
   2494   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2495 # Use a double $ so make ignores it.
   2496 test "$program_suffix" != NONE &&
   2497   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2498 # Double any \ or $.
   2499 # By default was `s,x,x', remove it if useless.
   2500 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2501 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2502 
   2503 # expand $ac_aux_dir to an absolute path
   2504 am_aux_dir=`cd $ac_aux_dir && pwd`
   2505 
   2506 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2507 # Use eval to expand $SHELL
   2508 if eval "$MISSING --run true"; then
   2509   am_missing_run="$MISSING --run "
   2510 else
   2511   am_missing_run=
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2513 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2514 fi
   2515 
   2516 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   2517   # We used to keeping the `.' as first argument, in order to
   2518   # allow $(mkdir_p) to be used without argument.  As in
   2519   #   $(mkdir_p) $(somedir)
   2520   # where $(somedir) is conditionally defined.  However this is wrong
   2521   # for two reasons:
   2522   #  1. if the package is installed by a user who cannot write `.'
   2523   #     make install will fail,
   2524   #  2. the above comment should most certainly read
   2525   #     $(mkdir_p) $(DESTDIR)$(somedir)
   2526   #     so it does not work when $(somedir) is undefined and
   2527   #     $(DESTDIR) is not.
   2528   #  To support the latter case, we have to write
   2529   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   2530   #  so the `.' trick is pointless.
   2531   mkdir_p='mkdir -p --'
   2532 else
   2533   # On NextStep and OpenStep, the `mkdir' command does not
   2534   # recognize any option.  It will interpret all options as
   2535   # directories to create, and then abort because `.' already
   2536   # exists.
   2537   for d in ./-p ./--version;
   2538   do
   2539     test -d $d && rmdir $d
   2540   done
   2541   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   2542   if test -f "$ac_aux_dir/mkinstalldirs"; then
   2543     mkdir_p='$(mkinstalldirs)'
   2544   else
   2545     mkdir_p='$(install_sh) -d'
   2546   fi
   2547 fi
   2548 
   2549 for ac_prog in gawk mawk nawk awk
   2550 do
   2551   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2552 set dummy $ac_prog; ac_word=$2
   2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2554 $as_echo_n "checking for $ac_word... " >&6; }
   2555 if test "${ac_cv_prog_AWK+set}" = set; then :
   2556   $as_echo_n "(cached) " >&6
   2557 else
   2558   if test -n "$AWK"; then
   2559   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2560 else
   2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2562 for as_dir in $PATH
   2563 do
   2564   IFS=$as_save_IFS
   2565   test -z "$as_dir" && as_dir=.
   2566     for ac_exec_ext in '' $ac_executable_extensions; do
   2567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2568     ac_cv_prog_AWK="$ac_prog"
   2569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2570     break 2
   2571   fi
   2572 done
   2573   done
   2574 IFS=$as_save_IFS
   2575 
   2576 fi
   2577 fi
   2578 AWK=$ac_cv_prog_AWK
   2579 if test -n "$AWK"; then
   2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2581 $as_echo "$AWK" >&6; }
   2582 else
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2584 $as_echo "no" >&6; }
   2585 fi
   2586 
   2587 
   2588   test -n "$AWK" && break
   2589 done
   2590 
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2592 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2593 set x ${MAKE-make}
   2594 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2595 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2596   $as_echo_n "(cached) " >&6
   2597 else
   2598   cat >conftest.make <<\_ACEOF
   2599 SHELL = /bin/sh
   2600 all:
   2601 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2602 _ACEOF
   2603 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2604 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2605   *@@@%%%=?*=@@@%%%*)
   2606     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2607   *)
   2608     eval ac_cv_prog_make_${ac_make}_set=no;;
   2609 esac
   2610 rm -f conftest.make
   2611 fi
   2612 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2614 $as_echo "yes" >&6; }
   2615   SET_MAKE=
   2616 else
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2618 $as_echo "no" >&6; }
   2619   SET_MAKE="MAKE=${MAKE-make}"
   2620 fi
   2621 
   2622 rm -rf .tst 2>/dev/null
   2623 mkdir .tst 2>/dev/null
   2624 if test -d .tst; then
   2625   am__leading_dot=.
   2626 else
   2627   am__leading_dot=_
   2628 fi
   2629 rmdir .tst 2>/dev/null
   2630 
   2631 # test to see if srcdir already configured
   2632 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   2633    test -f $srcdir/config.status; then
   2634   as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2635 fi
   2636 
   2637 # test whether we have cygpath
   2638 if test -z "$CYGPATH_W"; then
   2639   if (cygpath --version) >/dev/null 2>/dev/null; then
   2640     CYGPATH_W='cygpath -w'
   2641   else
   2642     CYGPATH_W=echo
   2643   fi
   2644 fi
   2645 
   2646 
   2647 # Define the identity of the package.
   2648  PACKAGE='make'
   2649  VERSION='3.81'
   2650 
   2651 
   2652 cat >>confdefs.h <<_ACEOF
   2653 #define PACKAGE "$PACKAGE"
   2654 _ACEOF
   2655 
   2656 
   2657 cat >>confdefs.h <<_ACEOF
   2658 #define VERSION "$VERSION"
   2659 _ACEOF
   2660 
   2661 # Some tools Automake needs.
   2662 
   2663 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2664 
   2665 
   2666 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2667 
   2668 
   2669 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2670 
   2671 
   2672 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2673 
   2674 
   2675 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2676 
   2677 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   2678 
   2679 # Installed binaries are usually stripped using `strip' when the user
   2680 # run `make install-strip'.  However `strip' might not be the right
   2681 # tool to use in cross-compilation environments, therefore Automake
   2682 # will honor the `STRIP' environment variable to overrule this program.
   2683 if test "$cross_compiling" != no; then
   2684   if test -n "$ac_tool_prefix"; then
   2685   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2686 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2688 $as_echo_n "checking for $ac_word... " >&6; }
   2689 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   if test -n "$STRIP"; then
   2693   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2694 else
   2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH
   2697 do
   2698   IFS=$as_save_IFS
   2699   test -z "$as_dir" && as_dir=.
   2700     for ac_exec_ext in '' $ac_executable_extensions; do
   2701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2702     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2704     break 2
   2705   fi
   2706 done
   2707   done
   2708 IFS=$as_save_IFS
   2709 
   2710 fi
   2711 fi
   2712 STRIP=$ac_cv_prog_STRIP
   2713 if test -n "$STRIP"; then
   2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2715 $as_echo "$STRIP" >&6; }
   2716 else
   2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2718 $as_echo "no" >&6; }
   2719 fi
   2720 
   2721 
   2722 fi
   2723 if test -z "$ac_cv_prog_STRIP"; then
   2724   ac_ct_STRIP=$STRIP
   2725   # Extract the first word of "strip", so it can be a program name with args.
   2726 set dummy strip; ac_word=$2
   2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2728 $as_echo_n "checking for $ac_word... " >&6; }
   2729 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2730   $as_echo_n "(cached) " >&6
   2731 else
   2732   if test -n "$ac_ct_STRIP"; then
   2733   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2734 else
   2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2736 for as_dir in $PATH
   2737 do
   2738   IFS=$as_save_IFS
   2739   test -z "$as_dir" && as_dir=.
   2740     for ac_exec_ext in '' $ac_executable_extensions; do
   2741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2742     ac_cv_prog_ac_ct_STRIP="strip"
   2743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2744     break 2
   2745   fi
   2746 done
   2747   done
   2748 IFS=$as_save_IFS
   2749 
   2750 fi
   2751 fi
   2752 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2753 if test -n "$ac_ct_STRIP"; then
   2754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2755 $as_echo "$ac_ct_STRIP" >&6; }
   2756 else
   2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2758 $as_echo "no" >&6; }
   2759 fi
   2760 
   2761   if test "x$ac_ct_STRIP" = x; then
   2762     STRIP=":"
   2763   else
   2764     case $cross_compiling:$ac_tool_warned in
   2765 yes:)
   2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2768 ac_tool_warned=yes ;;
   2769 esac
   2770     STRIP=$ac_ct_STRIP
   2771   fi
   2772 else
   2773   STRIP="$ac_cv_prog_STRIP"
   2774 fi
   2775 
   2776 fi
   2777 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   2778 
   2779 # We need awk for the "check" target.  The system "awk" is bad on
   2780 # some platforms.
   2781 # Always define AMTAR for backward compatibility.
   2782 
   2783 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2784 
   2785 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 # Checks for programs.
   2793 ac_ext=c
   2794 ac_cpp='$CPP $CPPFLAGS'
   2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2798 if test -n "$ac_tool_prefix"; then
   2799   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2802 $as_echo_n "checking for $ac_word... " >&6; }
   2803 if test "${ac_cv_prog_CC+set}" = set; then :
   2804   $as_echo_n "(cached) " >&6
   2805 else
   2806   if test -n "$CC"; then
   2807   ac_cv_prog_CC="$CC" # Let the user override the test.
   2808 else
   2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2810 for as_dir in $PATH
   2811 do
   2812   IFS=$as_save_IFS
   2813   test -z "$as_dir" && as_dir=.
   2814     for ac_exec_ext in '' $ac_executable_extensions; do
   2815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2816     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2818     break 2
   2819   fi
   2820 done
   2821   done
   2822 IFS=$as_save_IFS
   2823 
   2824 fi
   2825 fi
   2826 CC=$ac_cv_prog_CC
   2827 if test -n "$CC"; then
   2828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2829 $as_echo "$CC" >&6; }
   2830 else
   2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2832 $as_echo "no" >&6; }
   2833 fi
   2834 
   2835 
   2836 fi
   2837 if test -z "$ac_cv_prog_CC"; then
   2838   ac_ct_CC=$CC
   2839   # Extract the first word of "gcc", so it can be a program name with args.
   2840 set dummy gcc; ac_word=$2
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 $as_echo_n "checking for $ac_word... " >&6; }
   2843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   if test -n "$ac_ct_CC"; then
   2847   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854     for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2856     ac_cv_prog_ac_ct_CC="gcc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2867 if test -n "$ac_ct_CC"; then
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2869 $as_echo "$ac_ct_CC" >&6; }
   2870 else
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2872 $as_echo "no" >&6; }
   2873 fi
   2874 
   2875   if test "x$ac_ct_CC" = x; then
   2876     CC=""
   2877   else
   2878     case $cross_compiling:$ac_tool_warned in
   2879 yes:)
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2882 ac_tool_warned=yes ;;
   2883 esac
   2884     CC=$ac_ct_CC
   2885   fi
   2886 else
   2887   CC="$ac_cv_prog_CC"
   2888 fi
   2889 
   2890 if test -z "$CC"; then
   2891           if test -n "$ac_tool_prefix"; then
   2892     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if test "${ac_cv_prog_CC+set}" = set; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$CC"; then
   2900   ac_cv_prog_CC="$CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 CC=$ac_cv_prog_CC
   2920 if test -n "$CC"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2922 $as_echo "$CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   fi
   2930 fi
   2931 if test -z "$CC"; then
   2932   # Extract the first word of "cc", so it can be a program name with args.
   2933 set dummy cc; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if test "${ac_cv_prog_CC+set}" = set; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$CC"; then
   2940   ac_cv_prog_CC="$CC" # Let the user override the test.
   2941 else
   2942   ac_prog_rejected=no
   2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2944 for as_dir in $PATH
   2945 do
   2946   IFS=$as_save_IFS
   2947   test -z "$as_dir" && as_dir=.
   2948     for ac_exec_ext in '' $ac_executable_extensions; do
   2949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2950     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2951        ac_prog_rejected=yes
   2952        continue
   2953      fi
   2954     ac_cv_prog_CC="cc"
   2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2956     break 2
   2957   fi
   2958 done
   2959   done
   2960 IFS=$as_save_IFS
   2961 
   2962 if test $ac_prog_rejected = yes; then
   2963   # We found a bogon in the path, so make sure we never use it.
   2964   set dummy $ac_cv_prog_CC
   2965   shift
   2966   if test $# != 0; then
   2967     # We chose a different compiler from the bogus one.
   2968     # However, it has the same basename, so the bogon will be chosen
   2969     # first if we set CC to just the basename; use the full file name.
   2970     shift
   2971     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2972   fi
   2973 fi
   2974 fi
   2975 fi
   2976 CC=$ac_cv_prog_CC
   2977 if test -n "$CC"; then
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2979 $as_echo "$CC" >&6; }
   2980 else
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2982 $as_echo "no" >&6; }
   2983 fi
   2984 
   2985 
   2986 fi
   2987 if test -z "$CC"; then
   2988   if test -n "$ac_tool_prefix"; then
   2989   for ac_prog in cl.exe
   2990   do
   2991     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if test "${ac_cv_prog_CC+set}" = set; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$CC"; then
   2999   ac_cv_prog_CC="$CC" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006     for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3008     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013   done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 CC=$ac_cv_prog_CC
   3019 if test -n "$CC"; then
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3021 $as_echo "$CC" >&6; }
   3022 else
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028     test -n "$CC" && break
   3029   done
   3030 fi
   3031 if test -z "$CC"; then
   3032   ac_ct_CC=$CC
   3033   for ac_prog in cl.exe
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$ac_ct_CC"; then
   3043   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3044 else
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3052     ac_cv_prog_ac_ct_CC="$ac_prog"
   3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi
   3061 fi
   3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3063 if test -n "$ac_ct_CC"; then
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3065 $as_echo "$ac_ct_CC" >&6; }
   3066 else
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072   test -n "$ac_ct_CC" && break
   3073 done
   3074 
   3075   if test "x$ac_ct_CC" = x; then
   3076     CC=""
   3077   else
   3078     case $cross_compiling:$ac_tool_warned in
   3079 yes:)
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3082 ac_tool_warned=yes ;;
   3083 esac
   3084     CC=$ac_ct_CC
   3085   fi
   3086 fi
   3087 
   3088 fi
   3089 
   3090 
   3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3093 as_fn_error "no acceptable C compiler found in \$PATH
   3094 See \`config.log' for more details." "$LINENO" 5; }
   3095 
   3096 # Provide some information about the compiler.
   3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3098 set X $ac_compile
   3099 ac_compiler=$2
   3100 for ac_option in --version -v -V -qversion; do
   3101   { { ac_try="$ac_compiler $ac_option >&5"
   3102 case "(($ac_try" in
   3103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3104   *) ac_try_echo=$ac_try;;
   3105 esac
   3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3107 $as_echo "$ac_try_echo"; } >&5
   3108   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3109   ac_status=$?
   3110   if test -s conftest.err; then
   3111     sed '10a\
   3112 ... rest of stderr output deleted ...
   3113          10q' conftest.err >conftest.er1
   3114     cat conftest.er1 >&5
   3115   fi
   3116   rm -f conftest.er1 conftest.err
   3117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3118   test $ac_status = 0; }
   3119 done
   3120 
   3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3122 /* end confdefs.h.  */
   3123 
   3124 int
   3125 main ()
   3126 {
   3127 
   3128   ;
   3129   return 0;
   3130 }
   3131 _ACEOF
   3132 ac_clean_files_save=$ac_clean_files
   3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3134 # Try to create an executable without -o first, disregard a.out.
   3135 # It will help us diagnose broken compilers, and finding out an intuition
   3136 # of exeext.
   3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3138 $as_echo_n "checking whether the C compiler works... " >&6; }
   3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3140 
   3141 # The possible output files:
   3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3143 
   3144 ac_rmfiles=
   3145 for ac_file in $ac_files
   3146 do
   3147   case $ac_file in
   3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3149     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3150   esac
   3151 done
   3152 rm -f $ac_rmfiles
   3153 
   3154 if { { ac_try="$ac_link_default"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3160 $as_echo "$ac_try_echo"; } >&5
   3161   (eval "$ac_link_default") 2>&5
   3162   ac_status=$?
   3163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3164   test $ac_status = 0; }; then :
   3165   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3167 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3168 # so that the user can short-circuit this test for compilers unknown to
   3169 # Autoconf.
   3170 for ac_file in $ac_files ''
   3171 do
   3172   test -f "$ac_file" || continue
   3173   case $ac_file in
   3174     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3175 	;;
   3176     [ab].out )
   3177 	# We found the default executable, but exeext='' is most
   3178 	# certainly right.
   3179 	break;;
   3180     *.* )
   3181 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3182 	then :; else
   3183 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3184 	fi
   3185 	# We set ac_cv_exeext here because the later test for it is not
   3186 	# safe: cross compilers may not add the suffix if given an `-o'
   3187 	# argument, so we may need to know it at that point already.
   3188 	# Even if this section looks crufty: it has the advantage of
   3189 	# actually working.
   3190 	break;;
   3191     * )
   3192 	break;;
   3193   esac
   3194 done
   3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3196 
   3197 else
   3198   ac_file=''
   3199 fi
   3200 if test -z "$ac_file"; then :
   3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 $as_echo "no" >&6; }
   3203 $as_echo "$as_me: failed program was:" >&5
   3204 sed 's/^/| /' conftest.$ac_ext >&5
   3205 
   3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3208 { as_fn_set_status 77
   3209 as_fn_error "C compiler cannot create executables
   3210 See \`config.log' for more details." "$LINENO" 5; }; }
   3211 else
   3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3213 $as_echo "yes" >&6; }
   3214 fi
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3216 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3218 $as_echo "$ac_file" >&6; }
   3219 ac_exeext=$ac_cv_exeext
   3220 
   3221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3222 ac_clean_files=$ac_clean_files_save
   3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3224 $as_echo_n "checking for suffix of executables... " >&6; }
   3225 if { { ac_try="$ac_link"
   3226 case "(($ac_try" in
   3227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3228   *) ac_try_echo=$ac_try;;
   3229 esac
   3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3231 $as_echo "$ac_try_echo"; } >&5
   3232   (eval "$ac_link") 2>&5
   3233   ac_status=$?
   3234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3235   test $ac_status = 0; }; then :
   3236   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3237 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3238 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3239 # `rm'.
   3240 for ac_file in conftest.exe conftest conftest.*; do
   3241   test -f "$ac_file" || continue
   3242   case $ac_file in
   3243     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3244     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3245 	  break;;
   3246     * ) break;;
   3247   esac
   3248 done
   3249 else
   3250   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3252 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3253 See \`config.log' for more details." "$LINENO" 5; }
   3254 fi
   3255 rm -f conftest conftest$ac_cv_exeext
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3257 $as_echo "$ac_cv_exeext" >&6; }
   3258 
   3259 rm -f conftest.$ac_ext
   3260 EXEEXT=$ac_cv_exeext
   3261 ac_exeext=$EXEEXT
   3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3263 /* end confdefs.h.  */
   3264 #include <stdio.h>
   3265 int
   3266 main ()
   3267 {
   3268 FILE *f = fopen ("conftest.out", "w");
   3269  return ferror (f) || fclose (f) != 0;
   3270 
   3271   ;
   3272   return 0;
   3273 }
   3274 _ACEOF
   3275 ac_clean_files="$ac_clean_files conftest.out"
   3276 # Check that the compiler produces executables we can run.  If not, either
   3277 # the compiler is broken, or we cross compile.
   3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3279 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3280 if test "$cross_compiling" != yes; then
   3281   { { ac_try="$ac_link"
   3282 case "(($ac_try" in
   3283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3284   *) ac_try_echo=$ac_try;;
   3285 esac
   3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3287 $as_echo "$ac_try_echo"; } >&5
   3288   (eval "$ac_link") 2>&5
   3289   ac_status=$?
   3290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3291   test $ac_status = 0; }
   3292   if { ac_try='./conftest$ac_cv_exeext'
   3293   { { case "(($ac_try" in
   3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3295   *) ac_try_echo=$ac_try;;
   3296 esac
   3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3298 $as_echo "$ac_try_echo"; } >&5
   3299   (eval "$ac_try") 2>&5
   3300   ac_status=$?
   3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3302   test $ac_status = 0; }; }; then
   3303     cross_compiling=no
   3304   else
   3305     if test "$cross_compiling" = maybe; then
   3306 	cross_compiling=yes
   3307     else
   3308 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3310 as_fn_error "cannot run C compiled programs.
   3311 If you meant to cross compile, use \`--host'.
   3312 See \`config.log' for more details." "$LINENO" 5; }
   3313     fi
   3314   fi
   3315 fi
   3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3317 $as_echo "$cross_compiling" >&6; }
   3318 
   3319 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3320 ac_clean_files=$ac_clean_files_save
   3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3322 $as_echo_n "checking for suffix of object files... " >&6; }
   3323 if test "${ac_cv_objext+set}" = set; then :
   3324   $as_echo_n "(cached) " >&6
   3325 else
   3326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3327 /* end confdefs.h.  */
   3328 
   3329 int
   3330 main ()
   3331 {
   3332 
   3333   ;
   3334   return 0;
   3335 }
   3336 _ACEOF
   3337 rm -f conftest.o conftest.obj
   3338 if { { ac_try="$ac_compile"
   3339 case "(($ac_try" in
   3340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3341   *) ac_try_echo=$ac_try;;
   3342 esac
   3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3344 $as_echo "$ac_try_echo"; } >&5
   3345   (eval "$ac_compile") 2>&5
   3346   ac_status=$?
   3347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3348   test $ac_status = 0; }; then :
   3349   for ac_file in conftest.o conftest.obj conftest.*; do
   3350   test -f "$ac_file" || continue;
   3351   case $ac_file in
   3352     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3353     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3354        break;;
   3355   esac
   3356 done
   3357 else
   3358   $as_echo "$as_me: failed program was:" >&5
   3359 sed 's/^/| /' conftest.$ac_ext >&5
   3360 
   3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3363 as_fn_error "cannot compute suffix of object files: cannot compile
   3364 See \`config.log' for more details." "$LINENO" 5; }
   3365 fi
   3366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3367 fi
   3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3369 $as_echo "$ac_cv_objext" >&6; }
   3370 OBJEXT=$ac_cv_objext
   3371 ac_objext=$OBJEXT
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3373 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3374 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3375   $as_echo_n "(cached) " >&6
   3376 else
   3377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3378 /* end confdefs.h.  */
   3379 
   3380 int
   3381 main ()
   3382 {
   3383 #ifndef __GNUC__
   3384        choke me
   3385 #endif
   3386 
   3387   ;
   3388   return 0;
   3389 }
   3390 _ACEOF
   3391 if ac_fn_c_try_compile "$LINENO"; then :
   3392   ac_compiler_gnu=yes
   3393 else
   3394   ac_compiler_gnu=no
   3395 fi
   3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3398 
   3399 fi
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3401 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3402 if test $ac_compiler_gnu = yes; then
   3403   GCC=yes
   3404 else
   3405   GCC=
   3406 fi
   3407 ac_test_CFLAGS=${CFLAGS+set}
   3408 ac_save_CFLAGS=$CFLAGS
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3410 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3411 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3412   $as_echo_n "(cached) " >&6
   3413 else
   3414   ac_save_c_werror_flag=$ac_c_werror_flag
   3415    ac_c_werror_flag=yes
   3416    ac_cv_prog_cc_g=no
   3417    CFLAGS="-g"
   3418    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3419 /* end confdefs.h.  */
   3420 
   3421 int
   3422 main ()
   3423 {
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 if ac_fn_c_try_compile "$LINENO"; then :
   3430   ac_cv_prog_cc_g=yes
   3431 else
   3432   CFLAGS=""
   3433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3434 /* end confdefs.h.  */
   3435 
   3436 int
   3437 main ()
   3438 {
   3439 
   3440   ;
   3441   return 0;
   3442 }
   3443 _ACEOF
   3444 if ac_fn_c_try_compile "$LINENO"; then :
   3445 
   3446 else
   3447   ac_c_werror_flag=$ac_save_c_werror_flag
   3448 	 CFLAGS="-g"
   3449 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3450 /* end confdefs.h.  */
   3451 
   3452 int
   3453 main ()
   3454 {
   3455 
   3456   ;
   3457   return 0;
   3458 }
   3459 _ACEOF
   3460 if ac_fn_c_try_compile "$LINENO"; then :
   3461   ac_cv_prog_cc_g=yes
   3462 fi
   3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3464 fi
   3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3466 fi
   3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3468    ac_c_werror_flag=$ac_save_c_werror_flag
   3469 fi
   3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3471 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3472 if test "$ac_test_CFLAGS" = set; then
   3473   CFLAGS=$ac_save_CFLAGS
   3474 elif test $ac_cv_prog_cc_g = yes; then
   3475   if test "$GCC" = yes; then
   3476     CFLAGS="-g -O2"
   3477   else
   3478     CFLAGS="-g"
   3479   fi
   3480 else
   3481   if test "$GCC" = yes; then
   3482     CFLAGS="-O2"
   3483   else
   3484     CFLAGS=
   3485   fi
   3486 fi
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3488 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3489 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3490   $as_echo_n "(cached) " >&6
   3491 else
   3492   ac_cv_prog_cc_c89=no
   3493 ac_save_CC=$CC
   3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3495 /* end confdefs.h.  */
   3496 #include <stdarg.h>
   3497 #include <stdio.h>
   3498 #include <sys/types.h>
   3499 #include <sys/stat.h>
   3500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3501 struct buf { int x; };
   3502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3503 static char *e (p, i)
   3504      char **p;
   3505      int i;
   3506 {
   3507   return p[i];
   3508 }
   3509 static char *f (char * (*g) (char **, int), char **p, ...)
   3510 {
   3511   char *s;
   3512   va_list v;
   3513   va_start (v,p);
   3514   s = g (p, va_arg (v,int));
   3515   va_end (v);
   3516   return s;
   3517 }
   3518 
   3519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3520    function prototypes and stuff, but not '\xHH' hex character constants.
   3521    These don't provoke an error unfortunately, instead are silently treated
   3522    as 'x'.  The following induces an error, until -std is added to get
   3523    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3524    array size at least.  It's necessary to write '\x00'==0 to get something
   3525    that's true only with -std.  */
   3526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3527 
   3528 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3529    inside strings and character constants.  */
   3530 #define FOO(x) 'x'
   3531 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3532 
   3533 int test (int i, double x);
   3534 struct s1 {int (*f) (int a);};
   3535 struct s2 {int (*f) (double a);};
   3536 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3537 int argc;
   3538 char **argv;
   3539 int
   3540 main ()
   3541 {
   3542 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3543   ;
   3544   return 0;
   3545 }
   3546 _ACEOF
   3547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3548 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3549 do
   3550   CC="$ac_save_CC $ac_arg"
   3551   if ac_fn_c_try_compile "$LINENO"; then :
   3552   ac_cv_prog_cc_c89=$ac_arg
   3553 fi
   3554 rm -f core conftest.err conftest.$ac_objext
   3555   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3556 done
   3557 rm -f conftest.$ac_ext
   3558 CC=$ac_save_CC
   3559 
   3560 fi
   3561 # AC_CACHE_VAL
   3562 case "x$ac_cv_prog_cc_c89" in
   3563   x)
   3564     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3565 $as_echo "none needed" >&6; } ;;
   3566   xno)
   3567     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3568 $as_echo "unsupported" >&6; } ;;
   3569   *)
   3570     CC="$CC $ac_cv_prog_cc_c89"
   3571     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3572 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3573 esac
   3574 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3575 
   3576 fi
   3577 
   3578 ac_ext=c
   3579 ac_cpp='$CPP $CPPFLAGS'
   3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3583 DEPDIR="${am__leading_dot}deps"
   3584 
   3585 ac_config_commands="$ac_config_commands depfiles"
   3586 
   3587 
   3588 am_make=${MAKE-make}
   3589 cat > confinc << 'END'
   3590 am__doit:
   3591 	@echo done
   3592 .PHONY: am__doit
   3593 END
   3594 # If we don't find an include directive, just comment out the code.
   3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3596 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3597 am__include="#"
   3598 am__quote=
   3599 _am_result=none
   3600 # First try GNU make style include.
   3601 echo "include confinc" > confmf
   3602 # We grep out `Entering directory' and `Leaving directory'
   3603 # messages which can occur if `w' ends up in MAKEFLAGS.
   3604 # In particular we don't look at `^make:' because GNU make might
   3605 # be invoked under some other name (usually "gmake"), in which
   3606 # case it prints its new name instead of `make'.
   3607 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3608    am__include=include
   3609    am__quote=
   3610    _am_result=GNU
   3611 fi
   3612 # Now try BSD make style include.
   3613 if test "$am__include" = "#"; then
   3614    echo '.include "confinc"' > confmf
   3615    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3616       am__include=.include
   3617       am__quote="\""
   3618       _am_result=BSD
   3619    fi
   3620 fi
   3621 
   3622 
   3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3624 $as_echo "$_am_result" >&6; }
   3625 rm -f confinc confmf
   3626 
   3627 # Check whether --enable-dependency-tracking was given.
   3628 if test "${enable_dependency_tracking+set}" = set; then :
   3629   enableval=$enable_dependency_tracking;
   3630 fi
   3631 
   3632 if test "x$enable_dependency_tracking" != xno; then
   3633   am_depcomp="$ac_aux_dir/depcomp"
   3634   AMDEPBACKSLASH='\'
   3635 fi
   3636 
   3637 
   3638 if test "x$enable_dependency_tracking" != xno; then
   3639   AMDEP_TRUE=
   3640   AMDEP_FALSE='#'
   3641 else
   3642   AMDEP_TRUE='#'
   3643   AMDEP_FALSE=
   3644 fi
   3645 
   3646 
   3647 
   3648 
   3649 depcc="$CC"   am_compiler_list=
   3650 
   3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3652 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3653 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3654   $as_echo_n "(cached) " >&6
   3655 else
   3656   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3657   # We make a subdir and do the tests there.  Otherwise we can end up
   3658   # making bogus files that we don't know about and never remove.  For
   3659   # instance it was reported that on HP-UX the gcc test will end up
   3660   # making a dummy file named `D' -- because `-MD' means `put the output
   3661   # in D'.
   3662   mkdir conftest.dir
   3663   # Copy depcomp to subdir because otherwise we won't find it if we're
   3664   # using a relative directory.
   3665   cp "$am_depcomp" conftest.dir
   3666   cd conftest.dir
   3667   # We will build objects and dependencies in a subdirectory because
   3668   # it helps to detect inapplicable dependency modes.  For instance
   3669   # both Tru64's cc and ICC support -MD to output dependencies as a
   3670   # side effect of compilation, but ICC will put the dependencies in
   3671   # the current directory while Tru64 will put them in the object
   3672   # directory.
   3673   mkdir sub
   3674 
   3675   am_cv_CC_dependencies_compiler_type=none
   3676   if test "$am_compiler_list" = ""; then
   3677      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3678   fi
   3679   for depmode in $am_compiler_list; do
   3680     # Setup a source with many dependencies, because some compilers
   3681     # like to wrap large dependency lists on column 80 (with \), and
   3682     # we should not choose a depcomp mode which is confused by this.
   3683     #
   3684     # We need to recreate these files for each test, as the compiler may
   3685     # overwrite some of them when testing with obscure command lines.
   3686     # This happens at least with the AIX C compiler.
   3687     : > sub/conftest.c
   3688     for i in 1 2 3 4 5 6; do
   3689       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3690       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3691       # Solaris 8's {/usr,}/bin/sh.
   3692       touch sub/conftst$i.h
   3693     done
   3694     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3695 
   3696     case $depmode in
   3697     nosideeffect)
   3698       # after this tag, mechanisms are not by side-effect, so they'll
   3699       # only be used when explicitly requested
   3700       if test "x$enable_dependency_tracking" = xyes; then
   3701 	continue
   3702       else
   3703 	break
   3704       fi
   3705       ;;
   3706     none) break ;;
   3707     esac
   3708     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3709     # mode.  It turns out that the SunPro C++ compiler does not properly
   3710     # handle `-M -o', and we need to detect this.
   3711     if depmode=$depmode \
   3712        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3713        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3714        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3715          >/dev/null 2>conftest.err &&
   3716        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3717        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3718        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3719       # icc doesn't choke on unknown options, it will just issue warnings
   3720       # or remarks (even with -Werror).  So we grep stderr for any message
   3721       # that says an option was ignored or not supported.
   3722       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3723       #   icc: Command line warning: ignoring option '-M'; no argument required
   3724       # The diagnosis changed in icc 8.0:
   3725       #   icc: Command line remark: option '-MP' not supported
   3726       if (grep 'ignoring option' conftest.err ||
   3727           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3728         am_cv_CC_dependencies_compiler_type=$depmode
   3729         break
   3730       fi
   3731     fi
   3732   done
   3733 
   3734   cd ..
   3735   rm -rf conftest.dir
   3736 else
   3737   am_cv_CC_dependencies_compiler_type=none
   3738 fi
   3739 
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3742 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3743 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3744 
   3745 
   3746 
   3747 if
   3748   test "x$enable_dependency_tracking" != xno \
   3749   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3750   am__fastdepCC_TRUE=
   3751   am__fastdepCC_FALSE='#'
   3752 else
   3753   am__fastdepCC_TRUE='#'
   3754   am__fastdepCC_FALSE=
   3755 fi
   3756 
   3757 
   3758 
   3759 if test -n "$ac_tool_prefix"; then
   3760   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3761 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3763 $as_echo_n "checking for $ac_word... " >&6; }
   3764 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   3765   $as_echo_n "(cached) " >&6
   3766 else
   3767   if test -n "$RANLIB"; then
   3768   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3769 else
   3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3771 for as_dir in $PATH
   3772 do
   3773   IFS=$as_save_IFS
   3774   test -z "$as_dir" && as_dir=.
   3775     for ac_exec_ext in '' $ac_executable_extensions; do
   3776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3777     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3779     break 2
   3780   fi
   3781 done
   3782   done
   3783 IFS=$as_save_IFS
   3784 
   3785 fi
   3786 fi
   3787 RANLIB=$ac_cv_prog_RANLIB
   3788 if test -n "$RANLIB"; then
   3789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   3790 $as_echo "$RANLIB" >&6; }
   3791 else
   3792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3793 $as_echo "no" >&6; }
   3794 fi
   3795 
   3796 
   3797 fi
   3798 if test -z "$ac_cv_prog_RANLIB"; then
   3799   ac_ct_RANLIB=$RANLIB
   3800   # Extract the first word of "ranlib", so it can be a program name with args.
   3801 set dummy ranlib; ac_word=$2
   3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3803 $as_echo_n "checking for $ac_word... " >&6; }
   3804 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   3805   $as_echo_n "(cached) " >&6
   3806 else
   3807   if test -n "$ac_ct_RANLIB"; then
   3808   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3809 else
   3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3811 for as_dir in $PATH
   3812 do
   3813   IFS=$as_save_IFS
   3814   test -z "$as_dir" && as_dir=.
   3815     for ac_exec_ext in '' $ac_executable_extensions; do
   3816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3817     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3819     break 2
   3820   fi
   3821 done
   3822   done
   3823 IFS=$as_save_IFS
   3824 
   3825 fi
   3826 fi
   3827 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3828 if test -n "$ac_ct_RANLIB"; then
   3829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   3830 $as_echo "$ac_ct_RANLIB" >&6; }
   3831 else
   3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3833 $as_echo "no" >&6; }
   3834 fi
   3835 
   3836   if test "x$ac_ct_RANLIB" = x; then
   3837     RANLIB=":"
   3838   else
   3839     case $cross_compiling:$ac_tool_warned in
   3840 yes:)
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3843 ac_tool_warned=yes ;;
   3844 esac
   3845     RANLIB=$ac_ct_RANLIB
   3846   fi
   3847 else
   3848   RANLIB="$ac_cv_prog_RANLIB"
   3849 fi
   3850 
   3851 ac_ext=c
   3852 ac_cpp='$CPP $CPPFLAGS'
   3853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3857 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3858 # On Suns, sometimes $CPP names a directory.
   3859 if test -n "$CPP" && test -d "$CPP"; then
   3860   CPP=
   3861 fi
   3862 if test -z "$CPP"; then
   3863   if test "${ac_cv_prog_CPP+set}" = set; then :
   3864   $as_echo_n "(cached) " >&6
   3865 else
   3866       # Double quotes because CPP needs to be expanded
   3867     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3868     do
   3869       ac_preproc_ok=false
   3870 for ac_c_preproc_warn_flag in '' yes
   3871 do
   3872   # Use a header file that comes with gcc, so configuring glibc
   3873   # with a fresh cross-compiler works.
   3874   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3875   # <limits.h> exists even on freestanding compilers.
   3876   # On the NeXT, cc -E runs the code through the compiler's parser,
   3877   # not just through cpp. "Syntax error" is here to catch this case.
   3878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3879 /* end confdefs.h.  */
   3880 #ifdef __STDC__
   3881 # include <limits.h>
   3882 #else
   3883 # include <assert.h>
   3884 #endif
   3885 		     Syntax error
   3886 _ACEOF
   3887 if ac_fn_c_try_cpp "$LINENO"; then :
   3888 
   3889 else
   3890   # Broken: fails on valid input.
   3891 continue
   3892 fi
   3893 rm -f conftest.err conftest.$ac_ext
   3894 
   3895   # OK, works on sane cases.  Now check whether nonexistent headers
   3896   # can be detected and how.
   3897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3898 /* end confdefs.h.  */
   3899 #include <ac_nonexistent.h>
   3900 _ACEOF
   3901 if ac_fn_c_try_cpp "$LINENO"; then :
   3902   # Broken: success on invalid input.
   3903 continue
   3904 else
   3905   # Passes both tests.
   3906 ac_preproc_ok=:
   3907 break
   3908 fi
   3909 rm -f conftest.err conftest.$ac_ext
   3910 
   3911 done
   3912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3913 rm -f conftest.err conftest.$ac_ext
   3914 if $ac_preproc_ok; then :
   3915   break
   3916 fi
   3917 
   3918     done
   3919     ac_cv_prog_CPP=$CPP
   3920 
   3921 fi
   3922   CPP=$ac_cv_prog_CPP
   3923 else
   3924   ac_cv_prog_CPP=$CPP
   3925 fi
   3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3927 $as_echo "$CPP" >&6; }
   3928 ac_preproc_ok=false
   3929 for ac_c_preproc_warn_flag in '' yes
   3930 do
   3931   # Use a header file that comes with gcc, so configuring glibc
   3932   # with a fresh cross-compiler works.
   3933   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3934   # <limits.h> exists even on freestanding compilers.
   3935   # On the NeXT, cc -E runs the code through the compiler's parser,
   3936   # not just through cpp. "Syntax error" is here to catch this case.
   3937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3938 /* end confdefs.h.  */
   3939 #ifdef __STDC__
   3940 # include <limits.h>
   3941 #else
   3942 # include <assert.h>
   3943 #endif
   3944 		     Syntax error
   3945 _ACEOF
   3946 if ac_fn_c_try_cpp "$LINENO"; then :
   3947 
   3948 else
   3949   # Broken: fails on valid input.
   3950 continue
   3951 fi
   3952 rm -f conftest.err conftest.$ac_ext
   3953 
   3954   # OK, works on sane cases.  Now check whether nonexistent headers
   3955   # can be detected and how.
   3956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3957 /* end confdefs.h.  */
   3958 #include <ac_nonexistent.h>
   3959 _ACEOF
   3960 if ac_fn_c_try_cpp "$LINENO"; then :
   3961   # Broken: success on invalid input.
   3962 continue
   3963 else
   3964   # Passes both tests.
   3965 ac_preproc_ok=:
   3966 break
   3967 fi
   3968 rm -f conftest.err conftest.$ac_ext
   3969 
   3970 done
   3971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3972 rm -f conftest.err conftest.$ac_ext
   3973 if $ac_preproc_ok; then :
   3974 
   3975 else
   3976   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3978 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   3979 See \`config.log' for more details." "$LINENO" 5; }
   3980 fi
   3981 
   3982 ac_ext=c
   3983 ac_cpp='$CPP $CPPFLAGS'
   3984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3987 
   3988 # Extract the first word of "ar", so it can be a program name with args.
   3989 set dummy ar; ac_word=$2
   3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3991 $as_echo_n "checking for $ac_word... " >&6; }
   3992 if test "${ac_cv_prog_AR+set}" = set; then :
   3993   $as_echo_n "(cached) " >&6
   3994 else
   3995   if test -n "$AR"; then
   3996   ac_cv_prog_AR="$AR" # Let the user override the test.
   3997 else
   3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3999 for as_dir in $PATH
   4000 do
   4001   IFS=$as_save_IFS
   4002   test -z "$as_dir" && as_dir=.
   4003     for ac_exec_ext in '' $ac_executable_extensions; do
   4004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4005     ac_cv_prog_AR="ar"
   4006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4007     break 2
   4008   fi
   4009 done
   4010   done
   4011 IFS=$as_save_IFS
   4012 
   4013   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
   4014 fi
   4015 fi
   4016 AR=$ac_cv_prog_AR
   4017 if test -n "$AR"; then
   4018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4019 $as_echo "$AR" >&6; }
   4020 else
   4021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4022 $as_echo "no" >&6; }
   4023 fi
   4024 
   4025 
   4026 # Perl is needed for the test suite (only)
   4027 # Extract the first word of "perl", so it can be a program name with args.
   4028 set dummy perl; ac_word=$2
   4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4030 $as_echo_n "checking for $ac_word... " >&6; }
   4031 if test "${ac_cv_prog_PERL+set}" = set; then :
   4032   $as_echo_n "(cached) " >&6
   4033 else
   4034   if test -n "$PERL"; then
   4035   ac_cv_prog_PERL="$PERL" # Let the user override the test.
   4036 else
   4037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4038 for as_dir in $PATH
   4039 do
   4040   IFS=$as_save_IFS
   4041   test -z "$as_dir" && as_dir=.
   4042     for ac_exec_ext in '' $ac_executable_extensions; do
   4043   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4044     ac_cv_prog_PERL="perl"
   4045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4046     break 2
   4047   fi
   4048 done
   4049   done
   4050 IFS=$as_save_IFS
   4051 
   4052   test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="perl"
   4053 fi
   4054 fi
   4055 PERL=$ac_cv_prog_PERL
   4056 if test -n "$PERL"; then
   4057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   4058 $as_echo "$PERL" >&6; }
   4059 else
   4060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4061 $as_echo "no" >&6; }
   4062 fi
   4063 
   4064 
   4065 
   4066 # Specialized system macros
   4067 # Make sure we can run config.sub.
   4068 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4069   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4070 
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4072 $as_echo_n "checking build system type... " >&6; }
   4073 if test "${ac_cv_build+set}" = set; then :
   4074   $as_echo_n "(cached) " >&6
   4075 else
   4076   ac_build_alias=$build_alias
   4077 test "x$ac_build_alias" = x &&
   4078   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4079 test "x$ac_build_alias" = x &&
   4080   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   4081 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4082   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4083 
   4084 fi
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4086 $as_echo "$ac_cv_build" >&6; }
   4087 case $ac_cv_build in
   4088 *-*-*) ;;
   4089 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   4090 esac
   4091 build=$ac_cv_build
   4092 ac_save_IFS=$IFS; IFS='-'
   4093 set x $ac_cv_build
   4094 shift
   4095 build_cpu=$1
   4096 build_vendor=$2
   4097 shift; shift
   4098 # Remember, the first character of IFS is used to create $*,
   4099 # except with old shells:
   4100 build_os=$*
   4101 IFS=$ac_save_IFS
   4102 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4103 
   4104 
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4106 $as_echo_n "checking host system type... " >&6; }
   4107 if test "${ac_cv_host+set}" = set; then :
   4108   $as_echo_n "(cached) " >&6
   4109 else
   4110   if test "x$host_alias" = x; then
   4111   ac_cv_host=$ac_cv_build
   4112 else
   4113   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4114     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4115 fi
   4116 
   4117 fi
   4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4119 $as_echo "$ac_cv_host" >&6; }
   4120 case $ac_cv_host in
   4121 *-*-*) ;;
   4122 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   4123 esac
   4124 host=$ac_cv_host
   4125 ac_save_IFS=$IFS; IFS='-'
   4126 set x $ac_cv_host
   4127 shift
   4128 host_cpu=$1
   4129 host_vendor=$2
   4130 shift; shift
   4131 # Remember, the first character of IFS is used to create $*,
   4132 # except with old shells:
   4133 host_os=$*
   4134 IFS=$ac_save_IFS
   4135 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4136 
   4137 
   4138 
   4139 
   4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4141 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4142 if test "${ac_cv_path_GREP+set}" = set; then :
   4143   $as_echo_n "(cached) " >&6
   4144 else
   4145   if test -z "$GREP"; then
   4146   ac_path_GREP_found=false
   4147   # Loop through the user's path and test for each of PROGNAME-LIST
   4148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4149 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4150 do
   4151   IFS=$as_save_IFS
   4152   test -z "$as_dir" && as_dir=.
   4153     for ac_prog in grep ggrep; do
   4154     for ac_exec_ext in '' $ac_executable_extensions; do
   4155       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4156       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4157 # Check for GNU ac_path_GREP and select it if it is found.
   4158   # Check for GNU $ac_path_GREP
   4159 case `"$ac_path_GREP" --version 2>&1` in
   4160 *GNU*)
   4161   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4162 *)
   4163   ac_count=0
   4164   $as_echo_n 0123456789 >"conftest.in"
   4165   while :
   4166   do
   4167     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4168     mv "conftest.tmp" "conftest.in"
   4169     cp "conftest.in" "conftest.nl"
   4170     $as_echo 'GREP' >> "conftest.nl"
   4171     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4172     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4173     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4174     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4175       # Best one so far, save it but keep looking for a better one
   4176       ac_cv_path_GREP="$ac_path_GREP"
   4177       ac_path_GREP_max=$ac_count
   4178     fi
   4179     # 10*(2^10) chars as input seems more than enough
   4180     test $ac_count -gt 10 && break
   4181   done
   4182   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4183 esac
   4184 
   4185       $ac_path_GREP_found && break 3
   4186     done
   4187   done
   4188   done
   4189 IFS=$as_save_IFS
   4190   if test -z "$ac_cv_path_GREP"; then
   4191     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4192   fi
   4193 else
   4194   ac_cv_path_GREP=$GREP
   4195 fi
   4196 
   4197 fi
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4199 $as_echo "$ac_cv_path_GREP" >&6; }
   4200  GREP="$ac_cv_path_GREP"
   4201 
   4202 
   4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4204 $as_echo_n "checking for egrep... " >&6; }
   4205 if test "${ac_cv_path_EGREP+set}" = set; then :
   4206   $as_echo_n "(cached) " >&6
   4207 else
   4208   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4209    then ac_cv_path_EGREP="$GREP -E"
   4210    else
   4211      if test -z "$EGREP"; then
   4212   ac_path_EGREP_found=false
   4213   # Loop through the user's path and test for each of PROGNAME-LIST
   4214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4215 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4216 do
   4217   IFS=$as_save_IFS
   4218   test -z "$as_dir" && as_dir=.
   4219     for ac_prog in egrep; do
   4220     for ac_exec_ext in '' $ac_executable_extensions; do
   4221       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4222       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4223 # Check for GNU ac_path_EGREP and select it if it is found.
   4224   # Check for GNU $ac_path_EGREP
   4225 case `"$ac_path_EGREP" --version 2>&1` in
   4226 *GNU*)
   4227   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4228 *)
   4229   ac_count=0
   4230   $as_echo_n 0123456789 >"conftest.in"
   4231   while :
   4232   do
   4233     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4234     mv "conftest.tmp" "conftest.in"
   4235     cp "conftest.in" "conftest.nl"
   4236     $as_echo 'EGREP' >> "conftest.nl"
   4237     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4238     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4239     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4240     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4241       # Best one so far, save it but keep looking for a better one
   4242       ac_cv_path_EGREP="$ac_path_EGREP"
   4243       ac_path_EGREP_max=$ac_count
   4244     fi
   4245     # 10*(2^10) chars as input seems more than enough
   4246     test $ac_count -gt 10 && break
   4247   done
   4248   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4249 esac
   4250 
   4251       $ac_path_EGREP_found && break 3
   4252     done
   4253   done
   4254   done
   4255 IFS=$as_save_IFS
   4256   if test -z "$ac_cv_path_EGREP"; then
   4257     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4258   fi
   4259 else
   4260   ac_cv_path_EGREP=$EGREP
   4261 fi
   4262 
   4263    fi
   4264 fi
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4266 $as_echo "$ac_cv_path_EGREP" >&6; }
   4267  EGREP="$ac_cv_path_EGREP"
   4268 
   4269 
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4271 $as_echo_n "checking for ANSI C header files... " >&6; }
   4272 if test "${ac_cv_header_stdc+set}" = set; then :
   4273   $as_echo_n "(cached) " >&6
   4274 else
   4275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4276 /* end confdefs.h.  */
   4277 #include <stdlib.h>
   4278 #include <stdarg.h>
   4279 #include <string.h>
   4280 #include <float.h>
   4281 
   4282 int
   4283 main ()
   4284 {
   4285 
   4286   ;
   4287   return 0;
   4288 }
   4289 _ACEOF
   4290 if ac_fn_c_try_compile "$LINENO"; then :
   4291   ac_cv_header_stdc=yes
   4292 else
   4293   ac_cv_header_stdc=no
   4294 fi
   4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4296 
   4297 if test $ac_cv_header_stdc = yes; then
   4298   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4300 /* end confdefs.h.  */
   4301 #include <string.h>
   4302 
   4303 _ACEOF
   4304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4305   $EGREP "memchr" >/dev/null 2>&1; then :
   4306 
   4307 else
   4308   ac_cv_header_stdc=no
   4309 fi
   4310 rm -f conftest*
   4311 
   4312 fi
   4313 
   4314 if test $ac_cv_header_stdc = yes; then
   4315   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 #include <stdlib.h>
   4319 
   4320 _ACEOF
   4321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4322   $EGREP "free" >/dev/null 2>&1; then :
   4323 
   4324 else
   4325   ac_cv_header_stdc=no
   4326 fi
   4327 rm -f conftest*
   4328 
   4329 fi
   4330 
   4331 if test $ac_cv_header_stdc = yes; then
   4332   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4333   if test "$cross_compiling" = yes; then :
   4334   :
   4335 else
   4336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4337 /* end confdefs.h.  */
   4338 #include <ctype.h>
   4339 #include <stdlib.h>
   4340 #if ((' ' & 0x0FF) == 0x020)
   4341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4343 #else
   4344 # define ISLOWER(c) \
   4345 		   (('a' <= (c) && (c) <= 'i') \
   4346 		     || ('j' <= (c) && (c) <= 'r') \
   4347 		     || ('s' <= (c) && (c) <= 'z'))
   4348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4349 #endif
   4350 
   4351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4352 int
   4353 main ()
   4354 {
   4355   int i;
   4356   for (i = 0; i < 256; i++)
   4357     if (XOR (islower (i), ISLOWER (i))
   4358 	|| toupper (i) != TOUPPER (i))
   4359       return 2;
   4360   return 0;
   4361 }
   4362 _ACEOF
   4363 if ac_fn_c_try_run "$LINENO"; then :
   4364 
   4365 else
   4366   ac_cv_header_stdc=no
   4367 fi
   4368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4369   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4370 fi
   4371 
   4372 fi
   4373 fi
   4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4375 $as_echo "$ac_cv_header_stdc" >&6; }
   4376 if test $ac_cv_header_stdc = yes; then
   4377 
   4378 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4379 
   4380 fi
   4381 
   4382 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4383 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4384 		  inttypes.h stdint.h unistd.h
   4385 do :
   4386   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4387 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4388 "
   4389 eval as_val=\$$as_ac_Header
   4390    if test "x$as_val" = x""yes; then :
   4391   cat >>confdefs.h <<_ACEOF
   4392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4393 _ACEOF
   4394 
   4395 fi
   4396 
   4397 done
   4398 
   4399 
   4400 
   4401   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4402 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
   4403   MINIX=yes
   4404 else
   4405   MINIX=
   4406 fi
   4407 
   4408 
   4409   if test "$MINIX" = yes; then
   4410 
   4411 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4412 
   4413 
   4414 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4415 
   4416 
   4417 $as_echo "#define _MINIX 1" >>confdefs.h
   4418 
   4419   fi
   4420 
   4421 
   4422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4423 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4424 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4428 /* end confdefs.h.  */
   4429 
   4430 #	  define __EXTENSIONS__ 1
   4431 	  $ac_includes_default
   4432 int
   4433 main ()
   4434 {
   4435 
   4436   ;
   4437   return 0;
   4438 }
   4439 _ACEOF
   4440 if ac_fn_c_try_compile "$LINENO"; then :
   4441   ac_cv_safe_to_define___extensions__=yes
   4442 else
   4443   ac_cv_safe_to_define___extensions__=no
   4444 fi
   4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4446 fi
   4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4448 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4449   test $ac_cv_safe_to_define___extensions__ = yes &&
   4450     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4451 
   4452   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4453 
   4454   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4455 
   4456   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4457 
   4458   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4459 
   4460 
   4461 
   4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
   4463 $as_echo_n "checking for library containing strerror... " >&6; }
   4464 if test "${ac_cv_search_strerror+set}" = set; then :
   4465   $as_echo_n "(cached) " >&6
   4466 else
   4467   ac_func_search_save_LIBS=$LIBS
   4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4469 /* end confdefs.h.  */
   4470 
   4471 /* Override any GCC internal prototype to avoid an error.
   4472    Use char because int might match the return type of a GCC
   4473    builtin and then its argument prototype would still apply.  */
   4474 #ifdef __cplusplus
   4475 extern "C"
   4476 #endif
   4477 char strerror ();
   4478 int
   4479 main ()
   4480 {
   4481 return strerror ();
   4482   ;
   4483   return 0;
   4484 }
   4485 _ACEOF
   4486 for ac_lib in '' cposix; do
   4487   if test -z "$ac_lib"; then
   4488     ac_res="none required"
   4489   else
   4490     ac_res=-l$ac_lib
   4491     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   4492   fi
   4493   if ac_fn_c_try_link "$LINENO"; then :
   4494   ac_cv_search_strerror=$ac_res
   4495 fi
   4496 rm -f core conftest.err conftest.$ac_objext \
   4497     conftest$ac_exeext
   4498   if test "${ac_cv_search_strerror+set}" = set; then :
   4499   break
   4500 fi
   4501 done
   4502 if test "${ac_cv_search_strerror+set}" = set; then :
   4503 
   4504 else
   4505   ac_cv_search_strerror=no
   4506 fi
   4507 rm conftest.$ac_ext
   4508 LIBS=$ac_func_search_save_LIBS
   4509 fi
   4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
   4511 $as_echo "$ac_cv_search_strerror" >&6; }
   4512 ac_res=$ac_cv_search_strerror
   4513 if test "$ac_res" != no; then :
   4514   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   4515 
   4516 fi
   4517 
   4518 
   4519 
   4520 # Needed for ansi2knr
   4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
   4522 $as_echo_n "checking for function prototypes... " >&6; }
   4523 if test "$ac_cv_prog_cc_c89" != no; then
   4524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4525 $as_echo "yes" >&6; }
   4526 
   4527 $as_echo "#define PROTOTYPES 1" >>confdefs.h
   4528 
   4529 
   4530 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
   4531 
   4532 else
   4533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4534 $as_echo "no" >&6; }
   4535 fi
   4536 
   4537 
   4538 if test "$ac_cv_prog_cc_stdc" != no; then
   4539   U= ANSI2KNR=
   4540 else
   4541   U=_ ANSI2KNR=./ansi2knr
   4542 fi
   4543 # Ensure some checks needed by ansi2knr itself.
   4544 
   4545 for ac_header in string.h
   4546 do :
   4547   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
   4548 if test "x$ac_cv_header_string_h" = x""yes; then :
   4549   cat >>confdefs.h <<_ACEOF
   4550 #define HAVE_STRING_H 1
   4551 _ACEOF
   4552 
   4553 fi
   4554 
   4555 done
   4556 
   4557 
   4558 
   4559 # Enable gettext, in "external" mode.
   4560 
   4561 
   4562 
   4563         MKINSTALLDIRS=
   4564   if test -n "$ac_aux_dir"; then
   4565     case "$ac_aux_dir" in
   4566       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   4567       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   4568     esac
   4569   fi
   4570   if test -z "$MKINSTALLDIRS"; then
   4571     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   4572   fi
   4573 
   4574 
   4575 
   4576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   4577 $as_echo_n "checking whether NLS is requested... " >&6; }
   4578     # Check whether --enable-nls was given.
   4579 if test "${enable_nls+set}" = set; then :
   4580   enableval=$enable_nls; USE_NLS=$enableval
   4581 else
   4582   USE_NLS=yes
   4583 fi
   4584 
   4585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   4586 $as_echo "$USE_NLS" >&6; }
   4587 
   4588 
   4589 
   4590 
   4591 
   4592 
   4593 # Prepare PATH_SEPARATOR.
   4594 # The user is always right.
   4595 if test "${PATH_SEPARATOR+set}" != set; then
   4596   echo "#! /bin/sh" >conf$$.sh
   4597   echo  "exit 0"   >>conf$$.sh
   4598   chmod +x conf$$.sh
   4599   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   4600     PATH_SEPARATOR=';'
   4601   else
   4602     PATH_SEPARATOR=:
   4603   fi
   4604   rm -f conf$$.sh
   4605 fi
   4606 
   4607 # Find out how to test for executable files. Don't use a zero-byte file,
   4608 # as systems may use methods other than mode bits to determine executability.
   4609 cat >conf$$.file <<_ASEOF
   4610 #! /bin/sh
   4611 exit 0
   4612 _ASEOF
   4613 chmod +x conf$$.file
   4614 if test -x conf$$.file >/dev/null 2>&1; then
   4615   ac_executable_p="test -x"
   4616 else
   4617   ac_executable_p="test -f"
   4618 fi
   4619 rm -f conf$$.file
   4620 
   4621 # Extract the first word of "msgfmt", so it can be a program name with args.
   4622 set dummy msgfmt; ac_word=$2
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4624 $as_echo_n "checking for $ac_word... " >&6; }
   4625 if test "${ac_cv_path_MSGFMT+set}" = set; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   case "$MSGFMT" in
   4629   [\\/]* | ?:[\\/]*)
   4630     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   4631     ;;
   4632   *)
   4633     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   4634     for ac_dir in $PATH; do
   4635       IFS="$ac_save_IFS"
   4636       test -z "$ac_dir" && ac_dir=.
   4637       for ac_exec_ext in '' $ac_executable_extensions; do
   4638         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   4639           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   4640      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   4641             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   4642             break 2
   4643           fi
   4644         fi
   4645       done
   4646     done
   4647     IFS="$ac_save_IFS"
   4648   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   4649     ;;
   4650 esac
   4651 fi
   4652 MSGFMT="$ac_cv_path_MSGFMT"
   4653 if test "$MSGFMT" != ":"; then
   4654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   4655 $as_echo "$MSGFMT" >&6; }
   4656 else
   4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4658 $as_echo "no" >&6; }
   4659 fi
   4660 
   4661   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   4662 set dummy gmsgfmt; ac_word=$2
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4664 $as_echo_n "checking for $ac_word... " >&6; }
   4665 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
   4666   $as_echo_n "(cached) " >&6
   4667 else
   4668   case $GMSGFMT in
   4669   [\\/]* | ?:[\\/]*)
   4670   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   4671   ;;
   4672   *)
   4673   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4674 for as_dir in $PATH
   4675 do
   4676   IFS=$as_save_IFS
   4677   test -z "$as_dir" && as_dir=.
   4678     for ac_exec_ext in '' $ac_executable_extensions; do
   4679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4680     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   4681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4682     break 2
   4683   fi
   4684 done
   4685   done
   4686 IFS=$as_save_IFS
   4687 
   4688   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   4689   ;;
   4690 esac
   4691 fi
   4692 GMSGFMT=$ac_cv_path_GMSGFMT
   4693 if test -n "$GMSGFMT"; then
   4694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   4695 $as_echo "$GMSGFMT" >&6; }
   4696 else
   4697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4698 $as_echo "no" >&6; }
   4699 fi
   4700 
   4701 
   4702 
   4703 
   4704 # Prepare PATH_SEPARATOR.
   4705 # The user is always right.
   4706 if test "${PATH_SEPARATOR+set}" != set; then
   4707   echo "#! /bin/sh" >conf$$.sh
   4708   echo  "exit 0"   >>conf$$.sh
   4709   chmod +x conf$$.sh
   4710   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   4711     PATH_SEPARATOR=';'
   4712   else
   4713     PATH_SEPARATOR=:
   4714   fi
   4715   rm -f conf$$.sh
   4716 fi
   4717 
   4718 # Find out how to test for executable files. Don't use a zero-byte file,
   4719 # as systems may use methods other than mode bits to determine executability.
   4720 cat >conf$$.file <<_ASEOF
   4721 #! /bin/sh
   4722 exit 0
   4723 _ASEOF
   4724 chmod +x conf$$.file
   4725 if test -x conf$$.file >/dev/null 2>&1; then
   4726   ac_executable_p="test -x"
   4727 else
   4728   ac_executable_p="test -f"
   4729 fi
   4730 rm -f conf$$.file
   4731 
   4732 # Extract the first word of "xgettext", so it can be a program name with args.
   4733 set dummy xgettext; ac_word=$2
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4735 $as_echo_n "checking for $ac_word... " >&6; }
   4736 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
   4737   $as_echo_n "(cached) " >&6
   4738 else
   4739   case "$XGETTEXT" in
   4740   [\\/]* | ?:[\\/]*)
   4741     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   4742     ;;
   4743   *)
   4744     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   4745     for ac_dir in $PATH; do
   4746       IFS="$ac_save_IFS"
   4747       test -z "$ac_dir" && ac_dir=.
   4748       for ac_exec_ext in '' $ac_executable_extensions; do
   4749         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   4750           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   4751      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   4752             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   4753             break 2
   4754           fi
   4755         fi
   4756       done
   4757     done
   4758     IFS="$ac_save_IFS"
   4759   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   4760     ;;
   4761 esac
   4762 fi
   4763 XGETTEXT="$ac_cv_path_XGETTEXT"
   4764 if test "$XGETTEXT" != ":"; then
   4765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   4766 $as_echo "$XGETTEXT" >&6; }
   4767 else
   4768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4769 $as_echo "no" >&6; }
   4770 fi
   4771 
   4772     rm -f messages.po
   4773 
   4774 
   4775 # Prepare PATH_SEPARATOR.
   4776 # The user is always right.
   4777 if test "${PATH_SEPARATOR+set}" != set; then
   4778   echo "#! /bin/sh" >conf$$.sh
   4779   echo  "exit 0"   >>conf$$.sh
   4780   chmod +x conf$$.sh
   4781   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   4782     PATH_SEPARATOR=';'
   4783   else
   4784     PATH_SEPARATOR=:
   4785   fi
   4786   rm -f conf$$.sh
   4787 fi
   4788 
   4789 # Find out how to test for executable files. Don't use a zero-byte file,
   4790 # as systems may use methods other than mode bits to determine executability.
   4791 cat >conf$$.file <<_ASEOF
   4792 #! /bin/sh
   4793 exit 0
   4794 _ASEOF
   4795 chmod +x conf$$.file
   4796 if test -x conf$$.file >/dev/null 2>&1; then
   4797   ac_executable_p="test -x"
   4798 else
   4799   ac_executable_p="test -f"
   4800 fi
   4801 rm -f conf$$.file
   4802 
   4803 # Extract the first word of "msgmerge", so it can be a program name with args.
   4804 set dummy msgmerge; ac_word=$2
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4806 $as_echo_n "checking for $ac_word... " >&6; }
   4807 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
   4808   $as_echo_n "(cached) " >&6
   4809 else
   4810   case "$MSGMERGE" in
   4811   [\\/]* | ?:[\\/]*)
   4812     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   4813     ;;
   4814   *)
   4815     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   4816     for ac_dir in $PATH; do
   4817       IFS="$ac_save_IFS"
   4818       test -z "$ac_dir" && ac_dir=.
   4819       for ac_exec_ext in '' $ac_executable_extensions; do
   4820         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   4821           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   4822             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   4823             break 2
   4824           fi
   4825         fi
   4826       done
   4827     done
   4828     IFS="$ac_save_IFS"
   4829   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   4830     ;;
   4831 esac
   4832 fi
   4833 MSGMERGE="$ac_cv_path_MSGMERGE"
   4834 if test "$MSGMERGE" != ":"; then
   4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   4836 $as_echo "$MSGMERGE" >&6; }
   4837 else
   4838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4839 $as_echo "no" >&6; }
   4840 fi
   4841 
   4842 
   4843       if test "$GMSGFMT" != ":"; then
   4844             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   4845        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   4846       : ;
   4847     else
   4848       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   4849       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   4850 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   4851       GMSGFMT=":"
   4852     fi
   4853   fi
   4854 
   4855       if test "$XGETTEXT" != ":"; then
   4856             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   4857        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   4858       : ;
   4859     else
   4860       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   4861 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   4862       XGETTEXT=":"
   4863     fi
   4864         rm -f messages.po
   4865   fi
   4866 
   4867   ac_config_commands="$ac_config_commands default-1"
   4868 
   4869 
   4870 
   4871       if test "X$prefix" = "XNONE"; then
   4872     acl_final_prefix="$ac_default_prefix"
   4873   else
   4874     acl_final_prefix="$prefix"
   4875   fi
   4876   if test "X$exec_prefix" = "XNONE"; then
   4877     acl_final_exec_prefix='${prefix}'
   4878   else
   4879     acl_final_exec_prefix="$exec_prefix"
   4880   fi
   4881   acl_save_prefix="$prefix"
   4882   prefix="$acl_final_prefix"
   4883   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   4884   prefix="$acl_save_prefix"
   4885 
   4886 
   4887 # Check whether --with-gnu-ld was given.
   4888 if test "${with_gnu_ld+set}" = set; then :
   4889   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4890 else
   4891   with_gnu_ld=no
   4892 fi
   4893 
   4894 # Prepare PATH_SEPARATOR.
   4895 # The user is always right.
   4896 if test "${PATH_SEPARATOR+set}" != set; then
   4897   echo "#! /bin/sh" >conf$$.sh
   4898   echo  "exit 0"   >>conf$$.sh
   4899   chmod +x conf$$.sh
   4900   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   4901     PATH_SEPARATOR=';'
   4902   else
   4903     PATH_SEPARATOR=:
   4904   fi
   4905   rm -f conf$$.sh
   4906 fi
   4907 ac_prog=ld
   4908 if test "$GCC" = yes; then
   4909   # Check if gcc -print-prog-name=ld gives a path.
   4910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   4911 $as_echo_n "checking for ld used by GCC... " >&6; }
   4912   case $host in
   4913   *-*-mingw*)
   4914     # gcc leaves a trailing carriage return which upsets mingw
   4915     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4916   *)
   4917     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4918   esac
   4919   case $ac_prog in
   4920     # Accept absolute paths.
   4921     [\\/]* | [A-Za-z]:[\\/]*)
   4922       re_direlt='/[^/][^/]*/\.\./'
   4923       # Canonicalize the path of ld
   4924       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   4925       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4926 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   4927       done
   4928       test -z "$LD" && LD="$ac_prog"
   4929       ;;
   4930   "")
   4931     # If it fails, then pretend we aren't using GCC.
   4932     ac_prog=ld
   4933     ;;
   4934   *)
   4935     # If it is relative, then search for the first ld in PATH.
   4936     with_gnu_ld=unknown
   4937     ;;
   4938   esac
   4939 elif test "$with_gnu_ld" = yes; then
   4940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4941 $as_echo_n "checking for GNU ld... " >&6; }
   4942 else
   4943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4944 $as_echo_n "checking for non-GNU ld... " >&6; }
   4945 fi
   4946 if test "${acl_cv_path_LD+set}" = set; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   if test -z "$LD"; then
   4950   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   4951   for ac_dir in $PATH; do
   4952     test -z "$ac_dir" && ac_dir=.
   4953     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4954       acl_cv_path_LD="$ac_dir/$ac_prog"
   4955       # Check to see if the program is GNU ld.  I'd rather use --version,
   4956       # but apparently some GNU ld's only accept -v.
   4957       # Break only if it was the GNU/non-GNU ld that we prefer.
   4958       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   4959       *GNU* | *'with BFD'*)
   4960 	test "$with_gnu_ld" != no && break ;;
   4961       *)
   4962 	test "$with_gnu_ld" != yes && break ;;
   4963       esac
   4964     fi
   4965   done
   4966   IFS="$ac_save_ifs"
   4967 else
   4968   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   4969 fi
   4970 fi
   4971 
   4972 LD="$acl_cv_path_LD"
   4973 if test -n "$LD"; then
   4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4975 $as_echo "$LD" >&6; }
   4976 else
   4977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4978 $as_echo "no" >&6; }
   4979 fi
   4980 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4982 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4983 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
   4984   $as_echo_n "(cached) " >&6
   4985 else
   4986   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   4987 case `$LD -v 2>&1 </dev/null` in
   4988 *GNU* | *'with BFD'*)
   4989   acl_cv_prog_gnu_ld=yes ;;
   4990 *)
   4991   acl_cv_prog_gnu_ld=no ;;
   4992 esac
   4993 fi
   4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   4995 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   4996 with_gnu_ld=$acl_cv_prog_gnu_ld
   4997 
   4998 
   4999 
   5000                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   5001 $as_echo_n "checking for shared library run path origin... " >&6; }
   5002 if test "${acl_cv_rpath+set}" = set; then :
   5003   $as_echo_n "(cached) " >&6
   5004 else
   5005 
   5006     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   5007     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   5008     . ./conftest.sh
   5009     rm -f ./conftest.sh
   5010     acl_cv_rpath=done
   5011 
   5012 fi
   5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   5014 $as_echo "$acl_cv_rpath" >&6; }
   5015   wl="$acl_cv_wl"
   5016   libext="$acl_cv_libext"
   5017   shlibext="$acl_cv_shlibext"
   5018   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   5019   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   5020   hardcode_direct="$acl_cv_hardcode_direct"
   5021   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   5022     # Check whether --enable-rpath was given.
   5023 if test "${enable_rpath+set}" = set; then :
   5024   enableval=$enable_rpath; :
   5025 else
   5026   enable_rpath=yes
   5027 fi
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036     use_additional=yes
   5037 
   5038   acl_save_prefix="$prefix"
   5039   prefix="$acl_final_prefix"
   5040   acl_save_exec_prefix="$exec_prefix"
   5041   exec_prefix="$acl_final_exec_prefix"
   5042 
   5043     eval additional_includedir=\"$includedir\"
   5044     eval additional_libdir=\"$libdir\"
   5045 
   5046   exec_prefix="$acl_save_exec_prefix"
   5047   prefix="$acl_save_prefix"
   5048 
   5049 
   5050 # Check whether --with-libiconv-prefix was given.
   5051 if test "${with_libiconv_prefix+set}" = set; then :
   5052   withval=$with_libiconv_prefix;
   5053     if test "X$withval" = "Xno"; then
   5054       use_additional=no
   5055     else
   5056       if test "X$withval" = "X"; then
   5057 
   5058   acl_save_prefix="$prefix"
   5059   prefix="$acl_final_prefix"
   5060   acl_save_exec_prefix="$exec_prefix"
   5061   exec_prefix="$acl_final_exec_prefix"
   5062 
   5063           eval additional_includedir=\"$includedir\"
   5064           eval additional_libdir=\"$libdir\"
   5065 
   5066   exec_prefix="$acl_save_exec_prefix"
   5067   prefix="$acl_save_prefix"
   5068 
   5069       else
   5070         additional_includedir="$withval/include"
   5071         additional_libdir="$withval/lib"
   5072       fi
   5073     fi
   5074 
   5075 fi
   5076 
   5077       LIBICONV=
   5078   LTLIBICONV=
   5079   INCICONV=
   5080   rpathdirs=
   5081   ltrpathdirs=
   5082   names_already_handled=
   5083   names_next_round='iconv '
   5084   while test -n "$names_next_round"; do
   5085     names_this_round="$names_next_round"
   5086     names_next_round=
   5087     for name in $names_this_round; do
   5088       already_handled=
   5089       for n in $names_already_handled; do
   5090         if test "$n" = "$name"; then
   5091           already_handled=yes
   5092           break
   5093         fi
   5094       done
   5095       if test -z "$already_handled"; then
   5096         names_already_handled="$names_already_handled $name"
   5097                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   5098         eval value=\"\$HAVE_LIB$uppername\"
   5099         if test -n "$value"; then
   5100           if test "$value" = yes; then
   5101             eval value=\"\$LIB$uppername\"
   5102             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   5103             eval value=\"\$LTLIB$uppername\"
   5104             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   5105           else
   5106                                     :
   5107           fi
   5108         else
   5109                               found_dir=
   5110           found_la=
   5111           found_so=
   5112           found_a=
   5113           if test $use_additional = yes; then
   5114             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   5115               found_dir="$additional_libdir"
   5116               found_so="$additional_libdir/lib$name.$shlibext"
   5117               if test -f "$additional_libdir/lib$name.la"; then
   5118                 found_la="$additional_libdir/lib$name.la"
   5119               fi
   5120             else
   5121               if test -f "$additional_libdir/lib$name.$libext"; then
   5122                 found_dir="$additional_libdir"
   5123                 found_a="$additional_libdir/lib$name.$libext"
   5124                 if test -f "$additional_libdir/lib$name.la"; then
   5125                   found_la="$additional_libdir/lib$name.la"
   5126                 fi
   5127               fi
   5128             fi
   5129           fi
   5130           if test "X$found_dir" = "X"; then
   5131             for x in $LDFLAGS $LTLIBICONV; do
   5132 
   5133   acl_save_prefix="$prefix"
   5134   prefix="$acl_final_prefix"
   5135   acl_save_exec_prefix="$exec_prefix"
   5136   exec_prefix="$acl_final_exec_prefix"
   5137   eval x=\"$x\"
   5138   exec_prefix="$acl_save_exec_prefix"
   5139   prefix="$acl_save_prefix"
   5140 
   5141               case "$x" in
   5142                 -L*)
   5143                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   5144                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   5145                     found_dir="$dir"
   5146                     found_so="$dir/lib$name.$shlibext"
   5147                     if test -f "$dir/lib$name.la"; then
   5148                       found_la="$dir/lib$name.la"
   5149                     fi
   5150                   else
   5151                     if test -f "$dir/lib$name.$libext"; then
   5152                       found_dir="$dir"
   5153                       found_a="$dir/lib$name.$libext"
   5154                       if test -f "$dir/lib$name.la"; then
   5155                         found_la="$dir/lib$name.la"
   5156                       fi
   5157                     fi
   5158                   fi
   5159                   ;;
   5160               esac
   5161               if test "X$found_dir" != "X"; then
   5162                 break
   5163               fi
   5164             done
   5165           fi
   5166           if test "X$found_dir" != "X"; then
   5167                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   5168             if test "X$found_so" != "X"; then
   5169                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   5170                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   5171               else
   5172                                                                                 haveit=
   5173                 for x in $ltrpathdirs; do
   5174                   if test "X$x" = "X$found_dir"; then
   5175                     haveit=yes
   5176                     break
   5177                   fi
   5178                 done
   5179                 if test -z "$haveit"; then
   5180                   ltrpathdirs="$ltrpathdirs $found_dir"
   5181                 fi
   5182                                 if test "$hardcode_direct" = yes; then
   5183                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   5184                 else
   5185                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   5186                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   5187                                                             haveit=
   5188                     for x in $rpathdirs; do
   5189                       if test "X$x" = "X$found_dir"; then
   5190                         haveit=yes
   5191                         break
   5192                       fi
   5193                     done
   5194                     if test -z "$haveit"; then
   5195                       rpathdirs="$rpathdirs $found_dir"
   5196                     fi
   5197                   else
   5198                                                                                 haveit=
   5199                     for x in $LDFLAGS $LIBICONV; do
   5200 
   5201   acl_save_prefix="$prefix"
   5202   prefix="$acl_final_prefix"
   5203   acl_save_exec_prefix="$exec_prefix"
   5204   exec_prefix="$acl_final_exec_prefix"
   5205   eval x=\"$x\"
   5206   exec_prefix="$acl_save_exec_prefix"
   5207   prefix="$acl_save_prefix"
   5208 
   5209                       if test "X$x" = "X-L$found_dir"; then
   5210                         haveit=yes
   5211                         break
   5212                       fi
   5213                     done
   5214                     if test -z "$haveit"; then
   5215                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   5216                     fi
   5217                     if test "$hardcode_minus_L" != no; then
   5218                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   5219                     else
   5220                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   5221                     fi
   5222                   fi
   5223                 fi
   5224               fi
   5225             else
   5226               if test "X$found_a" != "X"; then
   5227                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   5228               else
   5229                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   5230               fi
   5231             fi
   5232                         additional_includedir=
   5233             case "$found_dir" in
   5234               */lib | */lib/)
   5235                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   5236                 additional_includedir="$basedir/include"
   5237                 ;;
   5238             esac
   5239             if test "X$additional_includedir" != "X"; then
   5240                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   5241                 haveit=
   5242                 if test "X$additional_includedir" = "X/usr/local/include"; then
   5243                   if test -n "$GCC"; then
   5244                     case $host_os in
   5245                       linux*) haveit=yes;;
   5246                     esac
   5247                   fi
   5248                 fi
   5249                 if test -z "$haveit"; then
   5250                   for x in $CPPFLAGS $INCICONV; do
   5251 
   5252   acl_save_prefix="$prefix"
   5253   prefix="$acl_final_prefix"
   5254   acl_save_exec_prefix="$exec_prefix"
   5255   exec_prefix="$acl_final_exec_prefix"
   5256   eval x=\"$x\"
   5257   exec_prefix="$acl_save_exec_prefix"
   5258   prefix="$acl_save_prefix"
   5259 
   5260                     if test "X$x" = "X-I$additional_includedir"; then
   5261                       haveit=yes
   5262                       break
   5263                     fi
   5264                   done
   5265                   if test -z "$haveit"; then
   5266                     if test -d "$additional_includedir"; then
   5267                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   5268                     fi
   5269                   fi
   5270                 fi
   5271               fi
   5272             fi
   5273                         if test -n "$found_la"; then
   5274                                                         save_libdir="$libdir"
   5275               case "$found_la" in
   5276                 */* | *\\*) . "$found_la" ;;
   5277                 *) . "./$found_la" ;;
   5278               esac
   5279               libdir="$save_libdir"
   5280                             for dep in $dependency_libs; do
   5281                 case "$dep" in
   5282                   -L*)
   5283                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   5284                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   5285                       haveit=
   5286                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   5287                         if test -n "$GCC"; then
   5288                           case $host_os in
   5289                             linux*) haveit=yes;;
   5290                           esac
   5291                         fi
   5292                       fi
   5293                       if test -z "$haveit"; then
   5294                         haveit=
   5295                         for x in $LDFLAGS $LIBICONV; do
   5296 
   5297   acl_save_prefix="$prefix"
   5298   prefix="$acl_final_prefix"
   5299   acl_save_exec_prefix="$exec_prefix"
   5300   exec_prefix="$acl_final_exec_prefix"
   5301   eval x=\"$x\"
   5302   exec_prefix="$acl_save_exec_prefix"
   5303   prefix="$acl_save_prefix"
   5304 
   5305                           if test "X$x" = "X-L$additional_libdir"; then
   5306                             haveit=yes
   5307                             break
   5308                           fi
   5309                         done
   5310                         if test -z "$haveit"; then
   5311                           if test -d "$additional_libdir"; then
   5312                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   5313                           fi
   5314                         fi
   5315                         haveit=
   5316                         for x in $LDFLAGS $LTLIBICONV; do
   5317 
   5318   acl_save_prefix="$prefix"
   5319   prefix="$acl_final_prefix"
   5320   acl_save_exec_prefix="$exec_prefix"
   5321   exec_prefix="$acl_final_exec_prefix"
   5322   eval x=\"$x\"
   5323   exec_prefix="$acl_save_exec_prefix"
   5324   prefix="$acl_save_prefix"
   5325 
   5326                           if test "X$x" = "X-L$additional_libdir"; then
   5327                             haveit=yes
   5328                             break
   5329                           fi
   5330                         done
   5331                         if test -z "$haveit"; then
   5332                           if test -d "$additional_libdir"; then
   5333                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   5334                           fi
   5335                         fi
   5336                       fi
   5337                     fi
   5338                     ;;
   5339                   -R*)
   5340                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   5341                     if test "$enable_rpath" != no; then
   5342                                                                   haveit=
   5343                       for x in $rpathdirs; do
   5344                         if test "X$x" = "X$dir"; then
   5345                           haveit=yes
   5346                           break
   5347                         fi
   5348                       done
   5349                       if test -z "$haveit"; then
   5350                         rpathdirs="$rpathdirs $dir"
   5351                       fi
   5352                                                                   haveit=
   5353                       for x in $ltrpathdirs; do
   5354                         if test "X$x" = "X$dir"; then
   5355                           haveit=yes
   5356                           break
   5357                         fi
   5358                       done
   5359                       if test -z "$haveit"; then
   5360                         ltrpathdirs="$ltrpathdirs $dir"
   5361                       fi
   5362                     fi
   5363                     ;;
   5364                   -l*)
   5365                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   5366                     ;;
   5367                   *.la)
   5368                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   5369                     ;;
   5370                   *)
   5371                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   5372                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   5373                     ;;
   5374                 esac
   5375               done
   5376             fi
   5377           else
   5378                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   5379             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   5380           fi
   5381         fi
   5382       fi
   5383     done
   5384   done
   5385   if test "X$rpathdirs" != "X"; then
   5386     if test -n "$hardcode_libdir_separator"; then
   5387                         alldirs=
   5388       for found_dir in $rpathdirs; do
   5389         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   5390       done
   5391             acl_save_libdir="$libdir"
   5392       libdir="$alldirs"
   5393       eval flag=\"$hardcode_libdir_flag_spec\"
   5394       libdir="$acl_save_libdir"
   5395       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   5396     else
   5397             for found_dir in $rpathdirs; do
   5398         acl_save_libdir="$libdir"
   5399         libdir="$found_dir"
   5400         eval flag=\"$hardcode_libdir_flag_spec\"
   5401         libdir="$acl_save_libdir"
   5402         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   5403       done
   5404     fi
   5405   fi
   5406   if test "X$ltrpathdirs" != "X"; then
   5407             for found_dir in $ltrpathdirs; do
   5408       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   5409     done
   5410   fi
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   5430 $as_echo_n "checking whether NLS is requested... " >&6; }
   5431     # Check whether --enable-nls was given.
   5432 if test "${enable_nls+set}" = set; then :
   5433   enableval=$enable_nls; USE_NLS=$enableval
   5434 else
   5435   USE_NLS=yes
   5436 fi
   5437 
   5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   5439 $as_echo "$USE_NLS" >&6; }
   5440 
   5441 
   5442 
   5443 
   5444   LIBINTL=
   5445   LTLIBINTL=
   5446   POSUB=
   5447 
   5448     if test "$USE_NLS" = "yes"; then
   5449     gt_use_preinstalled_gnugettext=no
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   5457 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   5458 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 #include <libintl.h>
   5464 extern int _nl_msg_cat_cntr;
   5465 extern int *_nl_domain_bindings;
   5466 int
   5467 main ()
   5468 {
   5469 bindtextdomain ("", "");
   5470 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   5471   ;
   5472   return 0;
   5473 }
   5474 _ACEOF
   5475 if ac_fn_c_try_link "$LINENO"; then :
   5476   gt_cv_func_gnugettext1_libc=yes
   5477 else
   5478   gt_cv_func_gnugettext1_libc=no
   5479 fi
   5480 rm -f core conftest.err conftest.$ac_objext \
   5481     conftest$ac_exeext conftest.$ac_ext
   5482 fi
   5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
   5484 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
   5485 
   5486         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   5487 
   5488 
   5489 
   5490 
   5491 
   5492           am_save_CPPFLAGS="$CPPFLAGS"
   5493 
   5494   for element in $INCICONV; do
   5495     haveit=
   5496     for x in $CPPFLAGS; do
   5497 
   5498   acl_save_prefix="$prefix"
   5499   prefix="$acl_final_prefix"
   5500   acl_save_exec_prefix="$exec_prefix"
   5501   exec_prefix="$acl_final_exec_prefix"
   5502   eval x=\"$x\"
   5503   exec_prefix="$acl_save_exec_prefix"
   5504   prefix="$acl_save_prefix"
   5505 
   5506       if test "X$x" = "X$element"; then
   5507         haveit=yes
   5508         break
   5509       fi
   5510     done
   5511     if test -z "$haveit"; then
   5512       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   5513     fi
   5514   done
   5515 
   5516 
   5517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   5518 $as_echo_n "checking for iconv... " >&6; }
   5519 if test "${am_cv_func_iconv+set}" = set; then :
   5520   $as_echo_n "(cached) " >&6
   5521 else
   5522 
   5523     am_cv_func_iconv="no, consider installing GNU libiconv"
   5524     am_cv_lib_iconv=no
   5525     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5526 /* end confdefs.h.  */
   5527 #include <stdlib.h>
   5528 #include <iconv.h>
   5529 int
   5530 main ()
   5531 {
   5532 iconv_t cd = iconv_open("","");
   5533        iconv(cd,NULL,NULL,NULL,NULL);
   5534        iconv_close(cd);
   5535   ;
   5536   return 0;
   5537 }
   5538 _ACEOF
   5539 if ac_fn_c_try_link "$LINENO"; then :
   5540   am_cv_func_iconv=yes
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext \
   5543     conftest$ac_exeext conftest.$ac_ext
   5544     if test "$am_cv_func_iconv" != yes; then
   5545       am_save_LIBS="$LIBS"
   5546       LIBS="$LIBS $LIBICONV"
   5547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5548 /* end confdefs.h.  */
   5549 #include <stdlib.h>
   5550 #include <iconv.h>
   5551 int
   5552 main ()
   5553 {
   5554 iconv_t cd = iconv_open("","");
   5555          iconv(cd,NULL,NULL,NULL,NULL);
   5556          iconv_close(cd);
   5557   ;
   5558   return 0;
   5559 }
   5560 _ACEOF
   5561 if ac_fn_c_try_link "$LINENO"; then :
   5562   am_cv_lib_iconv=yes
   5563         am_cv_func_iconv=yes
   5564 fi
   5565 rm -f core conftest.err conftest.$ac_objext \
   5566     conftest$ac_exeext conftest.$ac_ext
   5567       LIBS="$am_save_LIBS"
   5568     fi
   5569 
   5570 fi
   5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   5572 $as_echo "$am_cv_func_iconv" >&6; }
   5573   if test "$am_cv_func_iconv" = yes; then
   5574 
   5575 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   5576 
   5577   fi
   5578   if test "$am_cv_lib_iconv" = yes; then
   5579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   5580 $as_echo_n "checking how to link with libiconv... " >&6; }
   5581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   5582 $as_echo "$LIBICONV" >&6; }
   5583   else
   5584             CPPFLAGS="$am_save_CPPFLAGS"
   5585     LIBICONV=
   5586     LTLIBICONV=
   5587   fi
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594     use_additional=yes
   5595 
   5596   acl_save_prefix="$prefix"
   5597   prefix="$acl_final_prefix"
   5598   acl_save_exec_prefix="$exec_prefix"
   5599   exec_prefix="$acl_final_exec_prefix"
   5600 
   5601     eval additional_includedir=\"$includedir\"
   5602     eval additional_libdir=\"$libdir\"
   5603 
   5604   exec_prefix="$acl_save_exec_prefix"
   5605   prefix="$acl_save_prefix"
   5606 
   5607 
   5608 # Check whether --with-libintl-prefix was given.
   5609 if test "${with_libintl_prefix+set}" = set; then :
   5610   withval=$with_libintl_prefix;
   5611     if test "X$withval" = "Xno"; then
   5612       use_additional=no
   5613     else
   5614       if test "X$withval" = "X"; then
   5615 
   5616   acl_save_prefix="$prefix"
   5617   prefix="$acl_final_prefix"
   5618   acl_save_exec_prefix="$exec_prefix"
   5619   exec_prefix="$acl_final_exec_prefix"
   5620 
   5621           eval additional_includedir=\"$includedir\"
   5622           eval additional_libdir=\"$libdir\"
   5623 
   5624   exec_prefix="$acl_save_exec_prefix"
   5625   prefix="$acl_save_prefix"
   5626 
   5627       else
   5628         additional_includedir="$withval/include"
   5629         additional_libdir="$withval/lib"
   5630       fi
   5631     fi
   5632 
   5633 fi
   5634 
   5635       LIBINTL=
   5636   LTLIBINTL=
   5637   INCINTL=
   5638   rpathdirs=
   5639   ltrpathdirs=
   5640   names_already_handled=
   5641   names_next_round='intl '
   5642   while test -n "$names_next_round"; do
   5643     names_this_round="$names_next_round"
   5644     names_next_round=
   5645     for name in $names_this_round; do
   5646       already_handled=
   5647       for n in $names_already_handled; do
   5648         if test "$n" = "$name"; then
   5649           already_handled=yes
   5650           break
   5651         fi
   5652       done
   5653       if test -z "$already_handled"; then
   5654         names_already_handled="$names_already_handled $name"
   5655                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   5656         eval value=\"\$HAVE_LIB$uppername\"
   5657         if test -n "$value"; then
   5658           if test "$value" = yes; then
   5659             eval value=\"\$LIB$uppername\"
   5660             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   5661             eval value=\"\$LTLIB$uppername\"
   5662             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   5663           else
   5664                                     :
   5665           fi
   5666         else
   5667                               found_dir=
   5668           found_la=
   5669           found_so=
   5670           found_a=
   5671           if test $use_additional = yes; then
   5672             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   5673               found_dir="$additional_libdir"
   5674               found_so="$additional_libdir/lib$name.$shlibext"
   5675               if test -f "$additional_libdir/lib$name.la"; then
   5676                 found_la="$additional_libdir/lib$name.la"
   5677               fi
   5678             else
   5679               if test -f "$additional_libdir/lib$name.$libext"; then
   5680                 found_dir="$additional_libdir"
   5681                 found_a="$additional_libdir/lib$name.$libext"
   5682                 if test -f "$additional_libdir/lib$name.la"; then
   5683                   found_la="$additional_libdir/lib$name.la"
   5684                 fi
   5685               fi
   5686             fi
   5687           fi
   5688           if test "X$found_dir" = "X"; then
   5689             for x in $LDFLAGS $LTLIBINTL; do
   5690 
   5691   acl_save_prefix="$prefix"
   5692   prefix="$acl_final_prefix"
   5693   acl_save_exec_prefix="$exec_prefix"
   5694   exec_prefix="$acl_final_exec_prefix"
   5695   eval x=\"$x\"
   5696   exec_prefix="$acl_save_exec_prefix"
   5697   prefix="$acl_save_prefix"
   5698 
   5699               case "$x" in
   5700                 -L*)
   5701                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   5702                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   5703                     found_dir="$dir"
   5704                     found_so="$dir/lib$name.$shlibext"
   5705                     if test -f "$dir/lib$name.la"; then
   5706                       found_la="$dir/lib$name.la"
   5707                     fi
   5708                   else
   5709                     if test -f "$dir/lib$name.$libext"; then
   5710                       found_dir="$dir"
   5711                       found_a="$dir/lib$name.$libext"
   5712                       if test -f "$dir/lib$name.la"; then
   5713                         found_la="$dir/lib$name.la"
   5714                       fi
   5715                     fi
   5716                   fi
   5717                   ;;
   5718               esac
   5719               if test "X$found_dir" != "X"; then
   5720                 break
   5721               fi
   5722             done
   5723           fi
   5724           if test "X$found_dir" != "X"; then
   5725                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   5726             if test "X$found_so" != "X"; then
   5727                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   5728                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   5729               else
   5730                                                                                 haveit=
   5731                 for x in $ltrpathdirs; do
   5732                   if test "X$x" = "X$found_dir"; then
   5733                     haveit=yes
   5734                     break
   5735                   fi
   5736                 done
   5737                 if test -z "$haveit"; then
   5738                   ltrpathdirs="$ltrpathdirs $found_dir"
   5739                 fi
   5740                                 if test "$hardcode_direct" = yes; then
   5741                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   5742                 else
   5743                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   5744                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   5745                                                             haveit=
   5746                     for x in $rpathdirs; do
   5747                       if test "X$x" = "X$found_dir"; then
   5748                         haveit=yes
   5749                         break
   5750                       fi
   5751                     done
   5752                     if test -z "$haveit"; then
   5753                       rpathdirs="$rpathdirs $found_dir"
   5754                     fi
   5755                   else
   5756                                                                                 haveit=
   5757                     for x in $LDFLAGS $LIBINTL; do
   5758 
   5759   acl_save_prefix="$prefix"
   5760   prefix="$acl_final_prefix"
   5761   acl_save_exec_prefix="$exec_prefix"
   5762   exec_prefix="$acl_final_exec_prefix"
   5763   eval x=\"$x\"
   5764   exec_prefix="$acl_save_exec_prefix"
   5765   prefix="$acl_save_prefix"
   5766 
   5767                       if test "X$x" = "X-L$found_dir"; then
   5768                         haveit=yes
   5769                         break
   5770                       fi
   5771                     done
   5772                     if test -z "$haveit"; then
   5773                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   5774                     fi
   5775                     if test "$hardcode_minus_L" != no; then
   5776                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   5777                     else
   5778                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   5779                     fi
   5780                   fi
   5781                 fi
   5782               fi
   5783             else
   5784               if test "X$found_a" != "X"; then
   5785                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   5786               else
   5787                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   5788               fi
   5789             fi
   5790                         additional_includedir=
   5791             case "$found_dir" in
   5792               */lib | */lib/)
   5793                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   5794                 additional_includedir="$basedir/include"
   5795                 ;;
   5796             esac
   5797             if test "X$additional_includedir" != "X"; then
   5798                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   5799                 haveit=
   5800                 if test "X$additional_includedir" = "X/usr/local/include"; then
   5801                   if test -n "$GCC"; then
   5802                     case $host_os in
   5803                       linux*) haveit=yes;;
   5804                     esac
   5805                   fi
   5806                 fi
   5807                 if test -z "$haveit"; then
   5808                   for x in $CPPFLAGS $INCINTL; do
   5809 
   5810   acl_save_prefix="$prefix"
   5811   prefix="$acl_final_prefix"
   5812   acl_save_exec_prefix="$exec_prefix"
   5813   exec_prefix="$acl_final_exec_prefix"
   5814   eval x=\"$x\"
   5815   exec_prefix="$acl_save_exec_prefix"
   5816   prefix="$acl_save_prefix"
   5817 
   5818                     if test "X$x" = "X-I$additional_includedir"; then
   5819                       haveit=yes
   5820                       break
   5821                     fi
   5822                   done
   5823                   if test -z "$haveit"; then
   5824                     if test -d "$additional_includedir"; then
   5825                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   5826                     fi
   5827                   fi
   5828                 fi
   5829               fi
   5830             fi
   5831                         if test -n "$found_la"; then
   5832                                                         save_libdir="$libdir"
   5833               case "$found_la" in
   5834                 */* | *\\*) . "$found_la" ;;
   5835                 *) . "./$found_la" ;;
   5836               esac
   5837               libdir="$save_libdir"
   5838                             for dep in $dependency_libs; do
   5839                 case "$dep" in
   5840                   -L*)
   5841                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   5842                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   5843                       haveit=
   5844                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   5845                         if test -n "$GCC"; then
   5846                           case $host_os in
   5847                             linux*) haveit=yes;;
   5848                           esac
   5849                         fi
   5850                       fi
   5851                       if test -z "$haveit"; then
   5852                         haveit=
   5853                         for x in $LDFLAGS $LIBINTL; do
   5854 
   5855   acl_save_prefix="$prefix"
   5856   prefix="$acl_final_prefix"
   5857   acl_save_exec_prefix="$exec_prefix"
   5858   exec_prefix="$acl_final_exec_prefix"
   5859   eval x=\"$x\"
   5860   exec_prefix="$acl_save_exec_prefix"
   5861   prefix="$acl_save_prefix"
   5862 
   5863                           if test "X$x" = "X-L$additional_libdir"; then
   5864                             haveit=yes
   5865                             break
   5866                           fi
   5867                         done
   5868                         if test -z "$haveit"; then
   5869                           if test -d "$additional_libdir"; then
   5870                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   5871                           fi
   5872                         fi
   5873                         haveit=
   5874                         for x in $LDFLAGS $LTLIBINTL; do
   5875 
   5876   acl_save_prefix="$prefix"
   5877   prefix="$acl_final_prefix"
   5878   acl_save_exec_prefix="$exec_prefix"
   5879   exec_prefix="$acl_final_exec_prefix"
   5880   eval x=\"$x\"
   5881   exec_prefix="$acl_save_exec_prefix"
   5882   prefix="$acl_save_prefix"
   5883 
   5884                           if test "X$x" = "X-L$additional_libdir"; then
   5885                             haveit=yes
   5886                             break
   5887                           fi
   5888                         done
   5889                         if test -z "$haveit"; then
   5890                           if test -d "$additional_libdir"; then
   5891                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   5892                           fi
   5893                         fi
   5894                       fi
   5895                     fi
   5896                     ;;
   5897                   -R*)
   5898                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   5899                     if test "$enable_rpath" != no; then
   5900                                                                   haveit=
   5901                       for x in $rpathdirs; do
   5902                         if test "X$x" = "X$dir"; then
   5903                           haveit=yes
   5904                           break
   5905                         fi
   5906                       done
   5907                       if test -z "$haveit"; then
   5908                         rpathdirs="$rpathdirs $dir"
   5909                       fi
   5910                                                                   haveit=
   5911                       for x in $ltrpathdirs; do
   5912                         if test "X$x" = "X$dir"; then
   5913                           haveit=yes
   5914                           break
   5915                         fi
   5916                       done
   5917                       if test -z "$haveit"; then
   5918                         ltrpathdirs="$ltrpathdirs $dir"
   5919                       fi
   5920                     fi
   5921                     ;;
   5922                   -l*)
   5923                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   5924                     ;;
   5925                   *.la)
   5926                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   5927                     ;;
   5928                   *)
   5929                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   5930                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   5931                     ;;
   5932                 esac
   5933               done
   5934             fi
   5935           else
   5936                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   5937             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   5938           fi
   5939         fi
   5940       fi
   5941     done
   5942   done
   5943   if test "X$rpathdirs" != "X"; then
   5944     if test -n "$hardcode_libdir_separator"; then
   5945                         alldirs=
   5946       for found_dir in $rpathdirs; do
   5947         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   5948       done
   5949             acl_save_libdir="$libdir"
   5950       libdir="$alldirs"
   5951       eval flag=\"$hardcode_libdir_flag_spec\"
   5952       libdir="$acl_save_libdir"
   5953       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   5954     else
   5955             for found_dir in $rpathdirs; do
   5956         acl_save_libdir="$libdir"
   5957         libdir="$found_dir"
   5958         eval flag=\"$hardcode_libdir_flag_spec\"
   5959         libdir="$acl_save_libdir"
   5960         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   5961       done
   5962     fi
   5963   fi
   5964   if test "X$ltrpathdirs" != "X"; then
   5965             for found_dir in $ltrpathdirs; do
   5966       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   5967     done
   5968   fi
   5969 
   5970           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   5971 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   5972 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
   5973   $as_echo_n "(cached) " >&6
   5974 else
   5975   gt_save_CPPFLAGS="$CPPFLAGS"
   5976             CPPFLAGS="$CPPFLAGS $INCINTL"
   5977             gt_save_LIBS="$LIBS"
   5978             LIBS="$LIBS $LIBINTL"
   5979                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5980 /* end confdefs.h.  */
   5981 #include <libintl.h>
   5982 extern int _nl_msg_cat_cntr;
   5983 extern
   5984 #ifdef __cplusplus
   5985 "C"
   5986 #endif
   5987 const char *_nl_expand_alias ();
   5988 int
   5989 main ()
   5990 {
   5991 bindtextdomain ("", "");
   5992 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   5993   ;
   5994   return 0;
   5995 }
   5996 _ACEOF
   5997 if ac_fn_c_try_link "$LINENO"; then :
   5998   gt_cv_func_gnugettext1_libintl=yes
   5999 else
   6000   gt_cv_func_gnugettext1_libintl=no
   6001 fi
   6002 rm -f core conftest.err conftest.$ac_objext \
   6003     conftest$ac_exeext conftest.$ac_ext
   6004                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   6005               LIBS="$LIBS $LIBICONV"
   6006               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6007 /* end confdefs.h.  */
   6008 #include <libintl.h>
   6009 extern int _nl_msg_cat_cntr;
   6010 extern
   6011 #ifdef __cplusplus
   6012 "C"
   6013 #endif
   6014 const char *_nl_expand_alias ();
   6015 int
   6016 main ()
   6017 {
   6018 bindtextdomain ("", "");
   6019 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   6020   ;
   6021   return 0;
   6022 }
   6023 _ACEOF
   6024 if ac_fn_c_try_link "$LINENO"; then :
   6025   LIBINTL="$LIBINTL $LIBICONV"
   6026                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   6027                 gt_cv_func_gnugettext1_libintl=yes
   6028 
   6029 fi
   6030 rm -f core conftest.err conftest.$ac_objext \
   6031     conftest$ac_exeext conftest.$ac_ext
   6032             fi
   6033             CPPFLAGS="$gt_save_CPPFLAGS"
   6034             LIBS="$gt_save_LIBS"
   6035 fi
   6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
   6037 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
   6038         fi
   6039 
   6040                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   6041            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   6042                 && test "$PACKAGE" != gettext-runtime \
   6043                 && test "$PACKAGE" != gettext-tools; }; then
   6044           gt_use_preinstalled_gnugettext=yes
   6045         else
   6046                     LIBINTL=
   6047           LTLIBINTL=
   6048           INCINTL=
   6049         fi
   6050 
   6051 
   6052 
   6053     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   6054        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   6055 
   6056 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   6057 
   6058     else
   6059       USE_NLS=no
   6060     fi
   6061   fi
   6062 
   6063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   6064 $as_echo_n "checking whether to use NLS... " >&6; }
   6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   6066 $as_echo "$USE_NLS" >&6; }
   6067   if test "$USE_NLS" = "yes"; then
   6068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   6069 $as_echo_n "checking where the gettext function comes from... " >&6; }
   6070     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   6071       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   6072         gt_source="external libintl"
   6073       else
   6074         gt_source="libc"
   6075       fi
   6076     else
   6077       gt_source="included intl directory"
   6078     fi
   6079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   6080 $as_echo "$gt_source" >&6; }
   6081   fi
   6082 
   6083   if test "$USE_NLS" = "yes"; then
   6084 
   6085     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   6086       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   6087         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   6088 $as_echo_n "checking how to link with libintl... " >&6; }
   6089         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   6090 $as_echo "$LIBINTL" >&6; }
   6091 
   6092   for element in $INCINTL; do
   6093     haveit=
   6094     for x in $CPPFLAGS; do
   6095 
   6096   acl_save_prefix="$prefix"
   6097   prefix="$acl_final_prefix"
   6098   acl_save_exec_prefix="$exec_prefix"
   6099   exec_prefix="$acl_final_exec_prefix"
   6100   eval x=\"$x\"
   6101   exec_prefix="$acl_save_exec_prefix"
   6102   prefix="$acl_save_prefix"
   6103 
   6104       if test "X$x" = "X$element"; then
   6105         haveit=yes
   6106         break
   6107       fi
   6108     done
   6109     if test -z "$haveit"; then
   6110       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   6111     fi
   6112   done
   6113 
   6114       fi
   6115 
   6116 
   6117 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   6118 
   6119 
   6120 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   6121 
   6122     fi
   6123 
   6124         POSUB=po
   6125   fi
   6126 
   6127 
   6128 
   6129     INTLLIBS="$LIBINTL"
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 # This test must come as early as possible after the compiler configuration
   6138 # tests, because the choice of the file model can (in principle) affect
   6139 # whether functions and headers are available, whether they work, etc.
   6140 # Check whether --enable-largefile was given.
   6141 if test "${enable_largefile+set}" = set; then :
   6142   enableval=$enable_largefile;
   6143 fi
   6144 
   6145 if test "$enable_largefile" != no; then
   6146 
   6147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   6148 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   6149 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
   6150   $as_echo_n "(cached) " >&6
   6151 else
   6152   ac_cv_sys_largefile_CC=no
   6153      if test "$GCC" != yes; then
   6154        ac_save_CC=$CC
   6155        while :; do
   6156 	 # IRIX 6.2 and later do not support large files by default,
   6157 	 # so use the C compiler's -n32 option if that helps.
   6158 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6159 /* end confdefs.h.  */
   6160 #include <sys/types.h>
   6161  /* Check that off_t can represent 2**63 - 1 correctly.
   6162     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   6163     since some C++ compilers masquerading as C compilers
   6164     incorrectly reject 9223372036854775807.  */
   6165 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   6166   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   6167 		       && LARGE_OFF_T % 2147483647 == 1)
   6168 		      ? 1 : -1];
   6169 int
   6170 main ()
   6171 {
   6172 
   6173   ;
   6174   return 0;
   6175 }
   6176 _ACEOF
   6177 	 if ac_fn_c_try_compile "$LINENO"; then :
   6178   break
   6179 fi
   6180 rm -f core conftest.err conftest.$ac_objext
   6181 	 CC="$CC -n32"
   6182 	 if ac_fn_c_try_compile "$LINENO"; then :
   6183   ac_cv_sys_largefile_CC=' -n32'; break
   6184 fi
   6185 rm -f core conftest.err conftest.$ac_objext
   6186 	 break
   6187        done
   6188        CC=$ac_save_CC
   6189        rm -f conftest.$ac_ext
   6190     fi
   6191 fi
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   6193 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   6194   if test "$ac_cv_sys_largefile_CC" != no; then
   6195     CC=$CC$ac_cv_sys_largefile_CC
   6196   fi
   6197 
   6198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   6199 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   6200 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
   6201   $as_echo_n "(cached) " >&6
   6202 else
   6203   while :; do
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 #include <sys/types.h>
   6207  /* Check that off_t can represent 2**63 - 1 correctly.
   6208     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   6209     since some C++ compilers masquerading as C compilers
   6210     incorrectly reject 9223372036854775807.  */
   6211 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   6212   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   6213 		       && LARGE_OFF_T % 2147483647 == 1)
   6214 		      ? 1 : -1];
   6215 int
   6216 main ()
   6217 {
   6218 
   6219   ;
   6220   return 0;
   6221 }
   6222 _ACEOF
   6223 if ac_fn_c_try_compile "$LINENO"; then :
   6224   ac_cv_sys_file_offset_bits=no; break
   6225 fi
   6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6228 /* end confdefs.h.  */
   6229 #define _FILE_OFFSET_BITS 64
   6230 #include <sys/types.h>
   6231  /* Check that off_t can represent 2**63 - 1 correctly.
   6232     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   6233     since some C++ compilers masquerading as C compilers
   6234     incorrectly reject 9223372036854775807.  */
   6235 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   6236   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   6237 		       && LARGE_OFF_T % 2147483647 == 1)
   6238 		      ? 1 : -1];
   6239 int
   6240 main ()
   6241 {
   6242 
   6243   ;
   6244   return 0;
   6245 }
   6246 _ACEOF
   6247 if ac_fn_c_try_compile "$LINENO"; then :
   6248   ac_cv_sys_file_offset_bits=64; break
   6249 fi
   6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6251   ac_cv_sys_file_offset_bits=unknown
   6252   break
   6253 done
   6254 fi
   6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   6256 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   6257 case $ac_cv_sys_file_offset_bits in #(
   6258   no | unknown) ;;
   6259   *)
   6260 cat >>confdefs.h <<_ACEOF
   6261 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   6262 _ACEOF
   6263 ;;
   6264 esac
   6265 rm -rf conftest*
   6266   if test $ac_cv_sys_file_offset_bits = unknown; then
   6267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   6268 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   6269 if test "${ac_cv_sys_large_files+set}" = set; then :
   6270   $as_echo_n "(cached) " >&6
   6271 else
   6272   while :; do
   6273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6274 /* end confdefs.h.  */
   6275 #include <sys/types.h>
   6276  /* Check that off_t can represent 2**63 - 1 correctly.
   6277     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   6278     since some C++ compilers masquerading as C compilers
   6279     incorrectly reject 9223372036854775807.  */
   6280 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   6281   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   6282 		       && LARGE_OFF_T % 2147483647 == 1)
   6283 		      ? 1 : -1];
   6284 int
   6285 main ()
   6286 {
   6287 
   6288   ;
   6289   return 0;
   6290 }
   6291 _ACEOF
   6292 if ac_fn_c_try_compile "$LINENO"; then :
   6293   ac_cv_sys_large_files=no; break
   6294 fi
   6295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6297 /* end confdefs.h.  */
   6298 #define _LARGE_FILES 1
   6299 #include <sys/types.h>
   6300  /* Check that off_t can represent 2**63 - 1 correctly.
   6301     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   6302     since some C++ compilers masquerading as C compilers
   6303     incorrectly reject 9223372036854775807.  */
   6304 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   6305   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   6306 		       && LARGE_OFF_T % 2147483647 == 1)
   6307 		      ? 1 : -1];
   6308 int
   6309 main ()
   6310 {
   6311 
   6312   ;
   6313   return 0;
   6314 }
   6315 _ACEOF
   6316 if ac_fn_c_try_compile "$LINENO"; then :
   6317   ac_cv_sys_large_files=1; break
   6318 fi
   6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6320   ac_cv_sys_large_files=unknown
   6321   break
   6322 done
   6323 fi
   6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   6325 $as_echo "$ac_cv_sys_large_files" >&6; }
   6326 case $ac_cv_sys_large_files in #(
   6327   no | unknown) ;;
   6328   *)
   6329 cat >>confdefs.h <<_ACEOF
   6330 #define _LARGE_FILES $ac_cv_sys_large_files
   6331 _ACEOF
   6332 ;;
   6333 esac
   6334 rm -rf conftest*
   6335   fi
   6336 fi
   6337 
   6338 
   6339 # Checks for libraries.
   6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getpwnam" >&5
   6341 $as_echo_n "checking for library containing getpwnam... " >&6; }
   6342 if test "${ac_cv_search_getpwnam+set}" = set; then :
   6343   $as_echo_n "(cached) " >&6
   6344 else
   6345   ac_func_search_save_LIBS=$LIBS
   6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6347 /* end confdefs.h.  */
   6348 
   6349 /* Override any GCC internal prototype to avoid an error.
   6350    Use char because int might match the return type of a GCC
   6351    builtin and then its argument prototype would still apply.  */
   6352 #ifdef __cplusplus
   6353 extern "C"
   6354 #endif
   6355 char getpwnam ();
   6356 int
   6357 main ()
   6358 {
   6359 return getpwnam ();
   6360   ;
   6361   return 0;
   6362 }
   6363 _ACEOF
   6364 for ac_lib in '' sun; do
   6365   if test -z "$ac_lib"; then
   6366     ac_res="none required"
   6367   else
   6368     ac_res=-l$ac_lib
   6369     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6370   fi
   6371   if ac_fn_c_try_link "$LINENO"; then :
   6372   ac_cv_search_getpwnam=$ac_res
   6373 fi
   6374 rm -f core conftest.err conftest.$ac_objext \
   6375     conftest$ac_exeext
   6376   if test "${ac_cv_search_getpwnam+set}" = set; then :
   6377   break
   6378 fi
   6379 done
   6380 if test "${ac_cv_search_getpwnam+set}" = set; then :
   6381 
   6382 else
   6383   ac_cv_search_getpwnam=no
   6384 fi
   6385 rm conftest.$ac_ext
   6386 LIBS=$ac_func_search_save_LIBS
   6387 fi
   6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getpwnam" >&5
   6389 $as_echo "$ac_cv_search_getpwnam" >&6; }
   6390 ac_res=$ac_cv_search_getpwnam
   6391 if test "$ac_res" != no; then :
   6392   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6393 
   6394 fi
   6395 
   6396 
   6397 # Checks for header files.
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6399 $as_echo_n "checking for ANSI C header files... " >&6; }
   6400 if test "${ac_cv_header_stdc+set}" = set; then :
   6401   $as_echo_n "(cached) " >&6
   6402 else
   6403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6404 /* end confdefs.h.  */
   6405 #include <stdlib.h>
   6406 #include <stdarg.h>
   6407 #include <string.h>
   6408 #include <float.h>
   6409 
   6410 int
   6411 main ()
   6412 {
   6413 
   6414   ;
   6415   return 0;
   6416 }
   6417 _ACEOF
   6418 if ac_fn_c_try_compile "$LINENO"; then :
   6419   ac_cv_header_stdc=yes
   6420 else
   6421   ac_cv_header_stdc=no
   6422 fi
   6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6424 
   6425 if test $ac_cv_header_stdc = yes; then
   6426   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6428 /* end confdefs.h.  */
   6429 #include <string.h>
   6430 
   6431 _ACEOF
   6432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6433   $EGREP "memchr" >/dev/null 2>&1; then :
   6434 
   6435 else
   6436   ac_cv_header_stdc=no
   6437 fi
   6438 rm -f conftest*
   6439 
   6440 fi
   6441 
   6442 if test $ac_cv_header_stdc = yes; then
   6443   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6445 /* end confdefs.h.  */
   6446 #include <stdlib.h>
   6447 
   6448 _ACEOF
   6449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6450   $EGREP "free" >/dev/null 2>&1; then :
   6451 
   6452 else
   6453   ac_cv_header_stdc=no
   6454 fi
   6455 rm -f conftest*
   6456 
   6457 fi
   6458 
   6459 if test $ac_cv_header_stdc = yes; then
   6460   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6461   if test "$cross_compiling" = yes; then :
   6462   :
   6463 else
   6464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6465 /* end confdefs.h.  */
   6466 #include <ctype.h>
   6467 #include <stdlib.h>
   6468 #if ((' ' & 0x0FF) == 0x020)
   6469 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6470 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6471 #else
   6472 # define ISLOWER(c) \
   6473 		   (('a' <= (c) && (c) <= 'i') \
   6474 		     || ('j' <= (c) && (c) <= 'r') \
   6475 		     || ('s' <= (c) && (c) <= 'z'))
   6476 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6477 #endif
   6478 
   6479 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6480 int
   6481 main ()
   6482 {
   6483   int i;
   6484   for (i = 0; i < 256; i++)
   6485     if (XOR (islower (i), ISLOWER (i))
   6486 	|| toupper (i) != TOUPPER (i))
   6487       return 2;
   6488   return 0;
   6489 }
   6490 _ACEOF
   6491 if ac_fn_c_try_run "$LINENO"; then :
   6492 
   6493 else
   6494   ac_cv_header_stdc=no
   6495 fi
   6496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6497   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6498 fi
   6499 
   6500 fi
   6501 fi
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6503 $as_echo "$ac_cv_header_stdc" >&6; }
   6504 if test $ac_cv_header_stdc = yes; then
   6505 
   6506 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6507 
   6508 fi
   6509 
   6510 ac_header_dirent=no
   6511 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   6512   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   6514 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   6515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
   6516   $as_echo_n "(cached) " >&6
   6517 else
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 #include <sys/types.h>
   6521 #include <$ac_hdr>
   6522 
   6523 int
   6524 main ()
   6525 {
   6526 if ((DIR *) 0)
   6527 return 0;
   6528   ;
   6529   return 0;
   6530 }
   6531 _ACEOF
   6532 if ac_fn_c_try_compile "$LINENO"; then :
   6533   eval "$as_ac_Header=yes"
   6534 else
   6535   eval "$as_ac_Header=no"
   6536 fi
   6537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6538 fi
   6539 eval ac_res=\$$as_ac_Header
   6540 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6541 $as_echo "$ac_res" >&6; }
   6542 eval as_val=\$$as_ac_Header
   6543    if test "x$as_val" = x""yes; then :
   6544   cat >>confdefs.h <<_ACEOF
   6545 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   6546 _ACEOF
   6547 
   6548 ac_header_dirent=$ac_hdr; break
   6549 fi
   6550 
   6551 done
   6552 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   6553 if test $ac_header_dirent = dirent.h; then
   6554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   6555 $as_echo_n "checking for library containing opendir... " >&6; }
   6556 if test "${ac_cv_search_opendir+set}" = set; then :
   6557   $as_echo_n "(cached) " >&6
   6558 else
   6559   ac_func_search_save_LIBS=$LIBS
   6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6561 /* end confdefs.h.  */
   6562 
   6563 /* Override any GCC internal prototype to avoid an error.
   6564    Use char because int might match the return type of a GCC
   6565    builtin and then its argument prototype would still apply.  */
   6566 #ifdef __cplusplus
   6567 extern "C"
   6568 #endif
   6569 char opendir ();
   6570 int
   6571 main ()
   6572 {
   6573 return opendir ();
   6574   ;
   6575   return 0;
   6576 }
   6577 _ACEOF
   6578 for ac_lib in '' dir; do
   6579   if test -z "$ac_lib"; then
   6580     ac_res="none required"
   6581   else
   6582     ac_res=-l$ac_lib
   6583     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6584   fi
   6585   if ac_fn_c_try_link "$LINENO"; then :
   6586   ac_cv_search_opendir=$ac_res
   6587 fi
   6588 rm -f core conftest.err conftest.$ac_objext \
   6589     conftest$ac_exeext
   6590   if test "${ac_cv_search_opendir+set}" = set; then :
   6591   break
   6592 fi
   6593 done
   6594 if test "${ac_cv_search_opendir+set}" = set; then :
   6595 
   6596 else
   6597   ac_cv_search_opendir=no
   6598 fi
   6599 rm conftest.$ac_ext
   6600 LIBS=$ac_func_search_save_LIBS
   6601 fi
   6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   6603 $as_echo "$ac_cv_search_opendir" >&6; }
   6604 ac_res=$ac_cv_search_opendir
   6605 if test "$ac_res" != no; then :
   6606   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6607 
   6608 fi
   6609 
   6610 else
   6611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   6612 $as_echo_n "checking for library containing opendir... " >&6; }
   6613 if test "${ac_cv_search_opendir+set}" = set; then :
   6614   $as_echo_n "(cached) " >&6
   6615 else
   6616   ac_func_search_save_LIBS=$LIBS
   6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6618 /* end confdefs.h.  */
   6619 
   6620 /* Override any GCC internal prototype to avoid an error.
   6621    Use char because int might match the return type of a GCC
   6622    builtin and then its argument prototype would still apply.  */
   6623 #ifdef __cplusplus
   6624 extern "C"
   6625 #endif
   6626 char opendir ();
   6627 int
   6628 main ()
   6629 {
   6630 return opendir ();
   6631   ;
   6632   return 0;
   6633 }
   6634 _ACEOF
   6635 for ac_lib in '' x; do
   6636   if test -z "$ac_lib"; then
   6637     ac_res="none required"
   6638   else
   6639     ac_res=-l$ac_lib
   6640     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6641   fi
   6642   if ac_fn_c_try_link "$LINENO"; then :
   6643   ac_cv_search_opendir=$ac_res
   6644 fi
   6645 rm -f core conftest.err conftest.$ac_objext \
   6646     conftest$ac_exeext
   6647   if test "${ac_cv_search_opendir+set}" = set; then :
   6648   break
   6649 fi
   6650 done
   6651 if test "${ac_cv_search_opendir+set}" = set; then :
   6652 
   6653 else
   6654   ac_cv_search_opendir=no
   6655 fi
   6656 rm conftest.$ac_ext
   6657 LIBS=$ac_func_search_save_LIBS
   6658 fi
   6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   6660 $as_echo "$ac_cv_search_opendir" >&6; }
   6661 ac_res=$ac_cv_search_opendir
   6662 if test "$ac_res" != no; then :
   6663   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6664 
   6665 fi
   6666 
   6667 fi
   6668 
   6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
   6670 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
   6671 if test "${ac_cv_header_stat_broken+set}" = set; then :
   6672   $as_echo_n "(cached) " >&6
   6673 else
   6674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6675 /* end confdefs.h.  */
   6676 #include <sys/types.h>
   6677 #include <sys/stat.h>
   6678 
   6679 #if defined S_ISBLK && defined S_IFDIR
   6680 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
   6681 #endif
   6682 
   6683 #if defined S_ISBLK && defined S_IFCHR
   6684 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
   6685 #endif
   6686 
   6687 #if defined S_ISLNK && defined S_IFREG
   6688 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
   6689 #endif
   6690 
   6691 #if defined S_ISSOCK && defined S_IFREG
   6692 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
   6693 #endif
   6694 
   6695 _ACEOF
   6696 if ac_fn_c_try_compile "$LINENO"; then :
   6697   ac_cv_header_stat_broken=no
   6698 else
   6699   ac_cv_header_stat_broken=yes
   6700 fi
   6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6702 fi
   6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
   6704 $as_echo "$ac_cv_header_stat_broken" >&6; }
   6705 if test $ac_cv_header_stat_broken = yes; then
   6706 
   6707 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
   6708 
   6709 fi
   6710 
   6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   6712 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   6713 if test "${ac_cv_header_time+set}" = set; then :
   6714   $as_echo_n "(cached) " >&6
   6715 else
   6716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6717 /* end confdefs.h.  */
   6718 #include <sys/types.h>
   6719 #include <sys/time.h>
   6720 #include <time.h>
   6721 
   6722 int
   6723 main ()
   6724 {
   6725 if ((struct tm *) 0)
   6726 return 0;
   6727   ;
   6728   return 0;
   6729 }
   6730 _ACEOF
   6731 if ac_fn_c_try_compile "$LINENO"; then :
   6732   ac_cv_header_time=yes
   6733 else
   6734   ac_cv_header_time=no
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6737 fi
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   6739 $as_echo "$ac_cv_header_time" >&6; }
   6740 if test $ac_cv_header_time = yes; then
   6741 
   6742 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   6743 
   6744 fi
   6745 
   6746 for ac_header in stdlib.h locale.h unistd.h limits.h fcntl.h string.h \
   6747 		 memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h
   6748 do :
   6749   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6750 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   6751 eval as_val=\$$as_ac_Header
   6752    if test "x$as_val" = x""yes; then :
   6753   cat >>confdefs.h <<_ACEOF
   6754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6755 _ACEOF
   6756 
   6757 fi
   6758 
   6759 done
   6760 
   6761 
   6762 # Set a flag if we have an ANSI C compiler
   6763 if test "$ac_cv_prog_cc_stdc" != no; then
   6764 
   6765 $as_echo "#define HAVE_ANSI_COMPILER 1" >>confdefs.h
   6766 
   6767 fi
   6768 
   6769 
   6770 # Determine what kind of variadic function calls we support
   6771 for ac_header in stdarg.h varargs.h
   6772 do :
   6773   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6774 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   6775 eval as_val=\$$as_ac_Header
   6776    if test "x$as_val" = x""yes; then :
   6777   cat >>confdefs.h <<_ACEOF
   6778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6779 _ACEOF
   6780  break
   6781 fi
   6782 
   6783 done
   6784 
   6785 
   6786 if test "x$CC" != xcc; then
   6787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   6788 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   6789 else
   6790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   6791 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   6792 fi
   6793 set dummy $CC; ac_cc=`$as_echo "$2" |
   6794 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   6795 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
   6796   $as_echo_n "(cached) " >&6
   6797 else
   6798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6799 /* end confdefs.h.  */
   6800 
   6801 int
   6802 main ()
   6803 {
   6804 
   6805   ;
   6806   return 0;
   6807 }
   6808 _ACEOF
   6809 # Make sure it works both with $CC and with simple cc.
   6810 # We do the test twice because some compilers refuse to overwrite an
   6811 # existing .o file with -o, though they will create one.
   6812 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   6813 rm -f conftest2.*
   6814 if { { case "(($ac_try" in
   6815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6816   *) ac_try_echo=$ac_try;;
   6817 esac
   6818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6819 $as_echo "$ac_try_echo"; } >&5
   6820   (eval "$ac_try") 2>&5
   6821   ac_status=$?
   6822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6823   test $ac_status = 0; } &&
   6824    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   6825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6826   *) ac_try_echo=$ac_try;;
   6827 esac
   6828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6829 $as_echo "$ac_try_echo"; } >&5
   6830   (eval "$ac_try") 2>&5
   6831   ac_status=$?
   6832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6833   test $ac_status = 0; };
   6834 then
   6835   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   6836   if test "x$CC" != xcc; then
   6837     # Test first that cc exists at all.
   6838     if { ac_try='cc -c conftest.$ac_ext >&5'
   6839   { { case "(($ac_try" in
   6840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6841   *) ac_try_echo=$ac_try;;
   6842 esac
   6843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6844 $as_echo "$ac_try_echo"; } >&5
   6845   (eval "$ac_try") 2>&5
   6846   ac_status=$?
   6847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6848   test $ac_status = 0; }; }; then
   6849       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   6850       rm -f conftest2.*
   6851       if { { case "(($ac_try" in
   6852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6853   *) ac_try_echo=$ac_try;;
   6854 esac
   6855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6856 $as_echo "$ac_try_echo"; } >&5
   6857   (eval "$ac_try") 2>&5
   6858   ac_status=$?
   6859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6860   test $ac_status = 0; } &&
   6861 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   6862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6863   *) ac_try_echo=$ac_try;;
   6864 esac
   6865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6866 $as_echo "$ac_try_echo"; } >&5
   6867   (eval "$ac_try") 2>&5
   6868   ac_status=$?
   6869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6870   test $ac_status = 0; };
   6871       then
   6872 	# cc works too.
   6873 	:
   6874       else
   6875 	# cc exists but doesn't like -o.
   6876 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   6877       fi
   6878     fi
   6879   fi
   6880 else
   6881   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   6882 fi
   6883 rm -f core conftest*
   6884 
   6885 fi
   6886 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   6887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6888 $as_echo "yes" >&6; }
   6889 else
   6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6891 $as_echo "no" >&6; }
   6892 
   6893 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   6894 
   6895 fi
   6896 
   6897 # FIXME: we rely on the cache variable name because
   6898 # there is no other way.
   6899 set dummy $CC
   6900 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   6901 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
   6902    # Losing compiler, so override with the script.
   6903    # FIXME: It is wrong to rewrite CC.
   6904    # But if we don't then we get into trouble of one sort or another.
   6905    # A longer-term fix would be to have automake use am__CC in this case,
   6906    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   6907    CC="$am_aux_dir/compile $CC"
   6908 fi
   6909 
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   6911 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   6912 if test "${ac_cv_c_const+set}" = set; then :
   6913   $as_echo_n "(cached) " >&6
   6914 else
   6915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6916 /* end confdefs.h.  */
   6917 
   6918 int
   6919 main ()
   6920 {
   6921 /* FIXME: Include the comments suggested by Paul. */
   6922 #ifndef __cplusplus
   6923   /* Ultrix mips cc rejects this.  */
   6924   typedef int charset[2];
   6925   const charset cs;
   6926   /* SunOS 4.1.1 cc rejects this.  */
   6927   char const *const *pcpcc;
   6928   char **ppc;
   6929   /* NEC SVR4.0.2 mips cc rejects this.  */
   6930   struct point {int x, y;};
   6931   static struct point const zero = {0,0};
   6932   /* AIX XL C 1.02.0.0 rejects this.
   6933      It does not let you subtract one const X* pointer from another in
   6934      an arm of an if-expression whose if-part is not a constant
   6935      expression */
   6936   const char *g = "string";
   6937   pcpcc = &g + (g ? g-g : 0);
   6938   /* HPUX 7.0 cc rejects these. */
   6939   ++pcpcc;
   6940   ppc = (char**) pcpcc;
   6941   pcpcc = (char const *const *) ppc;
   6942   { /* SCO 3.2v4 cc rejects this.  */
   6943     char *t;
   6944     char const *s = 0 ? (char *) 0 : (char const *) 0;
   6945 
   6946     *t++ = 0;
   6947     if (s) return 0;
   6948   }
   6949   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   6950     int x[] = {25, 17};
   6951     const int *foo = &x[0];
   6952     ++foo;
   6953   }
   6954   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   6955     typedef const int *iptr;
   6956     iptr p = 0;
   6957     ++p;
   6958   }
   6959   { /* AIX XL C 1.02.0.0 rejects this saying
   6960        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   6961     struct s { int j; const int *ap[3]; };
   6962     struct s *b; b->j = 5;
   6963   }
   6964   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   6965     const int foo = 10;
   6966     if (!foo) return 0;
   6967   }
   6968   return !cs[0] && !zero.x;
   6969 #endif
   6970 
   6971   ;
   6972   return 0;
   6973 }
   6974 _ACEOF
   6975 if ac_fn_c_try_compile "$LINENO"; then :
   6976   ac_cv_c_const=yes
   6977 else
   6978   ac_cv_c_const=no
   6979 fi
   6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6981 fi
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   6983 $as_echo "$ac_cv_c_const" >&6; }
   6984 if test $ac_cv_c_const = no; then
   6985 
   6986 $as_echo "#define const /**/" >>confdefs.h
   6987 
   6988 fi
   6989 
   6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   6991 $as_echo_n "checking return type of signal handlers... " >&6; }
   6992 if test "${ac_cv_type_signal+set}" = set; then :
   6993   $as_echo_n "(cached) " >&6
   6994 else
   6995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6996 /* end confdefs.h.  */
   6997 #include <sys/types.h>
   6998 #include <signal.h>
   6999 
   7000 int
   7001 main ()
   7002 {
   7003 return *(signal (0, 0)) (0) == 1;
   7004   ;
   7005   return 0;
   7006 }
   7007 _ACEOF
   7008 if ac_fn_c_try_compile "$LINENO"; then :
   7009   ac_cv_type_signal=int
   7010 else
   7011   ac_cv_type_signal=void
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7014 fi
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   7016 $as_echo "$ac_cv_type_signal" >&6; }
   7017 
   7018 cat >>confdefs.h <<_ACEOF
   7019 #define RETSIGTYPE $ac_cv_type_signal
   7020 _ACEOF
   7021 
   7022 
   7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
   7024 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
   7025 if test "${ac_cv_type_uid_t+set}" = set; then :
   7026   $as_echo_n "(cached) " >&6
   7027 else
   7028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7029 /* end confdefs.h.  */
   7030 #include <sys/types.h>
   7031 
   7032 _ACEOF
   7033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7034   $EGREP "uid_t" >/dev/null 2>&1; then :
   7035   ac_cv_type_uid_t=yes
   7036 else
   7037   ac_cv_type_uid_t=no
   7038 fi
   7039 rm -f conftest*
   7040 
   7041 fi
   7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
   7043 $as_echo "$ac_cv_type_uid_t" >&6; }
   7044 if test $ac_cv_type_uid_t = no; then
   7045 
   7046 $as_echo "#define uid_t int" >>confdefs.h
   7047 
   7048 
   7049 $as_echo "#define gid_t int" >>confdefs.h
   7050 
   7051 fi
   7052 
   7053 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   7054 if test "x$ac_cv_type_pid_t" = x""yes; then :
   7055 
   7056 else
   7057 
   7058 cat >>confdefs.h <<_ACEOF
   7059 #define pid_t int
   7060 _ACEOF
   7061 
   7062 fi
   7063 
   7064 
   7065 # Find some definition for uintmax_t
   7066 
   7067 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
   7068 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
   7069 
   7070 else
   7071 
   7072   uintmax_t="unsigned long"
   7073   ac_fn_c_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
   7074 if test "x$ac_cv_type_unsigned_long_long" = x""yes; then :
   7075   uintmax_t="unsigned long long"
   7076 fi
   7077 
   7078 
   7079 cat >>confdefs.h <<_ACEOF
   7080 #define uintmax_t $uintmax_t
   7081 _ACEOF
   7082 
   7083 fi
   7084 
   7085 
   7086 # Find out whether our struct stat returns nanosecond resolution timestamps.
   7087 
   7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanoseconds field of struct stat.st_mtim" >&5
   7089 $as_echo_n "checking for nanoseconds field of struct stat.st_mtim... " >&6; }
   7090 if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then :
   7091   $as_echo_n "(cached) " >&6
   7092 else
   7093   ac_save_CPPFLAGS="$CPPFLAGS"
   7094     ac_cv_struct_st_mtim_nsec=no
   7095     # tv_nsec -- the usual case
   7096     # _tv_nsec -- Solaris 2.6, if
   7097     #	(defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1
   7098     #	 && !defined __EXTENSIONS__)
   7099     # st__tim.tv_nsec -- UnixWare 2.1.2
   7100     for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do
   7101       CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val"
   7102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7103 /* end confdefs.h.  */
   7104 #include <sys/types.h>
   7105 #include <sys/stat.h>
   7106 
   7107 int
   7108 main ()
   7109 {
   7110 struct stat s; s.st_mtim.ST_MTIM_NSEC;
   7111   ;
   7112   return 0;
   7113 }
   7114 _ACEOF
   7115 if ac_fn_c_try_compile "$LINENO"; then :
   7116   ac_cv_struct_st_mtim_nsec=$ac_val; break
   7117 fi
   7118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7119     done
   7120     CPPFLAGS="$ac_save_CPPFLAGS"
   7121 
   7122 fi
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_st_mtim_nsec" >&5
   7124 $as_echo "$ac_cv_struct_st_mtim_nsec" >&6; }
   7125 
   7126   if test $ac_cv_struct_st_mtim_nsec != no; then
   7127 
   7128 cat >>confdefs.h <<_ACEOF
   7129 #define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec
   7130 _ACEOF
   7131 
   7132   fi
   7133 
   7134 
   7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use high resolution file timestamps" >&5
   7136 $as_echo_n "checking whether to use high resolution file timestamps... " >&6; }
   7137 if test "${make_cv_file_timestamp_hi_res+set}" = set; then :
   7138   $as_echo_n "(cached) " >&6
   7139 else
   7140 
   7141   make_cv_file_timestamp_hi_res=no
   7142   if test "$ac_cv_struct_st_mtim_nsec" != no; then
   7143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7144 /* end confdefs.h.  */
   7145 
   7146 #	if HAVE_INTTYPES_H
   7147 #	 include <inttypes.h>
   7148 #	endif
   7149 int
   7150 main ()
   7151 {
   7152 char a[0x7fffffff < (uintmax_t)-1 >> 30 ? 1 : -1];
   7153   ;
   7154   return 0;
   7155 }
   7156 _ACEOF
   7157 if ac_fn_c_try_compile "$LINENO"; then :
   7158   make_cv_file_timestamp_hi_res=yes
   7159 fi
   7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7161   fi
   7162 fi
   7163 
   7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_file_timestamp_hi_res" >&5
   7165 $as_echo "$make_cv_file_timestamp_hi_res" >&6; }
   7166 if test "$make_cv_file_timestamp_hi_res" = yes; then
   7167   val=1
   7168 else
   7169   val=0
   7170 fi
   7171 
   7172 cat >>confdefs.h <<_ACEOF
   7173 #define FILE_TIMESTAMP_HI_RES $val
   7174 _ACEOF
   7175 
   7176 
   7177 if test "$make_cv_file_timestamp_hi_res" = yes; then
   7178   # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
   7179   # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
   7180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
   7181 $as_echo_n "checking for library containing clock_gettime... " >&6; }
   7182 if test "${ac_cv_search_clock_gettime+set}" = set; then :
   7183   $as_echo_n "(cached) " >&6
   7184 else
   7185   ac_func_search_save_LIBS=$LIBS
   7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7187 /* end confdefs.h.  */
   7188 
   7189 /* Override any GCC internal prototype to avoid an error.
   7190    Use char because int might match the return type of a GCC
   7191    builtin and then its argument prototype would still apply.  */
   7192 #ifdef __cplusplus
   7193 extern "C"
   7194 #endif
   7195 char clock_gettime ();
   7196 int
   7197 main ()
   7198 {
   7199 return clock_gettime ();
   7200   ;
   7201   return 0;
   7202 }
   7203 _ACEOF
   7204 for ac_lib in '' rt posix4; do
   7205   if test -z "$ac_lib"; then
   7206     ac_res="none required"
   7207   else
   7208     ac_res=-l$ac_lib
   7209     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   7210   fi
   7211   if ac_fn_c_try_link "$LINENO"; then :
   7212   ac_cv_search_clock_gettime=$ac_res
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext \
   7215     conftest$ac_exeext
   7216   if test "${ac_cv_search_clock_gettime+set}" = set; then :
   7217   break
   7218 fi
   7219 done
   7220 if test "${ac_cv_search_clock_gettime+set}" = set; then :
   7221 
   7222 else
   7223   ac_cv_search_clock_gettime=no
   7224 fi
   7225 rm conftest.$ac_ext
   7226 LIBS=$ac_func_search_save_LIBS
   7227 fi
   7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
   7229 $as_echo "$ac_cv_search_clock_gettime" >&6; }
   7230 ac_res=$ac_cv_search_clock_gettime
   7231 if test "$ac_res" != no; then :
   7232   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   7233 
   7234 fi
   7235 
   7236   if test "$ac_cv_search_clock_gettime" != no; then
   7237 
   7238 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   7239 
   7240   fi
   7241 fi
   7242 
   7243 # Check for DOS-style pathnames.
   7244 
   7245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system uses MSDOS-style paths" >&5
   7246 $as_echo_n "checking whether system uses MSDOS-style paths... " >&6; }
   7247 if test "${ac_cv_dos_paths+set}" = set; then :
   7248   $as_echo_n "(cached) " >&6
   7249 else
   7250 
   7251         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 
   7254 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __EMX__ && !defined __MSYS__
   7255 neither MSDOS nor Windows nor OS2
   7256 #endif
   7257 
   7258 _ACEOF
   7259 if ac_fn_c_try_compile "$LINENO"; then :
   7260   ac_cv_dos_paths=yes
   7261 else
   7262   ac_cv_dos_paths=no
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7265 
   7266 fi
   7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dos_paths" >&5
   7268 $as_echo "$ac_cv_dos_paths" >&6; }
   7269 
   7270     if test x"$ac_cv_dos_paths" = xyes; then
   7271 
   7272 cat >>confdefs.h <<_ACEOF
   7273 #define HAVE_DOS_PATHS 1
   7274 _ACEOF
   7275 
   7276     fi
   7277 
   7278 
   7279 # See if we have a standard version of gettimeofday().  Since actual
   7280 # implementations can differ, just make sure we have the most common
   7281 # one.
   7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for standard gettimeofday" >&5
   7283 $as_echo_n "checking for standard gettimeofday... " >&6; }
   7284 if test "${ac_cv_func_gettimeofday+set}" = set; then :
   7285   $as_echo_n "(cached) " >&6
   7286 else
   7287   ac_cv_func_gettimeofday=no
   7288    if test "$cross_compiling" = yes; then :
   7289   ac_cv_func_gettimeofday="no (cross-compiling)"
   7290 else
   7291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7292 /* end confdefs.h.  */
   7293 #include <sys/time.h>
   7294                   int main ()
   7295 	          {
   7296 		    struct timeval t; t.tv_sec = -1; t.tv_usec = -1;
   7297 		    exit (gettimeofday (&t, 0) != 0
   7298 		          || t.tv_sec < 0 || t.tv_usec < 0);
   7299 	          }
   7300 _ACEOF
   7301 if ac_fn_c_try_run "$LINENO"; then :
   7302   ac_cv_func_gettimeofday=yes
   7303 else
   7304   ac_cv_func_gettimeofday=no
   7305 fi
   7306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7307   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7308 fi
   7309 
   7310 fi
   7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gettimeofday" >&5
   7312 $as_echo "$ac_cv_func_gettimeofday" >&6; }
   7313 if test "$ac_cv_func_gettimeofday" = yes; then
   7314 
   7315 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
   7316 
   7317 fi
   7318 
   7319 for ac_func in memcpy memmove strchr strdup mkstemp mktemp fdopen \
   7320 	        bsd_signal dup2 getcwd realpath sigsetmask sigaction \
   7321                 getgroups seteuid setegid setlinebuf setreuid setregid \
   7322                 getrlimit setrlimit setvbuf pipe strerror strsignal \
   7323 		lstat readlink atexit
   7324 do :
   7325   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7327 eval as_val=\$$as_ac_var
   7328    if test "x$as_val" = x""yes; then :
   7329   cat >>confdefs.h <<_ACEOF
   7330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7331 _ACEOF
   7332 
   7333 fi
   7334 done
   7335 
   7336 
   7337 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
   7338   $as_echo_n "(cached) " >&6
   7339 else
   7340   ac_cv_func_setvbuf_reversed=no
   7341 fi
   7342 
   7343 
   7344 
   7345 # strcoll() is used by the GNU glob library
   7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
   7347 $as_echo_n "checking for working strcoll... " >&6; }
   7348 if test "${ac_cv_func_strcoll_works+set}" = set; then :
   7349   $as_echo_n "(cached) " >&6
   7350 else
   7351   if test "$cross_compiling" = yes; then :
   7352   ac_cv_func_strcoll_works=no
   7353 else
   7354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7355 /* end confdefs.h.  */
   7356 $ac_includes_default
   7357 int
   7358 main ()
   7359 {
   7360 return (strcoll ("abc", "def") >= 0 ||
   7361 	 strcoll ("ABC", "DEF") >= 0 ||
   7362 	 strcoll ("123", "456") >= 0)
   7363   ;
   7364   return 0;
   7365 }
   7366 _ACEOF
   7367 if ac_fn_c_try_run "$LINENO"; then :
   7368   ac_cv_func_strcoll_works=yes
   7369 else
   7370   ac_cv_func_strcoll_works=no
   7371 fi
   7372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7373   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7374 fi
   7375 
   7376 fi
   7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
   7378 $as_echo "$ac_cv_func_strcoll_works" >&6; }
   7379 if test $ac_cv_func_strcoll_works = yes; then
   7380 
   7381 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
   7382 
   7383 fi
   7384 
   7385 
   7386 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   7387 # for constant arguments.  Useless!
   7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   7389 $as_echo_n "checking for working alloca.h... " >&6; }
   7390 if test "${ac_cv_working_alloca_h+set}" = set; then :
   7391   $as_echo_n "(cached) " >&6
   7392 else
   7393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7394 /* end confdefs.h.  */
   7395 #include <alloca.h>
   7396 int
   7397 main ()
   7398 {
   7399 char *p = (char *) alloca (2 * sizeof (int));
   7400 			  if (p) return 0;
   7401   ;
   7402   return 0;
   7403 }
   7404 _ACEOF
   7405 if ac_fn_c_try_link "$LINENO"; then :
   7406   ac_cv_working_alloca_h=yes
   7407 else
   7408   ac_cv_working_alloca_h=no
   7409 fi
   7410 rm -f core conftest.err conftest.$ac_objext \
   7411     conftest$ac_exeext conftest.$ac_ext
   7412 fi
   7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   7414 $as_echo "$ac_cv_working_alloca_h" >&6; }
   7415 if test $ac_cv_working_alloca_h = yes; then
   7416 
   7417 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   7418 
   7419 fi
   7420 
   7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   7422 $as_echo_n "checking for alloca... " >&6; }
   7423 if test "${ac_cv_func_alloca_works+set}" = set; then :
   7424   $as_echo_n "(cached) " >&6
   7425 else
   7426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7427 /* end confdefs.h.  */
   7428 #ifdef __GNUC__
   7429 # define alloca __builtin_alloca
   7430 #else
   7431 # ifdef _MSC_VER
   7432 #  include <malloc.h>
   7433 #  define alloca _alloca
   7434 # else
   7435 #  ifdef HAVE_ALLOCA_H
   7436 #   include <alloca.h>
   7437 #  else
   7438 #   ifdef _AIX
   7439  #pragma alloca
   7440 #   else
   7441 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   7442 char *alloca ();
   7443 #    endif
   7444 #   endif
   7445 #  endif
   7446 # endif
   7447 #endif
   7448 
   7449 int
   7450 main ()
   7451 {
   7452 char *p = (char *) alloca (1);
   7453 				    if (p) return 0;
   7454   ;
   7455   return 0;
   7456 }
   7457 _ACEOF
   7458 if ac_fn_c_try_link "$LINENO"; then :
   7459   ac_cv_func_alloca_works=yes
   7460 else
   7461   ac_cv_func_alloca_works=no
   7462 fi
   7463 rm -f core conftest.err conftest.$ac_objext \
   7464     conftest$ac_exeext conftest.$ac_ext
   7465 fi
   7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   7467 $as_echo "$ac_cv_func_alloca_works" >&6; }
   7468 
   7469 if test $ac_cv_func_alloca_works = yes; then
   7470 
   7471 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   7472 
   7473 else
   7474   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   7475 # that cause trouble.  Some versions do not even contain alloca or
   7476 # contain a buggy version.  If you still want to use their alloca,
   7477 # use ar to extract alloca.o from them instead of compiling alloca.c.
   7478 
   7479 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   7480 
   7481 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   7482 
   7483 
   7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   7485 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   7486 if test "${ac_cv_os_cray+set}" = set; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 #if defined CRAY && ! defined CRAY2
   7492 webecray
   7493 #else
   7494 wenotbecray
   7495 #endif
   7496 
   7497 _ACEOF
   7498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7499   $EGREP "webecray" >/dev/null 2>&1; then :
   7500   ac_cv_os_cray=yes
   7501 else
   7502   ac_cv_os_cray=no
   7503 fi
   7504 rm -f conftest*
   7505 
   7506 fi
   7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   7508 $as_echo "$ac_cv_os_cray" >&6; }
   7509 if test $ac_cv_os_cray = yes; then
   7510   for ac_func in _getb67 GETB67 getb67; do
   7511     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7513 eval as_val=\$$as_ac_var
   7514    if test "x$as_val" = x""yes; then :
   7515 
   7516 cat >>confdefs.h <<_ACEOF
   7517 #define CRAY_STACKSEG_END $ac_func
   7518 _ACEOF
   7519 
   7520     break
   7521 fi
   7522 
   7523   done
   7524 fi
   7525 
   7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   7527 $as_echo_n "checking stack direction for C alloca... " >&6; }
   7528 if test "${ac_cv_c_stack_direction+set}" = set; then :
   7529   $as_echo_n "(cached) " >&6
   7530 else
   7531   if test "$cross_compiling" = yes; then :
   7532   ac_cv_c_stack_direction=0
   7533 else
   7534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7535 /* end confdefs.h.  */
   7536 $ac_includes_default
   7537 int
   7538 find_stack_direction ()
   7539 {
   7540   static char *addr = 0;
   7541   auto char dummy;
   7542   if (addr == 0)
   7543     {
   7544       addr = &dummy;
   7545       return find_stack_direction ();
   7546     }
   7547   else
   7548     return (&dummy > addr) ? 1 : -1;
   7549 }
   7550 
   7551 int
   7552 main ()
   7553 {
   7554   return find_stack_direction () < 0;
   7555 }
   7556 _ACEOF
   7557 if ac_fn_c_try_run "$LINENO"; then :
   7558   ac_cv_c_stack_direction=1
   7559 else
   7560   ac_cv_c_stack_direction=-1
   7561 fi
   7562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7563   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7564 fi
   7565 
   7566 fi
   7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   7568 $as_echo "$ac_cv_c_stack_direction" >&6; }
   7569 cat >>confdefs.h <<_ACEOF
   7570 #define STACK_DIRECTION $ac_cv_c_stack_direction
   7571 _ACEOF
   7572 
   7573 
   7574 fi
   7575 
   7576 for ac_header in vfork.h
   7577 do :
   7578   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
   7579 if test "x$ac_cv_header_vfork_h" = x""yes; then :
   7580   cat >>confdefs.h <<_ACEOF
   7581 #define HAVE_VFORK_H 1
   7582 _ACEOF
   7583 
   7584 fi
   7585 
   7586 done
   7587 
   7588 for ac_func in fork vfork
   7589 do :
   7590   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7592 eval as_val=\$$as_ac_var
   7593    if test "x$as_val" = x""yes; then :
   7594   cat >>confdefs.h <<_ACEOF
   7595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7596 _ACEOF
   7597 
   7598 fi
   7599 done
   7600 
   7601 if test "x$ac_cv_func_fork" = xyes; then
   7602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
   7603 $as_echo_n "checking for working fork... " >&6; }
   7604 if test "${ac_cv_func_fork_works+set}" = set; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   if test "$cross_compiling" = yes; then :
   7608   ac_cv_func_fork_works=cross
   7609 else
   7610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7611 /* end confdefs.h.  */
   7612 $ac_includes_default
   7613 int
   7614 main ()
   7615 {
   7616 
   7617 	  /* By Ruediger Kuhlmann. */
   7618 	  return fork () < 0;
   7619 
   7620   ;
   7621   return 0;
   7622 }
   7623 _ACEOF
   7624 if ac_fn_c_try_run "$LINENO"; then :
   7625   ac_cv_func_fork_works=yes
   7626 else
   7627   ac_cv_func_fork_works=no
   7628 fi
   7629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7630   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7631 fi
   7632 
   7633 fi
   7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
   7635 $as_echo "$ac_cv_func_fork_works" >&6; }
   7636 
   7637 else
   7638   ac_cv_func_fork_works=$ac_cv_func_fork
   7639 fi
   7640 if test "x$ac_cv_func_fork_works" = xcross; then
   7641   case $host in
   7642     *-*-amigaos* | *-*-msdosdjgpp*)
   7643       # Override, as these systems have only a dummy fork() stub
   7644       ac_cv_func_fork_works=no
   7645       ;;
   7646     *)
   7647       ac_cv_func_fork_works=yes
   7648       ;;
   7649   esac
   7650   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   7651 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   7652 fi
   7653 ac_cv_func_vfork_works=$ac_cv_func_vfork
   7654 if test "x$ac_cv_func_vfork" = xyes; then
   7655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
   7656 $as_echo_n "checking for working vfork... " >&6; }
   7657 if test "${ac_cv_func_vfork_works+set}" = set; then :
   7658   $as_echo_n "(cached) " >&6
   7659 else
   7660   if test "$cross_compiling" = yes; then :
   7661   ac_cv_func_vfork_works=cross
   7662 else
   7663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7664 /* end confdefs.h.  */
   7665 /* Thanks to Paul Eggert for this test.  */
   7666 $ac_includes_default
   7667 #include <sys/wait.h>
   7668 #ifdef HAVE_VFORK_H
   7669 # include <vfork.h>
   7670 #endif
   7671 /* On some sparc systems, changes by the child to local and incoming
   7672    argument registers are propagated back to the parent.  The compiler
   7673    is told about this with #include <vfork.h>, but some compilers
   7674    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   7675    static variable whose address is put into a register that is
   7676    clobbered by the vfork.  */
   7677 static void
   7678 #ifdef __cplusplus
   7679 sparc_address_test (int arg)
   7680 # else
   7681 sparc_address_test (arg) int arg;
   7682 #endif
   7683 {
   7684   static pid_t child;
   7685   if (!child) {
   7686     child = vfork ();
   7687     if (child < 0) {
   7688       perror ("vfork");
   7689       _exit(2);
   7690     }
   7691     if (!child) {
   7692       arg = getpid();
   7693       write(-1, "", 0);
   7694       _exit (arg);
   7695     }
   7696   }
   7697 }
   7698 
   7699 int
   7700 main ()
   7701 {
   7702   pid_t parent = getpid ();
   7703   pid_t child;
   7704 
   7705   sparc_address_test (0);
   7706 
   7707   child = vfork ();
   7708 
   7709   if (child == 0) {
   7710     /* Here is another test for sparc vfork register problems.  This
   7711        test uses lots of local variables, at least as many local
   7712        variables as main has allocated so far including compiler
   7713        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   7714        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   7715        reuse the register of parent for one of the local variables,
   7716        since it will think that parent can't possibly be used any more
   7717        in this routine.  Assigning to the local variable will thus
   7718        munge parent in the parent process.  */
   7719     pid_t
   7720       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   7721       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   7722     /* Convince the compiler that p..p7 are live; otherwise, it might
   7723        use the same hardware register for all 8 local variables.  */
   7724     if (p != p1 || p != p2 || p != p3 || p != p4
   7725 	|| p != p5 || p != p6 || p != p7)
   7726       _exit(1);
   7727 
   7728     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   7729        from child file descriptors.  If the child closes a descriptor
   7730        before it execs or exits, this munges the parent's descriptor
   7731        as well.  Test for this by closing stdout in the child.  */
   7732     _exit(close(fileno(stdout)) != 0);
   7733   } else {
   7734     int status;
   7735     struct stat st;
   7736 
   7737     while (wait(&status) != child)
   7738       ;
   7739     return (
   7740 	 /* Was there some problem with vforking?  */
   7741 	 child < 0
   7742 
   7743 	 /* Did the child fail?  (This shouldn't happen.)  */
   7744 	 || status
   7745 
   7746 	 /* Did the vfork/compiler bug occur?  */
   7747 	 || parent != getpid()
   7748 
   7749 	 /* Did the file descriptor bug occur?  */
   7750 	 || fstat(fileno(stdout), &st) != 0
   7751 	 );
   7752   }
   7753 }
   7754 _ACEOF
   7755 if ac_fn_c_try_run "$LINENO"; then :
   7756   ac_cv_func_vfork_works=yes
   7757 else
   7758   ac_cv_func_vfork_works=no
   7759 fi
   7760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7761   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7762 fi
   7763 
   7764 fi
   7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
   7766 $as_echo "$ac_cv_func_vfork_works" >&6; }
   7767 
   7768 fi;
   7769 if test "x$ac_cv_func_fork_works" = xcross; then
   7770   ac_cv_func_vfork_works=$ac_cv_func_vfork
   7771   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   7772 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   7773 fi
   7774 
   7775 if test "x$ac_cv_func_vfork_works" = xyes; then
   7776 
   7777 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
   7778 
   7779 else
   7780 
   7781 $as_echo "#define vfork fork" >>confdefs.h
   7782 
   7783 fi
   7784 if test "x$ac_cv_func_fork_works" = xyes; then
   7785 
   7786 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
   7787 
   7788 fi
   7789 
   7790 for ac_func in vprintf
   7791 do :
   7792   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   7793 if test "x$ac_cv_func_vprintf" = x""yes; then :
   7794   cat >>confdefs.h <<_ACEOF
   7795 #define HAVE_VPRINTF 1
   7796 _ACEOF
   7797 
   7798 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   7799 if test "x$ac_cv_func__doprnt" = x""yes; then :
   7800 
   7801 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   7802 
   7803 fi
   7804 
   7805 fi
   7806 done
   7807 
   7808 
   7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
   7810 $as_echo_n "checking whether closedir returns void... " >&6; }
   7811 if test "${ac_cv_func_closedir_void+set}" = set; then :
   7812   $as_echo_n "(cached) " >&6
   7813 else
   7814   if test "$cross_compiling" = yes; then :
   7815   ac_cv_func_closedir_void=yes
   7816 else
   7817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 $ac_includes_default
   7820 #include <$ac_header_dirent>
   7821 #ifndef __cplusplus
   7822 int closedir ();
   7823 #endif
   7824 
   7825 int
   7826 main ()
   7827 {
   7828 return closedir (opendir (".")) != 0;
   7829   ;
   7830   return 0;
   7831 }
   7832 _ACEOF
   7833 if ac_fn_c_try_run "$LINENO"; then :
   7834   ac_cv_func_closedir_void=no
   7835 else
   7836   ac_cv_func_closedir_void=yes
   7837 fi
   7838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7839   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7840 fi
   7841 
   7842 fi
   7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
   7844 $as_echo "$ac_cv_func_closedir_void" >&6; }
   7845 if test $ac_cv_func_closedir_void = yes; then
   7846 
   7847 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
   7848 
   7849 fi
   7850 
   7851 
   7852 ac_have_func=no # yes means we've found a way to get the load average.
   7853 
   7854 # Make sure getloadavg.c is where it belongs, at configure-time.
   7855 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
   7856   as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
   7857 
   7858 ac_save_LIBS=$LIBS
   7859 
   7860 # Check for getloadavg, but be sure not to touch the cache variable.
   7861 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
   7862 if test "x$ac_cv_func_getloadavg" = x""yes; then :
   7863   exit 0
   7864 else
   7865   exit 1
   7866 fi
   7867 ) && ac_have_func=yes
   7868 
   7869 # On HPUX9, an unprivileged user can get load averages through this function.
   7870 for ac_func in pstat_getdynamic
   7871 do :
   7872   ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
   7873 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
   7874   cat >>confdefs.h <<_ACEOF
   7875 #define HAVE_PSTAT_GETDYNAMIC 1
   7876 _ACEOF
   7877 
   7878 fi
   7879 done
   7880 
   7881 
   7882 # Solaris has libkstat which does not require root.
   7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
   7884 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
   7885 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   ac_check_lib_save_LIBS=$LIBS
   7889 LIBS="-lkstat  $LIBS"
   7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 
   7893 /* Override any GCC internal prototype to avoid an error.
   7894    Use char because int might match the return type of a GCC
   7895    builtin and then its argument prototype would still apply.  */
   7896 #ifdef __cplusplus
   7897 extern "C"
   7898 #endif
   7899 char kstat_open ();
   7900 int
   7901 main ()
   7902 {
   7903 return kstat_open ();
   7904   ;
   7905   return 0;
   7906 }
   7907 _ACEOF
   7908 if ac_fn_c_try_link "$LINENO"; then :
   7909   ac_cv_lib_kstat_kstat_open=yes
   7910 else
   7911   ac_cv_lib_kstat_kstat_open=no
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext \
   7914     conftest$ac_exeext conftest.$ac_ext
   7915 LIBS=$ac_check_lib_save_LIBS
   7916 fi
   7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
   7918 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
   7919 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
   7920   cat >>confdefs.h <<_ACEOF
   7921 #define HAVE_LIBKSTAT 1
   7922 _ACEOF
   7923 
   7924   LIBS="-lkstat $LIBS"
   7925 
   7926 fi
   7927 
   7928 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
   7929 
   7930 # Some systems with -lutil have (and need) -lkvm as well, some do not.
   7931 # On Solaris, -lkvm requires nlist from -lelf, so check that first
   7932 # to get the right answer into the cache.
   7933 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
   7934 if test $ac_have_func = no; then
   7935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
   7936 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
   7937 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
   7938   $as_echo_n "(cached) " >&6
   7939 else
   7940   ac_check_lib_save_LIBS=$LIBS
   7941 LIBS="-lelf  $LIBS"
   7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7943 /* end confdefs.h.  */
   7944 
   7945 /* Override any GCC internal prototype to avoid an error.
   7946    Use char because int might match the return type of a GCC
   7947    builtin and then its argument prototype would still apply.  */
   7948 #ifdef __cplusplus
   7949 extern "C"
   7950 #endif
   7951 char elf_begin ();
   7952 int
   7953 main ()
   7954 {
   7955 return elf_begin ();
   7956   ;
   7957   return 0;
   7958 }
   7959 _ACEOF
   7960 if ac_fn_c_try_link "$LINENO"; then :
   7961   ac_cv_lib_elf_elf_begin=yes
   7962 else
   7963   ac_cv_lib_elf_elf_begin=no
   7964 fi
   7965 rm -f core conftest.err conftest.$ac_objext \
   7966     conftest$ac_exeext conftest.$ac_ext
   7967 LIBS=$ac_check_lib_save_LIBS
   7968 fi
   7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
   7970 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
   7971 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then :
   7972   LIBS="-lelf $LIBS"
   7973 fi
   7974 
   7975 fi
   7976 if test $ac_have_func = no; then
   7977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
   7978 $as_echo_n "checking for kvm_open in -lkvm... " >&6; }
   7979 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then :
   7980   $as_echo_n "(cached) " >&6
   7981 else
   7982   ac_check_lib_save_LIBS=$LIBS
   7983 LIBS="-lkvm  $LIBS"
   7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7985 /* end confdefs.h.  */
   7986 
   7987 /* Override any GCC internal prototype to avoid an error.
   7988    Use char because int might match the return type of a GCC
   7989    builtin and then its argument prototype would still apply.  */
   7990 #ifdef __cplusplus
   7991 extern "C"
   7992 #endif
   7993 char kvm_open ();
   7994 int
   7995 main ()
   7996 {
   7997 return kvm_open ();
   7998   ;
   7999   return 0;
   8000 }
   8001 _ACEOF
   8002 if ac_fn_c_try_link "$LINENO"; then :
   8003   ac_cv_lib_kvm_kvm_open=yes
   8004 else
   8005   ac_cv_lib_kvm_kvm_open=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext \
   8008     conftest$ac_exeext conftest.$ac_ext
   8009 LIBS=$ac_check_lib_save_LIBS
   8010 fi
   8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
   8012 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
   8013 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then :
   8014   LIBS="-lkvm $LIBS"
   8015 fi
   8016 
   8017   # Check for the 4.4BSD definition of getloadavg.
   8018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
   8019 $as_echo_n "checking for getloadavg in -lutil... " >&6; }
   8020 if test "${ac_cv_lib_util_getloadavg+set}" = set; then :
   8021   $as_echo_n "(cached) " >&6
   8022 else
   8023   ac_check_lib_save_LIBS=$LIBS
   8024 LIBS="-lutil  $LIBS"
   8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8026 /* end confdefs.h.  */
   8027 
   8028 /* Override any GCC internal prototype to avoid an error.
   8029    Use char because int might match the return type of a GCC
   8030    builtin and then its argument prototype would still apply.  */
   8031 #ifdef __cplusplus
   8032 extern "C"
   8033 #endif
   8034 char getloadavg ();
   8035 int
   8036 main ()
   8037 {
   8038 return getloadavg ();
   8039   ;
   8040   return 0;
   8041 }
   8042 _ACEOF
   8043 if ac_fn_c_try_link "$LINENO"; then :
   8044   ac_cv_lib_util_getloadavg=yes
   8045 else
   8046   ac_cv_lib_util_getloadavg=no
   8047 fi
   8048 rm -f core conftest.err conftest.$ac_objext \
   8049     conftest$ac_exeext conftest.$ac_ext
   8050 LIBS=$ac_check_lib_save_LIBS
   8051 fi
   8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
   8053 $as_echo "$ac_cv_lib_util_getloadavg" >&6; }
   8054 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then :
   8055   LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
   8056 fi
   8057 
   8058 fi
   8059 
   8060 if test $ac_have_func = no; then
   8061   # There is a commonly available library for RS/6000 AIX.
   8062   # Since it is not a standard part of AIX, it might be installed locally.
   8063   ac_getloadavg_LIBS=$LIBS
   8064   LIBS="-L/usr/local/lib $LIBS"
   8065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
   8066 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
   8067 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then :
   8068   $as_echo_n "(cached) " >&6
   8069 else
   8070   ac_check_lib_save_LIBS=$LIBS
   8071 LIBS="-lgetloadavg  $LIBS"
   8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8073 /* end confdefs.h.  */
   8074 
   8075 /* Override any GCC internal prototype to avoid an error.
   8076    Use char because int might match the return type of a GCC
   8077    builtin and then its argument prototype would still apply.  */
   8078 #ifdef __cplusplus
   8079 extern "C"
   8080 #endif
   8081 char getloadavg ();
   8082 int
   8083 main ()
   8084 {
   8085 return getloadavg ();
   8086   ;
   8087   return 0;
   8088 }
   8089 _ACEOF
   8090 if ac_fn_c_try_link "$LINENO"; then :
   8091   ac_cv_lib_getloadavg_getloadavg=yes
   8092 else
   8093   ac_cv_lib_getloadavg_getloadavg=no
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext \
   8096     conftest$ac_exeext conftest.$ac_ext
   8097 LIBS=$ac_check_lib_save_LIBS
   8098 fi
   8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
   8100 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
   8101 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then :
   8102   LIBS="-lgetloadavg $LIBS"
   8103 else
   8104   LIBS=$ac_getloadavg_LIBS
   8105 fi
   8106 
   8107 fi
   8108 
   8109 # Make sure it is really in the library, if we think we found it,
   8110 # otherwise set up the replacement function.
   8111 for ac_func in getloadavg
   8112 do :
   8113   ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
   8114 if test "x$ac_cv_func_getloadavg" = x""yes; then :
   8115   cat >>confdefs.h <<_ACEOF
   8116 #define HAVE_GETLOADAVG 1
   8117 _ACEOF
   8118 
   8119 else
   8120   case " $LIBOBJS " in
   8121   *" getloadavg.$ac_objext "* ) ;;
   8122   *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
   8123  ;;
   8124 esac
   8125 
   8126 
   8127 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h
   8128 
   8129 # Figure out what our getloadavg.c needs.
   8130 ac_have_func=no
   8131 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
   8132 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
   8133   ac_have_func=yes
   8134 
   8135 $as_echo "#define DGUX 1" >>confdefs.h
   8136 
   8137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
   8138 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
   8139 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
   8140   $as_echo_n "(cached) " >&6
   8141 else
   8142   ac_check_lib_save_LIBS=$LIBS
   8143 LIBS="-ldgc  $LIBS"
   8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8145 /* end confdefs.h.  */
   8146 
   8147 /* Override any GCC internal prototype to avoid an error.
   8148    Use char because int might match the return type of a GCC
   8149    builtin and then its argument prototype would still apply.  */
   8150 #ifdef __cplusplus
   8151 extern "C"
   8152 #endif
   8153 char dg_sys_info ();
   8154 int
   8155 main ()
   8156 {
   8157 return dg_sys_info ();
   8158   ;
   8159   return 0;
   8160 }
   8161 _ACEOF
   8162 if ac_fn_c_try_link "$LINENO"; then :
   8163   ac_cv_lib_dgc_dg_sys_info=yes
   8164 else
   8165   ac_cv_lib_dgc_dg_sys_info=no
   8166 fi
   8167 rm -f core conftest.err conftest.$ac_objext \
   8168     conftest$ac_exeext conftest.$ac_ext
   8169 LIBS=$ac_check_lib_save_LIBS
   8170 fi
   8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
   8172 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
   8173 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then :
   8174   cat >>confdefs.h <<_ACEOF
   8175 #define HAVE_LIBDGC 1
   8176 _ACEOF
   8177 
   8178   LIBS="-ldgc $LIBS"
   8179 
   8180 fi
   8181 
   8182 fi
   8183 
   8184 
   8185 
   8186 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
   8187 if test "x$ac_cv_header_locale_h" = x""yes; then :
   8188 
   8189 fi
   8190 
   8191 
   8192 for ac_func in setlocale
   8193 do :
   8194   ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
   8195 if test "x$ac_cv_func_setlocale" = x""yes; then :
   8196   cat >>confdefs.h <<_ACEOF
   8197 #define HAVE_SETLOCALE 1
   8198 _ACEOF
   8199 
   8200 fi
   8201 done
   8202 
   8203 
   8204 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
   8205 # uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
   8206 # Irix 4.0.5F has the header but not the library.
   8207 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
   8208   ac_have_func=yes
   8209 
   8210 $as_echo "#define SVR4 1" >>confdefs.h
   8211 
   8212 fi
   8213 
   8214 if test $ac_have_func = no; then
   8215   ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
   8216 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
   8217   ac_have_func=yes
   8218 
   8219 $as_echo "#define UMAX 1" >>confdefs.h
   8220 
   8221 
   8222 $as_echo "#define UMAX4_3 1" >>confdefs.h
   8223 
   8224 fi
   8225 
   8226 
   8227 fi
   8228 
   8229 if test $ac_have_func = no; then
   8230   ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
   8231 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
   8232   ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
   8233 
   8234 fi
   8235 
   8236 
   8237 fi
   8238 
   8239 if test $ac_have_func = no; then
   8240   for ac_header in mach/mach.h
   8241 do :
   8242   ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
   8243 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
   8244   cat >>confdefs.h <<_ACEOF
   8245 #define HAVE_MACH_MACH_H 1
   8246 _ACEOF
   8247 
   8248 fi
   8249 
   8250 done
   8251 
   8252 fi
   8253 
   8254 for ac_header in nlist.h
   8255 do :
   8256   ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
   8257 if test "x$ac_cv_header_nlist_h" = x""yes; then :
   8258   cat >>confdefs.h <<_ACEOF
   8259 #define HAVE_NLIST_H 1
   8260 _ACEOF
   8261  ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
   8262 "
   8263 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then :
   8264 
   8265 cat >>confdefs.h <<_ACEOF
   8266 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
   8267 _ACEOF
   8268 
   8269 
   8270 $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h
   8271 
   8272 fi
   8273 
   8274 
   8275 fi
   8276 
   8277 done
   8278 
   8279 fi
   8280 done
   8281 
   8282 
   8283 # Some definitions of getloadavg require that the program be installed setgid.
   8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
   8285 $as_echo_n "checking whether getloadavg requires setgid... " >&6; }
   8286 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
   8292 #ifdef LDAV_PRIVILEGED
   8293 Yowza Am I SETGID yet
   8294 #endif
   8295 _ACEOF
   8296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8297   $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then :
   8298   ac_cv_func_getloadavg_setgid=yes
   8299 else
   8300   ac_cv_func_getloadavg_setgid=no
   8301 fi
   8302 rm -f conftest*
   8303 
   8304 fi
   8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5
   8306 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
   8307 if test $ac_cv_func_getloadavg_setgid = yes; then
   8308   NEED_SETGID=true
   8309 
   8310 $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h
   8311 
   8312 else
   8313   NEED_SETGID=false
   8314 fi
   8315 
   8316 if test $ac_cv_func_getloadavg_setgid = yes; then
   8317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
   8318 $as_echo_n "checking group of /dev/kmem... " >&6; }
   8319 if test "${ac_cv_group_kmem+set}" = set; then :
   8320   $as_echo_n "(cached) " >&6
   8321 else
   8322    # On Solaris, /dev/kmem is a symlink.  Get info on the real file.
   8323   ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
   8324   # If we got an error (system does not support symlinks), try without -L.
   8325   test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
   8326   ac_cv_group_kmem=`$as_echo "$ac_ls_output" \
   8327     | sed -ne 's/[	 ][	 ]*/ /g;
   8328 	       s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\)  *.*/\1/;
   8329 	       / /s/.* //;p;'`
   8330 
   8331 fi
   8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5
   8333 $as_echo "$ac_cv_group_kmem" >&6; }
   8334   KMEM_GROUP=$ac_cv_group_kmem
   8335 fi
   8336 if test "x$ac_save_LIBS" = x; then
   8337   GETLOADAVG_LIBS=$LIBS
   8338 else
   8339   GETLOADAVG_LIBS=`$as_echo "$LIBS" | sed "s|$ac_save_LIBS||"`
   8340 fi
   8341 LIBS=$ac_save_LIBS
   8342 
   8343 
   8344 
   8345 # AC_FUNC_GETLOADAVG is documented to set the NLIST_STRUCT value, but it
   8346 # doesn't.  So, we will.
   8347 
   8348 if test "$ac_cv_header_nlist_h" = yes; then
   8349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8350 /* end confdefs.h.  */
   8351 #include <nlist.h>
   8352 int
   8353 main ()
   8354 {
   8355 struct nlist nl;
   8356           nl.n_name = "string";
   8357           return 0;
   8358   ;
   8359   return 0;
   8360 }
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"; then :
   8363   make_cv_nlist_struct=yes
   8364 else
   8365   make_cv_nlist_struct=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8368   if test "$make_cv_nlist_struct" = yes; then
   8369 
   8370 $as_echo "#define NLIST_STRUCT 1" >>confdefs.h
   8371 
   8372   fi
   8373 fi
   8374 
   8375 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default
   8376 #include <signal.h>
   8377 /* NetBSD declares sys_siglist in unistd.h.  */
   8378 #if HAVE_UNISTD_H
   8379 # include <unistd.h>
   8380 #endif
   8381 
   8382 "
   8383 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then :
   8384   ac_have_decl=1
   8385 else
   8386   ac_have_decl=0
   8387 fi
   8388 
   8389 cat >>confdefs.h <<_ACEOF
   8390 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl
   8391 _ACEOF
   8392 ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "$ac_includes_default
   8393 #include <signal.h>
   8394 /* NetBSD declares sys_siglist in unistd.h.  */
   8395 #if HAVE_UNISTD_H
   8396 # include <unistd.h>
   8397 #endif
   8398 
   8399 "
   8400 if test "x$ac_cv_have_decl__sys_siglist" = x""yes; then :
   8401   ac_have_decl=1
   8402 else
   8403   ac_have_decl=0
   8404 fi
   8405 
   8406 cat >>confdefs.h <<_ACEOF
   8407 #define HAVE_DECL__SYS_SIGLIST $ac_have_decl
   8408 _ACEOF
   8409 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default
   8410 #include <signal.h>
   8411 /* NetBSD declares sys_siglist in unistd.h.  */
   8412 #if HAVE_UNISTD_H
   8413 # include <unistd.h>
   8414 #endif
   8415 
   8416 "
   8417 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then :
   8418   ac_have_decl=1
   8419 else
   8420   ac_have_decl=0
   8421 fi
   8422 
   8423 cat >>confdefs.h <<_ACEOF
   8424 #define HAVE_DECL___SYS_SIGLIST $ac_have_decl
   8425 _ACEOF
   8426 
   8427 
   8428 
   8429 # Check out the wait reality.
   8430 for ac_header in sys/wait.h
   8431 do :
   8432   ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
   8433 if test "x$ac_cv_header_sys_wait_h" = x""yes; then :
   8434   cat >>confdefs.h <<_ACEOF
   8435 #define HAVE_SYS_WAIT_H 1
   8436 _ACEOF
   8437 
   8438 fi
   8439 
   8440 done
   8441 
   8442 for ac_func in waitpid wait3
   8443 do :
   8444   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   8446 eval as_val=\$$as_ac_var
   8447    if test "x$as_val" = x""yes; then :
   8448   cat >>confdefs.h <<_ACEOF
   8449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8450 _ACEOF
   8451 
   8452 fi
   8453 done
   8454 
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for union wait" >&5
   8456 $as_echo_n "checking for union wait... " >&6; }
   8457 if test "${make_cv_union_wait+set}" = set; then :
   8458   $as_echo_n "(cached) " >&6
   8459 else
   8460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8461 /* end confdefs.h.  */
   8462 #include <sys/types.h>
   8463 #include <sys/wait.h>
   8464 int
   8465 main ()
   8466 {
   8467 union wait status; int pid; pid = wait (&status);
   8468 #ifdef WEXITSTATUS
   8469 /* Some POSIXoid systems have both the new-style macros and the old
   8470    union wait type, and they do not work together.  If union wait
   8471    conflicts with WEXITSTATUS et al, we don't want to use it at all.  */
   8472         if (WEXITSTATUS (status) != 0) pid = -1;
   8473 #ifdef WTERMSIG
   8474         /* If we have WEXITSTATUS and WTERMSIG, just use them on ints.  */
   8475         -- blow chunks here --
   8476 #endif
   8477 #endif
   8478 #ifdef HAVE_WAITPID
   8479         /* Make sure union wait works with waitpid.  */
   8480         pid = waitpid (-1, &status, 0);
   8481 #endif
   8482 
   8483   ;
   8484   return 0;
   8485 }
   8486 _ACEOF
   8487 if ac_fn_c_try_link "$LINENO"; then :
   8488   make_cv_union_wait=yes
   8489 else
   8490   make_cv_union_wait=no
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext \
   8493     conftest$ac_exeext conftest.$ac_ext
   8494 fi
   8495 
   8496 if test "$make_cv_union_wait" = yes; then
   8497 
   8498 $as_echo "#define HAVE_UNION_WAIT 1" >>confdefs.h
   8499 
   8500 fi
   8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_union_wait" >&5
   8502 $as_echo "$make_cv_union_wait" >&6; }
   8503 
   8504 
   8505 # If we're building on Windows/DOS/OS/2, add some support for DOS drive specs.
   8506 if test "$PATH_SEPARATOR" = ';'; then
   8507 
   8508 $as_echo "#define HAVE_DOS_PATHS 1" >>confdefs.h
   8509 
   8510 fi
   8511 
   8512 
   8513 # See if the user wants to use pmake's "customs" distributed build capability
   8514 
   8515  REMOTE=stub
   8516 use_customs=false
   8517 
   8518 # Check whether --with-customs was given.
   8519 if test "${with_customs+set}" = set; then :
   8520   withval=$with_customs; case $withval in
   8521     n|no) : ;;
   8522     *) make_cppflags="$CPPFLAGS"
   8523        case $withval in
   8524 	 y|ye|yes) : ;;
   8525 	 *) CPPFLAGS="$CPPFLAGS -I$with_customs/include/customs"
   8526 	    make_ldflags="$LDFLAGS -L$with_customs/lib" ;;
   8527        esac
   8528 
   8529 cf_test_netlibs=no
   8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for network libraries" >&5
   8531 $as_echo_n "checking for network libraries... " >&6; }
   8532 if test "${cf_cv_netlibs+set}" = set; then :
   8533   $as_echo_n "(cached) " >&6
   8534 else
   8535 
   8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: working..." >&5
   8537 $as_echo "working..." >&6; }
   8538 cf_cv_netlibs=""
   8539 cf_test_netlibs=yes
   8540 for ac_func in gethostname
   8541 do :
   8542   ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
   8543 if test "x$ac_cv_func_gethostname" = x""yes; then :
   8544   cat >>confdefs.h <<_ACEOF
   8545 #define HAVE_GETHOSTNAME 1
   8546 _ACEOF
   8547 
   8548 else
   8549 
   8550 
   8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5
   8552 $as_echo_n "checking for gethostname in -lnsl... " >&6; }
   8553 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then :
   8554   $as_echo_n "(cached) " >&6
   8555 else
   8556   ac_check_lib_save_LIBS=$LIBS
   8557 LIBS="-lnsl $cf_cv_netlibs $LIBS"
   8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8559 /* end confdefs.h.  */
   8560 
   8561 /* Override any GCC internal prototype to avoid an error.
   8562    Use char because int might match the return type of a GCC
   8563    builtin and then its argument prototype would still apply.  */
   8564 #ifdef __cplusplus
   8565 extern "C"
   8566 #endif
   8567 char gethostname ();
   8568 int
   8569 main ()
   8570 {
   8571 return gethostname ();
   8572   ;
   8573   return 0;
   8574 }
   8575 _ACEOF
   8576 if ac_fn_c_try_link "$LINENO"; then :
   8577   ac_cv_lib_nsl_gethostname=yes
   8578 else
   8579   ac_cv_lib_nsl_gethostname=no
   8580 fi
   8581 rm -f core conftest.err conftest.$ac_objext \
   8582     conftest$ac_exeext conftest.$ac_ext
   8583 LIBS=$ac_check_lib_save_LIBS
   8584 fi
   8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5
   8586 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; }
   8587 if test "x$ac_cv_lib_nsl_gethostname" = x""yes; then :
   8588 
   8589 
   8590 cf_tr_func=`echo gethostname | tr '[a-z]' '[A-Z]'`
   8591 
   8592 
   8593 cat >>confdefs.h <<_ACEOF
   8594 #define HAVE_$cf_tr_func 1
   8595 _ACEOF
   8596 
   8597 	ac_cv_func_gethostname=yes
   8598 	cf_cv_netlibs="-lnsl $cf_cv_netlibs"
   8599 else
   8600 
   8601 	ac_cv_func_gethostname=unknown
   8602 	unset ac_cv_func_gethostname 2>/dev/null
   8603 
   8604 
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
   8606 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
   8607 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   ac_check_lib_save_LIBS=$LIBS
   8611 LIBS="-lsocket $cf_cv_netlibs $LIBS"
   8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8613 /* end confdefs.h.  */
   8614 
   8615 /* Override any GCC internal prototype to avoid an error.
   8616    Use char because int might match the return type of a GCC
   8617    builtin and then its argument prototype would still apply.  */
   8618 #ifdef __cplusplus
   8619 extern "C"
   8620 #endif
   8621 char gethostname ();
   8622 int
   8623 main ()
   8624 {
   8625 return gethostname ();
   8626   ;
   8627   return 0;
   8628 }
   8629 _ACEOF
   8630 if ac_fn_c_try_link "$LINENO"; then :
   8631   ac_cv_lib_socket_gethostname=yes
   8632 else
   8633   ac_cv_lib_socket_gethostname=no
   8634 fi
   8635 rm -f core conftest.err conftest.$ac_objext \
   8636     conftest$ac_exeext conftest.$ac_ext
   8637 LIBS=$ac_check_lib_save_LIBS
   8638 fi
   8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
   8640 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
   8641 if test "x$ac_cv_lib_socket_gethostname" = x""yes; then :
   8642 
   8643 
   8644 cf_tr_func=`echo gethostname | tr '[a-z]' '[A-Z]'`
   8645 
   8646 
   8647 cat >>confdefs.h <<_ACEOF
   8648 #define HAVE_$cf_tr_func 1
   8649 _ACEOF
   8650 
   8651 	ac_cv_func_gethostname=yes
   8652 	cf_cv_netlibs="-lsocket $cf_cv_netlibs"
   8653 else
   8654 
   8655 	ac_cv_func_gethostname=unknown
   8656 	unset ac_cv_func_gethostname 2>/dev/null
   8657 
   8658 fi
   8659 
   8660 
   8661 fi
   8662 
   8663 
   8664 fi
   8665 done
   8666 
   8667 #
   8668 # FIXME:  sequent needs this library (i.e., -lsocket -linet -lnsl), but
   8669 # I don't know the entrypoints - 97/7/22 TD
   8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -linet" >&5
   8671 $as_echo_n "checking for main in -linet... " >&6; }
   8672 if test "${ac_cv_lib_inet_main+set}" = set; then :
   8673   $as_echo_n "(cached) " >&6
   8674 else
   8675   ac_check_lib_save_LIBS=$LIBS
   8676 LIBS="-linet  $LIBS"
   8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8678 /* end confdefs.h.  */
   8679 
   8680 
   8681 int
   8682 main ()
   8683 {
   8684 return main ();
   8685   ;
   8686   return 0;
   8687 }
   8688 _ACEOF
   8689 if ac_fn_c_try_link "$LINENO"; then :
   8690   ac_cv_lib_inet_main=yes
   8691 else
   8692   ac_cv_lib_inet_main=no
   8693 fi
   8694 rm -f core conftest.err conftest.$ac_objext \
   8695     conftest$ac_exeext conftest.$ac_ext
   8696 LIBS=$ac_check_lib_save_LIBS
   8697 fi
   8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_main" >&5
   8699 $as_echo "$ac_cv_lib_inet_main" >&6; }
   8700 if test "x$ac_cv_lib_inet_main" = x""yes; then :
   8701   cf_cv_netlibs="-linet $cf_cv_netlibs"
   8702 fi
   8703 
   8704 #
   8705 if test "$ac_cv_func_lsocket" != no ; then
   8706 for ac_func in socket
   8707 do :
   8708   ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
   8709 if test "x$ac_cv_func_socket" = x""yes; then :
   8710   cat >>confdefs.h <<_ACEOF
   8711 #define HAVE_SOCKET 1
   8712 _ACEOF
   8713 
   8714 else
   8715 
   8716 
   8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
   8718 $as_echo_n "checking for socket in -lsocket... " >&6; }
   8719 if test "${ac_cv_lib_socket_socket+set}" = set; then :
   8720   $as_echo_n "(cached) " >&6
   8721 else
   8722   ac_check_lib_save_LIBS=$LIBS
   8723 LIBS="-lsocket $cf_cv_netlibs $LIBS"
   8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 
   8727 /* Override any GCC internal prototype to avoid an error.
   8728    Use char because int might match the return type of a GCC
   8729    builtin and then its argument prototype would still apply.  */
   8730 #ifdef __cplusplus
   8731 extern "C"
   8732 #endif
   8733 char socket ();
   8734 int
   8735 main ()
   8736 {
   8737 return socket ();
   8738   ;
   8739   return 0;
   8740 }
   8741 _ACEOF
   8742 if ac_fn_c_try_link "$LINENO"; then :
   8743   ac_cv_lib_socket_socket=yes
   8744 else
   8745   ac_cv_lib_socket_socket=no
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext \
   8748     conftest$ac_exeext conftest.$ac_ext
   8749 LIBS=$ac_check_lib_save_LIBS
   8750 fi
   8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
   8752 $as_echo "$ac_cv_lib_socket_socket" >&6; }
   8753 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
   8754 
   8755 
   8756 cf_tr_func=`echo socket | tr '[a-z]' '[A-Z]'`
   8757 
   8758 
   8759 cat >>confdefs.h <<_ACEOF
   8760 #define HAVE_$cf_tr_func 1
   8761 _ACEOF
   8762 
   8763 	ac_cv_func_socket=yes
   8764 	cf_cv_netlibs="-lsocket $cf_cv_netlibs"
   8765 else
   8766 
   8767 	ac_cv_func_socket=unknown
   8768 	unset ac_cv_func_socket 2>/dev/null
   8769 
   8770 
   8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lbsd" >&5
   8772 $as_echo_n "checking for socket in -lbsd... " >&6; }
   8773 if test "${ac_cv_lib_bsd_socket+set}" = set; then :
   8774   $as_echo_n "(cached) " >&6
   8775 else
   8776   ac_check_lib_save_LIBS=$LIBS
   8777 LIBS="-lbsd $cf_cv_netlibs $LIBS"
   8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8779 /* end confdefs.h.  */
   8780 
   8781 /* Override any GCC internal prototype to avoid an error.
   8782    Use char because int might match the return type of a GCC
   8783    builtin and then its argument prototype would still apply.  */
   8784 #ifdef __cplusplus
   8785 extern "C"
   8786 #endif
   8787 char socket ();
   8788 int
   8789 main ()
   8790 {
   8791 return socket ();
   8792   ;
   8793   return 0;
   8794 }
   8795 _ACEOF
   8796 if ac_fn_c_try_link "$LINENO"; then :
   8797   ac_cv_lib_bsd_socket=yes
   8798 else
   8799   ac_cv_lib_bsd_socket=no
   8800 fi
   8801 rm -f core conftest.err conftest.$ac_objext \
   8802     conftest$ac_exeext conftest.$ac_ext
   8803 LIBS=$ac_check_lib_save_LIBS
   8804 fi
   8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_socket" >&5
   8806 $as_echo "$ac_cv_lib_bsd_socket" >&6; }
   8807 if test "x$ac_cv_lib_bsd_socket" = x""yes; then :
   8808 
   8809 
   8810 cf_tr_func=`echo socket | tr '[a-z]' '[A-Z]'`
   8811 
   8812 
   8813 cat >>confdefs.h <<_ACEOF
   8814 #define HAVE_$cf_tr_func 1
   8815 _ACEOF
   8816 
   8817 	ac_cv_func_socket=yes
   8818 	cf_cv_netlibs="-lbsd $cf_cv_netlibs"
   8819 else
   8820 
   8821 	ac_cv_func_socket=unknown
   8822 	unset ac_cv_func_socket 2>/dev/null
   8823 
   8824 fi
   8825 
   8826 
   8827 fi
   8828 
   8829 
   8830 fi
   8831 done
   8832 
   8833 fi
   8834 #
   8835 for ac_func in gethostbyname
   8836 do :
   8837   ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
   8838 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
   8839   cat >>confdefs.h <<_ACEOF
   8840 #define HAVE_GETHOSTBYNAME 1
   8841 _ACEOF
   8842 
   8843 else
   8844 
   8845 
   8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
   8847 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
   8848 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
   8849   $as_echo_n "(cached) " >&6
   8850 else
   8851   ac_check_lib_save_LIBS=$LIBS
   8852 LIBS="-lnsl $cf_cv_netlibs $LIBS"
   8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8854 /* end confdefs.h.  */
   8855 
   8856 /* Override any GCC internal prototype to avoid an error.
   8857    Use char because int might match the return type of a GCC
   8858    builtin and then its argument prototype would still apply.  */
   8859 #ifdef __cplusplus
   8860 extern "C"
   8861 #endif
   8862 char gethostbyname ();
   8863 int
   8864 main ()
   8865 {
   8866 return gethostbyname ();
   8867   ;
   8868   return 0;
   8869 }
   8870 _ACEOF
   8871 if ac_fn_c_try_link "$LINENO"; then :
   8872   ac_cv_lib_nsl_gethostbyname=yes
   8873 else
   8874   ac_cv_lib_nsl_gethostbyname=no
   8875 fi
   8876 rm -f core conftest.err conftest.$ac_objext \
   8877     conftest$ac_exeext conftest.$ac_ext
   8878 LIBS=$ac_check_lib_save_LIBS
   8879 fi
   8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
   8881 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
   8882 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
   8883 
   8884 
   8885 cf_tr_func=`echo gethostbyname | tr '[a-z]' '[A-Z]'`
   8886 
   8887 
   8888 cat >>confdefs.h <<_ACEOF
   8889 #define HAVE_$cf_tr_func 1
   8890 _ACEOF
   8891 
   8892 	ac_cv_func_gethostbyname=yes
   8893 	cf_cv_netlibs="-lnsl $cf_cv_netlibs"
   8894 else
   8895 
   8896 	ac_cv_func_gethostbyname=unknown
   8897 	unset ac_cv_func_gethostbyname 2>/dev/null
   8898 
   8899 fi
   8900 
   8901 
   8902 fi
   8903 done
   8904 
   8905 #
   8906 for ac_func in strcasecmp
   8907 do :
   8908   ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   8909 if test "x$ac_cv_func_strcasecmp" = x""yes; then :
   8910   cat >>confdefs.h <<_ACEOF
   8911 #define HAVE_STRCASECMP 1
   8912 _ACEOF
   8913 
   8914 else
   8915 
   8916 
   8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolv" >&5
   8918 $as_echo_n "checking for strcasecmp in -lresolv... " >&6; }
   8919 if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then :
   8920   $as_echo_n "(cached) " >&6
   8921 else
   8922   ac_check_lib_save_LIBS=$LIBS
   8923 LIBS="-lresolv $cf_cv_netlibs $LIBS"
   8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 
   8927 /* Override any GCC internal prototype to avoid an error.
   8928    Use char because int might match the return type of a GCC
   8929    builtin and then its argument prototype would still apply.  */
   8930 #ifdef __cplusplus
   8931 extern "C"
   8932 #endif
   8933 char strcasecmp ();
   8934 int
   8935 main ()
   8936 {
   8937 return strcasecmp ();
   8938   ;
   8939   return 0;
   8940 }
   8941 _ACEOF
   8942 if ac_fn_c_try_link "$LINENO"; then :
   8943   ac_cv_lib_resolv_strcasecmp=yes
   8944 else
   8945   ac_cv_lib_resolv_strcasecmp=no
   8946 fi
   8947 rm -f core conftest.err conftest.$ac_objext \
   8948     conftest$ac_exeext conftest.$ac_ext
   8949 LIBS=$ac_check_lib_save_LIBS
   8950 fi
   8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_strcasecmp" >&5
   8952 $as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; }
   8953 if test "x$ac_cv_lib_resolv_strcasecmp" = x""yes; then :
   8954 
   8955 
   8956 cf_tr_func=`echo strcasecmp | tr '[a-z]' '[A-Z]'`
   8957 
   8958 
   8959 cat >>confdefs.h <<_ACEOF
   8960 #define HAVE_$cf_tr_func 1
   8961 _ACEOF
   8962 
   8963 	ac_cv_func_strcasecmp=yes
   8964 	cf_cv_netlibs="-lresolv $cf_cv_netlibs"
   8965 else
   8966 
   8967 	ac_cv_func_strcasecmp=unknown
   8968 	unset ac_cv_func_strcasecmp 2>/dev/null
   8969 
   8970 fi
   8971 
   8972 
   8973 fi
   8974 done
   8975 
   8976 
   8977 fi
   8978 
   8979 LIBS="$LIBS $cf_cv_netlibs"
   8980 test $cf_test_netlibs = no && echo "$cf_cv_netlibs" >&6
   8981 
   8982        ac_fn_c_check_header_mongrel "$LINENO" "customs.h" "ac_cv_header_customs_h" "$ac_includes_default"
   8983 if test "x$ac_cv_header_customs_h" = x""yes; then :
   8984   use_customs=true
   8985 		         REMOTE=cstms
   8986 			 LIBS="$LIBS -lcustoms" LDFLAGS="$make_ldflags"
   8987 else
   8988   with_customs=no
   8989 			 CPPFLAGS="$make_cppflags" make_badcust=yes
   8990 fi
   8991 
   8992 
   8993        ;;
   8994   esac
   8995 fi
   8996 
   8997 # Tell automake about this, so it can include the right .c files.
   8998 
   8999 
   9000 if test "$use_customs" = true; then
   9001   USE_CUSTOMS_TRUE=
   9002   USE_CUSTOMS_FALSE='#'
   9003 else
   9004   USE_CUSTOMS_TRUE='#'
   9005   USE_CUSTOMS_FALSE=
   9006 fi
   9007 
   9008 
   9009 # See if the user asked to handle case insensitive file systems.
   9010 
   9011 
   9012 # Check whether --enable-case-insensitive-file-system was given.
   9013 if test "${enable_case_insensitive_file_system+set}" = set; then :
   9014   enableval=$enable_case_insensitive_file_system; case_insensitive_fs="yes" $as_echo "#define HAVE_CASE_INSENSITIVE_FS 1" >>confdefs.h
   9015 
   9016 else
   9017   case_insensitive_fs="no"
   9018 fi
   9019 
   9020 
   9021 # See if we can handle the job server feature, and if the user wants it.
   9022 
   9023 # Check whether --enable-job-server was given.
   9024 if test "${enable_job_server+set}" = set; then :
   9025   enableval=$enable_job_server; make_cv_job_server="$enableval" user_job_server="$enableval"
   9026 else
   9027   make_cv_job_server="yes"
   9028 fi
   9029 
   9030 
   9031 has_wait_nohang=yes
   9032 case "$ac_cv_func_waitpid/$ac_cv_func_wait3" in
   9033   no/no) has_wait_nohang=no ;;
   9034 esac
   9035 
   9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTART" >&5
   9037 $as_echo_n "checking for SA_RESTART... " >&6; }
   9038 if test "${make_cv_sa_restart+set}" = set; then :
   9039   $as_echo_n "(cached) " >&6
   9040 else
   9041 
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 #include <signal.h>
   9045 int
   9046 main ()
   9047 {
   9048 return SA_RESTART;
   9049   ;
   9050   return 0;
   9051 }
   9052 _ACEOF
   9053 if ac_fn_c_try_compile "$LINENO"; then :
   9054   make_cv_sa_restart=yes
   9055 else
   9056   make_cv_sa_restart=no
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9059 fi
   9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_sa_restart" >&5
   9061 $as_echo "$make_cv_sa_restart" >&6; }
   9062 
   9063 if test "$make_cv_sa_restart" != no; then
   9064 
   9065 $as_echo "#define HAVE_SA_RESTART 1" >>confdefs.h
   9066 
   9067 fi
   9068 
   9069 # enable make_cv_sa_restart for OS/2 so that the jobserver will be enabled,
   9070 # but do it after HAVE_SA_RESTART has been defined.
   9071 case "$host_os" in
   9072   os2*) make_cv_sa_restart=yes ;;
   9073 esac
   9074 
   9075 case "$ac_cv_func_pipe/$ac_cv_func_sigaction/$make_cv_sa_restart/$has_wait_nohang/$make_cv_job_server" in
   9076   yes/yes/yes/yes/yes)
   9077 
   9078 $as_echo "#define MAKE_JOBSERVER 1" >>confdefs.h
   9079 ;;
   9080 esac
   9081 
   9082 # if we have both lstat() and readlink() then we can support symlink
   9083 # timechecks.
   9084 case "$ac_cv_func_lstat/$ac_cv_func_readlink" in
   9085   yes/yes)
   9086 
   9087 $as_echo "#define MAKE_SYMLINKS 1" >>confdefs.h
   9088 ;;
   9089 esac
   9090 
   9091 # Find the SCCS commands, so we can include them in our default rules.
   9092 
   9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of SCCS get command" >&5
   9094 $as_echo_n "checking for location of SCCS get command... " >&6; }
   9095 if test "${make_cv_path_sccs_get+set}" = set; then :
   9096   $as_echo_n "(cached) " >&6
   9097 else
   9098 
   9099 if test -f /usr/sccs/get; then
   9100   make_cv_path_sccs_get=/usr/sccs/get
   9101 else
   9102   make_cv_path_sccs_get=get
   9103 fi
   9104 fi
   9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_path_sccs_get" >&5
   9106 $as_echo "$make_cv_path_sccs_get" >&6; }
   9107 
   9108 cat >>confdefs.h <<_ACEOF
   9109 #define SCCS_GET "$make_cv_path_sccs_get"
   9110 _ACEOF
   9111 
   9112 
   9113 ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
   9114 if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
   9115    test -f s.conftest; then
   9116   # We successfully created an SCCS file.
   9117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SCCS get command understands -G" >&5
   9118 $as_echo_n "checking if SCCS get command understands -G... " >&6; }
   9119 if test "${make_cv_sys_get_minus_G+set}" = set; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122 
   9123     if $make_cv_path_sccs_get -Gconftoast s.conftest >/dev/null 2>&1 &&
   9124        test -f conftoast; then
   9125        make_cv_sys_get_minus_G=yes
   9126     else
   9127        make_cv_sys_get_minus_G=no
   9128     fi
   9129 fi
   9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $make_cv_sys_get_minus_G" >&5
   9131 $as_echo "$make_cv_sys_get_minus_G" >&6; }
   9132   case "$make_cv_sys_get_minus_G" in
   9133     yes)
   9134 $as_echo "#define SCCS_GET_MINUS_G 1" >>confdefs.h
   9135 ;;
   9136   esac
   9137 fi
   9138 rm -f s.conftest conftoast
   9139 
   9140 # Check the system to see if it provides GNU glob.  If not, use our
   9141 # local version.
   9142 
   9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if system libc has GNU glob" >&5
   9144 $as_echo_n "checking if system libc has GNU glob... " >&6; }
   9145 if test "${make_cv_sys_gnu_glob+set}" = set; then :
   9146   $as_echo_n "(cached) " >&6
   9147 else
   9148 
   9149  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 
   9152 #include <features.h>
   9153 #include <glob.h>
   9154 #include <fnmatch.h>
   9155 
   9156 #define GLOB_INTERFACE_VERSION 1
   9157 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
   9158 # include <gnu-versions.h>
   9159 # if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
   9160    gnu glob
   9161 # endif
   9162 #endif
   9163 
   9164 _ACEOF
   9165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9166   $EGREP "gnu glob" >/dev/null 2>&1; then :
   9167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9168 $as_echo "yes" >&6; }
   9169 make_cv_sys_gnu_glob=yes
   9170 else
   9171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; using local copy" >&5
   9172 $as_echo "no; using local copy" >&6; }
   9173  GLOBINC='-I$(srcdir)/glob'
   9174  GLOBLIB=glob/libglob.a
   9175 make_cv_sys_gnu_glob=no
   9176 fi
   9177 rm -f conftest*
   9178 
   9179 fi
   9180 
   9181 # Tell automake about this, so it can build the right .c files.
   9182 
   9183 
   9184 if test "$make_cv_sys_gnu_glob" = no; then
   9185   USE_LOCAL_GLOB_TRUE=
   9186   USE_LOCAL_GLOB_FALSE='#'
   9187 else
   9188   USE_LOCAL_GLOB_TRUE='#'
   9189   USE_LOCAL_GLOB_FALSE=
   9190 fi
   9191 
   9192 
   9193 # Let the makefile know what our build host is
   9194 
   9195 
   9196 cat >>confdefs.h <<_ACEOF
   9197 #define MAKE_HOST "$host"
   9198 _ACEOF
   9199 
   9200 MAKE_HOST="$host"
   9201 
   9202 
   9203 w32_target_env=no
   9204 
   9205 
   9206 if false; then
   9207   WINDOWSENV_TRUE=
   9208   WINDOWSENV_FALSE='#'
   9209 else
   9210   WINDOWSENV_TRUE='#'
   9211   WINDOWSENV_FALSE=
   9212 fi
   9213 
   9214 
   9215 case "$host" in
   9216   *-*-mingw32)
   9217 
   9218 
   9219 if true; then
   9220   WINDOWSENV_TRUE=
   9221   WINDOWSENV_FALSE='#'
   9222 else
   9223   WINDOWSENV_TRUE='#'
   9224   WINDOWSENV_FALSE=
   9225 fi
   9226 
   9227     w32_target_env=yes
   9228 
   9229 $as_echo "#define WINDOWS32 1" >>confdefs.h
   9230 
   9231 
   9232 $as_echo "#define HAVE_DOS_PATHS 1" >>confdefs.h
   9233 
   9234     ;;
   9235 esac
   9236 
   9237 # Include the Maintainer's Makefile section, if it's here.
   9238 
   9239 MAINT_MAKEFILE=/dev/null
   9240 if test -r "$srcdir/maintMakefile"; then
   9241   MAINT_MAKEFILE="$srcdir/maintMakefile"
   9242 fi
   9243 
   9244 
   9245 # Allow building with dmalloc
   9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
   9247 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
   9248 
   9249 # Check whether --with-dmalloc was given.
   9250 if test "${with_dmalloc+set}" = set; then :
   9251   withval=$with_dmalloc; if test "$withval" = yes; then
   9252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9253 $as_echo "yes" >&6; }
   9254 
   9255 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
   9256 
   9257   LIBS="$LIBS -ldmalloc"
   9258   LDFLAGS="$LDFLAGS -g"
   9259 else
   9260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9261 $as_echo "no" >&6; }
   9262 fi
   9263 else
   9264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9265 $as_echo "no" >&6; }
   9266 fi
   9267 
   9268 
   9269 
   9270 # Forcibly disable SET_MAKE.  If it's set it breaks things like the test
   9271 # scripts, etc.
   9272 SET_MAKE=
   9273 
   9274 # Sanity check and inform the user of what we found
   9275 
   9276 case "$make_badcust" in
   9277   yes) echo
   9278        echo "WARNING: --with-customs specified but no customs.h could be found;"
   9279        echo "         disabling Customs support."
   9280        echo ;;
   9281 esac
   9282 
   9283 case "$with_customs" in
   9284   ""|n|no|y|ye|yes) ;;
   9285   *) if test -f "$with_customs/lib/libcustoms.a"; then
   9286        :
   9287      else
   9288        echo
   9289        echo "WARNING: '$with_customs/lib' does not appear to contain the"
   9290        echo "         Customs library.  You must build and install Customs"
   9291        echo "         before compiling GNU make."
   9292        echo
   9293      fi ;;
   9294 esac
   9295 
   9296 case "$has_wait_nohang" in
   9297   no) echo
   9298       echo "WARNING: Your system has neither waitpid() nor wait3()."
   9299       echo "         Without one of these, signal handling is unreliable."
   9300       echo "         You should be aware that running GNU make with -j"
   9301       echo "         could result in erratic behavior."
   9302       echo ;;
   9303 esac
   9304 
   9305 case "$make_cv_job_server/$user_job_server" in
   9306   no/yes) echo
   9307 	  echo "WARNING: Make job server requires a POSIX-ish system that"
   9308 	  echo "         supports the pipe(), sigaction(), and either"
   9309           echo "         waitpid() or wait3() functions.  Your system doesn't"
   9310 	  echo "         appear to provide one or more of those."
   9311 	  echo "         Disabling job server support."
   9312           echo ;;
   9313 esac
   9314 
   9315 
   9316 # Specify what files are to be created.
   9317 ac_config_files="$ac_config_files Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile w32/Makefile"
   9318 
   9319 
   9320 # OK, do it!
   9321 
   9322 cat >confcache <<\_ACEOF
   9323 # This file is a shell script that caches the results of configure
   9324 # tests run on this system so they can be shared between configure
   9325 # scripts and configure runs, see configure's option --config-cache.
   9326 # It is not useful on other systems.  If it contains results you don't
   9327 # want to keep, you may remove or edit it.
   9328 #
   9329 # config.status only pays attention to the cache file if you give it
   9330 # the --recheck option to rerun configure.
   9331 #
   9332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   9333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   9334 # following values.
   9335 
   9336 _ACEOF
   9337 
   9338 # The following way of writing the cache mishandles newlines in values,
   9339 # but we know of no workaround that is simple, portable, and efficient.
   9340 # So, we kill variables containing newlines.
   9341 # Ultrix sh set writes to stderr and can't be redirected directly,
   9342 # and sets the high bit in the cache file unless we assign to the vars.
   9343 (
   9344   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   9345     eval ac_val=\$$ac_var
   9346     case $ac_val in #(
   9347     *${as_nl}*)
   9348       case $ac_var in #(
   9349       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   9350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   9351       esac
   9352       case $ac_var in #(
   9353       _ | IFS | as_nl) ;; #(
   9354       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   9355       *) { eval $ac_var=; unset $ac_var;} ;;
   9356       esac ;;
   9357     esac
   9358   done
   9359 
   9360   (set) 2>&1 |
   9361     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   9362     *${as_nl}ac_space=\ *)
   9363       # `set' does not quote correctly, so add quotes: double-quote
   9364       # substitution turns \\\\ into \\, and sed turns \\ into \.
   9365       sed -n \
   9366 	"s/'/'\\\\''/g;
   9367 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   9368       ;; #(
   9369     *)
   9370       # `set' quotes correctly as required by POSIX, so do not add quotes.
   9371       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   9372       ;;
   9373     esac |
   9374     sort
   9375 ) |
   9376   sed '
   9377      /^ac_cv_env_/b end
   9378      t clear
   9379      :clear
   9380      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   9381      t end
   9382      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   9383      :end' >>confcache
   9384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   9385   if test -w "$cache_file"; then
   9386     test "x$cache_file" != "x/dev/null" &&
   9387       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   9388 $as_echo "$as_me: updating cache $cache_file" >&6;}
   9389     cat confcache >$cache_file
   9390   else
   9391     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   9392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   9393   fi
   9394 fi
   9395 rm -f confcache
   9396 
   9397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   9398 # Let make expand exec_prefix.
   9399 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   9400 
   9401 DEFS=-DHAVE_CONFIG_H
   9402 
   9403 ac_libobjs=
   9404 ac_ltlibobjs=
   9405 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   9406   # 1. Remove the extension, and $U if already installed.
   9407   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   9408   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   9409   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   9410   #    will be set to the directory where LIBOBJS objects are built.
   9411   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   9412   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   9413 done
   9414 LIBOBJS=$ac_libobjs
   9415 
   9416 LTLIBOBJS=$ac_ltlibobjs
   9417 
   9418 
   9419 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   9420   as_fn_error "conditional \"AMDEP\" was never defined.
   9421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   9422 fi
   9423 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   9424   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   9425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   9426 fi
   9427 if test -z "${USE_CUSTOMS_TRUE}" && test -z "${USE_CUSTOMS_FALSE}"; then
   9428   as_fn_error "conditional \"USE_CUSTOMS\" was never defined.
   9429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   9430 fi
   9431 if test -z "${USE_LOCAL_GLOB_TRUE}" && test -z "${USE_LOCAL_GLOB_FALSE}"; then
   9432   as_fn_error "conditional \"USE_LOCAL_GLOB\" was never defined.
   9433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   9434 fi
   9435 if test -z "${WINDOWSENV_TRUE}" && test -z "${WINDOWSENV_FALSE}"; then
   9436   as_fn_error "conditional \"WINDOWSENV\" was never defined.
   9437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   9438 fi
   9439 if test -z "${WINDOWSENV_TRUE}" && test -z "${WINDOWSENV_FALSE}"; then
   9440   as_fn_error "conditional \"WINDOWSENV\" was never defined.
   9441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   9442 fi
   9443 
   9444 : ${CONFIG_STATUS=./config.status}
   9445 ac_write_fail=0
   9446 ac_clean_files_save=$ac_clean_files
   9447 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   9448 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   9449 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   9450 as_write_fail=0
   9451 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   9452 #! $SHELL
   9453 # Generated by $as_me.
   9454 # Run this file to recreate the current configuration.
   9455 # Compiler output produced by configure, useful for debugging
   9456 # configure, is in config.log if it exists.
   9457 
   9458 debug=false
   9459 ac_cs_recheck=false
   9460 ac_cs_silent=false
   9461 
   9462 SHELL=\${CONFIG_SHELL-$SHELL}
   9463 export SHELL
   9464 _ASEOF
   9465 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   9466 ## -------------------- ##
   9467 ## M4sh Initialization. ##
   9468 ## -------------------- ##
   9469 
   9470 # Be more Bourne compatible
   9471 DUALCASE=1; export DUALCASE # for MKS sh
   9472 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   9473   emulate sh
   9474   NULLCMD=:
   9475   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   9476   # is contrary to our usage.  Disable this feature.
   9477   alias -g '${1+"$@"}'='"$@"'
   9478   setopt NO_GLOB_SUBST
   9479 else
   9480   case `(set -o) 2>/dev/null` in #(
   9481   *posix*) :
   9482     set -o posix ;; #(
   9483   *) :
   9484      ;;
   9485 esac
   9486 fi
   9487 
   9488 
   9489 as_nl='
   9490 '
   9491 export as_nl
   9492 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   9493 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   9494 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   9495 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   9496 # Prefer a ksh shell builtin over an external printf program on Solaris,
   9497 # but without wasting forks for bash or zsh.
   9498 if test -z "$BASH_VERSION$ZSH_VERSION" \
   9499     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   9500   as_echo='print -r --'
   9501   as_echo_n='print -rn --'
   9502 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   9503   as_echo='printf %s\n'
   9504   as_echo_n='printf %s'
   9505 else
   9506   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   9507     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   9508     as_echo_n='/usr/ucb/echo -n'
   9509   else
   9510     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   9511     as_echo_n_body='eval
   9512       arg=$1;
   9513       case $arg in #(
   9514       *"$as_nl"*)
   9515 	expr "X$arg" : "X\\(.*\\)$as_nl";
   9516 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   9517       esac;
   9518       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   9519     '
   9520     export as_echo_n_body
   9521     as_echo_n='sh -c $as_echo_n_body as_echo'
   9522   fi
   9523   export as_echo_body
   9524   as_echo='sh -c $as_echo_body as_echo'
   9525 fi
   9526 
   9527 # The user is always right.
   9528 if test "${PATH_SEPARATOR+set}" != set; then
   9529   PATH_SEPARATOR=:
   9530   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   9531     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   9532       PATH_SEPARATOR=';'
   9533   }
   9534 fi
   9535 
   9536 
   9537 # IFS
   9538 # We need space, tab and new line, in precisely that order.  Quoting is
   9539 # there to prevent editors from complaining about space-tab.
   9540 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   9541 # splitting by setting IFS to empty value.)
   9542 IFS=" ""	$as_nl"
   9543 
   9544 # Find who we are.  Look in the path if we contain no directory separator.
   9545 case $0 in #((
   9546   *[\\/]* ) as_myself=$0 ;;
   9547   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9548 for as_dir in $PATH
   9549 do
   9550   IFS=$as_save_IFS
   9551   test -z "$as_dir" && as_dir=.
   9552     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   9553   done
   9554 IFS=$as_save_IFS
   9555 
   9556      ;;
   9557 esac
   9558 # We did not find ourselves, most probably we were run as `sh COMMAND'
   9559 # in which case we are not to be found in the path.
   9560 if test "x$as_myself" = x; then
   9561   as_myself=$0
   9562 fi
   9563 if test ! -f "$as_myself"; then
   9564   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   9565   exit 1
   9566 fi
   9567 
   9568 # Unset variables that we do not need and which cause bugs (e.g. in
   9569 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   9570 # suppresses any "Segmentation fault" message there.  '((' could
   9571 # trigger a bug in pdksh 5.2.14.
   9572 for as_var in BASH_ENV ENV MAIL MAILPATH
   9573 do eval test x\${$as_var+set} = xset \
   9574   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   9575 done
   9576 PS1='$ '
   9577 PS2='> '
   9578 PS4='+ '
   9579 
   9580 # NLS nuisances.
   9581 LC_ALL=C
   9582 export LC_ALL
   9583 LANGUAGE=C
   9584 export LANGUAGE
   9585 
   9586 # CDPATH.
   9587 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   9588 
   9589 
   9590 # as_fn_error ERROR [LINENO LOG_FD]
   9591 # ---------------------------------
   9592 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   9593 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   9594 # script with status $?, using 1 if that was 0.
   9595 as_fn_error ()
   9596 {
   9597   as_status=$?; test $as_status -eq 0 && as_status=1
   9598   if test "$3"; then
   9599     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   9600     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   9601   fi
   9602   $as_echo "$as_me: error: $1" >&2
   9603   as_fn_exit $as_status
   9604 } # as_fn_error
   9605 
   9606 
   9607 # as_fn_set_status STATUS
   9608 # -----------------------
   9609 # Set $? to STATUS, without forking.
   9610 as_fn_set_status ()
   9611 {
   9612   return $1
   9613 } # as_fn_set_status
   9614 
   9615 # as_fn_exit STATUS
   9616 # -----------------
   9617 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   9618 as_fn_exit ()
   9619 {
   9620   set +e
   9621   as_fn_set_status $1
   9622   exit $1
   9623 } # as_fn_exit
   9624 
   9625 # as_fn_unset VAR
   9626 # ---------------
   9627 # Portably unset VAR.
   9628 as_fn_unset ()
   9629 {
   9630   { eval $1=; unset $1;}
   9631 }
   9632 as_unset=as_fn_unset
   9633 # as_fn_append VAR VALUE
   9634 # ----------------------
   9635 # Append the text in VALUE to the end of the definition contained in VAR. Take
   9636 # advantage of any shell optimizations that allow amortized linear growth over
   9637 # repeated appends, instead of the typical quadratic growth present in naive
   9638 # implementations.
   9639 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   9640   eval 'as_fn_append ()
   9641   {
   9642     eval $1+=\$2
   9643   }'
   9644 else
   9645   as_fn_append ()
   9646   {
   9647     eval $1=\$$1\$2
   9648   }
   9649 fi # as_fn_append
   9650 
   9651 # as_fn_arith ARG...
   9652 # ------------------
   9653 # Perform arithmetic evaluation on the ARGs, and store the result in the
   9654 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   9655 # must be portable across $(()) and expr.
   9656 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   9657   eval 'as_fn_arith ()
   9658   {
   9659     as_val=$(( $* ))
   9660   }'
   9661 else
   9662   as_fn_arith ()
   9663   {
   9664     as_val=`expr "$@" || test $? -eq 1`
   9665   }
   9666 fi # as_fn_arith
   9667 
   9668 
   9669 if expr a : '\(a\)' >/dev/null 2>&1 &&
   9670    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   9671   as_expr=expr
   9672 else
   9673   as_expr=false
   9674 fi
   9675 
   9676 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   9677   as_basename=basename
   9678 else
   9679   as_basename=false
   9680 fi
   9681 
   9682 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   9683   as_dirname=dirname
   9684 else
   9685   as_dirname=false
   9686 fi
   9687 
   9688 as_me=`$as_basename -- "$0" ||
   9689 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   9690 	 X"$0" : 'X\(//\)$' \| \
   9691 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   9692 $as_echo X/"$0" |
   9693     sed '/^.*\/\([^/][^/]*\)\/*$/{
   9694 	    s//\1/
   9695 	    q
   9696 	  }
   9697 	  /^X\/\(\/\/\)$/{
   9698 	    s//\1/
   9699 	    q
   9700 	  }
   9701 	  /^X\/\(\/\).*/{
   9702 	    s//\1/
   9703 	    q
   9704 	  }
   9705 	  s/.*/./; q'`
   9706 
   9707 # Avoid depending upon Character Ranges.
   9708 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   9709 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   9710 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   9711 as_cr_digits='0123456789'
   9712 as_cr_alnum=$as_cr_Letters$as_cr_digits
   9713 
   9714 ECHO_C= ECHO_N= ECHO_T=
   9715 case `echo -n x` in #(((((
   9716 -n*)
   9717   case `echo 'xy\c'` in
   9718   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   9719   xy)  ECHO_C='\c';;
   9720   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   9721        ECHO_T='	';;
   9722   esac;;
   9723 *)
   9724   ECHO_N='-n';;
   9725 esac
   9726 
   9727 rm -f conf$$ conf$$.exe conf$$.file
   9728 if test -d conf$$.dir; then
   9729   rm -f conf$$.dir/conf$$.file
   9730 else
   9731   rm -f conf$$.dir
   9732   mkdir conf$$.dir 2>/dev/null
   9733 fi
   9734 if (echo >conf$$.file) 2>/dev/null; then
   9735   if ln -s conf$$.file conf$$ 2>/dev/null; then
   9736     as_ln_s='ln -s'
   9737     # ... but there are two gotchas:
   9738     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   9739     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   9740     # In both cases, we have to default to `cp -p'.
   9741     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   9742       as_ln_s='cp -p'
   9743   elif ln conf$$.file conf$$ 2>/dev/null; then
   9744     as_ln_s=ln
   9745   else
   9746     as_ln_s='cp -p'
   9747   fi
   9748 else
   9749   as_ln_s='cp -p'
   9750 fi
   9751 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   9752 rmdir conf$$.dir 2>/dev/null
   9753 
   9754 
   9755 # as_fn_mkdir_p
   9756 # -------------
   9757 # Create "$as_dir" as a directory, including parents if necessary.
   9758 as_fn_mkdir_p ()
   9759 {
   9760 
   9761   case $as_dir in #(
   9762   -*) as_dir=./$as_dir;;
   9763   esac
   9764   test -d "$as_dir" || eval $as_mkdir_p || {
   9765     as_dirs=
   9766     while :; do
   9767       case $as_dir in #(
   9768       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   9769       *) as_qdir=$as_dir;;
   9770       esac
   9771       as_dirs="'$as_qdir' $as_dirs"
   9772       as_dir=`$as_dirname -- "$as_dir" ||
   9773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   9774 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   9775 	 X"$as_dir" : 'X\(//\)$' \| \
   9776 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   9777 $as_echo X"$as_dir" |
   9778     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   9779 	    s//\1/
   9780 	    q
   9781 	  }
   9782 	  /^X\(\/\/\)[^/].*/{
   9783 	    s//\1/
   9784 	    q
   9785 	  }
   9786 	  /^X\(\/\/\)$/{
   9787 	    s//\1/
   9788 	    q
   9789 	  }
   9790 	  /^X\(\/\).*/{
   9791 	    s//\1/
   9792 	    q
   9793 	  }
   9794 	  s/.*/./; q'`
   9795       test -d "$as_dir" && break
   9796     done
   9797     test -z "$as_dirs" || eval "mkdir $as_dirs"
   9798   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   9799 
   9800 
   9801 } # as_fn_mkdir_p
   9802 if mkdir -p . 2>/dev/null; then
   9803   as_mkdir_p='mkdir -p "$as_dir"'
   9804 else
   9805   test -d ./-p && rmdir ./-p
   9806   as_mkdir_p=false
   9807 fi
   9808 
   9809 if test -x / >/dev/null 2>&1; then
   9810   as_test_x='test -x'
   9811 else
   9812   if ls -dL / >/dev/null 2>&1; then
   9813     as_ls_L_option=L
   9814   else
   9815     as_ls_L_option=
   9816   fi
   9817   as_test_x='
   9818     eval sh -c '\''
   9819       if test -d "$1"; then
   9820 	test -d "$1/.";
   9821       else
   9822 	case $1 in #(
   9823 	-*)set "./$1";;
   9824 	esac;
   9825 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   9826 	???[sx]*):;;*)false;;esac;fi
   9827     '\'' sh
   9828   '
   9829 fi
   9830 as_executable_p=$as_test_x
   9831 
   9832 # Sed expression to map a string onto a valid CPP name.
   9833 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   9834 
   9835 # Sed expression to map a string onto a valid variable name.
   9836 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   9837 
   9838 
   9839 exec 6>&1
   9840 ## ----------------------------------- ##
   9841 ## Main body of $CONFIG_STATUS script. ##
   9842 ## ----------------------------------- ##
   9843 _ASEOF
   9844 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   9845 
   9846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   9847 # Save the log message, to keep $0 and so on meaningful, and to
   9848 # report actual input values of CONFIG_FILES etc. instead of their
   9849 # values after options handling.
   9850 ac_log="
   9851 This file was extended by GNU make $as_me 3.81, which was
   9852 generated by GNU Autoconf 2.65.  Invocation command line was
   9853 
   9854   CONFIG_FILES    = $CONFIG_FILES
   9855   CONFIG_HEADERS  = $CONFIG_HEADERS
   9856   CONFIG_LINKS    = $CONFIG_LINKS
   9857   CONFIG_COMMANDS = $CONFIG_COMMANDS
   9858   $ $0 $@
   9859 
   9860 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   9861 "
   9862 
   9863 _ACEOF
   9864 
   9865 case $ac_config_files in *"
   9866 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   9867 esac
   9868 
   9869 case $ac_config_headers in *"
   9870 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   9871 esac
   9872 
   9873 
   9874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   9875 # Files that config.status was made for.
   9876 config_files="$ac_config_files"
   9877 config_headers="$ac_config_headers"
   9878 config_commands="$ac_config_commands"
   9879 
   9880 _ACEOF
   9881 
   9882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   9883 ac_cs_usage="\
   9884 \`$as_me' instantiates files and other configuration actions
   9885 from templates according to the current configuration.  Unless the files
   9886 and actions are specified as TAGs, all are instantiated by default.
   9887 
   9888 Usage: $0 [OPTION]... [TAG]...
   9889 
   9890   -h, --help       print this help, then exit
   9891   -V, --version    print version number and configuration settings, then exit
   9892       --config     print configuration, then exit
   9893   -q, --quiet, --silent
   9894                    do not print progress messages
   9895   -d, --debug      don't remove temporary files
   9896       --recheck    update $as_me by reconfiguring in the same conditions
   9897       --file=FILE[:TEMPLATE]
   9898                    instantiate the configuration file FILE
   9899       --header=FILE[:TEMPLATE]
   9900                    instantiate the configuration header FILE
   9901 
   9902 Configuration files:
   9903 $config_files
   9904 
   9905 Configuration headers:
   9906 $config_headers
   9907 
   9908 Configuration commands:
   9909 $config_commands
   9910 
   9911 Report bugs to <bug-make (at] gnu.org>.
   9912 GNU make home page: <http://www.gnu.org/software/make/>.
   9913 General help using GNU software: <http://www.gnu.org/gethelp/>."
   9914 
   9915 _ACEOF
   9916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   9917 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   9918 ac_cs_version="\\
   9919 GNU make config.status 3.81
   9920 configured by $0, generated by GNU Autoconf 2.65,
   9921   with options \\"\$ac_cs_config\\"
   9922 
   9923 Copyright (C) 2009 Free Software Foundation, Inc.
   9924 This config.status script is free software; the Free Software Foundation
   9925 gives unlimited permission to copy, distribute and modify it."
   9926 
   9927 ac_pwd='$ac_pwd'
   9928 srcdir='$srcdir'
   9929 INSTALL='$INSTALL'
   9930 AWK='$AWK'
   9931 test -n "\$AWK" || AWK=awk
   9932 _ACEOF
   9933 
   9934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   9935 # The default lists apply if the user does not specify any file.
   9936 ac_need_defaults=:
   9937 while test $# != 0
   9938 do
   9939   case $1 in
   9940   --*=*)
   9941     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   9942     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   9943     ac_shift=:
   9944     ;;
   9945   *)
   9946     ac_option=$1
   9947     ac_optarg=$2
   9948     ac_shift=shift
   9949     ;;
   9950   esac
   9951 
   9952   case $ac_option in
   9953   # Handling of the options.
   9954   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   9955     ac_cs_recheck=: ;;
   9956   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   9957     $as_echo "$ac_cs_version"; exit ;;
   9958   --config | --confi | --conf | --con | --co | --c )
   9959     $as_echo "$ac_cs_config"; exit ;;
   9960   --debug | --debu | --deb | --de | --d | -d )
   9961     debug=: ;;
   9962   --file | --fil | --fi | --f )
   9963     $ac_shift
   9964     case $ac_optarg in
   9965     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   9966     esac
   9967     as_fn_append CONFIG_FILES " '$ac_optarg'"
   9968     ac_need_defaults=false;;
   9969   --header | --heade | --head | --hea )
   9970     $ac_shift
   9971     case $ac_optarg in
   9972     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   9973     esac
   9974     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   9975     ac_need_defaults=false;;
   9976   --he | --h)
   9977     # Conflict between --help and --header
   9978     as_fn_error "ambiguous option: \`$1'
   9979 Try \`$0 --help' for more information.";;
   9980   --help | --hel | -h )
   9981     $as_echo "$ac_cs_usage"; exit ;;
   9982   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   9983   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   9984     ac_cs_silent=: ;;
   9985 
   9986   # This is an error.
   9987   -*) as_fn_error "unrecognized option: \`$1'
   9988 Try \`$0 --help' for more information." ;;
   9989 
   9990   *) as_fn_append ac_config_targets " $1"
   9991      ac_need_defaults=false ;;
   9992 
   9993   esac
   9994   shift
   9995 done
   9996 
   9997 ac_configure_extra_args=
   9998 
   9999 if $ac_cs_silent; then
   10000   exec 6>/dev/null
   10001   ac_configure_extra_args="$ac_configure_extra_args --silent"
   10002 fi
   10003 
   10004 _ACEOF
   10005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10006 if \$ac_cs_recheck; then
   10007   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   10008   shift
   10009   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   10010   CONFIG_SHELL='$SHELL'
   10011   export CONFIG_SHELL
   10012   exec "\$@"
   10013 fi
   10014 
   10015 _ACEOF
   10016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10017 exec 5>>config.log
   10018 {
   10019   echo
   10020   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   10021 ## Running $as_me. ##
   10022 _ASBOX
   10023   $as_echo "$ac_log"
   10024 } >&5
   10025 
   10026 _ACEOF
   10027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10028 #
   10029 # INIT-COMMANDS
   10030 #
   10031 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   10032 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   10033     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   10034     # from automake.
   10035     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   10036     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   10037     LINGUAS="${LINGUAS-%UNSET%}"
   10038 
   10039 
   10040 _ACEOF
   10041 
   10042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10043 
   10044 # Handling of arguments.
   10045 for ac_config_target in $ac_config_targets
   10046 do
   10047   case $ac_config_target in
   10048     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   10049     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   10050     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   10051     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   10052     "glob/Makefile") CONFIG_FILES="$CONFIG_FILES glob/Makefile" ;;
   10053     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   10054     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   10055     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   10056     "w32/Makefile") CONFIG_FILES="$CONFIG_FILES w32/Makefile" ;;
   10057 
   10058   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   10059   esac
   10060 done
   10061 
   10062 
   10063 # If the user did not use the arguments to specify the items to instantiate,
   10064 # then the envvar interface is used.  Set only those that are not.
   10065 # We use the long form for the default assignment because of an extremely
   10066 # bizarre bug on SunOS 4.1.3.
   10067 if $ac_need_defaults; then
   10068   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   10069   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   10070   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   10071 fi
   10072 
   10073 # Have a temporary directory for convenience.  Make it in the build tree
   10074 # simply because there is no reason against having it here, and in addition,
   10075 # creating and moving files from /tmp can sometimes cause problems.
   10076 # Hook for its removal unless debugging.
   10077 # Note that there is a small window in which the directory will not be cleaned:
   10078 # after its creation but before its name has been assigned to `$tmp'.
   10079 $debug ||
   10080 {
   10081   tmp=
   10082   trap 'exit_status=$?
   10083   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   10084 ' 0
   10085   trap 'as_fn_exit 1' 1 2 13 15
   10086 }
   10087 # Create a (secure) tmp directory for tmp files.
   10088 
   10089 {
   10090   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   10091   test -n "$tmp" && test -d "$tmp"
   10092 }  ||
   10093 {
   10094   tmp=./conf$$-$RANDOM
   10095   (umask 077 && mkdir "$tmp")
   10096 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   10097 
   10098 # Set up the scripts for CONFIG_FILES section.
   10099 # No need to generate them if there are no CONFIG_FILES.
   10100 # This happens for instance with `./config.status config.h'.
   10101 if test -n "$CONFIG_FILES"; then
   10102 
   10103 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   10104   ac_cs_awk_getline=:
   10105   ac_cs_awk_pipe_init=
   10106   ac_cs_awk_read_file='
   10107       while ((getline aline < (F[key])) > 0)
   10108 	print(aline)
   10109       close(F[key])'
   10110   ac_cs_awk_pipe_fini=
   10111 else
   10112   ac_cs_awk_getline=false
   10113   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   10114   ac_cs_awk_read_file='
   10115       print "|#_!!_#|"
   10116       print "cat " F[key] " &&"
   10117       '$ac_cs_awk_pipe_init
   10118   # The final `:' finishes the AND list.
   10119   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   10120 fi
   10121 ac_cr=`echo X | tr X '\015'`
   10122 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   10123 # But we know of no other shell where ac_cr would be empty at this
   10124 # point, so we can use a bashism as a fallback.
   10125 if test "x$ac_cr" = x; then
   10126   eval ac_cr=\$\'\\r\'
   10127 fi
   10128 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   10129 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   10130   ac_cs_awk_cr='\r'
   10131 else
   10132   ac_cs_awk_cr=$ac_cr
   10133 fi
   10134 
   10135 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   10136 _ACEOF
   10137 
   10138 # Create commands to substitute file output variables.
   10139 {
   10140   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   10141   echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
   10142   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   10143   echo "_ACAWK" &&
   10144   echo "_ACEOF"
   10145 } >conf$$files.sh &&
   10146 . ./conf$$files.sh ||
   10147   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   10148 rm -f conf$$files.sh
   10149 
   10150 {
   10151   echo "cat >conf$$subs.awk <<_ACEOF" &&
   10152   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   10153   echo "_ACEOF"
   10154 } >conf$$subs.sh ||
   10155   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   10156 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   10157 ac_delim='%!_!# '
   10158 for ac_last_try in false false false false false :; do
   10159   . ./conf$$subs.sh ||
   10160     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   10161 
   10162   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   10163   if test $ac_delim_n = $ac_delim_num; then
   10164     break
   10165   elif $ac_last_try; then
   10166     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   10167   else
   10168     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   10169   fi
   10170 done
   10171 rm -f conf$$subs.sh
   10172 
   10173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10174 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   10175 _ACEOF
   10176 sed -n '
   10177 h
   10178 s/^/S["/; s/!.*/"]=/
   10179 p
   10180 g
   10181 s/^[^!]*!//
   10182 :repl
   10183 t repl
   10184 s/'"$ac_delim"'$//
   10185 t delim
   10186 :nl
   10187 h
   10188 s/\(.\{148\}\)..*/\1/
   10189 t more1
   10190 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   10191 p
   10192 n
   10193 b repl
   10194 :more1
   10195 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   10196 p
   10197 g
   10198 s/.\{148\}//
   10199 t nl
   10200 :delim
   10201 h
   10202 s/\(.\{148\}\)..*/\1/
   10203 t more2
   10204 s/["\\]/\\&/g; s/^/"/; s/$/"/
   10205 p
   10206 b
   10207 :more2
   10208 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   10209 p
   10210 g
   10211 s/.\{148\}//
   10212 t delim
   10213 ' <conf$$subs.awk | sed '
   10214 /^[^""]/{
   10215   N
   10216   s/\n//
   10217 }
   10218 ' >>$CONFIG_STATUS || ac_write_fail=1
   10219 rm -f conf$$subs.awk
   10220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10221 _ACAWK
   10222 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   10223   for (key in S) S_is_set[key] = 1
   10224   FS = ""
   10225   \$ac_cs_awk_pipe_init
   10226 }
   10227 {
   10228   line = $ 0
   10229   nfields = split(line, field, "@")
   10230   substed = 0
   10231   len = length(field[1])
   10232   for (i = 2; i < nfields; i++) {
   10233     key = field[i]
   10234     keylen = length(key)
   10235     if (S_is_set[key]) {
   10236       value = S[key]
   10237       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   10238       len += length(value) + length(field[++i])
   10239       substed = 1
   10240     } else
   10241       len += 1 + keylen
   10242   }
   10243   if (nfields == 3 && !substed) {
   10244     key = field[2]
   10245     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   10246       \$ac_cs_awk_read_file
   10247       next
   10248     }
   10249   }
   10250   print line
   10251 }
   10252 \$ac_cs_awk_pipe_fini
   10253 _ACAWK
   10254 _ACEOF
   10255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   10257   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   10258 else
   10259   cat
   10260 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   10261   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   10262 _ACEOF
   10263 
   10264 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   10265 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   10266 # trailing colons and then remove the whole line if VPATH becomes empty
   10267 # (actually we leave an empty line to preserve line numbers).
   10268 if test "x$srcdir" = x.; then
   10269   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   10270 s/:*\$(srcdir):*/:/
   10271 s/:*\${srcdir}:*/:/
   10272 s/:*@srcdir@:*/:/
   10273 s/^\([^=]*=[	 ]*\):*/\1/
   10274 s/:*$//
   10275 s/^[^=]*=[	 ]*$//
   10276 }'
   10277 fi
   10278 
   10279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10280 fi # test -n "$CONFIG_FILES"
   10281 
   10282 # Set up the scripts for CONFIG_HEADERS section.
   10283 # No need to generate them if there are no CONFIG_HEADERS.
   10284 # This happens for instance with `./config.status Makefile'.
   10285 if test -n "$CONFIG_HEADERS"; then
   10286 cat >"$tmp/defines.awk" <<\_ACAWK ||
   10287 BEGIN {
   10288 _ACEOF
   10289 
   10290 # Transform confdefs.h into an awk script `defines.awk', embedded as
   10291 # here-document in config.status, that substitutes the proper values into
   10292 # config.h.in to produce config.h.
   10293 
   10294 # Create a delimiter string that does not exist in confdefs.h, to ease
   10295 # handling of long lines.
   10296 ac_delim='%!_!# '
   10297 for ac_last_try in false false :; do
   10298   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   10299   if test -z "$ac_t"; then
   10300     break
   10301   elif $ac_last_try; then
   10302     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   10303   else
   10304     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   10305   fi
   10306 done
   10307 
   10308 # For the awk script, D is an array of macro values keyed by name,
   10309 # likewise P contains macro parameters if any.  Preserve backslash
   10310 # newline sequences.
   10311 
   10312 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   10313 sed -n '
   10314 s/.\{148\}/&'"$ac_delim"'/g
   10315 t rset
   10316 :rset
   10317 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   10318 t def
   10319 d
   10320 :def
   10321 s/\\$//
   10322 t bsnl
   10323 s/["\\]/\\&/g
   10324 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   10325 D["\1"]=" \3"/p
   10326 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   10327 d
   10328 :bsnl
   10329 s/["\\]/\\&/g
   10330 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   10331 D["\1"]=" \3\\\\\\n"\\/p
   10332 t cont
   10333 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   10334 t cont
   10335 d
   10336 :cont
   10337 n
   10338 s/.\{148\}/&'"$ac_delim"'/g
   10339 t clear
   10340 :clear
   10341 s/\\$//
   10342 t bsnlc
   10343 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   10344 d
   10345 :bsnlc
   10346 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   10347 b cont
   10348 ' <confdefs.h | sed '
   10349 s/'"$ac_delim"'/"\\\
   10350 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   10351 
   10352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10353   for (key in D) D_is_set[key] = 1
   10354   FS = ""
   10355 }
   10356 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   10357   line = \$ 0
   10358   split(line, arg, " ")
   10359   if (arg[1] == "#") {
   10360     defundef = arg[2]
   10361     mac1 = arg[3]
   10362   } else {
   10363     defundef = substr(arg[1], 2)
   10364     mac1 = arg[2]
   10365   }
   10366   split(mac1, mac2, "(") #)
   10367   macro = mac2[1]
   10368   prefix = substr(line, 1, index(line, defundef) - 1)
   10369   if (D_is_set[macro]) {
   10370     # Preserve the white space surrounding the "#".
   10371     print prefix "define", macro P[macro] D[macro]
   10372     next
   10373   } else {
   10374     # Replace #undef with comments.  This is necessary, for example,
   10375     # in the case of _POSIX_SOURCE, which is predefined and required
   10376     # on some systems where configure will not decide to define it.
   10377     if (defundef == "undef") {
   10378       print "/*", prefix defundef, macro, "*/"
   10379       next
   10380     }
   10381   }
   10382 }
   10383 { print }
   10384 _ACAWK
   10385 _ACEOF
   10386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10387   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   10388 fi # test -n "$CONFIG_HEADERS"
   10389 
   10390 
   10391 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   10392 shift
   10393 for ac_tag
   10394 do
   10395   case $ac_tag in
   10396   :[FHLC]) ac_mode=$ac_tag; continue;;
   10397   esac
   10398   case $ac_mode$ac_tag in
   10399   :[FHL]*:*);;
   10400   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   10401   :[FH]-) ac_tag=-:-;;
   10402   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   10403   esac
   10404   ac_save_IFS=$IFS
   10405   IFS=:
   10406   set x $ac_tag
   10407   IFS=$ac_save_IFS
   10408   shift
   10409   ac_file=$1
   10410   shift
   10411 
   10412   case $ac_mode in
   10413   :L) ac_source=$1;;
   10414   :[FH])
   10415     ac_file_inputs=
   10416     for ac_f
   10417     do
   10418       case $ac_f in
   10419       -) ac_f="$tmp/stdin";;
   10420       *) # Look for the file first in the build tree, then in the source tree
   10421 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   10422 	 # because $ac_f cannot contain `:'.
   10423 	 test -f "$ac_f" ||
   10424 	   case $ac_f in
   10425 	   [\\/$]*) false;;
   10426 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   10427 	   esac ||
   10428 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   10429       esac
   10430       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   10431       as_fn_append ac_file_inputs " '$ac_f'"
   10432     done
   10433 
   10434     # Let's still pretend it is `configure' which instantiates (i.e., don't
   10435     # use $as_me), people would be surprised to read:
   10436     #    /* config.h.  Generated by config.status.  */
   10437     configure_input='Generated from '`
   10438 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   10439 	`' by configure.'
   10440     if test x"$ac_file" != x-; then
   10441       configure_input="$ac_file.  $configure_input"
   10442       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   10443 $as_echo "$as_me: creating $ac_file" >&6;}
   10444     fi
   10445     # Neutralize special characters interpreted by sed in replacement strings.
   10446     case $configure_input in #(
   10447     *\&* | *\|* | *\\* )
   10448        ac_sed_conf_input=`$as_echo "$configure_input" |
   10449        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   10450     *) ac_sed_conf_input=$configure_input;;
   10451     esac
   10452 
   10453     case $ac_tag in
   10454     *:-:* | *:-) cat >"$tmp/stdin" \
   10455       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   10456     esac
   10457     ;;
   10458   esac
   10459 
   10460   ac_dir=`$as_dirname -- "$ac_file" ||
   10461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10462 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   10463 	 X"$ac_file" : 'X\(//\)$' \| \
   10464 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   10465 $as_echo X"$ac_file" |
   10466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10467 	    s//\1/
   10468 	    q
   10469 	  }
   10470 	  /^X\(\/\/\)[^/].*/{
   10471 	    s//\1/
   10472 	    q
   10473 	  }
   10474 	  /^X\(\/\/\)$/{
   10475 	    s//\1/
   10476 	    q
   10477 	  }
   10478 	  /^X\(\/\).*/{
   10479 	    s//\1/
   10480 	    q
   10481 	  }
   10482 	  s/.*/./; q'`
   10483   as_dir="$ac_dir"; as_fn_mkdir_p
   10484   ac_builddir=.
   10485 
   10486 case "$ac_dir" in
   10487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   10488 *)
   10489   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   10490   # A ".." for each directory in $ac_dir_suffix.
   10491   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   10492   case $ac_top_builddir_sub in
   10493   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   10494   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   10495   esac ;;
   10496 esac
   10497 ac_abs_top_builddir=$ac_pwd
   10498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   10499 # for backward compatibility:
   10500 ac_top_builddir=$ac_top_build_prefix
   10501 
   10502 case $srcdir in
   10503   .)  # We are building in place.
   10504     ac_srcdir=.
   10505     ac_top_srcdir=$ac_top_builddir_sub
   10506     ac_abs_top_srcdir=$ac_pwd ;;
   10507   [\\/]* | ?:[\\/]* )  # Absolute name.
   10508     ac_srcdir=$srcdir$ac_dir_suffix;
   10509     ac_top_srcdir=$srcdir
   10510     ac_abs_top_srcdir=$srcdir ;;
   10511   *) # Relative name.
   10512     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   10513     ac_top_srcdir=$ac_top_build_prefix$srcdir
   10514     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   10515 esac
   10516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   10517 
   10518 
   10519   case $ac_mode in
   10520   :F)
   10521   #
   10522   # CONFIG_FILE
   10523   #
   10524 
   10525   case $INSTALL in
   10526   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   10527   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   10528   esac
   10529 _ACEOF
   10530 
   10531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10532 # If the template does not know about datarootdir, expand it.
   10533 # FIXME: This hack should be removed a few years after 2.60.
   10534 ac_datarootdir_hack=; ac_datarootdir_seen=
   10535 ac_sed_dataroot='
   10536 /datarootdir/ {
   10537   p
   10538   q
   10539 }
   10540 /@datadir@/p
   10541 /@docdir@/p
   10542 /@infodir@/p
   10543 /@localedir@/p
   10544 /@mandir@/p'
   10545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   10546 *datarootdir*) ac_datarootdir_seen=yes;;
   10547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   10548   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   10549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   10550 _ACEOF
   10551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10552   ac_datarootdir_hack='
   10553   s&@datadir@&$datadir&g
   10554   s&@docdir@&$docdir&g
   10555   s&@infodir@&$infodir&g
   10556   s&@localedir@&$localedir&g
   10557   s&@mandir@&$mandir&g
   10558   s&\\\${datarootdir}&$datarootdir&g' ;;
   10559 esac
   10560 _ACEOF
   10561 
   10562 # Neutralize VPATH when `$srcdir' = `.'.
   10563 # Shell code in configure.ac might set extrasub.
   10564 # FIXME: do we really want to maintain this feature?
   10565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10566 ac_sed_extra="$ac_vpsub
   10567 $extrasub
   10568 _ACEOF
   10569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10570 :t
   10571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   10572 s|@configure_input@|$ac_sed_conf_input|;t t
   10573 s&@top_builddir@&$ac_top_builddir_sub&;t t
   10574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   10575 s&@srcdir@&$ac_srcdir&;t t
   10576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   10577 s&@top_srcdir@&$ac_top_srcdir&;t t
   10578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   10579 s&@builddir@&$ac_builddir&;t t
   10580 s&@abs_builddir@&$ac_abs_builddir&;t t
   10581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   10582 s&@INSTALL@&$ac_INSTALL&;t t
   10583 $ac_datarootdir_hack
   10584 "
   10585 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   10586 if $ac_cs_awk_getline; then
   10587   $AWK -f "$tmp/subs.awk"
   10588 else
   10589   $AWK -f "$tmp/subs.awk" | $SHELL
   10590 fi >$tmp/out \
   10591   || as_fn_error "could not create $ac_file" "$LINENO" 5
   10592 
   10593 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   10594   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   10595   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   10596   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   10597 which seems to be undefined.  Please make sure it is defined." >&5
   10598 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   10599 which seems to be undefined.  Please make sure it is defined." >&2;}
   10600 
   10601   rm -f "$tmp/stdin"
   10602   case $ac_file in
   10603   -) cat "$tmp/out" && rm -f "$tmp/out";;
   10604   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   10605   esac \
   10606   || as_fn_error "could not create $ac_file" "$LINENO" 5
   10607  ;;
   10608   :H)
   10609   #
   10610   # CONFIG_HEADER
   10611   #
   10612   if test x"$ac_file" != x-; then
   10613     {
   10614       $as_echo "/* $configure_input  */" \
   10615       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   10616     } >"$tmp/config.h" \
   10617       || as_fn_error "could not create $ac_file" "$LINENO" 5
   10618     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   10619       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   10620 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   10621     else
   10622       rm -f "$ac_file"
   10623       mv "$tmp/config.h" "$ac_file" \
   10624 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   10625     fi
   10626   else
   10627     $as_echo "/* $configure_input  */" \
   10628       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   10629       || as_fn_error "could not create -" "$LINENO" 5
   10630   fi
   10631 # Compute "$ac_file"'s index in $config_headers.
   10632 _am_stamp_count=1
   10633 for _am_header in $config_headers :; do
   10634   case $_am_header in
   10635     "$ac_file" | "$ac_file":* )
   10636       break ;;
   10637     * )
   10638       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   10639   esac
   10640 done
   10641 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
   10642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10643 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   10644 	 X"$ac_file" : 'X\(//\)$' \| \
   10645 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   10646 $as_echo X"$ac_file" |
   10647     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10648 	    s//\1/
   10649 	    q
   10650 	  }
   10651 	  /^X\(\/\/\)[^/].*/{
   10652 	    s//\1/
   10653 	    q
   10654 	  }
   10655 	  /^X\(\/\/\)$/{
   10656 	    s//\1/
   10657 	    q
   10658 	  }
   10659 	  /^X\(\/\).*/{
   10660 	    s//\1/
   10661 	    q
   10662 	  }
   10663 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   10664  ;;
   10665 
   10666   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   10667 $as_echo "$as_me: executing $ac_file commands" >&6;}
   10668  ;;
   10669   esac
   10670 
   10671 
   10672   case $ac_file$ac_mode in
   10673     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   10674   # Strip MF so we end up with the name of the file.
   10675   mf=`echo "$mf" | sed -e 's/:.*$//'`
   10676   # Check whether this is an Automake generated Makefile or not.
   10677   # We used to match only the files named `Makefile.in', but
   10678   # some people rename them; so instead we look at the file content.
   10679   # Grep'ing the first line is not enough: some people post-process
   10680   # each Makefile.in and add a new line on top of each file to say so.
   10681   # So let's grep whole file.
   10682   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   10683     dirpart=`$as_dirname -- "$mf" ||
   10684 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10685 	 X"$mf" : 'X\(//\)[^/]' \| \
   10686 	 X"$mf" : 'X\(//\)$' \| \
   10687 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   10688 $as_echo X"$mf" |
   10689     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10690 	    s//\1/
   10691 	    q
   10692 	  }
   10693 	  /^X\(\/\/\)[^/].*/{
   10694 	    s//\1/
   10695 	    q
   10696 	  }
   10697 	  /^X\(\/\/\)$/{
   10698 	    s//\1/
   10699 	    q
   10700 	  }
   10701 	  /^X\(\/\).*/{
   10702 	    s//\1/
   10703 	    q
   10704 	  }
   10705 	  s/.*/./; q'`
   10706   else
   10707     continue
   10708   fi
   10709   # Extract the definition of DEPDIR, am__include, and am__quote
   10710   # from the Makefile without running `make'.
   10711   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   10712   test -z "$DEPDIR" && continue
   10713   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   10714   test -z "am__include" && continue
   10715   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   10716   # When using ansi2knr, U may be empty or an underscore; expand it
   10717   U=`sed -n 's/^U = //p' < "$mf"`
   10718   # Find all dependency output files, they are included files with
   10719   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   10720   # simplest approach to changing $(DEPDIR) to its actual value in the
   10721   # expansion.
   10722   for file in `sed -n "
   10723     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   10724        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   10725     # Make sure the directory exists.
   10726     test -f "$dirpart/$file" && continue
   10727     fdir=`$as_dirname -- "$file" ||
   10728 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10729 	 X"$file" : 'X\(//\)[^/]' \| \
   10730 	 X"$file" : 'X\(//\)$' \| \
   10731 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   10732 $as_echo X"$file" |
   10733     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10734 	    s//\1/
   10735 	    q
   10736 	  }
   10737 	  /^X\(\/\/\)[^/].*/{
   10738 	    s//\1/
   10739 	    q
   10740 	  }
   10741 	  /^X\(\/\/\)$/{
   10742 	    s//\1/
   10743 	    q
   10744 	  }
   10745 	  /^X\(\/\).*/{
   10746 	    s//\1/
   10747 	    q
   10748 	  }
   10749 	  s/.*/./; q'`
   10750     as_dir=$dirpart/$fdir; as_fn_mkdir_p
   10751     # echo "creating $dirpart/$file"
   10752     echo '# dummy' > "$dirpart/$file"
   10753   done
   10754 done
   10755  ;;
   10756     "default-1":C)
   10757     for ac_file in $CONFIG_FILES; do
   10758       # Support "outfile[:infile[:infile...]]"
   10759       case "$ac_file" in
   10760         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   10761       esac
   10762       # PO directories have a Makefile.in generated from Makefile.in.in.
   10763       case "$ac_file" in */Makefile.in)
   10764         # Adjust a relative srcdir.
   10765         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   10766         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   10767         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   10768         # In autoconf-2.13 it is called $ac_given_srcdir.
   10769         # In autoconf-2.50 it is called $srcdir.
   10770         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   10771         case "$ac_given_srcdir" in
   10772           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   10773           /*) top_srcdir="$ac_given_srcdir" ;;
   10774           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   10775         esac
   10776         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   10777           rm -f "$ac_dir/POTFILES"
   10778           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   10779           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   10780           POMAKEFILEDEPS="POTFILES.in"
   10781           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   10782           # on $ac_dir but don't depend on user-specified configuration
   10783           # parameters.
   10784           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   10785             # The LINGUAS file contains the set of available languages.
   10786             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   10787               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   10788             fi
   10789             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   10790             # Hide the ALL_LINGUAS assigment from automake.
   10791             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   10792             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   10793           else
   10794             # The set of available languages was given in configure.in.
   10795             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   10796           fi
   10797           # Compute POFILES
   10798           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   10799           # Compute UPDATEPOFILES
   10800           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   10801           # Compute DUMMYPOFILES
   10802           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   10803           # Compute GMOFILES
   10804           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   10805           case "$ac_given_srcdir" in
   10806             .) srcdirpre= ;;
   10807             *) srcdirpre='$(srcdir)/' ;;
   10808           esac
   10809           POFILES=
   10810           UPDATEPOFILES=
   10811           DUMMYPOFILES=
   10812           GMOFILES=
   10813           for lang in $ALL_LINGUAS; do
   10814             POFILES="$POFILES $srcdirpre$lang.po"
   10815             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   10816             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   10817             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   10818           done
   10819           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   10820           # environment variable.
   10821           INST_LINGUAS=
   10822           if test -n "$ALL_LINGUAS"; then
   10823             for presentlang in $ALL_LINGUAS; do
   10824               useit=no
   10825               if test "%UNSET%" != "$LINGUAS"; then
   10826                 desiredlanguages="$LINGUAS"
   10827               else
   10828                 desiredlanguages="$ALL_LINGUAS"
   10829               fi
   10830               for desiredlang in $desiredlanguages; do
   10831                 # Use the presentlang catalog if desiredlang is
   10832                 #   a. equal to presentlang, or
   10833                 #   b. a variant of presentlang (because in this case,
   10834                 #      presentlang can be used as a fallback for messages
   10835                 #      which are not translated in the desiredlang catalog).
   10836                 case "$desiredlang" in
   10837                   "$presentlang"*) useit=yes;;
   10838                 esac
   10839               done
   10840               if test $useit = yes; then
   10841                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   10842               fi
   10843             done
   10844           fi
   10845           CATALOGS=
   10846           if test -n "$INST_LINGUAS"; then
   10847             for lang in $INST_LINGUAS; do
   10848               CATALOGS="$CATALOGS $lang.gmo"
   10849             done
   10850           fi
   10851           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   10852           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   10853           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   10854             if test -f "$f"; then
   10855               case "$f" in
   10856                 *.orig | *.bak | *~) ;;
   10857                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   10858               esac
   10859             fi
   10860           done
   10861         fi
   10862         ;;
   10863       esac
   10864     done ;;
   10865 
   10866   esac
   10867 done # for ac_tag
   10868 
   10869 
   10870 as_fn_exit 0
   10871 _ACEOF
   10872 ac_clean_files=$ac_clean_files_save
   10873 
   10874 test $ac_write_fail = 0 ||
   10875   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   10876 
   10877 
   10878 # configure is writing to config.log, and then calls config.status.
   10879 # config.status does its own redirection, appending to config.log.
   10880 # Unfortunately, on DOS this fails, as config.log is still kept open
   10881 # by configure, so config.status won't be able to write to it; its
   10882 # output is simply discarded.  So we exec the FD to /dev/null,
   10883 # effectively closing config.log, so it can be properly (re)opened and
   10884 # appended to by config.status.  When coming back to configure, we
   10885 # need to make the FD available again.
   10886 if test "$no_create" != yes; then
   10887   ac_cs_success=:
   10888   ac_config_status_args=
   10889   test "$silent" = yes &&
   10890     ac_config_status_args="$ac_config_status_args --quiet"
   10891   exec 5>/dev/null
   10892   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   10893   exec 5>>config.log
   10894   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   10895   # would make configure fail if this is the last instruction.
   10896   $ac_cs_success || as_fn_exit $?
   10897 fi
   10898 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   10899   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   10900 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   10901 fi
   10902 
   10903 
   10904 # We only generate the build.sh if we have a build.sh.in; we won't have
   10905 # one before we've created a distribution.
   10906 if test -f "$srcdir/build.sh.in"; then
   10907   ./config.status --file build.sh
   10908   chmod +x build.sh
   10909 fi
   10910 
   10911