Home | History | Annotate | Download | only in protobuf
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for Protocol Buffers 2.3.0.
      4 #
      5 # Report bugs to <protobuf (at] googlegroups.com>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$lt_ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 ECHO=${lt_ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $ECHO works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<_LT_EOF
    584 $*
    585 _LT_EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$lt_ECHO"; then
    594   if test "X${echo_test_string+set}" != Xset; then
    595     # find a string as large as possible, as long as the shell can cope with it
    596     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    599 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    600       then
    601         break
    602       fi
    603     done
    604   fi
    605 
    606   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    607      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    608      test "X$echo_testing_string" = "X$echo_test_string"; then
    609     :
    610   else
    611     # The Solaris, AIX, and Digital Unix default echo programs unquote
    612     # backslashes.  This makes it impossible to quote backslashes using
    613     #   echo "$something" | sed 's/\\/\\\\/g'
    614     #
    615     # So, first we look for a working echo in the user's PATH.
    616 
    617     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    618     for dir in $PATH /usr/ucb; do
    619       IFS="$lt_save_ifs"
    620       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    621          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    622          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    623          test "X$echo_testing_string" = "X$echo_test_string"; then
    624         ECHO="$dir/echo"
    625         break
    626       fi
    627     done
    628     IFS="$lt_save_ifs"
    629 
    630     if test "X$ECHO" = Xecho; then
    631       # We didn't find a better echo, so look for alternatives.
    632       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    633          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    634          test "X$echo_testing_string" = "X$echo_test_string"; then
    635         # This shell has a builtin print -r that does the trick.
    636         ECHO='print -r'
    637       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    638 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    639         # If we have ksh, try running configure again with it.
    640         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    641         export ORIGINAL_CONFIG_SHELL
    642         CONFIG_SHELL=/bin/ksh
    643         export CONFIG_SHELL
    644         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    645       else
    646         # Try using printf.
    647         ECHO='printf %s\n'
    648         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    649 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    650 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    651 	  # Cool, printf works
    652 	  :
    653         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    654 	     test "X$echo_testing_string" = 'X\t' &&
    655 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    656 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    657 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    658 	  export CONFIG_SHELL
    659 	  SHELL="$CONFIG_SHELL"
    660 	  export SHELL
    661 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    662         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    663 	     test "X$echo_testing_string" = 'X\t' &&
    664 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    665 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    666 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    667         else
    668 	  # maybe with a smaller string...
    669 	  prev=:
    670 
    671 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    672 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    673 	    then
    674 	      break
    675 	    fi
    676 	    prev="$cmd"
    677 	  done
    678 
    679 	  if test "$prev" != 'sed 50q "$0"'; then
    680 	    echo_test_string=`eval $prev`
    681 	    export echo_test_string
    682 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    683 	  else
    684 	    # Oops.  We lost completely, so just stick with echo.
    685 	    ECHO=echo
    686 	  fi
    687         fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 
    693 # Copy echo and quote the copy suitably for passing to libtool from
    694 # the Makefile, instead of quoting the original, which is used later.
    695 lt_ECHO=$ECHO
    696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    697    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    698 fi
    699 
    700 
    701 
    702 
    703 exec 7<&0 </dev/null 6>&1
    704 
    705 # Name of the host.
    706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    707 # so uname gets run too.
    708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    709 
    710 #
    711 # Initializations.
    712 #
    713 ac_default_prefix=/usr/local
    714 ac_clean_files=
    715 ac_config_libobj_dir=.
    716 LIBOBJS=
    717 cross_compiling=no
    718 subdirs=
    719 MFLAGS=
    720 MAKEFLAGS=
    721 SHELL=${CONFIG_SHELL-/bin/sh}
    722 
    723 # Identity of this package.
    724 PACKAGE_NAME='Protocol Buffers'
    725 PACKAGE_TARNAME='protobuf'
    726 PACKAGE_VERSION='2.3.0'
    727 PACKAGE_STRING='Protocol Buffers 2.3.0'
    728 PACKAGE_BUGREPORT='protobuf (at] googlegroups.com'
    729 
    730 ac_unique_file="src/google/protobuf/message.cc"
    731 # Factoring default headers for most tests.
    732 ac_includes_default="\
    733 #include <stdio.h>
    734 #ifdef HAVE_SYS_TYPES_H
    735 # include <sys/types.h>
    736 #endif
    737 #ifdef HAVE_SYS_STAT_H
    738 # include <sys/stat.h>
    739 #endif
    740 #ifdef STDC_HEADERS
    741 # include <stdlib.h>
    742 # include <stddef.h>
    743 #else
    744 # ifdef HAVE_STDLIB_H
    745 #  include <stdlib.h>
    746 # endif
    747 #endif
    748 #ifdef HAVE_STRING_H
    749 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    750 #  include <memory.h>
    751 # endif
    752 # include <string.h>
    753 #endif
    754 #ifdef HAVE_STRINGS_H
    755 # include <strings.h>
    756 #endif
    757 #ifdef HAVE_INTTYPES_H
    758 # include <inttypes.h>
    759 #endif
    760 #ifdef HAVE_STDINT_H
    761 # include <stdint.h>
    762 #endif
    763 #ifdef HAVE_UNISTD_H
    764 # include <unistd.h>
    765 #endif"
    766 
    767 ac_subst_vars='SHELL
    768 PATH_SEPARATOR
    769 PACKAGE_NAME
    770 PACKAGE_TARNAME
    771 PACKAGE_VERSION
    772 PACKAGE_STRING
    773 PACKAGE_BUGREPORT
    774 exec_prefix
    775 prefix
    776 program_transform_name
    777 bindir
    778 sbindir
    779 libexecdir
    780 datarootdir
    781 datadir
    782 sysconfdir
    783 sharedstatedir
    784 localstatedir
    785 includedir
    786 oldincludedir
    787 docdir
    788 infodir
    789 htmldir
    790 dvidir
    791 pdfdir
    792 psdir
    793 libdir
    794 localedir
    795 mandir
    796 DEFS
    797 ECHO_C
    798 ECHO_N
    799 ECHO_T
    800 LIBS
    801 build_alias
    802 host_alias
    803 target_alias
    804 build
    805 build_cpu
    806 build_vendor
    807 build_os
    808 host
    809 host_cpu
    810 host_vendor
    811 host_os
    812 target
    813 target_cpu
    814 target_vendor
    815 target_os
    816 INSTALL_PROGRAM
    817 INSTALL_SCRIPT
    818 INSTALL_DATA
    819 am__isrc
    820 CYGPATH_W
    821 PACKAGE
    822 VERSION
    823 ACLOCAL
    824 AUTOCONF
    825 AUTOMAKE
    826 AUTOHEADER
    827 MAKEINFO
    828 install_sh
    829 STRIP
    830 INSTALL_STRIP_PROGRAM
    831 mkdir_p
    832 AWK
    833 SET_MAKE
    834 am__leading_dot
    835 AMTAR
    836 am__tar
    837 am__untar
    838 CC
    839 CFLAGS
    840 LDFLAGS
    841 CPPFLAGS
    842 ac_ct_CC
    843 EXEEXT
    844 OBJEXT
    845 DEPDIR
    846 am__include
    847 am__quote
    848 AMDEP_TRUE
    849 AMDEP_FALSE
    850 AMDEPBACKSLASH
    851 CCDEPMODE
    852 am__fastdepCC_TRUE
    853 am__fastdepCC_FALSE
    854 CXX
    855 CXXFLAGS
    856 ac_ct_CXX
    857 CXXDEPMODE
    858 am__fastdepCXX_TRUE
    859 am__fastdepCXX_FALSE
    860 CXXCPP
    861 GREP
    862 EGREP
    863 GCC_TRUE
    864 GCC_FALSE
    865 PROTOBUF_OPT_FLAG
    866 ISAINFO
    867 LIBTOOL
    868 SED
    869 FGREP
    870 LD
    871 DUMPBIN
    872 ac_ct_DUMPBIN
    873 NM
    874 LN_S
    875 AR
    876 RANLIB
    877 lt_ECHO
    878 DSYMUTIL
    879 NMEDIT
    880 LIPO
    881 OTOOL
    882 OTOOL64
    883 LIBOBJS
    884 POW_LIB
    885 HAVE_ZLIB_TRUE
    886 HAVE_ZLIB_FALSE
    887 PROTOC
    888 USE_EXTERNAL_PROTOC_TRUE
    889 USE_EXTERNAL_PROTOC_FALSE
    890 acx_pthread_config
    891 PTHREAD_CC
    892 PTHREAD_LIBS
    893 PTHREAD_CFLAGS
    894 subdirs
    895 LTLIBOBJS'
    896 ac_subst_files=''
    897       ac_precious_vars='build_alias
    898 host_alias
    899 target_alias
    900 CC
    901 CFLAGS
    902 LDFLAGS
    903 LIBS
    904 CPPFLAGS
    905 CXX
    906 CXXFLAGS
    907 CCC
    908 CXXCPP'
    909 ac_subdirs_all='gtest'
    910 
    911 # Initialize some variables set by options.
    912 ac_init_help=
    913 ac_init_version=false
    914 # The variables have the same names as the options, with
    915 # dashes changed to underlines.
    916 cache_file=/dev/null
    917 exec_prefix=NONE
    918 no_create=
    919 no_recursion=
    920 prefix=NONE
    921 program_prefix=NONE
    922 program_suffix=NONE
    923 program_transform_name=s,x,x,
    924 silent=
    925 site=
    926 srcdir=
    927 verbose=
    928 x_includes=NONE
    929 x_libraries=NONE
    930 
    931 # Installation directory options.
    932 # These are left unexpanded so users can "make install exec_prefix=/foo"
    933 # and all the variables that are supposed to be based on exec_prefix
    934 # by default will actually change.
    935 # Use braces instead of parens because sh, perl, etc. also accept them.
    936 # (The list follows the same order as the GNU Coding Standards.)
    937 bindir='${exec_prefix}/bin'
    938 sbindir='${exec_prefix}/sbin'
    939 libexecdir='${exec_prefix}/libexec'
    940 datarootdir='${prefix}/share'
    941 datadir='${datarootdir}'
    942 sysconfdir='${prefix}/etc'
    943 sharedstatedir='${prefix}/com'
    944 localstatedir='${prefix}/var'
    945 includedir='${prefix}/include'
    946 oldincludedir='/usr/include'
    947 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    948 infodir='${datarootdir}/info'
    949 htmldir='${docdir}'
    950 dvidir='${docdir}'
    951 pdfdir='${docdir}'
    952 psdir='${docdir}'
    953 libdir='${exec_prefix}/lib'
    954 localedir='${datarootdir}/locale'
    955 mandir='${datarootdir}/man'
    956 
    957 ac_prev=
    958 ac_dashdash=
    959 for ac_option
    960 do
    961   # If the previous option needs an argument, assign it.
    962   if test -n "$ac_prev"; then
    963     eval $ac_prev=\$ac_option
    964     ac_prev=
    965     continue
    966   fi
    967 
    968   case $ac_option in
    969   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    970   *)	ac_optarg=yes ;;
    971   esac
    972 
    973   # Accept the important Cygnus configure options, so we can diagnose typos.
    974 
    975   case $ac_dashdash$ac_option in
    976   --)
    977     ac_dashdash=yes ;;
    978 
    979   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    980     ac_prev=bindir ;;
    981   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    982     bindir=$ac_optarg ;;
    983 
    984   -build | --build | --buil | --bui | --bu)
    985     ac_prev=build_alias ;;
    986   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    987     build_alias=$ac_optarg ;;
    988 
    989   -cache-file | --cache-file | --cache-fil | --cache-fi \
    990   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    991     ac_prev=cache_file ;;
    992   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    993   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    994     cache_file=$ac_optarg ;;
    995 
    996   --config-cache | -C)
    997     cache_file=config.cache ;;
    998 
    999   -datadir | --datadir | --datadi | --datad)
   1000     ac_prev=datadir ;;
   1001   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1002     datadir=$ac_optarg ;;
   1003 
   1004   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1005   | --dataroo | --dataro | --datar)
   1006     ac_prev=datarootdir ;;
   1007   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1008   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1009     datarootdir=$ac_optarg ;;
   1010 
   1011   -disable-* | --disable-*)
   1012     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1013     # Reject names that are not valid shell variable names.
   1014     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1015       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1016    { (exit 1); exit 1; }; }
   1017     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1018     eval enable_$ac_feature=no ;;
   1019 
   1020   -docdir | --docdir | --docdi | --doc | --do)
   1021     ac_prev=docdir ;;
   1022   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1023     docdir=$ac_optarg ;;
   1024 
   1025   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1026     ac_prev=dvidir ;;
   1027   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1028     dvidir=$ac_optarg ;;
   1029 
   1030   -enable-* | --enable-*)
   1031     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1032     # Reject names that are not valid shell variable names.
   1033     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1034       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1035    { (exit 1); exit 1; }; }
   1036     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1037     eval enable_$ac_feature=\$ac_optarg ;;
   1038 
   1039   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1040   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1041   | --exec | --exe | --ex)
   1042     ac_prev=exec_prefix ;;
   1043   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1044   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1045   | --exec=* | --exe=* | --ex=*)
   1046     exec_prefix=$ac_optarg ;;
   1047 
   1048   -gas | --gas | --ga | --g)
   1049     # Obsolete; use --with-gas.
   1050     with_gas=yes ;;
   1051 
   1052   -help | --help | --hel | --he | -h)
   1053     ac_init_help=long ;;
   1054   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1055     ac_init_help=recursive ;;
   1056   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1057     ac_init_help=short ;;
   1058 
   1059   -host | --host | --hos | --ho)
   1060     ac_prev=host_alias ;;
   1061   -host=* | --host=* | --hos=* | --ho=*)
   1062     host_alias=$ac_optarg ;;
   1063 
   1064   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1065     ac_prev=htmldir ;;
   1066   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1067   | --ht=*)
   1068     htmldir=$ac_optarg ;;
   1069 
   1070   -includedir | --includedir | --includedi | --included | --include \
   1071   | --includ | --inclu | --incl | --inc)
   1072     ac_prev=includedir ;;
   1073   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1074   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1075     includedir=$ac_optarg ;;
   1076 
   1077   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1078     ac_prev=infodir ;;
   1079   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1080     infodir=$ac_optarg ;;
   1081 
   1082   -libdir | --libdir | --libdi | --libd)
   1083     ac_prev=libdir ;;
   1084   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1085     libdir=$ac_optarg ;;
   1086 
   1087   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1088   | --libexe | --libex | --libe)
   1089     ac_prev=libexecdir ;;
   1090   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1091   | --libexe=* | --libex=* | --libe=*)
   1092     libexecdir=$ac_optarg ;;
   1093 
   1094   -localedir | --localedir | --localedi | --localed | --locale)
   1095     ac_prev=localedir ;;
   1096   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1097     localedir=$ac_optarg ;;
   1098 
   1099   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1100   | --localstate | --localstat | --localsta | --localst | --locals)
   1101     ac_prev=localstatedir ;;
   1102   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1103   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1104     localstatedir=$ac_optarg ;;
   1105 
   1106   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1107     ac_prev=mandir ;;
   1108   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1109     mandir=$ac_optarg ;;
   1110 
   1111   -nfp | --nfp | --nf)
   1112     # Obsolete; use --without-fp.
   1113     with_fp=no ;;
   1114 
   1115   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1116   | --no-cr | --no-c | -n)
   1117     no_create=yes ;;
   1118 
   1119   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1120   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1121     no_recursion=yes ;;
   1122 
   1123   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1124   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1125   | --oldin | --oldi | --old | --ol | --o)
   1126     ac_prev=oldincludedir ;;
   1127   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1128   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1129   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1130     oldincludedir=$ac_optarg ;;
   1131 
   1132   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1133     ac_prev=prefix ;;
   1134   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1135     prefix=$ac_optarg ;;
   1136 
   1137   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1138   | --program-pre | --program-pr | --program-p)
   1139     ac_prev=program_prefix ;;
   1140   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1141   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1142     program_prefix=$ac_optarg ;;
   1143 
   1144   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1145   | --program-suf | --program-su | --program-s)
   1146     ac_prev=program_suffix ;;
   1147   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1148   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1149     program_suffix=$ac_optarg ;;
   1150 
   1151   -program-transform-name | --program-transform-name \
   1152   | --program-transform-nam | --program-transform-na \
   1153   | --program-transform-n | --program-transform- \
   1154   | --program-transform | --program-transfor \
   1155   | --program-transfo | --program-transf \
   1156   | --program-trans | --program-tran \
   1157   | --progr-tra | --program-tr | --program-t)
   1158     ac_prev=program_transform_name ;;
   1159   -program-transform-name=* | --program-transform-name=* \
   1160   | --program-transform-nam=* | --program-transform-na=* \
   1161   | --program-transform-n=* | --program-transform-=* \
   1162   | --program-transform=* | --program-transfor=* \
   1163   | --program-transfo=* | --program-transf=* \
   1164   | --program-trans=* | --program-tran=* \
   1165   | --progr-tra=* | --program-tr=* | --program-t=*)
   1166     program_transform_name=$ac_optarg ;;
   1167 
   1168   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1169     ac_prev=pdfdir ;;
   1170   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1171     pdfdir=$ac_optarg ;;
   1172 
   1173   -psdir | --psdir | --psdi | --psd | --ps)
   1174     ac_prev=psdir ;;
   1175   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1176     psdir=$ac_optarg ;;
   1177 
   1178   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1179   | -silent | --silent | --silen | --sile | --sil)
   1180     silent=yes ;;
   1181 
   1182   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1183     ac_prev=sbindir ;;
   1184   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1185   | --sbi=* | --sb=*)
   1186     sbindir=$ac_optarg ;;
   1187 
   1188   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1189   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1190   | --sharedst | --shareds | --shared | --share | --shar \
   1191   | --sha | --sh)
   1192     ac_prev=sharedstatedir ;;
   1193   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1194   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1195   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1196   | --sha=* | --sh=*)
   1197     sharedstatedir=$ac_optarg ;;
   1198 
   1199   -site | --site | --sit)
   1200     ac_prev=site ;;
   1201   -site=* | --site=* | --sit=*)
   1202     site=$ac_optarg ;;
   1203 
   1204   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1205     ac_prev=srcdir ;;
   1206   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1207     srcdir=$ac_optarg ;;
   1208 
   1209   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1210   | --syscon | --sysco | --sysc | --sys | --sy)
   1211     ac_prev=sysconfdir ;;
   1212   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1213   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1214     sysconfdir=$ac_optarg ;;
   1215 
   1216   -target | --target | --targe | --targ | --tar | --ta | --t)
   1217     ac_prev=target_alias ;;
   1218   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1219     target_alias=$ac_optarg ;;
   1220 
   1221   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1222     verbose=yes ;;
   1223 
   1224   -version | --version | --versio | --versi | --vers | -V)
   1225     ac_init_version=: ;;
   1226 
   1227   -with-* | --with-*)
   1228     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1229     # Reject names that are not valid shell variable names.
   1230     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1231       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1232    { (exit 1); exit 1; }; }
   1233     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1234     eval with_$ac_package=\$ac_optarg ;;
   1235 
   1236   -without-* | --without-*)
   1237     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1238     # Reject names that are not valid shell variable names.
   1239     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1240       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1241    { (exit 1); exit 1; }; }
   1242     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1243     eval with_$ac_package=no ;;
   1244 
   1245   --x)
   1246     # Obsolete; use --with-x.
   1247     with_x=yes ;;
   1248 
   1249   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1250   | --x-incl | --x-inc | --x-in | --x-i)
   1251     ac_prev=x_includes ;;
   1252   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1253   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1254     x_includes=$ac_optarg ;;
   1255 
   1256   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1257   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1258     ac_prev=x_libraries ;;
   1259   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1260   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1261     x_libraries=$ac_optarg ;;
   1262 
   1263   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1264 Try \`$0 --help' for more information." >&2
   1265    { (exit 1); exit 1; }; }
   1266     ;;
   1267 
   1268   *=*)
   1269     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1270     # Reject names that are not valid shell variable names.
   1271     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1272       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1273    { (exit 1); exit 1; }; }
   1274     eval $ac_envvar=\$ac_optarg
   1275     export $ac_envvar ;;
   1276 
   1277   *)
   1278     # FIXME: should be removed in autoconf 3.0.
   1279     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1280     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1281       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1282     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1283     ;;
   1284 
   1285   esac
   1286 done
   1287 
   1288 if test -n "$ac_prev"; then
   1289   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1290   { echo "$as_me: error: missing argument to $ac_option" >&2
   1291    { (exit 1); exit 1; }; }
   1292 fi
   1293 
   1294 # Be sure to have absolute directory names.
   1295 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1296 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1297 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1298 		libdir localedir mandir
   1299 do
   1300   eval ac_val=\$$ac_var
   1301   case $ac_val in
   1302     [\\/$]* | ?:[\\/]* )  continue;;
   1303     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1304   esac
   1305   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1306    { (exit 1); exit 1; }; }
   1307 done
   1308 
   1309 # There might be people who depend on the old broken behavior: `$host'
   1310 # used to hold the argument of --host etc.
   1311 # FIXME: To remove some day.
   1312 build=$build_alias
   1313 host=$host_alias
   1314 target=$target_alias
   1315 
   1316 # FIXME: To remove some day.
   1317 if test "x$host_alias" != x; then
   1318   if test "x$build_alias" = x; then
   1319     cross_compiling=maybe
   1320     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1321     If a cross compiler is detected then cross compile mode will be used." >&2
   1322   elif test "x$build_alias" != "x$host_alias"; then
   1323     cross_compiling=yes
   1324   fi
   1325 fi
   1326 
   1327 ac_tool_prefix=
   1328 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1329 
   1330 test "$silent" = yes && exec 6>/dev/null
   1331 
   1332 
   1333 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1334 ac_ls_di=`ls -di .` &&
   1335 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1336   { echo "$as_me: error: Working directory cannot be determined" >&2
   1337    { (exit 1); exit 1; }; }
   1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1339   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1340    { (exit 1); exit 1; }; }
   1341 
   1342 
   1343 # Find the source files, if location was not specified.
   1344 if test -z "$srcdir"; then
   1345   ac_srcdir_defaulted=yes
   1346   # Try the directory containing this script, then the parent directory.
   1347   ac_confdir=`$as_dirname -- "$0" ||
   1348 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1349 	 X"$0" : 'X\(//\)[^/]' \| \
   1350 	 X"$0" : 'X\(//\)$' \| \
   1351 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1352 echo X"$0" |
   1353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  /^X\(\/\/\)[^/].*/{
   1358 	    s//\1/
   1359 	    q
   1360 	  }
   1361 	  /^X\(\/\/\)$/{
   1362 	    s//\1/
   1363 	    q
   1364 	  }
   1365 	  /^X\(\/\).*/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  s/.*/./; q'`
   1370   srcdir=$ac_confdir
   1371   if test ! -r "$srcdir/$ac_unique_file"; then
   1372     srcdir=..
   1373   fi
   1374 else
   1375   ac_srcdir_defaulted=no
   1376 fi
   1377 if test ! -r "$srcdir/$ac_unique_file"; then
   1378   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1379   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1380    { (exit 1); exit 1; }; }
   1381 fi
   1382 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1383 ac_abs_confdir=`(
   1384 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1385    { (exit 1); exit 1; }; }
   1386 	pwd)`
   1387 # When building in place, set srcdir=.
   1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1389   srcdir=.
   1390 fi
   1391 # Remove unnecessary trailing slashes from srcdir.
   1392 # Double slashes in file names in object file debugging info
   1393 # mess up M-x gdb in Emacs.
   1394 case $srcdir in
   1395 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1396 esac
   1397 for ac_var in $ac_precious_vars; do
   1398   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1399   eval ac_env_${ac_var}_value=\$${ac_var}
   1400   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1401   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1402 done
   1403 
   1404 #
   1405 # Report the --help message.
   1406 #
   1407 if test "$ac_init_help" = "long"; then
   1408   # Omit some internal or obsolete options to make the list less imposing.
   1409   # This message is too long to be a string in the A/UX 3.1 sh.
   1410   cat <<_ACEOF
   1411 \`configure' configures Protocol Buffers 2.3.0 to adapt to many kinds of systems.
   1412 
   1413 Usage: $0 [OPTION]... [VAR=VALUE]...
   1414 
   1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1416 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1417 
   1418 Defaults for the options are specified in brackets.
   1419 
   1420 Configuration:
   1421   -h, --help              display this help and exit
   1422       --help=short        display options specific to this package
   1423       --help=recursive    display the short help of all the included packages
   1424   -V, --version           display version information and exit
   1425   -q, --quiet, --silent   do not print \`checking...' messages
   1426       --cache-file=FILE   cache test results in FILE [disabled]
   1427   -C, --config-cache      alias for \`--cache-file=config.cache'
   1428   -n, --no-create         do not create output files
   1429       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1430 
   1431 Installation directories:
   1432   --prefix=PREFIX         install architecture-independent files in PREFIX
   1433 			  [$ac_default_prefix]
   1434   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1435 			  [PREFIX]
   1436 
   1437 By default, \`make install' will install all the files in
   1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1440 for instance \`--prefix=\$HOME'.
   1441 
   1442 For better control, use the options below.
   1443 
   1444 Fine tuning of the installation directories:
   1445   --bindir=DIR           user executables [EPREFIX/bin]
   1446   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1447   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1448   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1449   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1450   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1451   --libdir=DIR           object code libraries [EPREFIX/lib]
   1452   --includedir=DIR       C header files [PREFIX/include]
   1453   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1454   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1455   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1456   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1457   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1458   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1459   --docdir=DIR           documentation root [DATAROOTDIR/doc/protobuf]
   1460   --htmldir=DIR          html documentation [DOCDIR]
   1461   --dvidir=DIR           dvi documentation [DOCDIR]
   1462   --pdfdir=DIR           pdf documentation [DOCDIR]
   1463   --psdir=DIR            ps documentation [DOCDIR]
   1464 _ACEOF
   1465 
   1466   cat <<\_ACEOF
   1467 
   1468 Program names:
   1469   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1470   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1471   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1472 
   1473 System types:
   1474   --build=BUILD     configure for building on BUILD [guessed]
   1475   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1476   --target=TARGET   configure for building compilers for TARGET [HOST]
   1477 _ACEOF
   1478 fi
   1479 
   1480 if test -n "$ac_init_help"; then
   1481   case $ac_init_help in
   1482      short | recursive ) echo "Configuration of Protocol Buffers 2.3.0:";;
   1483    esac
   1484   cat <<\_ACEOF
   1485 
   1486 Optional Features:
   1487   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1488   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1489   --disable-dependency-tracking  speeds up one-time build
   1490   --enable-dependency-tracking   do not reject slow dependency extractors
   1491   --disable-64bit-solaris Build 64 bit binary on Solaris [default=on]
   1492   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1493   --enable-static[=PKGS]  build static libraries [default=yes]
   1494   --enable-fast-install[=PKGS]
   1495                           optimize for fast installation [default=yes]
   1496   --disable-libtool-lock  avoid locking (might break parallel builds)
   1497 
   1498 Optional Packages:
   1499   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1500   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1501   --with-zlib             include classes for streaming compressed data in and
   1502                           out [default=check]
   1503   --with-protoc=COMMAND   use the given protoc command instead of building a
   1504                           new one when building tests (useful for
   1505                           cross-compiling)
   1506   --with-pic              try to use only PIC/non-PIC objects [default=use
   1507                           both]
   1508   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1509 
   1510 Some influential environment variables:
   1511   CC          C compiler command
   1512   CFLAGS      C compiler flags
   1513   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1514               nonstandard directory <lib dir>
   1515   LIBS        libraries to pass to the linker, e.g. -l<library>
   1516   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1517               you have headers in a nonstandard directory <include dir>
   1518   CXX         C++ compiler command
   1519   CXXFLAGS    C++ compiler flags
   1520   CXXCPP      C++ preprocessor
   1521 
   1522 Use these variables to override the choices made by `configure' or to help
   1523 it to find libraries and programs with nonstandard names/locations.
   1524 
   1525 Report bugs to <protobuf@googlegroups.com>.
   1526 _ACEOF
   1527 ac_status=$?
   1528 fi
   1529 
   1530 if test "$ac_init_help" = "recursive"; then
   1531   # If there are subdirs, report their specific --help.
   1532   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1533     test -d "$ac_dir" || continue
   1534     ac_builddir=.
   1535 
   1536 case "$ac_dir" in
   1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1538 *)
   1539   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1540   # A ".." for each directory in $ac_dir_suffix.
   1541   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1542   case $ac_top_builddir_sub in
   1543   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1544   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1545   esac ;;
   1546 esac
   1547 ac_abs_top_builddir=$ac_pwd
   1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1549 # for backward compatibility:
   1550 ac_top_builddir=$ac_top_build_prefix
   1551 
   1552 case $srcdir in
   1553   .)  # We are building in place.
   1554     ac_srcdir=.
   1555     ac_top_srcdir=$ac_top_builddir_sub
   1556     ac_abs_top_srcdir=$ac_pwd ;;
   1557   [\\/]* | ?:[\\/]* )  # Absolute name.
   1558     ac_srcdir=$srcdir$ac_dir_suffix;
   1559     ac_top_srcdir=$srcdir
   1560     ac_abs_top_srcdir=$srcdir ;;
   1561   *) # Relative name.
   1562     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1563     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1564     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1565 esac
   1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1567 
   1568     cd "$ac_dir" || { ac_status=$?; continue; }
   1569     # Check for guested configure.
   1570     if test -f "$ac_srcdir/configure.gnu"; then
   1571       echo &&
   1572       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1573     elif test -f "$ac_srcdir/configure"; then
   1574       echo &&
   1575       $SHELL "$ac_srcdir/configure" --help=recursive
   1576     else
   1577       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1578     fi || ac_status=$?
   1579     cd "$ac_pwd" || { ac_status=$?; break; }
   1580   done
   1581 fi
   1582 
   1583 test -n "$ac_init_help" && exit $ac_status
   1584 if $ac_init_version; then
   1585   cat <<\_ACEOF
   1586 Protocol Buffers configure 2.3.0
   1587 generated by GNU Autoconf 2.61
   1588 
   1589 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1590 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1591 This configure script is free software; the Free Software Foundation
   1592 gives unlimited permission to copy, distribute and modify it.
   1593 _ACEOF
   1594   exit
   1595 fi
   1596 cat >config.log <<_ACEOF
   1597 This file contains any messages produced by compilers while
   1598 running configure, to aid debugging if configure makes a mistake.
   1599 
   1600 It was created by Protocol Buffers $as_me 2.3.0, which was
   1601 generated by GNU Autoconf 2.61.  Invocation command line was
   1602 
   1603   $ $0 $@
   1604 
   1605 _ACEOF
   1606 exec 5>>config.log
   1607 {
   1608 cat <<_ASUNAME
   1609 ## --------- ##
   1610 ## Platform. ##
   1611 ## --------- ##
   1612 
   1613 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1614 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1615 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1616 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1617 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1618 
   1619 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1620 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1621 
   1622 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1623 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1624 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1625 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1626 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1627 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1628 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1629 
   1630 _ASUNAME
   1631 
   1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1633 for as_dir in $PATH
   1634 do
   1635   IFS=$as_save_IFS
   1636   test -z "$as_dir" && as_dir=.
   1637   echo "PATH: $as_dir"
   1638 done
   1639 IFS=$as_save_IFS
   1640 
   1641 } >&5
   1642 
   1643 cat >&5 <<_ACEOF
   1644 
   1645 
   1646 ## ----------- ##
   1647 ## Core tests. ##
   1648 ## ----------- ##
   1649 
   1650 _ACEOF
   1651 
   1652 
   1653 # Keep a trace of the command line.
   1654 # Strip out --no-create and --no-recursion so they do not pile up.
   1655 # Strip out --silent because we don't want to record it for future runs.
   1656 # Also quote any args containing shell meta-characters.
   1657 # Make two passes to allow for proper duplicate-argument suppression.
   1658 ac_configure_args=
   1659 ac_configure_args0=
   1660 ac_configure_args1=
   1661 ac_must_keep_next=false
   1662 for ac_pass in 1 2
   1663 do
   1664   for ac_arg
   1665   do
   1666     case $ac_arg in
   1667     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1668     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1669     | -silent | --silent | --silen | --sile | --sil)
   1670       continue ;;
   1671     *\'*)
   1672       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1673     esac
   1674     case $ac_pass in
   1675     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1676     2)
   1677       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1678       if test $ac_must_keep_next = true; then
   1679 	ac_must_keep_next=false # Got value, back to normal.
   1680       else
   1681 	case $ac_arg in
   1682 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1683 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1684 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1685 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1686 	    case "$ac_configure_args0 " in
   1687 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1688 	    esac
   1689 	    ;;
   1690 	  -* ) ac_must_keep_next=true ;;
   1691 	esac
   1692       fi
   1693       ac_configure_args="$ac_configure_args '$ac_arg'"
   1694       ;;
   1695     esac
   1696   done
   1697 done
   1698 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1699 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1700 
   1701 # When interrupted or exit'd, cleanup temporary files, and complete
   1702 # config.log.  We remove comments because anyway the quotes in there
   1703 # would cause problems or look ugly.
   1704 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1705 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1706 trap 'exit_status=$?
   1707   # Save into config.log some information that might help in debugging.
   1708   {
   1709     echo
   1710 
   1711     cat <<\_ASBOX
   1712 ## ---------------- ##
   1713 ## Cache variables. ##
   1714 ## ---------------- ##
   1715 _ASBOX
   1716     echo
   1717     # The following way of writing the cache mishandles newlines in values,
   1718 (
   1719   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1720     eval ac_val=\$$ac_var
   1721     case $ac_val in #(
   1722     *${as_nl}*)
   1723       case $ac_var in #(
   1724       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1725 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1726       esac
   1727       case $ac_var in #(
   1728       _ | IFS | as_nl) ;; #(
   1729       *) $as_unset $ac_var ;;
   1730       esac ;;
   1731     esac
   1732   done
   1733   (set) 2>&1 |
   1734     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1735     *${as_nl}ac_space=\ *)
   1736       sed -n \
   1737 	"s/'\''/'\''\\\\'\'''\''/g;
   1738 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1739       ;; #(
   1740     *)
   1741       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1742       ;;
   1743     esac |
   1744     sort
   1745 )
   1746     echo
   1747 
   1748     cat <<\_ASBOX
   1749 ## ----------------- ##
   1750 ## Output variables. ##
   1751 ## ----------------- ##
   1752 _ASBOX
   1753     echo
   1754     for ac_var in $ac_subst_vars
   1755     do
   1756       eval ac_val=\$$ac_var
   1757       case $ac_val in
   1758       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1759       esac
   1760       echo "$ac_var='\''$ac_val'\''"
   1761     done | sort
   1762     echo
   1763 
   1764     if test -n "$ac_subst_files"; then
   1765       cat <<\_ASBOX
   1766 ## ------------------- ##
   1767 ## File substitutions. ##
   1768 ## ------------------- ##
   1769 _ASBOX
   1770       echo
   1771       for ac_var in $ac_subst_files
   1772       do
   1773 	eval ac_val=\$$ac_var
   1774 	case $ac_val in
   1775 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1776 	esac
   1777 	echo "$ac_var='\''$ac_val'\''"
   1778       done | sort
   1779       echo
   1780     fi
   1781 
   1782     if test -s confdefs.h; then
   1783       cat <<\_ASBOX
   1784 ## ----------- ##
   1785 ## confdefs.h. ##
   1786 ## ----------- ##
   1787 _ASBOX
   1788       echo
   1789       cat confdefs.h
   1790       echo
   1791     fi
   1792     test "$ac_signal" != 0 &&
   1793       echo "$as_me: caught signal $ac_signal"
   1794     echo "$as_me: exit $exit_status"
   1795   } >&5
   1796   rm -f core *.core core.conftest.* &&
   1797     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1798     exit $exit_status
   1799 ' 0
   1800 for ac_signal in 1 2 13 15; do
   1801   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1802 done
   1803 ac_signal=0
   1804 
   1805 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1806 rm -f -r conftest* confdefs.h
   1807 
   1808 # Predefined preprocessor variables.
   1809 
   1810 cat >>confdefs.h <<_ACEOF
   1811 #define PACKAGE_NAME "$PACKAGE_NAME"
   1812 _ACEOF
   1813 
   1814 
   1815 cat >>confdefs.h <<_ACEOF
   1816 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1817 _ACEOF
   1818 
   1819 
   1820 cat >>confdefs.h <<_ACEOF
   1821 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1822 _ACEOF
   1823 
   1824 
   1825 cat >>confdefs.h <<_ACEOF
   1826 #define PACKAGE_STRING "$PACKAGE_STRING"
   1827 _ACEOF
   1828 
   1829 
   1830 cat >>confdefs.h <<_ACEOF
   1831 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1832 _ACEOF
   1833 
   1834 
   1835 # Let the site file select an alternate cache file if it wants to.
   1836 # Prefer explicitly selected file to automatically selected ones.
   1837 if test -n "$CONFIG_SITE"; then
   1838   set x "$CONFIG_SITE"
   1839 elif test "x$prefix" != xNONE; then
   1840   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1841 else
   1842   set x "$ac_default_prefix/share/config.site" \
   1843 	"$ac_default_prefix/etc/config.site"
   1844 fi
   1845 shift
   1846 for ac_site_file
   1847 do
   1848   if test -r "$ac_site_file"; then
   1849     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1850 echo "$as_me: loading site script $ac_site_file" >&6;}
   1851     sed 's/^/| /' "$ac_site_file" >&5
   1852     . "$ac_site_file"
   1853   fi
   1854 done
   1855 
   1856 if test -r "$cache_file"; then
   1857   # Some versions of bash will fail to source /dev/null (special
   1858   # files actually), so we avoid doing that.
   1859   if test -f "$cache_file"; then
   1860     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1861 echo "$as_me: loading cache $cache_file" >&6;}
   1862     case $cache_file in
   1863       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1864       *)                      . "./$cache_file";;
   1865     esac
   1866   fi
   1867 else
   1868   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1869 echo "$as_me: creating cache $cache_file" >&6;}
   1870   >$cache_file
   1871 fi
   1872 
   1873 # Check that the precious variables saved in the cache have kept the same
   1874 # value.
   1875 ac_cache_corrupted=false
   1876 for ac_var in $ac_precious_vars; do
   1877   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1878   eval ac_new_set=\$ac_env_${ac_var}_set
   1879   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1880   eval ac_new_val=\$ac_env_${ac_var}_value
   1881   case $ac_old_set,$ac_new_set in
   1882     set,)
   1883       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1884 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1885       ac_cache_corrupted=: ;;
   1886     ,set)
   1887       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1888 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1889       ac_cache_corrupted=: ;;
   1890     ,);;
   1891     *)
   1892       if test "x$ac_old_val" != "x$ac_new_val"; then
   1893 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1894 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1895 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1896 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1897 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1898 echo "$as_me:   current value: $ac_new_val" >&2;}
   1899 	ac_cache_corrupted=:
   1900       fi;;
   1901   esac
   1902   # Pass precious variables to config.status.
   1903   if test "$ac_new_set" = set; then
   1904     case $ac_new_val in
   1905     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1906     *) ac_arg=$ac_var=$ac_new_val ;;
   1907     esac
   1908     case " $ac_configure_args " in
   1909       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1910       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1911     esac
   1912   fi
   1913 done
   1914 if $ac_cache_corrupted; then
   1915   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1916 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1917   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1918 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1919    { (exit 1); exit 1; }; }
   1920 fi
   1921 
   1922 
   1923 
   1924 
   1925 
   1926 
   1927 
   1928 
   1929 
   1930 
   1931 
   1932 
   1933 
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 
   1941 
   1942 
   1943 
   1944 
   1945 
   1946 ac_ext=c
   1947 ac_cpp='$CPP $CPPFLAGS'
   1948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 ac_config_headers="$ac_config_headers config.h"
   1957 
   1958 
   1959 
   1960 # autoconf's default CXXFLAGS are usually "-g -O2".  These aren't necessarily
   1961 # the best choice for libprotobuf.
   1962 if test "x${ac_cv_env_CFLAGS_set}" = "x"; then
   1963   CFLAGS=""
   1964 fi
   1965 
   1966 if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then
   1967   CXXFLAGS=""
   1968 fi
   1969 
   1970 
   1971 ac_aux_dir=
   1972 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1973   if test -f "$ac_dir/install-sh"; then
   1974     ac_aux_dir=$ac_dir
   1975     ac_install_sh="$ac_aux_dir/install-sh -c"
   1976     break
   1977   elif test -f "$ac_dir/install.sh"; then
   1978     ac_aux_dir=$ac_dir
   1979     ac_install_sh="$ac_aux_dir/install.sh -c"
   1980     break
   1981   elif test -f "$ac_dir/shtool"; then
   1982     ac_aux_dir=$ac_dir
   1983     ac_install_sh="$ac_aux_dir/shtool install -c"
   1984     break
   1985   fi
   1986 done
   1987 if test -z "$ac_aux_dir"; then
   1988   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1989 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1990    { (exit 1); exit 1; }; }
   1991 fi
   1992 
   1993 # These three variables are undocumented and unsupported,
   1994 # and are intended to be withdrawn in a future Autoconf release.
   1995 # They can cause serious problems if a builder's source tree is in a directory
   1996 # whose full name contains unusual characters.
   1997 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1998 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1999 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2000 
   2001 
   2002 # Make sure we can run config.sub.
   2003 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2004   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2005 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2006    { (exit 1); exit 1; }; }
   2007 
   2008 { echo "$as_me:$LINENO: checking build system type" >&5
   2009 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2010 if test "${ac_cv_build+set}" = set; then
   2011   echo $ECHO_N "(cached) $ECHO_C" >&6
   2012 else
   2013   ac_build_alias=$build_alias
   2014 test "x$ac_build_alias" = x &&
   2015   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2016 test "x$ac_build_alias" = x &&
   2017   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2018 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2019    { (exit 1); exit 1; }; }
   2020 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2021   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2022 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2023    { (exit 1); exit 1; }; }
   2024 
   2025 fi
   2026 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2027 echo "${ECHO_T}$ac_cv_build" >&6; }
   2028 case $ac_cv_build in
   2029 *-*-*) ;;
   2030 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2031 echo "$as_me: error: invalid value of canonical build" >&2;}
   2032    { (exit 1); exit 1; }; };;
   2033 esac
   2034 build=$ac_cv_build
   2035 ac_save_IFS=$IFS; IFS='-'
   2036 set x $ac_cv_build
   2037 shift
   2038 build_cpu=$1
   2039 build_vendor=$2
   2040 shift; shift
   2041 # Remember, the first character of IFS is used to create $*,
   2042 # except with old shells:
   2043 build_os=$*
   2044 IFS=$ac_save_IFS
   2045 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2046 
   2047 
   2048 { echo "$as_me:$LINENO: checking host system type" >&5
   2049 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2050 if test "${ac_cv_host+set}" = set; then
   2051   echo $ECHO_N "(cached) $ECHO_C" >&6
   2052 else
   2053   if test "x$host_alias" = x; then
   2054   ac_cv_host=$ac_cv_build
   2055 else
   2056   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2057     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2058 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2059    { (exit 1); exit 1; }; }
   2060 fi
   2061 
   2062 fi
   2063 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2064 echo "${ECHO_T}$ac_cv_host" >&6; }
   2065 case $ac_cv_host in
   2066 *-*-*) ;;
   2067 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2068 echo "$as_me: error: invalid value of canonical host" >&2;}
   2069    { (exit 1); exit 1; }; };;
   2070 esac
   2071 host=$ac_cv_host
   2072 ac_save_IFS=$IFS; IFS='-'
   2073 set x $ac_cv_host
   2074 shift
   2075 host_cpu=$1
   2076 host_vendor=$2
   2077 shift; shift
   2078 # Remember, the first character of IFS is used to create $*,
   2079 # except with old shells:
   2080 host_os=$*
   2081 IFS=$ac_save_IFS
   2082 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2083 
   2084 
   2085 { echo "$as_me:$LINENO: checking target system type" >&5
   2086 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
   2087 if test "${ac_cv_target+set}" = set; then
   2088   echo $ECHO_N "(cached) $ECHO_C" >&6
   2089 else
   2090   if test "x$target_alias" = x; then
   2091   ac_cv_target=$ac_cv_host
   2092 else
   2093   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2094     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
   2095 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
   2096    { (exit 1); exit 1; }; }
   2097 fi
   2098 
   2099 fi
   2100 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   2101 echo "${ECHO_T}$ac_cv_target" >&6; }
   2102 case $ac_cv_target in
   2103 *-*-*) ;;
   2104 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
   2105 echo "$as_me: error: invalid value of canonical target" >&2;}
   2106    { (exit 1); exit 1; }; };;
   2107 esac
   2108 target=$ac_cv_target
   2109 ac_save_IFS=$IFS; IFS='-'
   2110 set x $ac_cv_target
   2111 shift
   2112 target_cpu=$1
   2113 target_vendor=$2
   2114 shift; shift
   2115 # Remember, the first character of IFS is used to create $*,
   2116 # except with old shells:
   2117 target_os=$*
   2118 IFS=$ac_save_IFS
   2119 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2120 
   2121 
   2122 # The aliases save the names the user supplied, while $host etc.
   2123 # will get canonicalized.
   2124 test -n "$target_alias" &&
   2125   test "$program_prefix$program_suffix$program_transform_name" = \
   2126     NONENONEs,x,x, &&
   2127   program_prefix=${target_alias}-
   2128 
   2129 am__api_version='1.10'
   2130 
   2131 # Find a good install program.  We prefer a C program (faster),
   2132 # so one script is as good as another.  But avoid the broken or
   2133 # incompatible versions:
   2134 # SysV /etc/install, /usr/sbin/install
   2135 # SunOS /usr/etc/install
   2136 # IRIX /sbin/install
   2137 # AIX /bin/install
   2138 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2142 # OS/2's system install, which has a completely different semantic
   2143 # ./install, which can be erroneously created by make from ./install.sh.
   2144 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2145 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2146 if test -z "$INSTALL"; then
   2147 if test "${ac_cv_path_install+set}" = set; then
   2148   echo $ECHO_N "(cached) $ECHO_C" >&6
   2149 else
   2150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2151 for as_dir in $PATH
   2152 do
   2153   IFS=$as_save_IFS
   2154   test -z "$as_dir" && as_dir=.
   2155   # Account for people who put trailing slashes in PATH elements.
   2156 case $as_dir/ in
   2157   ./ | .// | /cC/* | \
   2158   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2159   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2160   /usr/ucb/* ) ;;
   2161   *)
   2162     # OSF1 and SCO ODT 3.0 have their own names for install.
   2163     # Don't use installbsd from OSF since it installs stuff as root
   2164     # by default.
   2165     for ac_prog in ginstall scoinst install; do
   2166       for ac_exec_ext in '' $ac_executable_extensions; do
   2167 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2168 	  if test $ac_prog = install &&
   2169 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2170 	    # AIX install.  It has an incompatible calling convention.
   2171 	    :
   2172 	  elif test $ac_prog = install &&
   2173 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2174 	    # program-specific install script used by HP pwplus--don't use.
   2175 	    :
   2176 	  else
   2177 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2178 	    break 3
   2179 	  fi
   2180 	fi
   2181       done
   2182     done
   2183     ;;
   2184 esac
   2185 done
   2186 IFS=$as_save_IFS
   2187 
   2188 
   2189 fi
   2190   if test "${ac_cv_path_install+set}" = set; then
   2191     INSTALL=$ac_cv_path_install
   2192   else
   2193     # As a last resort, use the slow shell script.  Don't cache a
   2194     # value for INSTALL within a source directory, because that will
   2195     # break other packages using the cache if that directory is
   2196     # removed, or if the value is a relative name.
   2197     INSTALL=$ac_install_sh
   2198   fi
   2199 fi
   2200 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2201 echo "${ECHO_T}$INSTALL" >&6; }
   2202 
   2203 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2204 # It thinks the first close brace ends the variable substitution.
   2205 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2206 
   2207 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2208 
   2209 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2210 
   2211 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2212 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2213 # Just in case
   2214 sleep 1
   2215 echo timestamp > conftest.file
   2216 # Do `set' in a subshell so we don't clobber the current shell's
   2217 # arguments.  Must try -L first in case configure is actually a
   2218 # symlink; some systems play weird games with the mod time of symlinks
   2219 # (eg FreeBSD returns the mod time of the symlink's containing
   2220 # directory).
   2221 if (
   2222    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2223    if test "$*" = "X"; then
   2224       # -L didn't work.
   2225       set X `ls -t $srcdir/configure conftest.file`
   2226    fi
   2227    rm -f conftest.file
   2228    if test "$*" != "X $srcdir/configure conftest.file" \
   2229       && test "$*" != "X conftest.file $srcdir/configure"; then
   2230 
   2231       # If neither matched, then we have a broken ls.  This can happen
   2232       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2233       # broken ls alias from the environment.  This has actually
   2234       # happened.  Such a system could not be considered "sane".
   2235       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2236 alias in your environment" >&5
   2237 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2238 alias in your environment" >&2;}
   2239    { (exit 1); exit 1; }; }
   2240    fi
   2241 
   2242    test "$2" = conftest.file
   2243    )
   2244 then
   2245    # Ok.
   2246    :
   2247 else
   2248    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2249 Check your system clock" >&5
   2250 echo "$as_me: error: newly created file is older than distributed files!
   2251 Check your system clock" >&2;}
   2252    { (exit 1); exit 1; }; }
   2253 fi
   2254 { echo "$as_me:$LINENO: result: yes" >&5
   2255 echo "${ECHO_T}yes" >&6; }
   2256 test "$program_prefix" != NONE &&
   2257   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2258 # Use a double $ so make ignores it.
   2259 test "$program_suffix" != NONE &&
   2260   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2261 # Double any \ or $.  echo might interpret backslashes.
   2262 # By default was `s,x,x', remove it if useless.
   2263 cat <<\_ACEOF >conftest.sed
   2264 s/[\\$]/&&/g;s/;s,x,x,$//
   2265 _ACEOF
   2266 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2267 rm -f conftest.sed
   2268 
   2269 # expand $ac_aux_dir to an absolute path
   2270 am_aux_dir=`cd $ac_aux_dir && pwd`
   2271 
   2272 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2273 # Use eval to expand $SHELL
   2274 if eval "$MISSING --run true"; then
   2275   am_missing_run="$MISSING --run "
   2276 else
   2277   am_missing_run=
   2278   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2279 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2280 fi
   2281 
   2282 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2283 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2284 if test -z "$MKDIR_P"; then
   2285   if test "${ac_cv_path_mkdir+set}" = set; then
   2286   echo $ECHO_N "(cached) $ECHO_C" >&6
   2287 else
   2288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2289 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2290 do
   2291   IFS=$as_save_IFS
   2292   test -z "$as_dir" && as_dir=.
   2293   for ac_prog in mkdir gmkdir; do
   2294 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2295 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2296 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2297 	     'mkdir (GNU coreutils) '* | \
   2298 	     'mkdir (coreutils) '* | \
   2299 	     'mkdir (fileutils) '4.1*)
   2300 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2301 	       break 3;;
   2302 	   esac
   2303 	 done
   2304        done
   2305 done
   2306 IFS=$as_save_IFS
   2307 
   2308 fi
   2309 
   2310   if test "${ac_cv_path_mkdir+set}" = set; then
   2311     MKDIR_P="$ac_cv_path_mkdir -p"
   2312   else
   2313     # As a last resort, use the slow shell script.  Don't cache a
   2314     # value for MKDIR_P within a source directory, because that will
   2315     # break other packages using the cache if that directory is
   2316     # removed, or if the value is a relative name.
   2317     test -d ./--version && rmdir ./--version
   2318     MKDIR_P="$ac_install_sh -d"
   2319   fi
   2320 fi
   2321 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2322 echo "${ECHO_T}$MKDIR_P" >&6; }
   2323 
   2324 mkdir_p="$MKDIR_P"
   2325 case $mkdir_p in
   2326   [\\/$]* | ?:[\\/]*) ;;
   2327   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2328 esac
   2329 
   2330 for ac_prog in gawk mawk nawk awk
   2331 do
   2332   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2333 set dummy $ac_prog; ac_word=$2
   2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2336 if test "${ac_cv_prog_AWK+set}" = set; then
   2337   echo $ECHO_N "(cached) $ECHO_C" >&6
   2338 else
   2339   if test -n "$AWK"; then
   2340   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2341 else
   2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2343 for as_dir in $PATH
   2344 do
   2345   IFS=$as_save_IFS
   2346   test -z "$as_dir" && as_dir=.
   2347   for ac_exec_ext in '' $ac_executable_extensions; do
   2348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2349     ac_cv_prog_AWK="$ac_prog"
   2350     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2351     break 2
   2352   fi
   2353 done
   2354 done
   2355 IFS=$as_save_IFS
   2356 
   2357 fi
   2358 fi
   2359 AWK=$ac_cv_prog_AWK
   2360 if test -n "$AWK"; then
   2361   { echo "$as_me:$LINENO: result: $AWK" >&5
   2362 echo "${ECHO_T}$AWK" >&6; }
   2363 else
   2364   { echo "$as_me:$LINENO: result: no" >&5
   2365 echo "${ECHO_T}no" >&6; }
   2366 fi
   2367 
   2368 
   2369   test -n "$AWK" && break
   2370 done
   2371 
   2372 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2373 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2374 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2375 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2376   echo $ECHO_N "(cached) $ECHO_C" >&6
   2377 else
   2378   cat >conftest.make <<\_ACEOF
   2379 SHELL = /bin/sh
   2380 all:
   2381 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2382 _ACEOF
   2383 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2384 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2385   *@@@%%%=?*=@@@%%%*)
   2386     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2387   *)
   2388     eval ac_cv_prog_make_${ac_make}_set=no;;
   2389 esac
   2390 rm -f conftest.make
   2391 fi
   2392 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2393   { echo "$as_me:$LINENO: result: yes" >&5
   2394 echo "${ECHO_T}yes" >&6; }
   2395   SET_MAKE=
   2396 else
   2397   { echo "$as_me:$LINENO: result: no" >&5
   2398 echo "${ECHO_T}no" >&6; }
   2399   SET_MAKE="MAKE=${MAKE-make}"
   2400 fi
   2401 
   2402 rm -rf .tst 2>/dev/null
   2403 mkdir .tst 2>/dev/null
   2404 if test -d .tst; then
   2405   am__leading_dot=.
   2406 else
   2407   am__leading_dot=_
   2408 fi
   2409 rmdir .tst 2>/dev/null
   2410 
   2411 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2412   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2413   # is not polluted with repeated "-I."
   2414   am__isrc=' -I$(srcdir)'
   2415   # test to see if srcdir already configured
   2416   if test -f $srcdir/config.status; then
   2417     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2418 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2419    { (exit 1); exit 1; }; }
   2420   fi
   2421 fi
   2422 
   2423 # test whether we have cygpath
   2424 if test -z "$CYGPATH_W"; then
   2425   if (cygpath --version) >/dev/null 2>/dev/null; then
   2426     CYGPATH_W='cygpath -w'
   2427   else
   2428     CYGPATH_W=echo
   2429   fi
   2430 fi
   2431 
   2432 
   2433 # Define the identity of the package.
   2434  PACKAGE='protobuf'
   2435  VERSION='2.3.0'
   2436 
   2437 
   2438 cat >>confdefs.h <<_ACEOF
   2439 #define PACKAGE "$PACKAGE"
   2440 _ACEOF
   2441 
   2442 
   2443 cat >>confdefs.h <<_ACEOF
   2444 #define VERSION "$VERSION"
   2445 _ACEOF
   2446 
   2447 # Some tools Automake needs.
   2448 
   2449 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2450 
   2451 
   2452 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2453 
   2454 
   2455 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2456 
   2457 
   2458 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2459 
   2460 
   2461 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2462 
   2463 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2464 
   2465 # Installed binaries are usually stripped using `strip' when the user
   2466 # run `make install-strip'.  However `strip' might not be the right
   2467 # tool to use in cross-compilation environments, therefore Automake
   2468 # will honor the `STRIP' environment variable to overrule this program.
   2469 if test "$cross_compiling" != no; then
   2470   if test -n "$ac_tool_prefix"; then
   2471   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2472 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2475 if test "${ac_cv_prog_STRIP+set}" = set; then
   2476   echo $ECHO_N "(cached) $ECHO_C" >&6
   2477 else
   2478   if test -n "$STRIP"; then
   2479   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2480 else
   2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2482 for as_dir in $PATH
   2483 do
   2484   IFS=$as_save_IFS
   2485   test -z "$as_dir" && as_dir=.
   2486   for ac_exec_ext in '' $ac_executable_extensions; do
   2487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2488     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2490     break 2
   2491   fi
   2492 done
   2493 done
   2494 IFS=$as_save_IFS
   2495 
   2496 fi
   2497 fi
   2498 STRIP=$ac_cv_prog_STRIP
   2499 if test -n "$STRIP"; then
   2500   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2501 echo "${ECHO_T}$STRIP" >&6; }
   2502 else
   2503   { echo "$as_me:$LINENO: result: no" >&5
   2504 echo "${ECHO_T}no" >&6; }
   2505 fi
   2506 
   2507 
   2508 fi
   2509 if test -z "$ac_cv_prog_STRIP"; then
   2510   ac_ct_STRIP=$STRIP
   2511   # Extract the first word of "strip", so it can be a program name with args.
   2512 set dummy strip; ac_word=$2
   2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2515 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2516   echo $ECHO_N "(cached) $ECHO_C" >&6
   2517 else
   2518   if test -n "$ac_ct_STRIP"; then
   2519   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2520 else
   2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2522 for as_dir in $PATH
   2523 do
   2524   IFS=$as_save_IFS
   2525   test -z "$as_dir" && as_dir=.
   2526   for ac_exec_ext in '' $ac_executable_extensions; do
   2527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2528     ac_cv_prog_ac_ct_STRIP="strip"
   2529     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2530     break 2
   2531   fi
   2532 done
   2533 done
   2534 IFS=$as_save_IFS
   2535 
   2536 fi
   2537 fi
   2538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2539 if test -n "$ac_ct_STRIP"; then
   2540   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2541 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2542 else
   2543   { echo "$as_me:$LINENO: result: no" >&5
   2544 echo "${ECHO_T}no" >&6; }
   2545 fi
   2546 
   2547   if test "x$ac_ct_STRIP" = x; then
   2548     STRIP=":"
   2549   else
   2550     case $cross_compiling:$ac_tool_warned in
   2551 yes:)
   2552 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2553 whose name does not start with the host triplet.  If you think this
   2554 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2555 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2556 whose name does not start with the host triplet.  If you think this
   2557 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2558 ac_tool_warned=yes ;;
   2559 esac
   2560     STRIP=$ac_ct_STRIP
   2561   fi
   2562 else
   2563   STRIP="$ac_cv_prog_STRIP"
   2564 fi
   2565 
   2566 fi
   2567 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2568 
   2569 # We need awk for the "check" target.  The system "awk" is bad on
   2570 # some platforms.
   2571 # Always define AMTAR for backward compatibility.
   2572 
   2573 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2574 
   2575 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2576 
   2577 
   2578 
   2579 
   2580 
   2581 
   2582 
   2583 # Check whether --with-zlib was given.
   2584 if test "${with_zlib+set}" = set; then
   2585   withval=$with_zlib;
   2586 else
   2587   with_zlib=check
   2588 fi
   2589 
   2590 
   2591 
   2592 # Check whether --with-protoc was given.
   2593 if test "${with_protoc+set}" = set; then
   2594   withval=$with_protoc;
   2595 else
   2596   with_protoc=no
   2597 fi
   2598 
   2599 
   2600 # Checks for programs.
   2601 ac_ext=c
   2602 ac_cpp='$CPP $CPPFLAGS'
   2603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2606 if test -n "$ac_tool_prefix"; then
   2607   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2611 if test "${ac_cv_prog_CC+set}" = set; then
   2612   echo $ECHO_N "(cached) $ECHO_C" >&6
   2613 else
   2614   if test -n "$CC"; then
   2615   ac_cv_prog_CC="$CC" # Let the user override the test.
   2616 else
   2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2618 for as_dir in $PATH
   2619 do
   2620   IFS=$as_save_IFS
   2621   test -z "$as_dir" && as_dir=.
   2622   for ac_exec_ext in '' $ac_executable_extensions; do
   2623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2624     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2626     break 2
   2627   fi
   2628 done
   2629 done
   2630 IFS=$as_save_IFS
   2631 
   2632 fi
   2633 fi
   2634 CC=$ac_cv_prog_CC
   2635 if test -n "$CC"; then
   2636   { echo "$as_me:$LINENO: result: $CC" >&5
   2637 echo "${ECHO_T}$CC" >&6; }
   2638 else
   2639   { echo "$as_me:$LINENO: result: no" >&5
   2640 echo "${ECHO_T}no" >&6; }
   2641 fi
   2642 
   2643 
   2644 fi
   2645 if test -z "$ac_cv_prog_CC"; then
   2646   ac_ct_CC=$CC
   2647   # Extract the first word of "gcc", so it can be a program name with args.
   2648 set dummy gcc; ac_word=$2
   2649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2652   echo $ECHO_N "(cached) $ECHO_C" >&6
   2653 else
   2654   if test -n "$ac_ct_CC"; then
   2655   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2656 else
   2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2658 for as_dir in $PATH
   2659 do
   2660   IFS=$as_save_IFS
   2661   test -z "$as_dir" && as_dir=.
   2662   for ac_exec_ext in '' $ac_executable_extensions; do
   2663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2664     ac_cv_prog_ac_ct_CC="gcc"
   2665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2666     break 2
   2667   fi
   2668 done
   2669 done
   2670 IFS=$as_save_IFS
   2671 
   2672 fi
   2673 fi
   2674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2675 if test -n "$ac_ct_CC"; then
   2676   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2677 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2678 else
   2679   { echo "$as_me:$LINENO: result: no" >&5
   2680 echo "${ECHO_T}no" >&6; }
   2681 fi
   2682 
   2683   if test "x$ac_ct_CC" = x; then
   2684     CC=""
   2685   else
   2686     case $cross_compiling:$ac_tool_warned in
   2687 yes:)
   2688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2689 whose name does not start with the host triplet.  If you think this
   2690 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2692 whose name does not start with the host triplet.  If you think this
   2693 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2694 ac_tool_warned=yes ;;
   2695 esac
   2696     CC=$ac_ct_CC
   2697   fi
   2698 else
   2699   CC="$ac_cv_prog_CC"
   2700 fi
   2701 
   2702 if test -z "$CC"; then
   2703           if test -n "$ac_tool_prefix"; then
   2704     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2705 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2708 if test "${ac_cv_prog_CC+set}" = set; then
   2709   echo $ECHO_N "(cached) $ECHO_C" >&6
   2710 else
   2711   if test -n "$CC"; then
   2712   ac_cv_prog_CC="$CC" # Let the user override the test.
   2713 else
   2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2715 for as_dir in $PATH
   2716 do
   2717   IFS=$as_save_IFS
   2718   test -z "$as_dir" && as_dir=.
   2719   for ac_exec_ext in '' $ac_executable_extensions; do
   2720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2721     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2723     break 2
   2724   fi
   2725 done
   2726 done
   2727 IFS=$as_save_IFS
   2728 
   2729 fi
   2730 fi
   2731 CC=$ac_cv_prog_CC
   2732 if test -n "$CC"; then
   2733   { echo "$as_me:$LINENO: result: $CC" >&5
   2734 echo "${ECHO_T}$CC" >&6; }
   2735 else
   2736   { echo "$as_me:$LINENO: result: no" >&5
   2737 echo "${ECHO_T}no" >&6; }
   2738 fi
   2739 
   2740 
   2741   fi
   2742 fi
   2743 if test -z "$CC"; then
   2744   # Extract the first word of "cc", so it can be a program name with args.
   2745 set dummy cc; ac_word=$2
   2746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2748 if test "${ac_cv_prog_CC+set}" = set; then
   2749   echo $ECHO_N "(cached) $ECHO_C" >&6
   2750 else
   2751   if test -n "$CC"; then
   2752   ac_cv_prog_CC="$CC" # Let the user override the test.
   2753 else
   2754   ac_prog_rejected=no
   2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2756 for as_dir in $PATH
   2757 do
   2758   IFS=$as_save_IFS
   2759   test -z "$as_dir" && as_dir=.
   2760   for ac_exec_ext in '' $ac_executable_extensions; do
   2761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2762     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2763        ac_prog_rejected=yes
   2764        continue
   2765      fi
   2766     ac_cv_prog_CC="cc"
   2767     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771 done
   2772 IFS=$as_save_IFS
   2773 
   2774 if test $ac_prog_rejected = yes; then
   2775   # We found a bogon in the path, so make sure we never use it.
   2776   set dummy $ac_cv_prog_CC
   2777   shift
   2778   if test $# != 0; then
   2779     # We chose a different compiler from the bogus one.
   2780     # However, it has the same basename, so the bogon will be chosen
   2781     # first if we set CC to just the basename; use the full file name.
   2782     shift
   2783     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2784   fi
   2785 fi
   2786 fi
   2787 fi
   2788 CC=$ac_cv_prog_CC
   2789 if test -n "$CC"; then
   2790   { echo "$as_me:$LINENO: result: $CC" >&5
   2791 echo "${ECHO_T}$CC" >&6; }
   2792 else
   2793   { echo "$as_me:$LINENO: result: no" >&5
   2794 echo "${ECHO_T}no" >&6; }
   2795 fi
   2796 
   2797 
   2798 fi
   2799 if test -z "$CC"; then
   2800   if test -n "$ac_tool_prefix"; then
   2801   for ac_prog in cl.exe
   2802   do
   2803     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2807 if test "${ac_cv_prog_CC+set}" = set; then
   2808   echo $ECHO_N "(cached) $ECHO_C" >&6
   2809 else
   2810   if test -n "$CC"; then
   2811   ac_cv_prog_CC="$CC" # Let the user override the test.
   2812 else
   2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2814 for as_dir in $PATH
   2815 do
   2816   IFS=$as_save_IFS
   2817   test -z "$as_dir" && as_dir=.
   2818   for ac_exec_ext in '' $ac_executable_extensions; do
   2819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2820     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2821     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2822     break 2
   2823   fi
   2824 done
   2825 done
   2826 IFS=$as_save_IFS
   2827 
   2828 fi
   2829 fi
   2830 CC=$ac_cv_prog_CC
   2831 if test -n "$CC"; then
   2832   { echo "$as_me:$LINENO: result: $CC" >&5
   2833 echo "${ECHO_T}$CC" >&6; }
   2834 else
   2835   { echo "$as_me:$LINENO: result: no" >&5
   2836 echo "${ECHO_T}no" >&6; }
   2837 fi
   2838 
   2839 
   2840     test -n "$CC" && break
   2841   done
   2842 fi
   2843 if test -z "$CC"; then
   2844   ac_ct_CC=$CC
   2845   for ac_prog in cl.exe
   2846 do
   2847   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2848 set dummy $ac_prog; ac_word=$2
   2849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2852   echo $ECHO_N "(cached) $ECHO_C" >&6
   2853 else
   2854   if test -n "$ac_ct_CC"; then
   2855   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2856 else
   2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2858 for as_dir in $PATH
   2859 do
   2860   IFS=$as_save_IFS
   2861   test -z "$as_dir" && as_dir=.
   2862   for ac_exec_ext in '' $ac_executable_extensions; do
   2863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2864     ac_cv_prog_ac_ct_CC="$ac_prog"
   2865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2866     break 2
   2867   fi
   2868 done
   2869 done
   2870 IFS=$as_save_IFS
   2871 
   2872 fi
   2873 fi
   2874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2875 if test -n "$ac_ct_CC"; then
   2876   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2877 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2878 else
   2879   { echo "$as_me:$LINENO: result: no" >&5
   2880 echo "${ECHO_T}no" >&6; }
   2881 fi
   2882 
   2883 
   2884   test -n "$ac_ct_CC" && break
   2885 done
   2886 
   2887   if test "x$ac_ct_CC" = x; then
   2888     CC=""
   2889   else
   2890     case $cross_compiling:$ac_tool_warned in
   2891 yes:)
   2892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2893 whose name does not start with the host triplet.  If you think this
   2894 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2896 whose name does not start with the host triplet.  If you think this
   2897 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2898 ac_tool_warned=yes ;;
   2899 esac
   2900     CC=$ac_ct_CC
   2901   fi
   2902 fi
   2903 
   2904 fi
   2905 
   2906 
   2907 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2908 See \`config.log' for more details." >&5
   2909 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2910 See \`config.log' for more details." >&2;}
   2911    { (exit 1); exit 1; }; }
   2912 
   2913 # Provide some information about the compiler.
   2914 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2915 ac_compiler=`set X $ac_compile; echo $2`
   2916 { (ac_try="$ac_compiler --version >&5"
   2917 case "(($ac_try" in
   2918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2919   *) ac_try_echo=$ac_try;;
   2920 esac
   2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2922   (eval "$ac_compiler --version >&5") 2>&5
   2923   ac_status=$?
   2924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2925   (exit $ac_status); }
   2926 { (ac_try="$ac_compiler -v >&5"
   2927 case "(($ac_try" in
   2928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2929   *) ac_try_echo=$ac_try;;
   2930 esac
   2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2932   (eval "$ac_compiler -v >&5") 2>&5
   2933   ac_status=$?
   2934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2935   (exit $ac_status); }
   2936 { (ac_try="$ac_compiler -V >&5"
   2937 case "(($ac_try" in
   2938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2939   *) ac_try_echo=$ac_try;;
   2940 esac
   2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2942   (eval "$ac_compiler -V >&5") 2>&5
   2943   ac_status=$?
   2944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2945   (exit $ac_status); }
   2946 
   2947 cat >conftest.$ac_ext <<_ACEOF
   2948 /* confdefs.h.  */
   2949 _ACEOF
   2950 cat confdefs.h >>conftest.$ac_ext
   2951 cat >>conftest.$ac_ext <<_ACEOF
   2952 /* end confdefs.h.  */
   2953 
   2954 int
   2955 main ()
   2956 {
   2957 
   2958   ;
   2959   return 0;
   2960 }
   2961 _ACEOF
   2962 ac_clean_files_save=$ac_clean_files
   2963 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2964 # Try to create an executable without -o first, disregard a.out.
   2965 # It will help us diagnose broken compilers, and finding out an intuition
   2966 # of exeext.
   2967 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2968 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2969 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2970 #
   2971 # List of possible output files, starting from the most likely.
   2972 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2973 # only as a last resort.  b.out is created by i960 compilers.
   2974 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2975 #
   2976 # The IRIX 6 linker writes into existing files which may not be
   2977 # executable, retaining their permissions.  Remove them first so a
   2978 # subsequent execution test works.
   2979 ac_rmfiles=
   2980 for ac_file in $ac_files
   2981 do
   2982   case $ac_file in
   2983     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2984     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2985   esac
   2986 done
   2987 rm -f $ac_rmfiles
   2988 
   2989 if { (ac_try="$ac_link_default"
   2990 case "(($ac_try" in
   2991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2992   *) ac_try_echo=$ac_try;;
   2993 esac
   2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2995   (eval "$ac_link_default") 2>&5
   2996   ac_status=$?
   2997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2998   (exit $ac_status); }; then
   2999   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3001 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3002 # so that the user can short-circuit this test for compilers unknown to
   3003 # Autoconf.
   3004 for ac_file in $ac_files ''
   3005 do
   3006   test -f "$ac_file" || continue
   3007   case $ac_file in
   3008     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3009 	;;
   3010     [ab].out )
   3011 	# We found the default executable, but exeext='' is most
   3012 	# certainly right.
   3013 	break;;
   3014     *.* )
   3015         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3016 	then :; else
   3017 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3018 	fi
   3019 	# We set ac_cv_exeext here because the later test for it is not
   3020 	# safe: cross compilers may not add the suffix if given an `-o'
   3021 	# argument, so we may need to know it at that point already.
   3022 	# Even if this section looks crufty: it has the advantage of
   3023 	# actually working.
   3024 	break;;
   3025     * )
   3026 	break;;
   3027   esac
   3028 done
   3029 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3030 
   3031 else
   3032   ac_file=''
   3033 fi
   3034 
   3035 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3036 echo "${ECHO_T}$ac_file" >&6; }
   3037 if test -z "$ac_file"; then
   3038   echo "$as_me: failed program was:" >&5
   3039 sed 's/^/| /' conftest.$ac_ext >&5
   3040 
   3041 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3042 See \`config.log' for more details." >&5
   3043 echo "$as_me: error: C compiler cannot create executables
   3044 See \`config.log' for more details." >&2;}
   3045    { (exit 77); exit 77; }; }
   3046 fi
   3047 
   3048 ac_exeext=$ac_cv_exeext
   3049 
   3050 # Check that the compiler produces executables we can run.  If not, either
   3051 # the compiler is broken, or we cross compile.
   3052 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3053 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3054 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3055 # If not cross compiling, check that we can run a simple program.
   3056 if test "$cross_compiling" != yes; then
   3057   if { ac_try='./$ac_file'
   3058   { (case "(($ac_try" in
   3059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3060   *) ac_try_echo=$ac_try;;
   3061 esac
   3062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3063   (eval "$ac_try") 2>&5
   3064   ac_status=$?
   3065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3066   (exit $ac_status); }; }; then
   3067     cross_compiling=no
   3068   else
   3069     if test "$cross_compiling" = maybe; then
   3070 	cross_compiling=yes
   3071     else
   3072 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3073 If you meant to cross compile, use \`--host'.
   3074 See \`config.log' for more details." >&5
   3075 echo "$as_me: error: cannot run C compiled programs.
   3076 If you meant to cross compile, use \`--host'.
   3077 See \`config.log' for more details." >&2;}
   3078    { (exit 1); exit 1; }; }
   3079     fi
   3080   fi
   3081 fi
   3082 { echo "$as_me:$LINENO: result: yes" >&5
   3083 echo "${ECHO_T}yes" >&6; }
   3084 
   3085 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3086 ac_clean_files=$ac_clean_files_save
   3087 # Check that the compiler produces executables we can run.  If not, either
   3088 # the compiler is broken, or we cross compile.
   3089 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3090 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3091 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3092 echo "${ECHO_T}$cross_compiling" >&6; }
   3093 
   3094 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3095 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3096 if { (ac_try="$ac_link"
   3097 case "(($ac_try" in
   3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3099   *) ac_try_echo=$ac_try;;
   3100 esac
   3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3102   (eval "$ac_link") 2>&5
   3103   ac_status=$?
   3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3105   (exit $ac_status); }; then
   3106   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3107 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3108 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3109 # `rm'.
   3110 for ac_file in conftest.exe conftest conftest.*; do
   3111   test -f "$ac_file" || continue
   3112   case $ac_file in
   3113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3114     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3115 	  break;;
   3116     * ) break;;
   3117   esac
   3118 done
   3119 else
   3120   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3121 See \`config.log' for more details." >&5
   3122 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3123 See \`config.log' for more details." >&2;}
   3124    { (exit 1); exit 1; }; }
   3125 fi
   3126 
   3127 rm -f conftest$ac_cv_exeext
   3128 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3129 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3130 
   3131 rm -f conftest.$ac_ext
   3132 EXEEXT=$ac_cv_exeext
   3133 ac_exeext=$EXEEXT
   3134 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3135 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3136 if test "${ac_cv_objext+set}" = set; then
   3137   echo $ECHO_N "(cached) $ECHO_C" >&6
   3138 else
   3139   cat >conftest.$ac_ext <<_ACEOF
   3140 /* confdefs.h.  */
   3141 _ACEOF
   3142 cat confdefs.h >>conftest.$ac_ext
   3143 cat >>conftest.$ac_ext <<_ACEOF
   3144 /* end confdefs.h.  */
   3145 
   3146 int
   3147 main ()
   3148 {
   3149 
   3150   ;
   3151   return 0;
   3152 }
   3153 _ACEOF
   3154 rm -f conftest.o conftest.obj
   3155 if { (ac_try="$ac_compile"
   3156 case "(($ac_try" in
   3157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3158   *) ac_try_echo=$ac_try;;
   3159 esac
   3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3161   (eval "$ac_compile") 2>&5
   3162   ac_status=$?
   3163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3164   (exit $ac_status); }; then
   3165   for ac_file in conftest.o conftest.obj conftest.*; do
   3166   test -f "$ac_file" || continue;
   3167   case $ac_file in
   3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3169     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3170        break;;
   3171   esac
   3172 done
   3173 else
   3174   echo "$as_me: failed program was:" >&5
   3175 sed 's/^/| /' conftest.$ac_ext >&5
   3176 
   3177 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3178 See \`config.log' for more details." >&5
   3179 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3180 See \`config.log' for more details." >&2;}
   3181    { (exit 1); exit 1; }; }
   3182 fi
   3183 
   3184 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3185 fi
   3186 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3187 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3188 OBJEXT=$ac_cv_objext
   3189 ac_objext=$OBJEXT
   3190 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3191 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3192 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3193   echo $ECHO_N "(cached) $ECHO_C" >&6
   3194 else
   3195   cat >conftest.$ac_ext <<_ACEOF
   3196 /* confdefs.h.  */
   3197 _ACEOF
   3198 cat confdefs.h >>conftest.$ac_ext
   3199 cat >>conftest.$ac_ext <<_ACEOF
   3200 /* end confdefs.h.  */
   3201 
   3202 int
   3203 main ()
   3204 {
   3205 #ifndef __GNUC__
   3206        choke me
   3207 #endif
   3208 
   3209   ;
   3210   return 0;
   3211 }
   3212 _ACEOF
   3213 rm -f conftest.$ac_objext
   3214 if { (ac_try="$ac_compile"
   3215 case "(($ac_try" in
   3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3217   *) ac_try_echo=$ac_try;;
   3218 esac
   3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3220   (eval "$ac_compile") 2>conftest.er1
   3221   ac_status=$?
   3222   grep -v '^ *+' conftest.er1 >conftest.err
   3223   rm -f conftest.er1
   3224   cat conftest.err >&5
   3225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3226   (exit $ac_status); } && {
   3227 	 test -z "$ac_c_werror_flag" ||
   3228 	 test ! -s conftest.err
   3229        } && test -s conftest.$ac_objext; then
   3230   ac_compiler_gnu=yes
   3231 else
   3232   echo "$as_me: failed program was:" >&5
   3233 sed 's/^/| /' conftest.$ac_ext >&5
   3234 
   3235 	ac_compiler_gnu=no
   3236 fi
   3237 
   3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3239 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3240 
   3241 fi
   3242 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3243 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3244 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3245 ac_test_CFLAGS=${CFLAGS+set}
   3246 ac_save_CFLAGS=$CFLAGS
   3247 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3248 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3249 if test "${ac_cv_prog_cc_g+set}" = set; then
   3250   echo $ECHO_N "(cached) $ECHO_C" >&6
   3251 else
   3252   ac_save_c_werror_flag=$ac_c_werror_flag
   3253    ac_c_werror_flag=yes
   3254    ac_cv_prog_cc_g=no
   3255    CFLAGS="-g"
   3256    cat >conftest.$ac_ext <<_ACEOF
   3257 /* confdefs.h.  */
   3258 _ACEOF
   3259 cat confdefs.h >>conftest.$ac_ext
   3260 cat >>conftest.$ac_ext <<_ACEOF
   3261 /* end confdefs.h.  */
   3262 
   3263 int
   3264 main ()
   3265 {
   3266 
   3267   ;
   3268   return 0;
   3269 }
   3270 _ACEOF
   3271 rm -f conftest.$ac_objext
   3272 if { (ac_try="$ac_compile"
   3273 case "(($ac_try" in
   3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3275   *) ac_try_echo=$ac_try;;
   3276 esac
   3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3278   (eval "$ac_compile") 2>conftest.er1
   3279   ac_status=$?
   3280   grep -v '^ *+' conftest.er1 >conftest.err
   3281   rm -f conftest.er1
   3282   cat conftest.err >&5
   3283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3284   (exit $ac_status); } && {
   3285 	 test -z "$ac_c_werror_flag" ||
   3286 	 test ! -s conftest.err
   3287        } && test -s conftest.$ac_objext; then
   3288   ac_cv_prog_cc_g=yes
   3289 else
   3290   echo "$as_me: failed program was:" >&5
   3291 sed 's/^/| /' conftest.$ac_ext >&5
   3292 
   3293 	CFLAGS=""
   3294       cat >conftest.$ac_ext <<_ACEOF
   3295 /* confdefs.h.  */
   3296 _ACEOF
   3297 cat confdefs.h >>conftest.$ac_ext
   3298 cat >>conftest.$ac_ext <<_ACEOF
   3299 /* end confdefs.h.  */
   3300 
   3301 int
   3302 main ()
   3303 {
   3304 
   3305   ;
   3306   return 0;
   3307 }
   3308 _ACEOF
   3309 rm -f conftest.$ac_objext
   3310 if { (ac_try="$ac_compile"
   3311 case "(($ac_try" in
   3312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3313   *) ac_try_echo=$ac_try;;
   3314 esac
   3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3316   (eval "$ac_compile") 2>conftest.er1
   3317   ac_status=$?
   3318   grep -v '^ *+' conftest.er1 >conftest.err
   3319   rm -f conftest.er1
   3320   cat conftest.err >&5
   3321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3322   (exit $ac_status); } && {
   3323 	 test -z "$ac_c_werror_flag" ||
   3324 	 test ! -s conftest.err
   3325        } && test -s conftest.$ac_objext; then
   3326   :
   3327 else
   3328   echo "$as_me: failed program was:" >&5
   3329 sed 's/^/| /' conftest.$ac_ext >&5
   3330 
   3331 	ac_c_werror_flag=$ac_save_c_werror_flag
   3332 	 CFLAGS="-g"
   3333 	 cat >conftest.$ac_ext <<_ACEOF
   3334 /* confdefs.h.  */
   3335 _ACEOF
   3336 cat confdefs.h >>conftest.$ac_ext
   3337 cat >>conftest.$ac_ext <<_ACEOF
   3338 /* end confdefs.h.  */
   3339 
   3340 int
   3341 main ()
   3342 {
   3343 
   3344   ;
   3345   return 0;
   3346 }
   3347 _ACEOF
   3348 rm -f conftest.$ac_objext
   3349 if { (ac_try="$ac_compile"
   3350 case "(($ac_try" in
   3351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3352   *) ac_try_echo=$ac_try;;
   3353 esac
   3354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3355   (eval "$ac_compile") 2>conftest.er1
   3356   ac_status=$?
   3357   grep -v '^ *+' conftest.er1 >conftest.err
   3358   rm -f conftest.er1
   3359   cat conftest.err >&5
   3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3361   (exit $ac_status); } && {
   3362 	 test -z "$ac_c_werror_flag" ||
   3363 	 test ! -s conftest.err
   3364        } && test -s conftest.$ac_objext; then
   3365   ac_cv_prog_cc_g=yes
   3366 else
   3367   echo "$as_me: failed program was:" >&5
   3368 sed 's/^/| /' conftest.$ac_ext >&5
   3369 
   3370 
   3371 fi
   3372 
   3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3374 fi
   3375 
   3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3377 fi
   3378 
   3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3380    ac_c_werror_flag=$ac_save_c_werror_flag
   3381 fi
   3382 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3384 if test "$ac_test_CFLAGS" = set; then
   3385   CFLAGS=$ac_save_CFLAGS
   3386 elif test $ac_cv_prog_cc_g = yes; then
   3387   if test "$GCC" = yes; then
   3388     CFLAGS="-g -O2"
   3389   else
   3390     CFLAGS="-g"
   3391   fi
   3392 else
   3393   if test "$GCC" = yes; then
   3394     CFLAGS="-O2"
   3395   else
   3396     CFLAGS=
   3397   fi
   3398 fi
   3399 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3400 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3401 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3402   echo $ECHO_N "(cached) $ECHO_C" >&6
   3403 else
   3404   ac_cv_prog_cc_c89=no
   3405 ac_save_CC=$CC
   3406 cat >conftest.$ac_ext <<_ACEOF
   3407 /* confdefs.h.  */
   3408 _ACEOF
   3409 cat confdefs.h >>conftest.$ac_ext
   3410 cat >>conftest.$ac_ext <<_ACEOF
   3411 /* end confdefs.h.  */
   3412 #include <stdarg.h>
   3413 #include <stdio.h>
   3414 #include <sys/types.h>
   3415 #include <sys/stat.h>
   3416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3417 struct buf { int x; };
   3418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3419 static char *e (p, i)
   3420      char **p;
   3421      int i;
   3422 {
   3423   return p[i];
   3424 }
   3425 static char *f (char * (*g) (char **, int), char **p, ...)
   3426 {
   3427   char *s;
   3428   va_list v;
   3429   va_start (v,p);
   3430   s = g (p, va_arg (v,int));
   3431   va_end (v);
   3432   return s;
   3433 }
   3434 
   3435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3436    function prototypes and stuff, but not '\xHH' hex character constants.
   3437    These don't provoke an error unfortunately, instead are silently treated
   3438    as 'x'.  The following induces an error, until -std is added to get
   3439    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3440    array size at least.  It's necessary to write '\x00'==0 to get something
   3441    that's true only with -std.  */
   3442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3443 
   3444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3445    inside strings and character constants.  */
   3446 #define FOO(x) 'x'
   3447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3448 
   3449 int test (int i, double x);
   3450 struct s1 {int (*f) (int a);};
   3451 struct s2 {int (*f) (double a);};
   3452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3453 int argc;
   3454 char **argv;
   3455 int
   3456 main ()
   3457 {
   3458 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3459   ;
   3460   return 0;
   3461 }
   3462 _ACEOF
   3463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3464 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3465 do
   3466   CC="$ac_save_CC $ac_arg"
   3467   rm -f conftest.$ac_objext
   3468 if { (ac_try="$ac_compile"
   3469 case "(($ac_try" in
   3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3471   *) ac_try_echo=$ac_try;;
   3472 esac
   3473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3474   (eval "$ac_compile") 2>conftest.er1
   3475   ac_status=$?
   3476   grep -v '^ *+' conftest.er1 >conftest.err
   3477   rm -f conftest.er1
   3478   cat conftest.err >&5
   3479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3480   (exit $ac_status); } && {
   3481 	 test -z "$ac_c_werror_flag" ||
   3482 	 test ! -s conftest.err
   3483        } && test -s conftest.$ac_objext; then
   3484   ac_cv_prog_cc_c89=$ac_arg
   3485 else
   3486   echo "$as_me: failed program was:" >&5
   3487 sed 's/^/| /' conftest.$ac_ext >&5
   3488 
   3489 
   3490 fi
   3491 
   3492 rm -f core conftest.err conftest.$ac_objext
   3493   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3494 done
   3495 rm -f conftest.$ac_ext
   3496 CC=$ac_save_CC
   3497 
   3498 fi
   3499 # AC_CACHE_VAL
   3500 case "x$ac_cv_prog_cc_c89" in
   3501   x)
   3502     { echo "$as_me:$LINENO: result: none needed" >&5
   3503 echo "${ECHO_T}none needed" >&6; } ;;
   3504   xno)
   3505     { echo "$as_me:$LINENO: result: unsupported" >&5
   3506 echo "${ECHO_T}unsupported" >&6; } ;;
   3507   *)
   3508     CC="$CC $ac_cv_prog_cc_c89"
   3509     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3510 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3511 esac
   3512 
   3513 
   3514 ac_ext=c
   3515 ac_cpp='$CPP $CPPFLAGS'
   3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3519 DEPDIR="${am__leading_dot}deps"
   3520 
   3521 ac_config_commands="$ac_config_commands depfiles"
   3522 
   3523 
   3524 am_make=${MAKE-make}
   3525 cat > confinc << 'END'
   3526 am__doit:
   3527 	@echo done
   3528 .PHONY: am__doit
   3529 END
   3530 # If we don't find an include directive, just comment out the code.
   3531 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3532 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3533 am__include="#"
   3534 am__quote=
   3535 _am_result=none
   3536 # First try GNU make style include.
   3537 echo "include confinc" > confmf
   3538 # We grep out `Entering directory' and `Leaving directory'
   3539 # messages which can occur if `w' ends up in MAKEFLAGS.
   3540 # In particular we don't look at `^make:' because GNU make might
   3541 # be invoked under some other name (usually "gmake"), in which
   3542 # case it prints its new name instead of `make'.
   3543 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3544    am__include=include
   3545    am__quote=
   3546    _am_result=GNU
   3547 fi
   3548 # Now try BSD make style include.
   3549 if test "$am__include" = "#"; then
   3550    echo '.include "confinc"' > confmf
   3551    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3552       am__include=.include
   3553       am__quote="\""
   3554       _am_result=BSD
   3555    fi
   3556 fi
   3557 
   3558 
   3559 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3560 echo "${ECHO_T}$_am_result" >&6; }
   3561 rm -f confinc confmf
   3562 
   3563 # Check whether --enable-dependency-tracking was given.
   3564 if test "${enable_dependency_tracking+set}" = set; then
   3565   enableval=$enable_dependency_tracking;
   3566 fi
   3567 
   3568 if test "x$enable_dependency_tracking" != xno; then
   3569   am_depcomp="$ac_aux_dir/depcomp"
   3570   AMDEPBACKSLASH='\'
   3571 fi
   3572  if test "x$enable_dependency_tracking" != xno; then
   3573   AMDEP_TRUE=
   3574   AMDEP_FALSE='#'
   3575 else
   3576   AMDEP_TRUE='#'
   3577   AMDEP_FALSE=
   3578 fi
   3579 
   3580 
   3581 
   3582 depcc="$CC"   am_compiler_list=
   3583 
   3584 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3585 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3586 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3587   echo $ECHO_N "(cached) $ECHO_C" >&6
   3588 else
   3589   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3590   # We make a subdir and do the tests there.  Otherwise we can end up
   3591   # making bogus files that we don't know about and never remove.  For
   3592   # instance it was reported that on HP-UX the gcc test will end up
   3593   # making a dummy file named `D' -- because `-MD' means `put the output
   3594   # in D'.
   3595   mkdir conftest.dir
   3596   # Copy depcomp to subdir because otherwise we won't find it if we're
   3597   # using a relative directory.
   3598   cp "$am_depcomp" conftest.dir
   3599   cd conftest.dir
   3600   # We will build objects and dependencies in a subdirectory because
   3601   # it helps to detect inapplicable dependency modes.  For instance
   3602   # both Tru64's cc and ICC support -MD to output dependencies as a
   3603   # side effect of compilation, but ICC will put the dependencies in
   3604   # the current directory while Tru64 will put them in the object
   3605   # directory.
   3606   mkdir sub
   3607 
   3608   am_cv_CC_dependencies_compiler_type=none
   3609   if test "$am_compiler_list" = ""; then
   3610      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3611   fi
   3612   for depmode in $am_compiler_list; do
   3613     # Setup a source with many dependencies, because some compilers
   3614     # like to wrap large dependency lists on column 80 (with \), and
   3615     # we should not choose a depcomp mode which is confused by this.
   3616     #
   3617     # We need to recreate these files for each test, as the compiler may
   3618     # overwrite some of them when testing with obscure command lines.
   3619     # This happens at least with the AIX C compiler.
   3620     : > sub/conftest.c
   3621     for i in 1 2 3 4 5 6; do
   3622       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3623       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3624       # Solaris 8's {/usr,}/bin/sh.
   3625       touch sub/conftst$i.h
   3626     done
   3627     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3628 
   3629     case $depmode in
   3630     nosideeffect)
   3631       # after this tag, mechanisms are not by side-effect, so they'll
   3632       # only be used when explicitly requested
   3633       if test "x$enable_dependency_tracking" = xyes; then
   3634 	continue
   3635       else
   3636 	break
   3637       fi
   3638       ;;
   3639     none) break ;;
   3640     esac
   3641     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3642     # mode.  It turns out that the SunPro C++ compiler does not properly
   3643     # handle `-M -o', and we need to detect this.
   3644     if depmode=$depmode \
   3645        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3646        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3647        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3648          >/dev/null 2>conftest.err &&
   3649        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3650        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3651        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3652        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3653       # icc doesn't choke on unknown options, it will just issue warnings
   3654       # or remarks (even with -Werror).  So we grep stderr for any message
   3655       # that says an option was ignored or not supported.
   3656       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3657       #   icc: Command line warning: ignoring option '-M'; no argument required
   3658       # The diagnosis changed in icc 8.0:
   3659       #   icc: Command line remark: option '-MP' not supported
   3660       if (grep 'ignoring option' conftest.err ||
   3661           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3662         am_cv_CC_dependencies_compiler_type=$depmode
   3663         break
   3664       fi
   3665     fi
   3666   done
   3667 
   3668   cd ..
   3669   rm -rf conftest.dir
   3670 else
   3671   am_cv_CC_dependencies_compiler_type=none
   3672 fi
   3673 
   3674 fi
   3675 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3676 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3677 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3678 
   3679  if
   3680   test "x$enable_dependency_tracking" != xno \
   3681   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3682   am__fastdepCC_TRUE=
   3683   am__fastdepCC_FALSE='#'
   3684 else
   3685   am__fastdepCC_TRUE='#'
   3686   am__fastdepCC_FALSE=
   3687 fi
   3688 
   3689 
   3690 ac_ext=cpp
   3691 ac_cpp='$CXXCPP $CPPFLAGS'
   3692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3695 if test -z "$CXX"; then
   3696   if test -n "$CCC"; then
   3697     CXX=$CCC
   3698   else
   3699     if test -n "$ac_tool_prefix"; then
   3700   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3701   do
   3702     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3706 if test "${ac_cv_prog_CXX+set}" = set; then
   3707   echo $ECHO_N "(cached) $ECHO_C" >&6
   3708 else
   3709   if test -n "$CXX"; then
   3710   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3711 else
   3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3713 for as_dir in $PATH
   3714 do
   3715   IFS=$as_save_IFS
   3716   test -z "$as_dir" && as_dir=.
   3717   for ac_exec_ext in '' $ac_executable_extensions; do
   3718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3719     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3720     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3721     break 2
   3722   fi
   3723 done
   3724 done
   3725 IFS=$as_save_IFS
   3726 
   3727 fi
   3728 fi
   3729 CXX=$ac_cv_prog_CXX
   3730 if test -n "$CXX"; then
   3731   { echo "$as_me:$LINENO: result: $CXX" >&5
   3732 echo "${ECHO_T}$CXX" >&6; }
   3733 else
   3734   { echo "$as_me:$LINENO: result: no" >&5
   3735 echo "${ECHO_T}no" >&6; }
   3736 fi
   3737 
   3738 
   3739     test -n "$CXX" && break
   3740   done
   3741 fi
   3742 if test -z "$CXX"; then
   3743   ac_ct_CXX=$CXX
   3744   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3745 do
   3746   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3747 set dummy $ac_prog; ac_word=$2
   3748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3750 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   3751   echo $ECHO_N "(cached) $ECHO_C" >&6
   3752 else
   3753   if test -n "$ac_ct_CXX"; then
   3754   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3755 else
   3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3757 for as_dir in $PATH
   3758 do
   3759   IFS=$as_save_IFS
   3760   test -z "$as_dir" && as_dir=.
   3761   for ac_exec_ext in '' $ac_executable_extensions; do
   3762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3763     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3764     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3765     break 2
   3766   fi
   3767 done
   3768 done
   3769 IFS=$as_save_IFS
   3770 
   3771 fi
   3772 fi
   3773 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3774 if test -n "$ac_ct_CXX"; then
   3775   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   3776 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   3777 else
   3778   { echo "$as_me:$LINENO: result: no" >&5
   3779 echo "${ECHO_T}no" >&6; }
   3780 fi
   3781 
   3782 
   3783   test -n "$ac_ct_CXX" && break
   3784 done
   3785 
   3786   if test "x$ac_ct_CXX" = x; then
   3787     CXX="g++"
   3788   else
   3789     case $cross_compiling:$ac_tool_warned in
   3790 yes:)
   3791 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3792 whose name does not start with the host triplet.  If you think this
   3793 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3794 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3795 whose name does not start with the host triplet.  If you think this
   3796 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3797 ac_tool_warned=yes ;;
   3798 esac
   3799     CXX=$ac_ct_CXX
   3800   fi
   3801 fi
   3802 
   3803   fi
   3804 fi
   3805 # Provide some information about the compiler.
   3806 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   3807 ac_compiler=`set X $ac_compile; echo $2`
   3808 { (ac_try="$ac_compiler --version >&5"
   3809 case "(($ac_try" in
   3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3811   *) ac_try_echo=$ac_try;;
   3812 esac
   3813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3814   (eval "$ac_compiler --version >&5") 2>&5
   3815   ac_status=$?
   3816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3817   (exit $ac_status); }
   3818 { (ac_try="$ac_compiler -v >&5"
   3819 case "(($ac_try" in
   3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3821   *) ac_try_echo=$ac_try;;
   3822 esac
   3823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3824   (eval "$ac_compiler -v >&5") 2>&5
   3825   ac_status=$?
   3826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3827   (exit $ac_status); }
   3828 { (ac_try="$ac_compiler -V >&5"
   3829 case "(($ac_try" in
   3830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3831   *) ac_try_echo=$ac_try;;
   3832 esac
   3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3834   (eval "$ac_compiler -V >&5") 2>&5
   3835   ac_status=$?
   3836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3837   (exit $ac_status); }
   3838 
   3839 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   3840 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   3841 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   3842   echo $ECHO_N "(cached) $ECHO_C" >&6
   3843 else
   3844   cat >conftest.$ac_ext <<_ACEOF
   3845 /* confdefs.h.  */
   3846 _ACEOF
   3847 cat confdefs.h >>conftest.$ac_ext
   3848 cat >>conftest.$ac_ext <<_ACEOF
   3849 /* end confdefs.h.  */
   3850 
   3851 int
   3852 main ()
   3853 {
   3854 #ifndef __GNUC__
   3855        choke me
   3856 #endif
   3857 
   3858   ;
   3859   return 0;
   3860 }
   3861 _ACEOF
   3862 rm -f conftest.$ac_objext
   3863 if { (ac_try="$ac_compile"
   3864 case "(($ac_try" in
   3865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3866   *) ac_try_echo=$ac_try;;
   3867 esac
   3868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3869   (eval "$ac_compile") 2>conftest.er1
   3870   ac_status=$?
   3871   grep -v '^ *+' conftest.er1 >conftest.err
   3872   rm -f conftest.er1
   3873   cat conftest.err >&5
   3874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3875   (exit $ac_status); } && {
   3876 	 test -z "$ac_cxx_werror_flag" ||
   3877 	 test ! -s conftest.err
   3878        } && test -s conftest.$ac_objext; then
   3879   ac_compiler_gnu=yes
   3880 else
   3881   echo "$as_me: failed program was:" >&5
   3882 sed 's/^/| /' conftest.$ac_ext >&5
   3883 
   3884 	ac_compiler_gnu=no
   3885 fi
   3886 
   3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3888 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3889 
   3890 fi
   3891 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   3892 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   3893 GXX=`test $ac_compiler_gnu = yes && echo yes`
   3894 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3895 ac_save_CXXFLAGS=$CXXFLAGS
   3896 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   3897 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   3898 if test "${ac_cv_prog_cxx_g+set}" = set; then
   3899   echo $ECHO_N "(cached) $ECHO_C" >&6
   3900 else
   3901   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3902    ac_cxx_werror_flag=yes
   3903    ac_cv_prog_cxx_g=no
   3904    CXXFLAGS="-g"
   3905    cat >conftest.$ac_ext <<_ACEOF
   3906 /* confdefs.h.  */
   3907 _ACEOF
   3908 cat confdefs.h >>conftest.$ac_ext
   3909 cat >>conftest.$ac_ext <<_ACEOF
   3910 /* end confdefs.h.  */
   3911 
   3912 int
   3913 main ()
   3914 {
   3915 
   3916   ;
   3917   return 0;
   3918 }
   3919 _ACEOF
   3920 rm -f conftest.$ac_objext
   3921 if { (ac_try="$ac_compile"
   3922 case "(($ac_try" in
   3923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3924   *) ac_try_echo=$ac_try;;
   3925 esac
   3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3927   (eval "$ac_compile") 2>conftest.er1
   3928   ac_status=$?
   3929   grep -v '^ *+' conftest.er1 >conftest.err
   3930   rm -f conftest.er1
   3931   cat conftest.err >&5
   3932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3933   (exit $ac_status); } && {
   3934 	 test -z "$ac_cxx_werror_flag" ||
   3935 	 test ! -s conftest.err
   3936        } && test -s conftest.$ac_objext; then
   3937   ac_cv_prog_cxx_g=yes
   3938 else
   3939   echo "$as_me: failed program was:" >&5
   3940 sed 's/^/| /' conftest.$ac_ext >&5
   3941 
   3942 	CXXFLAGS=""
   3943       cat >conftest.$ac_ext <<_ACEOF
   3944 /* confdefs.h.  */
   3945 _ACEOF
   3946 cat confdefs.h >>conftest.$ac_ext
   3947 cat >>conftest.$ac_ext <<_ACEOF
   3948 /* end confdefs.h.  */
   3949 
   3950 int
   3951 main ()
   3952 {
   3953 
   3954   ;
   3955   return 0;
   3956 }
   3957 _ACEOF
   3958 rm -f conftest.$ac_objext
   3959 if { (ac_try="$ac_compile"
   3960 case "(($ac_try" in
   3961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3962   *) ac_try_echo=$ac_try;;
   3963 esac
   3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3965   (eval "$ac_compile") 2>conftest.er1
   3966   ac_status=$?
   3967   grep -v '^ *+' conftest.er1 >conftest.err
   3968   rm -f conftest.er1
   3969   cat conftest.err >&5
   3970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3971   (exit $ac_status); } && {
   3972 	 test -z "$ac_cxx_werror_flag" ||
   3973 	 test ! -s conftest.err
   3974        } && test -s conftest.$ac_objext; then
   3975   :
   3976 else
   3977   echo "$as_me: failed program was:" >&5
   3978 sed 's/^/| /' conftest.$ac_ext >&5
   3979 
   3980 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3981 	 CXXFLAGS="-g"
   3982 	 cat >conftest.$ac_ext <<_ACEOF
   3983 /* confdefs.h.  */
   3984 _ACEOF
   3985 cat confdefs.h >>conftest.$ac_ext
   3986 cat >>conftest.$ac_ext <<_ACEOF
   3987 /* end confdefs.h.  */
   3988 
   3989 int
   3990 main ()
   3991 {
   3992 
   3993   ;
   3994   return 0;
   3995 }
   3996 _ACEOF
   3997 rm -f conftest.$ac_objext
   3998 if { (ac_try="$ac_compile"
   3999 case "(($ac_try" in
   4000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4001   *) ac_try_echo=$ac_try;;
   4002 esac
   4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4004   (eval "$ac_compile") 2>conftest.er1
   4005   ac_status=$?
   4006   grep -v '^ *+' conftest.er1 >conftest.err
   4007   rm -f conftest.er1
   4008   cat conftest.err >&5
   4009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4010   (exit $ac_status); } && {
   4011 	 test -z "$ac_cxx_werror_flag" ||
   4012 	 test ! -s conftest.err
   4013        } && test -s conftest.$ac_objext; then
   4014   ac_cv_prog_cxx_g=yes
   4015 else
   4016   echo "$as_me: failed program was:" >&5
   4017 sed 's/^/| /' conftest.$ac_ext >&5
   4018 
   4019 
   4020 fi
   4021 
   4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4023 fi
   4024 
   4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4026 fi
   4027 
   4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4029    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4030 fi
   4031 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   4032 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   4033 if test "$ac_test_CXXFLAGS" = set; then
   4034   CXXFLAGS=$ac_save_CXXFLAGS
   4035 elif test $ac_cv_prog_cxx_g = yes; then
   4036   if test "$GXX" = yes; then
   4037     CXXFLAGS="-g -O2"
   4038   else
   4039     CXXFLAGS="-g"
   4040   fi
   4041 else
   4042   if test "$GXX" = yes; then
   4043     CXXFLAGS="-O2"
   4044   else
   4045     CXXFLAGS=
   4046   fi
   4047 fi
   4048 ac_ext=c
   4049 ac_cpp='$CPP $CPPFLAGS'
   4050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4053 
   4054 depcc="$CXX"  am_compiler_list=
   4055 
   4056 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   4057 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   4058 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   4059   echo $ECHO_N "(cached) $ECHO_C" >&6
   4060 else
   4061   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4062   # We make a subdir and do the tests there.  Otherwise we can end up
   4063   # making bogus files that we don't know about and never remove.  For
   4064   # instance it was reported that on HP-UX the gcc test will end up
   4065   # making a dummy file named `D' -- because `-MD' means `put the output
   4066   # in D'.
   4067   mkdir conftest.dir
   4068   # Copy depcomp to subdir because otherwise we won't find it if we're
   4069   # using a relative directory.
   4070   cp "$am_depcomp" conftest.dir
   4071   cd conftest.dir
   4072   # We will build objects and dependencies in a subdirectory because
   4073   # it helps to detect inapplicable dependency modes.  For instance
   4074   # both Tru64's cc and ICC support -MD to output dependencies as a
   4075   # side effect of compilation, but ICC will put the dependencies in
   4076   # the current directory while Tru64 will put them in the object
   4077   # directory.
   4078   mkdir sub
   4079 
   4080   am_cv_CXX_dependencies_compiler_type=none
   4081   if test "$am_compiler_list" = ""; then
   4082      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4083   fi
   4084   for depmode in $am_compiler_list; do
   4085     # Setup a source with many dependencies, because some compilers
   4086     # like to wrap large dependency lists on column 80 (with \), and
   4087     # we should not choose a depcomp mode which is confused by this.
   4088     #
   4089     # We need to recreate these files for each test, as the compiler may
   4090     # overwrite some of them when testing with obscure command lines.
   4091     # This happens at least with the AIX C compiler.
   4092     : > sub/conftest.c
   4093     for i in 1 2 3 4 5 6; do
   4094       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4095       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4096       # Solaris 8's {/usr,}/bin/sh.
   4097       touch sub/conftst$i.h
   4098     done
   4099     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4100 
   4101     case $depmode in
   4102     nosideeffect)
   4103       # after this tag, mechanisms are not by side-effect, so they'll
   4104       # only be used when explicitly requested
   4105       if test "x$enable_dependency_tracking" = xyes; then
   4106 	continue
   4107       else
   4108 	break
   4109       fi
   4110       ;;
   4111     none) break ;;
   4112     esac
   4113     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4114     # mode.  It turns out that the SunPro C++ compiler does not properly
   4115     # handle `-M -o', and we need to detect this.
   4116     if depmode=$depmode \
   4117        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4118        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4119        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4120          >/dev/null 2>conftest.err &&
   4121        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4122        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4123        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4124        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4125       # icc doesn't choke on unknown options, it will just issue warnings
   4126       # or remarks (even with -Werror).  So we grep stderr for any message
   4127       # that says an option was ignored or not supported.
   4128       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4129       #   icc: Command line warning: ignoring option '-M'; no argument required
   4130       # The diagnosis changed in icc 8.0:
   4131       #   icc: Command line remark: option '-MP' not supported
   4132       if (grep 'ignoring option' conftest.err ||
   4133           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4134         am_cv_CXX_dependencies_compiler_type=$depmode
   4135         break
   4136       fi
   4137     fi
   4138   done
   4139 
   4140   cd ..
   4141   rm -rf conftest.dir
   4142 else
   4143   am_cv_CXX_dependencies_compiler_type=none
   4144 fi
   4145 
   4146 fi
   4147 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4148 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   4149 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4150 
   4151  if
   4152   test "x$enable_dependency_tracking" != xno \
   4153   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   4154   am__fastdepCXX_TRUE=
   4155   am__fastdepCXX_FALSE='#'
   4156 else
   4157   am__fastdepCXX_TRUE='#'
   4158   am__fastdepCXX_FALSE=
   4159 fi
   4160 
   4161 
   4162 ac_ext=cpp
   4163 ac_cpp='$CXXCPP $CPPFLAGS'
   4164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4167 
   4168 
   4169 cat >>confdefs.h <<\_ACEOF
   4170 #define _GNU_SOURCE 1
   4171 _ACEOF
   4172 
   4173 
   4174 
   4175 ac_ext=cpp
   4176 ac_cpp='$CXXCPP $CPPFLAGS'
   4177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4180 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   4181 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   4182 if test -z "$CXXCPP"; then
   4183   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   4184   echo $ECHO_N "(cached) $ECHO_C" >&6
   4185 else
   4186       # Double quotes because CXXCPP needs to be expanded
   4187     for CXXCPP in "$CXX -E" "/lib/cpp"
   4188     do
   4189       ac_preproc_ok=false
   4190 for ac_cxx_preproc_warn_flag in '' yes
   4191 do
   4192   # Use a header file that comes with gcc, so configuring glibc
   4193   # with a fresh cross-compiler works.
   4194   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4195   # <limits.h> exists even on freestanding compilers.
   4196   # On the NeXT, cc -E runs the code through the compiler's parser,
   4197   # not just through cpp. "Syntax error" is here to catch this case.
   4198   cat >conftest.$ac_ext <<_ACEOF
   4199 /* confdefs.h.  */
   4200 _ACEOF
   4201 cat confdefs.h >>conftest.$ac_ext
   4202 cat >>conftest.$ac_ext <<_ACEOF
   4203 /* end confdefs.h.  */
   4204 #ifdef __STDC__
   4205 # include <limits.h>
   4206 #else
   4207 # include <assert.h>
   4208 #endif
   4209 		     Syntax error
   4210 _ACEOF
   4211 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4212 case "(($ac_try" in
   4213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4214   *) ac_try_echo=$ac_try;;
   4215 esac
   4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4217   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4218   ac_status=$?
   4219   grep -v '^ *+' conftest.er1 >conftest.err
   4220   rm -f conftest.er1
   4221   cat conftest.err >&5
   4222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4223   (exit $ac_status); } >/dev/null && {
   4224 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   4225 	 test ! -s conftest.err
   4226        }; then
   4227   :
   4228 else
   4229   echo "$as_me: failed program was:" >&5
   4230 sed 's/^/| /' conftest.$ac_ext >&5
   4231 
   4232   # Broken: fails on valid input.
   4233 continue
   4234 fi
   4235 
   4236 rm -f conftest.err conftest.$ac_ext
   4237 
   4238   # OK, works on sane cases.  Now check whether nonexistent headers
   4239   # can be detected and how.
   4240   cat >conftest.$ac_ext <<_ACEOF
   4241 /* confdefs.h.  */
   4242 _ACEOF
   4243 cat confdefs.h >>conftest.$ac_ext
   4244 cat >>conftest.$ac_ext <<_ACEOF
   4245 /* end confdefs.h.  */
   4246 #include <ac_nonexistent.h>
   4247 _ACEOF
   4248 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4249 case "(($ac_try" in
   4250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4251   *) ac_try_echo=$ac_try;;
   4252 esac
   4253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4254   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4255   ac_status=$?
   4256   grep -v '^ *+' conftest.er1 >conftest.err
   4257   rm -f conftest.er1
   4258   cat conftest.err >&5
   4259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4260   (exit $ac_status); } >/dev/null && {
   4261 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   4262 	 test ! -s conftest.err
   4263        }; then
   4264   # Broken: success on invalid input.
   4265 continue
   4266 else
   4267   echo "$as_me: failed program was:" >&5
   4268 sed 's/^/| /' conftest.$ac_ext >&5
   4269 
   4270   # Passes both tests.
   4271 ac_preproc_ok=:
   4272 break
   4273 fi
   4274 
   4275 rm -f conftest.err conftest.$ac_ext
   4276 
   4277 done
   4278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4279 rm -f conftest.err conftest.$ac_ext
   4280 if $ac_preproc_ok; then
   4281   break
   4282 fi
   4283 
   4284     done
   4285     ac_cv_prog_CXXCPP=$CXXCPP
   4286 
   4287 fi
   4288   CXXCPP=$ac_cv_prog_CXXCPP
   4289 else
   4290   ac_cv_prog_CXXCPP=$CXXCPP
   4291 fi
   4292 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   4293 echo "${ECHO_T}$CXXCPP" >&6; }
   4294 ac_preproc_ok=false
   4295 for ac_cxx_preproc_warn_flag in '' yes
   4296 do
   4297   # Use a header file that comes with gcc, so configuring glibc
   4298   # with a fresh cross-compiler works.
   4299   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4300   # <limits.h> exists even on freestanding compilers.
   4301   # On the NeXT, cc -E runs the code through the compiler's parser,
   4302   # not just through cpp. "Syntax error" is here to catch this case.
   4303   cat >conftest.$ac_ext <<_ACEOF
   4304 /* confdefs.h.  */
   4305 _ACEOF
   4306 cat confdefs.h >>conftest.$ac_ext
   4307 cat >>conftest.$ac_ext <<_ACEOF
   4308 /* end confdefs.h.  */
   4309 #ifdef __STDC__
   4310 # include <limits.h>
   4311 #else
   4312 # include <assert.h>
   4313 #endif
   4314 		     Syntax error
   4315 _ACEOF
   4316 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4317 case "(($ac_try" in
   4318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4319   *) ac_try_echo=$ac_try;;
   4320 esac
   4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4322   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4323   ac_status=$?
   4324   grep -v '^ *+' conftest.er1 >conftest.err
   4325   rm -f conftest.er1
   4326   cat conftest.err >&5
   4327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4328   (exit $ac_status); } >/dev/null && {
   4329 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   4330 	 test ! -s conftest.err
   4331        }; then
   4332   :
   4333 else
   4334   echo "$as_me: failed program was:" >&5
   4335 sed 's/^/| /' conftest.$ac_ext >&5
   4336 
   4337   # Broken: fails on valid input.
   4338 continue
   4339 fi
   4340 
   4341 rm -f conftest.err conftest.$ac_ext
   4342 
   4343   # OK, works on sane cases.  Now check whether nonexistent headers
   4344   # can be detected and how.
   4345   cat >conftest.$ac_ext <<_ACEOF
   4346 /* confdefs.h.  */
   4347 _ACEOF
   4348 cat confdefs.h >>conftest.$ac_ext
   4349 cat >>conftest.$ac_ext <<_ACEOF
   4350 /* end confdefs.h.  */
   4351 #include <ac_nonexistent.h>
   4352 _ACEOF
   4353 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4354 case "(($ac_try" in
   4355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4356   *) ac_try_echo=$ac_try;;
   4357 esac
   4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4359   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4360   ac_status=$?
   4361   grep -v '^ *+' conftest.er1 >conftest.err
   4362   rm -f conftest.er1
   4363   cat conftest.err >&5
   4364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4365   (exit $ac_status); } >/dev/null && {
   4366 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   4367 	 test ! -s conftest.err
   4368        }; then
   4369   # Broken: success on invalid input.
   4370 continue
   4371 else
   4372   echo "$as_me: failed program was:" >&5
   4373 sed 's/^/| /' conftest.$ac_ext >&5
   4374 
   4375   # Passes both tests.
   4376 ac_preproc_ok=:
   4377 break
   4378 fi
   4379 
   4380 rm -f conftest.err conftest.$ac_ext
   4381 
   4382 done
   4383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4384 rm -f conftest.err conftest.$ac_ext
   4385 if $ac_preproc_ok; then
   4386   :
   4387 else
   4388   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   4389 See \`config.log' for more details." >&5
   4390 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   4391 See \`config.log' for more details." >&2;}
   4392    { (exit 1); exit 1; }; }
   4393 fi
   4394 
   4395 ac_ext=cpp
   4396 ac_cpp='$CXXCPP $CPPFLAGS'
   4397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4400 
   4401 
   4402 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4403 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   4404 if test "${ac_cv_path_GREP+set}" = set; then
   4405   echo $ECHO_N "(cached) $ECHO_C" >&6
   4406 else
   4407   # Extract the first word of "grep ggrep" to use in msg output
   4408 if test -z "$GREP"; then
   4409 set dummy grep ggrep; ac_prog_name=$2
   4410 if test "${ac_cv_path_GREP+set}" = set; then
   4411   echo $ECHO_N "(cached) $ECHO_C" >&6
   4412 else
   4413   ac_path_GREP_found=false
   4414 # Loop through the user's path and test for each of PROGNAME-LIST
   4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4416 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4417 do
   4418   IFS=$as_save_IFS
   4419   test -z "$as_dir" && as_dir=.
   4420   for ac_prog in grep ggrep; do
   4421   for ac_exec_ext in '' $ac_executable_extensions; do
   4422     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4423     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4424     # Check for GNU ac_path_GREP and select it if it is found.
   4425   # Check for GNU $ac_path_GREP
   4426 case `"$ac_path_GREP" --version 2>&1` in
   4427 *GNU*)
   4428   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4429 *)
   4430   ac_count=0
   4431   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4432   while :
   4433   do
   4434     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4435     mv "conftest.tmp" "conftest.in"
   4436     cp "conftest.in" "conftest.nl"
   4437     echo 'GREP' >> "conftest.nl"
   4438     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4439     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4440     ac_count=`expr $ac_count + 1`
   4441     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4442       # Best one so far, save it but keep looking for a better one
   4443       ac_cv_path_GREP="$ac_path_GREP"
   4444       ac_path_GREP_max=$ac_count
   4445     fi
   4446     # 10*(2^10) chars as input seems more than enough
   4447     test $ac_count -gt 10 && break
   4448   done
   4449   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4450 esac
   4451 
   4452 
   4453     $ac_path_GREP_found && break 3
   4454   done
   4455 done
   4456 
   4457 done
   4458 IFS=$as_save_IFS
   4459 
   4460 
   4461 fi
   4462 
   4463 GREP="$ac_cv_path_GREP"
   4464 if test -z "$GREP"; then
   4465   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4466 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4467    { (exit 1); exit 1; }; }
   4468 fi
   4469 
   4470 else
   4471   ac_cv_path_GREP=$GREP
   4472 fi
   4473 
   4474