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