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