Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXvMC 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='libXvMC'
    752 PACKAGE_TARNAME='libXvMC'
    753 PACKAGE_VERSION='1.0.5'
    754 PACKAGE_STRING='libXvMC 1.0.5'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 # Factoring default headers for most tests.
    758 ac_includes_default="\
    759 #include <stdio.h>
    760 #ifdef HAVE_SYS_TYPES_H
    761 # include <sys/types.h>
    762 #endif
    763 #ifdef HAVE_SYS_STAT_H
    764 # include <sys/stat.h>
    765 #endif
    766 #ifdef STDC_HEADERS
    767 # include <stdlib.h>
    768 # include <stddef.h>
    769 #else
    770 # ifdef HAVE_STDLIB_H
    771 #  include <stdlib.h>
    772 # endif
    773 #endif
    774 #ifdef HAVE_STRING_H
    775 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    776 #  include <memory.h>
    777 # endif
    778 # include <string.h>
    779 #endif
    780 #ifdef HAVE_STRINGS_H
    781 # include <strings.h>
    782 #endif
    783 #ifdef HAVE_INTTYPES_H
    784 # include <inttypes.h>
    785 #endif
    786 #ifdef HAVE_STDINT_H
    787 # include <stdint.h>
    788 #endif
    789 #ifdef HAVE_UNISTD_H
    790 # include <unistd.h>
    791 #endif"
    792 
    793 ac_subst_vars='am__EXEEXT_FALSE
    794 am__EXEEXT_TRUE
    795 LTLIBOBJS
    796 LIBOBJS
    797 LINT_FALSE
    798 LINT_TRUE
    799 LINT_FLAGS
    800 LINT
    801 XTMALLOC_ZERO_CFLAGS
    802 XMALLOC_ZERO_CFLAGS
    803 MALLOC_ZERO_CFLAGS
    804 XVMC_LIBS
    805 XVMC_CFLAGS
    806 PKG_CONFIG
    807 ADMIN_MAN_DIR
    808 DRIVER_MAN_DIR
    809 MISC_MAN_DIR
    810 FILE_MAN_DIR
    811 LIB_MAN_DIR
    812 APP_MAN_DIR
    813 ADMIN_MAN_SUFFIX
    814 DRIVER_MAN_SUFFIX
    815 MISC_MAN_SUFFIX
    816 FILE_MAN_SUFFIX
    817 LIB_MAN_SUFFIX
    818 APP_MAN_SUFFIX
    819 distcleancheck_listfiles
    820 CHANGELOG_CMD
    821 AM_BACKSLASH
    822 AM_DEFAULT_VERBOSITY
    823 CWARNFLAGS
    824 LIBTOOL
    825 ac_ct_F77
    826 FFLAGS
    827 F77
    828 CXXCPP
    829 am__fastdepCXX_FALSE
    830 am__fastdepCXX_TRUE
    831 CXXDEPMODE
    832 ac_ct_CXX
    833 CXXFLAGS
    834 CXX
    835 CPP
    836 NMEDIT
    837 DSYMUTIL
    838 RANLIB
    839 AR
    840 ECHO
    841 LN_S
    842 EGREP
    843 GREP
    844 SED
    845 host_os
    846 host_vendor
    847 host_cpu
    848 host
    849 build_os
    850 build_vendor
    851 build_cpu
    852 build
    853 am__fastdepCC_FALSE
    854 am__fastdepCC_TRUE
    855 CCDEPMODE
    856 AMDEPBACKSLASH
    857 AMDEP_FALSE
    858 AMDEP_TRUE
    859 am__quote
    860 am__include
    861 DEPDIR
    862 OBJEXT
    863 EXEEXT
    864 ac_ct_CC
    865 CPPFLAGS
    866 LDFLAGS
    867 CFLAGS
    868 CC
    869 MAINT
    870 MAINTAINER_MODE_FALSE
    871 MAINTAINER_MODE_TRUE
    872 am__untar
    873 am__tar
    874 AMTAR
    875 am__leading_dot
    876 SET_MAKE
    877 AWK
    878 mkdir_p
    879 MKDIR_P
    880 INSTALL_STRIP_PROGRAM
    881 STRIP
    882 install_sh
    883 MAKEINFO
    884 AUTOHEADER
    885 AUTOMAKE
    886 AUTOCONF
    887 ACLOCAL
    888 VERSION
    889 PACKAGE
    890 CYGPATH_W
    891 am__isrc
    892 INSTALL_DATA
    893 INSTALL_SCRIPT
    894 INSTALL_PROGRAM
    895 target_alias
    896 host_alias
    897 build_alias
    898 LIBS
    899 ECHO_T
    900 ECHO_N
    901 ECHO_C
    902 DEFS
    903 mandir
    904 localedir
    905 libdir
    906 psdir
    907 pdfdir
    908 dvidir
    909 htmldir
    910 infodir
    911 docdir
    912 oldincludedir
    913 includedir
    914 localstatedir
    915 sharedstatedir
    916 sysconfdir
    917 datadir
    918 datarootdir
    919 libexecdir
    920 sbindir
    921 bindir
    922 program_transform_name
    923 prefix
    924 exec_prefix
    925 PACKAGE_BUGREPORT
    926 PACKAGE_STRING
    927 PACKAGE_VERSION
    928 PACKAGE_TARNAME
    929 PACKAGE_NAME
    930 PATH_SEPARATOR
    931 SHELL'
    932 ac_subst_files=''
    933 ac_user_opts='
    934 enable_option_checking
    935 enable_maintainer_mode
    936 enable_dependency_tracking
    937 enable_shared
    938 enable_static
    939 enable_fast_install
    940 with_gnu_ld
    941 enable_libtool_lock
    942 with_pic
    943 with_tags
    944 enable_silent_rules
    945 enable_strict_compilation
    946 with_release_version
    947 enable_malloc0returnsnull
    948 with_lint
    949 '
    950       ac_precious_vars='build_alias
    951 host_alias
    952 target_alias
    953 CC
    954 CFLAGS
    955 LDFLAGS
    956 LIBS
    957 CPPFLAGS
    958 CPP
    959 CXX
    960 CXXFLAGS
    961 CCC
    962 CXXCPP
    963 F77
    964 FFLAGS
    965 PKG_CONFIG
    966 XVMC_CFLAGS
    967 XVMC_LIBS'
    968 
    969 
    970 # Initialize some variables set by options.
    971 ac_init_help=
    972 ac_init_version=false
    973 ac_unrecognized_opts=
    974 ac_unrecognized_sep=
    975 # The variables have the same names as the options, with
    976 # dashes changed to underlines.
    977 cache_file=/dev/null
    978 exec_prefix=NONE
    979 no_create=
    980 no_recursion=
    981 prefix=NONE
    982 program_prefix=NONE
    983 program_suffix=NONE
    984 program_transform_name=s,x,x,
    985 silent=
    986 site=
    987 srcdir=
    988 verbose=
    989 x_includes=NONE
    990 x_libraries=NONE
    991 
    992 # Installation directory options.
    993 # These are left unexpanded so users can "make install exec_prefix=/foo"
    994 # and all the variables that are supposed to be based on exec_prefix
    995 # by default will actually change.
    996 # Use braces instead of parens because sh, perl, etc. also accept them.
    997 # (The list follows the same order as the GNU Coding Standards.)
    998 bindir='${exec_prefix}/bin'
    999 sbindir='${exec_prefix}/sbin'
   1000 libexecdir='${exec_prefix}/libexec'
   1001 datarootdir='${prefix}/share'
   1002 datadir='${datarootdir}'
   1003 sysconfdir='${prefix}/etc'
   1004 sharedstatedir='${prefix}/com'
   1005 localstatedir='${prefix}/var'
   1006 includedir='${prefix}/include'
   1007 oldincludedir='/usr/include'
   1008 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1009 infodir='${datarootdir}/info'
   1010 htmldir='${docdir}'
   1011 dvidir='${docdir}'
   1012 pdfdir='${docdir}'
   1013 psdir='${docdir}'
   1014 libdir='${exec_prefix}/lib'
   1015 localedir='${datarootdir}/locale'
   1016 mandir='${datarootdir}/man'
   1017 
   1018 ac_prev=
   1019 ac_dashdash=
   1020 for ac_option
   1021 do
   1022   # If the previous option needs an argument, assign it.
   1023   if test -n "$ac_prev"; then
   1024     eval $ac_prev=\$ac_option
   1025     ac_prev=
   1026     continue
   1027   fi
   1028 
   1029   case $ac_option in
   1030   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1031   *)	ac_optarg=yes ;;
   1032   esac
   1033 
   1034   # Accept the important Cygnus configure options, so we can diagnose typos.
   1035 
   1036   case $ac_dashdash$ac_option in
   1037   --)
   1038     ac_dashdash=yes ;;
   1039 
   1040   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1041     ac_prev=bindir ;;
   1042   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1043     bindir=$ac_optarg ;;
   1044 
   1045   -build | --build | --buil | --bui | --bu)
   1046     ac_prev=build_alias ;;
   1047   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1048     build_alias=$ac_optarg ;;
   1049 
   1050   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1051   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1052     ac_prev=cache_file ;;
   1053   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1054   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1055     cache_file=$ac_optarg ;;
   1056 
   1057   --config-cache | -C)
   1058     cache_file=config.cache ;;
   1059 
   1060   -datadir | --datadir | --datadi | --datad)
   1061     ac_prev=datadir ;;
   1062   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1063     datadir=$ac_optarg ;;
   1064 
   1065   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1066   | --dataroo | --dataro | --datar)
   1067     ac_prev=datarootdir ;;
   1068   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1069   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1070     datarootdir=$ac_optarg ;;
   1071 
   1072   -disable-* | --disable-*)
   1073     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1074     # Reject names that are not valid shell variable names.
   1075     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1076       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1077    { (exit 1); exit 1; }; }
   1078     ac_useropt_orig=$ac_useropt
   1079     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1080     case $ac_user_opts in
   1081       *"
   1082 "enable_$ac_useropt"
   1083 "*) ;;
   1084       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1085 	 ac_unrecognized_sep=', ';;
   1086     esac
   1087     eval enable_$ac_useropt=no ;;
   1088 
   1089   -docdir | --docdir | --docdi | --doc | --do)
   1090     ac_prev=docdir ;;
   1091   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1092     docdir=$ac_optarg ;;
   1093 
   1094   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1095     ac_prev=dvidir ;;
   1096   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1097     dvidir=$ac_optarg ;;
   1098 
   1099   -enable-* | --enable-*)
   1100     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1101     # Reject names that are not valid shell variable names.
   1102     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1103       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1104    { (exit 1); exit 1; }; }
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "enable_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval enable_$ac_useropt=\$ac_optarg ;;
   1115 
   1116   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1117   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1118   | --exec | --exe | --ex)
   1119     ac_prev=exec_prefix ;;
   1120   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1121   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1122   | --exec=* | --exe=* | --ex=*)
   1123     exec_prefix=$ac_optarg ;;
   1124 
   1125   -gas | --gas | --ga | --g)
   1126     # Obsolete; use --with-gas.
   1127     with_gas=yes ;;
   1128 
   1129   -help | --help | --hel | --he | -h)
   1130     ac_init_help=long ;;
   1131   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1132     ac_init_help=recursive ;;
   1133   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1134     ac_init_help=short ;;
   1135 
   1136   -host | --host | --hos | --ho)
   1137     ac_prev=host_alias ;;
   1138   -host=* | --host=* | --hos=* | --ho=*)
   1139     host_alias=$ac_optarg ;;
   1140 
   1141   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1142     ac_prev=htmldir ;;
   1143   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1144   | --ht=*)
   1145     htmldir=$ac_optarg ;;
   1146 
   1147   -includedir | --includedir | --includedi | --included | --include \
   1148   | --includ | --inclu | --incl | --inc)
   1149     ac_prev=includedir ;;
   1150   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1151   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1152     includedir=$ac_optarg ;;
   1153 
   1154   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1155     ac_prev=infodir ;;
   1156   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1157     infodir=$ac_optarg ;;
   1158 
   1159   -libdir | --libdir | --libdi | --libd)
   1160     ac_prev=libdir ;;
   1161   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1162     libdir=$ac_optarg ;;
   1163 
   1164   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1165   | --libexe | --libex | --libe)
   1166     ac_prev=libexecdir ;;
   1167   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1168   | --libexe=* | --libex=* | --libe=*)
   1169     libexecdir=$ac_optarg ;;
   1170 
   1171   -localedir | --localedir | --localedi | --localed | --locale)
   1172     ac_prev=localedir ;;
   1173   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1174     localedir=$ac_optarg ;;
   1175 
   1176   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1177   | --localstate | --localstat | --localsta | --localst | --locals)
   1178     ac_prev=localstatedir ;;
   1179   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1180   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1181     localstatedir=$ac_optarg ;;
   1182 
   1183   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1184     ac_prev=mandir ;;
   1185   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1186     mandir=$ac_optarg ;;
   1187 
   1188   -nfp | --nfp | --nf)
   1189     # Obsolete; use --without-fp.
   1190     with_fp=no ;;
   1191 
   1192   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1193   | --no-cr | --no-c | -n)
   1194     no_create=yes ;;
   1195 
   1196   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1197   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1198     no_recursion=yes ;;
   1199 
   1200   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1201   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1202   | --oldin | --oldi | --old | --ol | --o)
   1203     ac_prev=oldincludedir ;;
   1204   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1205   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1206   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1207     oldincludedir=$ac_optarg ;;
   1208 
   1209   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1210     ac_prev=prefix ;;
   1211   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1212     prefix=$ac_optarg ;;
   1213 
   1214   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1215   | --program-pre | --program-pr | --program-p)
   1216     ac_prev=program_prefix ;;
   1217   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1218   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1219     program_prefix=$ac_optarg ;;
   1220 
   1221   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1222   | --program-suf | --program-su | --program-s)
   1223     ac_prev=program_suffix ;;
   1224   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1225   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1226     program_suffix=$ac_optarg ;;
   1227 
   1228   -program-transform-name | --program-transform-name \
   1229   | --program-transform-nam | --program-transform-na \
   1230   | --program-transform-n | --program-transform- \
   1231   | --program-transform | --program-transfor \
   1232   | --program-transfo | --program-transf \
   1233   | --program-trans | --program-tran \
   1234   | --progr-tra | --program-tr | --program-t)
   1235     ac_prev=program_transform_name ;;
   1236   -program-transform-name=* | --program-transform-name=* \
   1237   | --program-transform-nam=* | --program-transform-na=* \
   1238   | --program-transform-n=* | --program-transform-=* \
   1239   | --program-transform=* | --program-transfor=* \
   1240   | --program-transfo=* | --program-transf=* \
   1241   | --program-trans=* | --program-tran=* \
   1242   | --progr-tra=* | --program-tr=* | --program-t=*)
   1243     program_transform_name=$ac_optarg ;;
   1244 
   1245   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1246     ac_prev=pdfdir ;;
   1247   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1248     pdfdir=$ac_optarg ;;
   1249 
   1250   -psdir | --psdir | --psdi | --psd | --ps)
   1251     ac_prev=psdir ;;
   1252   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1253     psdir=$ac_optarg ;;
   1254 
   1255   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1256   | -silent | --silent | --silen | --sile | --sil)
   1257     silent=yes ;;
   1258 
   1259   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1260     ac_prev=sbindir ;;
   1261   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1262   | --sbi=* | --sb=*)
   1263     sbindir=$ac_optarg ;;
   1264 
   1265   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1266   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1267   | --sharedst | --shareds | --shared | --share | --shar \
   1268   | --sha | --sh)
   1269     ac_prev=sharedstatedir ;;
   1270   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1271   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1272   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1273   | --sha=* | --sh=*)
   1274     sharedstatedir=$ac_optarg ;;
   1275 
   1276   -site | --site | --sit)
   1277     ac_prev=site ;;
   1278   -site=* | --site=* | --sit=*)
   1279     site=$ac_optarg ;;
   1280 
   1281   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1282     ac_prev=srcdir ;;
   1283   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1284     srcdir=$ac_optarg ;;
   1285 
   1286   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1287   | --syscon | --sysco | --sysc | --sys | --sy)
   1288     ac_prev=sysconfdir ;;
   1289   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1290   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1291     sysconfdir=$ac_optarg ;;
   1292 
   1293   -target | --target | --targe | --targ | --tar | --ta | --t)
   1294     ac_prev=target_alias ;;
   1295   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1296     target_alias=$ac_optarg ;;
   1297 
   1298   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1299     verbose=yes ;;
   1300 
   1301   -version | --version | --versio | --versi | --vers | -V)
   1302     ac_init_version=: ;;
   1303 
   1304   -with-* | --with-*)
   1305     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1306     # Reject names that are not valid shell variable names.
   1307     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1308       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1309    { (exit 1); exit 1; }; }
   1310     ac_useropt_orig=$ac_useropt
   1311     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1312     case $ac_user_opts in
   1313       *"
   1314 "with_$ac_useropt"
   1315 "*) ;;
   1316       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1317 	 ac_unrecognized_sep=', ';;
   1318     esac
   1319     eval with_$ac_useropt=\$ac_optarg ;;
   1320 
   1321   -without-* | --without-*)
   1322     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1323     # Reject names that are not valid shell variable names.
   1324     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1325       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1326    { (exit 1); exit 1; }; }
   1327     ac_useropt_orig=$ac_useropt
   1328     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1329     case $ac_user_opts in
   1330       *"
   1331 "with_$ac_useropt"
   1332 "*) ;;
   1333       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1334 	 ac_unrecognized_sep=', ';;
   1335     esac
   1336     eval with_$ac_useropt=no ;;
   1337 
   1338   --x)
   1339     # Obsolete; use --with-x.
   1340     with_x=yes ;;
   1341 
   1342   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1343   | --x-incl | --x-inc | --x-in | --x-i)
   1344     ac_prev=x_includes ;;
   1345   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1346   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1347     x_includes=$ac_optarg ;;
   1348 
   1349   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1350   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1351     ac_prev=x_libraries ;;
   1352   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1353   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1354     x_libraries=$ac_optarg ;;
   1355 
   1356   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1357 Try \`$0 --help' for more information." >&2
   1358    { (exit 1); exit 1; }; }
   1359     ;;
   1360 
   1361   *=*)
   1362     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1363     # Reject names that are not valid shell variable names.
   1364     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1365       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1366    { (exit 1); exit 1; }; }
   1367     eval $ac_envvar=\$ac_optarg
   1368     export $ac_envvar ;;
   1369 
   1370   *)
   1371     # FIXME: should be removed in autoconf 3.0.
   1372     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1373     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1374       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1375     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1376     ;;
   1377 
   1378   esac
   1379 done
   1380 
   1381 if test -n "$ac_prev"; then
   1382   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1383   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1384    { (exit 1); exit 1; }; }
   1385 fi
   1386 
   1387 if test -n "$ac_unrecognized_opts"; then
   1388   case $enable_option_checking in
   1389     no) ;;
   1390     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1391    { (exit 1); exit 1; }; } ;;
   1392     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1393   esac
   1394 fi
   1395 
   1396 # Check all directory arguments for consistency.
   1397 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1398 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1399 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1400 		libdir localedir mandir
   1401 do
   1402   eval ac_val=\$$ac_var
   1403   # Remove trailing slashes.
   1404   case $ac_val in
   1405     */ )
   1406       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1407       eval $ac_var=\$ac_val;;
   1408   esac
   1409   # Be sure to have absolute directory names.
   1410   case $ac_val in
   1411     [\\/$]* | ?:[\\/]* )  continue;;
   1412     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1413   esac
   1414   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1415    { (exit 1); exit 1; }; }
   1416 done
   1417 
   1418 # There might be people who depend on the old broken behavior: `$host'
   1419 # used to hold the argument of --host etc.
   1420 # FIXME: To remove some day.
   1421 build=$build_alias
   1422 host=$host_alias
   1423 target=$target_alias
   1424 
   1425 # FIXME: To remove some day.
   1426 if test "x$host_alias" != x; then
   1427   if test "x$build_alias" = x; then
   1428     cross_compiling=maybe
   1429     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1430     If a cross compiler is detected then cross compile mode will be used." >&2
   1431   elif test "x$build_alias" != "x$host_alias"; then
   1432     cross_compiling=yes
   1433   fi
   1434 fi
   1435 
   1436 ac_tool_prefix=
   1437 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1438 
   1439 test "$silent" = yes && exec 6>/dev/null
   1440 
   1441 
   1442 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1443 ac_ls_di=`ls -di .` &&
   1444 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1445   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1446    { (exit 1); exit 1; }; }
   1447 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1448   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1449    { (exit 1); exit 1; }; }
   1450 
   1451 
   1452 # Find the source files, if location was not specified.
   1453 if test -z "$srcdir"; then
   1454   ac_srcdir_defaulted=yes
   1455   # Try the directory containing this script, then the parent directory.
   1456   ac_confdir=`$as_dirname -- "$as_myself" ||
   1457 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1458 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1459 	 X"$as_myself" : 'X\(//\)$' \| \
   1460 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1461 $as_echo X"$as_myself" |
   1462     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1463 	    s//\1/
   1464 	    q
   1465 	  }
   1466 	  /^X\(\/\/\)[^/].*/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  /^X\(\/\/\)$/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\).*/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  s/.*/./; q'`
   1479   srcdir=$ac_confdir
   1480   if test ! -r "$srcdir/$ac_unique_file"; then
   1481     srcdir=..
   1482   fi
   1483 else
   1484   ac_srcdir_defaulted=no
   1485 fi
   1486 if test ! -r "$srcdir/$ac_unique_file"; then
   1487   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1488   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1489    { (exit 1); exit 1; }; }
   1490 fi
   1491 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1492 ac_abs_confdir=`(
   1493 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1494    { (exit 1); exit 1; }; }
   1495 	pwd)`
   1496 # When building in place, set srcdir=.
   1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1498   srcdir=.
   1499 fi
   1500 # Remove unnecessary trailing slashes from srcdir.
   1501 # Double slashes in file names in object file debugging info
   1502 # mess up M-x gdb in Emacs.
   1503 case $srcdir in
   1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1505 esac
   1506 for ac_var in $ac_precious_vars; do
   1507   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1508   eval ac_env_${ac_var}_value=\$${ac_var}
   1509   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1510   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1511 done
   1512 
   1513 #
   1514 # Report the --help message.
   1515 #
   1516 if test "$ac_init_help" = "long"; then
   1517   # Omit some internal or obsolete options to make the list less imposing.
   1518   # This message is too long to be a string in the A/UX 3.1 sh.
   1519   cat <<_ACEOF
   1520 \`configure' configures libXvMC 1.0.5 to adapt to many kinds of systems.
   1521 
   1522 Usage: $0 [OPTION]... [VAR=VALUE]...
   1523 
   1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1525 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1526 
   1527 Defaults for the options are specified in brackets.
   1528 
   1529 Configuration:
   1530   -h, --help              display this help and exit
   1531       --help=short        display options specific to this package
   1532       --help=recursive    display the short help of all the included packages
   1533   -V, --version           display version information and exit
   1534   -q, --quiet, --silent   do not print \`checking...' messages
   1535       --cache-file=FILE   cache test results in FILE [disabled]
   1536   -C, --config-cache      alias for \`--cache-file=config.cache'
   1537   -n, --no-create         do not create output files
   1538       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1539 
   1540 Installation directories:
   1541   --prefix=PREFIX         install architecture-independent files in PREFIX
   1542                           [$ac_default_prefix]
   1543   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1544                           [PREFIX]
   1545 
   1546 By default, \`make install' will install all the files in
   1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1549 for instance \`--prefix=\$HOME'.
   1550 
   1551 For better control, use the options below.
   1552 
   1553 Fine tuning of the installation directories:
   1554   --bindir=DIR            user executables [EPREFIX/bin]
   1555   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1556   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1557   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1558   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1559   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1560   --libdir=DIR            object code libraries [EPREFIX/lib]
   1561   --includedir=DIR        C header files [PREFIX/include]
   1562   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1563   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1564   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1565   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1566   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1567   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1568   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXvMC]
   1569   --htmldir=DIR           html documentation [DOCDIR]
   1570   --dvidir=DIR            dvi documentation [DOCDIR]
   1571   --pdfdir=DIR            pdf documentation [DOCDIR]
   1572   --psdir=DIR             ps documentation [DOCDIR]
   1573 _ACEOF
   1574 
   1575   cat <<\_ACEOF
   1576 
   1577 Program names:
   1578   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1579   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1580   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1581 
   1582 System types:
   1583   --build=BUILD     configure for building on BUILD [guessed]
   1584   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1585 _ACEOF
   1586 fi
   1587 
   1588 if test -n "$ac_init_help"; then
   1589   case $ac_init_help in
   1590      short | recursive ) echo "Configuration of libXvMC 1.0.5:";;
   1591    esac
   1592   cat <<\_ACEOF
   1593 
   1594 Optional Features:
   1595   --disable-option-checking  ignore unrecognized --enable/--with options
   1596   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1597   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1598   --enable-maintainer-mode  enable make rules and dependencies not useful
   1599 			  (and sometimes confusing) to the casual installer
   1600   --disable-dependency-tracking  speeds up one-time build
   1601   --enable-dependency-tracking   do not reject slow dependency extractors
   1602   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1603   --enable-static[=PKGS]  build static libraries [default=yes]
   1604   --enable-fast-install[=PKGS]
   1605                           optimize for fast installation [default=yes]
   1606   --disable-libtool-lock  avoid locking (might break parallel builds)
   1607   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1608   --disable-silent-rules         verbose build output (undo: `make V=0')
   1609   --enable-strict-compilation
   1610                           Enable all warnings from compiler and make them
   1611                           errors (default: disabled)
   1612   --enable-malloc0returnsnull
   1613                           malloc(0) returns NULL (default: auto)
   1614 
   1615 Optional Packages:
   1616   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1617   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1618   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1619   --with-pic              try to use only PIC/non-PIC objects [default=use
   1620                           both]
   1621   --with-tags[=TAGS]      include additional configurations [automatic]
   1622   --with-release-version=STRING
   1623                           Use release version string in package name
   1624   --with-lint             Use a lint-style source code checker (default:
   1625                           disabled)
   1626 
   1627 Some influential environment variables:
   1628   CC          C compiler command
   1629   CFLAGS      C compiler flags
   1630   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1631               nonstandard directory <lib dir>
   1632   LIBS        libraries to pass to the linker, e.g. -l<library>
   1633   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1634               you have headers in a nonstandard directory <include dir>
   1635   CPP         C preprocessor
   1636   CXX         C++ compiler command
   1637   CXXFLAGS    C++ compiler flags
   1638   CXXCPP      C++ preprocessor
   1639   F77         Fortran 77 compiler command
   1640   FFLAGS      Fortran 77 compiler flags
   1641   PKG_CONFIG  path to pkg-config utility
   1642   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1643   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1644 
   1645 Use these variables to override the choices made by `configure' or to help
   1646 it to find libraries and programs with nonstandard names/locations.
   1647 
   1648 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1649 _ACEOF
   1650 ac_status=$?
   1651 fi
   1652 
   1653 if test "$ac_init_help" = "recursive"; then
   1654   # If there are subdirs, report their specific --help.
   1655   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1656     test -d "$ac_dir" ||
   1657       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1658       continue
   1659     ac_builddir=.
   1660 
   1661 case "$ac_dir" in
   1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1663 *)
   1664   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1665   # A ".." for each directory in $ac_dir_suffix.
   1666   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1667   case $ac_top_builddir_sub in
   1668   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1669   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1670   esac ;;
   1671 esac
   1672 ac_abs_top_builddir=$ac_pwd
   1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1674 # for backward compatibility:
   1675 ac_top_builddir=$ac_top_build_prefix
   1676 
   1677 case $srcdir in
   1678   .)  # We are building in place.
   1679     ac_srcdir=.
   1680     ac_top_srcdir=$ac_top_builddir_sub
   1681     ac_abs_top_srcdir=$ac_pwd ;;
   1682   [\\/]* | ?:[\\/]* )  # Absolute name.
   1683     ac_srcdir=$srcdir$ac_dir_suffix;
   1684     ac_top_srcdir=$srcdir
   1685     ac_abs_top_srcdir=$srcdir ;;
   1686   *) # Relative name.
   1687     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1688     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1689     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1690 esac
   1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1692 
   1693     cd "$ac_dir" || { ac_status=$?; continue; }
   1694     # Check for guested configure.
   1695     if test -f "$ac_srcdir/configure.gnu"; then
   1696       echo &&
   1697       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1698     elif test -f "$ac_srcdir/configure"; then
   1699       echo &&
   1700       $SHELL "$ac_srcdir/configure" --help=recursive
   1701     else
   1702       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1703     fi || ac_status=$?
   1704     cd "$ac_pwd" || { ac_status=$?; break; }
   1705   done
   1706 fi
   1707 
   1708 test -n "$ac_init_help" && exit $ac_status
   1709 if $ac_init_version; then
   1710   cat <<\_ACEOF
   1711 libXvMC configure 1.0.5
   1712 generated by GNU Autoconf 2.63
   1713 
   1714 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1715 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1716 This configure script is free software; the Free Software Foundation
   1717 gives unlimited permission to copy, distribute and modify it.
   1718 _ACEOF
   1719   exit
   1720 fi
   1721 cat >config.log <<_ACEOF
   1722 This file contains any messages produced by compilers while
   1723 running configure, to aid debugging if configure makes a mistake.
   1724 
   1725 It was created by libXvMC $as_me 1.0.5, which was
   1726 generated by GNU Autoconf 2.63.  Invocation command line was
   1727 
   1728   $ $0 $@
   1729 
   1730 _ACEOF
   1731 exec 5>>config.log
   1732 {
   1733 cat <<_ASUNAME
   1734 ## --------- ##
   1735 ## Platform. ##
   1736 ## --------- ##
   1737 
   1738 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1739 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1740 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1741 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1742 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1743 
   1744 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1745 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1746 
   1747 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1748 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1749 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1750 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1751 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1752 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1753 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1754 
   1755 _ASUNAME
   1756 
   1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1758 for as_dir in $PATH
   1759 do
   1760   IFS=$as_save_IFS
   1761   test -z "$as_dir" && as_dir=.
   1762   $as_echo "PATH: $as_dir"
   1763 done
   1764 IFS=$as_save_IFS
   1765 
   1766 } >&5
   1767 
   1768 cat >&5 <<_ACEOF
   1769 
   1770 
   1771 ## ----------- ##
   1772 ## Core tests. ##
   1773 ## ----------- ##
   1774 
   1775 _ACEOF
   1776 
   1777 
   1778 # Keep a trace of the command line.
   1779 # Strip out --no-create and --no-recursion so they do not pile up.
   1780 # Strip out --silent because we don't want to record it for future runs.
   1781 # Also quote any args containing shell meta-characters.
   1782 # Make two passes to allow for proper duplicate-argument suppression.
   1783 ac_configure_args=
   1784 ac_configure_args0=
   1785 ac_configure_args1=
   1786 ac_must_keep_next=false
   1787 for ac_pass in 1 2
   1788 do
   1789   for ac_arg
   1790   do
   1791     case $ac_arg in
   1792     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1793     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1794     | -silent | --silent | --silen | --sile | --sil)
   1795       continue ;;
   1796     *\'*)
   1797       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1798     esac
   1799     case $ac_pass in
   1800     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1801     2)
   1802       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1803       if test $ac_must_keep_next = true; then
   1804 	ac_must_keep_next=false # Got value, back to normal.
   1805       else
   1806 	case $ac_arg in
   1807 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1808 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1809 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1810 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1811 	    case "$ac_configure_args0 " in
   1812 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1813 	    esac
   1814 	    ;;
   1815 	  -* ) ac_must_keep_next=true ;;
   1816 	esac
   1817       fi
   1818       ac_configure_args="$ac_configure_args '$ac_arg'"
   1819       ;;
   1820     esac
   1821   done
   1822 done
   1823 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1824 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1825 
   1826 # When interrupted or exit'd, cleanup temporary files, and complete
   1827 # config.log.  We remove comments because anyway the quotes in there
   1828 # would cause problems or look ugly.
   1829 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1830 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1831 trap 'exit_status=$?
   1832   # Save into config.log some information that might help in debugging.
   1833   {
   1834     echo
   1835 
   1836     cat <<\_ASBOX
   1837 ## ---------------- ##
   1838 ## Cache variables. ##
   1839 ## ---------------- ##
   1840 _ASBOX
   1841     echo
   1842     # The following way of writing the cache mishandles newlines in values,
   1843 (
   1844   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1845     eval ac_val=\$$ac_var
   1846     case $ac_val in #(
   1847     *${as_nl}*)
   1848       case $ac_var in #(
   1849       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1851       esac
   1852       case $ac_var in #(
   1853       _ | IFS | as_nl) ;; #(
   1854       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1855       *) $as_unset $ac_var ;;
   1856       esac ;;
   1857     esac
   1858   done
   1859   (set) 2>&1 |
   1860     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1861     *${as_nl}ac_space=\ *)
   1862       sed -n \
   1863 	"s/'\''/'\''\\\\'\'''\''/g;
   1864 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1865       ;; #(
   1866     *)
   1867       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1868       ;;
   1869     esac |
   1870     sort
   1871 )
   1872     echo
   1873 
   1874     cat <<\_ASBOX
   1875 ## ----------------- ##
   1876 ## Output variables. ##
   1877 ## ----------------- ##
   1878 _ASBOX
   1879     echo
   1880     for ac_var in $ac_subst_vars
   1881     do
   1882       eval ac_val=\$$ac_var
   1883       case $ac_val in
   1884       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1885       esac
   1886       $as_echo "$ac_var='\''$ac_val'\''"
   1887     done | sort
   1888     echo
   1889 
   1890     if test -n "$ac_subst_files"; then
   1891       cat <<\_ASBOX
   1892 ## ------------------- ##
   1893 ## File substitutions. ##
   1894 ## ------------------- ##
   1895 _ASBOX
   1896       echo
   1897       for ac_var in $ac_subst_files
   1898       do
   1899 	eval ac_val=\$$ac_var
   1900 	case $ac_val in
   1901 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1902 	esac
   1903 	$as_echo "$ac_var='\''$ac_val'\''"
   1904       done | sort
   1905       echo
   1906     fi
   1907 
   1908     if test -s confdefs.h; then
   1909       cat <<\_ASBOX
   1910 ## ----------- ##
   1911 ## confdefs.h. ##
   1912 ## ----------- ##
   1913 _ASBOX
   1914       echo
   1915       cat confdefs.h
   1916       echo
   1917     fi
   1918     test "$ac_signal" != 0 &&
   1919       $as_echo "$as_me: caught signal $ac_signal"
   1920     $as_echo "$as_me: exit $exit_status"
   1921   } >&5
   1922   rm -f core *.core core.conftest.* &&
   1923     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1924     exit $exit_status
   1925 ' 0
   1926 for ac_signal in 1 2 13 15; do
   1927   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1928 done
   1929 ac_signal=0
   1930 
   1931 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1932 rm -f -r conftest* confdefs.h
   1933 
   1934 # Predefined preprocessor variables.
   1935 
   1936 cat >>confdefs.h <<_ACEOF
   1937 #define PACKAGE_NAME "$PACKAGE_NAME"
   1938 _ACEOF
   1939 
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1943 _ACEOF
   1944 
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1948 _ACEOF
   1949 
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_STRING "$PACKAGE_STRING"
   1953 _ACEOF
   1954 
   1955 
   1956 cat >>confdefs.h <<_ACEOF
   1957 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1958 _ACEOF
   1959 
   1960 
   1961 # Let the site file select an alternate cache file if it wants to.
   1962 # Prefer an explicitly selected file to automatically selected ones.
   1963 ac_site_file1=NONE
   1964 ac_site_file2=NONE
   1965 if test -n "$CONFIG_SITE"; then
   1966   ac_site_file1=$CONFIG_SITE
   1967 elif test "x$prefix" != xNONE; then
   1968   ac_site_file1=$prefix/share/config.site
   1969   ac_site_file2=$prefix/etc/config.site
   1970 else
   1971   ac_site_file1=$ac_default_prefix/share/config.site
   1972   ac_site_file2=$ac_default_prefix/etc/config.site
   1973 fi
   1974 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1975 do
   1976   test "x$ac_site_file" = xNONE && continue
   1977   if test -r "$ac_site_file"; then
   1978     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1979 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1980     sed 's/^/| /' "$ac_site_file" >&5
   1981     . "$ac_site_file"
   1982   fi
   1983 done
   1984 
   1985 if test -r "$cache_file"; then
   1986   # Some versions of bash will fail to source /dev/null (special
   1987   # files actually), so we avoid doing that.
   1988   if test -f "$cache_file"; then
   1989     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1990 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1991     case $cache_file in
   1992       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1993       *)                      . "./$cache_file";;
   1994     esac
   1995   fi
   1996 else
   1997   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1998 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1999   >$cache_file
   2000 fi
   2001 
   2002 # Check that the precious variables saved in the cache have kept the same
   2003 # value.
   2004 ac_cache_corrupted=false
   2005 for ac_var in $ac_precious_vars; do
   2006   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2007   eval ac_new_set=\$ac_env_${ac_var}_set
   2008   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2009   eval ac_new_val=\$ac_env_${ac_var}_value
   2010   case $ac_old_set,$ac_new_set in
   2011     set,)
   2012       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2013 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2014       ac_cache_corrupted=: ;;
   2015     ,set)
   2016       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2017 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2018       ac_cache_corrupted=: ;;
   2019     ,);;
   2020     *)
   2021       if test "x$ac_old_val" != "x$ac_new_val"; then
   2022 	# differences in whitespace do not lead to failure.
   2023 	ac_old_val_w=`echo x $ac_old_val`
   2024 	ac_new_val_w=`echo x $ac_new_val`
   2025 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2026 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2027 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2028 	  ac_cache_corrupted=:
   2029 	else
   2030 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2031 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2032 	  eval $ac_var=\$ac_old_val
   2033 	fi
   2034 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2035 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2036 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2037 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2038       fi;;
   2039   esac
   2040   # Pass precious variables to config.status.
   2041   if test "$ac_new_set" = set; then
   2042     case $ac_new_val in
   2043     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2044     *) ac_arg=$ac_var=$ac_new_val ;;
   2045     esac
   2046     case " $ac_configure_args " in
   2047       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2048       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2049     esac
   2050   fi
   2051 done
   2052 if $ac_cache_corrupted; then
   2053   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2055   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2056 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2057   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2058 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2059    { (exit 1); exit 1; }; }
   2060 fi
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 ac_ext=c
   2087 ac_cpp='$CPP $CPPFLAGS'
   2088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2091 
   2092 
   2093 am__api_version='1.11'
   2094 
   2095 ac_aux_dir=
   2096 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2097   if test -f "$ac_dir/install-sh"; then
   2098     ac_aux_dir=$ac_dir
   2099     ac_install_sh="$ac_aux_dir/install-sh -c"
   2100     break
   2101   elif test -f "$ac_dir/install.sh"; then
   2102     ac_aux_dir=$ac_dir
   2103     ac_install_sh="$ac_aux_dir/install.sh -c"
   2104     break
   2105   elif test -f "$ac_dir/shtool"; then
   2106     ac_aux_dir=$ac_dir
   2107     ac_install_sh="$ac_aux_dir/shtool install -c"
   2108     break
   2109   fi
   2110 done
   2111 if test -z "$ac_aux_dir"; then
   2112   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2113 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2114    { (exit 1); exit 1; }; }
   2115 fi
   2116 
   2117 # These three variables are undocumented and unsupported,
   2118 # and are intended to be withdrawn in a future Autoconf release.
   2119 # They can cause serious problems if a builder's source tree is in a directory
   2120 # whose full name contains unusual characters.
   2121 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2122 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2123 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2124 
   2125 
   2126 # Find a good install program.  We prefer a C program (faster),
   2127 # so one script is as good as another.  But avoid the broken or
   2128 # incompatible versions:
   2129 # SysV /etc/install, /usr/sbin/install
   2130 # SunOS /usr/etc/install
   2131 # IRIX /sbin/install
   2132 # AIX /bin/install
   2133 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2134 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2135 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2136 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2137 # OS/2's system install, which has a completely different semantic
   2138 # ./install, which can be erroneously created by make from ./install.sh.
   2139 # Reject install programs that cannot install multiple files.
   2140 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2141 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2142 if test -z "$INSTALL"; then
   2143 if test "${ac_cv_path_install+set}" = set; then
   2144   $as_echo_n "(cached) " >&6
   2145 else
   2146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2147 for as_dir in $PATH
   2148 do
   2149   IFS=$as_save_IFS
   2150   test -z "$as_dir" && as_dir=.
   2151   # Account for people who put trailing slashes in PATH elements.
   2152 case $as_dir/ in
   2153   ./ | .// | /cC/* | \
   2154   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2155   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2156   /usr/ucb/* ) ;;
   2157   *)
   2158     # OSF1 and SCO ODT 3.0 have their own names for install.
   2159     # Don't use installbsd from OSF since it installs stuff as root
   2160     # by default.
   2161     for ac_prog in ginstall scoinst install; do
   2162       for ac_exec_ext in '' $ac_executable_extensions; do
   2163 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2164 	  if test $ac_prog = install &&
   2165 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2166 	    # AIX install.  It has an incompatible calling convention.
   2167 	    :
   2168 	  elif test $ac_prog = install &&
   2169 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2170 	    # program-specific install script used by HP pwplus--don't use.
   2171 	    :
   2172 	  else
   2173 	    rm -rf conftest.one conftest.two conftest.dir
   2174 	    echo one > conftest.one
   2175 	    echo two > conftest.two
   2176 	    mkdir conftest.dir
   2177 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2178 	      test -s conftest.one && test -s conftest.two &&
   2179 	      test -s conftest.dir/conftest.one &&
   2180 	      test -s conftest.dir/conftest.two
   2181 	    then
   2182 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2183 	      break 3
   2184 	    fi
   2185 	  fi
   2186 	fi
   2187       done
   2188     done
   2189     ;;
   2190 esac
   2191 
   2192 done
   2193 IFS=$as_save_IFS
   2194 
   2195 rm -rf conftest.one conftest.two conftest.dir
   2196 
   2197 fi
   2198   if test "${ac_cv_path_install+set}" = set; then
   2199     INSTALL=$ac_cv_path_install
   2200   else
   2201     # As a last resort, use the slow shell script.  Don't cache a
   2202     # value for INSTALL within a source directory, because that will
   2203     # break other packages using the cache if that directory is
   2204     # removed, or if the value is a relative name.
   2205     INSTALL=$ac_install_sh
   2206   fi
   2207 fi
   2208 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2209 $as_echo "$INSTALL" >&6; }
   2210 
   2211 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2212 # It thinks the first close brace ends the variable substitution.
   2213 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2214 
   2215 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2216 
   2217 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2218 
   2219 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2220 $as_echo_n "checking whether build environment is sane... " >&6; }
   2221 # Just in case
   2222 sleep 1
   2223 echo timestamp > conftest.file
   2224 # Reject unsafe characters in $srcdir or the absolute working directory
   2225 # name.  Accept space and tab only in the latter.
   2226 am_lf='
   2227 '
   2228 case `pwd` in
   2229   *[\\\"\#\$\&\'\`$am_lf]*)
   2230     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2231 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2232    { (exit 1); exit 1; }; };;
   2233 esac
   2234 case $srcdir in
   2235   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2236     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2237 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2238    { (exit 1); exit 1; }; };;
   2239 esac
   2240 
   2241 # Do `set' in a subshell so we don't clobber the current shell's
   2242 # arguments.  Must try -L first in case configure is actually a
   2243 # symlink; some systems play weird games with the mod time of symlinks
   2244 # (eg FreeBSD returns the mod time of the symlink's containing
   2245 # directory).
   2246 if (
   2247    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2248    if test "$*" = "X"; then
   2249       # -L didn't work.
   2250       set X `ls -t "$srcdir/configure" conftest.file`
   2251    fi
   2252    rm -f conftest.file
   2253    if test "$*" != "X $srcdir/configure conftest.file" \
   2254       && test "$*" != "X conftest.file $srcdir/configure"; then
   2255 
   2256       # If neither matched, then we have a broken ls.  This can happen
   2257       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2258       # broken ls alias from the environment.  This has actually
   2259       # happened.  Such a system could not be considered "sane".
   2260       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2261 alias in your environment" >&5
   2262 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2263 alias in your environment" >&2;}
   2264    { (exit 1); exit 1; }; }
   2265    fi
   2266 
   2267    test "$2" = conftest.file
   2268    )
   2269 then
   2270    # Ok.
   2271    :
   2272 else
   2273    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2274 Check your system clock" >&5
   2275 $as_echo "$as_me: error: newly created file is older than distributed files!
   2276 Check your system clock" >&2;}
   2277    { (exit 1); exit 1; }; }
   2278 fi
   2279 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2280 $as_echo "yes" >&6; }
   2281 test "$program_prefix" != NONE &&
   2282   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2283 # Use a double $ so make ignores it.
   2284 test "$program_suffix" != NONE &&
   2285   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2286 # Double any \ or $.
   2287 # By default was `s,x,x', remove it if useless.
   2288 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2289 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2290 
   2291 # expand $ac_aux_dir to an absolute path
   2292 am_aux_dir=`cd $ac_aux_dir && pwd`
   2293 
   2294 if test x"${MISSING+set}" != xset; then
   2295   case $am_aux_dir in
   2296   *\ * | *\	*)
   2297     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2298   *)
   2299     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2300   esac
   2301 fi
   2302 # Use eval to expand $SHELL
   2303 if eval "$MISSING --run true"; then
   2304   am_missing_run="$MISSING --run "
   2305 else
   2306   am_missing_run=
   2307   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2308 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2309 fi
   2310 
   2311 if test x"${install_sh}" != xset; then
   2312   case $am_aux_dir in
   2313   *\ * | *\	*)
   2314     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2315   *)
   2316     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2317   esac
   2318 fi
   2319 
   2320 # Installed binaries are usually stripped using `strip' when the user
   2321 # run `make install-strip'.  However `strip' might not be the right
   2322 # tool to use in cross-compilation environments, therefore Automake
   2323 # will honor the `STRIP' environment variable to overrule this program.
   2324 if test "$cross_compiling" != no; then
   2325   if test -n "$ac_tool_prefix"; then
   2326   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2327 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2328 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2329 $as_echo_n "checking for $ac_word... " >&6; }
   2330 if test "${ac_cv_prog_STRIP+set}" = set; then
   2331   $as_echo_n "(cached) " >&6
   2332 else
   2333   if test -n "$STRIP"; then
   2334   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2335 else
   2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2337 for as_dir in $PATH
   2338 do
   2339   IFS=$as_save_IFS
   2340   test -z "$as_dir" && as_dir=.
   2341   for ac_exec_ext in '' $ac_executable_extensions; do
   2342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2343     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2344     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2345     break 2
   2346   fi
   2347 done
   2348 done
   2349 IFS=$as_save_IFS
   2350 
   2351 fi
   2352 fi
   2353 STRIP=$ac_cv_prog_STRIP
   2354 if test -n "$STRIP"; then
   2355   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2356 $as_echo "$STRIP" >&6; }
   2357 else
   2358   { $as_echo "$as_me:$LINENO: result: no" >&5
   2359 $as_echo "no" >&6; }
   2360 fi
   2361 
   2362 
   2363 fi
   2364 if test -z "$ac_cv_prog_STRIP"; then
   2365   ac_ct_STRIP=$STRIP
   2366   # Extract the first word of "strip", so it can be a program name with args.
   2367 set dummy strip; ac_word=$2
   2368 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2369 $as_echo_n "checking for $ac_word... " >&6; }
   2370 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2371   $as_echo_n "(cached) " >&6
   2372 else
   2373   if test -n "$ac_ct_STRIP"; then
   2374   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2375 else
   2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2377 for as_dir in $PATH
   2378 do
   2379   IFS=$as_save_IFS
   2380   test -z "$as_dir" && as_dir=.
   2381   for ac_exec_ext in '' $ac_executable_extensions; do
   2382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2383     ac_cv_prog_ac_ct_STRIP="strip"
   2384     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2385     break 2
   2386   fi
   2387 done
   2388 done
   2389 IFS=$as_save_IFS
   2390 
   2391 fi
   2392 fi
   2393 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2394 if test -n "$ac_ct_STRIP"; then
   2395   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2396 $as_echo "$ac_ct_STRIP" >&6; }
   2397 else
   2398   { $as_echo "$as_me:$LINENO: result: no" >&5
   2399 $as_echo "no" >&6; }
   2400 fi
   2401 
   2402   if test "x$ac_ct_STRIP" = x; then
   2403     STRIP=":"
   2404   else
   2405     case $cross_compiling:$ac_tool_warned in
   2406 yes:)
   2407 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2409 ac_tool_warned=yes ;;
   2410 esac
   2411     STRIP=$ac_ct_STRIP
   2412   fi
   2413 else
   2414   STRIP="$ac_cv_prog_STRIP"
   2415 fi
   2416 
   2417 fi
   2418 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2419 
   2420 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2421 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2422 if test -z "$MKDIR_P"; then
   2423   if test "${ac_cv_path_mkdir+set}" = set; then
   2424   $as_echo_n "(cached) " >&6
   2425 else
   2426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2427 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2428 do
   2429   IFS=$as_save_IFS
   2430   test -z "$as_dir" && as_dir=.
   2431   for ac_prog in mkdir gmkdir; do
   2432 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2433 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2434 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2435 	     'mkdir (GNU coreutils) '* | \
   2436 	     'mkdir (coreutils) '* | \
   2437 	     'mkdir (fileutils) '4.1*)
   2438 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2439 	       break 3;;
   2440 	   esac
   2441 	 done
   2442        done
   2443 done
   2444 IFS=$as_save_IFS
   2445 
   2446 fi
   2447 
   2448   if test "${ac_cv_path_mkdir+set}" = set; then
   2449     MKDIR_P="$ac_cv_path_mkdir -p"
   2450   else
   2451     # As a last resort, use the slow shell script.  Don't cache a
   2452     # value for MKDIR_P within a source directory, because that will
   2453     # break other packages using the cache if that directory is
   2454     # removed, or if the value is a relative name.
   2455     test -d ./--version && rmdir ./--version
   2456     MKDIR_P="$ac_install_sh -d"
   2457   fi
   2458 fi
   2459 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2460 $as_echo "$MKDIR_P" >&6; }
   2461 
   2462 mkdir_p="$MKDIR_P"
   2463 case $mkdir_p in
   2464   [\\/$]* | ?:[\\/]*) ;;
   2465   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2466 esac
   2467 
   2468 for ac_prog in gawk mawk nawk awk
   2469 do
   2470   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2471 set dummy $ac_prog; ac_word=$2
   2472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2473 $as_echo_n "checking for $ac_word... " >&6; }
   2474 if test "${ac_cv_prog_AWK+set}" = set; then
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   if test -n "$AWK"; then
   2478   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2479 else
   2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2481 for as_dir in $PATH
   2482 do
   2483   IFS=$as_save_IFS
   2484   test -z "$as_dir" && as_dir=.
   2485   for ac_exec_ext in '' $ac_executable_extensions; do
   2486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2487     ac_cv_prog_AWK="$ac_prog"
   2488     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2489     break 2
   2490   fi
   2491 done
   2492 done
   2493 IFS=$as_save_IFS
   2494 
   2495 fi
   2496 fi
   2497 AWK=$ac_cv_prog_AWK
   2498 if test -n "$AWK"; then
   2499   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2500 $as_echo "$AWK" >&6; }
   2501 else
   2502   { $as_echo "$as_me:$LINENO: result: no" >&5
   2503 $as_echo "no" >&6; }
   2504 fi
   2505 
   2506 
   2507   test -n "$AWK" && break
   2508 done
   2509 
   2510 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2511 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2512 set x ${MAKE-make}
   2513 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2514 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2515   $as_echo_n "(cached) " >&6
   2516 else
   2517   cat >conftest.make <<\_ACEOF
   2518 SHELL = /bin/sh
   2519 all:
   2520 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2521 _ACEOF
   2522 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2524   *@@@%%%=?*=@@@%%%*)
   2525     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2526   *)
   2527     eval ac_cv_prog_make_${ac_make}_set=no;;
   2528 esac
   2529 rm -f conftest.make
   2530 fi
   2531 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2532   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2533 $as_echo "yes" >&6; }
   2534   SET_MAKE=
   2535 else
   2536   { $as_echo "$as_me:$LINENO: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538   SET_MAKE="MAKE=${MAKE-make}"
   2539 fi
   2540 
   2541 rm -rf .tst 2>/dev/null
   2542 mkdir .tst 2>/dev/null
   2543 if test -d .tst; then
   2544   am__leading_dot=.
   2545 else
   2546   am__leading_dot=_
   2547 fi
   2548 rmdir .tst 2>/dev/null
   2549 
   2550 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2551   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2552   # is not polluted with repeated "-I."
   2553   am__isrc=' -I$(srcdir)'
   2554   # test to see if srcdir already configured
   2555   if test -f $srcdir/config.status; then
   2556     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2557 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2558    { (exit 1); exit 1; }; }
   2559   fi
   2560 fi
   2561 
   2562 # test whether we have cygpath
   2563 if test -z "$CYGPATH_W"; then
   2564   if (cygpath --version) >/dev/null 2>/dev/null; then
   2565     CYGPATH_W='cygpath -w'
   2566   else
   2567     CYGPATH_W=echo
   2568   fi
   2569 fi
   2570 
   2571 
   2572 # Define the identity of the package.
   2573  PACKAGE='libXvMC'
   2574  VERSION='1.0.5'
   2575 
   2576 
   2577 cat >>confdefs.h <<_ACEOF
   2578 #define PACKAGE "$PACKAGE"
   2579 _ACEOF
   2580 
   2581 
   2582 cat >>confdefs.h <<_ACEOF
   2583 #define VERSION "$VERSION"
   2584 _ACEOF
   2585 
   2586 # Some tools Automake needs.
   2587 
   2588 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2589 
   2590 
   2591 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2592 
   2593 
   2594 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2595 
   2596 
   2597 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2598 
   2599 
   2600 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2601 
   2602 # We need awk for the "check" target.  The system "awk" is bad on
   2603 # some platforms.
   2604 # Always define AMTAR for backward compatibility.
   2605 
   2606 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2607 
   2608 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2609 
   2610 
   2611 
   2612 
   2613 
   2614 
   2615 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2616 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2617     # Check whether --enable-maintainer-mode was given.
   2618 if test "${enable_maintainer_mode+set}" = set; then
   2619   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2620 else
   2621   USE_MAINTAINER_MODE=no
   2622 fi
   2623 
   2624   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2625 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2626    if test $USE_MAINTAINER_MODE = yes; then
   2627   MAINTAINER_MODE_TRUE=
   2628   MAINTAINER_MODE_FALSE='#'
   2629 else
   2630   MAINTAINER_MODE_TRUE='#'
   2631   MAINTAINER_MODE_FALSE=
   2632 fi
   2633 
   2634   MAINT=$MAINTAINER_MODE_TRUE
   2635 
   2636 
   2637 
   2638 # Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 
   2648 
   2649 
   2650 ac_config_headers="$ac_config_headers config.h"
   2651 
   2652 
   2653 # Check for progs
   2654 ac_ext=c
   2655 ac_cpp='$CPP $CPPFLAGS'
   2656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2659 if test -n "$ac_tool_prefix"; then
   2660   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2661 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2663 $as_echo_n "checking for $ac_word... " >&6; }
   2664 if test "${ac_cv_prog_CC+set}" = set; then
   2665   $as_echo_n "(cached) " >&6
   2666 else
   2667   if test -n "$CC"; then
   2668   ac_cv_prog_CC="$CC" # Let the user override the test.
   2669 else
   2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2671 for as_dir in $PATH
   2672 do
   2673   IFS=$as_save_IFS
   2674   test -z "$as_dir" && as_dir=.
   2675   for ac_exec_ext in '' $ac_executable_extensions; do
   2676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2677     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2678     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2679     break 2
   2680   fi
   2681 done
   2682 done
   2683 IFS=$as_save_IFS
   2684 
   2685 fi
   2686 fi
   2687 CC=$ac_cv_prog_CC
   2688 if test -n "$CC"; then
   2689   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2690 $as_echo "$CC" >&6; }
   2691 else
   2692   { $as_echo "$as_me:$LINENO: result: no" >&5
   2693 $as_echo "no" >&6; }
   2694 fi
   2695 
   2696 
   2697 fi
   2698 if test -z "$ac_cv_prog_CC"; then
   2699   ac_ct_CC=$CC
   2700   # Extract the first word of "gcc", so it can be a program name with args.
   2701 set dummy gcc; ac_word=$2
   2702 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2703 $as_echo_n "checking for $ac_word... " >&6; }
   2704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2705   $as_echo_n "(cached) " >&6
   2706 else
   2707   if test -n "$ac_ct_CC"; then
   2708   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2709 else
   2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2711 for as_dir in $PATH
   2712 do
   2713   IFS=$as_save_IFS
   2714   test -z "$as_dir" && as_dir=.
   2715   for ac_exec_ext in '' $ac_executable_extensions; do
   2716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2717     ac_cv_prog_ac_ct_CC="gcc"
   2718     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2719     break 2
   2720   fi
   2721 done
   2722 done
   2723 IFS=$as_save_IFS
   2724 
   2725 fi
   2726 fi
   2727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2728 if test -n "$ac_ct_CC"; then
   2729   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2730 $as_echo "$ac_ct_CC" >&6; }
   2731 else
   2732   { $as_echo "$as_me:$LINENO: result: no" >&5
   2733 $as_echo "no" >&6; }
   2734 fi
   2735 
   2736   if test "x$ac_ct_CC" = x; then
   2737     CC=""
   2738   else
   2739     case $cross_compiling:$ac_tool_warned in
   2740 yes:)
   2741 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2743 ac_tool_warned=yes ;;
   2744 esac
   2745     CC=$ac_ct_CC
   2746   fi
   2747 else
   2748   CC="$ac_cv_prog_CC"
   2749 fi
   2750 
   2751 if test -z "$CC"; then
   2752           if test -n "$ac_tool_prefix"; then
   2753     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2754 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2755 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2756 $as_echo_n "checking for $ac_word... " >&6; }
   2757 if test "${ac_cv_prog_CC+set}" = set; then
   2758   $as_echo_n "(cached) " >&6
   2759 else
   2760   if test -n "$CC"; then
   2761   ac_cv_prog_CC="$CC" # Let the user override the test.
   2762 else
   2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2764 for as_dir in $PATH
   2765 do
   2766   IFS=$as_save_IFS
   2767   test -z "$as_dir" && as_dir=.
   2768   for ac_exec_ext in '' $ac_executable_extensions; do
   2769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2770     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2771     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2772     break 2
   2773   fi
   2774 done
   2775 done
   2776 IFS=$as_save_IFS
   2777 
   2778 fi
   2779 fi
   2780 CC=$ac_cv_prog_CC
   2781 if test -n "$CC"; then
   2782   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2783 $as_echo "$CC" >&6; }
   2784 else
   2785   { $as_echo "$as_me:$LINENO: result: no" >&5
   2786 $as_echo "no" >&6; }
   2787 fi
   2788 
   2789 
   2790   fi
   2791 fi
   2792 if test -z "$CC"; then
   2793   # Extract the first word of "cc", so it can be a program name with args.
   2794 set dummy cc; ac_word=$2
   2795 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2796 $as_echo_n "checking for $ac_word... " >&6; }
   2797 if test "${ac_cv_prog_CC+set}" = set; then
   2798   $as_echo_n "(cached) " >&6
   2799 else
   2800   if test -n "$CC"; then
   2801   ac_cv_prog_CC="$CC" # Let the user override the test.
   2802 else
   2803   ac_prog_rejected=no
   2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2805 for as_dir in $PATH
   2806 do
   2807   IFS=$as_save_IFS
   2808   test -z "$as_dir" && as_dir=.
   2809   for ac_exec_ext in '' $ac_executable_extensions; do
   2810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2811     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2812        ac_prog_rejected=yes
   2813        continue
   2814      fi
   2815     ac_cv_prog_CC="cc"
   2816     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2817     break 2
   2818   fi
   2819 done
   2820 done
   2821 IFS=$as_save_IFS
   2822 
   2823 if test $ac_prog_rejected = yes; then
   2824   # We found a bogon in the path, so make sure we never use it.
   2825   set dummy $ac_cv_prog_CC
   2826   shift
   2827   if test $# != 0; then
   2828     # We chose a different compiler from the bogus one.
   2829     # However, it has the same basename, so the bogon will be chosen
   2830     # first if we set CC to just the basename; use the full file name.
   2831     shift
   2832     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2833   fi
   2834 fi
   2835 fi
   2836 fi
   2837 CC=$ac_cv_prog_CC
   2838 if test -n "$CC"; then
   2839   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2840 $as_echo "$CC" >&6; }
   2841 else
   2842   { $as_echo "$as_me:$LINENO: result: no" >&5
   2843 $as_echo "no" >&6; }
   2844 fi
   2845 
   2846 
   2847 fi
   2848 if test -z "$CC"; then
   2849   if test -n "$ac_tool_prefix"; then
   2850   for ac_prog in cl.exe
   2851   do
   2852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2855 $as_echo_n "checking for $ac_word... " >&6; }
   2856 if test "${ac_cv_prog_CC+set}" = set; then
   2857   $as_echo_n "(cached) " >&6
   2858 else
   2859   if test -n "$CC"; then
   2860   ac_cv_prog_CC="$CC" # Let the user override the test.
   2861 else
   2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2863 for as_dir in $PATH
   2864 do
   2865   IFS=$as_save_IFS
   2866   test -z "$as_dir" && as_dir=.
   2867   for ac_exec_ext in '' $ac_executable_extensions; do
   2868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2869     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2870     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2871     break 2
   2872   fi
   2873 done
   2874 done
   2875 IFS=$as_save_IFS
   2876 
   2877 fi
   2878 fi
   2879 CC=$ac_cv_prog_CC
   2880 if test -n "$CC"; then
   2881   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2882 $as_echo "$CC" >&6; }
   2883 else
   2884   { $as_echo "$as_me:$LINENO: result: no" >&5
   2885 $as_echo "no" >&6; }
   2886 fi
   2887 
   2888 
   2889     test -n "$CC" && break
   2890   done
   2891 fi
   2892 if test -z "$CC"; then
   2893   ac_ct_CC=$CC
   2894   for ac_prog in cl.exe
   2895 do
   2896   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2897 set dummy $ac_prog; ac_word=$2
   2898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2899 $as_echo_n "checking for $ac_word... " >&6; }
   2900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2901   $as_echo_n "(cached) " >&6
   2902 else
   2903   if test -n "$ac_ct_CC"; then
   2904   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2905 else
   2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2907 for as_dir in $PATH
   2908 do
   2909   IFS=$as_save_IFS
   2910   test -z "$as_dir" && as_dir=.
   2911   for ac_exec_ext in '' $ac_executable_extensions; do
   2912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2913     ac_cv_prog_ac_ct_CC="$ac_prog"
   2914     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2915     break 2
   2916   fi
   2917 done
   2918 done
   2919 IFS=$as_save_IFS
   2920 
   2921 fi
   2922 fi
   2923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2924 if test -n "$ac_ct_CC"; then
   2925   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2926 $as_echo "$ac_ct_CC" >&6; }
   2927 else
   2928   { $as_echo "$as_me:$LINENO: result: no" >&5
   2929 $as_echo "no" >&6; }
   2930 fi
   2931 
   2932 
   2933   test -n "$ac_ct_CC" && break
   2934 done
   2935 
   2936   if test "x$ac_ct_CC" = x; then
   2937     CC=""
   2938   else
   2939     case $cross_compiling:$ac_tool_warned in
   2940 yes:)
   2941 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2943 ac_tool_warned=yes ;;
   2944 esac
   2945     CC=$ac_ct_CC
   2946   fi
   2947 fi
   2948 
   2949 fi
   2950 
   2951 
   2952 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2954 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2955 See \`config.log' for more details." >&5
   2956 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2957 See \`config.log' for more details." >&2;}
   2958    { (exit 1); exit 1; }; }; }
   2959 
   2960 # Provide some information about the compiler.
   2961 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2962 set X $ac_compile
   2963 ac_compiler=$2
   2964 { (ac_try="$ac_compiler --version >&5"
   2965 case "(($ac_try" in
   2966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2967   *) ac_try_echo=$ac_try;;
   2968 esac
   2969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2970 $as_echo "$ac_try_echo") >&5
   2971   (eval "$ac_compiler --version >&5") 2>&5
   2972   ac_status=$?
   2973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2974   (exit $ac_status); }
   2975 { (ac_try="$ac_compiler -v >&5"
   2976 case "(($ac_try" in
   2977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2978   *) ac_try_echo=$ac_try;;
   2979 esac
   2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2981 $as_echo "$ac_try_echo") >&5
   2982   (eval "$ac_compiler -v >&5") 2>&5
   2983   ac_status=$?
   2984   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2985   (exit $ac_status); }
   2986 { (ac_try="$ac_compiler -V >&5"
   2987 case "(($ac_try" in
   2988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2989   *) ac_try_echo=$ac_try;;
   2990 esac
   2991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2992 $as_echo "$ac_try_echo") >&5
   2993   (eval "$ac_compiler -V >&5") 2>&5
   2994   ac_status=$?
   2995   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2996   (exit $ac_status); }
   2997 
   2998 cat >conftest.$ac_ext <<_ACEOF
   2999 /* confdefs.h.  */
   3000 _ACEOF
   3001 cat confdefs.h >>conftest.$ac_ext
   3002 cat >>conftest.$ac_ext <<_ACEOF
   3003 /* end confdefs.h.  */
   3004 
   3005 int
   3006 main ()
   3007 {
   3008 
   3009   ;
   3010   return 0;
   3011 }
   3012 _ACEOF
   3013 ac_clean_files_save=$ac_clean_files
   3014 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3015 # Try to create an executable without -o first, disregard a.out.
   3016 # It will help us diagnose broken compilers, and finding out an intuition
   3017 # of exeext.
   3018 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3019 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3020 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3021 
   3022 # The possible output files:
   3023 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3024 
   3025 ac_rmfiles=
   3026 for ac_file in $ac_files
   3027 do
   3028   case $ac_file in
   3029     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3030     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3031   esac
   3032 done
   3033 rm -f $ac_rmfiles
   3034 
   3035 if { (ac_try="$ac_link_default"
   3036 case "(($ac_try" in
   3037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3038   *) ac_try_echo=$ac_try;;
   3039 esac
   3040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3041 $as_echo "$ac_try_echo") >&5
   3042   (eval "$ac_link_default") 2>&5
   3043   ac_status=$?
   3044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3045   (exit $ac_status); }; then
   3046   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3047 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3048 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3049 # so that the user can short-circuit this test for compilers unknown to
   3050 # Autoconf.
   3051 for ac_file in $ac_files ''
   3052 do
   3053   test -f "$ac_file" || continue
   3054   case $ac_file in
   3055     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3056 	;;
   3057     [ab].out )
   3058 	# We found the default executable, but exeext='' is most
   3059 	# certainly right.
   3060 	break;;
   3061     *.* )
   3062         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3063 	then :; else
   3064 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3065 	fi
   3066 	# We set ac_cv_exeext here because the later test for it is not
   3067 	# safe: cross compilers may not add the suffix if given an `-o'
   3068 	# argument, so we may need to know it at that point already.
   3069 	# Even if this section looks crufty: it has the advantage of
   3070 	# actually working.
   3071 	break;;
   3072     * )
   3073 	break;;
   3074   esac
   3075 done
   3076 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3077 
   3078 else
   3079   ac_file=''
   3080 fi
   3081 
   3082 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3083 $as_echo "$ac_file" >&6; }
   3084 if test -z "$ac_file"; then
   3085   $as_echo "$as_me: failed program was:" >&5
   3086 sed 's/^/| /' conftest.$ac_ext >&5
   3087 
   3088 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3090 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3091 See \`config.log' for more details." >&5
   3092 $as_echo "$as_me: error: C compiler cannot create executables
   3093 See \`config.log' for more details." >&2;}
   3094    { (exit 77); exit 77; }; }; }
   3095 fi
   3096 
   3097 ac_exeext=$ac_cv_exeext
   3098 
   3099 # Check that the compiler produces executables we can run.  If not, either
   3100 # the compiler is broken, or we cross compile.
   3101 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3102 $as_echo_n "checking whether the C compiler works... " >&6; }
   3103 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3104 # If not cross compiling, check that we can run a simple program.
   3105 if test "$cross_compiling" != yes; then
   3106   if { ac_try='./$ac_file'
   3107   { (case "(($ac_try" in
   3108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3109   *) ac_try_echo=$ac_try;;
   3110 esac
   3111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3112 $as_echo "$ac_try_echo") >&5
   3113   (eval "$ac_try") 2>&5
   3114   ac_status=$?
   3115   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3116   (exit $ac_status); }; }; then
   3117     cross_compiling=no
   3118   else
   3119     if test "$cross_compiling" = maybe; then
   3120 	cross_compiling=yes
   3121     else
   3122 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3124 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3125 If you meant to cross compile, use \`--host'.
   3126 See \`config.log' for more details." >&5
   3127 $as_echo "$as_me: error: cannot run C compiled programs.
   3128 If you meant to cross compile, use \`--host'.
   3129 See \`config.log' for more details." >&2;}
   3130    { (exit 1); exit 1; }; }; }
   3131     fi
   3132   fi
   3133 fi
   3134 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3135 $as_echo "yes" >&6; }
   3136 
   3137 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3138 ac_clean_files=$ac_clean_files_save
   3139 # Check that the compiler produces executables we can run.  If not, either
   3140 # the compiler is broken, or we cross compile.
   3141 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3142 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3143 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3144 $as_echo "$cross_compiling" >&6; }
   3145 
   3146 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3147 $as_echo_n "checking for suffix of executables... " >&6; }
   3148 if { (ac_try="$ac_link"
   3149 case "(($ac_try" in
   3150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3151   *) ac_try_echo=$ac_try;;
   3152 esac
   3153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3154 $as_echo "$ac_try_echo") >&5
   3155   (eval "$ac_link") 2>&5
   3156   ac_status=$?
   3157   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3158   (exit $ac_status); }; then
   3159   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3160 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3161 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3162 # `rm'.
   3163 for ac_file in conftest.exe conftest conftest.*; do
   3164   test -f "$ac_file" || continue
   3165   case $ac_file in
   3166     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3167     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3168 	  break;;
   3169     * ) break;;
   3170   esac
   3171 done
   3172 else
   3173   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3175 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3176 See \`config.log' for more details." >&5
   3177 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3178 See \`config.log' for more details." >&2;}
   3179    { (exit 1); exit 1; }; }; }
   3180 fi
   3181 
   3182 rm -f conftest$ac_cv_exeext
   3183 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3184 $as_echo "$ac_cv_exeext" >&6; }
   3185 
   3186 rm -f conftest.$ac_ext
   3187 EXEEXT=$ac_cv_exeext
   3188 ac_exeext=$EXEEXT
   3189 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3190 $as_echo_n "checking for suffix of object files... " >&6; }
   3191 if test "${ac_cv_objext+set}" = set; then
   3192   $as_echo_n "(cached) " >&6
   3193 else
   3194   cat >conftest.$ac_ext <<_ACEOF
   3195 /* confdefs.h.  */
   3196 _ACEOF
   3197 cat confdefs.h >>conftest.$ac_ext
   3198 cat >>conftest.$ac_ext <<_ACEOF
   3199 /* end confdefs.h.  */
   3200 
   3201 int
   3202 main ()
   3203 {
   3204 
   3205   ;
   3206   return 0;
   3207 }
   3208 _ACEOF
   3209 rm -f conftest.o conftest.obj
   3210 if { (ac_try="$ac_compile"
   3211 case "(($ac_try" in
   3212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3213   *) ac_try_echo=$ac_try;;
   3214 esac
   3215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3216 $as_echo "$ac_try_echo") >&5
   3217   (eval "$ac_compile") 2>&5
   3218   ac_status=$?
   3219   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3220   (exit $ac_status); }; then
   3221   for ac_file in conftest.o conftest.obj conftest.*; do
   3222   test -f "$ac_file" || continue;
   3223   case $ac_file in
   3224     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3225     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3226        break;;
   3227   esac
   3228 done
   3229 else
   3230   $as_echo "$as_me: failed program was:" >&5
   3231 sed 's/^/| /' conftest.$ac_ext >&5
   3232 
   3233 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3235 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3236 See \`config.log' for more details." >&5
   3237 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3238 See \`config.log' for more details." >&2;}
   3239    { (exit 1); exit 1; }; }; }
   3240 fi
   3241 
   3242 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3243 fi
   3244 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3245 $as_echo "$ac_cv_objext" >&6; }
   3246 OBJEXT=$ac_cv_objext
   3247 ac_objext=$OBJEXT
   3248 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3249 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3250 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3251   $as_echo_n "(cached) " >&6
   3252 else
   3253   cat >conftest.$ac_ext <<_ACEOF
   3254 /* confdefs.h.  */
   3255 _ACEOF
   3256 cat confdefs.h >>conftest.$ac_ext
   3257 cat >>conftest.$ac_ext <<_ACEOF
   3258 /* end confdefs.h.  */
   3259 
   3260 int
   3261 main ()
   3262 {
   3263 #ifndef __GNUC__
   3264        choke me
   3265 #endif
   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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3278 $as_echo "$ac_try_echo") >&5
   3279   (eval "$ac_compile") 2>conftest.er1
   3280   ac_status=$?
   3281   grep -v '^ *+' conftest.er1 >conftest.err
   3282   rm -f conftest.er1
   3283   cat conftest.err >&5
   3284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3285   (exit $ac_status); } && {
   3286 	 test -z "$ac_c_werror_flag" ||
   3287 	 test ! -s conftest.err
   3288        } && test -s conftest.$ac_objext; then
   3289   ac_compiler_gnu=yes
   3290 else
   3291   $as_echo "$as_me: failed program was:" >&5
   3292 sed 's/^/| /' conftest.$ac_ext >&5
   3293 
   3294 	ac_compiler_gnu=no
   3295 fi
   3296 
   3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3299 
   3300 fi
   3301 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3302 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3303 if test $ac_compiler_gnu = yes; then
   3304   GCC=yes
   3305 else
   3306   GCC=
   3307 fi
   3308 ac_test_CFLAGS=${CFLAGS+set}
   3309 ac_save_CFLAGS=$CFLAGS
   3310 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3311 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3312 if test "${ac_cv_prog_cc_g+set}" = set; then
   3313   $as_echo_n "(cached) " >&6
   3314 else
   3315   ac_save_c_werror_flag=$ac_c_werror_flag
   3316    ac_c_werror_flag=yes
   3317    ac_cv_prog_cc_g=no
   3318    CFLAGS="-g"
   3319    cat >conftest.$ac_ext <<_ACEOF
   3320 /* confdefs.h.  */
   3321 _ACEOF
   3322 cat confdefs.h >>conftest.$ac_ext
   3323 cat >>conftest.$ac_ext <<_ACEOF
   3324 /* end confdefs.h.  */
   3325 
   3326 int
   3327 main ()
   3328 {
   3329 
   3330   ;
   3331   return 0;
   3332 }
   3333 _ACEOF
   3334 rm -f conftest.$ac_objext
   3335 if { (ac_try="$ac_compile"
   3336 case "(($ac_try" in
   3337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3338   *) ac_try_echo=$ac_try;;
   3339 esac
   3340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3341 $as_echo "$ac_try_echo") >&5
   3342   (eval "$ac_compile") 2>conftest.er1
   3343   ac_status=$?
   3344   grep -v '^ *+' conftest.er1 >conftest.err
   3345   rm -f conftest.er1
   3346   cat conftest.err >&5
   3347   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3348   (exit $ac_status); } && {
   3349 	 test -z "$ac_c_werror_flag" ||
   3350 	 test ! -s conftest.err
   3351        } && test -s conftest.$ac_objext; then
   3352   ac_cv_prog_cc_g=yes
   3353 else
   3354   $as_echo "$as_me: failed program was:" >&5
   3355 sed 's/^/| /' conftest.$ac_ext >&5
   3356 
   3357 	CFLAGS=""
   3358       cat >conftest.$ac_ext <<_ACEOF
   3359 /* confdefs.h.  */
   3360 _ACEOF
   3361 cat confdefs.h >>conftest.$ac_ext
   3362 cat >>conftest.$ac_ext <<_ACEOF
   3363 /* end confdefs.h.  */
   3364 
   3365 int
   3366 main ()
   3367 {
   3368 
   3369   ;
   3370   return 0;
   3371 }
   3372 _ACEOF
   3373 rm -f conftest.$ac_objext
   3374 if { (ac_try="$ac_compile"
   3375 case "(($ac_try" in
   3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3377   *) ac_try_echo=$ac_try;;
   3378 esac
   3379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3380 $as_echo "$ac_try_echo") >&5
   3381   (eval "$ac_compile") 2>conftest.er1
   3382   ac_status=$?
   3383   grep -v '^ *+' conftest.er1 >conftest.err
   3384   rm -f conftest.er1
   3385   cat conftest.err >&5
   3386   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3387   (exit $ac_status); } && {
   3388 	 test -z "$ac_c_werror_flag" ||
   3389 	 test ! -s conftest.err
   3390        } && test -s conftest.$ac_objext; then
   3391   :
   3392 else
   3393   $as_echo "$as_me: failed program was:" >&5
   3394 sed 's/^/| /' conftest.$ac_ext >&5
   3395 
   3396 	ac_c_werror_flag=$ac_save_c_werror_flag
   3397 	 CFLAGS="-g"
   3398 	 cat >conftest.$ac_ext <<_ACEOF
   3399 /* confdefs.h.  */
   3400 _ACEOF
   3401 cat confdefs.h >>conftest.$ac_ext
   3402 cat >>conftest.$ac_ext <<_ACEOF
   3403 /* end confdefs.h.  */
   3404 
   3405 int
   3406 main ()
   3407 {
   3408 
   3409   ;
   3410   return 0;
   3411 }
   3412 _ACEOF
   3413 rm -f conftest.$ac_objext
   3414 if { (ac_try="$ac_compile"
   3415 case "(($ac_try" in
   3416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3417   *) ac_try_echo=$ac_try;;
   3418 esac
   3419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3420 $as_echo "$ac_try_echo") >&5
   3421   (eval "$ac_compile") 2>conftest.er1
   3422   ac_status=$?
   3423   grep -v '^ *+' conftest.er1 >conftest.err
   3424   rm -f conftest.er1
   3425   cat conftest.err >&5
   3426   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3427   (exit $ac_status); } && {
   3428 	 test -z "$ac_c_werror_flag" ||
   3429 	 test ! -s conftest.err
   3430        } && test -s conftest.$ac_objext; then
   3431   ac_cv_prog_cc_g=yes
   3432 else
   3433   $as_echo "$as_me: failed program was:" >&5
   3434 sed 's/^/| /' conftest.$ac_ext >&5
   3435 
   3436 
   3437 fi
   3438 
   3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3440 fi
   3441 
   3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3443 fi
   3444 
   3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3446    ac_c_werror_flag=$ac_save_c_werror_flag
   3447 fi
   3448 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3449 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3450 if test "$ac_test_CFLAGS" = set; then
   3451   CFLAGS=$ac_save_CFLAGS
   3452 elif test $ac_cv_prog_cc_g = yes; then
   3453   if test "$GCC" = yes; then
   3454     CFLAGS="-g -O2"
   3455   else
   3456     CFLAGS="-g"
   3457   fi
   3458 else
   3459   if test "$GCC" = yes; then
   3460     CFLAGS="-O2"
   3461   else
   3462     CFLAGS=
   3463   fi
   3464 fi
   3465 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3466 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3467 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3468   $as_echo_n "(cached) " >&6
   3469 else
   3470   ac_cv_prog_cc_c89=no
   3471 ac_save_CC=$CC
   3472 cat >conftest.$ac_ext <<_ACEOF
   3473 /* confdefs.h.  */
   3474 _ACEOF
   3475 cat confdefs.h >>conftest.$ac_ext
   3476 cat >>conftest.$ac_ext <<_ACEOF
   3477 /* end confdefs.h.  */
   3478 #include <stdarg.h>
   3479 #include <stdio.h>
   3480 #include <sys/types.h>
   3481 #include <sys/stat.h>
   3482 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3483 struct buf { int x; };
   3484 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3485 static char *e (p, i)
   3486      char **p;
   3487      int i;
   3488 {
   3489   return p[i];
   3490 }
   3491 static char *f (char * (*g) (char **, int), char **p, ...)
   3492 {
   3493   char *s;
   3494   va_list v;
   3495   va_start (v,p);
   3496   s = g (p, va_arg (v,int));
   3497   va_end (v);
   3498   return s;
   3499 }
   3500 
   3501 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3502    function prototypes and stuff, but not '\xHH' hex character constants.
   3503    These don't provoke an error unfortunately, instead are silently treated
   3504    as 'x'.  The following induces an error, until -std is added to get
   3505    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3506    array size at least.  It's necessary to write '\x00'==0 to get something
   3507    that's true only with -std.  */
   3508 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3509 
   3510 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3511    inside strings and character constants.  */
   3512 #define FOO(x) 'x'
   3513 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3514 
   3515 int test (int i, double x);
   3516 struct s1 {int (*f) (int a);};
   3517 struct s2 {int (*f) (double a);};
   3518 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3519 int argc;
   3520 char **argv;
   3521 int
   3522 main ()
   3523 {
   3524 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3525   ;
   3526   return 0;
   3527 }
   3528 _ACEOF
   3529 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3530 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3531 do
   3532   CC="$ac_save_CC $ac_arg"
   3533   rm -f conftest.$ac_objext
   3534 if { (ac_try="$ac_compile"
   3535 case "(($ac_try" in
   3536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3537   *) ac_try_echo=$ac_try;;
   3538 esac
   3539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3540 $as_echo "$ac_try_echo") >&5
   3541   (eval "$ac_compile") 2>conftest.er1
   3542   ac_status=$?
   3543   grep -v '^ *+' conftest.er1 >conftest.err
   3544   rm -f conftest.er1
   3545   cat conftest.err >&5
   3546   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3547   (exit $ac_status); } && {
   3548 	 test -z "$ac_c_werror_flag" ||
   3549 	 test ! -s conftest.err
   3550        } && test -s conftest.$ac_objext; then
   3551   ac_cv_prog_cc_c89=$ac_arg
   3552 else
   3553   $as_echo "$as_me: failed program was:" >&5
   3554 sed 's/^/| /' conftest.$ac_ext >&5
   3555 
   3556 
   3557 fi
   3558 
   3559 rm -f core conftest.err conftest.$ac_objext
   3560   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3561 done
   3562 rm -f conftest.$ac_ext
   3563 CC=$ac_save_CC
   3564 
   3565 fi
   3566 # AC_CACHE_VAL
   3567 case "x$ac_cv_prog_cc_c89" in
   3568   x)
   3569     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3570 $as_echo "none needed" >&6; } ;;
   3571   xno)
   3572     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3573 $as_echo "unsupported" >&6; } ;;
   3574   *)
   3575     CC="$CC $ac_cv_prog_cc_c89"
   3576     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3577 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3578 esac
   3579 
   3580 
   3581 ac_ext=c
   3582 ac_cpp='$CPP $CPPFLAGS'
   3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3586 DEPDIR="${am__leading_dot}deps"
   3587 
   3588 ac_config_commands="$ac_config_commands depfiles"
   3589 
   3590 
   3591 am_make=${MAKE-make}
   3592 cat > confinc << 'END'
   3593 am__doit:
   3594 	@echo this is the am__doit target
   3595 .PHONY: am__doit
   3596 END
   3597 # If we don't find an include directive, just comment out the code.
   3598 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3599 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3600 am__include="#"
   3601 am__quote=
   3602 _am_result=none
   3603 # First try GNU make style include.
   3604 echo "include confinc" > confmf
   3605 # Ignore all kinds of additional output from `make'.
   3606 case `$am_make -s -f confmf 2> /dev/null` in #(
   3607 *the\ am__doit\ target*)
   3608   am__include=include
   3609   am__quote=
   3610   _am_result=GNU
   3611   ;;
   3612 esac
   3613 # Now try BSD make style include.
   3614 if test "$am__include" = "#"; then
   3615    echo '.include "confinc"' > confmf
   3616    case `$am_make -s -f confmf 2> /dev/null` in #(
   3617    *the\ am__doit\ target*)
   3618      am__include=.include
   3619      am__quote="\""
   3620      _am_result=BSD
   3621      ;;
   3622    esac
   3623 fi
   3624 
   3625 
   3626 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3627 $as_echo "$_am_result" >&6; }
   3628 rm -f confinc confmf
   3629 
   3630 # Check whether --enable-dependency-tracking was given.
   3631 if test "${enable_dependency_tracking+set}" = set; then
   3632   enableval=$enable_dependency_tracking;
   3633 fi
   3634 
   3635 if test "x$enable_dependency_tracking" != xno; then
   3636   am_depcomp="$ac_aux_dir/depcomp"
   3637   AMDEPBACKSLASH='\'
   3638 fi
   3639  if test "x$enable_dependency_tracking" != xno; then
   3640   AMDEP_TRUE=
   3641   AMDEP_FALSE='#'
   3642 else
   3643   AMDEP_TRUE='#'
   3644   AMDEP_FALSE=
   3645 fi
   3646 
   3647 
   3648 
   3649 depcc="$CC"   am_compiler_list=
   3650 
   3651 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3652 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3653 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3654   $as_echo_n "(cached) " >&6
   3655 else
   3656   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3657   # We make a subdir and do the tests there.  Otherwise we can end up
   3658   # making bogus files that we don't know about and never remove.  For
   3659   # instance it was reported that on HP-UX the gcc test will end up
   3660   # making a dummy file named `D' -- because `-MD' means `put the output
   3661   # in D'.
   3662   mkdir conftest.dir
   3663   # Copy depcomp to subdir because otherwise we won't find it if we're
   3664   # using a relative directory.
   3665   cp "$am_depcomp" conftest.dir
   3666   cd conftest.dir
   3667   # We will build objects and dependencies in a subdirectory because
   3668   # it helps to detect inapplicable dependency modes.  For instance
   3669   # both Tru64's cc and ICC support -MD to output dependencies as a
   3670   # side effect of compilation, but ICC will put the dependencies in
   3671   # the current directory while Tru64 will put them in the object
   3672   # directory.
   3673   mkdir sub
   3674 
   3675   am_cv_CC_dependencies_compiler_type=none
   3676   if test "$am_compiler_list" = ""; then
   3677      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3678   fi
   3679   am__universal=false
   3680   case " $depcc " in #(
   3681      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3682      esac
   3683 
   3684   for depmode in $am_compiler_list; do
   3685     # Setup a source with many dependencies, because some compilers
   3686     # like to wrap large dependency lists on column 80 (with \), and
   3687     # we should not choose a depcomp mode which is confused by this.
   3688     #
   3689     # We need to recreate these files for each test, as the compiler may
   3690     # overwrite some of them when testing with obscure command lines.
   3691     # This happens at least with the AIX C compiler.
   3692     : > sub/conftest.c
   3693     for i in 1 2 3 4 5 6; do
   3694       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3695       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3696       # Solaris 8's {/usr,}/bin/sh.
   3697       touch sub/conftst$i.h
   3698     done
   3699     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3700 
   3701     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3702     # mode.  It turns out that the SunPro C++ compiler does not properly
   3703     # handle `-M -o', and we need to detect this.  Also, some Intel
   3704     # versions had trouble with output in subdirs
   3705     am__obj=sub/conftest.${OBJEXT-o}
   3706     am__minus_obj="-o $am__obj"
   3707     case $depmode in
   3708     gcc)
   3709       # This depmode causes a compiler race in universal mode.
   3710       test "$am__universal" = false || continue
   3711       ;;
   3712     nosideeffect)
   3713       # after this tag, mechanisms are not by side-effect, so they'll
   3714       # only be used when explicitly requested
   3715       if test "x$enable_dependency_tracking" = xyes; then
   3716 	continue
   3717       else
   3718 	break
   3719       fi
   3720       ;;
   3721     msvisualcpp | msvcmsys)
   3722       # This compiler won't grok `-c -o', but also, the minuso test has
   3723       # not run yet.  These depmodes are late enough in the game, and
   3724       # so weak that their functioning should not be impacted.
   3725       am__obj=conftest.${OBJEXT-o}
   3726       am__minus_obj=
   3727       ;;
   3728     none) break ;;
   3729     esac
   3730     if depmode=$depmode \
   3731        source=sub/conftest.c object=$am__obj \
   3732        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3733        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3734          >/dev/null 2>conftest.err &&
   3735        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3736        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3737        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3738        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3739       # icc doesn't choke on unknown options, it will just issue warnings
   3740       # or remarks (even with -Werror).  So we grep stderr for any message
   3741       # that says an option was ignored or not supported.
   3742       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3743       #   icc: Command line warning: ignoring option '-M'; no argument required
   3744       # The diagnosis changed in icc 8.0:
   3745       #   icc: Command line remark: option '-MP' not supported
   3746       if (grep 'ignoring option' conftest.err ||
   3747           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3748         am_cv_CC_dependencies_compiler_type=$depmode
   3749         break
   3750       fi
   3751     fi
   3752   done
   3753 
   3754   cd ..
   3755   rm -rf conftest.dir
   3756 else
   3757   am_cv_CC_dependencies_compiler_type=none
   3758 fi
   3759 
   3760 fi
   3761 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3762 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3763 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3764 
   3765  if
   3766   test "x$enable_dependency_tracking" != xno \
   3767   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3768   am__fastdepCC_TRUE=
   3769   am__fastdepCC_FALSE='#'
   3770 else
   3771   am__fastdepCC_TRUE='#'
   3772   am__fastdepCC_FALSE=
   3773 fi
   3774 
   3775 
   3776 # Check whether --enable-shared was given.
   3777 if test "${enable_shared+set}" = set; then
   3778   enableval=$enable_shared; p=${PACKAGE-default}
   3779     case $enableval in
   3780     yes) enable_shared=yes ;;
   3781     no) enable_shared=no ;;
   3782     *)
   3783       enable_shared=no
   3784       # Look at the argument we got.  We use all the common list separators.
   3785       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3786       for pkg in $enableval; do
   3787 	IFS="$lt_save_ifs"
   3788 	if test "X$pkg" = "X$p"; then
   3789 	  enable_shared=yes
   3790 	fi
   3791       done
   3792       IFS="$lt_save_ifs"
   3793       ;;
   3794     esac
   3795 else
   3796   enable_shared=yes
   3797 fi
   3798 
   3799 
   3800 # Check whether --enable-static was given.
   3801 if test "${enable_static+set}" = set; then
   3802   enableval=$enable_static; p=${PACKAGE-default}
   3803     case $enableval in
   3804     yes) enable_static=yes ;;
   3805     no) enable_static=no ;;
   3806     *)
   3807      enable_static=no
   3808       # Look at the argument we got.  We use all the common list separators.
   3809       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3810       for pkg in $enableval; do
   3811 	IFS="$lt_save_ifs"
   3812 	if test "X$pkg" = "X$p"; then
   3813 	  enable_static=yes
   3814 	fi
   3815       done
   3816       IFS="$lt_save_ifs"
   3817       ;;
   3818     esac
   3819 else
   3820   enable_static=yes
   3821 fi
   3822 
   3823 
   3824 # Check whether --enable-fast-install was given.
   3825 if test "${enable_fast_install+set}" = set; then
   3826   enableval=$enable_fast_install; p=${PACKAGE-default}
   3827     case $enableval in
   3828     yes) enable_fast_install=yes ;;
   3829     no) enable_fast_install=no ;;
   3830     *)
   3831       enable_fast_install=no
   3832       # Look at the argument we got.  We use all the common list separators.
   3833       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3834       for pkg in $enableval; do
   3835 	IFS="$lt_save_ifs"
   3836 	if test "X$pkg" = "X$p"; then
   3837 	  enable_fast_install=yes
   3838 	fi
   3839       done
   3840       IFS="$lt_save_ifs"
   3841       ;;
   3842     esac
   3843 else
   3844   enable_fast_install=yes
   3845 fi
   3846 
   3847 
   3848 # Make sure we can run config.sub.
   3849 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3850   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3851 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3852    { (exit 1); exit 1; }; }
   3853 
   3854 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3855 $as_echo_n "checking build system type... " >&6; }
   3856 if test "${ac_cv_build+set}" = set; then
   3857   $as_echo_n "(cached) " >&6
   3858 else
   3859   ac_build_alias=$build_alias
   3860 test "x$ac_build_alias" = x &&
   3861   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3862 test "x$ac_build_alias" = x &&
   3863   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3864 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3865    { (exit 1); exit 1; }; }
   3866 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3867   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3868 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3869    { (exit 1); exit 1; }; }
   3870 
   3871 fi
   3872 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3873 $as_echo "$ac_cv_build" >&6; }
   3874 case $ac_cv_build in
   3875 *-*-*) ;;
   3876 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3877 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3878    { (exit 1); exit 1; }; };;
   3879 esac
   3880 build=$ac_cv_build
   3881 ac_save_IFS=$IFS; IFS='-'
   3882 set x $ac_cv_build
   3883 shift
   3884 build_cpu=$1
   3885 build_vendor=$2
   3886 shift; shift
   3887 # Remember, the first character of IFS is used to create $*,
   3888 # except with old shells:
   3889 build_os=$*
   3890 IFS=$ac_save_IFS
   3891 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3892 
   3893 
   3894 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3895 $as_echo_n "checking host system type... " >&6; }
   3896 if test "${ac_cv_host+set}" = set; then
   3897   $as_echo_n "(cached) " >&6
   3898 else
   3899   if test "x$host_alias" = x; then
   3900   ac_cv_host=$ac_cv_build
   3901 else
   3902   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3903     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3904 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3905    { (exit 1); exit 1; }; }
   3906 fi
   3907 
   3908 fi
   3909 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3910 $as_echo "$ac_cv_host" >&6; }
   3911 case $ac_cv_host in
   3912 *-*-*) ;;
   3913 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3914 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3915    { (exit 1); exit 1; }; };;
   3916 esac
   3917 host=$ac_cv_host
   3918 ac_save_IFS=$IFS; IFS='-'
   3919 set x $ac_cv_host
   3920 shift
   3921 host_cpu=$1
   3922 host_vendor=$2
   3923 shift; shift
   3924 # Remember, the first character of IFS is used to create $*,
   3925 # except with old shells:
   3926 host_os=$*
   3927 IFS=$ac_save_IFS
   3928 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3929 
   3930 
   3931 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3932 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3933 if test "${lt_cv_path_SED+set}" = set; then
   3934   $as_echo_n "(cached) " >&6
   3935 else
   3936   # Loop through the user's path and test for sed and gsed.
   3937 # Then use that list of sed's as ones to test for truncation.
   3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3939 for as_dir in $PATH
   3940 do
   3941   IFS=$as_save_IFS
   3942   test -z "$as_dir" && as_dir=.
   3943   for lt_ac_prog in sed gsed; do
   3944     for ac_exec_ext in '' $ac_executable_extensions; do
   3945       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3946         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3947       fi
   3948     done
   3949   done
   3950 done
   3951 IFS=$as_save_IFS
   3952 lt_ac_max=0
   3953 lt_ac_count=0
   3954 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3955 # along with /bin/sed that truncates output.
   3956 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3957   test ! -f $lt_ac_sed && continue
   3958   cat /dev/null > conftest.in
   3959   lt_ac_count=0
   3960   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3961   # Check for GNU sed and select it if it is found.
   3962   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3963     lt_cv_path_SED=$lt_ac_sed
   3964     break
   3965   fi
   3966   while true; do
   3967     cat conftest.in conftest.in >conftest.tmp
   3968     mv conftest.tmp conftest.in
   3969     cp conftest.in conftest.nl
   3970     echo >>conftest.nl
   3971     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3972     cmp -s conftest.out conftest.nl || break
   3973     # 10000 chars as input seems more than enough
   3974     test $lt_ac_count -gt 10 && break
   3975     lt_ac_count=`expr $lt_ac_count + 1`
   3976     if test $lt_ac_count -gt $lt_ac_max; then
   3977       lt_ac_max=$lt_ac_count
   3978       lt_cv_path_SED=$lt_ac_sed
   3979     fi
   3980   done
   3981 done
   3982 
   3983 fi
   3984 
   3985 SED=$lt_cv_path_SED
   3986 
   3987 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3988 $as_echo "$SED" >&6; }
   3989 
   3990 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3991 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3992 if test "${ac_cv_path_GREP+set}" = set; then
   3993   $as_echo_n "(cached) " >&6
   3994 else
   3995   if test -z "$GREP"; then
   3996   ac_path_GREP_found=false
   3997   # Loop through the user's path and test for each of PROGNAME-LIST
   3998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4000 do
   4001   IFS=$as_save_IFS
   4002   test -z "$as_dir" && as_dir=.
   4003   for ac_prog in grep ggrep; do
   4004     for ac_exec_ext in '' $ac_executable_extensions; do
   4005       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4006       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4007 # Check for GNU ac_path_GREP and select it if it is found.
   4008   # Check for GNU $ac_path_GREP
   4009 case `"$ac_path_GREP" --version 2>&1` in
   4010 *GNU*)
   4011   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4012 *)
   4013   ac_count=0
   4014   $as_echo_n 0123456789 >"conftest.in"
   4015   while :
   4016   do
   4017     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4018     mv "conftest.tmp" "conftest.in"
   4019     cp "conftest.in" "conftest.nl"
   4020     $as_echo 'GREP' >> "conftest.nl"
   4021     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4022     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4023     ac_count=`expr $ac_count + 1`
   4024     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4025       # Best one so far, save it but keep looking for a better one
   4026       ac_cv_path_GREP="$ac_path_GREP"
   4027       ac_path_GREP_max=$ac_count
   4028     fi
   4029     # 10*(2^10) chars as input seems more than enough
   4030     test $ac_count -gt 10 && break
   4031   done
   4032   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4033 esac
   4034 
   4035       $ac_path_GREP_found && break 3
   4036     done
   4037   done
   4038 done
   4039 IFS=$as_save_IFS
   4040   if test -z "$ac_cv_path_GREP"; then
   4041     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4042 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4043    { (exit 1); exit 1; }; }
   4044   fi
   4045 else
   4046   ac_cv_path_GREP=$GREP
   4047 fi
   4048 
   4049 fi
   4050 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4051 $as_echo "$ac_cv_path_GREP" >&6; }
   4052  GREP="$ac_cv_path_GREP"
   4053 
   4054 
   4055 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4056 $as_echo_n "checking for egrep... " >&6; }
   4057 if test "${ac_cv_path_EGREP+set}" = set; then
   4058   $as_echo_n "(cached) " >&6
   4059 else
   4060   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4061    then ac_cv_path_EGREP="$GREP -E"
   4062    else
   4063      if test -z "$EGREP"; then
   4064   ac_path_EGREP_found=false
   4065   # Loop through the user's path and test for each of PROGNAME-LIST
   4066   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4067 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4068 do
   4069   IFS=$as_save_IFS
   4070   test -z "$as_dir" && as_dir=.
   4071   for ac_prog in egrep; do
   4072     for ac_exec_ext in '' $ac_executable_extensions; do
   4073       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4074       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4075 # Check for GNU ac_path_EGREP and select it if it is found.
   4076   # Check for GNU $ac_path_EGREP
   4077 case `"$ac_path_EGREP" --version 2>&1` in
   4078 *GNU*)
   4079   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4080 *)
   4081   ac_count=0
   4082   $as_echo_n 0123456789 >"conftest.in"
   4083   while :
   4084   do
   4085     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4086     mv "conftest.tmp" "conftest.in"
   4087     cp "conftest.in" "conftest.nl"
   4088     $as_echo 'EGREP' >> "conftest.nl"
   4089     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4090     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4091     ac_count=`expr $ac_count + 1`
   4092     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4093       # Best one so far, save it but keep looking for a better one
   4094       ac_cv_path_EGREP="$ac_path_EGREP"
   4095       ac_path_EGREP_max=$ac_count
   4096     fi
   4097     # 10*(2^10) chars as input seems more than enough
   4098     test $ac_count -gt 10 && break
   4099   done
   4100   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4101 esac
   4102 
   4103       $ac_path_EGREP_found && break 3
   4104     done
   4105   done
   4106 done
   4107 IFS=$as_save_IFS
   4108   if test -z "$ac_cv_path_EGREP"; then
   4109     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4110 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4111    { (exit 1); exit 1; }; }
   4112   fi
   4113 else
   4114   ac_cv_path_EGREP=$EGREP
   4115 fi
   4116 
   4117    fi
   4118 fi
   4119 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4120 $as_echo "$ac_cv_path_EGREP" >&6; }
   4121  EGREP="$ac_cv_path_EGREP"
   4122 
   4123 
   4124 
   4125 # Check whether --with-gnu-ld was given.
   4126 if test "${with_gnu_ld+set}" = set; then
   4127   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4128 else
   4129   with_gnu_ld=no
   4130 fi
   4131 
   4132 ac_prog=ld
   4133 if test "$GCC" = yes; then
   4134   # Check if gcc -print-prog-name=ld gives a path.
   4135   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4136 $as_echo_n "checking for ld used by $CC... " >&6; }
   4137   case $host in
   4138   *-*-mingw*)
   4139     # gcc leaves a trailing carriage return which upsets mingw
   4140     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4141   *)
   4142     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4143   esac
   4144   case $ac_prog in
   4145     # Accept absolute paths.
   4146     [\\/]* | ?:[\\/]*)
   4147       re_direlt='/[^/][^/]*/\.\./'
   4148       # Canonicalize the pathname of ld
   4149       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4150       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4151 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4152       done
   4153       test -z "$LD" && LD="$ac_prog"
   4154       ;;
   4155   "")
   4156     # If it fails, then pretend we aren't using GCC.
   4157     ac_prog=ld
   4158     ;;
   4159   *)
   4160     # If it is relative, then search for the first ld in PATH.
   4161     with_gnu_ld=unknown
   4162     ;;
   4163   esac
   4164 elif test "$with_gnu_ld" = yes; then
   4165   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4166 $as_echo_n "checking for GNU ld... " >&6; }
   4167 else
   4168   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4169 $as_echo_n "checking for non-GNU ld... " >&6; }
   4170 fi
   4171 if test "${lt_cv_path_LD+set}" = set; then
   4172   $as_echo_n "(cached) " >&6
   4173 else
   4174   if test -z "$LD"; then
   4175   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4176   for ac_dir in $PATH; do
   4177     IFS="$lt_save_ifs"
   4178     test -z "$ac_dir" && ac_dir=.
   4179     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4180       lt_cv_path_LD="$ac_dir/$ac_prog"
   4181       # Check to see if the program is GNU ld.  I'd rather use --version,
   4182       # but apparently some variants of GNU ld only accept -v.
   4183       # Break only if it was the GNU/non-GNU ld that we prefer.
   4184       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4185       *GNU* | *'with BFD'*)
   4186 	test "$with_gnu_ld" != no && break
   4187 	;;
   4188       *)
   4189 	test "$with_gnu_ld" != yes && break
   4190 	;;
   4191       esac
   4192     fi
   4193   done
   4194   IFS="$lt_save_ifs"
   4195 else
   4196   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4197 fi
   4198 fi
   4199 
   4200 LD="$lt_cv_path_LD"
   4201 if test -n "$LD"; then
   4202   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4203 $as_echo "$LD" >&6; }
   4204 else
   4205   { $as_echo "$as_me:$LINENO: result: no" >&5
   4206 $as_echo "no" >&6; }
   4207 fi
   4208 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4209 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4210    { (exit 1); exit 1; }; }
   4211 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4212 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4213 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4217 case `$LD -v 2>&1 </dev/null` in
   4218 *GNU* | *'with BFD'*)
   4219   lt_cv_prog_gnu_ld=yes
   4220   ;;
   4221 *)
   4222   lt_cv_prog_gnu_ld=no
   4223   ;;
   4224 esac
   4225 fi
   4226 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4227 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4228 with_gnu_ld=$lt_cv_prog_gnu_ld
   4229 
   4230 
   4231 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4232 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4233 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4234   $as_echo_n "(cached) " >&6
   4235 else
   4236   lt_cv_ld_reload_flag='-r'
   4237 fi
   4238 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4239 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4240 reload_flag=$lt_cv_ld_reload_flag
   4241 case $reload_flag in
   4242 "" | " "*) ;;
   4243 *) reload_flag=" $reload_flag" ;;
   4244 esac
   4245 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4246 case $host_os in
   4247   darwin*)
   4248     if test "$GCC" = yes; then
   4249       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4250     else
   4251       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4252     fi
   4253     ;;
   4254 esac
   4255 
   4256 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4257 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4258 if test "${lt_cv_path_NM+set}" = set; then
   4259   $as_echo_n "(cached) " >&6
   4260 else
   4261   if test -n "$NM"; then
   4262   # Let the user override the test.
   4263   lt_cv_path_NM="$NM"
   4264 else
   4265   lt_nm_to_check="${ac_tool_prefix}nm"
   4266   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4267     lt_nm_to_check="$lt_nm_to_check nm"
   4268   fi
   4269   for lt_tmp_nm in $lt_nm_to_check; do
   4270     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4271     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4272       IFS="$lt_save_ifs"
   4273       test -z "$ac_dir" && ac_dir=.
   4274       tmp_nm="$ac_dir/$lt_tmp_nm"
   4275       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4276 	# Check to see if the nm accepts a BSD-compat flag.
   4277 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4278 	#   nm: unknown option "B" ignored
   4279 	# Tru64's nm complains that /dev/null is an invalid object file
   4280 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4281 	*/dev/null* | *'Invalid file or object type'*)
   4282 	  lt_cv_path_NM="$tmp_nm -B"
   4283 	  break
   4284 	  ;;
   4285 	*)
   4286 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4287 	  */dev/null*)
   4288 	    lt_cv_path_NM="$tmp_nm -p"
   4289 	    break
   4290 	    ;;
   4291 	  *)
   4292 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4293 	    continue # so that we can try to find one that supports BSD flags
   4294 	    ;;
   4295 	  esac
   4296 	  ;;
   4297 	esac
   4298       fi
   4299     done
   4300     IFS="$lt_save_ifs"
   4301   done
   4302   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4303 fi
   4304 fi
   4305 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4306 $as_echo "$lt_cv_path_NM" >&6; }
   4307 NM="$lt_cv_path_NM"
   4308 
   4309 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4310 $as_echo_n "checking whether ln -s works... " >&6; }
   4311 LN_S=$as_ln_s
   4312 if test "$LN_S" = "ln -s"; then
   4313   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4314 $as_echo "yes" >&6; }
   4315 else
   4316   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4317 $as_echo "no, using $LN_S" >&6; }
   4318 fi
   4319 
   4320 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4321 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4322 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4323   $as_echo_n "(cached) " >&6
   4324 else
   4325   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4326 lt_cv_file_magic_test_file=
   4327 lt_cv_deplibs_check_method='unknown'
   4328 # Need to set the preceding variable on all platforms that support
   4329 # interlibrary dependencies.
   4330 # 'none' -- dependencies not supported.
   4331 # `unknown' -- same as none, but documents that we really don't know.
   4332 # 'pass_all' -- all dependencies passed with no checks.
   4333 # 'test_compile' -- check by making test program.
   4334 # 'file_magic [[regex]]' -- check by looking for files in library path
   4335 # which responds to the $file_magic_cmd with a given extended regex.
   4336 # If you have `file' or equivalent on your system and you're not sure
   4337 # whether `pass_all' will *always* work, you probably want this one.
   4338 
   4339 case $host_os in
   4340 aix[4-9]*)
   4341   lt_cv_deplibs_check_method=pass_all
   4342   ;;
   4343 
   4344 beos*)
   4345   lt_cv_deplibs_check_method=pass_all
   4346   ;;
   4347 
   4348 bsdi[45]*)
   4349   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4350   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4351   lt_cv_file_magic_test_file=/shlib/libc.so
   4352   ;;
   4353 
   4354 cygwin*)
   4355   # func_win32_libid is a shell function defined in ltmain.sh
   4356   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4357   lt_cv_file_magic_cmd='func_win32_libid'
   4358   ;;
   4359 
   4360 mingw* | pw32*)
   4361   # Base MSYS/MinGW do not provide the 'file' command needed by
   4362   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4363   # unless we find 'file', for example because we are cross-compiling.
   4364   if ( file / ) >/dev/null 2>&1; then
   4365     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4366     lt_cv_file_magic_cmd='func_win32_libid'
   4367   else
   4368     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4369     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4370   fi
   4371   ;;
   4372 
   4373 darwin* | rhapsody*)
   4374   lt_cv_deplibs_check_method=pass_all
   4375   ;;
   4376 
   4377 freebsd* | dragonfly*)
   4378   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4379     case $host_cpu in
   4380     i*86 )
   4381       # Not sure whether the presence of OpenBSD here was a mistake.
   4382       # Let's accept both of them until this is cleared up.
   4383       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4384       lt_cv_file_magic_cmd=/usr/bin/file
   4385       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4386       ;;
   4387     esac
   4388   else
   4389     lt_cv_deplibs_check_method=pass_all
   4390   fi
   4391   ;;
   4392 
   4393 gnu*)
   4394   lt_cv_deplibs_check_method=pass_all
   4395   ;;
   4396 
   4397 hpux10.20* | hpux11*)
   4398   lt_cv_file_magic_cmd=/usr/bin/file
   4399   case $host_cpu in
   4400   ia64*)
   4401     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4402     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4403     ;;
   4404   hppa*64*)
   4405     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   4406     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4407     ;;
   4408   *)
   4409     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4410     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4411     ;;
   4412   esac
   4413   ;;
   4414 
   4415 interix[3-9]*)
   4416   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4417   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4418   ;;
   4419 
   4420 irix5* | irix6* | nonstopux*)
   4421   case $LD in
   4422   *-32|*"-32 ") libmagic=32-bit;;
   4423   *-n32|*"-n32 ") libmagic=N32;;
   4424   *-64|*"-64 ") libmagic=64-bit;;
   4425   *) libmagic=never-match;;
   4426   esac
   4427   lt_cv_deplibs_check_method=pass_all
   4428   ;;
   4429 
   4430 # This must be Linux ELF.
   4431 linux* | k*bsd*-gnu)
   4432   lt_cv_deplibs_check_method=pass_all
   4433   ;;
   4434 
   4435 netbsd*)
   4436   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4437     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4438   else
   4439     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4440   fi
   4441   ;;
   4442 
   4443 newos6*)
   4444   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4445   lt_cv_file_magic_cmd=/usr/bin/file
   4446   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4447   ;;
   4448 
   4449 nto-qnx*)
   4450   lt_cv_deplibs_check_method=unknown
   4451   ;;
   4452 
   4453 openbsd*)
   4454   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4455     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4456   else
   4457     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4458   fi
   4459   ;;
   4460 
   4461 osf3* | osf4* | osf5*)
   4462   lt_cv_deplibs_check_method=pass_all
   4463   ;;
   4464 
   4465 rdos*)
   4466   lt_cv_deplibs_check_method=pass_all
   4467   ;;
   4468 
   4469 solaris*)
   4470   lt_cv_deplibs_check_method=pass_all
   4471   ;;
   4472 
   4473 sysv4 | sysv4.3*)
   4474   case $host_vendor in
   4475   motorola)
   4476     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   4477     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4478     ;;
   4479   ncr)
   4480     lt_cv_deplibs_check_method=pass_all
   4481     ;;
   4482   sequent)
   4483     lt_cv_file_magic_cmd='/bin/file'
   4484     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4485     ;;
   4486   sni)
   4487     lt_cv_file_magic_cmd='/bin/file'
   4488     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4489     lt_cv_file_magic_test_file=/lib/libc.so
   4490     ;;
   4491   siemens)
   4492     lt_cv_deplibs_check_method=pass_all
   4493     ;;
   4494   pc)
   4495     lt_cv_deplibs_check_method=pass_all
   4496     ;;
   4497   esac
   4498   ;;
   4499 
   4500 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4501   lt_cv_deplibs_check_method=pass_all
   4502   ;;
   4503 esac
   4504 
   4505 fi
   4506 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4507 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4508 file_magic_cmd=$lt_cv_file_magic_cmd
   4509 deplibs_check_method=$lt_cv_deplibs_check_method
   4510 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4511 
   4512 
   4513 
   4514 
   4515 # If no C compiler was specified, use CC.
   4516 LTCC=${LTCC-"$CC"}
   4517 
   4518 # If no C compiler flags were specified, use CFLAGS.
   4519 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4520 
   4521 # Allow CC to be a program name with arguments.
   4522 compiler=$CC
   4523 
   4524 
   4525 # Check whether --enable-libtool-lock was given.
   4526 if test "${enable_libtool_lock+set}" = set; then
   4527   enableval=$enable_libtool_lock;
   4528 fi
   4529 
   4530 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4531 
   4532 # Some flags need to be propagated to the compiler or linker for good
   4533 # libtool support.
   4534 case $host in
   4535 ia64-*-hpux*)
   4536   # Find out which ABI we are using.
   4537   echo 'int i;' > conftest.$ac_ext
   4538   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4539   (eval $ac_compile) 2>&5
   4540   ac_status=$?
   4541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4542   (exit $ac_status); }; then
   4543     case `/usr/bin/file conftest.$ac_objext` in
   4544     *ELF-32*)
   4545       HPUX_IA64_MODE="32"
   4546       ;;
   4547     *ELF-64*)
   4548       HPUX_IA64_MODE="64"
   4549       ;;
   4550     esac
   4551   fi
   4552   rm -rf conftest*
   4553   ;;
   4554 *-*-irix6*)
   4555   # Find out which ABI we are using.
   4556   echo '#line 4556 "configure"' > conftest.$ac_ext
   4557   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4558   (eval $ac_compile) 2>&5
   4559   ac_status=$?
   4560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4561   (exit $ac_status); }; then
   4562    if test "$lt_cv_prog_gnu_ld" = yes; then
   4563     case `/usr/bin/file conftest.$ac_objext` in
   4564     *32-bit*)
   4565       LD="${LD-ld} -melf32bsmip"
   4566       ;;
   4567     *N32*)
   4568       LD="${LD-ld} -melf32bmipn32"
   4569       ;;
   4570     *64-bit*)
   4571       LD="${LD-ld} -melf64bmip"
   4572       ;;
   4573     esac
   4574    else
   4575     case `/usr/bin/file conftest.$ac_objext` in
   4576     *32-bit*)
   4577       LD="${LD-ld} -32"
   4578       ;;
   4579     *N32*)
   4580       LD="${LD-ld} -n32"
   4581       ;;
   4582     *64-bit*)
   4583       LD="${LD-ld} -64"
   4584       ;;
   4585     esac
   4586    fi
   4587   fi
   4588   rm -rf conftest*
   4589   ;;
   4590 
   4591 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4592 s390*-*linux*|sparc*-*linux*)
   4593   # Find out which ABI we are using.
   4594   echo 'int i;' > conftest.$ac_ext
   4595   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4596   (eval $ac_compile) 2>&5
   4597   ac_status=$?
   4598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4599   (exit $ac_status); }; then
   4600     case `/usr/bin/file conftest.o` in
   4601     *32-bit*)
   4602       case $host in
   4603         x86_64-*kfreebsd*-gnu)
   4604           LD="${LD-ld} -m elf_i386_fbsd"
   4605           ;;
   4606         x86_64-*linux*)
   4607           LD="${LD-ld} -m elf_i386"
   4608           ;;
   4609         ppc64-*linux*|powerpc64-*linux*)
   4610           LD="${LD-ld} -m elf32ppclinux"
   4611           ;;
   4612         s390x-*linux*)
   4613           LD="${LD-ld} -m elf_s390"
   4614           ;;
   4615         sparc64-*linux*)
   4616           LD="${LD-ld} -m elf32_sparc"
   4617           ;;
   4618       esac
   4619       ;;
   4620     *64-bit*)
   4621       case $host in
   4622         x86_64-*kfreebsd*-gnu)
   4623           LD="${LD-ld} -m elf_x86_64_fbsd"
   4624           ;;
   4625         x86_64-*linux*)
   4626           LD="${LD-ld} -m elf_x86_64"
   4627           ;;
   4628         ppc*-*linux*|powerpc*-*linux*)
   4629           LD="${LD-ld} -m elf64ppc"
   4630           ;;
   4631         s390*-*linux*)
   4632           LD="${LD-ld} -m elf64_s390"
   4633           ;;
   4634         sparc*-*linux*)
   4635           LD="${LD-ld} -m elf64_sparc"
   4636           ;;
   4637       esac
   4638       ;;
   4639     esac
   4640   fi
   4641   rm -rf conftest*
   4642   ;;
   4643 
   4644 *-*-sco3.2v5*)
   4645   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4646   SAVE_CFLAGS="$CFLAGS"
   4647   CFLAGS="$CFLAGS -belf"
   4648   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4649 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4650 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4651   $as_echo_n "(cached) " >&6
   4652 else
   4653   ac_ext=c
   4654 ac_cpp='$CPP $CPPFLAGS'
   4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4658 
   4659      cat >conftest.$ac_ext <<_ACEOF
   4660 /* confdefs.h.  */
   4661 _ACEOF
   4662 cat confdefs.h >>conftest.$ac_ext
   4663 cat >>conftest.$ac_ext <<_ACEOF
   4664 /* end confdefs.h.  */
   4665 
   4666 int
   4667 main ()
   4668 {
   4669 
   4670   ;
   4671   return 0;
   4672 }
   4673 _ACEOF
   4674 rm -f conftest.$ac_objext conftest$ac_exeext
   4675 if { (ac_try="$ac_link"
   4676 case "(($ac_try" in
   4677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4678   *) ac_try_echo=$ac_try;;
   4679 esac
   4680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4681 $as_echo "$ac_try_echo") >&5
   4682   (eval "$ac_link") 2>conftest.er1
   4683   ac_status=$?
   4684   grep -v '^ *+' conftest.er1 >conftest.err
   4685   rm -f conftest.er1
   4686   cat conftest.err >&5
   4687   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4688   (exit $ac_status); } && {
   4689 	 test -z "$ac_c_werror_flag" ||
   4690 	 test ! -s conftest.err
   4691        } && test -s conftest$ac_exeext && {
   4692 	 test "$cross_compiling" = yes ||
   4693 	 $as_test_x conftest$ac_exeext
   4694        }; then
   4695   lt_cv_cc_needs_belf=yes
   4696 else
   4697   $as_echo "$as_me: failed program was:" >&5
   4698 sed 's/^/| /' conftest.$ac_ext >&5
   4699 
   4700 	lt_cv_cc_needs_belf=no
   4701 fi
   4702 
   4703 rm -rf conftest.dSYM
   4704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4705       conftest$ac_exeext conftest.$ac_ext
   4706      ac_ext=c
   4707 ac_cpp='$CPP $CPPFLAGS'
   4708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4711 
   4712 fi
   4713 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4714 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4715   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4716     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4717     CFLAGS="$SAVE_CFLAGS"
   4718   fi
   4719   ;;
   4720 sparc*-*solaris*)
   4721   # Find out which ABI we are using.
   4722   echo 'int i;' > conftest.$ac_ext
   4723   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4724   (eval $ac_compile) 2>&5
   4725   ac_status=$?
   4726   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4727   (exit $ac_status); }; then
   4728     case `/usr/bin/file conftest.o` in
   4729     *64-bit*)
   4730       case $lt_cv_prog_gnu_ld in
   4731       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4732       *)
   4733         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4734 	  LD="${LD-ld} -64"
   4735 	fi
   4736 	;;
   4737       esac
   4738       ;;
   4739     esac
   4740   fi
   4741   rm -rf conftest*
   4742   ;;
   4743 
   4744 
   4745 esac
   4746 
   4747 need_locks="$enable_libtool_lock"
   4748 
   4749 
   4750 ac_ext=c
   4751 ac_cpp='$CPP $CPPFLAGS'
   4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4755 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4756 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4757 # On Suns, sometimes $CPP names a directory.
   4758 if test -n "$CPP" && test -d "$CPP"; then
   4759   CPP=
   4760 fi
   4761 if test -z "$CPP"; then
   4762   if test "${ac_cv_prog_CPP+set}" = set; then
   4763   $as_echo_n "(cached) " >&6
   4764 else
   4765       # Double quotes because CPP needs to be expanded
   4766     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4767     do
   4768       ac_preproc_ok=false
   4769 for ac_c_preproc_warn_flag in '' yes
   4770 do
   4771   # Use a header file that comes with gcc, so configuring glibc
   4772   # with a fresh cross-compiler works.
   4773   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4774   # <limits.h> exists even on freestanding compilers.
   4775   # On the NeXT, cc -E runs the code through the compiler's parser,
   4776   # not just through cpp. "Syntax error" is here to catch this case.
   4777   cat >conftest.$ac_ext <<_ACEOF
   4778 /* confdefs.h.  */
   4779 _ACEOF
   4780 cat confdefs.h >>conftest.$ac_ext
   4781 cat >>conftest.$ac_ext <<_ACEOF
   4782 /* end confdefs.h.  */
   4783 #ifdef __STDC__
   4784 # include <limits.h>
   4785 #else
   4786 # include <assert.h>
   4787 #endif
   4788 		     Syntax error
   4789 _ACEOF
   4790 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4791 case "(($ac_try" in
   4792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4793   *) ac_try_echo=$ac_try;;
   4794 esac
   4795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4796 $as_echo "$ac_try_echo") >&5
   4797   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4798   ac_status=$?
   4799   grep -v '^ *+' conftest.er1 >conftest.err
   4800   rm -f conftest.er1
   4801   cat conftest.err >&5
   4802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4803   (exit $ac_status); } >/dev/null && {
   4804 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4805 	 test ! -s conftest.err
   4806        }; then
   4807   :
   4808 else
   4809   $as_echo "$as_me: failed program was:" >&5
   4810 sed 's/^/| /' conftest.$ac_ext >&5
   4811 
   4812   # Broken: fails on valid input.
   4813 continue
   4814 fi
   4815 
   4816 rm -f conftest.err conftest.$ac_ext
   4817 
   4818   # OK, works on sane cases.  Now check whether nonexistent headers
   4819   # can be detected and how.
   4820   cat >conftest.$ac_ext <<_ACEOF
   4821 /* confdefs.h.  */
   4822 _ACEOF
   4823 cat confdefs.h >>conftest.$ac_ext
   4824 cat >>conftest.$ac_ext <<_ACEOF
   4825 /* end confdefs.h.  */
   4826 #include <ac_nonexistent.h>
   4827 _ACEOF
   4828 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4829 case "(($ac_try" in
   4830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4831   *) ac_try_echo=$ac_try;;
   4832 esac
   4833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4834 $as_echo "$ac_try_echo") >&5
   4835   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4836   ac_status=$?
   4837   grep -v '^ *+' conftest.er1 >conftest.err
   4838   rm -f conftest.er1
   4839   cat conftest.err >&5
   4840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4841   (exit $ac_status); } >/dev/null && {
   4842 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4843 	 test ! -s conftest.err
   4844        }; then
   4845   # Broken: success on invalid input.
   4846 continue
   4847 else
   4848   $as_echo "$as_me: failed program was:" >&5
   4849 sed 's/^/| /' conftest.$ac_ext >&5
   4850 
   4851   # Passes both tests.
   4852 ac_preproc_ok=:
   4853 break
   4854 fi
   4855 
   4856 rm -f conftest.err conftest.$ac_ext
   4857 
   4858 done
   4859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4860 rm -f conftest.err conftest.$ac_ext
   4861 if $ac_preproc_ok; then
   4862   break
   4863 fi
   4864 
   4865     done
   4866     ac_cv_prog_CPP=$CPP
   4867 
   4868 fi
   4869   CPP=$ac_cv_prog_CPP
   4870 else
   4871   ac_cv_prog_CPP=$CPP
   4872 fi
   4873 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4874 $as_echo "$CPP" >&6; }
   4875 ac_preproc_ok=false
   4876 for ac_c_preproc_warn_flag in '' yes
   4877 do
   4878   # Use a header file that comes with gcc, so configuring glibc
   4879   # with a fresh cross-compiler works.
   4880   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4881   # <limits.h> exists even on freestanding compilers.
   4882   # On the NeXT, cc -E runs the code through the compiler's parser,
   4883   # not just through cpp. "Syntax error" is here to catch this case.
   4884   cat >conftest.$ac_ext <<_ACEOF
   4885 /* confdefs.h.  */
   4886 _ACEOF
   4887 cat confdefs.h >>conftest.$ac_ext
   4888 cat >>conftest.$ac_ext <<_ACEOF
   4889 /* end confdefs.h.  */
   4890 #ifdef __STDC__
   4891 # include <limits.h>
   4892 #else
   4893 # include <assert.h>
   4894 #endif
   4895 		     Syntax error
   4896 _ACEOF
   4897 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4898 case "(($ac_try" in
   4899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4900   *) ac_try_echo=$ac_try;;
   4901 esac
   4902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4903 $as_echo "$ac_try_echo") >&5
   4904   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4905   ac_status=$?
   4906   grep -v '^ *+' conftest.er1 >conftest.err
   4907   rm -f conftest.er1
   4908   cat conftest.err >&5
   4909   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4910   (exit $ac_status); } >/dev/null && {
   4911 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4912 	 test ! -s conftest.err
   4913        }; then
   4914   :
   4915 else
   4916   $as_echo "$as_me: failed program was:" >&5
   4917 sed 's/^/| /' conftest.$ac_ext >&5
   4918 
   4919   # Broken: fails on valid input.
   4920 continue
   4921 fi
   4922 
   4923 rm -f conftest.err conftest.$ac_ext
   4924 
   4925   # OK, works on sane cases.  Now check whether nonexistent headers
   4926   # can be detected and how.
   4927   cat >conftest.$ac_ext <<_ACEOF
   4928 /* confdefs.h.  */
   4929 _ACEOF
   4930 cat confdefs.h >>conftest.$ac_ext
   4931 cat >>conftest.$ac_ext <<_ACEOF
   4932 /* end confdefs.h.  */
   4933 #include <ac_nonexistent.h>
   4934 _ACEOF
   4935 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4936 case "(($ac_try" in
   4937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4938   *) ac_try_echo=$ac_try;;
   4939 esac
   4940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4941 $as_echo "$ac_try_echo") >&5
   4942   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4943   ac_status=$?
   4944   grep -v '^ *+' conftest.er1 >conftest.err
   4945   rm -f conftest.er1
   4946   cat conftest.err >&5
   4947   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4948   (exit $ac_status); } >/dev/null && {
   4949 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4950 	 test ! -s conftest.err
   4951        }; then
   4952   # Broken: success on invalid input.
   4953 continue
   4954 else
   4955   $as_echo "$as_me: failed program was:" >&5
   4956 sed 's/^/| /' conftest.$ac_ext >&5
   4957 
   4958   # Passes both tests.
   4959 ac_preproc_ok=:
   4960 break
   4961 fi
   4962 
   4963 rm -f conftest.err conftest.$ac_ext
   4964 
   4965 done
   4966 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4967 rm -f conftest.err conftest.$ac_ext
   4968 if $ac_preproc_ok; then
   4969   :
   4970 else
   4971   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4973 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4974 See \`config.log' for more details." >&5
   4975 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4976 See \`config.log' for more details." >&2;}
   4977    { (exit 1); exit 1; }; }; }
   4978 fi
   4979 
   4980 ac_ext=c
   4981 ac_cpp='$CPP $CPPFLAGS'
   4982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4985 
   4986 
   4987 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4988 $as_echo_n "checking for ANSI C header files... " >&6; }
   4989 if test "${ac_cv_header_stdc+set}" = set; then
   4990   $as_echo_n "(cached) " >&6
   4991 else
   4992   cat >conftest.$ac_ext <<_ACEOF
   4993 /* confdefs.h.  */
   4994 _ACEOF
   4995 cat confdefs.h >>conftest.$ac_ext
   4996 cat >>conftest.$ac_ext <<_ACEOF
   4997 /* end confdefs.h.  */
   4998 #include <stdlib.h>
   4999 #include <stdarg.h>
   5000 #include <string.h>
   5001 #include <float.h>
   5002 
   5003 int
   5004 main ()
   5005 {
   5006 
   5007   ;
   5008   return 0;
   5009 }
   5010 _ACEOF
   5011 rm -f conftest.$ac_objext
   5012 if { (ac_try="$ac_compile"
   5013 case "(($ac_try" in
   5014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5015   *) ac_try_echo=$ac_try;;
   5016 esac
   5017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5018 $as_echo "$ac_try_echo") >&5
   5019   (eval "$ac_compile") 2>conftest.er1
   5020   ac_status=$?
   5021   grep -v '^ *+' conftest.er1 >conftest.err
   5022   rm -f conftest.er1
   5023   cat conftest.err >&5
   5024   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5025   (exit $ac_status); } && {
   5026 	 test -z "$ac_c_werror_flag" ||
   5027 	 test ! -s conftest.err
   5028        } && test -s conftest.$ac_objext; then
   5029   ac_cv_header_stdc=yes
   5030 else
   5031   $as_echo "$as_me: failed program was:" >&5
   5032 sed 's/^/| /' conftest.$ac_ext >&5
   5033 
   5034 	ac_cv_header_stdc=no
   5035 fi
   5036 
   5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5038 
   5039 if test $ac_cv_header_stdc = yes; then
   5040   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5041   cat >conftest.$ac_ext <<_ACEOF
   5042 /* confdefs.h.  */
   5043 _ACEOF
   5044 cat confdefs.h >>conftest.$ac_ext
   5045 cat >>conftest.$ac_ext <<_ACEOF
   5046 /* end confdefs.h.  */
   5047 #include <string.h>
   5048 
   5049 _ACEOF
   5050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5051   $EGREP "memchr" >/dev/null 2>&1; then
   5052   :
   5053 else
   5054   ac_cv_header_stdc=no
   5055 fi
   5056 rm -f conftest*
   5057 
   5058 fi
   5059 
   5060 if test $ac_cv_header_stdc = yes; then
   5061   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5062   cat >conftest.$ac_ext <<_ACEOF
   5063 /* confdefs.h.  */
   5064 _ACEOF
   5065 cat confdefs.h >>conftest.$ac_ext
   5066 cat >>conftest.$ac_ext <<_ACEOF
   5067 /* end confdefs.h.  */
   5068 #include <stdlib.h>
   5069 
   5070 _ACEOF
   5071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5072   $EGREP "free" >/dev/null 2>&1; then
   5073   :
   5074 else
   5075   ac_cv_header_stdc=no
   5076 fi
   5077 rm -f conftest*
   5078 
   5079 fi
   5080 
   5081 if test $ac_cv_header_stdc = yes; then
   5082   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5083   if test "$cross_compiling" = yes; then
   5084   :
   5085 else
   5086   cat >conftest.$ac_ext <<_ACEOF
   5087 /* confdefs.h.  */
   5088 _ACEOF
   5089 cat confdefs.h >>conftest.$ac_ext
   5090 cat >>conftest.$ac_ext <<_ACEOF
   5091 /* end confdefs.h.  */
   5092 #include <ctype.h>
   5093 #include <stdlib.h>
   5094 #if ((' ' & 0x0FF) == 0x020)
   5095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5097 #else
   5098 # define ISLOWER(c) \
   5099 		   (('a' <= (c) && (c) <= 'i') \
   5100 		     || ('j' <= (c) && (c) <= 'r') \
   5101 		     || ('s' <= (c) && (c) <= 'z'))
   5102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5103 #endif
   5104 
   5105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5106 int
   5107 main ()
   5108 {
   5109   int i;
   5110   for (i = 0; i < 256; i++)
   5111     if (XOR (islower (i), ISLOWER (i))
   5112 	|| toupper (i) != TOUPPER (i))
   5113       return 2;
   5114   return 0;
   5115 }
   5116 _ACEOF
   5117 rm -f conftest$ac_exeext
   5118 if { (ac_try="$ac_link"
   5119 case "(($ac_try" in
   5120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5121   *) ac_try_echo=$ac_try;;
   5122 esac
   5123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5124 $as_echo "$ac_try_echo") >&5
   5125   (eval "$ac_link") 2>&5
   5126   ac_status=$?
   5127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5128   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5129   { (case "(($ac_try" in
   5130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5131   *) ac_try_echo=$ac_try;;
   5132 esac
   5133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5134 $as_echo "$ac_try_echo") >&5
   5135   (eval "$ac_try") 2>&5
   5136   ac_status=$?
   5137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5138   (exit $ac_status); }; }; then
   5139   :
   5140 else
   5141   $as_echo "$as_me: program exited with status $ac_status" >&5
   5142 $as_echo "$as_me: failed program was:" >&5
   5143 sed 's/^/| /' conftest.$ac_ext >&5
   5144 
   5145 ( exit $ac_status )
   5146 ac_cv_header_stdc=no
   5147 fi
   5148 rm -rf conftest.dSYM
   5149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5150 fi
   5151 
   5152 
   5153 fi
   5154 fi
   5155 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5156 $as_echo "$ac_cv_header_stdc" >&6; }
   5157 if test $ac_cv_header_stdc = yes; then
   5158 
   5159 cat >>confdefs.h <<\_ACEOF
   5160 #define STDC_HEADERS 1
   5161 _ACEOF
   5162 
   5163 fi
   5164 
   5165 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5176 		  inttypes.h stdint.h unistd.h
   5177 do
   5178 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5179 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5180 $as_echo_n "checking for $ac_header... " >&6; }
   5181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5182   $as_echo_n "(cached) " >&6
   5183 else
   5184   cat >conftest.$ac_ext <<_ACEOF
   5185 /* confdefs.h.  */
   5186 _ACEOF
   5187 cat confdefs.h >>conftest.$ac_ext
   5188 cat >>conftest.$ac_ext <<_ACEOF
   5189 /* end confdefs.h.  */
   5190 $ac_includes_default
   5191 
   5192 #include <$ac_header>
   5193 _ACEOF
   5194 rm -f conftest.$ac_objext
   5195 if { (ac_try="$ac_compile"
   5196 case "(($ac_try" in
   5197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5198   *) ac_try_echo=$ac_try;;
   5199 esac
   5200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5201 $as_echo "$ac_try_echo") >&5
   5202   (eval "$ac_compile") 2>conftest.er1
   5203   ac_status=$?
   5204   grep -v '^ *+' conftest.er1 >conftest.err
   5205   rm -f conftest.er1
   5206   cat conftest.err >&5
   5207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5208   (exit $ac_status); } && {
   5209 	 test -z "$ac_c_werror_flag" ||
   5210 	 test ! -s conftest.err
   5211        } && test -s conftest.$ac_objext; then
   5212   eval "$as_ac_Header=yes"
   5213 else
   5214   $as_echo "$as_me: failed program was:" >&5
   5215 sed 's/^/| /' conftest.$ac_ext >&5
   5216 
   5217 	eval "$as_ac_Header=no"
   5218 fi
   5219 
   5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5221 fi
   5222 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5223 		 $as_echo "$as_val"'`
   5224 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5225 $as_echo "$ac_res" >&6; }
   5226 as_val=`eval 'as_val=${'$as_ac_Header'}
   5227 		 $as_echo "$as_val"'`
   5228    if test "x$as_val" = x""yes; then
   5229   cat >>confdefs.h <<_ACEOF
   5230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5231 _ACEOF
   5232 
   5233 fi
   5234 
   5235 done
   5236 
   5237 
   5238 
   5239 for ac_header in dlfcn.h
   5240 do
   5241 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5243   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5244 $as_echo_n "checking for $ac_header... " >&6; }
   5245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5246   $as_echo_n "(cached) " >&6
   5247 fi
   5248 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5249 		 $as_echo "$as_val"'`
   5250 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5251 $as_echo "$ac_res" >&6; }
   5252 else
   5253   # Is the header compilable?
   5254 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5255 $as_echo_n "checking $ac_header usability... " >&6; }
   5256 cat >conftest.$ac_ext <<_ACEOF
   5257 /* confdefs.h.  */
   5258 _ACEOF
   5259 cat confdefs.h >>conftest.$ac_ext
   5260 cat >>conftest.$ac_ext <<_ACEOF
   5261 /* end confdefs.h.  */
   5262 $ac_includes_default
   5263 #include <$ac_header>
   5264 _ACEOF
   5265 rm -f conftest.$ac_objext
   5266 if { (ac_try="$ac_compile"
   5267 case "(($ac_try" in
   5268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5269   *) ac_try_echo=$ac_try;;
   5270 esac
   5271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5272 $as_echo "$ac_try_echo") >&5
   5273   (eval "$ac_compile") 2>conftest.er1
   5274   ac_status=$?
   5275   grep -v '^ *+' conftest.er1 >conftest.err
   5276   rm -f conftest.er1
   5277   cat conftest.err >&5
   5278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5279   (exit $ac_status); } && {
   5280 	 test -z "$ac_c_werror_flag" ||
   5281 	 test ! -s conftest.err
   5282        } && test -s conftest.$ac_objext; then
   5283   ac_header_compiler=yes
   5284 else
   5285   $as_echo "$as_me: failed program was:" >&5
   5286 sed 's/^/| /' conftest.$ac_ext >&5
   5287 
   5288 	ac_header_compiler=no
   5289 fi
   5290 
   5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5292 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5293 $as_echo "$ac_header_compiler" >&6; }
   5294 
   5295 # Is the header present?
   5296 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5297 $as_echo_n "checking $ac_header presence... " >&6; }
   5298 cat >conftest.$ac_ext <<_ACEOF
   5299 /* confdefs.h.  */
   5300 _ACEOF
   5301 cat confdefs.h >>conftest.$ac_ext
   5302 cat >>conftest.$ac_ext <<_ACEOF
   5303 /* end confdefs.h.  */
   5304 #include <$ac_header>
   5305 _ACEOF
   5306 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5307 case "(($ac_try" in
   5308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5309   *) ac_try_echo=$ac_try;;
   5310 esac
   5311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5312 $as_echo "$ac_try_echo") >&5
   5313   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5314   ac_status=$?
   5315   grep -v '^ *+' conftest.er1 >conftest.err
   5316   rm -f conftest.er1
   5317   cat conftest.err >&5
   5318   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5319   (exit $ac_status); } >/dev/null && {
   5320 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5321 	 test ! -s conftest.err
   5322        }; then
   5323   ac_header_preproc=yes
   5324 else
   5325   $as_echo "$as_me: failed program was:" >&5
   5326 sed 's/^/| /' conftest.$ac_ext >&5
   5327 
   5328   ac_header_preproc=no
   5329 fi
   5330 
   5331 rm -f conftest.err conftest.$ac_ext
   5332 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5333 $as_echo "$ac_header_preproc" >&6; }
   5334 
   5335 # So?  What about this header?
   5336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5337   yes:no: )
   5338     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5339 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5340     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5341 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5342     ac_header_preproc=yes
   5343     ;;
   5344   no:yes:* )
   5345     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5346 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5347     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5348 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5349     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5350 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5351     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5352 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5353     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5354 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5355     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5356 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5357     ( cat <<\_ASBOX
   5358 ## ---------------------------------------------------------------------- ##
   5359 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5360 ## ---------------------------------------------------------------------- ##
   5361 _ASBOX
   5362      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5363     ;;
   5364 esac
   5365 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5366 $as_echo_n "checking for $ac_header... " >&6; }
   5367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5368   $as_echo_n "(cached) " >&6
   5369 else
   5370   eval "$as_ac_Header=\$ac_header_preproc"
   5371 fi
   5372 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5373 		 $as_echo "$as_val"'`
   5374 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5375 $as_echo "$ac_res" >&6; }
   5376 
   5377 fi
   5378 as_val=`eval 'as_val=${'$as_ac_Header'}
   5379 		 $as_echo "$as_val"'`
   5380    if test "x$as_val" = x""yes; then
   5381   cat >>confdefs.h <<_ACEOF
   5382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5383 _ACEOF
   5384 
   5385 fi
   5386 
   5387 done
   5388 
   5389 ac_ext=cpp
   5390 ac_cpp='$CXXCPP $CPPFLAGS'
   5391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5394 if test -z "$CXX"; then
   5395   if test -n "$CCC"; then
   5396     CXX=$CCC
   5397   else
   5398     if test -n "$ac_tool_prefix"; then
   5399   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5400   do
   5401     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5404 $as_echo_n "checking for $ac_word... " >&6; }
   5405 if test "${ac_cv_prog_CXX+set}" = set; then
   5406   $as_echo_n "(cached) " >&6
   5407 else
   5408   if test -n "$CXX"; then
   5409   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5410 else
   5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5412 for as_dir in $PATH
   5413 do
   5414   IFS=$as_save_IFS
   5415   test -z "$as_dir" && as_dir=.
   5416   for ac_exec_ext in '' $ac_executable_extensions; do
   5417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5418     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5419     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5420     break 2
   5421   fi
   5422 done
   5423 done
   5424 IFS=$as_save_IFS
   5425 
   5426 fi
   5427 fi
   5428 CXX=$ac_cv_prog_CXX
   5429 if test -n "$CXX"; then
   5430   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5431 $as_echo "$CXX" >&6; }
   5432 else
   5433   { $as_echo "$as_me:$LINENO: result: no" >&5
   5434 $as_echo "no" >&6; }
   5435 fi
   5436 
   5437 
   5438     test -n "$CXX" && break
   5439   done
   5440 fi
   5441 if test -z "$CXX"; then
   5442   ac_ct_CXX=$CXX
   5443   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5444 do
   5445   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5446 set dummy $ac_prog; ac_word=$2
   5447 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5448 $as_echo_n "checking for $ac_word... " >&6; }
   5449 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5450   $as_echo_n "(cached) " >&6
   5451 else
   5452   if test -n "$ac_ct_CXX"; then
   5453   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5454 else
   5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5456 for as_dir in $PATH
   5457 do
   5458   IFS=$as_save_IFS
   5459   test -z "$as_dir" && as_dir=.
   5460   for ac_exec_ext in '' $ac_executable_extensions; do
   5461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5462     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5463     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5464     break 2
   5465   fi
   5466 done
   5467 done
   5468 IFS=$as_save_IFS
   5469 
   5470 fi
   5471 fi
   5472 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5473 if test -n "$ac_ct_CXX"; then
   5474   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5475 $as_echo "$ac_ct_CXX" >&6; }
   5476 else
   5477   { $as_echo "$as_me:$LINENO: result: no" >&5
   5478 $as_echo "no" >&6; }
   5479 fi
   5480 
   5481 
   5482   test -n "$ac_ct_CXX" && break
   5483 done
   5484 
   5485   if test "x$ac_ct_CXX" = x; then
   5486     CXX="g++"
   5487   else
   5488     case $cross_compiling:$ac_tool_warned in
   5489 yes:)
   5490 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5492 ac_tool_warned=yes ;;
   5493 esac
   5494     CXX=$ac_ct_CXX
   5495   fi
   5496 fi
   5497 
   5498   fi
   5499 fi
   5500 # Provide some information about the compiler.
   5501 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5502 set X $ac_compile
   5503 ac_compiler=$2
   5504 { (ac_try="$ac_compiler --version >&5"
   5505 case "(($ac_try" in
   5506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5507   *) ac_try_echo=$ac_try;;
   5508 esac
   5509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5510 $as_echo "$ac_try_echo") >&5
   5511   (eval "$ac_compiler --version >&5") 2>&5
   5512   ac_status=$?
   5513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5514   (exit $ac_status); }
   5515 { (ac_try="$ac_compiler -v >&5"
   5516 case "(($ac_try" in
   5517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5518   *) ac_try_echo=$ac_try;;
   5519 esac
   5520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5521 $as_echo "$ac_try_echo") >&5
   5522   (eval "$ac_compiler -v >&5") 2>&5
   5523   ac_status=$?
   5524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5525   (exit $ac_status); }
   5526 { (ac_try="$ac_compiler -V >&5"
   5527 case "(($ac_try" in
   5528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5529   *) ac_try_echo=$ac_try;;
   5530 esac
   5531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5532 $as_echo "$ac_try_echo") >&5
   5533   (eval "$ac_compiler -V >&5") 2>&5
   5534   ac_status=$?
   5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5536   (exit $ac_status); }
   5537 
   5538 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5539 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5540 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5541   $as_echo_n "(cached) " >&6
   5542 else
   5543   cat >conftest.$ac_ext <<_ACEOF
   5544 /* confdefs.h.  */
   5545 _ACEOF
   5546 cat confdefs.h >>conftest.$ac_ext
   5547 cat >>conftest.$ac_ext <<_ACEOF
   5548 /* end confdefs.h.  */
   5549 
   5550 int
   5551 main ()
   5552 {
   5553 #ifndef __GNUC__
   5554        choke me
   5555 #endif
   5556 
   5557   ;
   5558   return 0;
   5559 }
   5560 _ACEOF
   5561 rm -f conftest.$ac_objext
   5562 if { (ac_try="$ac_compile"
   5563 case "(($ac_try" in
   5564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5565   *) ac_try_echo=$ac_try;;
   5566 esac
   5567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5568 $as_echo "$ac_try_echo") >&5
   5569   (eval "$ac_compile") 2>conftest.er1
   5570   ac_status=$?
   5571   grep -v '^ *+' conftest.er1 >conftest.err
   5572   rm -f conftest.er1
   5573   cat conftest.err >&5
   5574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5575   (exit $ac_status); } && {
   5576 	 test -z "$ac_cxx_werror_flag" ||
   5577 	 test ! -s conftest.err
   5578        } && test -s conftest.$ac_objext; then
   5579   ac_compiler_gnu=yes
   5580 else
   5581   $as_echo "$as_me: failed program was:" >&5
   5582 sed 's/^/| /' conftest.$ac_ext >&5
   5583 
   5584 	ac_compiler_gnu=no
   5585 fi
   5586 
   5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5588 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5589 
   5590 fi
   5591 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5592 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5593 if test $ac_compiler_gnu = yes; then
   5594   GXX=yes
   5595 else
   5596   GXX=
   5597 fi
   5598 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5599 ac_save_CXXFLAGS=$CXXFLAGS
   5600 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5601 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5602 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5606    ac_cxx_werror_flag=yes
   5607    ac_cv_prog_cxx_g=no
   5608    CXXFLAGS="-g"
   5609    cat >conftest.$ac_ext <<_ACEOF
   5610 /* confdefs.h.  */
   5611 _ACEOF
   5612 cat confdefs.h >>conftest.$ac_ext
   5613 cat >>conftest.$ac_ext <<_ACEOF
   5614 /* end confdefs.h.  */
   5615 
   5616 int
   5617 main ()
   5618 {
   5619 
   5620   ;
   5621   return 0;
   5622 }
   5623 _ACEOF
   5624 rm -f conftest.$ac_objext
   5625 if { (ac_try="$ac_compile"
   5626 case "(($ac_try" in
   5627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5628   *) ac_try_echo=$ac_try;;
   5629 esac
   5630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5631 $as_echo "$ac_try_echo") >&5
   5632   (eval "$ac_compile") 2>conftest.er1
   5633   ac_status=$?
   5634   grep -v '^ *+' conftest.er1 >conftest.err
   5635   rm -f conftest.er1
   5636   cat conftest.err >&5
   5637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5638   (exit $ac_status); } && {
   5639 	 test -z "$ac_cxx_werror_flag" ||
   5640 	 test ! -s conftest.err
   5641        } && test -s conftest.$ac_objext; then
   5642   ac_cv_prog_cxx_g=yes
   5643 else
   5644   $as_echo "$as_me: failed program was:" >&5
   5645 sed 's/^/| /' conftest.$ac_ext >&5
   5646 
   5647 	CXXFLAGS=""
   5648       cat >conftest.$ac_ext <<_ACEOF
   5649 /* confdefs.h.  */
   5650 _ACEOF
   5651 cat confdefs.h >>conftest.$ac_ext
   5652 cat >>conftest.$ac_ext <<_ACEOF
   5653 /* end confdefs.h.  */
   5654 
   5655 int
   5656 main ()
   5657 {
   5658 
   5659   ;
   5660   return 0;
   5661 }
   5662 _ACEOF
   5663 rm -f conftest.$ac_objext
   5664 if { (ac_try="$ac_compile"
   5665 case "(($ac_try" in
   5666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5667   *) ac_try_echo=$ac_try;;
   5668 esac
   5669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5670 $as_echo "$ac_try_echo") >&5
   5671   (eval "$ac_compile") 2>conftest.er1
   5672   ac_status=$?
   5673   grep -v '^ *+' conftest.er1 >conftest.err
   5674   rm -f conftest.er1
   5675   cat conftest.err >&5
   5676   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5677   (exit $ac_status); } && {
   5678 	 test -z "$ac_cxx_werror_flag" ||
   5679 	 test ! -s conftest.err
   5680        } && test -s conftest.$ac_objext; then
   5681   :
   5682 else
   5683   $as_echo "$as_me: failed program was:" >&5
   5684 sed 's/^/| /' conftest.$ac_ext >&5
   5685 
   5686 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5687 	 CXXFLAGS="-g"
   5688 	 cat >conftest.$ac_ext <<_ACEOF
   5689 /* confdefs.h.  */
   5690 _ACEOF
   5691 cat confdefs.h >>conftest.$ac_ext
   5692 cat >>conftest.$ac_ext <<_ACEOF
   5693 /* end confdefs.h.  */
   5694 
   5695 int
   5696 main ()
   5697 {
   5698 
   5699   ;
   5700   return 0;
   5701 }
   5702 _ACEOF
   5703 rm -f conftest.$ac_objext
   5704 if { (ac_try="$ac_compile"
   5705 case "(($ac_try" in
   5706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5707   *) ac_try_echo=$ac_try;;
   5708 esac
   5709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5710 $as_echo "$ac_try_echo") >&5
   5711   (eval "$ac_compile") 2>conftest.er1
   5712   ac_status=$?
   5713   grep -v '^ *+' conftest.er1 >conftest.err
   5714   rm -f conftest.er1
   5715   cat conftest.err >&5
   5716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5717   (exit $ac_status); } && {
   5718 	 test -z "$ac_cxx_werror_flag" ||
   5719 	 test ! -s conftest.err
   5720        } && test -s conftest.$ac_objext; then
   5721   ac_cv_prog_cxx_g=yes
   5722 else
   5723   $as_echo "$as_me: failed program was:" >&5
   5724 sed 's/^/| /' conftest.$ac_ext >&5
   5725 
   5726 
   5727 fi
   5728 
   5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5730 fi
   5731 
   5732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5733 fi
   5734 
   5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5736    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5737 fi
   5738 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5739 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5740 if test "$ac_test_CXXFLAGS" = set; then
   5741   CXXFLAGS=$ac_save_CXXFLAGS
   5742 elif test $ac_cv_prog_cxx_g = yes; then
   5743   if test "$GXX" = yes; then
   5744     CXXFLAGS="-g -O2"
   5745   else
   5746     CXXFLAGS="-g"
   5747   fi
   5748 else
   5749   if test "$GXX" = yes; then
   5750     CXXFLAGS="-O2"
   5751   else
   5752     CXXFLAGS=
   5753   fi
   5754 fi
   5755 ac_ext=cpp
   5756 ac_cpp='$CXXCPP $CPPFLAGS'
   5757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5760 
   5761 depcc="$CXX"  am_compiler_list=
   5762 
   5763 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5764 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5765 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5766   $as_echo_n "(cached) " >&6
   5767 else
   5768   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5769   # We make a subdir and do the tests there.  Otherwise we can end up
   5770   # making bogus files that we don't know about and never remove.  For
   5771   # instance it was reported that on HP-UX the gcc test will end up
   5772   # making a dummy file named `D' -- because `-MD' means `put the output
   5773   # in D'.
   5774   mkdir conftest.dir
   5775   # Copy depcomp to subdir because otherwise we won't find it if we're
   5776   # using a relative directory.
   5777   cp "$am_depcomp" conftest.dir
   5778   cd conftest.dir
   5779   # We will build objects and dependencies in a subdirectory because
   5780   # it helps to detect inapplicable dependency modes.  For instance
   5781   # both Tru64's cc and ICC support -MD to output dependencies as a
   5782   # side effect of compilation, but ICC will put the dependencies in
   5783   # the current directory while Tru64 will put them in the object
   5784   # directory.
   5785   mkdir sub
   5786 
   5787   am_cv_CXX_dependencies_compiler_type=none
   5788   if test "$am_compiler_list" = ""; then
   5789      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5790   fi
   5791   am__universal=false
   5792   case " $depcc " in #(
   5793      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5794      esac
   5795 
   5796   for depmode in $am_compiler_list; do
   5797     # Setup a source with many dependencies, because some compilers
   5798     # like to wrap large dependency lists on column 80 (with \), and
   5799     # we should not choose a depcomp mode which is confused by this.
   5800     #
   5801     # We need to recreate these files for each test, as the compiler may
   5802     # overwrite some of them when testing with obscure command lines.
   5803     # This happens at least with the AIX C compiler.
   5804     : > sub/conftest.c
   5805     for i in 1 2 3 4 5 6; do
   5806       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5807       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5808       # Solaris 8's {/usr,}/bin/sh.
   5809       touch sub/conftst$i.h
   5810     done
   5811     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5812 
   5813     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5814     # mode.  It turns out that the SunPro C++ compiler does not properly
   5815     # handle `-M -o', and we need to detect this.  Also, some Intel
   5816     # versions had trouble with output in subdirs
   5817     am__obj=sub/conftest.${OBJEXT-o}
   5818     am__minus_obj="-o $am__obj"
   5819     case $depmode in
   5820     gcc)
   5821       # This depmode causes a compiler race in universal mode.
   5822       test "$am__universal" = false || continue
   5823       ;;
   5824     nosideeffect)
   5825       # after this tag, mechanisms are not by side-effect, so they'll
   5826       # only be used when explicitly requested
   5827       if test "x$enable_dependency_tracking" = xyes; then
   5828 	continue
   5829       else
   5830 	break
   5831       fi
   5832       ;;
   5833     msvisualcpp | msvcmsys)
   5834       # This compiler won't grok `-c -o', but also, the minuso test has
   5835       # not run yet.  These depmodes are late enough in the game, and
   5836       # so weak that their functioning should not be impacted.
   5837       am__obj=conftest.${OBJEXT-o}
   5838       am__minus_obj=
   5839       ;;
   5840     none) break ;;
   5841     esac
   5842     if depmode=$depmode \
   5843        source=sub/conftest.c object=$am__obj \
   5844        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5845        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5846          >/dev/null 2>conftest.err &&
   5847        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5848        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5849        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5850        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5851       # icc doesn't choke on unknown options, it will just issue warnings
   5852       # or remarks (even with -Werror).  So we grep stderr for any message
   5853       # that says an option was ignored or not supported.
   5854       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5855       #   icc: Command line warning: ignoring option '-M'; no argument required
   5856       # The diagnosis changed in icc 8.0:
   5857       #   icc: Command line remark: option '-MP' not supported
   5858       if (grep 'ignoring option' conftest.err ||
   5859           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5860         am_cv_CXX_dependencies_compiler_type=$depmode
   5861         break
   5862       fi
   5863     fi
   5864   done
   5865 
   5866   cd ..
   5867   rm -rf conftest.dir
   5868 else
   5869   am_cv_CXX_dependencies_compiler_type=none
   5870 fi
   5871 
   5872 fi
   5873 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5874 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5875 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5876 
   5877  if
   5878   test "x$enable_dependency_tracking" != xno \
   5879   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5880   am__fastdepCXX_TRUE=
   5881   am__fastdepCXX_FALSE='#'
   5882 else
   5883   am__fastdepCXX_TRUE='#'
   5884   am__fastdepCXX_FALSE=
   5885 fi
   5886 
   5887 
   5888 
   5889 
   5890 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5891     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5892     (test "X$CXX" != "Xg++"))) ; then
   5893   ac_ext=cpp
   5894 ac_cpp='$CXXCPP $CPPFLAGS'
   5895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5898 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5899 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5900 if test -z "$CXXCPP"; then
   5901   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5902   $as_echo_n "(cached) " >&6
   5903 else
   5904       # Double quotes because CXXCPP needs to be expanded
   5905     for CXXCPP in "$CXX -E" "/lib/cpp"
   5906     do
   5907       ac_preproc_ok=false
   5908 for ac_cxx_preproc_warn_flag in '' yes
   5909 do
   5910   # Use a header file that comes with gcc, so configuring glibc
   5911   # with a fresh cross-compiler works.
   5912   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5913   # <limits.h> exists even on freestanding compilers.
   5914   # On the NeXT, cc -E runs the code through the compiler's parser,
   5915   # not just through cpp. "Syntax error" is here to catch this case.
   5916   cat >conftest.$ac_ext <<_ACEOF
   5917 /* confdefs.h.  */
   5918 _ACEOF
   5919 cat confdefs.h >>conftest.$ac_ext
   5920 cat >>conftest.$ac_ext <<_ACEOF
   5921 /* end confdefs.h.  */
   5922 #ifdef __STDC__
   5923 # include <limits.h>
   5924 #else
   5925 # include <assert.h>
   5926 #endif
   5927 		     Syntax error
   5928 _ACEOF
   5929 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5930 case "(($ac_try" in
   5931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5932   *) ac_try_echo=$ac_try;;
   5933 esac
   5934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5935 $as_echo "$ac_try_echo") >&5
   5936   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5937   ac_status=$?
   5938   grep -v '^ *+' conftest.er1 >conftest.err
   5939   rm -f conftest.er1
   5940   cat conftest.err >&5
   5941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5942   (exit $ac_status); } >/dev/null && {
   5943 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5944 	 test ! -s conftest.err
   5945        }; then
   5946   :
   5947 else
   5948   $as_echo "$as_me: failed program was:" >&5
   5949 sed 's/^/| /' conftest.$ac_ext >&5
   5950 
   5951   # Broken: fails on valid input.
   5952 continue
   5953 fi
   5954 
   5955 rm -f conftest.err conftest.$ac_ext
   5956 
   5957   # OK, works on sane cases.  Now check whether nonexistent headers
   5958   # can be detected and how.
   5959   cat >conftest.$ac_ext <<_ACEOF
   5960 /* confdefs.h.  */
   5961 _ACEOF
   5962 cat confdefs.h >>conftest.$ac_ext
   5963 cat >>conftest.$ac_ext <<_ACEOF
   5964 /* end confdefs.h.  */
   5965 #include <ac_nonexistent.h>
   5966 _ACEOF
   5967 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5968 case "(($ac_try" in
   5969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5970   *) ac_try_echo=$ac_try;;
   5971 esac
   5972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5973 $as_echo "$ac_try_echo") >&5
   5974   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5975   ac_status=$?
   5976   grep -v '^ *+' conftest.er1 >conftest.err
   5977   rm -f conftest.er1
   5978   cat conftest.err >&5
   5979   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5980   (exit $ac_status); } >/dev/null && {
   5981 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5982 	 test ! -s conftest.err
   5983        }; then
   5984   # Broken: success on invalid input.
   5985 continue
   5986 else
   5987   $as_echo "$as_me: failed program was:" >&5
   5988 sed 's/^/| /' conftest.$ac_ext >&5
   5989 
   5990   # Passes both tests.
   5991 ac_preproc_ok=:
   5992 break
   5993 fi
   5994 
   5995 rm -f conftest.err conftest.$ac_ext
   5996 
   5997 done
   5998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5999 rm -f conftest.err conftest.$ac_ext
   6000 if $ac_preproc_ok; then
   6001   break
   6002 fi
   6003 
   6004     done
   6005     ac_cv_prog_CXXCPP=$CXXCPP
   6006 
   6007 fi
   6008   CXXCPP=$ac_cv_prog_CXXCPP
   6009 else
   6010   ac_cv_prog_CXXCPP=$CXXCPP
   6011 fi
   6012 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6013 $as_echo "$CXXCPP" >&6; }
   6014 ac_preproc_ok=false
   6015 for ac_cxx_preproc_warn_flag in '' yes
   6016 do
   6017   # Use a header file that comes with gcc, so configuring glibc
   6018   # with a fresh cross-compiler works.
   6019   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6020   # <limits.h> exists even on freestanding compilers.
   6021   # On the NeXT, cc -E runs the code through the compiler's parser,
   6022   # not just through cpp. "Syntax error" is here to catch this case.
   6023   cat >conftest.$ac_ext <<_ACEOF
   6024 /* confdefs.h.  */
   6025 _ACEOF
   6026 cat confdefs.h >>conftest.$ac_ext
   6027 cat >>conftest.$ac_ext <<_ACEOF
   6028 /* end confdefs.h.  */
   6029 #ifdef __STDC__
   6030 # include <limits.h>
   6031 #else
   6032 # include <assert.h>
   6033 #endif
   6034 		     Syntax error
   6035 _ACEOF
   6036 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6037 case "(($ac_try" in
   6038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6039   *) ac_try_echo=$ac_try;;
   6040 esac
   6041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6042 $as_echo "$ac_try_echo") >&5
   6043   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6044   ac_status=$?
   6045   grep -v '^ *+' conftest.er1 >conftest.err
   6046   rm -f conftest.er1
   6047   cat conftest.err >&5
   6048   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6049   (exit $ac_status); } >/dev/null && {
   6050 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6051 	 test ! -s conftest.err
   6052        }; then
   6053   :
   6054 else
   6055   $as_echo "$as_me: failed program was:" >&5
   6056 sed 's/^/| /' conftest.$ac_ext >&5
   6057 
   6058   # Broken: fails on valid input.
   6059 continue
   6060 fi
   6061 
   6062 rm -f conftest.err conftest.$ac_ext
   6063 
   6064   # OK, works on sane cases.  Now check whether nonexistent headers
   6065   # can be detected and how.
   6066   cat >conftest.$ac_ext <<_ACEOF
   6067 /* confdefs.h.  */
   6068 _ACEOF
   6069 cat confdefs.h >>conftest.$ac_ext
   6070 cat >>conftest.$ac_ext <<_ACEOF
   6071 /* end confdefs.h.  */
   6072 #include <ac_nonexistent.h>
   6073 _ACEOF
   6074 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6075 case "(($ac_try" in
   6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6077   *) ac_try_echo=$ac_try;;
   6078 esac
   6079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6080 $as_echo "$ac_try_echo") >&5
   6081   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6082   ac_status=$?
   6083   grep -v '^ *+' conftest.er1 >conftest.err
   6084   rm -f conftest.er1
   6085   cat conftest.err >&5
   6086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6087   (exit $ac_status); } >/dev/null && {
   6088 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6089 	 test ! -s conftest.err
   6090        }; then
   6091   # Broken: success on invalid input.
   6092 continue
   6093 else
   6094   $as_echo "$as_me: failed program was:" >&5
   6095 sed 's/^/| /' conftest.$ac_ext >&5
   6096 
   6097   # Passes both tests.
   6098 ac_preproc_ok=:
   6099 break
   6100 fi
   6101 
   6102 rm -f conftest.err conftest.$ac_ext
   6103 
   6104 done
   6105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6106 rm -f conftest.err conftest.$ac_ext
   6107 if $ac_preproc_ok; then
   6108   :
   6109 else
   6110   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6112 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6113 See \`config.log' for more details." >&5
   6114 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6115 See \`config.log' for more details." >&2;}
   6116    { (exit 1); exit 1; }; }; }
   6117 fi
   6118 
   6119 ac_ext=cpp
   6120 ac_cpp='$CXXCPP $CPPFLAGS'
   6121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6124 
   6125 fi
   6126 
   6127 
   6128 ac_ext=f
   6129 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6130 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6131 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6132 if test -n "$ac_tool_prefix"; then
   6133   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6134   do
   6135     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6137 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6138 $as_echo_n "checking for $ac_word... " >&6; }
   6139 if test "${ac_cv_prog_F77+set}" = set; then
   6140   $as_echo_n "(cached) " >&6
   6141 else
   6142   if test -n "$F77"; then
   6143   ac_cv_prog_F77="$F77" # Let the user override the test.
   6144 else
   6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6146 for as_dir in $PATH
   6147 do
   6148   IFS=$as_save_IFS
   6149   test -z "$as_dir" && as_dir=.
   6150   for ac_exec_ext in '' $ac_executable_extensions; do
   6151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6152     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6153     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6154     break 2
   6155   fi
   6156 done
   6157 done
   6158 IFS=$as_save_IFS
   6159 
   6160 fi
   6161 fi
   6162 F77=$ac_cv_prog_F77
   6163 if test -n "$F77"; then
   6164   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6165 $as_echo "$F77" >&6; }
   6166 else
   6167   { $as_echo "$as_me:$LINENO: result: no" >&5
   6168 $as_echo "no" >&6; }
   6169 fi
   6170 
   6171 
   6172     test -n "$F77" && break
   6173   done
   6174 fi
   6175 if test -z "$F77"; then
   6176   ac_ct_F77=$F77
   6177   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6178 do
   6179   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6180 set dummy $ac_prog; ac_word=$2
   6181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6182 $as_echo_n "checking for $ac_word... " >&6; }
   6183 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6184   $as_echo_n "(cached) " >&6
   6185 else
   6186   if test -n "$ac_ct_F77"; then
   6187   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6188 else
   6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6190 for as_dir in $PATH
   6191 do
   6192   IFS=$as_save_IFS
   6193   test -z "$as_dir" && as_dir=.
   6194   for ac_exec_ext in '' $ac_executable_extensions; do
   6195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6196     ac_cv_prog_ac_ct_F77="$ac_prog"
   6197     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6198     break 2
   6199   fi
   6200 done
   6201 done
   6202 IFS=$as_save_IFS
   6203 
   6204 fi
   6205 fi
   6206 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6207 if test -n "$ac_ct_F77"; then
   6208   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6209 $as_echo "$ac_ct_F77" >&6; }
   6210 else
   6211   { $as_echo "$as_me:$LINENO: result: no" >&5
   6212 $as_echo "no" >&6; }
   6213 fi
   6214 
   6215 
   6216   test -n "$ac_ct_F77" && break
   6217 done
   6218 
   6219   if test "x$ac_ct_F77" = x; then
   6220     F77=""
   6221   else
   6222     case $cross_compiling:$ac_tool_warned in
   6223 yes:)
   6224 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6226 ac_tool_warned=yes ;;
   6227 esac
   6228     F77=$ac_ct_F77
   6229   fi
   6230 fi
   6231 
   6232 
   6233 # Provide some information about the compiler.
   6234 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6235 set X $ac_compile
   6236 ac_compiler=$2
   6237 { (ac_try="$ac_compiler --version >&5"
   6238 case "(($ac_try" in
   6239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6240   *) ac_try_echo=$ac_try;;
   6241 esac
   6242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6243 $as_echo "$ac_try_echo") >&5
   6244   (eval "$ac_compiler --version >&5") 2>&5
   6245   ac_status=$?
   6246   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6247   (exit $ac_status); }
   6248 { (ac_try="$ac_compiler -v >&5"
   6249 case "(($ac_try" in
   6250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6251   *) ac_try_echo=$ac_try;;
   6252 esac
   6253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6254 $as_echo "$ac_try_echo") >&5
   6255   (eval "$ac_compiler -v >&5") 2>&5
   6256   ac_status=$?
   6257   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6258   (exit $ac_status); }
   6259 { (ac_try="$ac_compiler -V >&5"
   6260 case "(($ac_try" in
   6261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6262   *) ac_try_echo=$ac_try;;
   6263 esac
   6264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6265 $as_echo "$ac_try_echo") >&5
   6266   (eval "$ac_compiler -V >&5") 2>&5
   6267   ac_status=$?
   6268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6269   (exit $ac_status); }
   6270 rm -f a.out
   6271 
   6272 # If we don't use `.F' as extension, the preprocessor is not run on the
   6273 # input file.  (Note that this only needs to work for GNU compilers.)
   6274 ac_save_ext=$ac_ext
   6275 ac_ext=F
   6276 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6277 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6278 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   cat >conftest.$ac_ext <<_ACEOF
   6282       program main
   6283 #ifndef __GNUC__
   6284        choke me
   6285 #endif
   6286 
   6287       end
   6288 _ACEOF
   6289 rm -f conftest.$ac_objext
   6290 if { (ac_try="$ac_compile"
   6291 case "(($ac_try" in
   6292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6293   *) ac_try_echo=$ac_try;;
   6294 esac
   6295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6296 $as_echo "$ac_try_echo") >&5
   6297   (eval "$ac_compile") 2>conftest.er1
   6298   ac_status=$?
   6299   grep -v '^ *+' conftest.er1 >conftest.err
   6300   rm -f conftest.er1
   6301   cat conftest.err >&5
   6302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6303   (exit $ac_status); } && {
   6304 	 test -z "$ac_f77_werror_flag" ||
   6305 	 test ! -s conftest.err
   6306        } && test -s conftest.$ac_objext; then
   6307   ac_compiler_gnu=yes
   6308 else
   6309   $as_echo "$as_me: failed program was:" >&5
   6310 sed 's/^/| /' conftest.$ac_ext >&5
   6311 
   6312 	ac_compiler_gnu=no
   6313 fi
   6314 
   6315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6316 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6317 
   6318 fi
   6319 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6320 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6321 ac_ext=$ac_save_ext
   6322 ac_test_FFLAGS=${FFLAGS+set}
   6323 ac_save_FFLAGS=$FFLAGS
   6324 FFLAGS=
   6325 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6326 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6327 if test "${ac_cv_prog_f77_g+set}" = set; then
   6328   $as_echo_n "(cached) " >&6
   6329 else
   6330   FFLAGS=-g
   6331 cat >conftest.$ac_ext <<_ACEOF
   6332       program main
   6333 
   6334       end
   6335 _ACEOF
   6336 rm -f conftest.$ac_objext
   6337 if { (ac_try="$ac_compile"
   6338 case "(($ac_try" in
   6339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6340   *) ac_try_echo=$ac_try;;
   6341 esac
   6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6343 $as_echo "$ac_try_echo") >&5
   6344   (eval "$ac_compile") 2>conftest.er1
   6345   ac_status=$?
   6346   grep -v '^ *+' conftest.er1 >conftest.err
   6347   rm -f conftest.er1
   6348   cat conftest.err >&5
   6349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6350   (exit $ac_status); } && {
   6351 	 test -z "$ac_f77_werror_flag" ||
   6352 	 test ! -s conftest.err
   6353        } && test -s conftest.$ac_objext; then
   6354   ac_cv_prog_f77_g=yes
   6355 else
   6356   $as_echo "$as_me: failed program was:" >&5
   6357 sed 's/^/| /' conftest.$ac_ext >&5
   6358 
   6359 	ac_cv_prog_f77_g=no
   6360 fi
   6361 
   6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6363 
   6364 fi
   6365 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6366 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6367 if test "$ac_test_FFLAGS" = set; then
   6368   FFLAGS=$ac_save_FFLAGS
   6369 elif test $ac_cv_prog_f77_g = yes; then
   6370   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6371     FFLAGS="-g -O2"
   6372   else
   6373     FFLAGS="-g"
   6374   fi
   6375 else
   6376   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6377     FFLAGS="-O2"
   6378   else
   6379     FFLAGS=
   6380   fi
   6381 fi
   6382 
   6383 if test $ac_compiler_gnu = yes; then
   6384   G77=yes
   6385 else
   6386   G77=
   6387 fi
   6388 ac_ext=c
   6389 ac_cpp='$CPP $CPPFLAGS'
   6390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6393 
   6394 
   6395 
   6396 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6397 # find the maximum length of command line arguments
   6398 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6399 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6400 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6401   $as_echo_n "(cached) " >&6
   6402 else
   6403     i=0
   6404   teststring="ABCD"
   6405 
   6406   case $build_os in
   6407   msdosdjgpp*)
   6408     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6409     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6410     # during glob expansion).  Even if it were fixed, the result of this
   6411     # check would be larger than it should be.
   6412     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6413     ;;
   6414 
   6415   gnu*)
   6416     # Under GNU Hurd, this test is not required because there is
   6417     # no limit to the length of command line arguments.
   6418     # Libtool will interpret -1 as no limit whatsoever
   6419     lt_cv_sys_max_cmd_len=-1;
   6420     ;;
   6421 
   6422   cygwin* | mingw*)
   6423     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6424     # about 5 minutes as the teststring grows exponentially.
   6425     # Worse, since 9x/ME are not pre-emptively multitasking,
   6426     # you end up with a "frozen" computer, even though with patience
   6427     # the test eventually succeeds (with a max line length of 256k).
   6428     # Instead, let's just punt: use the minimum linelength reported by
   6429     # all of the supported platforms: 8192 (on NT/2K/XP).
   6430     lt_cv_sys_max_cmd_len=8192;
   6431     ;;
   6432 
   6433   amigaos*)
   6434     # On AmigaOS with pdksh, this test takes hours, literally.
   6435     # So we just punt and use a minimum line length of 8192.
   6436     lt_cv_sys_max_cmd_len=8192;
   6437     ;;
   6438 
   6439   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6440     # This has been around since 386BSD, at least.  Likely further.
   6441     if test -x /sbin/sysctl; then
   6442       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6443     elif test -x /usr/sbin/sysctl; then
   6444       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6445     else
   6446       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6447     fi
   6448     # And add a safety zone
   6449     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6450     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6451     ;;
   6452 
   6453   interix*)
   6454     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6455     lt_cv_sys_max_cmd_len=196608
   6456     ;;
   6457 
   6458   osf*)
   6459     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6460     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6461     # nice to cause kernel panics so lets avoid the loop below.
   6462     # First set a reasonable default.
   6463     lt_cv_sys_max_cmd_len=16384
   6464     #
   6465     if test -x /sbin/sysconfig; then
   6466       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6467         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6468       esac
   6469     fi
   6470     ;;
   6471   sco3.2v5*)
   6472     lt_cv_sys_max_cmd_len=102400
   6473     ;;
   6474   sysv5* | sco5v6* | sysv4.2uw2*)
   6475     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6476     if test -n "$kargmax"; then
   6477       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6478     else
   6479       lt_cv_sys_max_cmd_len=32768
   6480     fi
   6481     ;;
   6482   *)
   6483     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6484     if test -n "$lt_cv_sys_max_cmd_len"; then
   6485       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6486       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6487     else
   6488       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6489       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6490 	       = "XX$teststring") >/dev/null 2>&1 &&
   6491 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6492 	      lt_cv_sys_max_cmd_len=$new_result &&
   6493 	      test $i != 17 # 1/2 MB should be enough
   6494       do
   6495         i=`expr $i + 1`
   6496         teststring=$teststring$teststring
   6497       done
   6498       teststring=
   6499       # Add a significant safety factor because C++ compilers can tack on massive
   6500       # amounts of additional arguments before passing them to the linker.
   6501       # It appears as though 1/2 is a usable value.
   6502       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6503     fi
   6504     ;;
   6505   esac
   6506 
   6507 fi
   6508 
   6509 if test -n $lt_cv_sys_max_cmd_len ; then
   6510   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6511 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6512 else
   6513   { $as_echo "$as_me:$LINENO: result: none" >&5
   6514 $as_echo "none" >&6; }
   6515 fi
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6522 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6523 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6524 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527 
   6528 # These are sane defaults that work on at least a few old systems.
   6529 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6530 
   6531 # Character class describing NM global symbol codes.
   6532 symcode='[BCDEGRST]'
   6533 
   6534 # Regexp to match symbols that can be accessed directly from C.
   6535 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6536 
   6537 # Transform an extracted symbol line into a proper C declaration
   6538 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6539 
   6540 # Transform an extracted symbol line into symbol name and symbol address
   6541 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6542 
   6543 # Define system-specific variables.
   6544 case $host_os in
   6545 aix*)
   6546   symcode='[BCDT]'
   6547   ;;
   6548 cygwin* | mingw* | pw32*)
   6549   symcode='[ABCDGISTW]'
   6550   ;;
   6551 hpux*) # Its linker distinguishes data from code symbols
   6552   if test "$host_cpu" = ia64; then
   6553     symcode='[ABCDEGRST]'
   6554   fi
   6555   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6556   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6557   ;;
   6558 linux* | k*bsd*-gnu)
   6559   if test "$host_cpu" = ia64; then
   6560     symcode='[ABCDGIRSTW]'
   6561     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6562     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6563   fi
   6564   ;;
   6565 irix* | nonstopux*)
   6566   symcode='[BCDEGRST]'
   6567   ;;
   6568 osf*)
   6569   symcode='[BCDEGQRST]'
   6570   ;;
   6571 solaris*)
   6572   symcode='[BDRT]'
   6573   ;;
   6574 sco3.2v5*)
   6575   symcode='[DT]'
   6576   ;;
   6577 sysv4.2uw2*)
   6578   symcode='[DT]'
   6579   ;;
   6580 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6581   symcode='[ABDT]'
   6582   ;;
   6583 sysv4)
   6584   symcode='[DFNSTU]'
   6585   ;;
   6586 esac
   6587 
   6588 # Handle CRLF in mingw tool chain
   6589 opt_cr=
   6590 case $build_os in
   6591 mingw*)
   6592   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6593   ;;
   6594 esac
   6595 
   6596 # If we're using GNU nm, then use its standard symbol codes.
   6597 case `$NM -V 2>&1` in
   6598 *GNU* | *'with BFD'*)
   6599   symcode='[ABCDGIRSTW]' ;;
   6600 esac
   6601 
   6602 # Try without a prefix undercore, then with it.
   6603 for ac_symprfx in "" "_"; do
   6604 
   6605   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6606   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6607 
   6608   # Write the raw and C identifiers.
   6609   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6610 
   6611   # Check to see that the pipe works correctly.
   6612   pipe_works=no
   6613 
   6614   rm -f conftest*
   6615   cat > conftest.$ac_ext <<EOF
   6616 #ifdef __cplusplus
   6617 extern "C" {
   6618 #endif
   6619 char nm_test_var;
   6620 void nm_test_func(){}
   6621 #ifdef __cplusplus
   6622 }
   6623 #endif
   6624 int main(){nm_test_var='a';nm_test_func();return(0);}
   6625 EOF
   6626 
   6627   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6628   (eval $ac_compile) 2>&5
   6629   ac_status=$?
   6630   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6631   (exit $ac_status); }; then
   6632     # Now try to grab the symbols.
   6633     nlist=conftest.nm
   6634     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6635   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6636   ac_status=$?
   6637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6638   (exit $ac_status); } && test -s "$nlist"; then
   6639       # Try sorting and uniquifying the output.
   6640       if sort "$nlist" | uniq > "$nlist"T; then
   6641 	mv -f "$nlist"T "$nlist"
   6642       else
   6643 	rm -f "$nlist"T
   6644       fi
   6645 
   6646       # Make sure that we snagged all the symbols we need.
   6647       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6648 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6649 	  cat <<EOF > conftest.$ac_ext
   6650 #ifdef __cplusplus
   6651 extern "C" {
   6652 #endif
   6653 
   6654 EOF
   6655 	  # Now generate the symbol file.
   6656 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6657 
   6658 	  cat <<EOF >> conftest.$ac_ext
   6659 #if defined (__STDC__) && __STDC__
   6660 # define lt_ptr_t void *
   6661 #else
   6662 # define lt_ptr_t char *
   6663 # define const
   6664 #endif
   6665 
   6666 /* The mapping between symbol names and symbols. */
   6667 const struct {
   6668   const char *name;
   6669   lt_ptr_t address;
   6670 }
   6671 lt_preloaded_symbols[] =
   6672 {
   6673 EOF
   6674 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6675 	  cat <<\EOF >> conftest.$ac_ext
   6676   {0, (lt_ptr_t) 0}
   6677 };
   6678 
   6679 #ifdef __cplusplus
   6680 }
   6681 #endif
   6682 EOF
   6683 	  # Now try linking the two files.
   6684 	  mv conftest.$ac_objext conftstm.$ac_objext
   6685 	  lt_save_LIBS="$LIBS"
   6686 	  lt_save_CFLAGS="$CFLAGS"
   6687 	  LIBS="conftstm.$ac_objext"
   6688 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6689 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6690   (eval $ac_link) 2>&5
   6691   ac_status=$?
   6692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6693   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6694 	    pipe_works=yes
   6695 	  fi
   6696 	  LIBS="$lt_save_LIBS"
   6697 	  CFLAGS="$lt_save_CFLAGS"
   6698 	else
   6699 	  echo "cannot find nm_test_func in $nlist" >&5
   6700 	fi
   6701       else
   6702 	echo "cannot find nm_test_var in $nlist" >&5
   6703       fi
   6704     else
   6705       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6706     fi
   6707   else
   6708     echo "$progname: failed program was:" >&5
   6709     cat conftest.$ac_ext >&5
   6710   fi
   6711   rm -rf conftest* conftst*
   6712 
   6713   # Do not use the global_symbol_pipe unless it works.
   6714   if test "$pipe_works" = yes; then
   6715     break
   6716   else
   6717     lt_cv_sys_global_symbol_pipe=
   6718   fi
   6719 done
   6720 
   6721 fi
   6722 
   6723 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6724   lt_cv_sys_global_symbol_to_cdecl=
   6725 fi
   6726 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6727   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6728 $as_echo "failed" >&6; }
   6729 else
   6730   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6731 $as_echo "ok" >&6; }
   6732 fi
   6733 
   6734 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6735 $as_echo_n "checking for objdir... " >&6; }
   6736 if test "${lt_cv_objdir+set}" = set; then
   6737   $as_echo_n "(cached) " >&6
   6738 else
   6739   rm -f .libs 2>/dev/null
   6740 mkdir .libs 2>/dev/null
   6741 if test -d .libs; then
   6742   lt_cv_objdir=.libs
   6743 else
   6744   # MS-DOS does not allow filenames that begin with a dot.
   6745   lt_cv_objdir=_libs
   6746 fi
   6747 rmdir .libs 2>/dev/null
   6748 fi
   6749 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6750 $as_echo "$lt_cv_objdir" >&6; }
   6751 objdir=$lt_cv_objdir
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 case $host_os in
   6758 aix3*)
   6759   # AIX sometimes has problems with the GCC collect2 program.  For some
   6760   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6761   # vanish in a puff of smoke.
   6762   if test "X${COLLECT_NAMES+set}" != Xset; then
   6763     COLLECT_NAMES=
   6764     export COLLECT_NAMES
   6765   fi
   6766   ;;
   6767 esac
   6768 
   6769 # Sed substitution that helps us do robust quoting.  It backslashifies
   6770 # metacharacters that are still active within double-quoted strings.
   6771 Xsed='sed -e 1s/^X//'
   6772 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6773 
   6774 # Same as above, but do not quote variable references.
   6775 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6776 
   6777 # Sed substitution to delay expansion of an escaped shell variable in a
   6778 # double_quote_subst'ed string.
   6779 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6780 
   6781 # Sed substitution to avoid accidental globbing in evaled expressions
   6782 no_glob_subst='s/\*/\\\*/g'
   6783 
   6784 # Constants:
   6785 rm="rm -f"
   6786 
   6787 # Global variables:
   6788 default_ofile=libtool
   6789 can_build_shared=yes
   6790 
   6791 # All known linkers require a `.a' archive for static linking (except MSVC,
   6792 # which needs '.lib').
   6793 libext=a
   6794 ltmain="$ac_aux_dir/ltmain.sh"
   6795 ofile="$default_ofile"
   6796 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6797 
   6798 if test -n "$ac_tool_prefix"; then
   6799   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6800 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6801 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6802 $as_echo_n "checking for $ac_word... " >&6; }
   6803 if test "${ac_cv_prog_AR+set}" = set; then
   6804   $as_echo_n "(cached) " >&6
   6805 else
   6806   if test -n "$AR"; then
   6807   ac_cv_prog_AR="$AR" # Let the user override the test.
   6808 else
   6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6810 for as_dir in $PATH
   6811 do
   6812   IFS=$as_save_IFS
   6813   test -z "$as_dir" && as_dir=.
   6814   for ac_exec_ext in '' $ac_executable_extensions; do
   6815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6816     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6817     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6818     break 2
   6819   fi
   6820 done
   6821 done
   6822 IFS=$as_save_IFS
   6823 
   6824 fi
   6825 fi
   6826 AR=$ac_cv_prog_AR
   6827 if test -n "$AR"; then
   6828   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6829 $as_echo "$AR" >&6; }
   6830 else
   6831   { $as_echo "$as_me:$LINENO: result: no" >&5
   6832 $as_echo "no" >&6; }
   6833 fi
   6834 
   6835 
   6836 fi
   6837 if test -z "$ac_cv_prog_AR"; then
   6838   ac_ct_AR=$AR
   6839   # Extract the first word of "ar", so it can be a program name with args.
   6840 set dummy ar; ac_word=$2
   6841 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6842 $as_echo_n "checking for $ac_word... " >&6; }
   6843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   if test -n "$ac_ct_AR"; then
   6847   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6848 else
   6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6850 for as_dir in $PATH
   6851 do
   6852   IFS=$as_save_IFS
   6853   test -z "$as_dir" && as_dir=.
   6854   for ac_exec_ext in '' $ac_executable_extensions; do
   6855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6856     ac_cv_prog_ac_ct_AR="ar"
   6857     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6858     break 2
   6859   fi
   6860 done
   6861 done
   6862 IFS=$as_save_IFS
   6863 
   6864 fi
   6865 fi
   6866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6867 if test -n "$ac_ct_AR"; then
   6868   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6869 $as_echo "$ac_ct_AR" >&6; }
   6870 else
   6871   { $as_echo "$as_me:$LINENO: result: no" >&5
   6872 $as_echo "no" >&6; }
   6873 fi
   6874 
   6875   if test "x$ac_ct_AR" = x; then
   6876     AR="false"
   6877   else
   6878     case $cross_compiling:$ac_tool_warned in
   6879 yes:)
   6880 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6882 ac_tool_warned=yes ;;
   6883 esac
   6884     AR=$ac_ct_AR
   6885   fi
   6886 else
   6887   AR="$ac_cv_prog_AR"
   6888 fi
   6889 
   6890 if test -n "$ac_tool_prefix"; then
   6891   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6892 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6894 $as_echo_n "checking for $ac_word... " >&6; }
   6895 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6896   $as_echo_n "(cached) " >&6
   6897 else
   6898   if test -n "$RANLIB"; then
   6899   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6900 else
   6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6902 for as_dir in $PATH
   6903 do
   6904   IFS=$as_save_IFS
   6905   test -z "$as_dir" && as_dir=.
   6906   for ac_exec_ext in '' $ac_executable_extensions; do
   6907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6908     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6909     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6910     break 2
   6911   fi
   6912 done
   6913 done
   6914 IFS=$as_save_IFS
   6915 
   6916 fi
   6917 fi
   6918 RANLIB=$ac_cv_prog_RANLIB
   6919 if test -n "$RANLIB"; then
   6920   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6921 $as_echo "$RANLIB" >&6; }
   6922 else
   6923   { $as_echo "$as_me:$LINENO: result: no" >&5
   6924 $as_echo "no" >&6; }
   6925 fi
   6926 
   6927 
   6928 fi
   6929 if test -z "$ac_cv_prog_RANLIB"; then
   6930   ac_ct_RANLIB=$RANLIB
   6931   # Extract the first word of "ranlib", so it can be a program name with args.
   6932 set dummy ranlib; ac_word=$2
   6933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6934 $as_echo_n "checking for $ac_word... " >&6; }
   6935 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   if test -n "$ac_ct_RANLIB"; then
   6939   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6940 else
   6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6942 for as_dir in $PATH
   6943 do
   6944   IFS=$as_save_IFS
   6945   test -z "$as_dir" && as_dir=.
   6946   for ac_exec_ext in '' $ac_executable_extensions; do
   6947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6948     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6950     break 2
   6951   fi
   6952 done
   6953 done
   6954 IFS=$as_save_IFS
   6955 
   6956 fi
   6957 fi
   6958 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6959 if test -n "$ac_ct_RANLIB"; then
   6960   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6961 $as_echo "$ac_ct_RANLIB" >&6; }
   6962 else
   6963   { $as_echo "$as_me:$LINENO: result: no" >&5
   6964 $as_echo "no" >&6; }
   6965 fi
   6966 
   6967   if test "x$ac_ct_RANLIB" = x; then
   6968     RANLIB=":"
   6969   else
   6970     case $cross_compiling:$ac_tool_warned in
   6971 yes:)
   6972 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6974 ac_tool_warned=yes ;;
   6975 esac
   6976     RANLIB=$ac_ct_RANLIB
   6977   fi
   6978 else
   6979   RANLIB="$ac_cv_prog_RANLIB"
   6980 fi
   6981 
   6982 if test -n "$ac_tool_prefix"; then
   6983   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6984 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6985 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6986 $as_echo_n "checking for $ac_word... " >&6; }
   6987 if test "${ac_cv_prog_STRIP+set}" = set; then
   6988   $as_echo_n "(cached) " >&6
   6989 else
   6990   if test -n "$STRIP"; then
   6991   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6992 else
   6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6994 for as_dir in $PATH
   6995 do
   6996   IFS=$as_save_IFS
   6997   test -z "$as_dir" && as_dir=.
   6998   for ac_exec_ext in '' $ac_executable_extensions; do
   6999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7000     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7001     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7002     break 2
   7003   fi
   7004 done
   7005 done
   7006 IFS=$as_save_IFS
   7007 
   7008 fi
   7009 fi
   7010 STRIP=$ac_cv_prog_STRIP
   7011 if test -n "$STRIP"; then
   7012   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7013 $as_echo "$STRIP" >&6; }
   7014 else
   7015   { $as_echo "$as_me:$LINENO: result: no" >&5
   7016 $as_echo "no" >&6; }
   7017 fi
   7018 
   7019 
   7020 fi
   7021 if test -z "$ac_cv_prog_STRIP"; then
   7022   ac_ct_STRIP=$STRIP
   7023   # Extract the first word of "strip", so it can be a program name with args.
   7024 set dummy strip; ac_word=$2
   7025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7026 $as_echo_n "checking for $ac_word... " >&6; }
   7027 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7028   $as_echo_n "(cached) " >&6
   7029 else
   7030   if test -n "$ac_ct_STRIP"; then
   7031   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7032 else
   7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7034 for as_dir in $PATH
   7035 do
   7036   IFS=$as_save_IFS
   7037   test -z "$as_dir" && as_dir=.
   7038   for ac_exec_ext in '' $ac_executable_extensions; do
   7039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7040     ac_cv_prog_ac_ct_STRIP="strip"
   7041     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7042     break 2
   7043   fi
   7044 done
   7045 done
   7046 IFS=$as_save_IFS
   7047 
   7048 fi
   7049 fi
   7050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7051 if test -n "$ac_ct_STRIP"; then
   7052   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7053 $as_echo "$ac_ct_STRIP" >&6; }
   7054 else
   7055   { $as_echo "$as_me:$LINENO: result: no" >&5
   7056 $as_echo "no" >&6; }
   7057 fi
   7058 
   7059   if test "x$ac_ct_STRIP" = x; then
   7060     STRIP=":"
   7061   else
   7062     case $cross_compiling:$ac_tool_warned in
   7063 yes:)
   7064 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7066 ac_tool_warned=yes ;;
   7067 esac
   7068     STRIP=$ac_ct_STRIP
   7069   fi
   7070 else
   7071   STRIP="$ac_cv_prog_STRIP"
   7072 fi
   7073 
   7074 
   7075 old_CC="$CC"
   7076 old_CFLAGS="$CFLAGS"
   7077 
   7078 # Set sane defaults for various variables
   7079 test -z "$AR" && AR=ar
   7080 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7081 test -z "$AS" && AS=as
   7082 test -z "$CC" && CC=cc
   7083 test -z "$LTCC" && LTCC=$CC
   7084 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7085 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7086 test -z "$LD" && LD=ld
   7087 test -z "$LN_S" && LN_S="ln -s"
   7088 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7089 test -z "$NM" && NM=nm
   7090 test -z "$SED" && SED=sed
   7091 test -z "$OBJDUMP" && OBJDUMP=objdump
   7092 test -z "$RANLIB" && RANLIB=:
   7093 test -z "$STRIP" && STRIP=:
   7094 test -z "$ac_objext" && ac_objext=o
   7095 
   7096 # Determine commands to create old-style static archives.
   7097 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7098 old_postinstall_cmds='chmod 644 $oldlib'
   7099 old_postuninstall_cmds=
   7100 
   7101 if test -n "$RANLIB"; then
   7102   case $host_os in
   7103   openbsd*)
   7104     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7105     ;;
   7106   *)
   7107     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7108     ;;
   7109   esac
   7110   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7111 fi
   7112 
   7113 for cc_temp in $compiler""; do
   7114   case $cc_temp in
   7115     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7116     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7117     \-*) ;;
   7118     *) break;;
   7119   esac
   7120 done
   7121 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7122 
   7123 
   7124 # Only perform the check for file, if the check method requires it
   7125 case $deplibs_check_method in
   7126 file_magic*)
   7127   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7128     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7129 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7130 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7131   $as_echo_n "(cached) " >&6
   7132 else
   7133   case $MAGIC_CMD in
   7134 [\\/*] |  ?:[\\/]*)
   7135   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7136   ;;
   7137 *)
   7138   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7139   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7140   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7141   for ac_dir in $ac_dummy; do
   7142     IFS="$lt_save_ifs"
   7143     test -z "$ac_dir" && ac_dir=.
   7144     if test -f $ac_dir/${ac_tool_prefix}file; then
   7145       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7146       if test -n "$file_magic_test_file"; then
   7147 	case $deplibs_check_method in
   7148 	"file_magic "*)
   7149 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7150 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7151 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7152 	    $EGREP "$file_magic_regex" > /dev/null; then
   7153 	    :
   7154 	  else
   7155 	    cat <<EOF 1>&2
   7156 
   7157 *** Warning: the command libtool uses to detect shared libraries,
   7158 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7159 *** The result is that libtool may fail to recognize shared libraries
   7160 *** as such.  This will affect the creation of libtool libraries that
   7161 *** depend on shared libraries, but programs linked with such libtool
   7162 *** libraries will work regardless of this problem.  Nevertheless, you
   7163 *** may want to report the problem to your system manager and/or to
   7164 *** bug-libtool@gnu.org
   7165 
   7166 EOF
   7167 	  fi ;;
   7168 	esac
   7169       fi
   7170       break
   7171     fi
   7172   done
   7173   IFS="$lt_save_ifs"
   7174   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7175   ;;
   7176 esac
   7177 fi
   7178 
   7179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7180 if test -n "$MAGIC_CMD"; then
   7181   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7182 $as_echo "$MAGIC_CMD" >&6; }
   7183 else
   7184   { $as_echo "$as_me:$LINENO: result: no" >&5
   7185 $as_echo "no" >&6; }
   7186 fi
   7187 
   7188 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7189   if test -n "$ac_tool_prefix"; then
   7190     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7191 $as_echo_n "checking for file... " >&6; }
   7192 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7193   $as_echo_n "(cached) " >&6
   7194 else
   7195   case $MAGIC_CMD in
   7196 [\\/*] |  ?:[\\/]*)
   7197   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7198   ;;
   7199 *)
   7200   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7201   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7202   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7203   for ac_dir in $ac_dummy; do
   7204     IFS="$lt_save_ifs"
   7205     test -z "$ac_dir" && ac_dir=.
   7206     if test -f $ac_dir/file; then
   7207       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7208       if test -n "$file_magic_test_file"; then
   7209 	case $deplibs_check_method in
   7210 	"file_magic "*)
   7211 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7212 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7213 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7214 	    $EGREP "$file_magic_regex" > /dev/null; then
   7215 	    :
   7216 	  else
   7217 	    cat <<EOF 1>&2
   7218 
   7219 *** Warning: the command libtool uses to detect shared libraries,
   7220 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7221 *** The result is that libtool may fail to recognize shared libraries
   7222 *** as such.  This will affect the creation of libtool libraries that
   7223 *** depend on shared libraries, but programs linked with such libtool
   7224 *** libraries will work regardless of this problem.  Nevertheless, you
   7225 *** may want to report the problem to your system manager and/or to
   7226 *** bug-libtool@gnu.org
   7227 
   7228 EOF
   7229 	  fi ;;
   7230 	esac
   7231       fi
   7232       break
   7233     fi
   7234   done
   7235   IFS="$lt_save_ifs"
   7236   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7237   ;;
   7238 esac
   7239 fi
   7240 
   7241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7242 if test -n "$MAGIC_CMD"; then
   7243   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7244 $as_echo "$MAGIC_CMD" >&6; }
   7245 else
   7246   { $as_echo "$as_me:$LINENO: result: no" >&5
   7247 $as_echo "no" >&6; }
   7248 fi
   7249 
   7250   else
   7251     MAGIC_CMD=:
   7252   fi
   7253 fi
   7254 
   7255   fi
   7256   ;;
   7257 esac
   7258 
   7259 
   7260   case $host_os in
   7261     rhapsody* | darwin*)
   7262     if test -n "$ac_tool_prefix"; then
   7263   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7264 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7266 $as_echo_n "checking for $ac_word... " >&6; }
   7267 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7268   $as_echo_n "(cached) " >&6
   7269 else
   7270   if test -n "$DSYMUTIL"; then
   7271   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7272 else
   7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7274 for as_dir in $PATH
   7275 do
   7276   IFS=$as_save_IFS
   7277   test -z "$as_dir" && as_dir=.
   7278   for ac_exec_ext in '' $ac_executable_extensions; do
   7279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7280     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7281     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7282     break 2
   7283   fi
   7284 done
   7285 done
   7286 IFS=$as_save_IFS
   7287 
   7288 fi
   7289 fi
   7290 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7291 if test -n "$DSYMUTIL"; then
   7292   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7293 $as_echo "$DSYMUTIL" >&6; }
   7294 else
   7295   { $as_echo "$as_me:$LINENO: result: no" >&5
   7296 $as_echo "no" >&6; }
   7297 fi
   7298 
   7299 
   7300 fi
   7301 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7302   ac_ct_DSYMUTIL=$DSYMUTIL
   7303   # Extract the first word of "dsymutil", so it can be a program name with args.
   7304 set dummy dsymutil; ac_word=$2
   7305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7306 $as_echo_n "checking for $ac_word... " >&6; }
   7307 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7308   $as_echo_n "(cached) " >&6
   7309 else
   7310   if test -n "$ac_ct_DSYMUTIL"; then
   7311   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7312 else
   7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7314 for as_dir in $PATH
   7315 do
   7316   IFS=$as_save_IFS
   7317   test -z "$as_dir" && as_dir=.
   7318   for ac_exec_ext in '' $ac_executable_extensions; do
   7319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7320     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7321     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7322     break 2
   7323   fi
   7324 done
   7325 done
   7326 IFS=$as_save_IFS
   7327 
   7328 fi
   7329 fi
   7330 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7331 if test -n "$ac_ct_DSYMUTIL"; then
   7332   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7333 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7334 else
   7335   { $as_echo "$as_me:$LINENO: result: no" >&5
   7336 $as_echo "no" >&6; }
   7337 fi
   7338 
   7339   if test "x$ac_ct_DSYMUTIL" = x; then
   7340     DSYMUTIL=":"
   7341   else
   7342     case $cross_compiling:$ac_tool_warned in
   7343 yes:)
   7344 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7346 ac_tool_warned=yes ;;
   7347 esac
   7348     DSYMUTIL=$ac_ct_DSYMUTIL
   7349   fi
   7350 else
   7351   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7352 fi
   7353 
   7354     if test -n "$ac_tool_prefix"; then
   7355   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7356 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7358 $as_echo_n "checking for $ac_word... " >&6; }
   7359 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7360   $as_echo_n "(cached) " >&6
   7361 else
   7362   if test -n "$NMEDIT"; then
   7363   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7364 else
   7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7366 for as_dir in $PATH
   7367 do
   7368   IFS=$as_save_IFS
   7369   test -z "$as_dir" && as_dir=.
   7370   for ac_exec_ext in '' $ac_executable_extensions; do
   7371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7372     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7373     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7374     break 2
   7375   fi
   7376 done
   7377 done
   7378 IFS=$as_save_IFS
   7379 
   7380 fi
   7381 fi
   7382 NMEDIT=$ac_cv_prog_NMEDIT
   7383 if test -n "$NMEDIT"; then
   7384   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7385 $as_echo "$NMEDIT" >&6; }
   7386 else
   7387   { $as_echo "$as_me:$LINENO: result: no" >&5
   7388 $as_echo "no" >&6; }
   7389 fi
   7390 
   7391 
   7392 fi
   7393 if test -z "$ac_cv_prog_NMEDIT"; then
   7394   ac_ct_NMEDIT=$NMEDIT
   7395   # Extract the first word of "nmedit", so it can be a program name with args.
   7396 set dummy nmedit; ac_word=$2
   7397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7398 $as_echo_n "checking for $ac_word... " >&6; }
   7399 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7400   $as_echo_n "(cached) " >&6
   7401 else
   7402   if test -n "$ac_ct_NMEDIT"; then
   7403   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7404 else
   7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7406 for as_dir in $PATH
   7407 do
   7408   IFS=$as_save_IFS
   7409   test -z "$as_dir" && as_dir=.
   7410   for ac_exec_ext in '' $ac_executable_extensions; do
   7411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7412     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7413     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7414     break 2
   7415   fi
   7416 done
   7417 done
   7418 IFS=$as_save_IFS
   7419 
   7420 fi
   7421 fi
   7422 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7423 if test -n "$ac_ct_NMEDIT"; then
   7424   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7425 $as_echo "$ac_ct_NMEDIT" >&6; }
   7426 else
   7427   { $as_echo "$as_me:$LINENO: result: no" >&5
   7428 $as_echo "no" >&6; }
   7429 fi
   7430 
   7431   if test "x$ac_ct_NMEDIT" = x; then
   7432     NMEDIT=":"
   7433   else
   7434     case $cross_compiling:$ac_tool_warned in
   7435 yes:)
   7436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7438 ac_tool_warned=yes ;;
   7439 esac
   7440     NMEDIT=$ac_ct_NMEDIT
   7441   fi
   7442 else
   7443   NMEDIT="$ac_cv_prog_NMEDIT"
   7444 fi
   7445 
   7446 
   7447     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7448 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7449 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7450   $as_echo_n "(cached) " >&6
   7451 else
   7452   lt_cv_apple_cc_single_mod=no
   7453       if test -z "${LT_MULTI_MODULE}"; then
   7454    # By default we will add the -single_module flag. You can override
   7455    # by either setting the environment variable LT_MULTI_MODULE
   7456    # non-empty at configure time, or by adding -multi_module to the
   7457    # link flags.
   7458    echo "int foo(void){return 1;}" > conftest.c
   7459    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7460      -dynamiclib ${wl}-single_module conftest.c
   7461    if test -f libconftest.dylib; then
   7462      lt_cv_apple_cc_single_mod=yes
   7463      rm -rf libconftest.dylib*
   7464    fi
   7465    rm conftest.c
   7466       fi
   7467 fi
   7468 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7469 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7470     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7471 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7472 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7473   $as_echo_n "(cached) " >&6
   7474 else
   7475   lt_cv_ld_exported_symbols_list=no
   7476       save_LDFLAGS=$LDFLAGS
   7477       echo "_main" > conftest.sym
   7478       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7479       cat >conftest.$ac_ext <<_ACEOF
   7480 /* confdefs.h.  */
   7481 _ACEOF
   7482 cat confdefs.h >>conftest.$ac_ext
   7483 cat >>conftest.$ac_ext <<_ACEOF
   7484 /* end confdefs.h.  */
   7485 
   7486 int
   7487 main ()
   7488 {
   7489 
   7490   ;
   7491   return 0;
   7492 }
   7493 _ACEOF
   7494 rm -f conftest.$ac_objext conftest$ac_exeext
   7495 if { (ac_try="$ac_link"
   7496 case "(($ac_try" in
   7497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7498   *) ac_try_echo=$ac_try;;
   7499 esac
   7500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7501 $as_echo "$ac_try_echo") >&5
   7502   (eval "$ac_link") 2>conftest.er1
   7503   ac_status=$?
   7504   grep -v '^ *+' conftest.er1 >conftest.err
   7505   rm -f conftest.er1
   7506   cat conftest.err >&5
   7507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7508   (exit $ac_status); } && {
   7509 	 test -z "$ac_c_werror_flag" ||
   7510 	 test ! -s conftest.err
   7511        } && test -s conftest$ac_exeext && {
   7512 	 test "$cross_compiling" = yes ||
   7513 	 $as_test_x conftest$ac_exeext
   7514        }; then
   7515   lt_cv_ld_exported_symbols_list=yes
   7516 else
   7517   $as_echo "$as_me: failed program was:" >&5
   7518 sed 's/^/| /' conftest.$ac_ext >&5
   7519 
   7520 	lt_cv_ld_exported_symbols_list=no
   7521 fi
   7522 
   7523 rm -rf conftest.dSYM
   7524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7525       conftest$ac_exeext conftest.$ac_ext
   7526    LDFLAGS="$save_LDFLAGS"
   7527 
   7528 fi
   7529 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7530 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7531     case $host_os in
   7532     rhapsody* | darwin1.[0123])
   7533       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7534     darwin1.*)
   7535      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7536     darwin*)
   7537       # if running on 10.5 or later, the deployment target defaults
   7538       # to the OS version, if on x86, and 10.4, the deployment
   7539       # target defaults to 10.4. Don't you love it?
   7540       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7541    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7542      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7543    10.[012]*)
   7544      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7545    10.*)
   7546      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7547       esac
   7548     ;;
   7549   esac
   7550     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7551       _lt_dar_single_mod='$single_module'
   7552     fi
   7553     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7554       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7555     else
   7556       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7557     fi
   7558     if test "$DSYMUTIL" != ":"; then
   7559       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7560     else
   7561       _lt_dsymutil=
   7562     fi
   7563     ;;
   7564   esac
   7565 
   7566 
   7567 enable_dlopen=no
   7568 enable_win32_dll=no
   7569 
   7570 # Check whether --enable-libtool-lock was given.
   7571 if test "${enable_libtool_lock+set}" = set; then
   7572   enableval=$enable_libtool_lock;
   7573 fi
   7574 
   7575 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7576 
   7577 
   7578 # Check whether --with-pic was given.
   7579 if test "${with_pic+set}" = set; then
   7580   withval=$with_pic; pic_mode="$withval"
   7581 else
   7582   pic_mode=default
   7583 fi
   7584 
   7585 test -z "$pic_mode" && pic_mode=default
   7586 
   7587 # Use C for the default configuration in the libtool script
   7588 tagname=
   7589 lt_save_CC="$CC"
   7590 ac_ext=c
   7591 ac_cpp='$CPP $CPPFLAGS'
   7592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7595 
   7596 
   7597 # Source file extension for C test sources.
   7598 ac_ext=c
   7599 
   7600 # Object file extension for compiled C test sources.
   7601 objext=o
   7602 objext=$objext
   7603 
   7604 # Code to be used in simple compile tests
   7605 lt_simple_compile_test_code="int some_variable = 0;"
   7606 
   7607 # Code to be used in simple link tests
   7608 lt_simple_link_test_code='int main(){return(0);}'
   7609 
   7610 
   7611 # If no C compiler was specified, use CC.
   7612 LTCC=${LTCC-"$CC"}
   7613 
   7614 # If no C compiler flags were specified, use CFLAGS.
   7615 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7616 
   7617 # Allow CC to be a program name with arguments.
   7618 compiler=$CC
   7619 
   7620 
   7621 # save warnings/boilerplate of simple test code
   7622 ac_outfile=conftest.$ac_objext
   7623 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7624 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7625 _lt_compiler_boilerplate=`cat conftest.err`
   7626 $rm conftest*
   7627 
   7628 ac_outfile=conftest.$ac_objext
   7629 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7630 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7631 _lt_linker_boilerplate=`cat conftest.err`
   7632 $rm -r conftest*
   7633 
   7634 
   7635 
   7636 lt_prog_compiler_no_builtin_flag=
   7637 
   7638 if test "$GCC" = yes; then
   7639   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7640 
   7641 
   7642 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7643 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7644 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7645   $as_echo_n "(cached) " >&6
   7646 else
   7647   lt_cv_prog_compiler_rtti_exceptions=no
   7648   ac_outfile=conftest.$ac_objext
   7649    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7650    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7651    # Insert the option either (1) after the last *FLAGS variable, or
   7652    # (2) before a word containing "conftest.", or (3) at the end.
   7653    # Note that $ac_compile itself does not contain backslashes and begins
   7654    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7655    # The option is referenced via a variable to avoid confusing sed.
   7656    lt_compile=`echo "$ac_compile" | $SED \
   7657    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7658    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7659    -e 's:$: $lt_compiler_flag:'`
   7660    (eval echo "\"\$as_me:7660: $lt_compile\"" >&5)
   7661    (eval "$lt_compile" 2>conftest.err)
   7662    ac_status=$?
   7663    cat conftest.err >&5
   7664    echo "$as_me:7664: \$? = $ac_status" >&5
   7665    if (exit $ac_status) && test -s "$ac_outfile"; then
   7666      # The compiler can only warn and ignore the option if not recognized
   7667      # So say no if there are warnings other than the usual output.
   7668      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7669      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7670      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7671        lt_cv_prog_compiler_rtti_exceptions=yes
   7672      fi
   7673    fi
   7674    $rm conftest*
   7675 
   7676 fi
   7677 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7678 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7679 
   7680 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7681     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7682 else
   7683     :
   7684 fi
   7685 
   7686 fi
   7687 
   7688 lt_prog_compiler_wl=
   7689 lt_prog_compiler_pic=
   7690 lt_prog_compiler_static=
   7691 
   7692 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7693 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7694 
   7695   if test "$GCC" = yes; then
   7696     lt_prog_compiler_wl='-Wl,'
   7697     lt_prog_compiler_static='-static'
   7698 
   7699     case $host_os in
   7700       aix*)
   7701       # All AIX code is PIC.
   7702       if test "$host_cpu" = ia64; then
   7703 	# AIX 5 now supports IA64 processor
   7704 	lt_prog_compiler_static='-Bstatic'
   7705       fi
   7706       ;;
   7707 
   7708     amigaos*)
   7709       # FIXME: we need at least 68020 code to build shared libraries, but
   7710       # adding the `-m68020' flag to GCC prevents building anything better,
   7711       # like `-m68040'.
   7712       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7713       ;;
   7714 
   7715     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7716       # PIC is the default for these OSes.
   7717       ;;
   7718 
   7719     mingw* | cygwin* | pw32* | os2*)
   7720       # This hack is so that the source file can tell whether it is being
   7721       # built for inclusion in a dll (and should export symbols for example).
   7722       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7723       # (--disable-auto-import) libraries
   7724       lt_prog_compiler_pic='-DDLL_EXPORT'
   7725       ;;
   7726 
   7727     darwin* | rhapsody*)
   7728       # PIC is the default on this platform
   7729       # Common symbols not allowed in MH_DYLIB files
   7730       lt_prog_compiler_pic='-fno-common'
   7731       ;;
   7732 
   7733     interix[3-9]*)
   7734       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7735       # Instead, we relocate shared libraries at runtime.
   7736       ;;
   7737 
   7738     msdosdjgpp*)
   7739       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7740       # on systems that don't support them.
   7741       lt_prog_compiler_can_build_shared=no
   7742       enable_shared=no
   7743       ;;
   7744 
   7745     sysv4*MP*)
   7746       if test -d /usr/nec; then
   7747 	lt_prog_compiler_pic=-Kconform_pic
   7748       fi
   7749       ;;
   7750 
   7751     hpux*)
   7752       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7753       # not for PA HP-UX.
   7754       case $host_cpu in
   7755       hppa*64*|ia64*)
   7756 	# +Z the default
   7757 	;;
   7758       *)
   7759 	lt_prog_compiler_pic='-fPIC'
   7760 	;;
   7761       esac
   7762       ;;
   7763 
   7764     *)
   7765       lt_prog_compiler_pic='-fPIC'
   7766       ;;
   7767     esac
   7768   else
   7769     # PORTME Check for flag to pass linker flags through the system compiler.
   7770     case $host_os in
   7771     aix*)
   7772       lt_prog_compiler_wl='-Wl,'
   7773       if test "$host_cpu" = ia64; then
   7774 	# AIX 5 now supports IA64 processor
   7775 	lt_prog_compiler_static='-Bstatic'
   7776       else
   7777 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7778       fi
   7779       ;;
   7780       darwin*)
   7781         # PIC is the default on this platform
   7782         # Common symbols not allowed in MH_DYLIB files
   7783        case $cc_basename in
   7784          xlc*)
   7785          lt_prog_compiler_pic='-qnocommon'
   7786          lt_prog_compiler_wl='-Wl,'
   7787          ;;
   7788        esac
   7789        ;;
   7790 
   7791     mingw* | cygwin* | pw32* | os2*)
   7792       # This hack is so that the source file can tell whether it is being
   7793       # built for inclusion in a dll (and should export symbols for example).
   7794       lt_prog_compiler_pic='-DDLL_EXPORT'
   7795       ;;
   7796 
   7797     hpux9* | hpux10* | hpux11*)
   7798       lt_prog_compiler_wl='-Wl,'
   7799       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7800       # not for PA HP-UX.
   7801       case $host_cpu in
   7802       hppa*64*|ia64*)
   7803 	# +Z the default
   7804 	;;
   7805       *)
   7806 	lt_prog_compiler_pic='+Z'
   7807 	;;
   7808       esac
   7809       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7810       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7811       ;;
   7812 
   7813     irix5* | irix6* | nonstopux*)
   7814       lt_prog_compiler_wl='-Wl,'
   7815       # PIC (with -KPIC) is the default.
   7816       lt_prog_compiler_static='-non_shared'
   7817       ;;
   7818 
   7819     newsos6)
   7820       lt_prog_compiler_pic='-KPIC'
   7821       lt_prog_compiler_static='-Bstatic'
   7822       ;;
   7823 
   7824     linux* | k*bsd*-gnu)
   7825       case $cc_basename in
   7826       icc* | ecc*)
   7827 	lt_prog_compiler_wl='-Wl,'
   7828 	lt_prog_compiler_pic='-KPIC'
   7829 	lt_prog_compiler_static='-static'
   7830         ;;
   7831       pgcc* | pgf77* | pgf90* | pgf95*)
   7832         # Portland Group compilers (*not* the Pentium gcc compiler,
   7833 	# which looks to be a dead project)
   7834 	lt_prog_compiler_wl='-Wl,'
   7835 	lt_prog_compiler_pic='-fpic'
   7836 	lt_prog_compiler_static='-Bstatic'
   7837         ;;
   7838       ccc*)
   7839         lt_prog_compiler_wl='-Wl,'
   7840         # All Alpha code is PIC.
   7841         lt_prog_compiler_static='-non_shared'
   7842         ;;
   7843       *)
   7844         case `$CC -V 2>&1 | sed 5q` in
   7845 	*Sun\ C*)
   7846 	  # Sun C 5.9
   7847 	  lt_prog_compiler_pic='-KPIC'
   7848 	  lt_prog_compiler_static='-Bstatic'
   7849 	  lt_prog_compiler_wl='-Wl,'
   7850 	  ;;
   7851 	*Sun\ F*)
   7852 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7853 	  lt_prog_compiler_pic='-KPIC'
   7854 	  lt_prog_compiler_static='-Bstatic'
   7855 	  lt_prog_compiler_wl=''
   7856 	  ;;
   7857 	esac
   7858 	;;
   7859       esac
   7860       ;;
   7861 
   7862     osf3* | osf4* | osf5*)
   7863       lt_prog_compiler_wl='-Wl,'
   7864       # All OSF/1 code is PIC.
   7865       lt_prog_compiler_static='-non_shared'
   7866       ;;
   7867 
   7868     rdos*)
   7869       lt_prog_compiler_static='-non_shared'
   7870       ;;
   7871 
   7872     solaris*)
   7873       lt_prog_compiler_pic='-KPIC'
   7874       lt_prog_compiler_static='-Bstatic'
   7875       case $cc_basename in
   7876       f77* | f90* | f95*)
   7877 	lt_prog_compiler_wl='-Qoption ld ';;
   7878       *)
   7879 	lt_prog_compiler_wl='-Wl,';;
   7880       esac
   7881       ;;
   7882 
   7883     sunos4*)
   7884       lt_prog_compiler_wl='-Qoption ld '
   7885       lt_prog_compiler_pic='-PIC'
   7886       lt_prog_compiler_static='-Bstatic'
   7887       ;;
   7888 
   7889     sysv4 | sysv4.2uw2* | sysv4.3*)
   7890       lt_prog_compiler_wl='-Wl,'
   7891       lt_prog_compiler_pic='-KPIC'
   7892       lt_prog_compiler_static='-Bstatic'
   7893       ;;
   7894 
   7895     sysv4*MP*)
   7896       if test -d /usr/nec ;then
   7897 	lt_prog_compiler_pic='-Kconform_pic'
   7898 	lt_prog_compiler_static='-Bstatic'
   7899       fi
   7900       ;;
   7901 
   7902     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7903       lt_prog_compiler_wl='-Wl,'
   7904       lt_prog_compiler_pic='-KPIC'
   7905       lt_prog_compiler_static='-Bstatic'
   7906       ;;
   7907 
   7908     unicos*)
   7909       lt_prog_compiler_wl='-Wl,'
   7910       lt_prog_compiler_can_build_shared=no
   7911       ;;
   7912 
   7913     uts4*)
   7914       lt_prog_compiler_pic='-pic'
   7915       lt_prog_compiler_static='-Bstatic'
   7916       ;;
   7917 
   7918     *)
   7919       lt_prog_compiler_can_build_shared=no
   7920       ;;
   7921     esac
   7922   fi
   7923 
   7924 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7925 $as_echo "$lt_prog_compiler_pic" >&6; }
   7926 
   7927 #
   7928 # Check to make sure the PIC flag actually works.
   7929 #
   7930 if test -n "$lt_prog_compiler_pic"; then
   7931 
   7932 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7933 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7934 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   lt_cv_prog_compiler_pic_works=no
   7938   ac_outfile=conftest.$ac_objext
   7939    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7940    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7941    # Insert the option either (1) after the last *FLAGS variable, or
   7942    # (2) before a word containing "conftest.", or (3) at the end.
   7943    # Note that $ac_compile itself does not contain backslashes and begins
   7944    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7945    # The option is referenced via a variable to avoid confusing sed.
   7946    lt_compile=`echo "$ac_compile" | $SED \
   7947    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7948    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7949    -e 's:$: $lt_compiler_flag:'`
   7950    (eval echo "\"\$as_me:7950: $lt_compile\"" >&5)
   7951    (eval "$lt_compile" 2>conftest.err)
   7952    ac_status=$?
   7953    cat conftest.err >&5
   7954    echo "$as_me:7954: \$? = $ac_status" >&5
   7955    if (exit $ac_status) && test -s "$ac_outfile"; then
   7956      # The compiler can only warn and ignore the option if not recognized
   7957      # So say no if there are warnings other than the usual output.
   7958      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7959      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7960      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7961        lt_cv_prog_compiler_pic_works=yes
   7962      fi
   7963    fi
   7964    $rm conftest*
   7965 
   7966 fi
   7967 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7968 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7969 
   7970 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7971     case $lt_prog_compiler_pic in
   7972      "" | " "*) ;;
   7973      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7974      esac
   7975 else
   7976     lt_prog_compiler_pic=
   7977      lt_prog_compiler_can_build_shared=no
   7978 fi
   7979 
   7980 fi
   7981 case $host_os in
   7982   # For platforms which do not support PIC, -DPIC is meaningless:
   7983   *djgpp*)
   7984     lt_prog_compiler_pic=
   7985     ;;
   7986   *)
   7987     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7988     ;;
   7989 esac
   7990 
   7991 #
   7992 # Check to make sure the static flag actually works.
   7993 #
   7994 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7995 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7996 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7997 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7998   $as_echo_n "(cached) " >&6
   7999 else
   8000   lt_cv_prog_compiler_static_works=no
   8001    save_LDFLAGS="$LDFLAGS"
   8002    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8003    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8004    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8005      # The linker can only warn and ignore the option if not recognized
   8006      # So say no if there are warnings
   8007      if test -s conftest.err; then
   8008        # Append any errors to the config.log.
   8009        cat conftest.err 1>&5
   8010        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8011        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8012        if diff conftest.exp conftest.er2 >/dev/null; then
   8013          lt_cv_prog_compiler_static_works=yes
   8014        fi
   8015      else
   8016        lt_cv_prog_compiler_static_works=yes
   8017      fi
   8018    fi
   8019    $rm -r conftest*
   8020    LDFLAGS="$save_LDFLAGS"
   8021 
   8022 fi
   8023 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8024 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8025 
   8026 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8027     :
   8028 else
   8029     lt_prog_compiler_static=
   8030 fi
   8031 
   8032 
   8033 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8034 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8035 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8036   $as_echo_n "(cached) " >&6
   8037 else
   8038   lt_cv_prog_compiler_c_o=no
   8039    $rm -r conftest 2>/dev/null
   8040    mkdir conftest
   8041    cd conftest
   8042    mkdir out
   8043    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8044 
   8045    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8046    # Insert the option either (1) after the last *FLAGS variable, or
   8047    # (2) before a word containing "conftest.", or (3) at the end.
   8048    # Note that $ac_compile itself does not contain backslashes and begins
   8049    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8050    lt_compile=`echo "$ac_compile" | $SED \
   8051    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8052    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8053    -e 's:$: $lt_compiler_flag:'`
   8054    (eval echo "\"\$as_me:8054: $lt_compile\"" >&5)
   8055    (eval "$lt_compile" 2>out/conftest.err)
   8056    ac_status=$?
   8057    cat out/conftest.err >&5
   8058    echo "$as_me:8058: \$? = $ac_status" >&5
   8059    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8060    then
   8061      # The compiler can only warn and ignore the option if not recognized
   8062      # So say no if there are warnings
   8063      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8064      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8065      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8066        lt_cv_prog_compiler_c_o=yes
   8067      fi
   8068    fi
   8069    chmod u+w . 2>&5
   8070    $rm conftest*
   8071    # SGI C++ compiler will create directory out/ii_files/ for
   8072    # template instantiation
   8073    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8074    $rm out/* && rmdir out
   8075    cd ..
   8076    rmdir conftest
   8077    $rm conftest*
   8078 
   8079 fi
   8080 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8081 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8082 
   8083 
   8084 hard_links="nottested"
   8085 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8086   # do not overwrite the value of need_locks provided by the user
   8087   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8088 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8089   hard_links=yes
   8090   $rm conftest*
   8091   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8092   touch conftest.a
   8093   ln conftest.a conftest.b 2>&5 || hard_links=no
   8094   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8095   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8096 $as_echo "$hard_links" >&6; }
   8097   if test "$hard_links" = no; then
   8098     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8099 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8100     need_locks=warn
   8101   fi
   8102 else
   8103   need_locks=no
   8104 fi
   8105 
   8106 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8107 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8108 
   8109   runpath_var=
   8110   allow_undefined_flag=
   8111   enable_shared_with_static_runtimes=no
   8112   archive_cmds=
   8113   archive_expsym_cmds=
   8114   old_archive_From_new_cmds=
   8115   old_archive_from_expsyms_cmds=
   8116   export_dynamic_flag_spec=
   8117   whole_archive_flag_spec=
   8118   thread_safe_flag_spec=
   8119   hardcode_libdir_flag_spec=
   8120   hardcode_libdir_flag_spec_ld=
   8121   hardcode_libdir_separator=
   8122   hardcode_direct=no
   8123   hardcode_minus_L=no
   8124   hardcode_shlibpath_var=unsupported
   8125   link_all_deplibs=unknown
   8126   hardcode_automatic=no
   8127   module_cmds=
   8128   module_expsym_cmds=
   8129   always_export_symbols=no
   8130   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8131   # include_expsyms should be a list of space-separated symbols to be *always*
   8132   # included in the symbol list
   8133   include_expsyms=
   8134   # exclude_expsyms can be an extended regexp of symbols to exclude
   8135   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8136   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8137   # as well as any symbol that contains `d'.
   8138   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8139   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8140   # platforms (ab)use it in PIC code, but their linkers get confused if
   8141   # the symbol is explicitly referenced.  Since portable code cannot
   8142   # rely on this symbol name, it's probably fine to never include it in
   8143   # preloaded symbol tables.
   8144   # Exclude shared library initialization/finalization symbols.
   8145   extract_expsyms_cmds=
   8146   # Just being paranoid about ensuring that cc_basename is set.
   8147   for cc_temp in $compiler""; do
   8148   case $cc_temp in
   8149     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8150     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8151     \-*) ;;
   8152     *) break;;
   8153   esac
   8154 done
   8155 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8156 
   8157   case $host_os in
   8158   cygwin* | mingw* | pw32*)
   8159     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8160     # When not using gcc, we currently assume that we are using
   8161     # Microsoft Visual C++.
   8162     if test "$GCC" != yes; then
   8163       with_gnu_ld=no
   8164     fi
   8165     ;;
   8166   interix*)
   8167     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8168     with_gnu_ld=yes
   8169     ;;
   8170   openbsd*)
   8171     with_gnu_ld=no
   8172     ;;
   8173   esac
   8174 
   8175   ld_shlibs=yes
   8176   if test "$with_gnu_ld" = yes; then
   8177     # If archive_cmds runs LD, not CC, wlarc should be empty
   8178     wlarc='${wl}'
   8179 
   8180     # Set some defaults for GNU ld with shared library support. These
   8181     # are reset later if shared libraries are not supported. Putting them
   8182     # here allows them to be overridden if necessary.
   8183     runpath_var=LD_RUN_PATH
   8184     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8185     export_dynamic_flag_spec='${wl}--export-dynamic'
   8186     # ancient GNU ld didn't support --whole-archive et. al.
   8187     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8188 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8189       else
   8190   	whole_archive_flag_spec=
   8191     fi
   8192     supports_anon_versioning=no
   8193     case `$LD -v 2>/dev/null` in
   8194       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8195       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8196       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8197       *\ 2.11.*) ;; # other 2.11 versions
   8198       *) supports_anon_versioning=yes ;;
   8199     esac
   8200 
   8201     # See if GNU ld supports shared libraries.
   8202     case $host_os in
   8203     aix[3-9]*)
   8204       # On AIX/PPC, the GNU linker is very broken
   8205       if test "$host_cpu" != ia64; then
   8206 	ld_shlibs=no
   8207 	cat <<EOF 1>&2
   8208 
   8209 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8210 *** to be unable to reliably create shared libraries on AIX.
   8211 *** Therefore, libtool is disabling shared libraries support.  If you
   8212 *** really care for shared libraries, you may want to modify your PATH
   8213 *** so that a non-GNU linker is found, and then restart.
   8214 
   8215 EOF
   8216       fi
   8217       ;;
   8218 
   8219     amigaos*)
   8220       archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   8221       hardcode_libdir_flag_spec='-L$libdir'
   8222       hardcode_minus_L=yes
   8223 
   8224       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8225       # that the semantics of dynamic libraries on AmigaOS, at least up
   8226       # to version 4, is to share data among multiple programs linked
   8227       # with the same dynamic library.  Since this doesn't match the
   8228       # behavior of shared libraries on other platforms, we can't use
   8229       # them.
   8230       ld_shlibs=no
   8231       ;;
   8232 
   8233     beos*)
   8234       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8235 	allow_undefined_flag=unsupported
   8236 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8237 	# support --undefined.  This deserves some investigation.  FIXME
   8238 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8239       else
   8240 	ld_shlibs=no
   8241       fi
   8242       ;;
   8243 
   8244     cygwin* | mingw* | pw32*)
   8245       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8246       # as there is no search path for DLLs.
   8247       hardcode_libdir_flag_spec='-L$libdir'
   8248       allow_undefined_flag=unsupported
   8249       always_export_symbols=no
   8250       enable_shared_with_static_runtimes=yes
   8251       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8252 
   8253       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8254         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8255 	# If the export-symbols file already is a .def file (1st line
   8256 	# is EXPORTS), use it as is; otherwise, prepend...
   8257 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8258 	  cp $export_symbols $output_objdir/$soname.def;
   8259 	else
   8260 	  echo EXPORTS > $output_objdir/$soname.def;
   8261 	  cat $export_symbols >> $output_objdir/$soname.def;
   8262 	fi~
   8263 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8264       else
   8265 	ld_shlibs=no
   8266       fi
   8267       ;;
   8268 
   8269     interix[3-9]*)
   8270       hardcode_direct=no
   8271       hardcode_shlibpath_var=no
   8272       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8273       export_dynamic_flag_spec='${wl}-E'
   8274       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8275       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8276       # default) and relocated if they conflict, which is a slow very memory
   8277       # consuming and fragmenting process.  To avoid this, we pick a random,
   8278       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8279       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8280       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8281       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8282       ;;
   8283 
   8284     gnu* | linux* | k*bsd*-gnu)
   8285       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8286 	tmp_addflag=
   8287 	case $cc_basename,$host_cpu in
   8288 	pgcc*)				# Portland Group C compiler
   8289 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8290 	  tmp_addflag=' $pic_flag'
   8291 	  ;;
   8292 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8293 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8294 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8295 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8296 	  tmp_addflag=' -i_dynamic' ;;
   8297 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8298 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8299 	ifc* | ifort*)			# Intel Fortran compiler
   8300 	  tmp_addflag=' -nofor_main' ;;
   8301 	esac
   8302 	case `$CC -V 2>&1 | sed 5q` in
   8303 	*Sun\ C*)			# Sun C 5.9
   8304 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8305 	  tmp_sharedflag='-G' ;;
   8306 	*Sun\ F*)			# Sun Fortran 8.3
   8307 	  tmp_sharedflag='-G' ;;
   8308 	*)
   8309 	  tmp_sharedflag='-shared' ;;
   8310 	esac
   8311 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8312 
   8313 	if test $supports_anon_versioning = yes; then
   8314 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8315   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8316   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8317 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8318 	fi
   8319       else
   8320 	ld_shlibs=no
   8321       fi
   8322       ;;
   8323 
   8324     netbsd*)
   8325       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8326 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8327 	wlarc=
   8328       else
   8329 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8330 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8331       fi
   8332       ;;
   8333 
   8334     solaris*)
   8335       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8336 	ld_shlibs=no
   8337 	cat <<EOF 1>&2
   8338 
   8339 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8340 *** create shared libraries on Solaris systems.  Therefore, libtool
   8341 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8342 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8343 *** your PATH or compiler configuration so that the native linker is
   8344 *** used, and then restart.
   8345 
   8346 EOF
   8347       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8348 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8349 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8350       else
   8351 	ld_shlibs=no
   8352       fi
   8353       ;;
   8354 
   8355     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8356       case `$LD -v 2>&1` in
   8357         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8358 	ld_shlibs=no
   8359 	cat <<_LT_EOF 1>&2
   8360 
   8361 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8362 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8363 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8364 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8365 *** your PATH or compiler configuration so that the native linker is
   8366 *** used, and then restart.
   8367 
   8368 _LT_EOF
   8369 	;;
   8370 	*)
   8371 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8372 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8373 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8374 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8375 	  else
   8376 	    ld_shlibs=no
   8377 	  fi
   8378 	;;
   8379       esac
   8380       ;;
   8381 
   8382     sunos4*)
   8383       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8384       wlarc=
   8385       hardcode_direct=yes
   8386       hardcode_shlibpath_var=no
   8387       ;;
   8388 
   8389     *)
   8390       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8391 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8392 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8393       else
   8394 	ld_shlibs=no
   8395       fi
   8396       ;;
   8397     esac
   8398 
   8399     if test "$ld_shlibs" = no; then
   8400       runpath_var=
   8401       hardcode_libdir_flag_spec=
   8402       export_dynamic_flag_spec=
   8403       whole_archive_flag_spec=
   8404     fi
   8405   else
   8406     # PORTME fill in a description of your system's linker (not GNU ld)
   8407     case $host_os in
   8408     aix3*)
   8409       allow_undefined_flag=unsupported
   8410       always_export_symbols=yes
   8411       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   8412       # Note: this linker hardcodes the directories in LIBPATH if there
   8413       # are no directories specified by -L.
   8414       hardcode_minus_L=yes
   8415       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8416 	# Neither direct hardcoding nor static linking is supported with a
   8417 	# broken collect2.
   8418 	hardcode_direct=unsupported
   8419       fi
   8420       ;;
   8421 
   8422     aix[4-9]*)
   8423       if test "$host_cpu" = ia64; then
   8424 	# On IA64, the linker does run time linking by default, so we don't
   8425 	# have to do anything special.
   8426 	aix_use_runtimelinking=no
   8427 	exp_sym_flag='-Bexport'
   8428 	no_entry_flag=""
   8429       else
   8430 	# If we're using GNU nm, then we don't want the "-C" option.
   8431 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8432 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8433 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   8434 	else
   8435 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   8436 	fi
   8437 	aix_use_runtimelinking=no
   8438 
   8439 	# Test if we are trying to use run time linking or normal
   8440 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8441 	# need to do runtime linking.
   8442 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8443 	  for ld_flag in $LDFLAGS; do
   8444   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8445   	    aix_use_runtimelinking=yes
   8446   	    break
   8447   	  fi
   8448 	  done
   8449 	  ;;
   8450 	esac
   8451 
   8452 	exp_sym_flag='-bexport'
   8453 	no_entry_flag='-bnoentry'
   8454       fi
   8455 
   8456       # When large executables or shared objects are built, AIX ld can
   8457       # have problems creating the table of contents.  If linking a library
   8458       # or program results in "error TOC overflow" add -mminimal-toc to
   8459       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8460       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8461 
   8462       archive_cmds=''
   8463       hardcode_direct=yes
   8464       hardcode_libdir_separator=':'
   8465       link_all_deplibs=yes
   8466 
   8467       if test "$GCC" = yes; then
   8468 	case $host_os in aix4.[012]|aix4.[012].*)
   8469 	# We only want to do this on AIX 4.2 and lower, the check
   8470 	# below for broken collect2 doesn't work under 4.3+
   8471 	  collect2name=`${CC} -print-prog-name=collect2`
   8472 	  if test -f "$collect2name" && \
   8473   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8474 	  then
   8475   	  # We have reworked collect2
   8476   	  :
   8477 	  else
   8478   	  # We have old collect2
   8479   	  hardcode_direct=unsupported
   8480   	  # It fails to find uninstalled libraries when the uninstalled
   8481   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8482   	  # to unsupported forces relinking
   8483   	  hardcode_minus_L=yes
   8484   	  hardcode_libdir_flag_spec='-L$libdir'
   8485   	  hardcode_libdir_separator=
   8486 	  fi
   8487 	  ;;
   8488 	esac
   8489 	shared_flag='-shared'
   8490 	if test "$aix_use_runtimelinking" = yes; then
   8491 	  shared_flag="$shared_flag "'${wl}-G'
   8492 	fi
   8493       else
   8494 	# not using gcc
   8495 	if test "$host_cpu" = ia64; then
   8496   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8497   	# chokes on -Wl,-G. The following line is correct:
   8498 	  shared_flag='-G'
   8499 	else
   8500 	  if test "$aix_use_runtimelinking" = yes; then
   8501 	    shared_flag='${wl}-G'
   8502 	  else
   8503 	    shared_flag='${wl}-bM:SRE'
   8504 	  fi
   8505 	fi
   8506       fi
   8507 
   8508       # It seems that -bexpall does not export symbols beginning with
   8509       # underscore (_), so it is better to generate a list of symbols to export.
   8510       always_export_symbols=yes
   8511       if test "$aix_use_runtimelinking" = yes; then
   8512 	# Warning - without using the other runtime loading flags (-brtl),
   8513 	# -berok will link without error, but may produce a broken library.
   8514 	allow_undefined_flag='-berok'
   8515        # Determine the default libpath from the value encoded in an empty executable.
   8516        cat >conftest.$ac_ext <<_ACEOF
   8517 /* confdefs.h.  */
   8518 _ACEOF
   8519 cat confdefs.h >>conftest.$ac_ext
   8520 cat >>conftest.$ac_ext <<_ACEOF
   8521 /* end confdefs.h.  */
   8522 
   8523 int
   8524 main ()
   8525 {
   8526 
   8527   ;
   8528   return 0;
   8529 }
   8530 _ACEOF
   8531 rm -f conftest.$ac_objext conftest$ac_exeext
   8532 if { (ac_try="$ac_link"
   8533 case "(($ac_try" in
   8534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8535   *) ac_try_echo=$ac_try;;
   8536 esac
   8537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8538 $as_echo "$ac_try_echo") >&5
   8539   (eval "$ac_link") 2>conftest.er1
   8540   ac_status=$?
   8541   grep -v '^ *+' conftest.er1 >conftest.err
   8542   rm -f conftest.er1
   8543   cat conftest.err >&5
   8544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8545   (exit $ac_status); } && {
   8546 	 test -z "$ac_c_werror_flag" ||
   8547 	 test ! -s conftest.err
   8548        } && test -s conftest$ac_exeext && {
   8549 	 test "$cross_compiling" = yes ||
   8550 	 $as_test_x conftest$ac_exeext
   8551        }; then
   8552 
   8553 lt_aix_libpath_sed='
   8554     /Import File Strings/,/^$/ {
   8555 	/^0/ {
   8556 	    s/^0  *\(.*\)$/\1/
   8557 	    p
   8558 	}
   8559     }'
   8560 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8561 # Check for a 64-bit object if we didn't find anything.
   8562 if test -z "$aix_libpath"; then
   8563   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8564 fi
   8565 else
   8566   $as_echo "$as_me: failed program was:" >&5
   8567 sed 's/^/| /' conftest.$ac_ext >&5
   8568 
   8569 
   8570 fi
   8571 
   8572 rm -rf conftest.dSYM
   8573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8574       conftest$ac_exeext conftest.$ac_ext
   8575 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8576 
   8577        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8578 	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8579        else
   8580 	if test "$host_cpu" = ia64; then
   8581 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8582 	  allow_undefined_flag="-z nodefs"
   8583 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   8584 	else
   8585 	 # Determine the default libpath from the value encoded in an empty executable.
   8586 	 cat >conftest.$ac_ext <<_ACEOF
   8587 /* confdefs.h.  */
   8588 _ACEOF
   8589 cat confdefs.h >>conftest.$ac_ext
   8590 cat >>conftest.$ac_ext <<_ACEOF
   8591 /* end confdefs.h.  */
   8592 
   8593 int
   8594 main ()
   8595 {
   8596 
   8597   ;
   8598   return 0;
   8599 }
   8600 _ACEOF
   8601 rm -f conftest.$ac_objext conftest$ac_exeext
   8602 if { (ac_try="$ac_link"
   8603 case "(($ac_try" in
   8604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8605   *) ac_try_echo=$ac_try;;
   8606 esac
   8607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8608 $as_echo "$ac_try_echo") >&5
   8609   (eval "$ac_link") 2>conftest.er1
   8610   ac_status=$?
   8611   grep -v '^ *+' conftest.er1 >conftest.err
   8612   rm -f conftest.er1
   8613   cat conftest.err >&5
   8614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8615   (exit $ac_status); } && {
   8616 	 test -z "$ac_c_werror_flag" ||
   8617 	 test ! -s conftest.err
   8618        } && test -s conftest$ac_exeext && {
   8619 	 test "$cross_compiling" = yes ||
   8620 	 $as_test_x conftest$ac_exeext
   8621        }; then
   8622 
   8623 lt_aix_libpath_sed='
   8624     /Import File Strings/,/^$/ {
   8625 	/^0/ {
   8626 	    s/^0  *\(.*\)$/\1/
   8627 	    p
   8628 	}
   8629     }'
   8630 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8631 # Check for a 64-bit object if we didn't find anything.
   8632 if test -z "$aix_libpath"; then
   8633   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8634 fi
   8635 else
   8636   $as_echo "$as_me: failed program was:" >&5
   8637 sed 's/^/| /' conftest.$ac_ext >&5
   8638 
   8639 
   8640 fi
   8641 
   8642 rm -rf conftest.dSYM
   8643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8644       conftest$ac_exeext conftest.$ac_ext
   8645 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8646 
   8647 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8648 	  # Warning - without using the other run time loading flags,
   8649 	  # -berok will link without error, but may produce a broken library.
   8650 	  no_undefined_flag=' ${wl}-bernotok'
   8651 	  allow_undefined_flag=' ${wl}-berok'
   8652 	  # Exported symbols can be pulled into shared objects from archives
   8653 	  whole_archive_flag_spec='$convenience'
   8654 	  archive_cmds_need_lc=yes
   8655 	  # This is similar to how AIX traditionally builds its shared libraries.
   8656 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   8657 	fi
   8658       fi
   8659       ;;
   8660 
   8661     amigaos*)
   8662       archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   8663       hardcode_libdir_flag_spec='-L$libdir'
   8664       hardcode_minus_L=yes
   8665       # see comment about different semantics on the GNU ld section
   8666       ld_shlibs=no
   8667       ;;
   8668 
   8669     bsdi[45]*)
   8670       export_dynamic_flag_spec=-rdynamic
   8671       ;;
   8672 
   8673     cygwin* | mingw* | pw32*)
   8674       # When not using gcc, we currently assume that we are using
   8675       # Microsoft Visual C++.
   8676       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8677       # no search path for DLLs.
   8678       hardcode_libdir_flag_spec=' '
   8679       allow_undefined_flag=unsupported
   8680       # Tell ltmain to make .lib files, not .a files.
   8681       libext=lib
   8682       # Tell ltmain to make .dll files, not .so files.
   8683       shrext_cmds=".dll"
   8684       # FIXME: Setting linknames here is a bad hack.
   8685       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8686       # The linker will automatically build a .lib file if we build a DLL.
   8687       old_archive_From_new_cmds='true'
   8688       # FIXME: Should let the user specify the lib program.
   8689       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8690       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8691       enable_shared_with_static_runtimes=yes
   8692       ;;
   8693 
   8694     darwin* | rhapsody*)
   8695       case $host_os in
   8696         rhapsody* | darwin1.[012])
   8697          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8698          ;;
   8699        *) # Darwin 1.3 on
   8700          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8701            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8702          else
   8703            case ${MACOSX_DEPLOYMENT_TARGET} in
   8704              10.[012])
   8705                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8706                ;;
   8707              10.*)
   8708                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8709                ;;
   8710            esac
   8711          fi
   8712          ;;
   8713       esac
   8714       archive_cmds_need_lc=no
   8715       hardcode_direct=no
   8716       hardcode_automatic=yes
   8717       hardcode_shlibpath_var=unsupported
   8718       whole_archive_flag_spec=''
   8719       link_all_deplibs=yes
   8720     if test "$GCC" = yes ; then
   8721     	output_verbose_link_cmd='echo'
   8722         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8723         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8724         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   8725         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   8726     else
   8727       case $cc_basename in
   8728         xlc*)
   8729          output_verbose_link_cmd='echo'
   8730          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8731          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8732           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8733          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8734           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8735           ;;
   8736        *)
   8737          ld_shlibs=no
   8738           ;;
   8739       esac
   8740     fi
   8741       ;;
   8742 
   8743     dgux*)
   8744       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8745       hardcode_libdir_flag_spec='-L$libdir'
   8746       hardcode_shlibpath_var=no
   8747       ;;
   8748 
   8749     freebsd1*)
   8750       ld_shlibs=no
   8751       ;;
   8752 
   8753     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8754     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8755     # does not break anything, and helps significantly (at the cost of a little
   8756     # extra space).
   8757     freebsd2.2*)
   8758       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8759       hardcode_libdir_flag_spec='-R$libdir'
   8760       hardcode_direct=yes
   8761       hardcode_shlibpath_var=no
   8762       ;;
   8763 
   8764     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8765     freebsd2*)
   8766       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8767       hardcode_direct=yes
   8768       hardcode_minus_L=yes
   8769       hardcode_shlibpath_var=no
   8770       ;;
   8771 
   8772     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8773     freebsd* | dragonfly*)
   8774       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8775       hardcode_libdir_flag_spec='-R$libdir'
   8776       hardcode_direct=yes
   8777       hardcode_shlibpath_var=no
   8778       ;;
   8779 
   8780     hpux9*)
   8781       if test "$GCC" = yes; then
   8782 	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8783       else
   8784 	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8785       fi
   8786       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8787       hardcode_libdir_separator=:
   8788       hardcode_direct=yes
   8789 
   8790       # hardcode_minus_L: Not really in the search PATH,
   8791       # but as the default location of the library.
   8792       hardcode_minus_L=yes
   8793       export_dynamic_flag_spec='${wl}-E'
   8794       ;;
   8795 
   8796     hpux10*)
   8797       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8798 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8799       else
   8800 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8801       fi
   8802       if test "$with_gnu_ld" = no; then
   8803 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8804 	hardcode_libdir_separator=:
   8805 
   8806 	hardcode_direct=yes
   8807 	export_dynamic_flag_spec='${wl}-E'
   8808 
   8809 	# hardcode_minus_L: Not really in the search PATH,
   8810 	# but as the default location of the library.
   8811 	hardcode_minus_L=yes
   8812       fi
   8813       ;;
   8814 
   8815     hpux11*)
   8816       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8817 	case $host_cpu in
   8818 	hppa*64*)
   8819 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8820 	  ;;
   8821 	ia64*)
   8822 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8823 	  ;;
   8824 	*)
   8825 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8826 	  ;;
   8827 	esac
   8828       else
   8829 	case $host_cpu in
   8830 	hppa*64*)
   8831 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8832 	  ;;
   8833 	ia64*)
   8834 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8835 	  ;;
   8836 	*)
   8837 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8838 	  ;;
   8839 	esac
   8840       fi
   8841       if test "$with_gnu_ld" = no; then
   8842 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8843 	hardcode_libdir_separator=:
   8844 
   8845 	case $host_cpu in
   8846 	hppa*64*|ia64*)
   8847 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8848 	  hardcode_direct=no
   8849 	  hardcode_shlibpath_var=no
   8850 	  ;;
   8851 	*)
   8852 	  hardcode_direct=yes
   8853 	  export_dynamic_flag_spec='${wl}-E'
   8854 
   8855 	  # hardcode_minus_L: Not really in the search PATH,
   8856 	  # but as the default location of the library.
   8857 	  hardcode_minus_L=yes
   8858 	  ;;
   8859 	esac
   8860       fi
   8861       ;;
   8862 
   8863     irix5* | irix6* | nonstopux*)
   8864       if test "$GCC" = yes; then
   8865 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8866       else
   8867 	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   8868 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8869       fi
   8870       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8871       hardcode_libdir_separator=:
   8872       link_all_deplibs=yes
   8873       ;;
   8874 
   8875     netbsd*)
   8876       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8877 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8878       else
   8879 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8880       fi
   8881       hardcode_libdir_flag_spec='-R$libdir'
   8882       hardcode_direct=yes
   8883       hardcode_shlibpath_var=no
   8884       ;;
   8885 
   8886     newsos6)
   8887       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8888       hardcode_direct=yes
   8889       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8890       hardcode_libdir_separator=:
   8891       hardcode_shlibpath_var=no
   8892       ;;
   8893 
   8894     openbsd*)
   8895       if test -f /usr/libexec/ld.so; then
   8896 	hardcode_direct=yes
   8897 	hardcode_shlibpath_var=no
   8898 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8899 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8900 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8901 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8902 	  export_dynamic_flag_spec='${wl}-E'
   8903 	else
   8904 	  case $host_os in
   8905 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8906 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8907 	     hardcode_libdir_flag_spec='-R$libdir'
   8908 	     ;;
   8909 	   *)
   8910 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8911 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8912 	     ;;
   8913 	  esac
   8914         fi
   8915       else
   8916 	ld_shlibs=no
   8917       fi
   8918       ;;
   8919 
   8920     os2*)
   8921       hardcode_libdir_flag_spec='-L$libdir'
   8922       hardcode_minus_L=yes
   8923       allow_undefined_flag=unsupported
   8924       archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   8925       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8926       ;;
   8927 
   8928     osf3*)
   8929       if test "$GCC" = yes; then
   8930 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8931 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8932       else
   8933 	allow_undefined_flag=' -expect_unresolved \*'
   8934 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   8935       fi
   8936       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8937       hardcode_libdir_separator=:
   8938       ;;
   8939 
   8940     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8941       if test "$GCC" = yes; then
   8942 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8943 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8944 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8945       else
   8946 	allow_undefined_flag=' -expect_unresolved \*'
   8947 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   8948 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8949 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   8950 
   8951 	# Both c and cxx compiler support -rpath directly
   8952 	hardcode_libdir_flag_spec='-rpath $libdir'
   8953       fi
   8954       hardcode_libdir_separator=:
   8955       ;;
   8956 
   8957     solaris*)
   8958       no_undefined_flag=' -z text'
   8959       if test "$GCC" = yes; then
   8960 	wlarc='${wl}'
   8961 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8962 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8963 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8964       else
   8965 	wlarc=''
   8966 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8967 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8968   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8969       fi
   8970       hardcode_libdir_flag_spec='-R$libdir'
   8971       hardcode_shlibpath_var=no
   8972       case $host_os in
   8973       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8974       *)
   8975 	# The compiler driver will combine and reorder linker options,
   8976 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8977 	# but is careful enough not to reorder.
   8978  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8979 	if test "$GCC" = yes; then
   8980 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8981 	else
   8982 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8983 	fi
   8984 	;;
   8985       esac
   8986       link_all_deplibs=yes
   8987       ;;
   8988 
   8989     sunos4*)
   8990       if test "x$host_vendor" = xsequent; then
   8991 	# Use $CC to link under sequent, because it throws in some extra .o
   8992 	# files that make .init and .fini sections work.
   8993 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8994       else
   8995 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8996       fi
   8997       hardcode_libdir_flag_spec='-L$libdir'
   8998       hardcode_direct=yes
   8999       hardcode_minus_L=yes
   9000       hardcode_shlibpath_var=no
   9001       ;;
   9002 
   9003     sysv4)
   9004       case $host_vendor in
   9005 	sni)
   9006 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9007 	  hardcode_direct=yes # is this really true???
   9008 	;;
   9009 	siemens)
   9010 	  ## LD is ld it makes a PLAMLIB
   9011 	  ## CC just makes a GrossModule.
   9012 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9013 	  reload_cmds='$CC -r -o $output$reload_objs'
   9014 	  hardcode_direct=no
   9015         ;;
   9016 	motorola)
   9017 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9018 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9019 	;;
   9020       esac
   9021       runpath_var='LD_RUN_PATH'
   9022       hardcode_shlibpath_var=no
   9023       ;;
   9024 
   9025     sysv4.3*)
   9026       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9027       hardcode_shlibpath_var=no
   9028       export_dynamic_flag_spec='-Bexport'
   9029       ;;
   9030 
   9031     sysv4*MP*)
   9032       if test -d /usr/nec; then
   9033 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9034 	hardcode_shlibpath_var=no
   9035 	runpath_var=LD_RUN_PATH
   9036 	hardcode_runpath_var=yes
   9037 	ld_shlibs=yes
   9038       fi
   9039       ;;
   9040 
   9041     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9042       no_undefined_flag='${wl}-z,text'
   9043       archive_cmds_need_lc=no
   9044       hardcode_shlibpath_var=no
   9045       runpath_var='LD_RUN_PATH'
   9046 
   9047       if test "$GCC" = yes; then
   9048 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9049 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9050       else
   9051 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9052 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9053       fi
   9054       ;;
   9055 
   9056     sysv5* | sco3.2v5* | sco5v6*)
   9057       # Note: We can NOT use -z defs as we might desire, because we do not
   9058       # link with -lc, and that would cause any symbols used from libc to
   9059       # always be unresolved, which means just about no library would
   9060       # ever link correctly.  If we're not using GNU ld we use -z text
   9061       # though, which does catch some bad symbols but isn't as heavy-handed
   9062       # as -z defs.
   9063       no_undefined_flag='${wl}-z,text'
   9064       allow_undefined_flag='${wl}-z,nodefs'
   9065       archive_cmds_need_lc=no
   9066       hardcode_shlibpath_var=no
   9067       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9068       hardcode_libdir_separator=':'
   9069       link_all_deplibs=yes
   9070       export_dynamic_flag_spec='${wl}-Bexport'
   9071       runpath_var='LD_RUN_PATH'
   9072 
   9073       if test "$GCC" = yes; then
   9074 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9075 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9076       else
   9077 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9078 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9079       fi
   9080       ;;
   9081 
   9082     uts4*)
   9083       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9084       hardcode_libdir_flag_spec='-L$libdir'
   9085       hardcode_shlibpath_var=no
   9086       ;;
   9087 
   9088     *)
   9089       ld_shlibs=no
   9090       ;;
   9091     esac
   9092   fi
   9093 
   9094 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9095 $as_echo "$ld_shlibs" >&6; }
   9096 test "$ld_shlibs" = no && can_build_shared=no
   9097 
   9098 #
   9099 # Do we need to explicitly link libc?
   9100 #
   9101 case "x$archive_cmds_need_lc" in
   9102 x|xyes)
   9103   # Assume -lc should be added
   9104   archive_cmds_need_lc=yes
   9105 
   9106   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9107     case $archive_cmds in
   9108     *'~'*)
   9109       # FIXME: we may have to deal with multi-command sequences.
   9110       ;;
   9111     '$CC '*)
   9112       # Test whether the compiler implicitly links with -lc since on some
   9113       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9114       # to ld, don't add -lc before -lgcc.
   9115       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9116 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9117       $rm conftest*
   9118       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9119 
   9120       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9121   (eval $ac_compile) 2>&5
   9122   ac_status=$?
   9123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9124   (exit $ac_status); } 2>conftest.err; then
   9125         soname=conftest
   9126         lib=conftest
   9127         libobjs=conftest.$ac_objext
   9128         deplibs=
   9129         wl=$lt_prog_compiler_wl
   9130 	pic_flag=$lt_prog_compiler_pic
   9131         compiler_flags=-v
   9132         linker_flags=-v
   9133         verstring=
   9134         output_objdir=.
   9135         libname=conftest
   9136         lt_save_allow_undefined_flag=$allow_undefined_flag
   9137         allow_undefined_flag=
   9138         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9139   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9140   ac_status=$?
   9141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9142   (exit $ac_status); }
   9143         then
   9144 	  archive_cmds_need_lc=no
   9145         else
   9146 	  archive_cmds_need_lc=yes
   9147         fi
   9148         allow_undefined_flag=$lt_save_allow_undefined_flag
   9149       else
   9150         cat conftest.err 1>&5
   9151       fi
   9152       $rm conftest*
   9153       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9154 $as_echo "$archive_cmds_need_lc" >&6; }
   9155       ;;
   9156     esac
   9157   fi
   9158   ;;
   9159 esac
   9160 
   9161 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9162 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9163 library_names_spec=
   9164 libname_spec='lib$name'
   9165 soname_spec=
   9166 shrext_cmds=".so"
   9167 postinstall_cmds=
   9168 postuninstall_cmds=
   9169 finish_cmds=
   9170 finish_eval=
   9171 shlibpath_var=
   9172 shlibpath_overrides_runpath=unknown
   9173 version_type=none
   9174 dynamic_linker="$host_os ld.so"
   9175 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9176 
   9177 if test "$GCC" = yes; then
   9178   case $host_os in
   9179     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9180     *) lt_awk_arg="/^libraries:/" ;;
   9181   esac
   9182   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9183   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9184     # if the path contains ";" then we assume it to be the separator
   9185     # otherwise default to the standard path separator (i.e. ":") - it is
   9186     # assumed that no part of a normal pathname contains ";" but that should
   9187     # okay in the real world where ";" in dirpaths is itself problematic.
   9188     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9189   else
   9190     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9191   fi
   9192   # Ok, now we have the path, separated by spaces, we can step through it
   9193   # and add multilib dir if necessary.
   9194   lt_tmp_lt_search_path_spec=
   9195   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9196   for lt_sys_path in $lt_search_path_spec; do
   9197     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9198       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9199     else
   9200       test -d "$lt_sys_path" && \
   9201 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9202     fi
   9203   done
   9204   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9205 BEGIN {RS=" "; FS="/|\n";} {
   9206   lt_foo="";
   9207   lt_count=0;
   9208   for (lt_i = NF; lt_i > 0; lt_i--) {
   9209     if ($lt_i != "" && $lt_i != ".") {
   9210       if ($lt_i == "..") {
   9211         lt_count++;
   9212       } else {
   9213         if (lt_count == 0) {
   9214           lt_foo="/" $lt_i lt_foo;
   9215         } else {
   9216           lt_count--;
   9217         }
   9218       }
   9219     }
   9220   }
   9221   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9222   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9223 }'`
   9224   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9225 else
   9226   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9227 fi
   9228 need_lib_prefix=unknown
   9229 hardcode_into_libs=no
   9230 
   9231 # when you set need_version to no, make sure it does not cause -set_version
   9232 # flags to be left without arguments
   9233 need_version=unknown
   9234 
   9235 case $host_os in
   9236 aix3*)
   9237   version_type=linux
   9238   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9239   shlibpath_var=LIBPATH
   9240 
   9241   # AIX 3 has no versioning support, so we append a major version to the name.
   9242   soname_spec='${libname}${release}${shared_ext}$major'
   9243   ;;
   9244 
   9245 aix[4-9]*)
   9246   version_type=linux
   9247   need_lib_prefix=no
   9248   need_version=no
   9249   hardcode_into_libs=yes
   9250   if test "$host_cpu" = ia64; then
   9251     # AIX 5 supports IA64
   9252     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9253     shlibpath_var=LD_LIBRARY_PATH
   9254   else
   9255     # With GCC up to 2.95.x, collect2 would create an import file
   9256     # for dependence libraries.  The import file would start with
   9257     # the line `#! .'.  This would cause the generated library to
   9258     # depend on `.', always an invalid library.  This was fixed in
   9259     # development snapshots of GCC prior to 3.0.
   9260     case $host_os in
   9261       aix4 | aix4.[01] | aix4.[01].*)
   9262       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9263 	   echo ' yes '
   9264 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9265 	:
   9266       else
   9267 	can_build_shared=no
   9268       fi
   9269       ;;
   9270     esac
   9271     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9272     # soname into executable. Probably we can add versioning support to
   9273     # collect2, so additional links can be useful in future.
   9274     if test "$aix_use_runtimelinking" = yes; then
   9275       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9276       # instead of lib<name>.a to let people know that these are not
   9277       # typical AIX shared libraries.
   9278       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9279     else
   9280       # We preserve .a as extension for shared libraries through AIX4.2
   9281       # and later when we are not doing run time linking.
   9282       library_names_spec='${libname}${release}.a $libname.a'
   9283       soname_spec='${libname}${release}${shared_ext}$major'
   9284     fi
   9285     shlibpath_var=LIBPATH
   9286   fi
   9287   ;;
   9288 
   9289 amigaos*)
   9290   library_names_spec='$libname.ixlibrary $libname.a'
   9291   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9292   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9293   ;;
   9294 
   9295 beos*)
   9296   library_names_spec='${libname}${shared_ext}'
   9297   dynamic_linker="$host_os ld.so"
   9298   shlibpath_var=LIBRARY_PATH
   9299   ;;
   9300 
   9301 bsdi[45]*)
   9302   version_type=linux
   9303   need_version=no
   9304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9305   soname_spec='${libname}${release}${shared_ext}$major'
   9306   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9307   shlibpath_var=LD_LIBRARY_PATH
   9308   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9309   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9310   # the default ld.so.conf also contains /usr/contrib/lib and
   9311   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9312   # libtool to hard-code these into programs
   9313   ;;
   9314 
   9315 cygwin* | mingw* | pw32*)
   9316   version_type=windows
   9317   shrext_cmds=".dll"
   9318   need_version=no
   9319   need_lib_prefix=no
   9320 
   9321   case $GCC,$host_os in
   9322   yes,cygwin* | yes,mingw* | yes,pw32*)
   9323     library_names_spec='$libname.dll.a'
   9324     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9325     postinstall_cmds='base_file=`basename \${file}`~
   9326       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9327       dldir=$destdir/`dirname \$dlpath`~
   9328       test -d \$dldir || mkdir -p \$dldir~
   9329       $install_prog $dir/$dlname \$dldir/$dlname~
   9330       chmod a+x \$dldir/$dlname'
   9331     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9332       dlpath=$dir/\$dldll~
   9333        $rm \$dlpath'
   9334     shlibpath_overrides_runpath=yes
   9335 
   9336     case $host_os in
   9337     cygwin*)
   9338       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9339       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9340       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9341       ;;
   9342     mingw*)
   9343       # MinGW DLLs use traditional 'lib' prefix
   9344       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9345       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9346       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9347         # It is most probably a Windows format PATH printed by
   9348         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9349         # path with ; separators, and with drive letters. We can handle the
   9350         # drive letters (cygwin fileutils understands them), so leave them,
   9351         # especially as we might pass files found there to a mingw objdump,
   9352         # which wouldn't understand a cygwinified path. Ahh.
   9353         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9354       else
   9355         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9356       fi
   9357       ;;
   9358     pw32*)
   9359       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9360       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9361       ;;
   9362     esac
   9363     ;;
   9364 
   9365   *)
   9366     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9367     ;;
   9368   esac
   9369   dynamic_linker='Win32 ld.exe'
   9370   # FIXME: first we should search . and the directory the executable is in
   9371   shlibpath_var=PATH
   9372   ;;
   9373 
   9374 darwin* | rhapsody*)
   9375   dynamic_linker="$host_os dyld"
   9376   version_type=darwin
   9377   need_lib_prefix=no
   9378   need_version=no
   9379   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9380   soname_spec='${libname}${release}${major}$shared_ext'
   9381   shlibpath_overrides_runpath=yes
   9382   shlibpath_var=DYLD_LIBRARY_PATH
   9383   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9384 
   9385   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9386   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9387   ;;
   9388 
   9389 dgux*)
   9390   version_type=linux
   9391   need_lib_prefix=no
   9392   need_version=no
   9393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9394   soname_spec='${libname}${release}${shared_ext}$major'
   9395   shlibpath_var=LD_LIBRARY_PATH
   9396   ;;
   9397 
   9398 freebsd1*)
   9399   dynamic_linker=no
   9400   ;;
   9401 
   9402 freebsd* | dragonfly*)
   9403   # DragonFly does not have aout.  When/if they implement a new
   9404   # versioning mechanism, adjust this.
   9405   if test -x /usr/bin/objformat; then
   9406     objformat=`/usr/bin/objformat`
   9407   else
   9408     case $host_os in
   9409     freebsd[123]*) objformat=aout ;;
   9410     *) objformat=elf ;;
   9411     esac
   9412   fi
   9413   version_type=freebsd-$objformat
   9414   case $version_type in
   9415     freebsd-elf*)
   9416       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9417       need_version=no
   9418       need_lib_prefix=no
   9419       ;;
   9420     freebsd-*)
   9421       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9422       need_version=yes
   9423       ;;
   9424   esac
   9425   shlibpath_var=LD_LIBRARY_PATH
   9426   case $host_os in
   9427   freebsd2*)
   9428     shlibpath_overrides_runpath=yes
   9429     ;;
   9430   freebsd3.[01]* | freebsdelf3.[01]*)
   9431     shlibpath_overrides_runpath=yes
   9432     hardcode_into_libs=yes
   9433     ;;
   9434   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9435   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9436     shlibpath_overrides_runpath=no
   9437     hardcode_into_libs=yes
   9438     ;;
   9439   *) # from 4.6 on, and DragonFly
   9440     shlibpath_overrides_runpath=yes
   9441     hardcode_into_libs=yes
   9442     ;;
   9443   esac
   9444   ;;
   9445 
   9446 gnu*)
   9447   version_type=linux
   9448   need_lib_prefix=no
   9449   need_version=no
   9450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9451   soname_spec='${libname}${release}${shared_ext}$major'
   9452   shlibpath_var=LD_LIBRARY_PATH
   9453   hardcode_into_libs=yes
   9454   ;;
   9455 
   9456 hpux9* | hpux10* | hpux11*)
   9457   # Give a soname corresponding to the major version so that dld.sl refuses to
   9458   # link against other versions.
   9459   version_type=sunos
   9460   need_lib_prefix=no
   9461   need_version=no
   9462   case $host_cpu in
   9463   ia64*)
   9464     shrext_cmds='.so'
   9465     hardcode_into_libs=yes
   9466     dynamic_linker="$host_os dld.so"
   9467     shlibpath_var=LD_LIBRARY_PATH
   9468     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9469     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9470     soname_spec='${libname}${release}${shared_ext}$major'
   9471     if test "X$HPUX_IA64_MODE" = X32; then
   9472       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9473     else
   9474       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9475     fi
   9476     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9477     ;;
   9478    hppa*64*)
   9479      shrext_cmds='.sl'
   9480      hardcode_into_libs=yes
   9481      dynamic_linker="$host_os dld.sl"
   9482      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9483      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9484      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9485      soname_spec='${libname}${release}${shared_ext}$major'
   9486      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9487      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9488      ;;
   9489    *)
   9490     shrext_cmds='.sl'
   9491     dynamic_linker="$host_os dld.sl"
   9492     shlibpath_var=SHLIB_PATH
   9493     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9495     soname_spec='${libname}${release}${shared_ext}$major'
   9496     ;;
   9497   esac
   9498   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9499   postinstall_cmds='chmod 555 $lib'
   9500   ;;
   9501 
   9502 interix[3-9]*)
   9503   version_type=linux
   9504   need_lib_prefix=no
   9505   need_version=no
   9506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9507   soname_spec='${libname}${release}${shared_ext}$major'
   9508   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9509   shlibpath_var=LD_LIBRARY_PATH
   9510   shlibpath_overrides_runpath=no
   9511   hardcode_into_libs=yes
   9512   ;;
   9513 
   9514 irix5* | irix6* | nonstopux*)
   9515   case $host_os in
   9516     nonstopux*) version_type=nonstopux ;;
   9517     *)
   9518 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9519 		version_type=linux
   9520 	else
   9521 		version_type=irix
   9522 	fi ;;
   9523   esac
   9524   need_lib_prefix=no
   9525   need_version=no
   9526   soname_spec='${libname}${release}${shared_ext}$major'
   9527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9528   case $host_os in
   9529   irix5* | nonstopux*)
   9530     libsuff= shlibsuff=
   9531     ;;
   9532   *)
   9533     case $LD in # libtool.m4 will add one of these switches to LD
   9534     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9535       libsuff= shlibsuff= libmagic=32-bit;;
   9536     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9537       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9538     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9539       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9540     *) libsuff= shlibsuff= libmagic=never-match;;
   9541     esac
   9542     ;;
   9543   esac
   9544   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9545   shlibpath_overrides_runpath=no
   9546   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9547   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9548   hardcode_into_libs=yes
   9549   ;;
   9550 
   9551 # No shared lib support for Linux oldld, aout, or coff.
   9552 linux*oldld* | linux*aout* | linux*coff*)
   9553   dynamic_linker=no
   9554   ;;
   9555 
   9556 # This must be Linux ELF.
   9557 linux* | k*bsd*-gnu)
   9558   version_type=linux
   9559   need_lib_prefix=no
   9560   need_version=no
   9561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9562   soname_spec='${libname}${release}${shared_ext}$major'
   9563   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9564   shlibpath_var=LD_LIBRARY_PATH
   9565   shlibpath_overrides_runpath=no
   9566   # This implies no fast_install, which is unacceptable.
   9567   # Some rework will be needed to allow for fast_install
   9568   # before this can be enabled.
   9569   hardcode_into_libs=yes
   9570 
   9571   # Append ld.so.conf contents to the search path
   9572   if test -f /etc/ld.so.conf; then
   9573     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9574     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9575   fi
   9576 
   9577   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9578   # powerpc, because MkLinux only supported shared libraries with the
   9579   # GNU dynamic linker.  Since this was broken with cross compilers,
   9580   # most powerpc-linux boxes support dynamic linking these days and
   9581   # people can always --disable-shared, the test was removed, and we
   9582   # assume the GNU/Linux dynamic linker is in use.
   9583   dynamic_linker='GNU/Linux ld.so'
   9584   ;;
   9585 
   9586 netbsd*)
   9587   version_type=sunos
   9588   need_lib_prefix=no
   9589   need_version=no
   9590   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9591     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9592     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9593     dynamic_linker='NetBSD (a.out) ld.so'
   9594   else
   9595     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9596     soname_spec='${libname}${release}${shared_ext}$major'
   9597     dynamic_linker='NetBSD ld.elf_so'
   9598   fi
   9599   shlibpath_var=LD_LIBRARY_PATH
   9600   shlibpath_overrides_runpath=yes
   9601   hardcode_into_libs=yes
   9602   ;;
   9603 
   9604 newsos6)
   9605   version_type=linux
   9606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9607   shlibpath_var=LD_LIBRARY_PATH
   9608   shlibpath_overrides_runpath=yes
   9609   ;;
   9610 
   9611 nto-qnx*)
   9612   version_type=linux
   9613   need_lib_prefix=no
   9614   need_version=no
   9615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9616   soname_spec='${libname}${release}${shared_ext}$major'
   9617   shlibpath_var=LD_LIBRARY_PATH
   9618   shlibpath_overrides_runpath=yes
   9619   ;;
   9620 
   9621 openbsd*)
   9622   version_type=sunos
   9623   sys_lib_dlsearch_path_spec="/usr/lib"
   9624   need_lib_prefix=no
   9625   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9626   case $host_os in
   9627     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9628     *)                         need_version=no  ;;
   9629   esac
   9630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9631   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9632   shlibpath_var=LD_LIBRARY_PATH
   9633   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9634     case $host_os in
   9635       openbsd2.[89] | openbsd2.[89].*)
   9636 	shlibpath_overrides_runpath=no
   9637 	;;
   9638       *)
   9639 	shlibpath_overrides_runpath=yes
   9640 	;;
   9641       esac
   9642   else
   9643     shlibpath_overrides_runpath=yes
   9644   fi
   9645   ;;
   9646 
   9647 os2*)
   9648   libname_spec='$name'
   9649   shrext_cmds=".dll"
   9650   need_lib_prefix=no
   9651   library_names_spec='$libname${shared_ext} $libname.a'
   9652   dynamic_linker='OS/2 ld.exe'
   9653   shlibpath_var=LIBPATH
   9654   ;;
   9655 
   9656 osf3* | osf4* | osf5*)
   9657   version_type=osf
   9658   need_lib_prefix=no
   9659   need_version=no
   9660   soname_spec='${libname}${release}${shared_ext}$major'
   9661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9662   shlibpath_var=LD_LIBRARY_PATH
   9663   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9664   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9665   ;;
   9666 
   9667 rdos*)
   9668   dynamic_linker=no
   9669   ;;
   9670 
   9671 solaris*)
   9672   version_type=linux
   9673   need_lib_prefix=no
   9674   need_version=no
   9675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9676   soname_spec='${libname}${release}${shared_ext}$major'
   9677   shlibpath_var=LD_LIBRARY_PATH
   9678   shlibpath_overrides_runpath=yes
   9679   hardcode_into_libs=yes
   9680   # ldd complains unless libraries are executable
   9681   postinstall_cmds='chmod +x $lib'
   9682   ;;
   9683 
   9684 sunos4*)
   9685   version_type=sunos
   9686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9687   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9688   shlibpath_var=LD_LIBRARY_PATH
   9689   shlibpath_overrides_runpath=yes
   9690   if test "$with_gnu_ld" = yes; then
   9691     need_lib_prefix=no
   9692   fi
   9693   need_version=yes
   9694   ;;
   9695 
   9696 sysv4 | sysv4.3*)
   9697   version_type=linux
   9698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9699   soname_spec='${libname}${release}${shared_ext}$major'
   9700   shlibpath_var=LD_LIBRARY_PATH
   9701   case $host_vendor in
   9702     sni)
   9703       shlibpath_overrides_runpath=no
   9704       need_lib_prefix=no
   9705       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9706       runpath_var=LD_RUN_PATH
   9707       ;;
   9708     siemens)
   9709       need_lib_prefix=no
   9710       ;;
   9711     motorola)
   9712       need_lib_prefix=no
   9713       need_version=no
   9714       shlibpath_overrides_runpath=no
   9715       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9716       ;;
   9717   esac
   9718   ;;
   9719 
   9720 sysv4*MP*)
   9721   if test -d /usr/nec ;then
   9722     version_type=linux
   9723     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9724     soname_spec='$libname${shared_ext}.$major'
   9725     shlibpath_var=LD_LIBRARY_PATH
   9726   fi
   9727   ;;
   9728 
   9729 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9730   version_type=freebsd-elf
   9731   need_lib_prefix=no
   9732   need_version=no
   9733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9734   soname_spec='${libname}${release}${shared_ext}$major'
   9735   shlibpath_var=LD_LIBRARY_PATH
   9736   hardcode_into_libs=yes
   9737   if test "$with_gnu_ld" = yes; then
   9738     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9739     shlibpath_overrides_runpath=no
   9740   else
   9741     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9742     shlibpath_overrides_runpath=yes
   9743     case $host_os in
   9744       sco3.2v5*)
   9745         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9746 	;;
   9747     esac
   9748   fi
   9749   sys_lib_dlsearch_path_spec='/usr/lib'
   9750   ;;
   9751 
   9752 uts4*)
   9753   version_type=linux
   9754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9755   soname_spec='${libname}${release}${shared_ext}$major'
   9756   shlibpath_var=LD_LIBRARY_PATH
   9757   ;;
   9758 
   9759 *)
   9760   dynamic_linker=no
   9761   ;;
   9762 esac
   9763 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9764 $as_echo "$dynamic_linker" >&6; }
   9765 test "$dynamic_linker" = no && can_build_shared=no
   9766 
   9767 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9768   $as_echo_n "(cached) " >&6
   9769 else
   9770   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9771 fi
   9772 
   9773 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9774 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9775   $as_echo_n "(cached) " >&6
   9776 else
   9777   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9778 fi
   9779 
   9780 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9781 
   9782 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9783 if test "$GCC" = yes; then
   9784   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9785 fi
   9786 
   9787 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9788 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9789 hardcode_action=
   9790 if test -n "$hardcode_libdir_flag_spec" || \
   9791    test -n "$runpath_var" || \
   9792    test "X$hardcode_automatic" = "Xyes" ; then
   9793 
   9794   # We can hardcode non-existant directories.
   9795   if test "$hardcode_direct" != no &&
   9796      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9797      # have to relink, otherwise we might link with an installed library
   9798      # when we should be linking with a yet-to-be-installed one
   9799      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9800      test "$hardcode_minus_L" != no; then
   9801     # Linking always hardcodes the temporary library directory.
   9802     hardcode_action=relink
   9803   else
   9804     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9805     hardcode_action=immediate
   9806   fi
   9807 else
   9808   # We cannot hardcode anything, or else we can only hardcode existing
   9809   # directories.
   9810   hardcode_action=unsupported
   9811 fi
   9812 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9813 $as_echo "$hardcode_action" >&6; }
   9814 
   9815 if test "$hardcode_action" = relink; then
   9816   # Fast installation is not supported
   9817   enable_fast_install=no
   9818 elif test "$shlibpath_overrides_runpath" = yes ||
   9819      test "$enable_shared" = no; then
   9820   # Fast installation is not necessary
   9821   enable_fast_install=needless
   9822 fi
   9823 
   9824 striplib=
   9825 old_striplib=
   9826 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9827 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9828 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9829   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9830   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9831   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9832 $as_echo "yes" >&6; }
   9833 else
   9834 # FIXME - insert some real tests, host_os isn't really good enough
   9835   case $host_os in
   9836    darwin*)
   9837        if test -n "$STRIP" ; then
   9838          striplib="$STRIP -x"
   9839          old_striplib="$STRIP -S"
   9840          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9841 $as_echo "yes" >&6; }
   9842        else
   9843   { $as_echo "$as_me:$LINENO: result: no" >&5
   9844 $as_echo "no" >&6; }
   9845 fi
   9846        ;;
   9847    *)
   9848   { $as_echo "$as_me:$LINENO: result: no" >&5
   9849 $as_echo "no" >&6; }
   9850     ;;
   9851   esac
   9852 fi
   9853 
   9854 if test "x$enable_dlopen" != xyes; then
   9855   enable_dlopen=unknown
   9856   enable_dlopen_self=unknown
   9857   enable_dlopen_self_static=unknown
   9858 else
   9859   lt_cv_dlopen=no
   9860   lt_cv_dlopen_libs=
   9861 
   9862   case $host_os in
   9863   beos*)
   9864     lt_cv_dlopen="load_add_on"
   9865     lt_cv_dlopen_libs=
   9866     lt_cv_dlopen_self=yes
   9867     ;;
   9868 
   9869   mingw* | pw32*)
   9870     lt_cv_dlopen="LoadLibrary"
   9871     lt_cv_dlopen_libs=
   9872    ;;
   9873 
   9874   cygwin*)
   9875     lt_cv_dlopen="dlopen"
   9876     lt_cv_dlopen_libs=
   9877    ;;
   9878 
   9879   darwin*)
   9880   # if libdl is installed we need to link against it
   9881     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9882 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9884   $as_echo_n "(cached) " >&6
   9885 else
   9886   ac_check_lib_save_LIBS=$LIBS
   9887 LIBS="-ldl  $LIBS"
   9888 cat >conftest.$ac_ext <<_ACEOF
   9889 /* confdefs.h.  */
   9890 _ACEOF
   9891 cat confdefs.h >>conftest.$ac_ext
   9892 cat >>conftest.$ac_ext <<_ACEOF
   9893 /* end confdefs.h.  */
   9894 
   9895 /* Override any GCC internal prototype to avoid an error.
   9896    Use char because int might match the return type of a GCC
   9897    builtin and then its argument prototype would still apply.  */
   9898 #ifdef __cplusplus
   9899 extern "C"
   9900 #endif
   9901 char dlopen ();
   9902 int
   9903 main ()
   9904 {
   9905 return dlopen ();
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 rm -f conftest.$ac_objext conftest$ac_exeext
   9911 if { (ac_try="$ac_link"
   9912 case "(($ac_try" in
   9913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9914   *) ac_try_echo=$ac_try;;
   9915 esac
   9916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9917 $as_echo "$ac_try_echo") >&5
   9918   (eval "$ac_link") 2>conftest.er1
   9919   ac_status=$?
   9920   grep -v '^ *+' conftest.er1 >conftest.err
   9921   rm -f conftest.er1
   9922   cat conftest.err >&5
   9923   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9924   (exit $ac_status); } && {
   9925 	 test -z "$ac_c_werror_flag" ||
   9926 	 test ! -s conftest.err
   9927        } && test -s conftest$ac_exeext && {
   9928 	 test "$cross_compiling" = yes ||
   9929 	 $as_test_x conftest$ac_exeext
   9930        }; then
   9931   ac_cv_lib_dl_dlopen=yes
   9932 else
   9933   $as_echo "$as_me: failed program was:" >&5
   9934 sed 's/^/| /' conftest.$ac_ext >&5
   9935 
   9936 	ac_cv_lib_dl_dlopen=no
   9937 fi
   9938 
   9939 rm -rf conftest.dSYM
   9940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9941       conftest$ac_exeext conftest.$ac_ext
   9942 LIBS=$ac_check_lib_save_LIBS
   9943 fi
   9944 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9945 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9946 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9947   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9948 else
   9949 
   9950     lt_cv_dlopen="dyld"
   9951     lt_cv_dlopen_libs=
   9952     lt_cv_dlopen_self=yes
   9953 
   9954 fi
   9955 
   9956    ;;
   9957 
   9958   *)
   9959     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9960 $as_echo_n "checking for shl_load... " >&6; }
   9961 if test "${ac_cv_func_shl_load+set}" = set; then
   9962   $as_echo_n "(cached) " >&6
   9963 else
   9964   cat >conftest.$ac_ext <<_ACEOF
   9965 /* confdefs.h.  */
   9966 _ACEOF
   9967 cat confdefs.h >>conftest.$ac_ext
   9968 cat >>conftest.$ac_ext <<_ACEOF
   9969 /* end confdefs.h.  */
   9970 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9972 #define shl_load innocuous_shl_load
   9973 
   9974 /* System header to define __stub macros and hopefully few prototypes,
   9975     which can conflict with char shl_load (); below.
   9976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9977     <limits.h> exists even on freestanding compilers.  */
   9978 
   9979 #ifdef __STDC__
   9980 # include <limits.h>
   9981 #else
   9982 # include <assert.h>
   9983 #endif
   9984 
   9985 #undef shl_load
   9986 
   9987 /* Override any GCC internal prototype to avoid an error.
   9988    Use char because int might match the return type of a GCC
   9989    builtin and then its argument prototype would still apply.  */
   9990 #ifdef __cplusplus
   9991 extern "C"
   9992 #endif
   9993 char shl_load ();
   9994 /* The GNU C library defines this for functions which it implements
   9995     to always fail with ENOSYS.  Some functions are actually named
   9996     something starting with __ and the normal name is an alias.  */
   9997 #if defined __stub_shl_load || defined __stub___shl_load
   9998 choke me
   9999 #endif
   10000 
   10001 int
   10002 main ()
   10003 {
   10004 return shl_load ();
   10005   ;
   10006   return 0;
   10007 }
   10008 _ACEOF
   10009 rm -f conftest.$ac_objext conftest$ac_exeext
   10010 if { (ac_try="$ac_link"
   10011 case "(($ac_try" in
   10012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10013   *) ac_try_echo=$ac_try;;
   10014 esac
   10015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10016 $as_echo "$ac_try_echo") >&5
   10017   (eval "$ac_link") 2>conftest.er1
   10018   ac_status=$?
   10019   grep -v '^ *+' conftest.er1 >conftest.err
   10020   rm -f conftest.er1
   10021   cat conftest.err >&5
   10022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10023   (exit $ac_status); } && {
   10024 	 test -z "$ac_c_werror_flag" ||
   10025 	 test ! -s conftest.err
   10026        } && test -s conftest$ac_exeext && {
   10027 	 test "$cross_compiling" = yes ||
   10028 	 $as_test_x conftest$ac_exeext
   10029        }; then
   10030   ac_cv_func_shl_load=yes
   10031 else
   10032   $as_echo "$as_me: failed program was:" >&5
   10033 sed 's/^/| /' conftest.$ac_ext >&5
   10034 
   10035 	ac_cv_func_shl_load=no
   10036 fi
   10037 
   10038 rm -rf conftest.dSYM
   10039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10040       conftest$ac_exeext conftest.$ac_ext
   10041 fi
   10042 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10043 $as_echo "$ac_cv_func_shl_load" >&6; }
   10044 if test "x$ac_cv_func_shl_load" = x""yes; then
   10045   lt_cv_dlopen="shl_load"
   10046 else
   10047   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10048 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10049 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10050   $as_echo_n "(cached) " >&6
   10051 else
   10052   ac_check_lib_save_LIBS=$LIBS
   10053 LIBS="-ldld  $LIBS"
   10054 cat >conftest.$ac_ext <<_ACEOF
   10055 /* confdefs.h.  */
   10056 _ACEOF
   10057 cat confdefs.h >>conftest.$ac_ext
   10058 cat >>conftest.$ac_ext <<_ACEOF
   10059 /* end confdefs.h.  */
   10060 
   10061 /* Override any GCC internal prototype to avoid an error.
   10062    Use char because int might match the return type of a GCC
   10063    builtin and then its argument prototype would still apply.  */
   10064 #ifdef __cplusplus
   10065 extern "C"
   10066 #endif
   10067 char shl_load ();
   10068 int
   10069 main ()
   10070 {
   10071 return shl_load ();
   10072   ;
   10073   return 0;
   10074 }
   10075 _ACEOF
   10076 rm -f conftest.$ac_objext conftest$ac_exeext
   10077 if { (ac_try="$ac_link"
   10078 case "(($ac_try" in
   10079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10080   *) ac_try_echo=$ac_try;;
   10081 esac
   10082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10083 $as_echo "$ac_try_echo") >&5
   10084   (eval "$ac_link") 2>conftest.er1
   10085   ac_status=$?
   10086   grep -v '^ *+' conftest.er1 >conftest.err
   10087   rm -f conftest.er1
   10088   cat conftest.err >&5
   10089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10090   (exit $ac_status); } && {
   10091 	 test -z "$ac_c_werror_flag" ||
   10092 	 test ! -s conftest.err
   10093        } && test -s conftest$ac_exeext && {
   10094 	 test "$cross_compiling" = yes ||
   10095 	 $as_test_x conftest$ac_exeext
   10096        }; then
   10097   ac_cv_lib_dld_shl_load=yes
   10098 else
   10099   $as_echo "$as_me: failed program was:" >&5
   10100 sed 's/^/| /' conftest.$ac_ext >&5
   10101 
   10102 	ac_cv_lib_dld_shl_load=no
   10103 fi
   10104 
   10105 rm -rf conftest.dSYM
   10106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10107       conftest$ac_exeext conftest.$ac_ext
   10108 LIBS=$ac_check_lib_save_LIBS
   10109 fi
   10110 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10111 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10112 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10113   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10114 else
   10115   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10116 $as_echo_n "checking for dlopen... " >&6; }
   10117 if test "${ac_cv_func_dlopen+set}" = set; then
   10118   $as_echo_n "(cached) " >&6
   10119 else
   10120   cat >conftest.$ac_ext <<_ACEOF
   10121 /* confdefs.h.  */
   10122 _ACEOF
   10123 cat confdefs.h >>conftest.$ac_ext
   10124 cat >>conftest.$ac_ext <<_ACEOF
   10125 /* end confdefs.h.  */
   10126 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10128 #define dlopen innocuous_dlopen
   10129 
   10130 /* System header to define __stub macros and hopefully few prototypes,
   10131     which can conflict with char dlopen (); below.
   10132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10133     <limits.h> exists even on freestanding compilers.  */
   10134 
   10135 #ifdef __STDC__
   10136 # include <limits.h>
   10137 #else
   10138 # include <assert.h>
   10139 #endif
   10140 
   10141 #undef dlopen
   10142 
   10143 /* Override any GCC internal prototype to avoid an error.
   10144    Use char because int might match the return type of a GCC
   10145    builtin and then its argument prototype would still apply.  */
   10146 #ifdef __cplusplus
   10147 extern "C"
   10148 #endif
   10149 char dlopen ();
   10150 /* The GNU C library defines this for functions which it implements
   10151     to always fail with ENOSYS.  Some functions are actually named
   10152     something starting with __ and the normal name is an alias.  */
   10153 #if defined __stub_dlopen || defined __stub___dlopen
   10154 choke me
   10155 #endif
   10156 
   10157 int
   10158 main ()
   10159 {
   10160 return dlopen ();
   10161   ;
   10162   return 0;
   10163 }
   10164 _ACEOF
   10165 rm -f conftest.$ac_objext conftest$ac_exeext
   10166 if { (ac_try="$ac_link"
   10167 case "(($ac_try" in
   10168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10169   *) ac_try_echo=$ac_try;;
   10170 esac
   10171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10172 $as_echo "$ac_try_echo") >&5
   10173   (eval "$ac_link") 2>conftest.er1
   10174   ac_status=$?
   10175   grep -v '^ *+' conftest.er1 >conftest.err
   10176   rm -f conftest.er1
   10177   cat conftest.err >&5
   10178   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10179   (exit $ac_status); } && {
   10180 	 test -z "$ac_c_werror_flag" ||
   10181 	 test ! -s conftest.err
   10182        } && test -s conftest$ac_exeext && {
   10183 	 test "$cross_compiling" = yes ||
   10184 	 $as_test_x conftest$ac_exeext
   10185        }; then
   10186   ac_cv_func_dlopen=yes
   10187 else
   10188   $as_echo "$as_me: failed program was:" >&5
   10189 sed 's/^/| /' conftest.$ac_ext >&5
   10190 
   10191 	ac_cv_func_dlopen=no
   10192 fi
   10193 
   10194 rm -rf conftest.dSYM
   10195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10196       conftest$ac_exeext conftest.$ac_ext
   10197 fi
   10198 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10199 $as_echo "$ac_cv_func_dlopen" >&6; }
   10200 if test "x$ac_cv_func_dlopen" = x""yes; then
   10201   lt_cv_dlopen="dlopen"
   10202 else
   10203   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10206   $as_echo_n "(cached) " >&6
   10207 else
   10208   ac_check_lib_save_LIBS=$LIBS
   10209 LIBS="-ldl  $LIBS"
   10210 cat >conftest.$ac_ext <<_ACEOF
   10211 /* confdefs.h.  */
   10212 _ACEOF
   10213 cat confdefs.h >>conftest.$ac_ext
   10214 cat >>conftest.$ac_ext <<_ACEOF
   10215 /* end confdefs.h.  */
   10216 
   10217 /* Override any GCC internal prototype to avoid an error.
   10218    Use char because int might match the return type of a GCC
   10219    builtin and then its argument prototype would still apply.  */
   10220 #ifdef __cplusplus
   10221 extern "C"
   10222 #endif
   10223 char dlopen ();
   10224 int
   10225 main ()
   10226 {
   10227 return dlopen ();
   10228   ;
   10229   return 0;
   10230 }
   10231 _ACEOF
   10232 rm -f conftest.$ac_objext conftest$ac_exeext
   10233 if { (ac_try="$ac_link"
   10234 case "(($ac_try" in
   10235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10236   *) ac_try_echo=$ac_try;;
   10237 esac
   10238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10239 $as_echo "$ac_try_echo") >&5
   10240   (eval "$ac_link") 2>conftest.er1
   10241   ac_status=$?
   10242   grep -v '^ *+' conftest.er1 >conftest.err
   10243   rm -f conftest.er1
   10244   cat conftest.err >&5
   10245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10246   (exit $ac_status); } && {
   10247 	 test -z "$ac_c_werror_flag" ||
   10248 	 test ! -s conftest.err
   10249        } && test -s conftest$ac_exeext && {
   10250 	 test "$cross_compiling" = yes ||
   10251 	 $as_test_x conftest$ac_exeext
   10252        }; then
   10253   ac_cv_lib_dl_dlopen=yes
   10254 else
   10255   $as_echo "$as_me: failed program was:" >&5
   10256 sed 's/^/| /' conftest.$ac_ext >&5
   10257 
   10258 	ac_cv_lib_dl_dlopen=no
   10259 fi
   10260 
   10261 rm -rf conftest.dSYM
   10262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10263       conftest$ac_exeext conftest.$ac_ext
   10264 LIBS=$ac_check_lib_save_LIBS
   10265 fi
   10266 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10267 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10268 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10269   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10270 else
   10271   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10272 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10273 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10274   $as_echo_n "(cached) " >&6
   10275 else
   10276   ac_check_lib_save_LIBS=$LIBS
   10277 LIBS="-lsvld  $LIBS"
   10278 cat >conftest.$ac_ext <<_ACEOF
   10279 /* confdefs.h.  */
   10280 _ACEOF
   10281 cat confdefs.h >>conftest.$ac_ext
   10282 cat >>conftest.$ac_ext <<_ACEOF
   10283 /* end confdefs.h.  */
   10284 
   10285 /* Override any GCC internal prototype to avoid an error.
   10286    Use char because int might match the return type of a GCC
   10287    builtin and then its argument prototype would still apply.  */
   10288 #ifdef __cplusplus
   10289 extern "C"
   10290 #endif
   10291 char dlopen ();
   10292 int
   10293 main ()
   10294 {
   10295 return dlopen ();
   10296   ;
   10297   return 0;
   10298 }
   10299 _ACEOF
   10300 rm -f conftest.$ac_objext conftest$ac_exeext
   10301 if { (ac_try="$ac_link"
   10302 case "(($ac_try" in
   10303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10304   *) ac_try_echo=$ac_try;;
   10305 esac
   10306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10307 $as_echo "$ac_try_echo") >&5
   10308   (eval "$ac_link") 2>conftest.er1
   10309   ac_status=$?
   10310   grep -v '^ *+' conftest.er1 >conftest.err
   10311   rm -f conftest.er1
   10312   cat conftest.err >&5
   10313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10314   (exit $ac_status); } && {
   10315 	 test -z "$ac_c_werror_flag" ||
   10316 	 test ! -s conftest.err
   10317        } && test -s conftest$ac_exeext && {
   10318 	 test "$cross_compiling" = yes ||
   10319 	 $as_test_x conftest$ac_exeext
   10320        }; then
   10321   ac_cv_lib_svld_dlopen=yes
   10322 else
   10323   $as_echo "$as_me: failed program was:" >&5
   10324 sed 's/^/| /' conftest.$ac_ext >&5
   10325 
   10326 	ac_cv_lib_svld_dlopen=no
   10327 fi
   10328 
   10329 rm -rf conftest.dSYM
   10330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10331       conftest$ac_exeext conftest.$ac_ext
   10332 LIBS=$ac_check_lib_save_LIBS
   10333 fi
   10334 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10335 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10336 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10337   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10338 else
   10339   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10340 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10341 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10342   $as_echo_n "(cached) " >&6
   10343 else
   10344   ac_check_lib_save_LIBS=$LIBS
   10345 LIBS="-ldld  $LIBS"
   10346 cat >conftest.$ac_ext <<_ACEOF
   10347 /* confdefs.h.  */
   10348 _ACEOF
   10349 cat confdefs.h >>conftest.$ac_ext
   10350 cat >>conftest.$ac_ext <<_ACEOF
   10351 /* end confdefs.h.  */
   10352 
   10353 /* Override any GCC internal prototype to avoid an error.
   10354    Use char because int might match the return type of a GCC
   10355    builtin and then its argument prototype would still apply.  */
   10356 #ifdef __cplusplus
   10357 extern "C"
   10358 #endif
   10359 char dld_link ();
   10360 int
   10361 main ()
   10362 {
   10363 return dld_link ();
   10364   ;
   10365   return 0;
   10366 }
   10367 _ACEOF
   10368 rm -f conftest.$ac_objext conftest$ac_exeext
   10369 if { (ac_try="$ac_link"
   10370 case "(($ac_try" in
   10371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10372   *) ac_try_echo=$ac_try;;
   10373 esac
   10374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10375 $as_echo "$ac_try_echo") >&5
   10376   (eval "$ac_link") 2>conftest.er1
   10377   ac_status=$?
   10378   grep -v '^ *+' conftest.er1 >conftest.err
   10379   rm -f conftest.er1
   10380   cat conftest.err >&5
   10381   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10382   (exit $ac_status); } && {
   10383 	 test -z "$ac_c_werror_flag" ||
   10384 	 test ! -s conftest.err
   10385        } && test -s conftest$ac_exeext && {
   10386 	 test "$cross_compiling" = yes ||
   10387 	 $as_test_x conftest$ac_exeext
   10388        }; then
   10389   ac_cv_lib_dld_dld_link=yes
   10390 else
   10391   $as_echo "$as_me: failed program was:" >&5
   10392 sed 's/^/| /' conftest.$ac_ext >&5
   10393 
   10394 	ac_cv_lib_dld_dld_link=no
   10395 fi
   10396 
   10397 rm -rf conftest.dSYM
   10398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10399       conftest$ac_exeext conftest.$ac_ext
   10400 LIBS=$ac_check_lib_save_LIBS
   10401 fi
   10402 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10403 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10404 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10405   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10406 fi
   10407 
   10408 
   10409 fi
   10410 
   10411 
   10412 fi
   10413 
   10414 
   10415 fi
   10416 
   10417 
   10418 fi
   10419 
   10420 
   10421 fi
   10422 
   10423     ;;
   10424   esac
   10425 
   10426   if test "x$lt_cv_dlopen" != xno; then
   10427     enable_dlopen=yes
   10428   else
   10429     enable_dlopen=no
   10430   fi
   10431 
   10432   case $lt_cv_dlopen in
   10433   dlopen)
   10434     save_CPPFLAGS="$CPPFLAGS"
   10435     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10436 
   10437     save_LDFLAGS="$LDFLAGS"
   10438     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10439 
   10440     save_LIBS="$LIBS"
   10441     LIBS="$lt_cv_dlopen_libs $LIBS"
   10442 
   10443     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10444 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10445 if test "${lt_cv_dlopen_self+set}" = set; then
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   	  if test "$cross_compiling" = yes; then :
   10449   lt_cv_dlopen_self=cross
   10450 else
   10451   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10452   lt_status=$lt_dlunknown
   10453   cat > conftest.$ac_ext <<EOF
   10454 #line 10454 "configure"
   10455 #include "confdefs.h"
   10456 
   10457 #if HAVE_DLFCN_H
   10458 #include <dlfcn.h>
   10459 #endif
   10460 
   10461 #include <stdio.h>
   10462 
   10463 #ifdef RTLD_GLOBAL
   10464 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10465 #else
   10466 #  ifdef DL_GLOBAL
   10467 #    define LT_DLGLOBAL		DL_GLOBAL
   10468 #  else
   10469 #    define LT_DLGLOBAL		0
   10470 #  endif
   10471 #endif
   10472 
   10473 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10474    find out it does not work in some platform. */
   10475 #ifndef LT_DLLAZY_OR_NOW
   10476 #  ifdef RTLD_LAZY
   10477 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10478 #  else
   10479 #    ifdef DL_LAZY
   10480 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10481 #    else
   10482 #      ifdef RTLD_NOW
   10483 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10484 #      else
   10485 #        ifdef DL_NOW
   10486 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10487 #        else
   10488 #          define LT_DLLAZY_OR_NOW	0
   10489 #        endif
   10490 #      endif
   10491 #    endif
   10492 #  endif
   10493 #endif
   10494 
   10495 #ifdef __cplusplus
   10496 extern "C" void exit (int);
   10497 #endif
   10498 
   10499 void fnord() { int i=42;}
   10500 int main ()
   10501 {
   10502   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10503   int status = $lt_dlunknown;
   10504 
   10505   if (self)
   10506     {
   10507       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10508       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10509       /* dlclose (self); */
   10510     }
   10511   else
   10512     puts (dlerror ());
   10513 
   10514     exit (status);
   10515 }
   10516 EOF
   10517   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10518   (eval $ac_link) 2>&5
   10519   ac_status=$?
   10520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10521   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10522     (./conftest; exit; ) >&5 2>/dev/null
   10523     lt_status=$?
   10524     case x$lt_status in
   10525       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10526       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10527       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10528     esac
   10529   else :
   10530     # compilation failed
   10531     lt_cv_dlopen_self=no
   10532   fi
   10533 fi
   10534 rm -fr conftest*
   10535 
   10536 
   10537 fi
   10538 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10539 $as_echo "$lt_cv_dlopen_self" >&6; }
   10540 
   10541     if test "x$lt_cv_dlopen_self" = xyes; then
   10542       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10543       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10544 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10545 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10546   $as_echo_n "(cached) " >&6
   10547 else
   10548   	  if test "$cross_compiling" = yes; then :
   10549   lt_cv_dlopen_self_static=cross
   10550 else
   10551   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10552   lt_status=$lt_dlunknown
   10553   cat > conftest.$ac_ext <<EOF
   10554 #line 10554 "configure"
   10555 #include "confdefs.h"
   10556 
   10557 #if HAVE_DLFCN_H
   10558 #include <dlfcn.h>
   10559 #endif
   10560 
   10561 #include <stdio.h>
   10562 
   10563 #ifdef RTLD_GLOBAL
   10564 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10565 #else
   10566 #  ifdef DL_GLOBAL
   10567 #    define LT_DLGLOBAL		DL_GLOBAL
   10568 #  else
   10569 #    define LT_DLGLOBAL		0
   10570 #  endif
   10571 #endif
   10572 
   10573 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10574    find out it does not work in some platform. */
   10575 #ifndef LT_DLLAZY_OR_NOW
   10576 #  ifdef RTLD_LAZY
   10577 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10578 #  else
   10579 #    ifdef DL_LAZY
   10580 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10581 #    else
   10582 #      ifdef RTLD_NOW
   10583 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10584 #      else
   10585 #        ifdef DL_NOW
   10586 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10587 #        else
   10588 #          define LT_DLLAZY_OR_NOW	0
   10589 #        endif
   10590 #      endif
   10591 #    endif
   10592 #  endif
   10593 #endif
   10594 
   10595 #ifdef __cplusplus
   10596 extern "C" void exit (int);
   10597 #endif
   10598 
   10599 void fnord() { int i=42;}
   10600 int main ()
   10601 {
   10602   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10603   int status = $lt_dlunknown;
   10604 
   10605   if (self)
   10606     {
   10607       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10608       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10609       /* dlclose (self); */
   10610     }
   10611   else
   10612     puts (dlerror ());
   10613 
   10614     exit (status);
   10615 }
   10616 EOF
   10617   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10618   (eval $ac_link) 2>&5
   10619   ac_status=$?
   10620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10621   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10622     (./conftest; exit; ) >&5 2>/dev/null
   10623     lt_status=$?
   10624     case x$lt_status in
   10625       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10626       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10627       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10628     esac
   10629   else :
   10630     # compilation failed
   10631     lt_cv_dlopen_self_static=no
   10632   fi
   10633 fi
   10634 rm -fr conftest*
   10635 
   10636 
   10637 fi
   10638 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10639 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10640     fi
   10641 
   10642     CPPFLAGS="$save_CPPFLAGS"
   10643     LDFLAGS="$save_LDFLAGS"
   10644     LIBS="$save_LIBS"
   10645     ;;
   10646   esac
   10647 
   10648   case $lt_cv_dlopen_self in
   10649   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10650   *) enable_dlopen_self=unknown ;;
   10651   esac
   10652 
   10653   case $lt_cv_dlopen_self_static in
   10654   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10655   *) enable_dlopen_self_static=unknown ;;
   10656   esac
   10657 fi
   10658 
   10659 
   10660 # Report which library types will actually be built
   10661 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10662 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10663 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10664 $as_echo "$can_build_shared" >&6; }
   10665 
   10666 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10667 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10668 test "$can_build_shared" = "no" && enable_shared=no
   10669 
   10670 # On AIX, shared libraries and static libraries use the same namespace, and
   10671 # are all built from PIC.
   10672 case $host_os in
   10673 aix3*)
   10674   test "$enable_shared" = yes && enable_static=no
   10675   if test -n "$RANLIB"; then
   10676     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10677     postinstall_cmds='$RANLIB $lib'
   10678   fi
   10679   ;;
   10680 
   10681 aix[4-9]*)
   10682   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10683     test "$enable_shared" = yes && enable_static=no
   10684   fi
   10685     ;;
   10686 esac
   10687 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10688 $as_echo "$enable_shared" >&6; }
   10689 
   10690 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10691 $as_echo_n "checking whether to build static libraries... " >&6; }
   10692 # Make sure either enable_shared or enable_static is yes.
   10693 test "$enable_shared" = yes || enable_static=yes
   10694 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10695 $as_echo "$enable_static" >&6; }
   10696 
   10697 # The else clause should only fire when bootstrapping the
   10698 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10699 # with your package, and you will get complaints that there are
   10700 # no rules to generate ltmain.sh.
   10701 if test -f "$ltmain"; then
   10702   # See if we are running on zsh, and set the options which allow our commands through
   10703   # without removal of \ escapes.
   10704   if test -n "${ZSH_VERSION+set}" ; then
   10705     setopt NO_GLOB_SUBST
   10706   fi
   10707   # Now quote all the things that may contain metacharacters while being
   10708   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10709   # variables and quote the copies for generation of the libtool script.
   10710   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10711     SED SHELL STRIP \
   10712     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10713     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10714     deplibs_check_method reload_flag reload_cmds need_locks \
   10715     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10716     lt_cv_sys_global_symbol_to_c_name_address \
   10717     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10718     old_postinstall_cmds old_postuninstall_cmds \
   10719     compiler \
   10720     CC \
   10721     LD \
   10722     lt_prog_compiler_wl \
   10723     lt_prog_compiler_pic \
   10724     lt_prog_compiler_static \
   10725     lt_prog_compiler_no_builtin_flag \
   10726     export_dynamic_flag_spec \
   10727     thread_safe_flag_spec \
   10728     whole_archive_flag_spec \
   10729     enable_shared_with_static_runtimes \
   10730     old_archive_cmds \
   10731     old_archive_from_new_cmds \
   10732     predep_objects \
   10733     postdep_objects \
   10734     predeps \
   10735     postdeps \
   10736     compiler_lib_search_path \
   10737     compiler_lib_search_dirs \
   10738     archive_cmds \
   10739     archive_expsym_cmds \
   10740     postinstall_cmds \
   10741     postuninstall_cmds \
   10742     old_archive_from_expsyms_cmds \
   10743     allow_undefined_flag \
   10744     no_undefined_flag \
   10745     export_symbols_cmds \
   10746     hardcode_libdir_flag_spec \
   10747     hardcode_libdir_flag_spec_ld \
   10748     hardcode_libdir_separator \
   10749     hardcode_automatic \
   10750     module_cmds \
   10751     module_expsym_cmds \
   10752     lt_cv_prog_compiler_c_o \
   10753     fix_srcfile_path \
   10754     exclude_expsyms \
   10755     include_expsyms; do
   10756 
   10757     case $var in
   10758     old_archive_cmds | \
   10759     old_archive_from_new_cmds | \
   10760     archive_cmds | \
   10761     archive_expsym_cmds | \
   10762     module_cmds | \
   10763     module_expsym_cmds | \
   10764     old_archive_from_expsyms_cmds | \
   10765     export_symbols_cmds | \
   10766     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10767     postinstall_cmds | postuninstall_cmds | \
   10768     old_postinstall_cmds | old_postuninstall_cmds | \
   10769     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10770       # Double-quote double-evaled strings.
   10771       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10772       ;;
   10773     *)
   10774       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10775       ;;
   10776     esac
   10777   done
   10778 
   10779   case $lt_echo in
   10780   *'\$0 --fallback-echo"')
   10781     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10782     ;;
   10783   esac
   10784 
   10785 cfgfile="${ofile}T"
   10786   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10787   $rm -f "$cfgfile"
   10788   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10789 $as_echo "$as_me: creating $ofile" >&6;}
   10790 
   10791   cat <<__EOF__ >> "$cfgfile"
   10792 #! $SHELL
   10793 
   10794 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10795 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10796 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10797 #
   10798 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10799 # Free Software Foundation, Inc.
   10800 #
   10801 # This file is part of GNU Libtool:
   10802 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10803 #
   10804 # This program is free software; you can redistribute it and/or modify
   10805 # it under the terms of the GNU General Public License as published by
   10806 # the Free Software Foundation; either version 2 of the License, or
   10807 # (at your option) any later version.
   10808 #
   10809 # This program is distributed in the hope that it will be useful, but
   10810 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10811 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10812 # General Public License for more details.
   10813 #
   10814 # You should have received a copy of the GNU General Public License
   10815 # along with this program; if not, write to the Free Software
   10816 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10817 #
   10818 # As a special exception to the GNU General Public License, if you
   10819 # distribute this file as part of a program that contains a
   10820 # configuration script generated by Autoconf, you may include it under
   10821 # the same distribution terms that you use for the rest of that program.
   10822 
   10823 # A sed program that does not truncate output.
   10824 SED=$lt_SED
   10825 
   10826 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10827 Xsed="$SED -e 1s/^X//"
   10828 
   10829 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10830 # if CDPATH is set.
   10831 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10832 
   10833 # The names of the tagged configurations supported by this script.
   10834 available_tags=
   10835 
   10836 # ### BEGIN LIBTOOL CONFIG
   10837 
   10838 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10839 
   10840 # Shell to use when invoking shell scripts.
   10841 SHELL=$lt_SHELL
   10842 
   10843 # Whether or not to build shared libraries.
   10844 build_libtool_libs=$enable_shared
   10845 
   10846 # Whether or not to build static libraries.
   10847 build_old_libs=$enable_static
   10848 
   10849 # Whether or not to add -lc for building shared libraries.
   10850 build_libtool_need_lc=$archive_cmds_need_lc
   10851 
   10852 # Whether or not to disallow shared libs when runtime libs are static
   10853 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10854 
   10855 # Whether or not to optimize for fast installation.
   10856 fast_install=$enable_fast_install
   10857 
   10858 # The host system.
   10859 host_alias=$host_alias
   10860 host=$host
   10861 host_os=$host_os
   10862 
   10863 # The build system.
   10864 build_alias=$build_alias
   10865 build=$build
   10866 build_os=$build_os
   10867 
   10868 # An echo program that does not interpret backslashes.
   10869 echo=$lt_echo
   10870 
   10871 # The archiver.
   10872 AR=$lt_AR
   10873 AR_FLAGS=$lt_AR_FLAGS
   10874 
   10875 # A C compiler.
   10876 LTCC=$lt_LTCC
   10877 
   10878 # LTCC compiler flags.
   10879 LTCFLAGS=$lt_LTCFLAGS
   10880 
   10881 # A language-specific compiler.
   10882 CC=$lt_compiler
   10883 
   10884 # Is the compiler the GNU C compiler?
   10885 with_gcc=$GCC
   10886 
   10887 # An ERE matcher.
   10888 EGREP=$lt_EGREP
   10889 
   10890 # The linker used to build libraries.
   10891 LD=$lt_LD
   10892 
   10893 # Whether we need hard or soft links.
   10894 LN_S=$lt_LN_S
   10895 
   10896 # A BSD-compatible nm program.
   10897 NM=$lt_NM
   10898 
   10899 # A symbol stripping program
   10900 STRIP=$lt_STRIP
   10901 
   10902 # Used to examine libraries when file_magic_cmd begins "file"
   10903 MAGIC_CMD=$MAGIC_CMD
   10904 
   10905 # Used on cygwin: DLL creation program.
   10906 DLLTOOL="$DLLTOOL"
   10907 
   10908 # Used on cygwin: object dumper.
   10909 OBJDUMP="$OBJDUMP"
   10910 
   10911 # Used on cygwin: assembler.
   10912 AS="$AS"
   10913 
   10914 # The name of the directory that contains temporary libtool files.
   10915 objdir=$objdir
   10916 
   10917 # How to create reloadable object files.
   10918 reload_flag=$lt_reload_flag
   10919 reload_cmds=$lt_reload_cmds
   10920 
   10921 # How to pass a linker flag through the compiler.
   10922 wl=$lt_lt_prog_compiler_wl
   10923 
   10924 # Object file suffix (normally "o").
   10925 objext="$ac_objext"
   10926 
   10927 # Old archive suffix (normally "a").
   10928 libext="$libext"
   10929 
   10930 # Shared library suffix (normally ".so").
   10931 shrext_cmds='$shrext_cmds'
   10932 
   10933 # Executable file suffix (normally "").
   10934 exeext="$exeext"
   10935 
   10936 # Additional compiler flags for building library objects.
   10937 pic_flag=$lt_lt_prog_compiler_pic
   10938 pic_mode=$pic_mode
   10939 
   10940 # What is the maximum length of a command?
   10941 max_cmd_len=$lt_cv_sys_max_cmd_len
   10942 
   10943 # Does compiler simultaneously support -c and -o options?
   10944 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10945 
   10946 # Must we lock files when doing compilation?
   10947 need_locks=$lt_need_locks
   10948 
   10949 # Do we need the lib prefix for modules?
   10950 need_lib_prefix=$need_lib_prefix
   10951 
   10952 # Do we need a version for libraries?
   10953 need_version=$need_version
   10954 
   10955 # Whether dlopen is supported.
   10956 dlopen_support=$enable_dlopen
   10957 
   10958 # Whether dlopen of programs is supported.
   10959 dlopen_self=$enable_dlopen_self
   10960 
   10961 # Whether dlopen of statically linked programs is supported.
   10962 dlopen_self_static=$enable_dlopen_self_static
   10963 
   10964 # Compiler flag to prevent dynamic linking.
   10965 link_static_flag=$lt_lt_prog_compiler_static
   10966 
   10967 # Compiler flag to turn off builtin functions.
   10968 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10969 
   10970 # Compiler flag to allow reflexive dlopens.
   10971 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10972 
   10973 # Compiler flag to generate shared objects directly from archives.
   10974 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10975 
   10976 # Compiler flag to generate thread-safe objects.
   10977 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10978 
   10979 # Library versioning type.
   10980 version_type=$version_type
   10981 
   10982 # Format of library name prefix.
   10983 libname_spec=$lt_libname_spec
   10984 
   10985 # List of archive names.  First name is the real one, the rest are links.
   10986 # The last name is the one that the linker finds with -lNAME.
   10987 library_names_spec=$lt_library_names_spec
   10988 
   10989 # The coded name of the library, if different from the real name.
   10990 soname_spec=$lt_soname_spec
   10991 
   10992 # Commands used to build and install an old-style archive.
   10993 RANLIB=$lt_RANLIB
   10994 old_archive_cmds=$lt_old_archive_cmds
   10995 old_postinstall_cmds=$lt_old_postinstall_cmds
   10996 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10997 
   10998 # Create an old-style archive from a shared archive.
   10999 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11000 
   11001 # Create a temporary old-style archive to link instead of a shared archive.
   11002 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11003 
   11004 # Commands used to build and install a shared archive.
   11005 archive_cmds=$lt_archive_cmds
   11006 archive_expsym_cmds=$lt_archive_expsym_cmds
   11007 postinstall_cmds=$lt_postinstall_cmds
   11008 postuninstall_cmds=$lt_postuninstall_cmds
   11009 
   11010 # Commands used to build a loadable module (assumed same as above if empty)
   11011 module_cmds=$lt_module_cmds
   11012 module_expsym_cmds=$lt_module_expsym_cmds
   11013 
   11014 # Commands to strip libraries.
   11015 old_striplib=$lt_old_striplib
   11016 striplib=$lt_striplib
   11017 
   11018 # Dependencies to place before the objects being linked to create a
   11019 # shared library.
   11020 predep_objects=$lt_predep_objects
   11021 
   11022 # Dependencies to place after the objects being linked to create a
   11023 # shared library.
   11024 postdep_objects=$lt_postdep_objects
   11025 
   11026 # Dependencies to place before the objects being linked to create a
   11027 # shared library.
   11028 predeps=$lt_predeps
   11029 
   11030 # Dependencies to place after the objects being linked to create a
   11031 # shared library.
   11032 postdeps=$lt_postdeps
   11033 
   11034 # The directories searched by this compiler when creating a shared
   11035 # library
   11036 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11037 
   11038 # The library search path used internally by the compiler when linking
   11039 # a shared library.
   11040 compiler_lib_search_path=$lt_compiler_lib_search_path
   11041 
   11042 # Method to check whether dependent libraries are shared objects.
   11043 deplibs_check_method=$lt_deplibs_check_method
   11044 
   11045 # Command to use when deplibs_check_method == file_magic.
   11046 file_magic_cmd=$lt_file_magic_cmd
   11047 
   11048 # Flag that allows shared libraries with undefined symbols to be built.
   11049 allow_undefined_flag=$lt_allow_undefined_flag
   11050 
   11051 # Flag that forces no undefined symbols.
   11052 no_undefined_flag=$lt_no_undefined_flag
   11053 
   11054 # Commands used to finish a libtool library installation in a directory.
   11055 finish_cmds=$lt_finish_cmds
   11056 
   11057 # Same as above, but a single script fragment to be evaled but not shown.
   11058 finish_eval=$lt_finish_eval
   11059 
   11060 # Take the output of nm and produce a listing of raw symbols and C names.
   11061 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11062 
   11063 # Transform the output of nm in a proper C declaration
   11064 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11065 
   11066 # Transform the output of nm in a C name address pair
   11067 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11068 
   11069 # This is the shared library runtime path variable.
   11070 runpath_var=$runpath_var
   11071 
   11072 # This is the shared library path variable.
   11073 shlibpath_var=$shlibpath_var
   11074 
   11075 # Is shlibpath searched before the hard-coded library search path?
   11076 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11077 
   11078 # How to hardcode a shared library path into an executable.
   11079 hardcode_action=$hardcode_action
   11080 
   11081 # Whether we should hardcode library paths into libraries.
   11082 hardcode_into_libs=$hardcode_into_libs
   11083 
   11084 # Flag to hardcode \$libdir into a binary during linking.
   11085 # This must work even if \$libdir does not exist.
   11086 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11087 
   11088 # If ld is used when linking, flag to hardcode \$libdir into
   11089 # a binary during linking. This must work even if \$libdir does
   11090 # not exist.
   11091 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11092 
   11093 # Whether we need a single -rpath flag with a separated argument.
   11094 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11095 
   11096 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11097 # resulting binary.
   11098 hardcode_direct=$hardcode_direct
   11099 
   11100 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11101 # resulting binary.
   11102 hardcode_minus_L=$hardcode_minus_L
   11103 
   11104 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11105 # the resulting binary.
   11106 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11107 
   11108 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11109 # and all subsequent libraries and executables linked against it.
   11110 hardcode_automatic=$hardcode_automatic
   11111 
   11112 # Variables whose values should be saved in libtool wrapper scripts and
   11113 # restored at relink time.
   11114 variables_saved_for_relink="$variables_saved_for_relink"
   11115 
   11116 # Whether libtool must link a program against all its dependency libraries.
   11117 link_all_deplibs=$link_all_deplibs
   11118 
   11119 # Compile-time system search path for libraries
   11120 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11121 
   11122 # Run-time system search path for libraries
   11123 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11124 
   11125 # Fix the shell variable \$srcfile for the compiler.
   11126 fix_srcfile_path=$lt_fix_srcfile_path
   11127 
   11128 # Set to yes if exported symbols are required.
   11129 always_export_symbols=$always_export_symbols
   11130 
   11131 # The commands to list exported symbols.
   11132 export_symbols_cmds=$lt_export_symbols_cmds
   11133 
   11134 # The commands to extract the exported symbol list from a shared archive.
   11135 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11136 
   11137 # Symbols that should not be listed in the preloaded symbols.
   11138 exclude_expsyms=$lt_exclude_expsyms
   11139 
   11140 # Symbols that must always be exported.
   11141 include_expsyms=$lt_include_expsyms
   11142 
   11143 # ### END LIBTOOL CONFIG
   11144 
   11145 __EOF__
   11146 
   11147 
   11148   case $host_os in
   11149   aix3*)
   11150     cat <<\EOF >> "$cfgfile"
   11151 
   11152 # AIX sometimes has problems with the GCC collect2 program.  For some
   11153 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11154 # vanish in a puff of smoke.
   11155 if test "X${COLLECT_NAMES+set}" != Xset; then
   11156   COLLECT_NAMES=
   11157   export COLLECT_NAMES
   11158 fi
   11159 EOF
   11160     ;;
   11161   esac
   11162 
   11163   # We use sed instead of cat because bash on DJGPP gets confused if
   11164   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11165   # text mode, it properly converts lines to CR/LF.  This bash problem
   11166   # is reportedly fixed, but why not run on old versions too?
   11167   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11168 
   11169   mv -f "$cfgfile" "$ofile" || \
   11170     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11171   chmod +x "$ofile"
   11172 
   11173 else
   11174   # If there is no Makefile yet, we rely on a make rule to execute
   11175   # `config.status --recheck' to rerun these tests and create the
   11176   # libtool script then.
   11177   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11178   if test -f "$ltmain_in"; then
   11179     test -f Makefile && make "$ltmain"
   11180   fi
   11181 fi
   11182 
   11183 
   11184 ac_ext=c
   11185 ac_cpp='$CPP $CPPFLAGS'
   11186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11189 
   11190 CC="$lt_save_CC"
   11191 
   11192 
   11193 # Check whether --with-tags was given.
   11194 if test "${with_tags+set}" = set; then
   11195   withval=$with_tags; tagnames="$withval"
   11196 fi
   11197 
   11198 
   11199 if test -f "$ltmain" && test -n "$tagnames"; then
   11200   if test ! -f "${ofile}"; then
   11201     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11202 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11203   fi
   11204 
   11205   if test -z "$LTCC"; then
   11206     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11207     if test -z "$LTCC"; then
   11208       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11209 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11210     else
   11211       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11212 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11213     fi
   11214   fi
   11215   if test -z "$LTCFLAGS"; then
   11216     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11217   fi
   11218 
   11219   # Extract list of available tagged configurations in $ofile.
   11220   # Note that this assumes the entire list is on one line.
   11221   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11222 
   11223   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11224   for tagname in $tagnames; do
   11225     IFS="$lt_save_ifs"
   11226     # Check whether tagname contains only valid characters
   11227     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11228     "") ;;
   11229     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11230 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11231    { (exit 1); exit 1; }; }
   11232 	;;
   11233     esac
   11234 
   11235     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11236     then
   11237       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11238 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11239    { (exit 1); exit 1; }; }
   11240     fi
   11241 
   11242     # Update the list of available tags.
   11243     if test -n "$tagname"; then
   11244       echo appending configuration tag \"$tagname\" to $ofile
   11245 
   11246       case $tagname in
   11247       CXX)
   11248 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11249 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11250 	    (test "X$CXX" != "Xg++"))) ; then
   11251 	  ac_ext=cpp
   11252 ac_cpp='$CXXCPP $CPPFLAGS'
   11253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11256 
   11257 
   11258 
   11259 
   11260 archive_cmds_need_lc_CXX=no
   11261 allow_undefined_flag_CXX=
   11262 always_export_symbols_CXX=no
   11263 archive_expsym_cmds_CXX=
   11264 export_dynamic_flag_spec_CXX=
   11265 hardcode_direct_CXX=no
   11266 hardcode_libdir_flag_spec_CXX=
   11267 hardcode_libdir_flag_spec_ld_CXX=
   11268 hardcode_libdir_separator_CXX=
   11269 hardcode_minus_L_CXX=no
   11270 hardcode_shlibpath_var_CXX=unsupported
   11271 hardcode_automatic_CXX=no
   11272 module_cmds_CXX=
   11273 module_expsym_cmds_CXX=
   11274 link_all_deplibs_CXX=unknown
   11275 old_archive_cmds_CXX=$old_archive_cmds
   11276 no_undefined_flag_CXX=
   11277 whole_archive_flag_spec_CXX=
   11278 enable_shared_with_static_runtimes_CXX=no
   11279 
   11280 # Dependencies to place before and after the object being linked:
   11281 predep_objects_CXX=
   11282 postdep_objects_CXX=
   11283 predeps_CXX=
   11284 postdeps_CXX=
   11285 compiler_lib_search_path_CXX=
   11286 compiler_lib_search_dirs_CXX=
   11287 
   11288 # Source file extension for C++ test sources.
   11289 ac_ext=cpp
   11290 
   11291 # Object file extension for compiled C++ test sources.
   11292 objext=o
   11293 objext_CXX=$objext
   11294 
   11295 # Code to be used in simple compile tests
   11296 lt_simple_compile_test_code="int some_variable = 0;"
   11297 
   11298 # Code to be used in simple link tests
   11299 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11300 
   11301 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11302 
   11303 # If no C compiler was specified, use CC.
   11304 LTCC=${LTCC-"$CC"}
   11305 
   11306 # If no C compiler flags were specified, use CFLAGS.
   11307 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11308 
   11309 # Allow CC to be a program name with arguments.
   11310 compiler=$CC
   11311 
   11312 
   11313 # save warnings/boilerplate of simple test code
   11314 ac_outfile=conftest.$ac_objext
   11315 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11316 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11317 _lt_compiler_boilerplate=`cat conftest.err`
   11318 $rm conftest*
   11319 
   11320 ac_outfile=conftest.$ac_objext
   11321 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11322 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11323 _lt_linker_boilerplate=`cat conftest.err`
   11324 $rm -r conftest*
   11325 
   11326 
   11327 # Allow CC to be a program name with arguments.
   11328 lt_save_CC=$CC
   11329 lt_save_LD=$LD
   11330 lt_save_GCC=$GCC
   11331 GCC=$GXX
   11332 lt_save_with_gnu_ld=$with_gnu_ld
   11333 lt_save_path_LD=$lt_cv_path_LD
   11334 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11335   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11336 else
   11337   $as_unset lt_cv_prog_gnu_ld
   11338 fi
   11339 if test -n "${lt_cv_path_LDCXX+set}"; then
   11340   lt_cv_path_LD=$lt_cv_path_LDCXX
   11341 else
   11342   $as_unset lt_cv_path_LD
   11343 fi
   11344 test -z "${LDCXX+set}" || LD=$LDCXX
   11345 CC=${CXX-"c++"}
   11346 compiler=$CC
   11347 compiler_CXX=$CC
   11348 for cc_temp in $compiler""; do
   11349   case $cc_temp in
   11350     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11351     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11352     \-*) ;;
   11353     *) break;;
   11354   esac
   11355 done
   11356 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11357 
   11358 
   11359 # We don't want -fno-exception wen compiling C++ code, so set the
   11360 # no_builtin_flag separately
   11361 if test "$GXX" = yes; then
   11362   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11363 else
   11364   lt_prog_compiler_no_builtin_flag_CXX=
   11365 fi
   11366 
   11367 if test "$GXX" = yes; then
   11368   # Set up default GNU C++ configuration
   11369 
   11370 
   11371 # Check whether --with-gnu-ld was given.
   11372 if test "${with_gnu_ld+set}" = set; then
   11373   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11374 else
   11375   with_gnu_ld=no
   11376 fi
   11377 
   11378 ac_prog=ld
   11379 if test "$GCC" = yes; then
   11380   # Check if gcc -print-prog-name=ld gives a path.
   11381   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11382 $as_echo_n "checking for ld used by $CC... " >&6; }
   11383   case $host in
   11384   *-*-mingw*)
   11385     # gcc leaves a trailing carriage return which upsets mingw
   11386     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11387   *)
   11388     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11389   esac
   11390   case $ac_prog in
   11391     # Accept absolute paths.
   11392     [\\/]* | ?:[\\/]*)
   11393       re_direlt='/[^/][^/]*/\.\./'
   11394       # Canonicalize the pathname of ld
   11395       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11396       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11397 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11398       done
   11399       test -z "$LD" && LD="$ac_prog"
   11400       ;;
   11401   "")
   11402     # If it fails, then pretend we aren't using GCC.
   11403     ac_prog=ld
   11404     ;;
   11405   *)
   11406     # If it is relative, then search for the first ld in PATH.
   11407     with_gnu_ld=unknown
   11408     ;;
   11409   esac
   11410 elif test "$with_gnu_ld" = yes; then
   11411   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11412 $as_echo_n "checking for GNU ld... " >&6; }
   11413 else
   11414   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11415 $as_echo_n "checking for non-GNU ld... " >&6; }
   11416 fi
   11417 if test "${lt_cv_path_LD+set}" = set; then
   11418   $as_echo_n "(cached) " >&6
   11419 else
   11420   if test -z "$LD"; then
   11421   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11422   for ac_dir in $PATH; do
   11423     IFS="$lt_save_ifs"
   11424     test -z "$ac_dir" && ac_dir=.
   11425     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11426       lt_cv_path_LD="$ac_dir/$ac_prog"
   11427       # Check to see if the program is GNU ld.  I'd rather use --version,
   11428       # but apparently some variants of GNU ld only accept -v.
   11429       # Break only if it was the GNU/non-GNU ld that we prefer.
   11430       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11431       *GNU* | *'with BFD'*)
   11432 	test "$with_gnu_ld" != no && break
   11433 	;;
   11434       *)
   11435 	test "$with_gnu_ld" != yes && break
   11436 	;;
   11437       esac
   11438     fi
   11439   done
   11440   IFS="$lt_save_ifs"
   11441 else
   11442   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11443 fi
   11444 fi
   11445 
   11446 LD="$lt_cv_path_LD"
   11447 if test -n "$LD"; then
   11448   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11449 $as_echo "$LD" >&6; }
   11450 else
   11451   { $as_echo "$as_me:$LINENO: result: no" >&5
   11452 $as_echo "no" >&6; }
   11453 fi
   11454 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11455 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11456    { (exit 1); exit 1; }; }
   11457 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11458 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11459 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11460   $as_echo_n "(cached) " >&6
   11461 else
   11462   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11463 case `$LD -v 2>&1 </dev/null` in
   11464 *GNU* | *'with BFD'*)
   11465   lt_cv_prog_gnu_ld=yes
   11466   ;;
   11467 *)
   11468   lt_cv_prog_gnu_ld=no
   11469   ;;
   11470 esac
   11471 fi
   11472 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11473 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11474 with_gnu_ld=$lt_cv_prog_gnu_ld
   11475 
   11476 
   11477 
   11478   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11479   # archiving commands below assume that GNU ld is being used.
   11480   if test "$with_gnu_ld" = yes; then
   11481     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11482     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11483 
   11484     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11485     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11486 
   11487     # If archive_cmds runs LD, not CC, wlarc should be empty
   11488     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11489     #     investigate it a little bit more. (MM)
   11490     wlarc='${wl}'
   11491 
   11492     # ancient GNU ld didn't support --whole-archive et. al.
   11493     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11494 	grep 'no-whole-archive' > /dev/null; then
   11495       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11496     else
   11497       whole_archive_flag_spec_CXX=
   11498     fi
   11499   else
   11500     with_gnu_ld=no
   11501     wlarc=
   11502 
   11503     # A generic and very simple default shared library creation
   11504     # command for GNU C++ for the case where it uses the native
   11505     # linker, instead of GNU ld.  If possible, this setting should
   11506     # overridden to take advantage of the native linker features on
   11507     # the platform it is being used on.
   11508     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11509   fi
   11510 
   11511   # Commands to make compiler produce verbose output that lists
   11512   # what "hidden" libraries, object files and flags are used when
   11513   # linking a shared library.
   11514   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11515 
   11516 else
   11517   GXX=no
   11518   with_gnu_ld=no
   11519   wlarc=
   11520 fi
   11521 
   11522 # PORTME: fill in a description of your system's C++ link characteristics
   11523 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11524 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11525 ld_shlibs_CXX=yes
   11526 case $host_os in
   11527   aix3*)
   11528     # FIXME: insert proper C++ library support
   11529     ld_shlibs_CXX=no
   11530     ;;
   11531   aix[4-9]*)
   11532     if test "$host_cpu" = ia64; then
   11533       # On IA64, the linker does run time linking by default, so we don't
   11534       # have to do anything special.
   11535       aix_use_runtimelinking=no
   11536       exp_sym_flag='-Bexport'
   11537       no_entry_flag=""
   11538     else
   11539       aix_use_runtimelinking=no
   11540 
   11541       # Test if we are trying to use run time linking or normal
   11542       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11543       # need to do runtime linking.
   11544       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11545 	for ld_flag in $LDFLAGS; do
   11546 	  case $ld_flag in
   11547 	  *-brtl*)
   11548 	    aix_use_runtimelinking=yes
   11549 	    break
   11550 	    ;;
   11551 	  esac
   11552 	done
   11553 	;;
   11554       esac
   11555 
   11556       exp_sym_flag='-bexport'
   11557       no_entry_flag='-bnoentry'
   11558     fi
   11559 
   11560     # When large executables or shared objects are built, AIX ld can
   11561     # have problems creating the table of contents.  If linking a library
   11562     # or program results in "error TOC overflow" add -mminimal-toc to
   11563     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11564     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11565 
   11566     archive_cmds_CXX=''
   11567     hardcode_direct_CXX=yes
   11568     hardcode_libdir_separator_CXX=':'
   11569     link_all_deplibs_CXX=yes
   11570 
   11571     if test "$GXX" = yes; then
   11572       case $host_os in aix4.[012]|aix4.[012].*)
   11573       # We only want to do this on AIX 4.2 and lower, the check
   11574       # below for broken collect2 doesn't work under 4.3+
   11575 	collect2name=`${CC} -print-prog-name=collect2`
   11576 	if test -f "$collect2name" && \
   11577 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11578 	then
   11579 	  # We have reworked collect2
   11580 	  :
   11581 	else
   11582 	  # We have old collect2
   11583 	  hardcode_direct_CXX=unsupported
   11584 	  # It fails to find uninstalled libraries when the uninstalled
   11585 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11586 	  # to unsupported forces relinking
   11587 	  hardcode_minus_L_CXX=yes
   11588 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11589 	  hardcode_libdir_separator_CXX=
   11590 	fi
   11591 	;;
   11592       esac
   11593       shared_flag='-shared'
   11594       if test "$aix_use_runtimelinking" = yes; then
   11595 	shared_flag="$shared_flag "'${wl}-G'
   11596       fi
   11597     else
   11598       # not using gcc
   11599       if test "$host_cpu" = ia64; then
   11600 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11601 	# chokes on -Wl,-G. The following line is correct:
   11602 	shared_flag='-G'
   11603       else
   11604 	if test "$aix_use_runtimelinking" = yes; then
   11605 	  shared_flag='${wl}-G'
   11606 	else
   11607 	  shared_flag='${wl}-bM:SRE'
   11608 	fi
   11609       fi
   11610     fi
   11611 
   11612     # It seems that -bexpall does not export symbols beginning with
   11613     # underscore (_), so it is better to generate a list of symbols to export.
   11614     always_export_symbols_CXX=yes
   11615     if test "$aix_use_runtimelinking" = yes; then
   11616       # Warning - without using the other runtime loading flags (-brtl),
   11617       # -berok will link without error, but may produce a broken library.
   11618       allow_undefined_flag_CXX='-berok'
   11619       # Determine the default libpath from the value encoded in an empty executable.
   11620       cat >conftest.$ac_ext <<_ACEOF
   11621 /* confdefs.h.  */
   11622 _ACEOF
   11623 cat confdefs.h >>conftest.$ac_ext
   11624 cat >>conftest.$ac_ext <<_ACEOF
   11625 /* end confdefs.h.  */
   11626 
   11627 int
   11628 main ()
   11629 {
   11630 
   11631   ;
   11632   return 0;
   11633 }
   11634 _ACEOF
   11635 rm -f conftest.$ac_objext conftest$ac_exeext
   11636 if { (ac_try="$ac_link"
   11637 case "(($ac_try" in
   11638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11639   *) ac_try_echo=$ac_try;;
   11640 esac
   11641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11642 $as_echo "$ac_try_echo") >&5
   11643   (eval "$ac_link") 2>conftest.er1
   11644   ac_status=$?
   11645   grep -v '^ *+' conftest.er1 >conftest.err
   11646   rm -f conftest.er1
   11647   cat conftest.err >&5
   11648   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11649   (exit $ac_status); } && {
   11650 	 test -z "$ac_cxx_werror_flag" ||
   11651 	 test ! -s conftest.err
   11652        } && test -s conftest$ac_exeext && {
   11653 	 test "$cross_compiling" = yes ||
   11654 	 $as_test_x conftest$ac_exeext
   11655        }; then
   11656 
   11657 lt_aix_libpath_sed='
   11658     /Import File Strings/,/^$/ {
   11659 	/^0/ {
   11660 	    s/^0  *\(.*\)$/\1/
   11661 	    p
   11662 	}
   11663     }'
   11664 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11665 # Check for a 64-bit object if we didn't find anything.
   11666 if test -z "$aix_libpath"; then
   11667   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11668 fi
   11669 else
   11670   $as_echo "$as_me: failed program was:" >&5
   11671 sed 's/^/| /' conftest.$ac_ext >&5
   11672 
   11673 
   11674 fi
   11675 
   11676 rm -rf conftest.dSYM
   11677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11678       conftest$ac_exeext conftest.$ac_ext
   11679 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11680 
   11681       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11682 
   11683       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   11684      else
   11685       if test "$host_cpu" = ia64; then
   11686 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11687 	allow_undefined_flag_CXX="-z nodefs"
   11688 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   11689       else
   11690 	# Determine the default libpath from the value encoded in an empty executable.
   11691 	cat >conftest.$ac_ext <<_ACEOF
   11692 /* confdefs.h.  */
   11693 _ACEOF
   11694 cat confdefs.h >>conftest.$ac_ext
   11695 cat >>conftest.$ac_ext <<_ACEOF
   11696 /* end confdefs.h.  */
   11697 
   11698 int
   11699 main ()
   11700 {
   11701 
   11702   ;
   11703   return 0;
   11704 }
   11705 _ACEOF
   11706 rm -f conftest.$ac_objext conftest$ac_exeext
   11707 if { (ac_try="$ac_link"
   11708 case "(($ac_try" in
   11709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11710   *) ac_try_echo=$ac_try;;
   11711 esac
   11712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11713 $as_echo "$ac_try_echo") >&5
   11714   (eval "$ac_link") 2>conftest.er1
   11715   ac_status=$?
   11716   grep -v '^ *+' conftest.er1 >conftest.err
   11717   rm -f conftest.er1
   11718   cat conftest.err >&5
   11719   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11720   (exit $ac_status); } && {
   11721 	 test -z "$ac_cxx_werror_flag" ||
   11722 	 test ! -s conftest.err
   11723        } && test -s conftest$ac_exeext && {
   11724 	 test "$cross_compiling" = yes ||
   11725 	 $as_test_x conftest$ac_exeext
   11726        }; then
   11727 
   11728 lt_aix_libpath_sed='
   11729     /Import File Strings/,/^$/ {
   11730 	/^0/ {
   11731 	    s/^0  *\(.*\)$/\1/
   11732 	    p
   11733 	}
   11734     }'
   11735 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11736 # Check for a 64-bit object if we didn't find anything.
   11737 if test -z "$aix_libpath"; then
   11738   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11739 fi
   11740 else
   11741   $as_echo "$as_me: failed program was:" >&5
   11742 sed 's/^/| /' conftest.$ac_ext >&5
   11743 
   11744 
   11745 fi
   11746 
   11747 rm -rf conftest.dSYM
   11748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11749       conftest$ac_exeext conftest.$ac_ext
   11750 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11751 
   11752 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11753 	# Warning - without using the other run time loading flags,
   11754 	# -berok will link without error, but may produce a broken library.
   11755 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11756 	allow_undefined_flag_CXX=' ${wl}-berok'
   11757 	# Exported symbols can be pulled into shared objects from archives
   11758 	whole_archive_flag_spec_CXX='$convenience'
   11759 	archive_cmds_need_lc_CXX=yes
   11760 	# This is similar to how AIX traditionally builds its shared libraries.
   11761 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   11762       fi
   11763     fi
   11764     ;;
   11765 
   11766   beos*)
   11767     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11768       allow_undefined_flag_CXX=unsupported
   11769       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11770       # support --undefined.  This deserves some investigation.  FIXME
   11771       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11772     else
   11773       ld_shlibs_CXX=no
   11774     fi
   11775     ;;
   11776 
   11777   chorus*)
   11778     case $cc_basename in
   11779       *)
   11780 	# FIXME: insert proper C++ library support
   11781 	ld_shlibs_CXX=no
   11782 	;;
   11783     esac
   11784     ;;
   11785 
   11786   cygwin* | mingw* | pw32*)
   11787     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11788     # as there is no search path for DLLs.
   11789     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11790     allow_undefined_flag_CXX=unsupported
   11791     always_export_symbols_CXX=no
   11792     enable_shared_with_static_runtimes_CXX=yes
   11793 
   11794     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11795       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11796       # If the export-symbols file already is a .def file (1st line
   11797       # is EXPORTS), use it as is; otherwise, prepend...
   11798       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11799 	cp $export_symbols $output_objdir/$soname.def;
   11800       else
   11801 	echo EXPORTS > $output_objdir/$soname.def;
   11802 	cat $export_symbols >> $output_objdir/$soname.def;
   11803       fi~
   11804       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11805     else
   11806       ld_shlibs_CXX=no
   11807     fi
   11808   ;;
   11809       darwin* | rhapsody*)
   11810       archive_cmds_need_lc_CXX=no
   11811       hardcode_direct_CXX=no
   11812       hardcode_automatic_CXX=yes
   11813       hardcode_shlibpath_var_CXX=unsupported
   11814       whole_archive_flag_spec_CXX=''
   11815       link_all_deplibs_CXX=yes
   11816       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11817       if test "$GXX" = yes ; then
   11818       output_verbose_link_cmd='echo'
   11819       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11820       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11821       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11822       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11823       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11824         archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   11825         archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   11826       fi
   11827       else
   11828       case $cc_basename in
   11829         xlc*)
   11830          output_verbose_link_cmd='echo'
   11831           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11832           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11833           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11834           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11835           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11836           ;;
   11837        *)
   11838          ld_shlibs_CXX=no
   11839           ;;
   11840       esac
   11841       fi
   11842         ;;
   11843 
   11844   dgux*)
   11845     case $cc_basename in
   11846       ec++*)
   11847 	# FIXME: insert proper C++ library support
   11848 	ld_shlibs_CXX=no
   11849 	;;
   11850       ghcx*)
   11851 	# Green Hills C++ Compiler
   11852 	# FIXME: insert proper C++ library support
   11853 	ld_shlibs_CXX=no
   11854 	;;
   11855       *)
   11856 	# FIXME: insert proper C++ library support
   11857 	ld_shlibs_CXX=no
   11858 	;;
   11859     esac
   11860     ;;
   11861   freebsd[12]*)
   11862     # C++ shared libraries reported to be fairly broken before switch to ELF
   11863     ld_shlibs_CXX=no
   11864     ;;
   11865   freebsd-elf*)
   11866     archive_cmds_need_lc_CXX=no
   11867     ;;
   11868   freebsd* | dragonfly*)
   11869     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11870     # conventions
   11871     ld_shlibs_CXX=yes
   11872     ;;
   11873   gnu*)
   11874     ;;
   11875   hpux9*)
   11876     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11877     hardcode_libdir_separator_CXX=:
   11878     export_dynamic_flag_spec_CXX='${wl}-E'
   11879     hardcode_direct_CXX=yes
   11880     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11881 				# but as the default
   11882 				# location of the library.
   11883 
   11884     case $cc_basename in
   11885     CC*)
   11886       # FIXME: insert proper C++ library support
   11887       ld_shlibs_CXX=no
   11888       ;;
   11889     aCC*)
   11890       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11891       # Commands to make compiler produce verbose output that lists
   11892       # what "hidden" libraries, object files and flags are used when
   11893       # linking a shared library.
   11894       #
   11895       # There doesn't appear to be a way to prevent this compiler from
   11896       # explicitly linking system object files so we need to strip them
   11897       # from the output so that they don't get included in the library
   11898       # dependencies.
   11899       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11900       ;;
   11901     *)
   11902       if test "$GXX" = yes; then
   11903         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11904       else
   11905         # FIXME: insert proper C++ library support
   11906         ld_shlibs_CXX=no
   11907       fi
   11908       ;;
   11909     esac
   11910     ;;
   11911   hpux10*|hpux11*)
   11912     if test $with_gnu_ld = no; then
   11913       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11914       hardcode_libdir_separator_CXX=:
   11915 
   11916       case $host_cpu in
   11917       hppa*64*|ia64*) ;;
   11918       *)
   11919 	export_dynamic_flag_spec_CXX='${wl}-E'
   11920         ;;
   11921       esac
   11922     fi
   11923     case $host_cpu in
   11924     hppa*64*|ia64*)
   11925       hardcode_direct_CXX=no
   11926       hardcode_shlibpath_var_CXX=no
   11927       ;;
   11928     *)
   11929       hardcode_direct_CXX=yes
   11930       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11931 					      # but as the default
   11932 					      # location of the library.
   11933       ;;
   11934     esac
   11935 
   11936     case $cc_basename in
   11937       CC*)
   11938 	# FIXME: insert proper C++ library support
   11939 	ld_shlibs_CXX=no
   11940 	;;
   11941       aCC*)
   11942 	case $host_cpu in
   11943 	hppa*64*)
   11944 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11945 	  ;;
   11946 	ia64*)
   11947 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11948 	  ;;
   11949 	*)
   11950 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11951 	  ;;
   11952 	esac
   11953 	# Commands to make compiler produce verbose output that lists
   11954 	# what "hidden" libraries, object files and flags are used when
   11955 	# linking a shared library.
   11956 	#
   11957 	# There doesn't appear to be a way to prevent this compiler from
   11958 	# explicitly linking system object files so we need to strip them
   11959 	# from the output so that they don't get included in the library
   11960 	# dependencies.
   11961 	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11962 	;;
   11963       *)
   11964 	if test "$GXX" = yes; then
   11965 	  if test $with_gnu_ld = no; then
   11966 	    case $host_cpu in
   11967 	    hppa*64*)
   11968 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11969 	      ;;
   11970 	    ia64*)
   11971 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11972 	      ;;
   11973 	    *)
   11974 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11975 	      ;;
   11976 	    esac
   11977 	  fi
   11978 	else
   11979 	  # FIXME: insert proper C++ library support
   11980 	  ld_shlibs_CXX=no
   11981 	fi
   11982 	;;
   11983     esac
   11984     ;;
   11985   interix[3-9]*)
   11986     hardcode_direct_CXX=no
   11987     hardcode_shlibpath_var_CXX=no
   11988     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11989     export_dynamic_flag_spec_CXX='${wl}-E'
   11990     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11991     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11992     # default) and relocated if they conflict, which is a slow very memory
   11993     # consuming and fragmenting process.  To avoid this, we pick a random,
   11994     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11995     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11996     archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11997     archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11998     ;;
   11999   irix5* | irix6*)
   12000     case $cc_basename in
   12001       CC*)
   12002 	# SGI C++
   12003 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12004 
   12005 	# Archives containing C++ object files must be created using
   12006 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12007 	# necessary to make sure instantiated templates are included
   12008 	# in the archive.
   12009 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12010 	;;
   12011       *)
   12012 	if test "$GXX" = yes; then
   12013 	  if test "$with_gnu_ld" = no; then
   12014 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12015 	  else
   12016 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
   12017 	  fi
   12018 	fi
   12019 	link_all_deplibs_CXX=yes
   12020 	;;
   12021     esac
   12022     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12023     hardcode_libdir_separator_CXX=:
   12024     ;;
   12025   linux* | k*bsd*-gnu)
   12026     case $cc_basename in
   12027       KCC*)
   12028 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12029 
   12030 	# KCC will only create a shared library if the output file
   12031 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12032 	# to its proper name (with version) after linking.
   12033 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12034 	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   12035 	# Commands to make compiler produce verbose output that lists
   12036 	# what "hidden" libraries, object files and flags are used when
   12037 	# linking a shared library.
   12038 	#
   12039 	# There doesn't appear to be a way to prevent this compiler from
   12040 	# explicitly linking system object files so we need to strip them
   12041 	# from the output so that they don't get included in the library
   12042 	# dependencies.
   12043 	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12044 
   12045 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12046 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12047 
   12048 	# Archives containing C++ object files must be created using
   12049 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12050 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12051 	;;
   12052       icpc*)
   12053 	# Intel C++
   12054 	with_gnu_ld=yes
   12055 	# version 8.0 and above of icpc choke on multiply defined symbols
   12056 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12057 	# earlier do not add the objects themselves.
   12058 	case `$CC -V 2>&1` in
   12059 	*"Version 7."*)
   12060   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12061   	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12062 	  ;;
   12063 	*)  # Version 8.0 or newer
   12064 	  tmp_idyn=
   12065 	  case $host_cpu in
   12066 	    ia64*) tmp_idyn=' -i_dynamic';;
   12067 	  esac
   12068   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12069 	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12070 	  ;;
   12071 	esac
   12072 	archive_cmds_need_lc_CXX=no
   12073 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12074 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12075 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12076 	;;
   12077       pgCC* | pgcpp*)
   12078         # Portland Group C++ compiler
   12079 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12080   	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12081 
   12082 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12083 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12084 	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12085         ;;
   12086       cxx*)
   12087 	# Compaq C++
   12088 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12089 	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   12090 
   12091 	runpath_var=LD_RUN_PATH
   12092 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12093 	hardcode_libdir_separator_CXX=:
   12094 
   12095 	# Commands to make compiler produce verbose output that lists
   12096 	# what "hidden" libraries, object files and flags are used when
   12097 	# linking a shared library.
   12098 	#
   12099 	# There doesn't appear to be a way to prevent this compiler from
   12100 	# explicitly linking system object files so we need to strip them
   12101 	# from the output so that they don't get included in the library
   12102 	# dependencies.
   12103 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12104 	;;
   12105       *)
   12106 	case `$CC -V 2>&1 | sed 5q` in
   12107 	*Sun\ C*)
   12108 	  # Sun C++ 5.9
   12109 	  no_undefined_flag_CXX=' -zdefs'
   12110 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12111 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12112 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12113 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12114 
   12115 	  # Not sure whether something based on
   12116 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12117 	  # would be better.
   12118 	  output_verbose_link_cmd='echo'
   12119 
   12120 	  # Archives containing C++ object files must be created using
   12121 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12122 	  # necessary to make sure instantiated templates are included
   12123 	  # in the archive.
   12124 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12125 	  ;;
   12126 	esac
   12127 	;;
   12128     esac
   12129     ;;
   12130   lynxos*)
   12131     # FIXME: insert proper C++ library support
   12132     ld_shlibs_CXX=no
   12133     ;;
   12134   m88k*)
   12135     # FIXME: insert proper C++ library support
   12136     ld_shlibs_CXX=no
   12137     ;;
   12138   mvs*)
   12139     case $cc_basename in
   12140       cxx*)
   12141 	# FIXME: insert proper C++ library support
   12142 	ld_shlibs_CXX=no
   12143 	;;
   12144       *)
   12145 	# FIXME: insert proper C++ library support
   12146 	ld_shlibs_CXX=no
   12147 	;;
   12148     esac
   12149     ;;
   12150   netbsd*)
   12151     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12152       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12153       wlarc=
   12154       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12155       hardcode_direct_CXX=yes
   12156       hardcode_shlibpath_var_CXX=no
   12157     fi
   12158     # Workaround some broken pre-1.5 toolchains
   12159     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12160     ;;
   12161   openbsd2*)
   12162     # C++ shared libraries are fairly broken
   12163     ld_shlibs_CXX=no
   12164     ;;
   12165   openbsd*)
   12166     if test -f /usr/libexec/ld.so; then
   12167       hardcode_direct_CXX=yes
   12168       hardcode_shlibpath_var_CXX=no
   12169       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12170       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12171       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12172 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12173 	export_dynamic_flag_spec_CXX='${wl}-E'
   12174 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12175       fi
   12176       output_verbose_link_cmd='echo'
   12177     else
   12178       ld_shlibs_CXX=no
   12179     fi
   12180     ;;
   12181   osf3*)
   12182     case $cc_basename in
   12183       KCC*)
   12184 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12185 
   12186 	# KCC will only create a shared library if the output file
   12187 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12188 	# to its proper name (with version) after linking.
   12189 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12190 
   12191 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12192 	hardcode_libdir_separator_CXX=:
   12193 
   12194 	# Archives containing C++ object files must be created using
   12195 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12196 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12197 
   12198 	;;
   12199       RCC*)
   12200 	# Rational C++ 2.4.1
   12201 	# FIXME: insert proper C++ library support
   12202 	ld_shlibs_CXX=no
   12203 	;;
   12204       cxx*)
   12205 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12206 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12207 
   12208 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12209 	hardcode_libdir_separator_CXX=:
   12210 
   12211 	# Commands to make compiler produce verbose output that lists
   12212 	# what "hidden" libraries, object files and flags are used when
   12213 	# linking a shared library.
   12214 	#
   12215 	# There doesn't appear to be a way to prevent this compiler from
   12216 	# explicitly linking system object files so we need to strip them
   12217 	# from the output so that they don't get included in the library
   12218 	# dependencies.
   12219 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12220 	;;
   12221       *)
   12222 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12223 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12224 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12225 
   12226 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12227 	  hardcode_libdir_separator_CXX=:
   12228 
   12229 	  # Commands to make compiler produce verbose output that lists
   12230 	  # what "hidden" libraries, object files and flags are used when
   12231 	  # linking a shared library.
   12232 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12233 
   12234 	else
   12235 	  # FIXME: insert proper C++ library support
   12236 	  ld_shlibs_CXX=no
   12237 	fi
   12238 	;;
   12239     esac
   12240     ;;
   12241   osf4* | osf5*)
   12242     case $cc_basename in
   12243       KCC*)
   12244 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12245 
   12246 	# KCC will only create a shared library if the output file
   12247 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12248 	# to its proper name (with version) after linking.
   12249 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12250 
   12251 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12252 	hardcode_libdir_separator_CXX=:
   12253 
   12254 	# Archives containing C++ object files must be created using
   12255 	# the KAI C++ compiler.
   12256 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12257 	;;
   12258       RCC*)
   12259 	# Rational C++ 2.4.1
   12260 	# FIXME: insert proper C++ library support
   12261 	ld_shlibs_CXX=no
   12262 	;;
   12263       cxx*)
   12264 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12265 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12266 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12267 	  echo "-hidden">> $lib.exp~
   12268 	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
   12269 	  $rm $lib.exp'
   12270 
   12271 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12272 	hardcode_libdir_separator_CXX=:
   12273 
   12274 	# Commands to make compiler produce verbose output that lists
   12275 	# what "hidden" libraries, object files and flags are used when
   12276 	# linking a shared library.
   12277 	#
   12278 	# There doesn't appear to be a way to prevent this compiler from
   12279 	# explicitly linking system object files so we need to strip them
   12280 	# from the output so that they don't get included in the library
   12281 	# dependencies.
   12282 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12283 	;;
   12284       *)
   12285 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12286 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12287 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12288 
   12289 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12290 	  hardcode_libdir_separator_CXX=:
   12291 
   12292 	  # Commands to make compiler produce verbose output that lists
   12293 	  # what "hidden" libraries, object files and flags are used when
   12294 	  # linking a shared library.
   12295 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12296 
   12297 	else
   12298 	  # FIXME: insert proper C++ library support
   12299 	  ld_shlibs_CXX=no
   12300 	fi
   12301 	;;
   12302     esac
   12303     ;;
   12304   psos*)
   12305     # FIXME: insert proper C++ library support
   12306     ld_shlibs_CXX=no
   12307     ;;
   12308   sunos4*)
   12309     case $cc_basename in
   12310       CC*)
   12311 	# Sun C++ 4.x
   12312 	# FIXME: insert proper C++ library support
   12313 	ld_shlibs_CXX=no
   12314 	;;
   12315       lcc*)
   12316 	# Lucid
   12317 	# FIXME: insert proper C++ library support
   12318 	ld_shlibs_CXX=no
   12319 	;;
   12320       *)
   12321 	# FIXME: insert proper C++ library support
   12322 	ld_shlibs_CXX=no
   12323 	;;
   12324     esac
   12325     ;;
   12326   solaris*)
   12327     case $cc_basename in
   12328       CC*)
   12329 	# Sun C++ 4.2, 5.x and Centerline C++
   12330         archive_cmds_need_lc_CXX=yes
   12331 	no_undefined_flag_CXX=' -zdefs'
   12332 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12333 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12334 	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12335 
   12336 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12337 	hardcode_shlibpath_var_CXX=no
   12338 	case $host_os in
   12339 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12340 	  *)
   12341 	    # The compiler driver will combine and reorder linker options,
   12342 	    # but understands `-z linker_flag'.
   12343 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12344 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12345 	    ;;
   12346 	esac
   12347 	link_all_deplibs_CXX=yes
   12348 
   12349 	output_verbose_link_cmd='echo'
   12350 
   12351 	# Archives containing C++ object files must be created using
   12352 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12353 	# necessary to make sure instantiated templates are included
   12354 	# in the archive.
   12355 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12356 	;;
   12357       gcx*)
   12358 	# Green Hills C++ Compiler
   12359 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12360 
   12361 	# The C++ compiler must be used to create the archive.
   12362 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12363 	;;
   12364       *)
   12365 	# GNU C++ compiler with Solaris linker
   12366 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12367 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12368 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12369 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12370 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12371 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12372 
   12373 	    # Commands to make compiler produce verbose output that lists
   12374 	    # what "hidden" libraries, object files and flags are used when
   12375 	    # linking a shared library.
   12376 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12377 	  else
   12378 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12379 	    # platform.
   12380 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12381 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12382 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12383 
   12384 	    # Commands to make compiler produce verbose output that lists
   12385 	    # what "hidden" libraries, object files and flags are used when
   12386 	    # linking a shared library.
   12387 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12388 	  fi
   12389 
   12390 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12391 	  case $host_os in
   12392 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12393 	  *)
   12394 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12395 	    ;;
   12396 	  esac
   12397 	fi
   12398 	;;
   12399     esac
   12400     ;;
   12401   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12402     no_undefined_flag_CXX='${wl}-z,text'
   12403     archive_cmds_need_lc_CXX=no
   12404     hardcode_shlibpath_var_CXX=no
   12405     runpath_var='LD_RUN_PATH'
   12406 
   12407     case $cc_basename in
   12408       CC*)
   12409 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12410 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12411 	;;
   12412       *)
   12413 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12414 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12415 	;;
   12416     esac
   12417     ;;
   12418   sysv5* | sco3.2v5* | sco5v6*)
   12419     # Note: We can NOT use -z defs as we might desire, because we do not
   12420     # link with -lc, and that would cause any symbols used from libc to
   12421     # always be unresolved, which means just about no library would
   12422     # ever link correctly.  If we're not using GNU ld we use -z text
   12423     # though, which does catch some bad symbols but isn't as heavy-handed
   12424     # as -z defs.
   12425     # For security reasons, it is highly recommended that you always
   12426     # use absolute paths for naming shared libraries, and exclude the
   12427     # DT_RUNPATH tag from executables and libraries.  But doing so
   12428     # requires that you compile everything twice, which is a pain.
   12429     # So that behaviour is only enabled if SCOABSPATH is set to a
   12430     # non-empty value in the environment.  Most likely only useful for
   12431     # creating official distributions of packages.
   12432     # This is a hack until libtool officially supports absolute path
   12433     # names for shared libraries.
   12434     no_undefined_flag_CXX='${wl}-z,text'
   12435     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12436     archive_cmds_need_lc_CXX=no
   12437     hardcode_shlibpath_var_CXX=no
   12438     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12439     hardcode_libdir_separator_CXX=':'
   12440     link_all_deplibs_CXX=yes
   12441     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12442     runpath_var='LD_RUN_PATH'
   12443 
   12444     case $cc_basename in
   12445       CC*)
   12446 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12447 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12448 	;;
   12449       *)
   12450 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12451 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12452 	;;
   12453     esac
   12454     ;;
   12455   tandem*)
   12456     case $cc_basename in
   12457       NCC*)
   12458 	# NonStop-UX NCC 3.20
   12459 	# FIXME: insert proper C++ library support
   12460 	ld_shlibs_CXX=no
   12461 	;;
   12462       *)
   12463 	# FIXME: insert proper C++ library support
   12464 	ld_shlibs_CXX=no
   12465 	;;
   12466     esac
   12467     ;;
   12468   vxworks*)
   12469     # FIXME: insert proper C++ library support
   12470     ld_shlibs_CXX=no
   12471     ;;
   12472   *)
   12473     # FIXME: insert proper C++ library support
   12474     ld_shlibs_CXX=no
   12475     ;;
   12476 esac
   12477 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12478 $as_echo "$ld_shlibs_CXX" >&6; }
   12479 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12480 
   12481 GCC_CXX="$GXX"
   12482 LD_CXX="$LD"
   12483 
   12484 cat > conftest.$ac_ext <<EOF
   12485 class Foo
   12486 {
   12487 public:
   12488   Foo (void) { a = 0; }
   12489 private:
   12490   int a;
   12491 };
   12492 EOF
   12493 
   12494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12495   (eval $ac_compile) 2>&5
   12496   ac_status=$?
   12497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12498   (exit $ac_status); }; then
   12499   # Parse the compiler output and extract the necessary
   12500   # objects, libraries and library flags.
   12501 
   12502   # Sentinel used to keep track of whether or not we are before
   12503   # the conftest object file.
   12504   pre_test_object_deps_done=no
   12505 
   12506   # The `*' in the case matches for architectures that use `case' in
   12507   # $output_verbose_cmd can trigger glob expansion during the loop
   12508   # eval without this substitution.
   12509   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12510 
   12511   for p in `eval $output_verbose_link_cmd`; do
   12512     case $p in
   12513 
   12514     -L* | -R* | -l*)
   12515        # Some compilers place space between "-{L,R}" and the path.
   12516        # Remove the space.
   12517        if test $p = "-L" \
   12518 	  || test $p = "-R"; then
   12519 	 prev=$p
   12520 	 continue
   12521        else
   12522 	 prev=
   12523        fi
   12524 
   12525        if test "$pre_test_object_deps_done" = no; then
   12526 	 case $p in
   12527 	 -L* | -R*)
   12528 	   # Internal compiler library paths should come after those
   12529 	   # provided the user.  The postdeps already come after the
   12530 	   # user supplied libs so there is no need to process them.
   12531 	   if test -z "$compiler_lib_search_path_CXX"; then
   12532 	     compiler_lib_search_path_CXX="${prev}${p}"
   12533 	   else
   12534 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12535 	   fi
   12536 	   ;;
   12537 	 # The "-l" case would never come before the object being
   12538 	 # linked, so don't bother handling this case.
   12539 	 esac
   12540        else
   12541 	 if test -z "$postdeps_CXX"; then
   12542 	   postdeps_CXX="${prev}${p}"
   12543 	 else
   12544 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12545 	 fi
   12546        fi
   12547        ;;
   12548 
   12549     *.$objext)
   12550        # This assumes that the test object file only shows up
   12551        # once in the compiler output.
   12552        if test "$p" = "conftest.$objext"; then
   12553 	 pre_test_object_deps_done=yes
   12554 	 continue
   12555        fi
   12556 
   12557        if test "$pre_test_object_deps_done" = no; then
   12558 	 if test -z "$predep_objects_CXX"; then
   12559 	   predep_objects_CXX="$p"
   12560 	 else
   12561 	   predep_objects_CXX="$predep_objects_CXX $p"
   12562 	 fi
   12563        else
   12564 	 if test -z "$postdep_objects_CXX"; then
   12565 	   postdep_objects_CXX="$p"
   12566 	 else
   12567 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12568 	 fi
   12569        fi
   12570        ;;
   12571 
   12572     *) ;; # Ignore the rest.
   12573 
   12574     esac
   12575   done
   12576 
   12577   # Clean up.
   12578   rm -f a.out a.exe
   12579 else
   12580   echo "libtool.m4: error: problem compiling CXX test program"
   12581 fi
   12582 
   12583 $rm -f confest.$objext
   12584 
   12585 compiler_lib_search_dirs_CXX=
   12586 if test -n "$compiler_lib_search_path_CXX"; then
   12587   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12588 fi
   12589 
   12590 # PORTME: override above test on systems where it is broken
   12591 case $host_os in
   12592 interix[3-9]*)
   12593   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12594   # hack all around it, let's just trust "g++" to DTRT.
   12595   predep_objects_CXX=
   12596   postdep_objects_CXX=
   12597   postdeps_CXX=
   12598   ;;
   12599 
   12600 linux*)
   12601   case `$CC -V 2>&1 | sed 5q` in
   12602   *Sun\ C*)
   12603     # Sun C++ 5.9
   12604     #
   12605     # The more standards-conforming stlport4 library is
   12606     # incompatible with the Cstd library. Avoid specifying
   12607     # it if it's in CXXFLAGS. Ignore libCrun as
   12608     # -library=stlport4 depends on it.
   12609     case " $CXX $CXXFLAGS " in
   12610     *" -library=stlport4 "*)
   12611       solaris_use_stlport4=yes
   12612       ;;
   12613     esac
   12614     if test "$solaris_use_stlport4" != yes; then
   12615       postdeps_CXX='-library=Cstd -library=Crun'
   12616     fi
   12617     ;;
   12618   esac
   12619   ;;
   12620 
   12621 solaris*)
   12622   case $cc_basename in
   12623   CC*)
   12624     # The more standards-conforming stlport4 library is
   12625     # incompatible with the Cstd library. Avoid specifying
   12626     # it if it's in CXXFLAGS. Ignore libCrun as
   12627     # -library=stlport4 depends on it.
   12628     case " $CXX $CXXFLAGS " in
   12629     *" -library=stlport4 "*)
   12630       solaris_use_stlport4=yes
   12631       ;;
   12632     esac
   12633 
   12634     # Adding this requires a known-good setup of shared libraries for
   12635     # Sun compiler versions before 5.6, else PIC objects from an old
   12636     # archive will be linked into the output, leading to subtle bugs.
   12637     if test "$solaris_use_stlport4" != yes; then
   12638       postdeps_CXX='-library=Cstd -library=Crun'
   12639     fi
   12640     ;;
   12641   esac
   12642   ;;
   12643 esac
   12644 
   12645 case " $postdeps_CXX " in
   12646 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12647 esac
   12648 
   12649 lt_prog_compiler_wl_CXX=
   12650 lt_prog_compiler_pic_CXX=
   12651 lt_prog_compiler_static_CXX=
   12652 
   12653 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12654 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12655 
   12656   # C++ specific cases for pic, static, wl, etc.
   12657   if test "$GXX" = yes; then
   12658     lt_prog_compiler_wl_CXX='-Wl,'
   12659     lt_prog_compiler_static_CXX='-static'
   12660 
   12661     case $host_os in
   12662     aix*)
   12663       # All AIX code is PIC.
   12664       if test "$host_cpu" = ia64; then
   12665 	# AIX 5 now supports IA64 processor
   12666 	lt_prog_compiler_static_CXX='-Bstatic'
   12667       fi
   12668       ;;
   12669     amigaos*)
   12670       # FIXME: we need at least 68020 code to build shared libraries, but
   12671       # adding the `-m68020' flag to GCC prevents building anything better,
   12672       # like `-m68040'.
   12673       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12674       ;;
   12675     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12676       # PIC is the default for these OSes.
   12677       ;;
   12678     mingw* | cygwin* | os2* | pw32*)
   12679       # This hack is so that the source file can tell whether it is being
   12680       # built for inclusion in a dll (and should export symbols for example).
   12681       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12682       # (--disable-auto-import) libraries
   12683       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12684       ;;
   12685     darwin* | rhapsody*)
   12686       # PIC is the default on this platform
   12687       # Common symbols not allowed in MH_DYLIB files
   12688       lt_prog_compiler_pic_CXX='-fno-common'
   12689       ;;
   12690     *djgpp*)
   12691       # DJGPP does not support shared libraries at all
   12692       lt_prog_compiler_pic_CXX=
   12693       ;;
   12694     interix[3-9]*)
   12695       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12696       # Instead, we relocate shared libraries at runtime.
   12697       ;;
   12698     sysv4*MP*)
   12699       if test -d /usr/nec; then
   12700 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12701       fi
   12702       ;;
   12703     hpux*)
   12704       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12705       # not for PA HP-UX.
   12706       case $host_cpu in
   12707       hppa*64*|ia64*)
   12708 	;;
   12709       *)
   12710 	lt_prog_compiler_pic_CXX='-fPIC'
   12711 	;;
   12712       esac
   12713       ;;
   12714     *)
   12715       lt_prog_compiler_pic_CXX='-fPIC'
   12716       ;;
   12717     esac
   12718   else
   12719     case $host_os in
   12720       aix[4-9]*)
   12721 	# All AIX code is PIC.
   12722 	if test "$host_cpu" = ia64; then
   12723 	  # AIX 5 now supports IA64 processor
   12724 	  lt_prog_compiler_static_CXX='-Bstatic'
   12725 	else
   12726 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12727 	fi
   12728 	;;
   12729       chorus*)
   12730 	case $cc_basename in
   12731 	cxch68*)
   12732 	  # Green Hills C++ Compiler
   12733 	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   12734 	  ;;
   12735 	esac
   12736 	;;
   12737        darwin*)
   12738          # PIC is the default on this platform
   12739          # Common symbols not allowed in MH_DYLIB files
   12740          case $cc_basename in
   12741            xlc*)
   12742            lt_prog_compiler_pic_CXX='-qnocommon'
   12743            lt_prog_compiler_wl_CXX='-Wl,'
   12744            ;;
   12745          esac
   12746        ;;
   12747       dgux*)
   12748 	case $cc_basename in
   12749 	  ec++*)
   12750 	    lt_prog_compiler_pic_CXX='-KPIC'
   12751 	    ;;
   12752 	  ghcx*)
   12753 	    # Green Hills C++ Compiler
   12754 	    lt_prog_compiler_pic_CXX='-pic'
   12755 	    ;;
   12756 	  *)
   12757 	    ;;
   12758 	esac
   12759 	;;
   12760       freebsd* | dragonfly*)
   12761 	# FreeBSD uses GNU C++
   12762 	;;
   12763       hpux9* | hpux10* | hpux11*)
   12764 	case $cc_basename in
   12765 	  CC*)
   12766 	    lt_prog_compiler_wl_CXX='-Wl,'
   12767 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12768 	    if test "$host_cpu" != ia64; then
   12769 	      lt_prog_compiler_pic_CXX='+Z'
   12770 	    fi
   12771 	    ;;
   12772 	  aCC*)
   12773 	    lt_prog_compiler_wl_CXX='-Wl,'
   12774 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12775 	    case $host_cpu in
   12776 	    hppa*64*|ia64*)
   12777 	      # +Z the default
   12778 	      ;;
   12779 	    *)
   12780 	      lt_prog_compiler_pic_CXX='+Z'
   12781 	      ;;
   12782 	    esac
   12783 	    ;;
   12784 	  *)
   12785 	    ;;
   12786 	esac
   12787 	;;
   12788       interix*)
   12789 	# This is c89, which is MS Visual C++ (no shared libs)
   12790 	# Anyone wants to do a port?
   12791 	;;
   12792       irix5* | irix6* | nonstopux*)
   12793 	case $cc_basename in
   12794 	  CC*)
   12795 	    lt_prog_compiler_wl_CXX='-Wl,'
   12796 	    lt_prog_compiler_static_CXX='-non_shared'
   12797 	    # CC pic flag -KPIC is the default.
   12798 	    ;;
   12799 	  *)
   12800 	    ;;
   12801 	esac
   12802 	;;
   12803       linux* | k*bsd*-gnu)
   12804 	case $cc_basename in
   12805 	  KCC*)
   12806 	    # KAI C++ Compiler
   12807 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12808 	    lt_prog_compiler_pic_CXX='-fPIC'
   12809 	    ;;
   12810 	  icpc* | ecpc*)
   12811 	    # Intel C++
   12812 	    lt_prog_compiler_wl_CXX='-Wl,'
   12813 	    lt_prog_compiler_pic_CXX='-KPIC'
   12814 	    lt_prog_compiler_static_CXX='-static'
   12815 	    ;;
   12816 	  pgCC* | pgcpp*)
   12817 	    # Portland Group C++ compiler.
   12818 	    lt_prog_compiler_wl_CXX='-Wl,'
   12819 	    lt_prog_compiler_pic_CXX='-fpic'
   12820 	    lt_prog_compiler_static_CXX='-Bstatic'
   12821 	    ;;
   12822 	  cxx*)
   12823 	    # Compaq C++
   12824 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12825 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12826 	    lt_prog_compiler_pic_CXX=
   12827 	    lt_prog_compiler_static_CXX='-non_shared'
   12828 	    ;;
   12829 	  *)
   12830 	    case `$CC -V 2>&1 | sed 5q` in
   12831 	    *Sun\ C*)
   12832 	      # Sun C++ 5.9
   12833 	      lt_prog_compiler_pic_CXX='-KPIC'
   12834 	      lt_prog_compiler_static_CXX='-Bstatic'
   12835 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12836 	      ;;
   12837 	    esac
   12838 	    ;;
   12839 	esac
   12840 	;;
   12841       lynxos*)
   12842 	;;
   12843       m88k*)
   12844 	;;
   12845       mvs*)
   12846 	case $cc_basename in
   12847 	  cxx*)
   12848 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12849 	    ;;
   12850 	  *)
   12851 	    ;;
   12852 	esac
   12853 	;;
   12854       netbsd*)
   12855 	;;
   12856       osf3* | osf4* | osf5*)
   12857 	case $cc_basename in
   12858 	  KCC*)
   12859 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12860 	    ;;
   12861 	  RCC*)
   12862 	    # Rational C++ 2.4.1
   12863 	    lt_prog_compiler_pic_CXX='-pic'
   12864 	    ;;
   12865 	  cxx*)
   12866 	    # Digital/Compaq C++
   12867 	    lt_prog_compiler_wl_CXX='-Wl,'
   12868 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12869 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12870 	    lt_prog_compiler_pic_CXX=
   12871 	    lt_prog_compiler_static_CXX='-non_shared'
   12872 	    ;;
   12873 	  *)
   12874 	    ;;
   12875 	esac
   12876 	;;
   12877       psos*)
   12878 	;;
   12879       solaris*)
   12880 	case $cc_basename in
   12881 	  CC*)
   12882 	    # Sun C++ 4.2, 5.x and Centerline C++
   12883 	    lt_prog_compiler_pic_CXX='-KPIC'
   12884 	    lt_prog_compiler_static_CXX='-Bstatic'
   12885 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12886 	    ;;
   12887 	  gcx*)
   12888 	    # Green Hills C++ Compiler
   12889 	    lt_prog_compiler_pic_CXX='-PIC'
   12890 	    ;;
   12891 	  *)
   12892 	    ;;
   12893 	esac
   12894 	;;
   12895       sunos4*)
   12896 	case $cc_basename in
   12897 	  CC*)
   12898 	    # Sun C++ 4.x
   12899 	    lt_prog_compiler_pic_CXX='-pic'
   12900 	    lt_prog_compiler_static_CXX='-Bstatic'
   12901 	    ;;
   12902 	  lcc*)
   12903 	    # Lucid
   12904 	    lt_prog_compiler_pic_CXX='-pic'
   12905 	    ;;
   12906 	  *)
   12907 	    ;;
   12908 	esac
   12909 	;;
   12910       tandem*)
   12911 	case $cc_basename in
   12912 	  NCC*)
   12913 	    # NonStop-UX NCC 3.20
   12914 	    lt_prog_compiler_pic_CXX='-KPIC'
   12915 	    ;;
   12916 	  *)
   12917 	    ;;
   12918 	esac
   12919 	;;
   12920       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12921 	case $cc_basename in
   12922 	  CC*)
   12923 	    lt_prog_compiler_wl_CXX='-Wl,'
   12924 	    lt_prog_compiler_pic_CXX='-KPIC'
   12925 	    lt_prog_compiler_static_CXX='-Bstatic'
   12926 	    ;;
   12927 	esac
   12928 	;;
   12929       vxworks*)
   12930 	;;
   12931       *)
   12932 	lt_prog_compiler_can_build_shared_CXX=no
   12933 	;;
   12934     esac
   12935   fi
   12936 
   12937 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12938 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12939 
   12940 #
   12941 # Check to make sure the PIC flag actually works.
   12942 #
   12943 if test -n "$lt_prog_compiler_pic_CXX"; then
   12944 
   12945 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12946 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12947 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12948   $as_echo_n "(cached) " >&6
   12949 else
   12950   lt_cv_prog_compiler_pic_works_CXX=no
   12951   ac_outfile=conftest.$ac_objext
   12952    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12953    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12954    # Insert the option either (1) after the last *FLAGS variable, or
   12955    # (2) before a word containing "conftest.", or (3) at the end.
   12956    # Note that $ac_compile itself does not contain backslashes and begins
   12957    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12958    # The option is referenced via a variable to avoid confusing sed.
   12959    lt_compile=`echo "$ac_compile" | $SED \
   12960    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12961    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12962    -e 's:$: $lt_compiler_flag:'`
   12963    (eval echo "\"\$as_me:12963: $lt_compile\"" >&5)
   12964    (eval "$lt_compile" 2>conftest.err)
   12965    ac_status=$?
   12966    cat conftest.err >&5
   12967    echo "$as_me:12967: \$? = $ac_status" >&5
   12968    if (exit $ac_status) && test -s "$ac_outfile"; then
   12969      # The compiler can only warn and ignore the option if not recognized
   12970      # So say no if there are warnings other than the usual output.
   12971      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12972      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12973      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12974        lt_cv_prog_compiler_pic_works_CXX=yes
   12975      fi
   12976    fi
   12977    $rm conftest*
   12978 
   12979 fi
   12980 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12981 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12982 
   12983 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12984     case $lt_prog_compiler_pic_CXX in
   12985      "" | " "*) ;;
   12986      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12987      esac
   12988 else
   12989     lt_prog_compiler_pic_CXX=
   12990      lt_prog_compiler_can_build_shared_CXX=no
   12991 fi
   12992 
   12993 fi
   12994 case $host_os in
   12995   # For platforms which do not support PIC, -DPIC is meaningless:
   12996   *djgpp*)
   12997     lt_prog_compiler_pic_CXX=
   12998     ;;
   12999   *)
   13000     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13001     ;;
   13002 esac
   13003 
   13004 #
   13005 # Check to make sure the static flag actually works.
   13006 #
   13007 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13008 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13009 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13010 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13011   $as_echo_n "(cached) " >&6
   13012 else
   13013   lt_cv_prog_compiler_static_works_CXX=no
   13014    save_LDFLAGS="$LDFLAGS"
   13015    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13016    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13017    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13018      # The linker can only warn and ignore the option if not recognized
   13019      # So say no if there are warnings
   13020      if test -s conftest.err; then
   13021        # Append any errors to the config.log.
   13022        cat conftest.err 1>&5
   13023        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13024        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13025        if diff conftest.exp conftest.er2 >/dev/null; then
   13026          lt_cv_prog_compiler_static_works_CXX=yes
   13027        fi
   13028      else
   13029        lt_cv_prog_compiler_static_works_CXX=yes
   13030      fi
   13031    fi
   13032    $rm -r conftest*
   13033    LDFLAGS="$save_LDFLAGS"
   13034 
   13035 fi
   13036 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13037 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13038 
   13039 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13040     :
   13041 else
   13042     lt_prog_compiler_static_CXX=
   13043 fi
   13044 
   13045 
   13046 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13047 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13048 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13049   $as_echo_n "(cached) " >&6
   13050 else
   13051   lt_cv_prog_compiler_c_o_CXX=no
   13052    $rm -r conftest 2>/dev/null
   13053    mkdir conftest
   13054    cd conftest
   13055    mkdir out
   13056    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13057 
   13058    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13059    # Insert the option either (1) after the last *FLAGS variable, or
   13060    # (2) before a word containing "conftest.", or (3) at the end.
   13061    # Note that $ac_compile itself does not contain backslashes and begins
   13062    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13063    lt_compile=`echo "$ac_compile" | $SED \
   13064    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13065    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13066    -e 's:$: $lt_compiler_flag:'`
   13067    (eval echo "\"\$as_me:13067: $lt_compile\"" >&5)
   13068    (eval "$lt_compile" 2>out/conftest.err)
   13069    ac_status=$?
   13070    cat out/conftest.err >&5
   13071    echo "$as_me:13071: \$? = $ac_status" >&5
   13072    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13073    then
   13074      # The compiler can only warn and ignore the option if not recognized
   13075      # So say no if there are warnings
   13076      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13077      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13078      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13079        lt_cv_prog_compiler_c_o_CXX=yes
   13080      fi
   13081    fi
   13082    chmod u+w . 2>&5
   13083    $rm conftest*
   13084    # SGI C++ compiler will create directory out/ii_files/ for
   13085    # template instantiation
   13086    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13087    $rm out/* && rmdir out
   13088    cd ..
   13089    rmdir conftest
   13090    $rm conftest*
   13091 
   13092 fi
   13093 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13094 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13095 
   13096 
   13097 hard_links="nottested"
   13098 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13099   # do not overwrite the value of need_locks provided by the user
   13100   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13101 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13102   hard_links=yes
   13103   $rm conftest*
   13104   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13105   touch conftest.a
   13106   ln conftest.a conftest.b 2>&5 || hard_links=no
   13107   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13108   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13109 $as_echo "$hard_links" >&6; }
   13110   if test "$hard_links" = no; then
   13111     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13112 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13113     need_locks=warn
   13114   fi
   13115 else
   13116   need_locks=no
   13117 fi
   13118 
   13119 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13120 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13121 
   13122   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13123   case $host_os in
   13124   aix[4-9]*)
   13125     # If we're using GNU nm, then we don't want the "-C" option.
   13126     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13127     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13128       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13129     else
   13130       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13131     fi
   13132     ;;
   13133   pw32*)
   13134     export_symbols_cmds_CXX="$ltdll_cmds"
   13135   ;;
   13136   cygwin* | mingw*)
   13137     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   13138   ;;
   13139   *)
   13140     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13141   ;;
   13142   esac
   13143   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13144 
   13145 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13146 $as_echo "$ld_shlibs_CXX" >&6; }
   13147 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13148 
   13149 #
   13150 # Do we need to explicitly link libc?
   13151 #
   13152 case "x$archive_cmds_need_lc_CXX" in
   13153 x|xyes)
   13154   # Assume -lc should be added
   13155   archive_cmds_need_lc_CXX=yes
   13156 
   13157   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13158     case $archive_cmds_CXX in
   13159     *'~'*)
   13160       # FIXME: we may have to deal with multi-command sequences.
   13161       ;;
   13162     '$CC '*)
   13163       # Test whether the compiler implicitly links with -lc since on some
   13164       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13165       # to ld, don't add -lc before -lgcc.
   13166       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13167 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13168       $rm conftest*
   13169       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13170 
   13171       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13172   (eval $ac_compile) 2>&5
   13173   ac_status=$?
   13174   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13175   (exit $ac_status); } 2>conftest.err; then
   13176         soname=conftest
   13177         lib=conftest
   13178         libobjs=conftest.$ac_objext
   13179         deplibs=
   13180         wl=$lt_prog_compiler_wl_CXX
   13181 	pic_flag=$lt_prog_compiler_pic_CXX
   13182         compiler_flags=-v
   13183         linker_flags=-v
   13184         verstring=
   13185         output_objdir=.
   13186         libname=conftest
   13187         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13188         allow_undefined_flag_CXX=
   13189         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13190   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13191   ac_status=$?
   13192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13193   (exit $ac_status); }
   13194         then
   13195 	  archive_cmds_need_lc_CXX=no
   13196         else
   13197 	  archive_cmds_need_lc_CXX=yes
   13198         fi
   13199         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13200       else
   13201         cat conftest.err 1>&5
   13202       fi
   13203       $rm conftest*
   13204       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13205 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13206       ;;
   13207     esac
   13208   fi
   13209   ;;
   13210 esac
   13211 
   13212 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13213 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13214 library_names_spec=
   13215 libname_spec='lib$name'
   13216 soname_spec=
   13217 shrext_cmds=".so"
   13218 postinstall_cmds=
   13219 postuninstall_cmds=
   13220 finish_cmds=
   13221 finish_eval=
   13222 shlibpath_var=
   13223 shlibpath_overrides_runpath=unknown
   13224 version_type=none
   13225 dynamic_linker="$host_os ld.so"
   13226 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13227 
   13228 need_lib_prefix=unknown
   13229 hardcode_into_libs=no
   13230 
   13231 # when you set need_version to no, make sure it does not cause -set_version
   13232 # flags to be left without arguments
   13233 need_version=unknown
   13234 
   13235 case $host_os in
   13236 aix3*)
   13237   version_type=linux
   13238   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13239   shlibpath_var=LIBPATH
   13240 
   13241   # AIX 3 has no versioning support, so we append a major version to the name.
   13242   soname_spec='${libname}${release}${shared_ext}$major'
   13243   ;;
   13244 
   13245 aix[4-9]*)
   13246   version_type=linux
   13247   need_lib_prefix=no
   13248   need_version=no
   13249   hardcode_into_libs=yes
   13250   if test "$host_cpu" = ia64; then
   13251     # AIX 5 supports IA64
   13252     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13253     shlibpath_var=LD_LIBRARY_PATH
   13254   else
   13255     # With GCC up to 2.95.x, collect2 would create an import file
   13256     # for dependence libraries.  The import file would start with
   13257     # the line `#! .'.  This would cause the generated library to
   13258     # depend on `.', always an invalid library.  This was fixed in
   13259     # development snapshots of GCC prior to 3.0.
   13260     case $host_os in
   13261       aix4 | aix4.[01] | aix4.[01].*)
   13262       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13263 	   echo ' yes '
   13264 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13265 	:
   13266       else
   13267 	can_build_shared=no
   13268       fi
   13269       ;;
   13270     esac
   13271     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13272     # soname into executable. Probably we can add versioning support to
   13273     # collect2, so additional links can be useful in future.
   13274     if test "$aix_use_runtimelinking" = yes; then
   13275       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13276       # instead of lib<name>.a to let people know that these are not
   13277       # typical AIX shared libraries.
   13278       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13279     else
   13280       # We preserve .a as extension for shared libraries through AIX4.2
   13281       # and later when we are not doing run time linking.
   13282       library_names_spec='${libname}${release}.a $libname.a'
   13283       soname_spec='${libname}${release}${shared_ext}$major'
   13284     fi
   13285     shlibpath_var=LIBPATH
   13286   fi
   13287   ;;
   13288 
   13289 amigaos*)
   13290   library_names_spec='$libname.ixlibrary $libname.a'
   13291   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13292   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   13293   ;;
   13294 
   13295 beos*)
   13296   library_names_spec='${libname}${shared_ext}'
   13297   dynamic_linker="$host_os ld.so"
   13298   shlibpath_var=LIBRARY_PATH
   13299   ;;
   13300 
   13301 bsdi[45]*)
   13302   version_type=linux
   13303   need_version=no
   13304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13305   soname_spec='${libname}${release}${shared_ext}$major'
   13306   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13307   shlibpath_var=LD_LIBRARY_PATH
   13308   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13309   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13310   # the default ld.so.conf also contains /usr/contrib/lib and
   13311   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13312   # libtool to hard-code these into programs
   13313   ;;
   13314 
   13315 cygwin* | mingw* | pw32*)
   13316   version_type=windows
   13317   shrext_cmds=".dll"
   13318   need_version=no
   13319   need_lib_prefix=no
   13320 
   13321   case $GCC,$host_os in
   13322   yes,cygwin* | yes,mingw* | yes,pw32*)
   13323     library_names_spec='$libname.dll.a'
   13324     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13325     postinstall_cmds='base_file=`basename \${file}`~
   13326       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13327       dldir=$destdir/`dirname \$dlpath`~
   13328       test -d \$dldir || mkdir -p \$dldir~
   13329       $install_prog $dir/$dlname \$dldir/$dlname~
   13330       chmod a+x \$dldir/$dlname'
   13331     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13332       dlpath=$dir/\$dldll~
   13333        $rm \$dlpath'
   13334     shlibpath_overrides_runpath=yes
   13335 
   13336     case $host_os in
   13337     cygwin*)
   13338       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13339       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13340       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13341       ;;
   13342     mingw*)
   13343       # MinGW DLLs use traditional 'lib' prefix
   13344       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13345       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13346       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13347         # It is most probably a Windows format PATH printed by
   13348         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13349         # path with ; separators, and with drive letters. We can handle the
   13350         # drive letters (cygwin fileutils understands them), so leave them,
   13351         # especially as we might pass files found there to a mingw objdump,
   13352         # which wouldn't understand a cygwinified path. Ahh.
   13353         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13354       else
   13355         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13356       fi
   13357       ;;
   13358     pw32*)
   13359       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13360       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13361       ;;
   13362     esac
   13363     ;;
   13364 
   13365   *)
   13366     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13367     ;;
   13368   esac
   13369   dynamic_linker='Win32 ld.exe'
   13370   # FIXME: first we should search . and the directory the executable is in
   13371   shlibpath_var=PATH
   13372   ;;
   13373 
   13374 darwin* | rhapsody*)
   13375   dynamic_linker="$host_os dyld"
   13376   version_type=darwin
   13377   need_lib_prefix=no
   13378   need_version=no
   13379   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13380   soname_spec='${libname}${release}${major}$shared_ext'
   13381   shlibpath_overrides_runpath=yes
   13382   shlibpath_var=DYLD_LIBRARY_PATH
   13383   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13384 
   13385   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13386   ;;
   13387 
   13388 dgux*)
   13389   version_type=linux
   13390   need_lib_prefix=no
   13391   need_version=no
   13392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13393   soname_spec='${libname}${release}${shared_ext}$major'
   13394   shlibpath_var=LD_LIBRARY_PATH
   13395   ;;
   13396 
   13397 freebsd1*)
   13398   dynamic_linker=no
   13399   ;;
   13400 
   13401 freebsd* | dragonfly*)
   13402   # DragonFly does not have aout.  When/if they implement a new
   13403   # versioning mechanism, adjust this.
   13404   if test -x /usr/bin/objformat; then
   13405     objformat=`/usr/bin/objformat`
   13406   else
   13407     case $host_os in
   13408     freebsd[123]*) objformat=aout ;;
   13409     *) objformat=elf ;;
   13410     esac
   13411   fi
   13412   version_type=freebsd-$objformat
   13413   case $version_type in
   13414     freebsd-elf*)
   13415       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13416       need_version=no
   13417       need_lib_prefix=no
   13418       ;;
   13419     freebsd-*)
   13420       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13421       need_version=yes
   13422       ;;
   13423   esac
   13424   shlibpath_var=LD_LIBRARY_PATH
   13425   case $host_os in
   13426   freebsd2*)
   13427     shlibpath_overrides_runpath=yes
   13428     ;;
   13429   freebsd3.[01]* | freebsdelf3.[01]*)
   13430     shlibpath_overrides_runpath=yes
   13431     hardcode_into_libs=yes
   13432     ;;
   13433   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13434   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13435     shlibpath_overrides_runpath=no
   13436     hardcode_into_libs=yes
   13437     ;;
   13438   *) # from 4.6 on, and DragonFly
   13439     shlibpath_overrides_runpath=yes
   13440     hardcode_into_libs=yes
   13441     ;;
   13442   esac
   13443   ;;
   13444 
   13445 gnu*)
   13446   version_type=linux
   13447   need_lib_prefix=no
   13448   need_version=no
   13449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13450   soname_spec='${libname}${release}${shared_ext}$major'
   13451   shlibpath_var=LD_LIBRARY_PATH
   13452   hardcode_into_libs=yes
   13453   ;;
   13454 
   13455 hpux9* | hpux10* | hpux11*)
   13456   # Give a soname corresponding to the major version so that dld.sl refuses to
   13457   # link against other versions.
   13458   version_type=sunos
   13459   need_lib_prefix=no
   13460   need_version=no
   13461   case $host_cpu in
   13462   ia64*)
   13463     shrext_cmds='.so'
   13464     hardcode_into_libs=yes
   13465     dynamic_linker="$host_os dld.so"
   13466     shlibpath_var=LD_LIBRARY_PATH
   13467     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13468     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13469     soname_spec='${libname}${release}${shared_ext}$major'
   13470     if test "X$HPUX_IA64_MODE" = X32; then
   13471       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13472     else
   13473       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13474     fi
   13475     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13476     ;;
   13477    hppa*64*)
   13478      shrext_cmds='.sl'
   13479      hardcode_into_libs=yes
   13480      dynamic_linker="$host_os dld.sl"
   13481      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13482      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13483      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13484      soname_spec='${libname}${release}${shared_ext}$major'
   13485      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13486      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13487      ;;
   13488    *)
   13489     shrext_cmds='.sl'
   13490     dynamic_linker="$host_os dld.sl"
   13491     shlibpath_var=SHLIB_PATH
   13492     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13494     soname_spec='${libname}${release}${shared_ext}$major'
   13495     ;;
   13496   esac
   13497   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13498   postinstall_cmds='chmod 555 $lib'
   13499   ;;
   13500 
   13501 interix[3-9]*)
   13502   version_type=linux
   13503   need_lib_prefix=no
   13504   need_version=no
   13505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13506   soname_spec='${libname}${release}${shared_ext}$major'
   13507   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13508   shlibpath_var=LD_LIBRARY_PATH
   13509   shlibpath_overrides_runpath=no
   13510   hardcode_into_libs=yes
   13511   ;;
   13512 
   13513 irix5* | irix6* | nonstopux*)
   13514   case $host_os in
   13515     nonstopux*) version_type=nonstopux ;;
   13516     *)
   13517 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13518 		version_type=linux
   13519 	else
   13520 		version_type=irix
   13521 	fi ;;
   13522   esac
   13523   need_lib_prefix=no
   13524   need_version=no
   13525   soname_spec='${libname}${release}${shared_ext}$major'
   13526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13527   case $host_os in
   13528   irix5* | nonstopux*)
   13529     libsuff= shlibsuff=
   13530     ;;
   13531   *)
   13532     case $LD in # libtool.m4 will add one of these switches to LD
   13533     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13534       libsuff= shlibsuff= libmagic=32-bit;;
   13535     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13536       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13537     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13538       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13539     *) libsuff= shlibsuff= libmagic=never-match;;
   13540     esac
   13541     ;;
   13542   esac
   13543   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13544   shlibpath_overrides_runpath=no
   13545   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13546   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13547   hardcode_into_libs=yes
   13548   ;;
   13549 
   13550 # No shared lib support for Linux oldld, aout, or coff.
   13551 linux*oldld* | linux*aout* | linux*coff*)
   13552   dynamic_linker=no
   13553   ;;
   13554 
   13555 # This must be Linux ELF.
   13556 linux* | k*bsd*-gnu)
   13557   version_type=linux
   13558   need_lib_prefix=no
   13559   need_version=no
   13560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13561   soname_spec='${libname}${release}${shared_ext}$major'
   13562   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13563   shlibpath_var=LD_LIBRARY_PATH
   13564   shlibpath_overrides_runpath=no
   13565   # This implies no fast_install, which is unacceptable.
   13566   # Some rework will be needed to allow for fast_install
   13567   # before this can be enabled.
   13568   hardcode_into_libs=yes
   13569 
   13570   # Append ld.so.conf contents to the search path
   13571   if test -f /etc/ld.so.conf; then
   13572     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13573     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13574   fi
   13575 
   13576   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13577   # powerpc, because MkLinux only supported shared libraries with the
   13578   # GNU dynamic linker.  Since this was broken with cross compilers,
   13579   # most powerpc-linux boxes support dynamic linking these days and
   13580   # people can always --disable-shared, the test was removed, and we
   13581   # assume the GNU/Linux dynamic linker is in use.
   13582   dynamic_linker='GNU/Linux ld.so'
   13583   ;;
   13584 
   13585 netbsd*)
   13586   version_type=sunos
   13587   need_lib_prefix=no
   13588   need_version=no
   13589   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13590     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13591     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13592     dynamic_linker='NetBSD (a.out) ld.so'
   13593   else
   13594     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13595     soname_spec='${libname}${release}${shared_ext}$major'
   13596     dynamic_linker='NetBSD ld.elf_so'
   13597   fi
   13598   shlibpath_var=LD_LIBRARY_PATH
   13599   shlibpath_overrides_runpath=yes
   13600   hardcode_into_libs=yes
   13601   ;;
   13602 
   13603 newsos6)
   13604   version_type=linux
   13605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13606   shlibpath_var=LD_LIBRARY_PATH
   13607   shlibpath_overrides_runpath=yes
   13608   ;;
   13609 
   13610 nto-qnx*)
   13611   version_type=linux
   13612   need_lib_prefix=no
   13613   need_version=no
   13614   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13615   soname_spec='${libname}${release}${shared_ext}$major'
   13616   shlibpath_var=LD_LIBRARY_PATH
   13617   shlibpath_overrides_runpath=yes
   13618   ;;
   13619 
   13620 openbsd*)
   13621   version_type=sunos
   13622   sys_lib_dlsearch_path_spec="/usr/lib"
   13623   need_lib_prefix=no
   13624   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13625   case $host_os in
   13626     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13627     *)                         need_version=no  ;;
   13628   esac
   13629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13630   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13631   shlibpath_var=LD_LIBRARY_PATH
   13632   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13633     case $host_os in
   13634       openbsd2.[89] | openbsd2.[89].*)
   13635 	shlibpath_overrides_runpath=no
   13636 	;;
   13637       *)
   13638 	shlibpath_overrides_runpath=yes
   13639 	;;
   13640       esac
   13641   else
   13642     shlibpath_overrides_runpath=yes
   13643   fi
   13644   ;;
   13645 
   13646 os2*)
   13647   libname_spec='$name'
   13648   shrext_cmds=".dll"
   13649   need_lib_prefix=no
   13650   library_names_spec='$libname${shared_ext} $libname.a'
   13651   dynamic_linker='OS/2 ld.exe'
   13652   shlibpath_var=LIBPATH
   13653   ;;
   13654 
   13655 osf3* | osf4* | osf5*)
   13656   version_type=osf
   13657   need_lib_prefix=no
   13658   need_version=no
   13659   soname_spec='${libname}${release}${shared_ext}$major'
   13660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13661   shlibpath_var=LD_LIBRARY_PATH
   13662   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13663   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13664   ;;
   13665 
   13666 rdos*)
   13667   dynamic_linker=no
   13668   ;;
   13669 
   13670 solaris*)
   13671   version_type=linux
   13672   need_lib_prefix=no
   13673   need_version=no
   13674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13675   soname_spec='${libname}${release}${shared_ext}$major'
   13676   shlibpath_var=LD_LIBRARY_PATH
   13677   shlibpath_overrides_runpath=yes
   13678   hardcode_into_libs=yes
   13679   # ldd complains unless libraries are executable
   13680   postinstall_cmds='chmod +x $lib'
   13681   ;;
   13682 
   13683 sunos4*)
   13684   version_type=sunos
   13685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13686   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13687   shlibpath_var=LD_LIBRARY_PATH
   13688   shlibpath_overrides_runpath=yes
   13689   if test "$with_gnu_ld" = yes; then
   13690     need_lib_prefix=no
   13691   fi
   13692   need_version=yes
   13693   ;;
   13694 
   13695 sysv4 | sysv4.3*)
   13696   version_type=linux
   13697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13698   soname_spec='${libname}${release}${shared_ext}$major'
   13699   shlibpath_var=LD_LIBRARY_PATH
   13700   case $host_vendor in
   13701     sni)
   13702       shlibpath_overrides_runpath=no
   13703       need_lib_prefix=no
   13704       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13705       runpath_var=LD_RUN_PATH
   13706       ;;
   13707     siemens)
   13708       need_lib_prefix=no
   13709       ;;
   13710     motorola)
   13711       need_lib_prefix=no
   13712       need_version=no
   13713       shlibpath_overrides_runpath=no
   13714       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13715       ;;
   13716   esac
   13717   ;;
   13718 
   13719 sysv4*MP*)
   13720   if test -d /usr/nec ;then
   13721     version_type=linux
   13722     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13723     soname_spec='$libname${shared_ext}.$major'
   13724     shlibpath_var=LD_LIBRARY_PATH
   13725   fi
   13726   ;;
   13727 
   13728 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13729   version_type=freebsd-elf
   13730   need_lib_prefix=no
   13731   need_version=no
   13732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13733   soname_spec='${libname}${release}${shared_ext}$major'
   13734   shlibpath_var=LD_LIBRARY_PATH
   13735   hardcode_into_libs=yes
   13736   if test "$with_gnu_ld" = yes; then
   13737     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13738     shlibpath_overrides_runpath=no
   13739   else
   13740     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13741     shlibpath_overrides_runpath=yes
   13742     case $host_os in
   13743       sco3.2v5*)
   13744         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13745 	;;
   13746     esac
   13747   fi
   13748   sys_lib_dlsearch_path_spec='/usr/lib'
   13749   ;;
   13750 
   13751 uts4*)
   13752   version_type=linux
   13753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13754   soname_spec='${libname}${release}${shared_ext}$major'
   13755   shlibpath_var=LD_LIBRARY_PATH
   13756   ;;
   13757 
   13758 *)
   13759   dynamic_linker=no
   13760   ;;
   13761 esac
   13762 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13763 $as_echo "$dynamic_linker" >&6; }
   13764 test "$dynamic_linker" = no && can_build_shared=no
   13765 
   13766 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13767   $as_echo_n "(cached) " >&6
   13768 else
   13769   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13770 fi
   13771 
   13772 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13774   $as_echo_n "(cached) " >&6
   13775 else
   13776   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13777 fi
   13778 
   13779 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13780 
   13781 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13782 if test "$GCC" = yes; then
   13783   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13784 fi
   13785 
   13786 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13787 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13788 hardcode_action_CXX=
   13789 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13790    test -n "$runpath_var_CXX" || \
   13791    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13792 
   13793   # We can hardcode non-existant directories.
   13794   if test "$hardcode_direct_CXX" != no &&
   13795      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13796      # have to relink, otherwise we might link with an installed library
   13797      # when we should be linking with a yet-to-be-installed one
   13798      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13799      test "$hardcode_minus_L_CXX" != no; then
   13800     # Linking always hardcodes the temporary library directory.
   13801     hardcode_action_CXX=relink
   13802   else
   13803     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13804     hardcode_action_CXX=immediate
   13805   fi
   13806 else
   13807   # We cannot hardcode anything, or else we can only hardcode existing
   13808   # directories.
   13809   hardcode_action_CXX=unsupported
   13810 fi
   13811 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13812 $as_echo "$hardcode_action_CXX" >&6; }
   13813 
   13814 if test "$hardcode_action_CXX" = relink; then
   13815   # Fast installation is not supported
   13816   enable_fast_install=no
   13817 elif test "$shlibpath_overrides_runpath" = yes ||
   13818      test "$enable_shared" = no; then
   13819   # Fast installation is not necessary
   13820   enable_fast_install=needless
   13821 fi
   13822 
   13823 
   13824 # The else clause should only fire when bootstrapping the
   13825 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13826 # with your package, and you will get complaints that there are
   13827 # no rules to generate ltmain.sh.
   13828 if test -f "$ltmain"; then
   13829   # See if we are running on zsh, and set the options which allow our commands through
   13830   # without removal of \ escapes.
   13831   if test -n "${ZSH_VERSION+set}" ; then
   13832     setopt NO_GLOB_SUBST
   13833   fi
   13834   # Now quote all the things that may contain metacharacters while being
   13835   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13836   # variables and quote the copies for generation of the libtool script.
   13837   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13838     SED SHELL STRIP \
   13839     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13840     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13841     deplibs_check_method reload_flag reload_cmds need_locks \
   13842     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13843     lt_cv_sys_global_symbol_to_c_name_address \
   13844     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13845     old_postinstall_cmds old_postuninstall_cmds \
   13846     compiler_CXX \
   13847     CC_CXX \
   13848     LD_CXX \
   13849     lt_prog_compiler_wl_CXX \
   13850     lt_prog_compiler_pic_CXX \
   13851     lt_prog_compiler_static_CXX \
   13852     lt_prog_compiler_no_builtin_flag_CXX \
   13853     export_dynamic_flag_spec_CXX \
   13854     thread_safe_flag_spec_CXX \
   13855     whole_archive_flag_spec_CXX \
   13856     enable_shared_with_static_runtimes_CXX \
   13857     old_archive_cmds_CXX \
   13858     old_archive_from_new_cmds_CXX \
   13859     predep_objects_CXX \
   13860     postdep_objects_CXX \
   13861     predeps_CXX \
   13862     postdeps_CXX \
   13863     compiler_lib_search_path_CXX \
   13864     compiler_lib_search_dirs_CXX \
   13865     archive_cmds_CXX \
   13866     archive_expsym_cmds_CXX \
   13867     postinstall_cmds_CXX \
   13868     postuninstall_cmds_CXX \
   13869     old_archive_from_expsyms_cmds_CXX \
   13870     allow_undefined_flag_CXX \
   13871     no_undefined_flag_CXX \
   13872     export_symbols_cmds_CXX \
   13873     hardcode_libdir_flag_spec_CXX \
   13874     hardcode_libdir_flag_spec_ld_CXX \
   13875     hardcode_libdir_separator_CXX \
   13876     hardcode_automatic_CXX \
   13877     module_cmds_CXX \
   13878     module_expsym_cmds_CXX \
   13879     lt_cv_prog_compiler_c_o_CXX \
   13880     fix_srcfile_path_CXX \
   13881     exclude_expsyms_CXX \
   13882     include_expsyms_CXX; do
   13883 
   13884     case $var in
   13885     old_archive_cmds_CXX | \
   13886     old_archive_from_new_cmds_CXX | \
   13887     archive_cmds_CXX | \
   13888     archive_expsym_cmds_CXX | \
   13889     module_cmds_CXX | \
   13890     module_expsym_cmds_CXX | \
   13891     old_archive_from_expsyms_cmds_CXX | \
   13892     export_symbols_cmds_CXX | \
   13893     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13894     postinstall_cmds | postuninstall_cmds | \
   13895     old_postinstall_cmds | old_postuninstall_cmds | \
   13896     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13897       # Double-quote double-evaled strings.
   13898       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13899       ;;
   13900     *)
   13901       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13902       ;;
   13903     esac
   13904   done
   13905 
   13906   case $lt_echo in
   13907   *'\$0 --fallback-echo"')
   13908     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13909     ;;
   13910   esac
   13911 
   13912 cfgfile="$ofile"
   13913 
   13914   cat <<__EOF__ >> "$cfgfile"
   13915 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13916 
   13917 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13918 
   13919 # Shell to use when invoking shell scripts.
   13920 SHELL=$lt_SHELL
   13921 
   13922 # Whether or not to build shared libraries.
   13923 build_libtool_libs=$enable_shared
   13924 
   13925 # Whether or not to build static libraries.
   13926 build_old_libs=$enable_static
   13927 
   13928 # Whether or not to add -lc for building shared libraries.
   13929 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13930 
   13931 # Whether or not to disallow shared libs when runtime libs are static
   13932 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13933 
   13934 # Whether or not to optimize for fast installation.
   13935 fast_install=$enable_fast_install
   13936 
   13937 # The host system.
   13938 host_alias=$host_alias
   13939 host=$host
   13940 host_os=$host_os
   13941 
   13942 # The build system.
   13943 build_alias=$build_alias
   13944 build=$build
   13945 build_os=$build_os
   13946 
   13947 # An echo program that does not interpret backslashes.
   13948 echo=$lt_echo
   13949 
   13950 # The archiver.
   13951 AR=$lt_AR
   13952 AR_FLAGS=$lt_AR_FLAGS
   13953 
   13954 # A C compiler.
   13955 LTCC=$lt_LTCC
   13956 
   13957 # LTCC compiler flags.
   13958 LTCFLAGS=$lt_LTCFLAGS
   13959 
   13960 # A language-specific compiler.
   13961 CC=$lt_compiler_CXX
   13962 
   13963 # Is the compiler the GNU C compiler?
   13964 with_gcc=$GCC_CXX
   13965 
   13966 # An ERE matcher.
   13967 EGREP=$lt_EGREP
   13968 
   13969 # The linker used to build libraries.
   13970 LD=$lt_LD_CXX
   13971 
   13972 # Whether we need hard or soft links.
   13973 LN_S=$lt_LN_S
   13974 
   13975 # A BSD-compatible nm program.
   13976 NM=$lt_NM
   13977 
   13978 # A symbol stripping program
   13979 STRIP=$lt_STRIP
   13980 
   13981 # Used to examine libraries when file_magic_cmd begins "file"
   13982 MAGIC_CMD=$MAGIC_CMD
   13983 
   13984 # Used on cygwin: DLL creation program.
   13985 DLLTOOL="$DLLTOOL"
   13986 
   13987 # Used on cygwin: object dumper.
   13988 OBJDUMP="$OBJDUMP"
   13989 
   13990 # Used on cygwin: assembler.
   13991 AS="$AS"
   13992 
   13993 # The name of the directory that contains temporary libtool files.
   13994 objdir=$objdir
   13995 
   13996 # How to create reloadable object files.
   13997 reload_flag=$lt_reload_flag
   13998 reload_cmds=$lt_reload_cmds
   13999 
   14000 # How to pass a linker flag through the compiler.
   14001 wl=$lt_lt_prog_compiler_wl_CXX
   14002 
   14003 # Object file suffix (normally "o").
   14004 objext="$ac_objext"
   14005 
   14006 # Old archive suffix (normally "a").
   14007 libext="$libext"
   14008 
   14009 # Shared library suffix (normally ".so").
   14010 shrext_cmds='$shrext_cmds'
   14011 
   14012 # Executable file suffix (normally "").
   14013 exeext="$exeext"
   14014 
   14015 # Additional compiler flags for building library objects.
   14016 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14017 pic_mode=$pic_mode
   14018 
   14019 # What is the maximum length of a command?
   14020 max_cmd_len=$lt_cv_sys_max_cmd_len
   14021 
   14022 # Does compiler simultaneously support -c and -o options?
   14023 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14024 
   14025 # Must we lock files when doing compilation?
   14026 need_locks=$lt_need_locks
   14027 
   14028 # Do we need the lib prefix for modules?
   14029 need_lib_prefix=$need_lib_prefix
   14030 
   14031 # Do we need a version for libraries?
   14032 need_version=$need_version
   14033 
   14034 # Whether dlopen is supported.
   14035 dlopen_support=$enable_dlopen
   14036 
   14037 # Whether dlopen of programs is supported.
   14038 dlopen_self=$enable_dlopen_self
   14039 
   14040 # Whether dlopen of statically linked programs is supported.
   14041 dlopen_self_static=$enable_dlopen_self_static
   14042 
   14043 # Compiler flag to prevent dynamic linking.
   14044 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14045 
   14046 # Compiler flag to turn off builtin functions.
   14047 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14048 
   14049 # Compiler flag to allow reflexive dlopens.
   14050 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14051 
   14052 # Compiler flag to generate shared objects directly from archives.
   14053 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14054 
   14055 # Compiler flag to generate thread-safe objects.
   14056 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14057 
   14058 # Library versioning type.
   14059 version_type=$version_type
   14060 
   14061 # Format of library name prefix.
   14062 libname_spec=$lt_libname_spec
   14063 
   14064 # List of archive names.  First name is the real one, the rest are links.
   14065 # The last name is the one that the linker finds with -lNAME.
   14066 library_names_spec=$lt_library_names_spec
   14067 
   14068 # The coded name of the library, if different from the real name.
   14069 soname_spec=$lt_soname_spec
   14070 
   14071 # Commands used to build and install an old-style archive.
   14072 RANLIB=$lt_RANLIB
   14073 old_archive_cmds=$lt_old_archive_cmds_CXX
   14074 old_postinstall_cmds=$lt_old_postinstall_cmds
   14075 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14076 
   14077 # Create an old-style archive from a shared archive.
   14078 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14079 
   14080 # Create a temporary old-style archive to link instead of a shared archive.
   14081 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14082 
   14083 # Commands used to build and install a shared archive.
   14084 archive_cmds=$lt_archive_cmds_CXX
   14085 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14086 postinstall_cmds=$lt_postinstall_cmds
   14087 postuninstall_cmds=$lt_postuninstall_cmds
   14088 
   14089 # Commands used to build a loadable module (assumed same as above if empty)
   14090 module_cmds=$lt_module_cmds_CXX
   14091 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14092 
   14093 # Commands to strip libraries.
   14094 old_striplib=$lt_old_striplib
   14095 striplib=$lt_striplib
   14096 
   14097 # Dependencies to place before the objects being linked to create a
   14098 # shared library.
   14099 predep_objects=$lt_predep_objects_CXX
   14100 
   14101 # Dependencies to place after the objects being linked to create a
   14102 # shared library.
   14103 postdep_objects=$lt_postdep_objects_CXX
   14104 
   14105 # Dependencies to place before the objects being linked to create a
   14106 # shared library.
   14107 predeps=$lt_predeps_CXX
   14108 
   14109 # Dependencies to place after the objects being linked to create a
   14110 # shared library.
   14111 postdeps=$lt_postdeps_CXX
   14112 
   14113 # The directories searched by this compiler when creating a shared
   14114 # library
   14115 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14116 
   14117 # The library search path used internally by the compiler when linking
   14118 # a shared library.
   14119 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14120 
   14121 # Method to check whether dependent libraries are shared objects.
   14122 deplibs_check_method=$lt_deplibs_check_method
   14123 
   14124 # Command to use when deplibs_check_method == file_magic.
   14125 file_magic_cmd=$lt_file_magic_cmd
   14126 
   14127 # Flag that allows shared libraries with undefined symbols to be built.
   14128 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14129 
   14130 # Flag that forces no undefined symbols.
   14131 no_undefined_flag=$lt_no_undefined_flag_CXX
   14132 
   14133 # Commands used to finish a libtool library installation in a directory.
   14134 finish_cmds=$lt_finish_cmds
   14135 
   14136 # Same as above, but a single script fragment to be evaled but not shown.
   14137 finish_eval=$lt_finish_eval
   14138 
   14139 # Take the output of nm and produce a listing of raw symbols and C names.
   14140 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14141 
   14142 # Transform the output of nm in a proper C declaration
   14143 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14144 
   14145 # Transform the output of nm in a C name address pair
   14146 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14147 
   14148 # This is the shared library runtime path variable.
   14149 runpath_var=$runpath_var
   14150 
   14151 # This is the shared library path variable.
   14152 shlibpath_var=$shlibpath_var
   14153 
   14154 # Is shlibpath searched before the hard-coded library search path?
   14155 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14156 
   14157 # How to hardcode a shared library path into an executable.
   14158 hardcode_action=$hardcode_action_CXX
   14159 
   14160 # Whether we should hardcode library paths into libraries.
   14161 hardcode_into_libs=$hardcode_into_libs
   14162 
   14163 # Flag to hardcode \$libdir into a binary during linking.
   14164 # This must work even if \$libdir does not exist.
   14165 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14166 
   14167 # If ld is used when linking, flag to hardcode \$libdir into
   14168 # a binary during linking. This must work even if \$libdir does
   14169 # not exist.
   14170 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14171 
   14172 # Whether we need a single -rpath flag with a separated argument.
   14173 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14174 
   14175 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14176 # resulting binary.
   14177 hardcode_direct=$hardcode_direct_CXX
   14178 
   14179 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14180 # resulting binary.
   14181 hardcode_minus_L=$hardcode_minus_L_CXX
   14182 
   14183 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14184 # the resulting binary.
   14185 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14186 
   14187 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14188 # and all subsequent libraries and executables linked against it.
   14189 hardcode_automatic=$hardcode_automatic_CXX
   14190 
   14191 # Variables whose values should be saved in libtool wrapper scripts and
   14192 # restored at relink time.
   14193 variables_saved_for_relink="$variables_saved_for_relink"
   14194 
   14195 # Whether libtool must link a program against all its dependency libraries.
   14196 link_all_deplibs=$link_all_deplibs_CXX
   14197 
   14198 # Compile-time system search path for libraries
   14199 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14200 
   14201 # Run-time system search path for libraries
   14202 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14203 
   14204 # Fix the shell variable \$srcfile for the compiler.
   14205 fix_srcfile_path=$lt_fix_srcfile_path
   14206 
   14207 # Set to yes if exported symbols are required.
   14208 always_export_symbols=$always_export_symbols_CXX
   14209 
   14210 # The commands to list exported symbols.
   14211 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14212 
   14213 # The commands to extract the exported symbol list from a shared archive.
   14214 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14215 
   14216 # Symbols that should not be listed in the preloaded symbols.
   14217 exclude_expsyms=$lt_exclude_expsyms_CXX
   14218 
   14219 # Symbols that must always be exported.
   14220 include_expsyms=$lt_include_expsyms_CXX
   14221 
   14222 # ### END LIBTOOL TAG CONFIG: $tagname
   14223 
   14224 __EOF__
   14225 
   14226 
   14227 else
   14228   # If there is no Makefile yet, we rely on a make rule to execute
   14229   # `config.status --recheck' to rerun these tests and create the
   14230   # libtool script then.
   14231   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14232   if test -f "$ltmain_in"; then
   14233     test -f Makefile && make "$ltmain"
   14234   fi
   14235 fi
   14236 
   14237 
   14238 ac_ext=c
   14239 ac_cpp='$CPP $CPPFLAGS'
   14240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14243 
   14244 CC=$lt_save_CC
   14245 LDCXX=$LD
   14246 LD=$lt_save_LD
   14247 GCC=$lt_save_GCC
   14248 with_gnu_ldcxx=$with_gnu_ld
   14249 with_gnu_ld=$lt_save_with_gnu_ld
   14250 lt_cv_path_LDCXX=$lt_cv_path_LD
   14251 lt_cv_path_LD=$lt_save_path_LD
   14252 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14253 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14254 
   14255 	else
   14256 	  tagname=""
   14257 	fi
   14258 	;;
   14259 
   14260       F77)
   14261 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14262 
   14263 ac_ext=f
   14264 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14265 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14266 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14267 
   14268 
   14269 archive_cmds_need_lc_F77=no
   14270 allow_undefined_flag_F77=
   14271 always_export_symbols_F77=no
   14272 archive_expsym_cmds_F77=
   14273 export_dynamic_flag_spec_F77=
   14274 hardcode_direct_F77=no
   14275 hardcode_libdir_flag_spec_F77=
   14276 hardcode_libdir_flag_spec_ld_F77=
   14277 hardcode_libdir_separator_F77=
   14278 hardcode_minus_L_F77=no
   14279 hardcode_automatic_F77=no
   14280 module_cmds_F77=
   14281 module_expsym_cmds_F77=
   14282 link_all_deplibs_F77=unknown
   14283 old_archive_cmds_F77=$old_archive_cmds
   14284 no_undefined_flag_F77=
   14285 whole_archive_flag_spec_F77=
   14286 enable_shared_with_static_runtimes_F77=no
   14287 
   14288 # Source file extension for f77 test sources.
   14289 ac_ext=f
   14290 
   14291 # Object file extension for compiled f77 test sources.
   14292 objext=o
   14293 objext_F77=$objext
   14294 
   14295 # Code to be used in simple compile tests
   14296 lt_simple_compile_test_code="\
   14297       subroutine t
   14298       return
   14299       end
   14300 "
   14301 
   14302 # Code to be used in simple link tests
   14303 lt_simple_link_test_code="\
   14304       program t
   14305       end
   14306 "
   14307 
   14308 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14309 
   14310 # If no C compiler was specified, use CC.
   14311 LTCC=${LTCC-"$CC"}
   14312 
   14313 # If no C compiler flags were specified, use CFLAGS.
   14314 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14315 
   14316 # Allow CC to be a program name with arguments.
   14317 compiler=$CC
   14318 
   14319 
   14320 # save warnings/boilerplate of simple test code
   14321 ac_outfile=conftest.$ac_objext
   14322 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14323 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14324 _lt_compiler_boilerplate=`cat conftest.err`
   14325 $rm conftest*
   14326 
   14327 ac_outfile=conftest.$ac_objext
   14328 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14329 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14330 _lt_linker_boilerplate=`cat conftest.err`
   14331 $rm -r conftest*
   14332 
   14333 
   14334 # Allow CC to be a program name with arguments.
   14335 lt_save_CC="$CC"
   14336 CC=${F77-"f77"}
   14337 compiler=$CC
   14338 compiler_F77=$CC
   14339 for cc_temp in $compiler""; do
   14340   case $cc_temp in
   14341     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14342     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14343     \-*) ;;
   14344     *) break;;
   14345   esac
   14346 done
   14347 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14348 
   14349 
   14350 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14351 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14352 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14353 $as_echo "$can_build_shared" >&6; }
   14354 
   14355 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14356 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14357 test "$can_build_shared" = "no" && enable_shared=no
   14358 
   14359 # On AIX, shared libraries and static libraries use the same namespace, and
   14360 # are all built from PIC.
   14361 case $host_os in
   14362 aix3*)
   14363   test "$enable_shared" = yes && enable_static=no
   14364   if test -n "$RANLIB"; then
   14365     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14366     postinstall_cmds='$RANLIB $lib'
   14367   fi
   14368   ;;
   14369 aix[4-9]*)
   14370   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14371     test "$enable_shared" = yes && enable_static=no
   14372   fi
   14373   ;;
   14374 esac
   14375 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14376 $as_echo "$enable_shared" >&6; }
   14377 
   14378 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14379 $as_echo_n "checking whether to build static libraries... " >&6; }
   14380 # Make sure either enable_shared or enable_static is yes.
   14381 test "$enable_shared" = yes || enable_static=yes
   14382 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14383 $as_echo "$enable_static" >&6; }
   14384 
   14385 GCC_F77="$G77"
   14386 LD_F77="$LD"
   14387 
   14388 lt_prog_compiler_wl_F77=
   14389 lt_prog_compiler_pic_F77=
   14390 lt_prog_compiler_static_F77=
   14391 
   14392 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14393 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14394 
   14395   if test "$GCC" = yes; then
   14396     lt_prog_compiler_wl_F77='-Wl,'
   14397     lt_prog_compiler_static_F77='-static'
   14398 
   14399     case $host_os in
   14400       aix*)
   14401       # All AIX code is PIC.
   14402       if test "$host_cpu" = ia64; then
   14403 	# AIX 5 now supports IA64 processor
   14404 	lt_prog_compiler_static_F77='-Bstatic'
   14405       fi
   14406       ;;
   14407 
   14408     amigaos*)
   14409       # FIXME: we need at least 68020 code to build shared libraries, but
   14410       # adding the `-m68020' flag to GCC prevents building anything better,
   14411       # like `-m68040'.
   14412       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14413       ;;
   14414 
   14415     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14416       # PIC is the default for these OSes.
   14417       ;;
   14418 
   14419     mingw* | cygwin* | pw32* | os2*)
   14420       # This hack is so that the source file can tell whether it is being
   14421       # built for inclusion in a dll (and should export symbols for example).
   14422       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14423       # (--disable-auto-import) libraries
   14424       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14425       ;;
   14426 
   14427     darwin* | rhapsody*)
   14428       # PIC is the default on this platform
   14429       # Common symbols not allowed in MH_DYLIB files
   14430       lt_prog_compiler_pic_F77='-fno-common'
   14431       ;;
   14432 
   14433     interix[3-9]*)
   14434       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14435       # Instead, we relocate shared libraries at runtime.
   14436       ;;
   14437 
   14438     msdosdjgpp*)
   14439       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14440       # on systems that don't support them.
   14441       lt_prog_compiler_can_build_shared_F77=no
   14442       enable_shared=no
   14443       ;;
   14444 
   14445     sysv4*MP*)
   14446       if test -d /usr/nec; then
   14447 	lt_prog_compiler_pic_F77=-Kconform_pic
   14448       fi
   14449       ;;
   14450 
   14451     hpux*)
   14452       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14453       # not for PA HP-UX.
   14454       case $host_cpu in
   14455       hppa*64*|ia64*)
   14456 	# +Z the default
   14457 	;;
   14458       *)
   14459 	lt_prog_compiler_pic_F77='-fPIC'
   14460 	;;
   14461       esac
   14462       ;;
   14463 
   14464     *)
   14465       lt_prog_compiler_pic_F77='-fPIC'
   14466       ;;
   14467     esac
   14468   else
   14469     # PORTME Check for flag to pass linker flags through the system compiler.
   14470     case $host_os in
   14471     aix*)
   14472       lt_prog_compiler_wl_F77='-Wl,'
   14473       if test "$host_cpu" = ia64; then
   14474 	# AIX 5 now supports IA64 processor
   14475 	lt_prog_compiler_static_F77='-Bstatic'
   14476       else
   14477 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14478       fi
   14479       ;;
   14480       darwin*)
   14481         # PIC is the default on this platform
   14482         # Common symbols not allowed in MH_DYLIB files
   14483        case $cc_basename in
   14484          xlc*)
   14485          lt_prog_compiler_pic_F77='-qnocommon'
   14486          lt_prog_compiler_wl_F77='-Wl,'
   14487          ;;
   14488        esac
   14489        ;;
   14490 
   14491     mingw* | cygwin* | pw32* | os2*)
   14492       # This hack is so that the source file can tell whether it is being
   14493       # built for inclusion in a dll (and should export symbols for example).
   14494       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14495       ;;
   14496 
   14497     hpux9* | hpux10* | hpux11*)
   14498       lt_prog_compiler_wl_F77='-Wl,'
   14499       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14500       # not for PA HP-UX.
   14501       case $host_cpu in
   14502       hppa*64*|ia64*)
   14503 	# +Z the default
   14504 	;;
   14505       *)
   14506 	lt_prog_compiler_pic_F77='+Z'
   14507 	;;
   14508       esac
   14509       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14510       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14511       ;;
   14512 
   14513     irix5* | irix6* | nonstopux*)
   14514       lt_prog_compiler_wl_F77='-Wl,'
   14515       # PIC (with -KPIC) is the default.
   14516       lt_prog_compiler_static_F77='-non_shared'
   14517       ;;
   14518 
   14519     newsos6)
   14520       lt_prog_compiler_pic_F77='-KPIC'
   14521       lt_prog_compiler_static_F77='-Bstatic'
   14522       ;;
   14523 
   14524     linux* | k*bsd*-gnu)
   14525       case $cc_basename in
   14526       icc* | ecc*)
   14527 	lt_prog_compiler_wl_F77='-Wl,'
   14528 	lt_prog_compiler_pic_F77='-KPIC'
   14529 	lt_prog_compiler_static_F77='-static'
   14530         ;;
   14531       pgcc* | pgf77* | pgf90* | pgf95*)
   14532         # Portland Group compilers (*not* the Pentium gcc compiler,
   14533 	# which looks to be a dead project)
   14534 	lt_prog_compiler_wl_F77='-Wl,'
   14535 	lt_prog_compiler_pic_F77='-fpic'
   14536 	lt_prog_compiler_static_F77='-Bstatic'
   14537         ;;
   14538       ccc*)
   14539         lt_prog_compiler_wl_F77='-Wl,'
   14540         # All Alpha code is PIC.
   14541         lt_prog_compiler_static_F77='-non_shared'
   14542         ;;
   14543       *)
   14544         case `$CC -V 2>&1 | sed 5q` in
   14545 	*Sun\ C*)
   14546 	  # Sun C 5.9
   14547 	  lt_prog_compiler_pic_F77='-KPIC'
   14548 	  lt_prog_compiler_static_F77='-Bstatic'
   14549 	  lt_prog_compiler_wl_F77='-Wl,'
   14550 	  ;;
   14551 	*Sun\ F*)
   14552 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14553 	  lt_prog_compiler_pic_F77='-KPIC'
   14554 	  lt_prog_compiler_static_F77='-Bstatic'
   14555 	  lt_prog_compiler_wl_F77=''
   14556 	  ;;
   14557 	esac
   14558 	;;
   14559       esac
   14560       ;;
   14561 
   14562     osf3* | osf4* | osf5*)
   14563       lt_prog_compiler_wl_F77='-Wl,'
   14564       # All OSF/1 code is PIC.
   14565       lt_prog_compiler_static_F77='-non_shared'
   14566       ;;
   14567 
   14568     rdos*)
   14569       lt_prog_compiler_static_F77='-non_shared'
   14570       ;;
   14571 
   14572     solaris*)
   14573       lt_prog_compiler_pic_F77='-KPIC'
   14574       lt_prog_compiler_static_F77='-Bstatic'
   14575       case $cc_basename in
   14576       f77* | f90* | f95*)
   14577 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14578       *)
   14579 	lt_prog_compiler_wl_F77='-Wl,';;
   14580       esac
   14581       ;;
   14582 
   14583     sunos4*)
   14584       lt_prog_compiler_wl_F77='-Qoption ld '
   14585       lt_prog_compiler_pic_F77='-PIC'
   14586       lt_prog_compiler_static_F77='-Bstatic'
   14587       ;;
   14588 
   14589     sysv4 | sysv4.2uw2* | sysv4.3*)
   14590       lt_prog_compiler_wl_F77='-Wl,'
   14591       lt_prog_compiler_pic_F77='-KPIC'
   14592       lt_prog_compiler_static_F77='-Bstatic'
   14593       ;;
   14594 
   14595     sysv4*MP*)
   14596       if test -d /usr/nec ;then
   14597 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14598 	lt_prog_compiler_static_F77='-Bstatic'
   14599       fi
   14600       ;;
   14601 
   14602     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14603       lt_prog_compiler_wl_F77='-Wl,'
   14604       lt_prog_compiler_pic_F77='-KPIC'
   14605       lt_prog_compiler_static_F77='-Bstatic'
   14606       ;;
   14607 
   14608     unicos*)
   14609       lt_prog_compiler_wl_F77='-Wl,'
   14610       lt_prog_compiler_can_build_shared_F77=no
   14611       ;;
   14612 
   14613     uts4*)
   14614       lt_prog_compiler_pic_F77='-pic'
   14615       lt_prog_compiler_static_F77='-Bstatic'
   14616       ;;
   14617 
   14618     *)
   14619       lt_prog_compiler_can_build_shared_F77=no
   14620       ;;
   14621     esac
   14622   fi
   14623 
   14624 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14625 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14626 
   14627 #
   14628 # Check to make sure the PIC flag actually works.
   14629 #
   14630 if test -n "$lt_prog_compiler_pic_F77"; then
   14631 
   14632 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14633 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14634 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14635   $as_echo_n "(cached) " >&6
   14636 else
   14637   lt_cv_prog_compiler_pic_works_F77=no
   14638   ac_outfile=conftest.$ac_objext
   14639    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14640    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14641    # Insert the option either (1) after the last *FLAGS variable, or
   14642    # (2) before a word containing "conftest.", or (3) at the end.
   14643    # Note that $ac_compile itself does not contain backslashes and begins
   14644    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14645    # The option is referenced via a variable to avoid confusing sed.
   14646    lt_compile=`echo "$ac_compile" | $SED \
   14647    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14648    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14649    -e 's:$: $lt_compiler_flag:'`
   14650    (eval echo "\"\$as_me:14650: $lt_compile\"" >&5)
   14651    (eval "$lt_compile" 2>conftest.err)
   14652    ac_status=$?
   14653    cat conftest.err >&5
   14654    echo "$as_me:14654: \$? = $ac_status" >&5
   14655    if (exit $ac_status) && test -s "$ac_outfile"; then
   14656      # The compiler can only warn and ignore the option if not recognized
   14657      # So say no if there are warnings other than the usual output.
   14658      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14659      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14660      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14661        lt_cv_prog_compiler_pic_works_F77=yes
   14662      fi
   14663    fi
   14664    $rm conftest*
   14665 
   14666 fi
   14667 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14668 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14669 
   14670 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14671     case $lt_prog_compiler_pic_F77 in
   14672      "" | " "*) ;;
   14673      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14674      esac
   14675 else
   14676     lt_prog_compiler_pic_F77=
   14677      lt_prog_compiler_can_build_shared_F77=no
   14678 fi
   14679 
   14680 fi
   14681 case $host_os in
   14682   # For platforms which do not support PIC, -DPIC is meaningless:
   14683   *djgpp*)
   14684     lt_prog_compiler_pic_F77=
   14685     ;;
   14686   *)
   14687     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14688     ;;
   14689 esac
   14690 
   14691 #
   14692 # Check to make sure the static flag actually works.
   14693 #
   14694 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14695 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14696 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14697 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14698   $as_echo_n "(cached) " >&6
   14699 else
   14700   lt_cv_prog_compiler_static_works_F77=no
   14701    save_LDFLAGS="$LDFLAGS"
   14702    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14703    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14704    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14705      # The linker can only warn and ignore the option if not recognized
   14706      # So say no if there are warnings
   14707      if test -s conftest.err; then
   14708        # Append any errors to the config.log.
   14709        cat conftest.err 1>&5
   14710        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14711        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14712        if diff conftest.exp conftest.er2 >/dev/null; then
   14713          lt_cv_prog_compiler_static_works_F77=yes
   14714        fi
   14715      else
   14716        lt_cv_prog_compiler_static_works_F77=yes
   14717      fi
   14718    fi
   14719    $rm -r conftest*
   14720    LDFLAGS="$save_LDFLAGS"
   14721 
   14722 fi
   14723 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14724 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14725 
   14726 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14727     :
   14728 else
   14729     lt_prog_compiler_static_F77=
   14730 fi
   14731 
   14732 
   14733 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14734 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14735 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14736   $as_echo_n "(cached) " >&6
   14737 else
   14738   lt_cv_prog_compiler_c_o_F77=no
   14739    $rm -r conftest 2>/dev/null
   14740    mkdir conftest
   14741    cd conftest
   14742    mkdir out
   14743    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14744 
   14745    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14746    # Insert the option either (1) after the last *FLAGS variable, or
   14747    # (2) before a word containing "conftest.", or (3) at the end.
   14748    # Note that $ac_compile itself does not contain backslashes and begins
   14749    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14750    lt_compile=`echo "$ac_compile" | $SED \
   14751    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14752    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14753    -e 's:$: $lt_compiler_flag:'`
   14754    (eval echo "\"\$as_me:14754: $lt_compile\"" >&5)
   14755    (eval "$lt_compile" 2>out/conftest.err)
   14756    ac_status=$?
   14757    cat out/conftest.err >&5
   14758    echo "$as_me:14758: \$? = $ac_status" >&5
   14759    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14760    then
   14761      # The compiler can only warn and ignore the option if not recognized
   14762      # So say no if there are warnings
   14763      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14764      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14765      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14766        lt_cv_prog_compiler_c_o_F77=yes
   14767      fi
   14768    fi
   14769    chmod u+w . 2>&5
   14770    $rm conftest*
   14771    # SGI C++ compiler will create directory out/ii_files/ for
   14772    # template instantiation
   14773    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14774    $rm out/* && rmdir out
   14775    cd ..
   14776    rmdir conftest
   14777    $rm conftest*
   14778 
   14779 fi
   14780 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14781 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14782 
   14783 
   14784 hard_links="nottested"
   14785 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14786   # do not overwrite the value of need_locks provided by the user
   14787   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14788 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14789   hard_links=yes
   14790   $rm conftest*
   14791   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14792   touch conftest.a
   14793   ln conftest.a conftest.b 2>&5 || hard_links=no
   14794   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14795   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14796 $as_echo "$hard_links" >&6; }
   14797   if test "$hard_links" = no; then
   14798     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14799 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14800     need_locks=warn
   14801   fi
   14802 else
   14803   need_locks=no
   14804 fi
   14805 
   14806 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14807 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14808 
   14809   runpath_var=
   14810   allow_undefined_flag_F77=
   14811   enable_shared_with_static_runtimes_F77=no
   14812   archive_cmds_F77=
   14813   archive_expsym_cmds_F77=
   14814   old_archive_From_new_cmds_F77=
   14815   old_archive_from_expsyms_cmds_F77=
   14816   export_dynamic_flag_spec_F77=
   14817   whole_archive_flag_spec_F77=
   14818   thread_safe_flag_spec_F77=
   14819   hardcode_libdir_flag_spec_F77=
   14820   hardcode_libdir_flag_spec_ld_F77=
   14821   hardcode_libdir_separator_F77=
   14822   hardcode_direct_F77=no
   14823   hardcode_minus_L_F77=no
   14824   hardcode_shlibpath_var_F77=unsupported
   14825   link_all_deplibs_F77=unknown
   14826   hardcode_automatic_F77=no
   14827   module_cmds_F77=
   14828   module_expsym_cmds_F77=
   14829   always_export_symbols_F77=no
   14830   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14831   # include_expsyms should be a list of space-separated symbols to be *always*
   14832   # included in the symbol list
   14833   include_expsyms_F77=
   14834   # exclude_expsyms can be an extended regexp of symbols to exclude
   14835   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14836   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14837   # as well as any symbol that contains `d'.
   14838   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14839   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14840   # platforms (ab)use it in PIC code, but their linkers get confused if
   14841   # the symbol is explicitly referenced.  Since portable code cannot
   14842   # rely on this symbol name, it's probably fine to never include it in
   14843   # preloaded symbol tables.
   14844   # Exclude shared library initialization/finalization symbols.
   14845   extract_expsyms_cmds=
   14846   # Just being paranoid about ensuring that cc_basename is set.
   14847   for cc_temp in $compiler""; do
   14848   case $cc_temp in
   14849     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14850     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14851     \-*) ;;
   14852     *) break;;
   14853   esac
   14854 done
   14855 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14856 
   14857   case $host_os in
   14858   cygwin* | mingw* | pw32*)
   14859     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14860     # When not using gcc, we currently assume that we are using
   14861     # Microsoft Visual C++.
   14862     if test "$GCC" != yes; then
   14863       with_gnu_ld=no
   14864     fi
   14865     ;;
   14866   interix*)
   14867     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14868     with_gnu_ld=yes
   14869     ;;
   14870   openbsd*)
   14871     with_gnu_ld=no
   14872     ;;
   14873   esac
   14874 
   14875   ld_shlibs_F77=yes
   14876   if test "$with_gnu_ld" = yes; then
   14877     # If archive_cmds runs LD, not CC, wlarc should be empty
   14878     wlarc='${wl}'
   14879 
   14880     # Set some defaults for GNU ld with shared library support. These
   14881     # are reset later if shared libraries are not supported. Putting them
   14882     # here allows them to be overridden if necessary.
   14883     runpath_var=LD_RUN_PATH
   14884     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14885     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14886     # ancient GNU ld didn't support --whole-archive et. al.
   14887     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14888 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14889       else
   14890   	whole_archive_flag_spec_F77=
   14891     fi
   14892     supports_anon_versioning=no
   14893     case `$LD -v 2>/dev/null` in
   14894       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14895       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14896       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14897       *\ 2.11.*) ;; # other 2.11 versions
   14898       *) supports_anon_versioning=yes ;;
   14899     esac
   14900 
   14901     # See if GNU ld supports shared libraries.
   14902     case $host_os in
   14903     aix[3-9]*)
   14904       # On AIX/PPC, the GNU linker is very broken
   14905       if test "$host_cpu" != ia64; then
   14906 	ld_shlibs_F77=no
   14907 	cat <<EOF 1>&2
   14908 
   14909 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14910 *** to be unable to reliably create shared libraries on AIX.
   14911 *** Therefore, libtool is disabling shared libraries support.  If you
   14912 *** really care for shared libraries, you may want to modify your PATH
   14913 *** so that a non-GNU linker is found, and then restart.
   14914 
   14915 EOF
   14916       fi
   14917       ;;
   14918 
   14919     amigaos*)
   14920       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   14921       hardcode_libdir_flag_spec_F77='-L$libdir'
   14922       hardcode_minus_L_F77=yes
   14923 
   14924       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14925       # that the semantics of dynamic libraries on AmigaOS, at least up
   14926       # to version 4, is to share data among multiple programs linked
   14927       # with the same dynamic library.  Since this doesn't match the
   14928       # behavior of shared libraries on other platforms, we can't use
   14929       # them.
   14930       ld_shlibs_F77=no
   14931       ;;
   14932 
   14933     beos*)
   14934       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14935 	allow_undefined_flag_F77=unsupported
   14936 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14937 	# support --undefined.  This deserves some investigation.  FIXME
   14938 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14939       else
   14940 	ld_shlibs_F77=no
   14941       fi
   14942       ;;
   14943 
   14944     cygwin* | mingw* | pw32*)
   14945       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14946       # as there is no search path for DLLs.
   14947       hardcode_libdir_flag_spec_F77='-L$libdir'
   14948       allow_undefined_flag_F77=unsupported
   14949       always_export_symbols_F77=no
   14950       enable_shared_with_static_runtimes_F77=yes
   14951       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14952 
   14953       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14954         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14955 	# If the export-symbols file already is a .def file (1st line
   14956 	# is EXPORTS), use it as is; otherwise, prepend...
   14957 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14958 	  cp $export_symbols $output_objdir/$soname.def;
   14959 	else
   14960 	  echo EXPORTS > $output_objdir/$soname.def;
   14961 	  cat $export_symbols >> $output_objdir/$soname.def;
   14962 	fi~
   14963 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14964       else
   14965 	ld_shlibs_F77=no
   14966       fi
   14967       ;;
   14968 
   14969     interix[3-9]*)
   14970       hardcode_direct_F77=no
   14971       hardcode_shlibpath_var_F77=no
   14972       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14973       export_dynamic_flag_spec_F77='${wl}-E'
   14974       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14975       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14976       # default) and relocated if they conflict, which is a slow very memory
   14977       # consuming and fragmenting process.  To avoid this, we pick a random,
   14978       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14979       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14980       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14981       archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14982       ;;
   14983 
   14984     gnu* | linux* | k*bsd*-gnu)
   14985       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14986 	tmp_addflag=
   14987 	case $cc_basename,$host_cpu in
   14988 	pgcc*)				# Portland Group C compiler
   14989 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14990 	  tmp_addflag=' $pic_flag'
   14991 	  ;;
   14992 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14993 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14994 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14995 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14996 	  tmp_addflag=' -i_dynamic' ;;
   14997 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14998 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14999 	ifc* | ifort*)			# Intel Fortran compiler
   15000 	  tmp_addflag=' -nofor_main' ;;
   15001 	esac
   15002 	case `$CC -V 2>&1 | sed 5q` in
   15003 	*Sun\ C*)			# Sun C 5.9
   15004 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15005 	  tmp_sharedflag='-G' ;;
   15006 	*Sun\ F*)			# Sun Fortran 8.3
   15007 	  tmp_sharedflag='-G' ;;
   15008 	*)
   15009 	  tmp_sharedflag='-shared' ;;
   15010 	esac
   15011 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15012 
   15013 	if test $supports_anon_versioning = yes; then
   15014 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15015   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15016   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15017 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15018 	fi
   15019       else
   15020 	ld_shlibs_F77=no
   15021       fi
   15022       ;;
   15023 
   15024     netbsd*)
   15025       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15026 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15027 	wlarc=
   15028       else
   15029 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15030 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15031       fi
   15032       ;;
   15033 
   15034     solaris*)
   15035       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15036 	ld_shlibs_F77=no
   15037 	cat <<EOF 1>&2
   15038 
   15039 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15040 *** create shared libraries on Solaris systems.  Therefore, libtool
   15041 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15042 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15043 *** your PATH or compiler configuration so that the native linker is
   15044 *** used, and then restart.
   15045 
   15046 EOF
   15047       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15048 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15049 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15050       else
   15051 	ld_shlibs_F77=no
   15052       fi
   15053       ;;
   15054 
   15055     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15056       case `$LD -v 2>&1` in
   15057         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15058 	ld_shlibs_F77=no
   15059 	cat <<_LT_EOF 1>&2
   15060 
   15061 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15062 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15063 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15064 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15065 *** your PATH or compiler configuration so that the native linker is
   15066 *** used, and then restart.
   15067 
   15068 _LT_EOF
   15069 	;;
   15070 	*)
   15071 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15072 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15073 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15074 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15075 	  else
   15076 	    ld_shlibs_F77=no
   15077 	  fi
   15078 	;;
   15079       esac
   15080       ;;
   15081 
   15082     sunos4*)
   15083       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15084       wlarc=
   15085       hardcode_direct_F77=yes
   15086       hardcode_shlibpath_var_F77=no
   15087       ;;
   15088 
   15089     *)
   15090       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15091 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15092 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15093       else
   15094 	ld_shlibs_F77=no
   15095       fi
   15096       ;;
   15097     esac
   15098 
   15099     if test "$ld_shlibs_F77" = no; then
   15100       runpath_var=
   15101       hardcode_libdir_flag_spec_F77=
   15102       export_dynamic_flag_spec_F77=
   15103       whole_archive_flag_spec_F77=
   15104     fi
   15105   else
   15106     # PORTME fill in a description of your system's linker (not GNU ld)
   15107     case $host_os in
   15108     aix3*)
   15109       allow_undefined_flag_F77=unsupported
   15110       always_export_symbols_F77=yes
   15111       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   15112       # Note: this linker hardcodes the directories in LIBPATH if there
   15113       # are no directories specified by -L.
   15114       hardcode_minus_L_F77=yes
   15115       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15116 	# Neither direct hardcoding nor static linking is supported with a
   15117 	# broken collect2.
   15118 	hardcode_direct_F77=unsupported
   15119       fi
   15120       ;;
   15121 
   15122     aix[4-9]*)
   15123       if test "$host_cpu" = ia64; then
   15124 	# On IA64, the linker does run time linking by default, so we don't
   15125 	# have to do anything special.
   15126 	aix_use_runtimelinking=no
   15127 	exp_sym_flag='-Bexport'
   15128 	no_entry_flag=""
   15129       else
   15130 	# If we're using GNU nm, then we don't want the "-C" option.
   15131 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15132 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15133 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15134 	else
   15135 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15136 	fi
   15137 	aix_use_runtimelinking=no
   15138 
   15139 	# Test if we are trying to use run time linking or normal
   15140 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15141 	# need to do runtime linking.
   15142 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15143 	  for ld_flag in $LDFLAGS; do
   15144   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15145   	    aix_use_runtimelinking=yes
   15146   	    break
   15147   	  fi
   15148 	  done
   15149 	  ;;
   15150 	esac
   15151 
   15152 	exp_sym_flag='-bexport'
   15153 	no_entry_flag='-bnoentry'
   15154       fi
   15155 
   15156       # When large executables or shared objects are built, AIX ld can
   15157       # have problems creating the table of contents.  If linking a library
   15158       # or program results in "error TOC overflow" add -mminimal-toc to
   15159       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15160       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15161 
   15162       archive_cmds_F77=''
   15163       hardcode_direct_F77=yes
   15164       hardcode_libdir_separator_F77=':'
   15165       link_all_deplibs_F77=yes
   15166 
   15167       if test "$GCC" = yes; then
   15168 	case $host_os in aix4.[012]|aix4.[012].*)
   15169 	# We only want to do this on AIX 4.2 and lower, the check
   15170 	# below for broken collect2 doesn't work under 4.3+
   15171 	  collect2name=`${CC} -print-prog-name=collect2`
   15172 	  if test -f "$collect2name" && \
   15173   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15174 	  then
   15175   	  # We have reworked collect2
   15176   	  :
   15177 	  else
   15178   	  # We have old collect2
   15179   	  hardcode_direct_F77=unsupported
   15180   	  # It fails to find uninstalled libraries when the uninstalled
   15181   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15182   	  # to unsupported forces relinking
   15183   	  hardcode_minus_L_F77=yes
   15184   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15185   	  hardcode_libdir_separator_F77=
   15186 	  fi
   15187 	  ;;
   15188 	esac
   15189 	shared_flag='-shared'
   15190 	if test "$aix_use_runtimelinking" = yes; then
   15191 	  shared_flag="$shared_flag "'${wl}-G'
   15192 	fi
   15193       else
   15194 	# not using gcc
   15195 	if test "$host_cpu" = ia64; then
   15196   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15197   	# chokes on -Wl,-G. The following line is correct:
   15198 	  shared_flag='-G'
   15199 	else
   15200 	  if test "$aix_use_runtimelinking" = yes; then
   15201 	    shared_flag='${wl}-G'
   15202 	  else
   15203 	    shared_flag='${wl}-bM:SRE'
   15204 	  fi
   15205 	fi
   15206       fi
   15207 
   15208       # It seems that -bexpall does not export symbols beginning with
   15209       # underscore (_), so it is better to generate a list of symbols to export.
   15210       always_export_symbols_F77=yes
   15211       if test "$aix_use_runtimelinking" = yes; then
   15212 	# Warning - without using the other runtime loading flags (-brtl),
   15213 	# -berok will link without error, but may produce a broken library.
   15214 	allow_undefined_flag_F77='-berok'
   15215        # Determine the default libpath from the value encoded in an empty executable.
   15216        cat >conftest.$ac_ext <<_ACEOF
   15217       program main
   15218 
   15219       end
   15220 _ACEOF
   15221 rm -f conftest.$ac_objext conftest$ac_exeext
   15222 if { (ac_try="$ac_link"
   15223 case "(($ac_try" in
   15224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15225   *) ac_try_echo=$ac_try;;
   15226 esac
   15227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15228 $as_echo "$ac_try_echo") >&5
   15229   (eval "$ac_link") 2>conftest.er1
   15230   ac_status=$?
   15231   grep -v '^ *+' conftest.er1 >conftest.err
   15232   rm -f conftest.er1
   15233   cat conftest.err >&5
   15234   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15235   (exit $ac_status); } && {
   15236 	 test -z "$ac_f77_werror_flag" ||
   15237 	 test ! -s conftest.err
   15238        } && test -s conftest$ac_exeext && {
   15239 	 test "$cross_compiling" = yes ||
   15240 	 $as_test_x conftest$ac_exeext
   15241        }; then
   15242 
   15243 lt_aix_libpath_sed='
   15244     /Import File Strings/,/^$/ {
   15245 	/^0/ {
   15246 	    s/^0  *\(.*\)$/\1/
   15247 	    p
   15248 	}
   15249     }'
   15250 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15251 # Check for a 64-bit object if we didn't find anything.
   15252 if test -z "$aix_libpath"; then
   15253   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15254 fi
   15255 else
   15256   $as_echo "$as_me: failed program was:" >&5
   15257 sed 's/^/| /' conftest.$ac_ext >&5
   15258 
   15259 
   15260 fi
   15261 
   15262 rm -rf conftest.dSYM
   15263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15264       conftest$ac_exeext conftest.$ac_ext
   15265 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15266 
   15267        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15268 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15269        else
   15270 	if test "$host_cpu" = ia64; then
   15271 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15272 	  allow_undefined_flag_F77="-z nodefs"
   15273 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   15274 	else
   15275 	 # Determine the default libpath from the value encoded in an empty executable.
   15276 	 cat >conftest.$ac_ext <<_ACEOF
   15277       program main
   15278 
   15279       end
   15280 _ACEOF
   15281 rm -f conftest.$ac_objext conftest$ac_exeext
   15282 if { (ac_try="$ac_link"
   15283 case "(($ac_try" in
   15284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15285   *) ac_try_echo=$ac_try;;
   15286 esac
   15287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15288 $as_echo "$ac_try_echo") >&5
   15289   (eval "$ac_link") 2>conftest.er1
   15290   ac_status=$?
   15291   grep -v '^ *+' conftest.er1 >conftest.err
   15292   rm -f conftest.er1
   15293   cat conftest.err >&5
   15294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15295   (exit $ac_status); } && {
   15296 	 test -z "$ac_f77_werror_flag" ||
   15297 	 test ! -s conftest.err
   15298        } && test -s conftest$ac_exeext && {
   15299 	 test "$cross_compiling" = yes ||
   15300 	 $as_test_x conftest$ac_exeext
   15301        }; then
   15302 
   15303 lt_aix_libpath_sed='
   15304     /Import File Strings/,/^$/ {
   15305 	/^0/ {
   15306 	    s/^0  *\(.*\)$/\1/
   15307 	    p
   15308 	}
   15309     }'
   15310 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15311 # Check for a 64-bit object if we didn't find anything.
   15312 if test -z "$aix_libpath"; then
   15313   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15314 fi
   15315 else
   15316   $as_echo "$as_me: failed program was:" >&5
   15317 sed 's/^/| /' conftest.$ac_ext >&5
   15318 
   15319 
   15320 fi
   15321 
   15322 rm -rf conftest.dSYM
   15323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15324       conftest$ac_exeext conftest.$ac_ext
   15325 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15326 
   15327 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15328 	  # Warning - without using the other run time loading flags,
   15329 	  # -berok will link without error, but may produce a broken library.
   15330 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15331 	  allow_undefined_flag_F77=' ${wl}-berok'
   15332 	  # Exported symbols can be pulled into shared objects from archives
   15333 	  whole_archive_flag_spec_F77='$convenience'
   15334 	  archive_cmds_need_lc_F77=yes
   15335 	  # This is similar to how AIX traditionally builds its shared libraries.
   15336 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15337 	fi
   15338       fi
   15339       ;;
   15340 
   15341     amigaos*)
   15342       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   15343       hardcode_libdir_flag_spec_F77='-L$libdir'
   15344       hardcode_minus_L_F77=yes
   15345       # see comment about different semantics on the GNU ld section
   15346       ld_shlibs_F77=no
   15347       ;;
   15348 
   15349     bsdi[45]*)
   15350       export_dynamic_flag_spec_F77=-rdynamic
   15351       ;;
   15352 
   15353     cygwin* | mingw* | pw32*)
   15354       # When not using gcc, we currently assume that we are using
   15355       # Microsoft Visual C++.
   15356       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15357       # no search path for DLLs.
   15358       hardcode_libdir_flag_spec_F77=' '
   15359       allow_undefined_flag_F77=unsupported
   15360       # Tell ltmain to make .lib files, not .a files.
   15361       libext=lib
   15362       # Tell ltmain to make .dll files, not .so files.
   15363       shrext_cmds=".dll"
   15364       # FIXME: Setting linknames here is a bad hack.
   15365       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15366       # The linker will automatically build a .lib file if we build a DLL.
   15367       old_archive_From_new_cmds_F77='true'
   15368       # FIXME: Should let the user specify the lib program.
   15369       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15370       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15371       enable_shared_with_static_runtimes_F77=yes
   15372       ;;
   15373 
   15374     darwin* | rhapsody*)
   15375       case $host_os in
   15376         rhapsody* | darwin1.[012])
   15377          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15378          ;;
   15379        *) # Darwin 1.3 on
   15380          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15381            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15382          else
   15383            case ${MACOSX_DEPLOYMENT_TARGET} in
   15384              10.[012])
   15385                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15386                ;;
   15387              10.*)
   15388                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15389                ;;
   15390            esac
   15391          fi
   15392          ;;
   15393       esac
   15394       archive_cmds_need_lc_F77=no
   15395       hardcode_direct_F77=no
   15396       hardcode_automatic_F77=yes
   15397       hardcode_shlibpath_var_F77=unsupported
   15398       whole_archive_flag_spec_F77=''
   15399       link_all_deplibs_F77=yes
   15400     if test "$GCC" = yes ; then
   15401     	output_verbose_link_cmd='echo'
   15402         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15403         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15404         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15405         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15406     else
   15407       case $cc_basename in
   15408         xlc*)
   15409          output_verbose_link_cmd='echo'
   15410          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15411          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15412           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15413          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15414           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15415           ;;
   15416        *)
   15417          ld_shlibs_F77=no
   15418           ;;
   15419       esac
   15420     fi
   15421       ;;
   15422 
   15423     dgux*)
   15424       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15425       hardcode_libdir_flag_spec_F77='-L$libdir'
   15426       hardcode_shlibpath_var_F77=no
   15427       ;;
   15428 
   15429     freebsd1*)
   15430       ld_shlibs_F77=no
   15431       ;;
   15432 
   15433     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15434     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15435     # does not break anything, and helps significantly (at the cost of a little
   15436     # extra space).
   15437     freebsd2.2*)
   15438       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15439       hardcode_libdir_flag_spec_F77='-R$libdir'
   15440       hardcode_direct_F77=yes
   15441       hardcode_shlibpath_var_F77=no
   15442       ;;
   15443 
   15444     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15445     freebsd2*)
   15446       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15447       hardcode_direct_F77=yes
   15448       hardcode_minus_L_F77=yes
   15449       hardcode_shlibpath_var_F77=no
   15450       ;;
   15451 
   15452     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15453     freebsd* | dragonfly*)
   15454       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15455       hardcode_libdir_flag_spec_F77='-R$libdir'
   15456       hardcode_direct_F77=yes
   15457       hardcode_shlibpath_var_F77=no
   15458       ;;
   15459 
   15460     hpux9*)
   15461       if test "$GCC" = yes; then
   15462 	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15463       else
   15464 	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15465       fi
   15466       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15467       hardcode_libdir_separator_F77=:
   15468       hardcode_direct_F77=yes
   15469 
   15470       # hardcode_minus_L: Not really in the search PATH,
   15471       # but as the default location of the library.
   15472       hardcode_minus_L_F77=yes
   15473       export_dynamic_flag_spec_F77='${wl}-E'
   15474       ;;
   15475 
   15476     hpux10*)
   15477       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15478 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15479       else
   15480 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15481       fi
   15482       if test "$with_gnu_ld" = no; then
   15483 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15484 	hardcode_libdir_separator_F77=:
   15485 
   15486 	hardcode_direct_F77=yes
   15487 	export_dynamic_flag_spec_F77='${wl}-E'
   15488 
   15489 	# hardcode_minus_L: Not really in the search PATH,
   15490 	# but as the default location of the library.
   15491 	hardcode_minus_L_F77=yes
   15492       fi
   15493       ;;
   15494 
   15495     hpux11*)
   15496       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15497 	case $host_cpu in
   15498 	hppa*64*)
   15499 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15500 	  ;;
   15501 	ia64*)
   15502 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15503 	  ;;
   15504 	*)
   15505 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15506 	  ;;
   15507 	esac
   15508       else
   15509 	case $host_cpu in
   15510 	hppa*64*)
   15511 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15512 	  ;;
   15513 	ia64*)
   15514 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15515 	  ;;
   15516 	*)
   15517 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15518 	  ;;
   15519 	esac
   15520       fi
   15521       if test "$with_gnu_ld" = no; then
   15522 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15523 	hardcode_libdir_separator_F77=:
   15524 
   15525 	case $host_cpu in
   15526 	hppa*64*|ia64*)
   15527 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15528 	  hardcode_direct_F77=no
   15529 	  hardcode_shlibpath_var_F77=no
   15530 	  ;;
   15531 	*)
   15532 	  hardcode_direct_F77=yes
   15533 	  export_dynamic_flag_spec_F77='${wl}-E'
   15534 
   15535 	  # hardcode_minus_L: Not really in the search PATH,
   15536 	  # but as the default location of the library.
   15537 	  hardcode_minus_L_F77=yes
   15538 	  ;;
   15539 	esac
   15540       fi
   15541       ;;
   15542 
   15543     irix5* | irix6* | nonstopux*)
   15544       if test "$GCC" = yes; then
   15545 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15546       else
   15547 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15548 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15549       fi
   15550       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15551       hardcode_libdir_separator_F77=:
   15552       link_all_deplibs_F77=yes
   15553       ;;
   15554 
   15555     netbsd*)
   15556       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15557 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15558       else
   15559 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15560       fi
   15561       hardcode_libdir_flag_spec_F77='-R$libdir'
   15562       hardcode_direct_F77=yes
   15563       hardcode_shlibpath_var_F77=no
   15564       ;;
   15565 
   15566     newsos6)
   15567       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15568       hardcode_direct_F77=yes
   15569       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15570       hardcode_libdir_separator_F77=:
   15571       hardcode_shlibpath_var_F77=no
   15572       ;;
   15573 
   15574     openbsd*)
   15575       if test -f /usr/libexec/ld.so; then
   15576 	hardcode_direct_F77=yes
   15577 	hardcode_shlibpath_var_F77=no
   15578 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15579 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15580 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15581 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15582 	  export_dynamic_flag_spec_F77='${wl}-E'
   15583 	else
   15584 	  case $host_os in
   15585 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15586 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15587 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15588 	     ;;
   15589 	   *)
   15590 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15591 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15592 	     ;;
   15593 	  esac
   15594         fi
   15595       else
   15596 	ld_shlibs_F77=no
   15597       fi
   15598       ;;
   15599 
   15600     os2*)
   15601       hardcode_libdir_flag_spec_F77='-L$libdir'
   15602       hardcode_minus_L_F77=yes
   15603       allow_undefined_flag_F77=unsupported
   15604       archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15605       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15606       ;;
   15607 
   15608     osf3*)
   15609       if test "$GCC" = yes; then
   15610 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15611 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15612       else
   15613 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15614 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15615       fi
   15616       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15617       hardcode_libdir_separator_F77=:
   15618       ;;
   15619 
   15620     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15621       if test "$GCC" = yes; then
   15622 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15623 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15624 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15625       else
   15626 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15627 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15628 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   15629 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   15630 
   15631 	# Both c and cxx compiler support -rpath directly
   15632 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15633       fi
   15634       hardcode_libdir_separator_F77=:
   15635       ;;
   15636 
   15637     solaris*)
   15638       no_undefined_flag_F77=' -z text'
   15639       if test "$GCC" = yes; then
   15640 	wlarc='${wl}'
   15641 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15642 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15643 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15644       else
   15645 	wlarc=''
   15646 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15647 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15648   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15649       fi
   15650       hardcode_libdir_flag_spec_F77='-R$libdir'
   15651       hardcode_shlibpath_var_F77=no
   15652       case $host_os in
   15653       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15654       *)
   15655 	# The compiler driver will combine and reorder linker options,
   15656 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15657 	# but is careful enough not to reorder.
   15658  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15659 	if test "$GCC" = yes; then
   15660 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15661 	else
   15662 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15663 	fi
   15664 	;;
   15665       esac
   15666       link_all_deplibs_F77=yes
   15667       ;;
   15668 
   15669     sunos4*)
   15670       if test "x$host_vendor" = xsequent; then
   15671 	# Use $CC to link under sequent, because it throws in some extra .o
   15672 	# files that make .init and .fini sections work.
   15673 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15674       else
   15675 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15676       fi
   15677       hardcode_libdir_flag_spec_F77='-L$libdir'
   15678       hardcode_direct_F77=yes
   15679       hardcode_minus_L_F77=yes
   15680       hardcode_shlibpath_var_F77=no
   15681       ;;
   15682 
   15683     sysv4)
   15684       case $host_vendor in
   15685 	sni)
   15686 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15687 	  hardcode_direct_F77=yes # is this really true???
   15688 	;;
   15689 	siemens)
   15690 	  ## LD is ld it makes a PLAMLIB
   15691 	  ## CC just makes a GrossModule.
   15692 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15693 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15694 	  hardcode_direct_F77=no
   15695         ;;
   15696 	motorola)
   15697 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15698 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15699 	;;
   15700       esac
   15701       runpath_var='LD_RUN_PATH'
   15702       hardcode_shlibpath_var_F77=no
   15703       ;;
   15704 
   15705     sysv4.3*)
   15706       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15707       hardcode_shlibpath_var_F77=no
   15708       export_dynamic_flag_spec_F77='-Bexport'
   15709       ;;
   15710 
   15711     sysv4*MP*)
   15712       if test -d /usr/nec; then
   15713 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15714 	hardcode_shlibpath_var_F77=no
   15715 	runpath_var=LD_RUN_PATH
   15716 	hardcode_runpath_var=yes
   15717 	ld_shlibs_F77=yes
   15718       fi
   15719       ;;
   15720 
   15721     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15722       no_undefined_flag_F77='${wl}-z,text'
   15723       archive_cmds_need_lc_F77=no
   15724       hardcode_shlibpath_var_F77=no
   15725       runpath_var='LD_RUN_PATH'
   15726 
   15727       if test "$GCC" = yes; then
   15728 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15729 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15730       else
   15731 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15732 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15733       fi
   15734       ;;
   15735 
   15736     sysv5* | sco3.2v5* | sco5v6*)
   15737       # Note: We can NOT use -z defs as we might desire, because we do not
   15738       # link with -lc, and that would cause any symbols used from libc to
   15739       # always be unresolved, which means just about no library would
   15740       # ever link correctly.  If we're not using GNU ld we use -z text
   15741       # though, which does catch some bad symbols but isn't as heavy-handed
   15742       # as -z defs.
   15743       no_undefined_flag_F77='${wl}-z,text'
   15744       allow_undefined_flag_F77='${wl}-z,nodefs'
   15745       archive_cmds_need_lc_F77=no
   15746       hardcode_shlibpath_var_F77=no
   15747       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15748       hardcode_libdir_separator_F77=':'
   15749       link_all_deplibs_F77=yes
   15750       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15751       runpath_var='LD_RUN_PATH'
   15752 
   15753       if test "$GCC" = yes; then
   15754 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15755 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15756       else
   15757 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15758 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15759       fi
   15760       ;;
   15761 
   15762     uts4*)
   15763       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15764       hardcode_libdir_flag_spec_F77='-L$libdir'
   15765       hardcode_shlibpath_var_F77=no
   15766       ;;
   15767 
   15768     *)
   15769       ld_shlibs_F77=no
   15770       ;;
   15771     esac
   15772   fi
   15773 
   15774 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15775 $as_echo "$ld_shlibs_F77" >&6; }
   15776 test "$ld_shlibs_F77" = no && can_build_shared=no
   15777 
   15778 #
   15779 # Do we need to explicitly link libc?
   15780 #
   15781 case "x$archive_cmds_need_lc_F77" in
   15782 x|xyes)
   15783   # Assume -lc should be added
   15784   archive_cmds_need_lc_F77=yes
   15785 
   15786   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15787     case $archive_cmds_F77 in
   15788     *'~'*)
   15789       # FIXME: we may have to deal with multi-command sequences.
   15790       ;;
   15791     '$CC '*)
   15792       # Test whether the compiler implicitly links with -lc since on some
   15793       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15794       # to ld, don't add -lc before -lgcc.
   15795       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15796 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15797       $rm conftest*
   15798       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15799 
   15800       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15801   (eval $ac_compile) 2>&5
   15802   ac_status=$?
   15803   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15804   (exit $ac_status); } 2>conftest.err; then
   15805         soname=conftest
   15806         lib=conftest
   15807         libobjs=conftest.$ac_objext
   15808         deplibs=
   15809         wl=$lt_prog_compiler_wl_F77
   15810 	pic_flag=$lt_prog_compiler_pic_F77
   15811         compiler_flags=-v
   15812         linker_flags=-v
   15813         verstring=
   15814         output_objdir=.
   15815         libname=conftest
   15816         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15817         allow_undefined_flag_F77=
   15818         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15819   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15820   ac_status=$?
   15821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15822   (exit $ac_status); }
   15823         then
   15824 	  archive_cmds_need_lc_F77=no
   15825         else
   15826 	  archive_cmds_need_lc_F77=yes
   15827         fi
   15828         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15829       else
   15830         cat conftest.err 1>&5
   15831       fi
   15832       $rm conftest*
   15833       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15834 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15835       ;;
   15836     esac
   15837   fi
   15838   ;;
   15839 esac
   15840 
   15841 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15842 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15843 library_names_spec=
   15844 libname_spec='lib$name'
   15845 soname_spec=
   15846 shrext_cmds=".so"
   15847 postinstall_cmds=
   15848 postuninstall_cmds=
   15849 finish_cmds=
   15850 finish_eval=
   15851 shlibpath_var=
   15852 shlibpath_overrides_runpath=unknown
   15853 version_type=none
   15854 dynamic_linker="$host_os ld.so"
   15855 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15856 
   15857 need_lib_prefix=unknown
   15858 hardcode_into_libs=no
   15859 
   15860 # when you set need_version to no, make sure it does not cause -set_version
   15861 # flags to be left without arguments
   15862 need_version=unknown
   15863 
   15864 case $host_os in
   15865 aix3*)
   15866   version_type=linux
   15867   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15868   shlibpath_var=LIBPATH
   15869 
   15870   # AIX 3 has no versioning support, so we append a major version to the name.
   15871   soname_spec='${libname}${release}${shared_ext}$major'
   15872   ;;
   15873 
   15874 aix[4-9]*)
   15875   version_type=linux
   15876   need_lib_prefix=no
   15877   need_version=no
   15878   hardcode_into_libs=yes
   15879   if test "$host_cpu" = ia64; then
   15880     # AIX 5 supports IA64
   15881     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15882     shlibpath_var=LD_LIBRARY_PATH
   15883   else
   15884     # With GCC up to 2.95.x, collect2 would create an import file
   15885     # for dependence libraries.  The import file would start with
   15886     # the line `#! .'.  This would cause the generated library to
   15887     # depend on `.', always an invalid library.  This was fixed in
   15888     # development snapshots of GCC prior to 3.0.
   15889     case $host_os in
   15890       aix4 | aix4.[01] | aix4.[01].*)
   15891       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15892 	   echo ' yes '
   15893 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15894 	:
   15895       else
   15896 	can_build_shared=no
   15897       fi
   15898       ;;
   15899     esac
   15900     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15901     # soname into executable. Probably we can add versioning support to
   15902     # collect2, so additional links can be useful in future.
   15903     if test "$aix_use_runtimelinking" = yes; then
   15904       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15905       # instead of lib<name>.a to let people know that these are not
   15906       # typical AIX shared libraries.
   15907       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15908     else
   15909       # We preserve .a as extension for shared libraries through AIX4.2
   15910       # and later when we are not doing run time linking.
   15911       library_names_spec='${libname}${release}.a $libname.a'
   15912       soname_spec='${libname}${release}${shared_ext}$major'
   15913     fi
   15914     shlibpath_var=LIBPATH
   15915   fi
   15916   ;;
   15917 
   15918 amigaos*)
   15919   library_names_spec='$libname.ixlibrary $libname.a'
   15920   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15921   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   15922   ;;
   15923 
   15924 beos*)
   15925   library_names_spec='${libname}${shared_ext}'
   15926   dynamic_linker="$host_os ld.so"
   15927   shlibpath_var=LIBRARY_PATH
   15928   ;;
   15929 
   15930 bsdi[45]*)
   15931   version_type=linux
   15932   need_version=no
   15933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15934   soname_spec='${libname}${release}${shared_ext}$major'
   15935   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15936   shlibpath_var=LD_LIBRARY_PATH
   15937   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15938   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15939   # the default ld.so.conf also contains /usr/contrib/lib and
   15940   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15941   # libtool to hard-code these into programs
   15942   ;;
   15943 
   15944 cygwin* | mingw* | pw32*)
   15945   version_type=windows
   15946   shrext_cmds=".dll"
   15947   need_version=no
   15948   need_lib_prefix=no
   15949 
   15950   case $GCC,$host_os in
   15951   yes,cygwin* | yes,mingw* | yes,pw32*)
   15952     library_names_spec='$libname.dll.a'
   15953     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15954     postinstall_cmds='base_file=`basename \${file}`~
   15955       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15956       dldir=$destdir/`dirname \$dlpath`~
   15957       test -d \$dldir || mkdir -p \$dldir~
   15958       $install_prog $dir/$dlname \$dldir/$dlname~
   15959       chmod a+x \$dldir/$dlname'
   15960     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15961       dlpath=$dir/\$dldll~
   15962        $rm \$dlpath'
   15963     shlibpath_overrides_runpath=yes
   15964 
   15965     case $host_os in
   15966     cygwin*)
   15967       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15968       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15969       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15970       ;;
   15971     mingw*)
   15972       # MinGW DLLs use traditional 'lib' prefix
   15973       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15974       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15975       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15976         # It is most probably a Windows format PATH printed by
   15977         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15978         # path with ; separators, and with drive letters. We can handle the
   15979         # drive letters (cygwin fileutils understands them), so leave them,
   15980         # especially as we might pass files found there to a mingw objdump,
   15981         # which wouldn't understand a cygwinified path. Ahh.
   15982         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15983       else
   15984         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15985       fi
   15986       ;;
   15987     pw32*)
   15988       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15989       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15990       ;;
   15991     esac
   15992     ;;
   15993 
   15994   *)
   15995     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15996     ;;
   15997   esac
   15998   dynamic_linker='Win32 ld.exe'
   15999   # FIXME: first we should search . and the directory the executable is in
   16000   shlibpath_var=PATH
   16001   ;;
   16002 
   16003 darwin* | rhapsody*)
   16004   dynamic_linker="$host_os dyld"
   16005   version_type=darwin
   16006   need_lib_prefix=no
   16007   need_version=no
   16008   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16009   soname_spec='${libname}${release}${major}$shared_ext'
   16010   shlibpath_overrides_runpath=yes
   16011   shlibpath_var=DYLD_LIBRARY_PATH
   16012   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16013 
   16014   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16015   ;;
   16016 
   16017 dgux*)
   16018   version_type=linux
   16019   need_lib_prefix=no
   16020   need_version=no
   16021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16022   soname_spec='${libname}${release}${shared_ext}$major'
   16023   shlibpath_var=LD_LIBRARY_PATH
   16024   ;;
   16025 
   16026 freebsd1*)
   16027   dynamic_linker=no
   16028   ;;
   16029 
   16030 freebsd* | dragonfly*)
   16031   # DragonFly does not have aout.  When/if they implement a new
   16032   # versioning mechanism, adjust this.
   16033   if test -x /usr/bin/objformat; then
   16034     objformat=`/usr/bin/objformat`
   16035   else
   16036     case $host_os in
   16037     freebsd[123]*) objformat=aout ;;
   16038     *) objformat=elf ;;
   16039     esac
   16040   fi
   16041   version_type=freebsd-$objformat
   16042   case $version_type in
   16043     freebsd-elf*)
   16044       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16045       need_version=no
   16046       need_lib_prefix=no
   16047       ;;
   16048     freebsd-*)
   16049       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16050       need_version=yes
   16051       ;;
   16052   esac
   16053   shlibpath_var=LD_LIBRARY_PATH
   16054   case $host_os in
   16055   freebsd2*)
   16056     shlibpath_overrides_runpath=yes
   16057     ;;
   16058   freebsd3.[01]* | freebsdelf3.[01]*)
   16059     shlibpath_overrides_runpath=yes
   16060     hardcode_into_libs=yes
   16061     ;;
   16062   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16063   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16064     shlibpath_overrides_runpath=no
   16065     hardcode_into_libs=yes
   16066     ;;
   16067   *) # from 4.6 on, and DragonFly
   16068     shlibpath_overrides_runpath=yes
   16069     hardcode_into_libs=yes
   16070     ;;
   16071   esac
   16072   ;;
   16073 
   16074 gnu*)
   16075   version_type=linux
   16076   need_lib_prefix=no
   16077   need_version=no
   16078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16079   soname_spec='${libname}${release}${shared_ext}$major'
   16080   shlibpath_var=LD_LIBRARY_PATH
   16081   hardcode_into_libs=yes
   16082   ;;
   16083 
   16084 hpux9* | hpux10* | hpux11*)
   16085   # Give a soname corresponding to the major version so that dld.sl refuses to
   16086   # link against other versions.
   16087   version_type=sunos
   16088   need_lib_prefix=no
   16089   need_version=no
   16090   case $host_cpu in
   16091   ia64*)
   16092     shrext_cmds='.so'
   16093     hardcode_into_libs=yes
   16094     dynamic_linker="$host_os dld.so"
   16095     shlibpath_var=LD_LIBRARY_PATH
   16096     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16097     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16098     soname_spec='${libname}${release}${shared_ext}$major'
   16099     if test "X$HPUX_IA64_MODE" = X32; then
   16100       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16101     else
   16102       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16103     fi
   16104     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16105     ;;
   16106    hppa*64*)
   16107      shrext_cmds='.sl'
   16108      hardcode_into_libs=yes
   16109      dynamic_linker="$host_os dld.sl"
   16110      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16111      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16112      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16113      soname_spec='${libname}${release}${shared_ext}$major'
   16114      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16115      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16116      ;;
   16117    *)
   16118     shrext_cmds='.sl'
   16119     dynamic_linker="$host_os dld.sl"
   16120     shlibpath_var=SHLIB_PATH
   16121     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16122     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16123     soname_spec='${libname}${release}${shared_ext}$major'
   16124     ;;
   16125   esac
   16126   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16127   postinstall_cmds='chmod 555 $lib'
   16128   ;;
   16129 
   16130 interix[3-9]*)
   16131   version_type=linux
   16132   need_lib_prefix=no
   16133   need_version=no
   16134   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16135   soname_spec='${libname}${release}${shared_ext}$major'
   16136   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16137   shlibpath_var=LD_LIBRARY_PATH
   16138   shlibpath_overrides_runpath=no
   16139   hardcode_into_libs=yes
   16140   ;;
   16141 
   16142 irix5* | irix6* | nonstopux*)
   16143   case $host_os in
   16144     nonstopux*) version_type=nonstopux ;;
   16145     *)
   16146 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16147 		version_type=linux
   16148 	else
   16149 		version_type=irix
   16150 	fi ;;
   16151   esac
   16152   need_lib_prefix=no
   16153   need_version=no
   16154   soname_spec='${libname}${release}${shared_ext}$major'
   16155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16156   case $host_os in
   16157   irix5* | nonstopux*)
   16158     libsuff= shlibsuff=
   16159     ;;
   16160   *)
   16161     case $LD in # libtool.m4 will add one of these switches to LD
   16162     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16163       libsuff= shlibsuff= libmagic=32-bit;;
   16164     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16165       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16166     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16167       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16168     *) libsuff= shlibsuff= libmagic=never-match;;
   16169     esac
   16170     ;;
   16171   esac
   16172   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16173   shlibpath_overrides_runpath=no
   16174   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16175   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16176   hardcode_into_libs=yes
   16177   ;;
   16178 
   16179 # No shared lib support for Linux oldld, aout, or coff.
   16180 linux*oldld* | linux*aout* | linux*coff*)
   16181   dynamic_linker=no
   16182   ;;
   16183 
   16184 # This must be Linux ELF.
   16185 linux* | k*bsd*-gnu)
   16186   version_type=linux
   16187   need_lib_prefix=no
   16188   need_version=no
   16189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16190   soname_spec='${libname}${release}${shared_ext}$major'
   16191   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16192   shlibpath_var=LD_LIBRARY_PATH
   16193   shlibpath_overrides_runpath=no
   16194   # This implies no fast_install, which is unacceptable.
   16195   # Some rework will be needed to allow for fast_install
   16196   # before this can be enabled.
   16197   hardcode_into_libs=yes
   16198 
   16199   # Append ld.so.conf contents to the search path
   16200   if test -f /etc/ld.so.conf; then
   16201     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16202     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16203   fi
   16204 
   16205   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16206   # powerpc, because MkLinux only supported shared libraries with the
   16207   # GNU dynamic linker.  Since this was broken with cross compilers,
   16208   # most powerpc-linux boxes support dynamic linking these days and
   16209   # people can always --disable-shared, the test was removed, and we
   16210   # assume the GNU/Linux dynamic linker is in use.
   16211   dynamic_linker='GNU/Linux ld.so'
   16212   ;;
   16213 
   16214 netbsd*)
   16215   version_type=sunos
   16216   need_lib_prefix=no
   16217   need_version=no
   16218   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16219     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16220     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16221     dynamic_linker='NetBSD (a.out) ld.so'
   16222   else
   16223     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16224     soname_spec='${libname}${release}${shared_ext}$major'
   16225     dynamic_linker='NetBSD ld.elf_so'
   16226   fi
   16227   shlibpath_var=LD_LIBRARY_PATH
   16228   shlibpath_overrides_runpath=yes
   16229   hardcode_into_libs=yes
   16230   ;;
   16231 
   16232 newsos6)
   16233   version_type=linux
   16234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16235   shlibpath_var=LD_LIBRARY_PATH
   16236   shlibpath_overrides_runpath=yes
   16237   ;;
   16238 
   16239 nto-qnx*)
   16240   version_type=linux
   16241   need_lib_prefix=no
   16242   need_version=no
   16243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16244   soname_spec='${libname}${release}${shared_ext}$major'
   16245   shlibpath_var=LD_LIBRARY_PATH
   16246   shlibpath_overrides_runpath=yes
   16247   ;;
   16248 
   16249 openbsd*)
   16250   version_type=sunos
   16251   sys_lib_dlsearch_path_spec="/usr/lib"
   16252   need_lib_prefix=no
   16253   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16254   case $host_os in
   16255     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16256     *)                         need_version=no  ;;
   16257   esac
   16258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16259   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16260   shlibpath_var=LD_LIBRARY_PATH
   16261   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16262     case $host_os in
   16263       openbsd2.[89] | openbsd2.[89].*)
   16264 	shlibpath_overrides_runpath=no
   16265 	;;
   16266       *)
   16267 	shlibpath_overrides_runpath=yes
   16268 	;;
   16269       esac
   16270   else
   16271     shlibpath_overrides_runpath=yes
   16272   fi
   16273   ;;
   16274 
   16275 os2*)
   16276   libname_spec='$name'
   16277   shrext_cmds=".dll"
   16278   need_lib_prefix=no
   16279   library_names_spec='$libname${shared_ext} $libname.a'
   16280   dynamic_linker='OS/2 ld.exe'
   16281   shlibpath_var=LIBPATH
   16282   ;;
   16283 
   16284 osf3* | osf4* | osf5*)
   16285   version_type=osf
   16286   need_lib_prefix=no
   16287   need_version=no
   16288   soname_spec='${libname}${release}${shared_ext}$major'
   16289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16290   shlibpath_var=LD_LIBRARY_PATH
   16291   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16292   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16293   ;;
   16294 
   16295 rdos*)
   16296   dynamic_linker=no
   16297   ;;
   16298 
   16299 solaris*)
   16300   version_type=linux
   16301   need_lib_prefix=no
   16302   need_version=no
   16303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16304   soname_spec='${libname}${release}${shared_ext}$major'
   16305   shlibpath_var=LD_LIBRARY_PATH
   16306   shlibpath_overrides_runpath=yes
   16307   hardcode_into_libs=yes
   16308   # ldd complains unless libraries are executable
   16309   postinstall_cmds='chmod +x $lib'
   16310   ;;
   16311 
   16312 sunos4*)
   16313   version_type=sunos
   16314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16315   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16316   shlibpath_var=LD_LIBRARY_PATH
   16317   shlibpath_overrides_runpath=yes
   16318   if test "$with_gnu_ld" = yes; then
   16319     need_lib_prefix=no
   16320   fi
   16321   need_version=yes
   16322   ;;
   16323 
   16324 sysv4 | sysv4.3*)
   16325   version_type=linux
   16326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16327   soname_spec='${libname}${release}${shared_ext}$major'
   16328   shlibpath_var=LD_LIBRARY_PATH
   16329   case $host_vendor in
   16330     sni)
   16331       shlibpath_overrides_runpath=no
   16332       need_lib_prefix=no
   16333       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16334       runpath_var=LD_RUN_PATH
   16335       ;;
   16336     siemens)
   16337       need_lib_prefix=no
   16338       ;;
   16339     motorola)
   16340       need_lib_prefix=no
   16341       need_version=no
   16342       shlibpath_overrides_runpath=no
   16343       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16344       ;;
   16345   esac
   16346   ;;
   16347 
   16348 sysv4*MP*)
   16349   if test -d /usr/nec ;then
   16350     version_type=linux
   16351     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16352     soname_spec='$libname${shared_ext}.$major'
   16353     shlibpath_var=LD_LIBRARY_PATH
   16354   fi
   16355   ;;
   16356 
   16357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16358   version_type=freebsd-elf
   16359   need_lib_prefix=no
   16360   need_version=no
   16361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16362   soname_spec='${libname}${release}${shared_ext}$major'
   16363   shlibpath_var=LD_LIBRARY_PATH
   16364   hardcode_into_libs=yes
   16365   if test "$with_gnu_ld" = yes; then
   16366     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16367     shlibpath_overrides_runpath=no
   16368   else
   16369     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16370     shlibpath_overrides_runpath=yes
   16371     case $host_os in
   16372       sco3.2v5*)
   16373         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16374 	;;
   16375     esac
   16376   fi
   16377   sys_lib_dlsearch_path_spec='/usr/lib'
   16378   ;;
   16379 
   16380 uts4*)
   16381   version_type=linux
   16382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16383   soname_spec='${libname}${release}${shared_ext}$major'
   16384   shlibpath_var=LD_LIBRARY_PATH
   16385   ;;
   16386 
   16387 *)
   16388   dynamic_linker=no
   16389   ;;
   16390 esac
   16391 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16392 $as_echo "$dynamic_linker" >&6; }
   16393 test "$dynamic_linker" = no && can_build_shared=no
   16394 
   16395 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16396   $as_echo_n "(cached) " >&6
   16397 else
   16398   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16399 fi
   16400 
   16401 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16402 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16403   $as_echo_n "(cached) " >&6
   16404 else
   16405   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16406 fi
   16407 
   16408 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16409 
   16410 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16411 if test "$GCC" = yes; then
   16412   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16413 fi
   16414 
   16415 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16416 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16417 hardcode_action_F77=
   16418 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16419    test -n "$runpath_var_F77" || \
   16420    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16421 
   16422   # We can hardcode non-existant directories.
   16423   if test "$hardcode_direct_F77" != no &&
   16424      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16425      # have to relink, otherwise we might link with an installed library
   16426      # when we should be linking with a yet-to-be-installed one
   16427      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16428      test "$hardcode_minus_L_F77" != no; then
   16429     # Linking always hardcodes the temporary library directory.
   16430     hardcode_action_F77=relink
   16431   else
   16432     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16433     hardcode_action_F77=immediate
   16434   fi
   16435 else
   16436   # We cannot hardcode anything, or else we can only hardcode existing
   16437   # directories.
   16438   hardcode_action_F77=unsupported
   16439 fi
   16440 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16441 $as_echo "$hardcode_action_F77" >&6; }
   16442 
   16443 if test "$hardcode_action_F77" = relink; then
   16444   # Fast installation is not supported
   16445   enable_fast_install=no
   16446 elif test "$shlibpath_overrides_runpath" = yes ||
   16447      test "$enable_shared" = no; then
   16448   # Fast installation is not necessary
   16449   enable_fast_install=needless
   16450 fi
   16451 
   16452 
   16453 # The else clause should only fire when bootstrapping the
   16454 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16455 # with your package, and you will get complaints that there are
   16456 # no rules to generate ltmain.sh.
   16457 if test -f "$ltmain"; then
   16458   # See if we are running on zsh, and set the options which allow our commands through
   16459   # without removal of \ escapes.
   16460   if test -n "${ZSH_VERSION+set}" ; then
   16461     setopt NO_GLOB_SUBST
   16462   fi
   16463   # Now quote all the things that may contain metacharacters while being
   16464   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16465   # variables and quote the copies for generation of the libtool script.
   16466   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16467     SED SHELL STRIP \
   16468     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16469     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16470     deplibs_check_method reload_flag reload_cmds need_locks \
   16471     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16472     lt_cv_sys_global_symbol_to_c_name_address \
   16473     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16474     old_postinstall_cmds old_postuninstall_cmds \
   16475     compiler_F77 \
   16476     CC_F77 \
   16477     LD_F77 \
   16478     lt_prog_compiler_wl_F77 \
   16479     lt_prog_compiler_pic_F77 \
   16480     lt_prog_compiler_static_F77 \
   16481     lt_prog_compiler_no_builtin_flag_F77 \
   16482     export_dynamic_flag_spec_F77 \
   16483     thread_safe_flag_spec_F77 \
   16484     whole_archive_flag_spec_F77 \
   16485     enable_shared_with_static_runtimes_F77 \
   16486     old_archive_cmds_F77 \
   16487     old_archive_from_new_cmds_F77 \
   16488     predep_objects_F77 \
   16489     postdep_objects_F77 \
   16490     predeps_F77 \
   16491     postdeps_F77 \
   16492     compiler_lib_search_path_F77 \
   16493     compiler_lib_search_dirs_F77 \
   16494     archive_cmds_F77 \
   16495     archive_expsym_cmds_F77 \
   16496     postinstall_cmds_F77 \
   16497     postuninstall_cmds_F77 \
   16498     old_archive_from_expsyms_cmds_F77 \
   16499     allow_undefined_flag_F77 \
   16500     no_undefined_flag_F77 \
   16501     export_symbols_cmds_F77 \
   16502     hardcode_libdir_flag_spec_F77 \
   16503     hardcode_libdir_flag_spec_ld_F77 \
   16504     hardcode_libdir_separator_F77 \
   16505     hardcode_automatic_F77 \
   16506     module_cmds_F77 \
   16507     module_expsym_cmds_F77 \
   16508     lt_cv_prog_compiler_c_o_F77 \
   16509     fix_srcfile_path_F77 \
   16510     exclude_expsyms_F77 \
   16511     include_expsyms_F77; do
   16512 
   16513     case $var in
   16514     old_archive_cmds_F77 | \
   16515     old_archive_from_new_cmds_F77 | \
   16516     archive_cmds_F77 | \
   16517     archive_expsym_cmds_F77 | \
   16518     module_cmds_F77 | \
   16519     module_expsym_cmds_F77 | \
   16520     old_archive_from_expsyms_cmds_F77 | \
   16521     export_symbols_cmds_F77 | \
   16522     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16523     postinstall_cmds | postuninstall_cmds | \
   16524     old_postinstall_cmds | old_postuninstall_cmds | \
   16525     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16526       # Double-quote double-evaled strings.
   16527       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16528       ;;
   16529     *)
   16530       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16531       ;;
   16532     esac
   16533   done
   16534 
   16535   case $lt_echo in
   16536   *'\$0 --fallback-echo"')
   16537     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16538     ;;
   16539   esac
   16540 
   16541 cfgfile="$ofile"
   16542 
   16543   cat <<__EOF__ >> "$cfgfile"
   16544 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16545 
   16546 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16547 
   16548 # Shell to use when invoking shell scripts.
   16549 SHELL=$lt_SHELL
   16550 
   16551 # Whether or not to build shared libraries.
   16552 build_libtool_libs=$enable_shared
   16553 
   16554 # Whether or not to build static libraries.
   16555 build_old_libs=$enable_static
   16556 
   16557 # Whether or not to add -lc for building shared libraries.
   16558 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16559 
   16560 # Whether or not to disallow shared libs when runtime libs are static
   16561 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16562 
   16563 # Whether or not to optimize for fast installation.
   16564 fast_install=$enable_fast_install
   16565 
   16566 # The host system.
   16567 host_alias=$host_alias
   16568 host=$host
   16569 host_os=$host_os
   16570 
   16571 # The build system.
   16572 build_alias=$build_alias
   16573 build=$build
   16574 build_os=$build_os
   16575 
   16576 # An echo program that does not interpret backslashes.
   16577 echo=$lt_echo
   16578 
   16579 # The archiver.
   16580 AR=$lt_AR
   16581 AR_FLAGS=$lt_AR_FLAGS
   16582 
   16583 # A C compiler.
   16584 LTCC=$lt_LTCC
   16585 
   16586 # LTCC compiler flags.
   16587 LTCFLAGS=$lt_LTCFLAGS
   16588 
   16589 # A language-specific compiler.
   16590 CC=$lt_compiler_F77
   16591 
   16592 # Is the compiler the GNU C compiler?
   16593 with_gcc=$GCC_F77
   16594 
   16595 # An ERE matcher.
   16596 EGREP=$lt_EGREP
   16597 
   16598 # The linker used to build libraries.
   16599 LD=$lt_LD_F77
   16600 
   16601 # Whether we need hard or soft links.
   16602 LN_S=$lt_LN_S
   16603 
   16604 # A BSD-compatible nm program.
   16605 NM=$lt_NM
   16606 
   16607 # A symbol stripping program
   16608 STRIP=$lt_STRIP
   16609 
   16610 # Used to examine libraries when file_magic_cmd begins "file"
   16611 MAGIC_CMD=$MAGIC_CMD
   16612 
   16613 # Used on cygwin: DLL creation program.
   16614 DLLTOOL="$DLLTOOL"
   16615 
   16616 # Used on cygwin: object dumper.
   16617 OBJDUMP="$OBJDUMP"
   16618 
   16619 # Used on cygwin: assembler.
   16620 AS="$AS"
   16621 
   16622 # The name of the directory that contains temporary libtool files.
   16623 objdir=$objdir
   16624 
   16625 # How to create reloadable object files.
   16626 reload_flag=$lt_reload_flag
   16627 reload_cmds=$lt_reload_cmds
   16628 
   16629 # How to pass a linker flag through the compiler.
   16630 wl=$lt_lt_prog_compiler_wl_F77
   16631 
   16632 # Object file suffix (normally "o").
   16633 objext="$ac_objext"
   16634 
   16635 # Old archive suffix (normally "a").
   16636 libext="$libext"
   16637 
   16638 # Shared library suffix (normally ".so").
   16639 shrext_cmds='$shrext_cmds'
   16640 
   16641 # Executable file suffix (normally "").
   16642 exeext="$exeext"
   16643 
   16644 # Additional compiler flags for building library objects.
   16645 pic_flag=$lt_lt_prog_compiler_pic_F77
   16646 pic_mode=$pic_mode
   16647 
   16648 # What is the maximum length of a command?
   16649 max_cmd_len=$lt_cv_sys_max_cmd_len
   16650 
   16651 # Does compiler simultaneously support -c and -o options?
   16652 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16653 
   16654 # Must we lock files when doing compilation?
   16655 need_locks=$lt_need_locks
   16656 
   16657 # Do we need the lib prefix for modules?
   16658 need_lib_prefix=$need_lib_prefix
   16659 
   16660 # Do we need a version for libraries?
   16661 need_version=$need_version
   16662 
   16663 # Whether dlopen is supported.
   16664 dlopen_support=$enable_dlopen
   16665 
   16666 # Whether dlopen of programs is supported.
   16667 dlopen_self=$enable_dlopen_self
   16668 
   16669 # Whether dlopen of statically linked programs is supported.
   16670 dlopen_self_static=$enable_dlopen_self_static
   16671 
   16672 # Compiler flag to prevent dynamic linking.
   16673 link_static_flag=$lt_lt_prog_compiler_static_F77
   16674 
   16675 # Compiler flag to turn off builtin functions.
   16676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16677 
   16678 # Compiler flag to allow reflexive dlopens.
   16679 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16680 
   16681 # Compiler flag to generate shared objects directly from archives.
   16682 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16683 
   16684 # Compiler flag to generate thread-safe objects.
   16685 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16686 
   16687 # Library versioning type.
   16688 version_type=$version_type
   16689 
   16690 # Format of library name prefix.
   16691 libname_spec=$lt_libname_spec
   16692 
   16693 # List of archive names.  First name is the real one, the rest are links.
   16694 # The last name is the one that the linker finds with -lNAME.
   16695 library_names_spec=$lt_library_names_spec
   16696 
   16697 # The coded name of the library, if different from the real name.
   16698 soname_spec=$lt_soname_spec
   16699 
   16700 # Commands used to build and install an old-style archive.
   16701 RANLIB=$lt_RANLIB
   16702 old_archive_cmds=$lt_old_archive_cmds_F77
   16703 old_postinstall_cmds=$lt_old_postinstall_cmds
   16704 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16705 
   16706 # Create an old-style archive from a shared archive.
   16707 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16708 
   16709 # Create a temporary old-style archive to link instead of a shared archive.
   16710 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16711 
   16712 # Commands used to build and install a shared archive.
   16713 archive_cmds=$lt_archive_cmds_F77
   16714 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16715 postinstall_cmds=$lt_postinstall_cmds
   16716 postuninstall_cmds=$lt_postuninstall_cmds
   16717 
   16718 # Commands used to build a loadable module (assumed same as above if empty)
   16719 module_cmds=$lt_module_cmds_F77
   16720 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16721 
   16722 # Commands to strip libraries.
   16723 old_striplib=$lt_old_striplib
   16724 striplib=$lt_striplib
   16725 
   16726 # Dependencies to place before the objects being linked to create a
   16727 # shared library.
   16728 predep_objects=$lt_predep_objects_F77
   16729 
   16730 # Dependencies to place after the objects being linked to create a
   16731 # shared library.
   16732 postdep_objects=$lt_postdep_objects_F77
   16733 
   16734 # Dependencies to place before the objects being linked to create a
   16735 # shared library.
   16736 predeps=$lt_predeps_F77
   16737 
   16738 # Dependencies to place after the objects being linked to create a
   16739 # shared library.
   16740 postdeps=$lt_postdeps_F77
   16741 
   16742 # The directories searched by this compiler when creating a shared
   16743 # library
   16744 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16745 
   16746 # The library search path used internally by the compiler when linking
   16747 # a shared library.
   16748 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16749 
   16750 # Method to check whether dependent libraries are shared objects.
   16751 deplibs_check_method=$lt_deplibs_check_method
   16752 
   16753 # Command to use when deplibs_check_method == file_magic.
   16754 file_magic_cmd=$lt_file_magic_cmd
   16755 
   16756 # Flag that allows shared libraries with undefined symbols to be built.
   16757 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16758 
   16759 # Flag that forces no undefined symbols.
   16760 no_undefined_flag=$lt_no_undefined_flag_F77
   16761 
   16762 # Commands used to finish a libtool library installation in a directory.
   16763 finish_cmds=$lt_finish_cmds
   16764 
   16765 # Same as above, but a single script fragment to be evaled but not shown.
   16766 finish_eval=$lt_finish_eval
   16767 
   16768 # Take the output of nm and produce a listing of raw symbols and C names.
   16769 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16770 
   16771 # Transform the output of nm in a proper C declaration
   16772 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16773 
   16774 # Transform the output of nm in a C name address pair
   16775 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16776 
   16777 # This is the shared library runtime path variable.
   16778 runpath_var=$runpath_var
   16779 
   16780 # This is the shared library path variable.
   16781 shlibpath_var=$shlibpath_var
   16782 
   16783 # Is shlibpath searched before the hard-coded library search path?
   16784 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16785 
   16786 # How to hardcode a shared library path into an executable.
   16787 hardcode_action=$hardcode_action_F77
   16788 
   16789 # Whether we should hardcode library paths into libraries.
   16790 hardcode_into_libs=$hardcode_into_libs
   16791 
   16792 # Flag to hardcode \$libdir into a binary during linking.
   16793 # This must work even if \$libdir does not exist.
   16794 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16795 
   16796 # If ld is used when linking, flag to hardcode \$libdir into
   16797 # a binary during linking. This must work even if \$libdir does
   16798 # not exist.
   16799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16800 
   16801 # Whether we need a single -rpath flag with a separated argument.
   16802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16803 
   16804 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16805 # resulting binary.
   16806 hardcode_direct=$hardcode_direct_F77
   16807 
   16808 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16809 # resulting binary.
   16810 hardcode_minus_L=$hardcode_minus_L_F77
   16811 
   16812 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16813 # the resulting binary.
   16814 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16815 
   16816 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16817 # and all subsequent libraries and executables linked against it.
   16818 hardcode_automatic=$hardcode_automatic_F77
   16819 
   16820 # Variables whose values should be saved in libtool wrapper scripts and
   16821 # restored at relink time.
   16822 variables_saved_for_relink="$variables_saved_for_relink"
   16823 
   16824 # Whether libtool must link a program against all its dependency libraries.
   16825 link_all_deplibs=$link_all_deplibs_F77
   16826 
   16827 # Compile-time system search path for libraries
   16828 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16829 
   16830 # Run-time system search path for libraries
   16831 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16832 
   16833 # Fix the shell variable \$srcfile for the compiler.
   16834 fix_srcfile_path=$lt_fix_srcfile_path
   16835 
   16836 # Set to yes if exported symbols are required.
   16837 always_export_symbols=$always_export_symbols_F77
   16838 
   16839 # The commands to list exported symbols.
   16840 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16841 
   16842 # The commands to extract the exported symbol list from a shared archive.
   16843 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16844 
   16845 # Symbols that should not be listed in the preloaded symbols.
   16846 exclude_expsyms=$lt_exclude_expsyms_F77
   16847 
   16848 # Symbols that must always be exported.
   16849 include_expsyms=$lt_include_expsyms_F77
   16850 
   16851 # ### END LIBTOOL TAG CONFIG: $tagname
   16852 
   16853 __EOF__
   16854 
   16855 
   16856 else
   16857   # If there is no Makefile yet, we rely on a make rule to execute
   16858   # `config.status --recheck' to rerun these tests and create the
   16859   # libtool script then.
   16860   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16861   if test -f "$ltmain_in"; then
   16862     test -f Makefile && make "$ltmain"
   16863   fi
   16864 fi
   16865 
   16866 
   16867 ac_ext=c
   16868 ac_cpp='$CPP $CPPFLAGS'
   16869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16872 
   16873 CC="$lt_save_CC"
   16874 
   16875 	else
   16876 	  tagname=""
   16877 	fi
   16878 	;;
   16879 
   16880       GCJ)
   16881 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16882 
   16883 
   16884 # Source file extension for Java test sources.
   16885 ac_ext=java
   16886 
   16887 # Object file extension for compiled Java test sources.
   16888 objext=o
   16889 objext_GCJ=$objext
   16890 
   16891 # Code to be used in simple compile tests
   16892 lt_simple_compile_test_code="class foo {}"
   16893 
   16894 # Code to be used in simple link tests
   16895 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16896 
   16897 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16898 
   16899 # If no C compiler was specified, use CC.
   16900 LTCC=${LTCC-"$CC"}
   16901 
   16902 # If no C compiler flags were specified, use CFLAGS.
   16903 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16904 
   16905 # Allow CC to be a program name with arguments.
   16906 compiler=$CC
   16907 
   16908 
   16909 # save warnings/boilerplate of simple test code
   16910 ac_outfile=conftest.$ac_objext
   16911 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16912 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16913 _lt_compiler_boilerplate=`cat conftest.err`
   16914 $rm conftest*
   16915 
   16916 ac_outfile=conftest.$ac_objext
   16917 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16918 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16919 _lt_linker_boilerplate=`cat conftest.err`
   16920 $rm -r conftest*
   16921 
   16922 
   16923 # Allow CC to be a program name with arguments.
   16924 lt_save_CC="$CC"
   16925 CC=${GCJ-"gcj"}
   16926 compiler=$CC
   16927 compiler_GCJ=$CC
   16928 for cc_temp in $compiler""; do
   16929   case $cc_temp in
   16930     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16931     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16932     \-*) ;;
   16933     *) break;;
   16934   esac
   16935 done
   16936 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16937 
   16938 
   16939 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16940 archive_cmds_need_lc_GCJ=no
   16941 
   16942 old_archive_cmds_GCJ=$old_archive_cmds
   16943 
   16944 
   16945 lt_prog_compiler_no_builtin_flag_GCJ=
   16946 
   16947 if test "$GCC" = yes; then
   16948   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16949 
   16950 
   16951 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16952 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16953 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16954   $as_echo_n "(cached) " >&6
   16955 else
   16956   lt_cv_prog_compiler_rtti_exceptions=no
   16957   ac_outfile=conftest.$ac_objext
   16958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16959    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16960    # Insert the option either (1) after the last *FLAGS variable, or
   16961    # (2) before a word containing "conftest.", or (3) at the end.
   16962    # Note that $ac_compile itself does not contain backslashes and begins
   16963    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16964    # The option is referenced via a variable to avoid confusing sed.
   16965    lt_compile=`echo "$ac_compile" | $SED \
   16966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16968    -e 's:$: $lt_compiler_flag:'`
   16969    (eval echo "\"\$as_me:16969: $lt_compile\"" >&5)
   16970    (eval "$lt_compile" 2>conftest.err)
   16971    ac_status=$?
   16972    cat conftest.err >&5
   16973    echo "$as_me:16973: \$? = $ac_status" >&5
   16974    if (exit $ac_status) && test -s "$ac_outfile"; then
   16975      # The compiler can only warn and ignore the option if not recognized
   16976      # So say no if there are warnings other than the usual output.
   16977      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16978      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16979      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16980        lt_cv_prog_compiler_rtti_exceptions=yes
   16981      fi
   16982    fi
   16983    $rm conftest*
   16984 
   16985 fi
   16986 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16987 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16988 
   16989 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16990     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16991 else
   16992     :
   16993 fi
   16994 
   16995 fi
   16996 
   16997 lt_prog_compiler_wl_GCJ=
   16998 lt_prog_compiler_pic_GCJ=
   16999 lt_prog_compiler_static_GCJ=
   17000 
   17001 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17002 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17003 
   17004   if test "$GCC" = yes; then
   17005     lt_prog_compiler_wl_GCJ='-Wl,'
   17006     lt_prog_compiler_static_GCJ='-static'
   17007 
   17008     case $host_os in
   17009       aix*)
   17010       # All AIX code is PIC.
   17011       if test "$host_cpu" = ia64; then
   17012 	# AIX 5 now supports IA64 processor
   17013 	lt_prog_compiler_static_GCJ='-Bstatic'
   17014       fi
   17015       ;;
   17016 
   17017     amigaos*)
   17018       # FIXME: we need at least 68020 code to build shared libraries, but
   17019       # adding the `-m68020' flag to GCC prevents building anything better,
   17020       # like `-m68040'.
   17021       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17022       ;;
   17023 
   17024     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17025       # PIC is the default for these OSes.
   17026       ;;
   17027 
   17028     mingw* | cygwin* | pw32* | os2*)
   17029       # This hack is so that the source file can tell whether it is being
   17030       # built for inclusion in a dll (and should export symbols for example).
   17031       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17032       # (--disable-auto-import) libraries
   17033 
   17034       ;;
   17035 
   17036     darwin* | rhapsody*)
   17037       # PIC is the default on this platform
   17038       # Common symbols not allowed in MH_DYLIB files
   17039       lt_prog_compiler_pic_GCJ='-fno-common'
   17040       ;;
   17041 
   17042     interix[3-9]*)
   17043       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17044       # Instead, we relocate shared libraries at runtime.
   17045       ;;
   17046 
   17047     msdosdjgpp*)
   17048       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17049       # on systems that don't support them.
   17050       lt_prog_compiler_can_build_shared_GCJ=no
   17051       enable_shared=no
   17052       ;;
   17053 
   17054     sysv4*MP*)
   17055       if test -d /usr/nec; then
   17056 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17057       fi
   17058       ;;
   17059 
   17060     hpux*)
   17061       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17062       # not for PA HP-UX.
   17063       case $host_cpu in
   17064       hppa*64*|ia64*)
   17065 	# +Z the default
   17066 	;;
   17067       *)
   17068 	lt_prog_compiler_pic_GCJ='-fPIC'
   17069 	;;
   17070       esac
   17071       ;;
   17072 
   17073     *)
   17074       lt_prog_compiler_pic_GCJ='-fPIC'
   17075       ;;
   17076     esac
   17077   else
   17078     # PORTME Check for flag to pass linker flags through the system compiler.
   17079     case $host_os in
   17080     aix*)
   17081       lt_prog_compiler_wl_GCJ='-Wl,'
   17082       if test "$host_cpu" = ia64; then
   17083 	# AIX 5 now supports IA64 processor
   17084 	lt_prog_compiler_static_GCJ='-Bstatic'
   17085       else
   17086 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17087       fi
   17088       ;;
   17089       darwin*)
   17090         # PIC is the default on this platform
   17091         # Common symbols not allowed in MH_DYLIB files
   17092        case $cc_basename in
   17093          xlc*)
   17094          lt_prog_compiler_pic_GCJ='-qnocommon'
   17095          lt_prog_compiler_wl_GCJ='-Wl,'
   17096          ;;
   17097        esac
   17098        ;;
   17099 
   17100     mingw* | cygwin* | pw32* | os2*)
   17101       # This hack is so that the source file can tell whether it is being
   17102       # built for inclusion in a dll (and should export symbols for example).
   17103 
   17104       ;;
   17105 
   17106     hpux9* | hpux10* | hpux11*)
   17107       lt_prog_compiler_wl_GCJ='-Wl,'
   17108       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17109       # not for PA HP-UX.
   17110       case $host_cpu in
   17111       hppa*64*|ia64*)
   17112 	# +Z the default
   17113 	;;
   17114       *)
   17115 	lt_prog_compiler_pic_GCJ='+Z'
   17116 	;;
   17117       esac
   17118       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17119       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17120       ;;
   17121 
   17122     irix5* | irix6* | nonstopux*)
   17123       lt_prog_compiler_wl_GCJ='-Wl,'
   17124       # PIC (with -KPIC) is the default.
   17125       lt_prog_compiler_static_GCJ='-non_shared'
   17126       ;;
   17127 
   17128     newsos6)
   17129       lt_prog_compiler_pic_GCJ='-KPIC'
   17130       lt_prog_compiler_static_GCJ='-Bstatic'
   17131       ;;
   17132 
   17133     linux* | k*bsd*-gnu)
   17134       case $cc_basename in
   17135       icc* | ecc*)
   17136 	lt_prog_compiler_wl_GCJ='-Wl,'
   17137 	lt_prog_compiler_pic_GCJ='-KPIC'
   17138 	lt_prog_compiler_static_GCJ='-static'
   17139         ;;
   17140       pgcc* | pgf77* | pgf90* | pgf95*)
   17141         # Portland Group compilers (*not* the Pentium gcc compiler,
   17142 	# which looks to be a dead project)
   17143 	lt_prog_compiler_wl_GCJ='-Wl,'
   17144 	lt_prog_compiler_pic_GCJ='-fpic'
   17145 	lt_prog_compiler_static_GCJ='-Bstatic'
   17146         ;;
   17147       ccc*)
   17148         lt_prog_compiler_wl_GCJ='-Wl,'
   17149         # All Alpha code is PIC.
   17150         lt_prog_compiler_static_GCJ='-non_shared'
   17151         ;;
   17152       *)
   17153         case `$CC -V 2>&1 | sed 5q` in
   17154 	*Sun\ C*)
   17155 	  # Sun C 5.9
   17156 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17157 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17158 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17159 	  ;;
   17160 	*Sun\ F*)
   17161 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17162 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17163 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17164 	  lt_prog_compiler_wl_GCJ=''
   17165 	  ;;
   17166 	esac
   17167 	;;
   17168       esac
   17169       ;;
   17170 
   17171     osf3* | osf4* | osf5*)
   17172       lt_prog_compiler_wl_GCJ='-Wl,'
   17173       # All OSF/1 code is PIC.
   17174       lt_prog_compiler_static_GCJ='-non_shared'
   17175       ;;
   17176 
   17177     rdos*)
   17178       lt_prog_compiler_static_GCJ='-non_shared'
   17179       ;;
   17180 
   17181     solaris*)
   17182       lt_prog_compiler_pic_GCJ='-KPIC'
   17183       lt_prog_compiler_static_GCJ='-Bstatic'
   17184       case $cc_basename in
   17185       f77* | f90* | f95*)
   17186 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17187       *)
   17188 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17189       esac
   17190       ;;
   17191 
   17192     sunos4*)
   17193       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17194       lt_prog_compiler_pic_GCJ='-PIC'
   17195       lt_prog_compiler_static_GCJ='-Bstatic'
   17196       ;;
   17197 
   17198     sysv4 | sysv4.2uw2* | sysv4.3*)
   17199       lt_prog_compiler_wl_GCJ='-Wl,'
   17200       lt_prog_compiler_pic_GCJ='-KPIC'
   17201       lt_prog_compiler_static_GCJ='-Bstatic'
   17202       ;;
   17203 
   17204     sysv4*MP*)
   17205       if test -d /usr/nec ;then
   17206 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17207 	lt_prog_compiler_static_GCJ='-Bstatic'
   17208       fi
   17209       ;;
   17210 
   17211     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17212       lt_prog_compiler_wl_GCJ='-Wl,'
   17213       lt_prog_compiler_pic_GCJ='-KPIC'
   17214       lt_prog_compiler_static_GCJ='-Bstatic'
   17215       ;;
   17216 
   17217     unicos*)
   17218       lt_prog_compiler_wl_GCJ='-Wl,'
   17219       lt_prog_compiler_can_build_shared_GCJ=no
   17220       ;;
   17221 
   17222     uts4*)
   17223       lt_prog_compiler_pic_GCJ='-pic'
   17224       lt_prog_compiler_static_GCJ='-Bstatic'
   17225       ;;
   17226 
   17227     *)
   17228       lt_prog_compiler_can_build_shared_GCJ=no
   17229       ;;
   17230     esac
   17231   fi
   17232 
   17233 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17234 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17235 
   17236 #
   17237 # Check to make sure the PIC flag actually works.
   17238 #
   17239 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17240 
   17241 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17242 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17243 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17244   $as_echo_n "(cached) " >&6
   17245 else
   17246   lt_cv_prog_compiler_pic_works_GCJ=no
   17247   ac_outfile=conftest.$ac_objext
   17248    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17249    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17250    # Insert the option either (1) after the last *FLAGS variable, or
   17251    # (2) before a word containing "conftest.", or (3) at the end.
   17252    # Note that $ac_compile itself does not contain backslashes and begins
   17253    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17254    # The option is referenced via a variable to avoid confusing sed.
   17255    lt_compile=`echo "$ac_compile" | $SED \
   17256    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17257    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17258    -e 's:$: $lt_compiler_flag:'`
   17259    (eval echo "\"\$as_me:17259: $lt_compile\"" >&5)
   17260    (eval "$lt_compile" 2>conftest.err)
   17261    ac_status=$?
   17262    cat conftest.err >&5
   17263    echo "$as_me:17263: \$? = $ac_status" >&5
   17264    if (exit $ac_status) && test -s "$ac_outfile"; then
   17265      # The compiler can only warn and ignore the option if not recognized
   17266      # So say no if there are warnings other than the usual output.
   17267      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17268      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17269      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17270        lt_cv_prog_compiler_pic_works_GCJ=yes
   17271      fi
   17272    fi
   17273    $rm conftest*
   17274 
   17275 fi
   17276 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17277 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17278 
   17279 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17280     case $lt_prog_compiler_pic_GCJ in
   17281      "" | " "*) ;;
   17282      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17283      esac
   17284 else
   17285     lt_prog_compiler_pic_GCJ=
   17286      lt_prog_compiler_can_build_shared_GCJ=no
   17287 fi
   17288 
   17289 fi
   17290 case $host_os in
   17291   # For platforms which do not support PIC, -DPIC is meaningless:
   17292   *djgpp*)
   17293     lt_prog_compiler_pic_GCJ=
   17294     ;;
   17295   *)
   17296     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17297     ;;
   17298 esac
   17299 
   17300 #
   17301 # Check to make sure the static flag actually works.
   17302 #
   17303 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17304 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17305 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17306 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17307   $as_echo_n "(cached) " >&6
   17308 else
   17309   lt_cv_prog_compiler_static_works_GCJ=no
   17310    save_LDFLAGS="$LDFLAGS"
   17311    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17312    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17313    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17314      # The linker can only warn and ignore the option if not recognized
   17315      # So say no if there are warnings
   17316      if test -s conftest.err; then
   17317        # Append any errors to the config.log.
   17318        cat conftest.err 1>&5
   17319        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17320        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17321        if diff conftest.exp conftest.er2 >/dev/null; then
   17322          lt_cv_prog_compiler_static_works_GCJ=yes
   17323        fi
   17324      else
   17325        lt_cv_prog_compiler_static_works_GCJ=yes
   17326      fi
   17327    fi
   17328    $rm -r conftest*
   17329    LDFLAGS="$save_LDFLAGS"
   17330 
   17331 fi
   17332 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17333 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17334 
   17335 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17336     :
   17337 else
   17338     lt_prog_compiler_static_GCJ=
   17339 fi
   17340 
   17341 
   17342 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17344 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17345   $as_echo_n "(cached) " >&6
   17346 else
   17347   lt_cv_prog_compiler_c_o_GCJ=no
   17348    $rm -r conftest 2>/dev/null
   17349    mkdir conftest
   17350    cd conftest
   17351    mkdir out
   17352    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17353 
   17354    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17355    # Insert the option either (1) after the last *FLAGS variable, or
   17356    # (2) before a word containing "conftest.", or (3) at the end.
   17357    # Note that $ac_compile itself does not contain backslashes and begins
   17358    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17359    lt_compile=`echo "$ac_compile" | $SED \
   17360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17362    -e 's:$: $lt_compiler_flag:'`
   17363    (eval echo "\"\$as_me:17363: $lt_compile\"" >&5)
   17364    (eval "$lt_compile" 2>out/conftest.err)
   17365    ac_status=$?
   17366    cat out/conftest.err >&5
   17367    echo "$as_me:17367: \$? = $ac_status" >&5
   17368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17369    then
   17370      # The compiler can only warn and ignore the option if not recognized
   17371      # So say no if there are warnings
   17372      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17375        lt_cv_prog_compiler_c_o_GCJ=yes
   17376      fi
   17377    fi
   17378    chmod u+w . 2>&5
   17379    $rm conftest*
   17380    # SGI C++ compiler will create directory out/ii_files/ for
   17381    # template instantiation
   17382    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17383    $rm out/* && rmdir out
   17384    cd ..
   17385    rmdir conftest
   17386    $rm conftest*
   17387 
   17388 fi
   17389 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17390 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17391 
   17392 
   17393 hard_links="nottested"
   17394 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17395   # do not overwrite the value of need_locks provided by the user
   17396   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17397 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17398   hard_links=yes
   17399   $rm conftest*
   17400   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17401   touch conftest.a
   17402   ln conftest.a conftest.b 2>&5 || hard_links=no
   17403   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17404   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17405 $as_echo "$hard_links" >&6; }
   17406   if test "$hard_links" = no; then
   17407     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17408 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17409     need_locks=warn
   17410   fi
   17411 else
   17412   need_locks=no
   17413 fi
   17414 
   17415 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17416 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17417 
   17418   runpath_var=
   17419   allow_undefined_flag_GCJ=
   17420   enable_shared_with_static_runtimes_GCJ=no
   17421   archive_cmds_GCJ=
   17422   archive_expsym_cmds_GCJ=
   17423   old_archive_From_new_cmds_GCJ=
   17424   old_archive_from_expsyms_cmds_GCJ=
   17425   export_dynamic_flag_spec_GCJ=
   17426   whole_archive_flag_spec_GCJ=
   17427   thread_safe_flag_spec_GCJ=
   17428   hardcode_libdir_flag_spec_GCJ=
   17429   hardcode_libdir_flag_spec_ld_GCJ=
   17430   hardcode_libdir_separator_GCJ=
   17431   hardcode_direct_GCJ=no
   17432   hardcode_minus_L_GCJ=no
   17433   hardcode_shlibpath_var_GCJ=unsupported
   17434   link_all_deplibs_GCJ=unknown
   17435   hardcode_automatic_GCJ=no
   17436   module_cmds_GCJ=
   17437   module_expsym_cmds_GCJ=
   17438   always_export_symbols_GCJ=no
   17439   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17440   # include_expsyms should be a list of space-separated symbols to be *always*
   17441   # included in the symbol list
   17442   include_expsyms_GCJ=
   17443   # exclude_expsyms can be an extended regexp of symbols to exclude
   17444   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17445   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17446   # as well as any symbol that contains `d'.
   17447   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17448   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17449   # platforms (ab)use it in PIC code, but their linkers get confused if
   17450   # the symbol is explicitly referenced.  Since portable code cannot
   17451   # rely on this symbol name, it's probably fine to never include it in
   17452   # preloaded symbol tables.
   17453   # Exclude shared library initialization/finalization symbols.
   17454   extract_expsyms_cmds=
   17455   # Just being paranoid about ensuring that cc_basename is set.
   17456   for cc_temp in $compiler""; do
   17457   case $cc_temp in
   17458     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17459     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17460     \-*) ;;
   17461     *) break;;
   17462   esac
   17463 done
   17464 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17465 
   17466   case $host_os in
   17467   cygwin* | mingw* | pw32*)
   17468     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17469     # When not using gcc, we currently assume that we are using
   17470     # Microsoft Visual C++.
   17471     if test "$GCC" != yes; then
   17472       with_gnu_ld=no
   17473     fi
   17474     ;;
   17475   interix*)
   17476     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17477     with_gnu_ld=yes
   17478     ;;
   17479   openbsd*)
   17480     with_gnu_ld=no
   17481     ;;
   17482   esac
   17483 
   17484   ld_shlibs_GCJ=yes
   17485   if test "$with_gnu_ld" = yes; then
   17486     # If archive_cmds runs LD, not CC, wlarc should be empty
   17487     wlarc='${wl}'
   17488 
   17489     # Set some defaults for GNU ld with shared library support. These
   17490     # are reset later if shared libraries are not supported. Putting them
   17491     # here allows them to be overridden if necessary.
   17492     runpath_var=LD_RUN_PATH
   17493     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17494     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17495     # ancient GNU ld didn't support --whole-archive et. al.
   17496     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17497 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17498       else
   17499   	whole_archive_flag_spec_GCJ=
   17500     fi
   17501     supports_anon_versioning=no
   17502     case `$LD -v 2>/dev/null` in
   17503       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17504       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17505       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17506       *\ 2.11.*) ;; # other 2.11 versions
   17507       *) supports_anon_versioning=yes ;;
   17508     esac
   17509 
   17510     # See if GNU ld supports shared libraries.
   17511     case $host_os in
   17512     aix[3-9]*)
   17513       # On AIX/PPC, the GNU linker is very broken
   17514       if test "$host_cpu" != ia64; then
   17515 	ld_shlibs_GCJ=no
   17516 	cat <<EOF 1>&2
   17517 
   17518 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17519 *** to be unable to reliably create shared libraries on AIX.
   17520 *** Therefore, libtool is disabling shared libraries support.  If you
   17521 *** really care for shared libraries, you may want to modify your PATH
   17522 *** so that a non-GNU linker is found, and then restart.
   17523 
   17524 EOF
   17525       fi
   17526       ;;
   17527 
   17528     amigaos*)
   17529       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   17530       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17531       hardcode_minus_L_GCJ=yes
   17532 
   17533       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17534       # that the semantics of dynamic libraries on AmigaOS, at least up
   17535       # to version 4, is to share data among multiple programs linked
   17536       # with the same dynamic library.  Since this doesn't match the
   17537       # behavior of shared libraries on other platforms, we can't use
   17538       # them.
   17539       ld_shlibs_GCJ=no
   17540       ;;
   17541 
   17542     beos*)
   17543       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17544 	allow_undefined_flag_GCJ=unsupported
   17545 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17546 	# support --undefined.  This deserves some investigation.  FIXME
   17547 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17548       else
   17549 	ld_shlibs_GCJ=no
   17550       fi
   17551       ;;
   17552 
   17553     cygwin* | mingw* | pw32*)
   17554       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17555       # as there is no search path for DLLs.
   17556       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17557       allow_undefined_flag_GCJ=unsupported
   17558       always_export_symbols_GCJ=no
   17559       enable_shared_with_static_runtimes_GCJ=yes
   17560       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17561 
   17562       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17563         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17564 	# If the export-symbols file already is a .def file (1st line
   17565 	# is EXPORTS), use it as is; otherwise, prepend...
   17566 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17567 	  cp $export_symbols $output_objdir/$soname.def;
   17568 	else
   17569 	  echo EXPORTS > $output_objdir/$soname.def;
   17570 	  cat $export_symbols >> $output_objdir/$soname.def;
   17571 	fi~
   17572 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17573       else
   17574 	ld_shlibs_GCJ=no
   17575       fi
   17576       ;;
   17577 
   17578     interix[3-9]*)
   17579       hardcode_direct_GCJ=no
   17580       hardcode_shlibpath_var_GCJ=no
   17581       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17582       export_dynamic_flag_spec_GCJ='${wl}-E'
   17583       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17584       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17585       # default) and relocated if they conflict, which is a slow very memory
   17586       # consuming and fragmenting process.  To avoid this, we pick a random,
   17587       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17588       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17589       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17590       archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17591       ;;
   17592 
   17593     gnu* | linux* | k*bsd*-gnu)
   17594       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17595 	tmp_addflag=
   17596 	case $cc_basename,$host_cpu in
   17597 	pgcc*)				# Portland Group C compiler
   17598 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17599 	  tmp_addflag=' $pic_flag'
   17600 	  ;;
   17601 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17602 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17603 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17604 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17605 	  tmp_addflag=' -i_dynamic' ;;
   17606 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17607 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17608 	ifc* | ifort*)			# Intel Fortran compiler
   17609 	  tmp_addflag=' -nofor_main' ;;
   17610 	esac
   17611 	case `$CC -V 2>&1 | sed 5q` in
   17612 	*Sun\ C*)			# Sun C 5.9
   17613 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17614 	  tmp_sharedflag='-G' ;;
   17615 	*Sun\ F*)			# Sun Fortran 8.3
   17616 	  tmp_sharedflag='-G' ;;
   17617 	*)
   17618 	  tmp_sharedflag='-shared' ;;
   17619 	esac
   17620 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17621 
   17622 	if test $supports_anon_versioning = yes; then
   17623 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17624   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17625   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17626 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17627 	fi
   17628       else
   17629 	ld_shlibs_GCJ=no
   17630       fi
   17631       ;;
   17632 
   17633     netbsd*)
   17634       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17635 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17636 	wlarc=
   17637       else
   17638 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17639 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17640       fi
   17641       ;;
   17642 
   17643     solaris*)
   17644       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17645 	ld_shlibs_GCJ=no
   17646 	cat <<EOF 1>&2
   17647 
   17648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17649 *** create shared libraries on Solaris systems.  Therefore, libtool
   17650 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17651 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17652 *** your PATH or compiler configuration so that the native linker is
   17653 *** used, and then restart.
   17654 
   17655 EOF
   17656       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17657 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17658 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17659       else
   17660 	ld_shlibs_GCJ=no
   17661       fi
   17662       ;;
   17663 
   17664     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17665       case `$LD -v 2>&1` in
   17666         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17667 	ld_shlibs_GCJ=no
   17668 	cat <<_LT_EOF 1>&2
   17669 
   17670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17671 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17672 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17673 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17674 *** your PATH or compiler configuration so that the native linker is
   17675 *** used, and then restart.
   17676 
   17677 _LT_EOF
   17678 	;;
   17679 	*)
   17680 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17681 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17682 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17683 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17684 	  else
   17685 	    ld_shlibs_GCJ=no
   17686 	  fi
   17687 	;;
   17688       esac
   17689       ;;
   17690 
   17691     sunos4*)
   17692       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17693       wlarc=
   17694       hardcode_direct_GCJ=yes
   17695       hardcode_shlibpath_var_GCJ=no
   17696       ;;
   17697 
   17698     *)
   17699       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17700 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17701 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17702       else
   17703 	ld_shlibs_GCJ=no
   17704       fi
   17705       ;;
   17706     esac
   17707 
   17708     if test "$ld_shlibs_GCJ" = no; then
   17709       runpath_var=
   17710       hardcode_libdir_flag_spec_GCJ=
   17711       export_dynamic_flag_spec_GCJ=
   17712       whole_archive_flag_spec_GCJ=
   17713     fi
   17714   else
   17715     # PORTME fill in a description of your system's linker (not GNU ld)
   17716     case $host_os in
   17717     aix3*)
   17718       allow_undefined_flag_GCJ=unsupported
   17719       always_export_symbols_GCJ=yes
   17720       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   17721       # Note: this linker hardcodes the directories in LIBPATH if there
   17722       # are no directories specified by -L.
   17723       hardcode_minus_L_GCJ=yes
   17724       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17725 	# Neither direct hardcoding nor static linking is supported with a
   17726 	# broken collect2.
   17727 	hardcode_direct_GCJ=unsupported
   17728       fi
   17729       ;;
   17730 
   17731     aix[4-9]*)
   17732       if test "$host_cpu" = ia64; then
   17733 	# On IA64, the linker does run time linking by default, so we don't
   17734 	# have to do anything special.
   17735 	aix_use_runtimelinking=no
   17736 	exp_sym_flag='-Bexport'
   17737 	no_entry_flag=""
   17738       else
   17739 	# If we're using GNU nm, then we don't want the "-C" option.
   17740 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17741 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17742 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17743 	else
   17744 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17745 	fi
   17746 	aix_use_runtimelinking=no
   17747 
   17748 	# Test if we are trying to use run time linking or normal
   17749 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17750 	# need to do runtime linking.
   17751 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17752 	  for ld_flag in $LDFLAGS; do
   17753   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17754   	    aix_use_runtimelinking=yes
   17755   	    break
   17756   	  fi
   17757 	  done
   17758 	  ;;
   17759 	esac
   17760 
   17761 	exp_sym_flag='-bexport'
   17762 	no_entry_flag='-bnoentry'
   17763       fi
   17764 
   17765       # When large executables or shared objects are built, AIX ld can
   17766       # have problems creating the table of contents.  If linking a library
   17767       # or program results in "error TOC overflow" add -mminimal-toc to
   17768       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17769       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17770 
   17771       archive_cmds_GCJ=''
   17772       hardcode_direct_GCJ=yes
   17773       hardcode_libdir_separator_GCJ=':'
   17774       link_all_deplibs_GCJ=yes
   17775 
   17776       if test "$GCC" = yes; then
   17777 	case $host_os in aix4.[012]|aix4.[012].*)
   17778 	# We only want to do this on AIX 4.2 and lower, the check
   17779 	# below for broken collect2 doesn't work under 4.3+
   17780 	  collect2name=`${CC} -print-prog-name=collect2`
   17781 	  if test -f "$collect2name" && \
   17782   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17783 	  then
   17784   	  # We have reworked collect2
   17785   	  :
   17786 	  else
   17787   	  # We have old collect2
   17788   	  hardcode_direct_GCJ=unsupported
   17789   	  # It fails to find uninstalled libraries when the uninstalled
   17790   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17791   	  # to unsupported forces relinking
   17792   	  hardcode_minus_L_GCJ=yes
   17793   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17794   	  hardcode_libdir_separator_GCJ=
   17795 	  fi
   17796 	  ;;
   17797 	esac
   17798 	shared_flag='-shared'
   17799 	if test "$aix_use_runtimelinking" = yes; then
   17800 	  shared_flag="$shared_flag "'${wl}-G'
   17801 	fi
   17802       else
   17803 	# not using gcc
   17804 	if test "$host_cpu" = ia64; then
   17805   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17806   	# chokes on -Wl,-G. The following line is correct:
   17807 	  shared_flag='-G'
   17808 	else
   17809 	  if test "$aix_use_runtimelinking" = yes; then
   17810 	    shared_flag='${wl}-G'
   17811 	  else
   17812 	    shared_flag='${wl}-bM:SRE'
   17813 	  fi
   17814 	fi
   17815       fi
   17816 
   17817       # It seems that -bexpall does not export symbols beginning with
   17818       # underscore (_), so it is better to generate a list of symbols to export.
   17819       always_export_symbols_GCJ=yes
   17820       if test "$aix_use_runtimelinking" = yes; then
   17821 	# Warning - without using the other runtime loading flags (-brtl),
   17822 	# -berok will link without error, but may produce a broken library.
   17823 	allow_undefined_flag_GCJ='-berok'
   17824        # Determine the default libpath from the value encoded in an empty executable.
   17825        cat >conftest.$ac_ext <<_ACEOF
   17826 /* confdefs.h.  */
   17827 _ACEOF
   17828 cat confdefs.h >>conftest.$ac_ext
   17829 cat >>conftest.$ac_ext <<_ACEOF
   17830 /* end confdefs.h.  */
   17831 
   17832 int
   17833 main ()
   17834 {
   17835 
   17836   ;
   17837   return 0;
   17838 }
   17839 _ACEOF
   17840 rm -f conftest.$ac_objext conftest$ac_exeext
   17841 if { (ac_try="$ac_link"
   17842 case "(($ac_try" in
   17843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17844   *) ac_try_echo=$ac_try;;
   17845 esac
   17846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17847 $as_echo "$ac_try_echo") >&5
   17848   (eval "$ac_link") 2>conftest.er1
   17849   ac_status=$?
   17850   grep -v '^ *+' conftest.er1 >conftest.err
   17851   rm -f conftest.er1
   17852   cat conftest.err >&5
   17853   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17854   (exit $ac_status); } && {
   17855 	 test -z "$ac_c_werror_flag" ||
   17856 	 test ! -s conftest.err
   17857        } && test -s conftest$ac_exeext && {
   17858 	 test "$cross_compiling" = yes ||
   17859 	 $as_test_x conftest$ac_exeext
   17860        }; then
   17861 
   17862 lt_aix_libpath_sed='
   17863     /Import File Strings/,/^$/ {
   17864 	/^0/ {
   17865 	    s/^0  *\(.*\)$/\1/
   17866 	    p
   17867 	}
   17868     }'
   17869 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17870 # Check for a 64-bit object if we didn't find anything.
   17871 if test -z "$aix_libpath"; then
   17872   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17873 fi
   17874 else
   17875   $as_echo "$as_me: failed program was:" >&5
   17876 sed 's/^/| /' conftest.$ac_ext >&5
   17877 
   17878 
   17879 fi
   17880 
   17881 rm -rf conftest.dSYM
   17882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17883       conftest$ac_exeext conftest.$ac_ext
   17884 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17885 
   17886        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17887 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   17888        else
   17889 	if test "$host_cpu" = ia64; then
   17890 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17891 	  allow_undefined_flag_GCJ="-z nodefs"
   17892 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   17893 	else
   17894 	 # Determine the default libpath from the value encoded in an empty executable.
   17895 	 cat >conftest.$ac_ext <<_ACEOF
   17896 /* confdefs.h.  */
   17897 _ACEOF
   17898 cat confdefs.h >>conftest.$ac_ext
   17899 cat >>conftest.$ac_ext <<_ACEOF
   17900 /* end confdefs.h.  */
   17901 
   17902 int
   17903 main ()
   17904 {
   17905 
   17906   ;
   17907   return 0;
   17908 }
   17909 _ACEOF
   17910 rm -f conftest.$ac_objext conftest$ac_exeext
   17911 if { (ac_try="$ac_link"
   17912 case "(($ac_try" in
   17913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17914   *) ac_try_echo=$ac_try;;
   17915 esac
   17916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17917 $as_echo "$ac_try_echo") >&5
   17918   (eval "$ac_link") 2>conftest.er1
   17919   ac_status=$?
   17920   grep -v '^ *+' conftest.er1 >conftest.err
   17921   rm -f conftest.er1
   17922   cat conftest.err >&5
   17923   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17924   (exit $ac_status); } && {
   17925 	 test -z "$ac_c_werror_flag" ||
   17926 	 test ! -s conftest.err
   17927        } && test -s conftest$ac_exeext && {
   17928 	 test "$cross_compiling" = yes ||
   17929 	 $as_test_x conftest$ac_exeext
   17930        }; then
   17931 
   17932 lt_aix_libpath_sed='
   17933     /Import File Strings/,/^$/ {
   17934 	/^0/ {
   17935 	    s/^0  *\(.*\)$/\1/
   17936 	    p
   17937 	}
   17938     }'
   17939 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17940 # Check for a 64-bit object if we didn't find anything.
   17941 if test -z "$aix_libpath"; then
   17942   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17943 fi
   17944 else
   17945   $as_echo "$as_me: failed program was:" >&5
   17946 sed 's/^/| /' conftest.$ac_ext >&5
   17947 
   17948 
   17949 fi
   17950 
   17951 rm -rf conftest.dSYM
   17952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17953       conftest$ac_exeext conftest.$ac_ext
   17954 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17955 
   17956 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17957 	  # Warning - without using the other run time loading flags,
   17958 	  # -berok will link without error, but may produce a broken library.
   17959 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17960 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17961 	  # Exported symbols can be pulled into shared objects from archives
   17962 	  whole_archive_flag_spec_GCJ='$convenience'
   17963 	  archive_cmds_need_lc_GCJ=yes
   17964 	  # This is similar to how AIX traditionally builds its shared libraries.
   17965 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   17966 	fi
   17967       fi
   17968       ;;
   17969 
   17970     amigaos*)
   17971       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   17972       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17973       hardcode_minus_L_GCJ=yes
   17974       # see comment about different semantics on the GNU ld section
   17975       ld_shlibs_GCJ=no
   17976       ;;
   17977 
   17978     bsdi[45]*)
   17979       export_dynamic_flag_spec_GCJ=-rdynamic
   17980       ;;
   17981 
   17982     cygwin* | mingw* | pw32*)
   17983       # When not using gcc, we currently assume that we are using
   17984       # Microsoft Visual C++.
   17985       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17986       # no search path for DLLs.
   17987       hardcode_libdir_flag_spec_GCJ=' '
   17988       allow_undefined_flag_GCJ=unsupported
   17989       # Tell ltmain to make .lib files, not .a files.
   17990       libext=lib
   17991       # Tell ltmain to make .dll files, not .so files.
   17992       shrext_cmds=".dll"
   17993       # FIXME: Setting linknames here is a bad hack.
   17994       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17995       # The linker will automatically build a .lib file if we build a DLL.
   17996       old_archive_From_new_cmds_GCJ='true'
   17997       # FIXME: Should let the user specify the lib program.
   17998       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17999       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18000       enable_shared_with_static_runtimes_GCJ=yes
   18001       ;;
   18002 
   18003     darwin* | rhapsody*)
   18004       case $host_os in
   18005         rhapsody* | darwin1.[012])
   18006          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18007          ;;
   18008        *) # Darwin 1.3 on
   18009          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18010            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18011          else
   18012            case ${MACOSX_DEPLOYMENT_TARGET} in
   18013              10.[012])
   18014                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18015                ;;
   18016              10.*)
   18017                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18018                ;;
   18019            esac
   18020          fi
   18021          ;;
   18022       esac
   18023       archive_cmds_need_lc_GCJ=no
   18024       hardcode_direct_GCJ=no
   18025       hardcode_automatic_GCJ=yes
   18026       hardcode_shlibpath_var_GCJ=unsupported
   18027       whole_archive_flag_spec_GCJ=''
   18028       link_all_deplibs_GCJ=yes
   18029     if test "$GCC" = yes ; then
   18030     	output_verbose_link_cmd='echo'
   18031         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   18032         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18033         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   18034         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   18035     else
   18036       case $cc_basename in
   18037         xlc*)
   18038          output_verbose_link_cmd='echo'
   18039          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18040          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18041           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18042          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18043           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18044           ;;
   18045        *)
   18046          ld_shlibs_GCJ=no
   18047           ;;
   18048       esac
   18049     fi
   18050       ;;
   18051 
   18052     dgux*)
   18053       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18054       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18055       hardcode_shlibpath_var_GCJ=no
   18056       ;;
   18057 
   18058     freebsd1*)
   18059       ld_shlibs_GCJ=no
   18060       ;;
   18061 
   18062     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18063     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18064     # does not break anything, and helps significantly (at the cost of a little
   18065     # extra space).
   18066     freebsd2.2*)
   18067       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18068       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18069       hardcode_direct_GCJ=yes
   18070       hardcode_shlibpath_var_GCJ=no
   18071       ;;
   18072 
   18073     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18074     freebsd2*)
   18075       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18076       hardcode_direct_GCJ=yes
   18077       hardcode_minus_L_GCJ=yes
   18078       hardcode_shlibpath_var_GCJ=no
   18079       ;;
   18080 
   18081     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18082     freebsd* | dragonfly*)
   18083       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18084       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18085       hardcode_direct_GCJ=yes
   18086       hardcode_shlibpath_var_GCJ=no
   18087       ;;
   18088 
   18089     hpux9*)
   18090       if test "$GCC" = yes; then
   18091 	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   18092       else
   18093 	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   18094       fi
   18095       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18096       hardcode_libdir_separator_GCJ=:
   18097       hardcode_direct_GCJ=yes
   18098 
   18099       # hardcode_minus_L: Not really in the search PATH,
   18100       # but as the default location of the library.
   18101       hardcode_minus_L_GCJ=yes
   18102       export_dynamic_flag_spec_GCJ='${wl}-E'
   18103       ;;
   18104 
   18105     hpux10*)
   18106       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18107 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18108       else
   18109 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18110       fi
   18111       if test "$with_gnu_ld" = no; then
   18112 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18113 	hardcode_libdir_separator_GCJ=:
   18114 
   18115 	hardcode_direct_GCJ=yes
   18116 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18117 
   18118 	# hardcode_minus_L: Not really in the search PATH,
   18119 	# but as the default location of the library.
   18120 	hardcode_minus_L_GCJ=yes
   18121       fi
   18122       ;;
   18123 
   18124     hpux11*)
   18125       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18126 	case $host_cpu in
   18127 	hppa*64*)
   18128 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18129 	  ;;
   18130 	ia64*)
   18131 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18132 	  ;;
   18133 	*)
   18134 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18135 	  ;;
   18136 	esac
   18137       else
   18138 	case $host_cpu in
   18139 	hppa*64*)
   18140 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18141 	  ;;
   18142 	ia64*)
   18143 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18144 	  ;;
   18145 	*)
   18146 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18147 	  ;;
   18148 	esac
   18149       fi
   18150       if test "$with_gnu_ld" = no; then
   18151 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18152 	hardcode_libdir_separator_GCJ=:
   18153 
   18154 	case $host_cpu in
   18155 	hppa*64*|ia64*)
   18156 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18157 	  hardcode_direct_GCJ=no
   18158 	  hardcode_shlibpath_var_GCJ=no
   18159 	  ;;
   18160 	*)
   18161 	  hardcode_direct_GCJ=yes
   18162 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18163 
   18164 	  # hardcode_minus_L: Not really in the search PATH,
   18165 	  # but as the default location of the library.
   18166 	  hardcode_minus_L_GCJ=yes
   18167 	  ;;
   18168 	esac
   18169       fi
   18170       ;;
   18171 
   18172     irix5* | irix6* | nonstopux*)
   18173       if test "$GCC" = yes; then
   18174 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18175       else
   18176 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18177 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18178       fi
   18179       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18180       hardcode_libdir_separator_GCJ=:
   18181       link_all_deplibs_GCJ=yes
   18182       ;;
   18183 
   18184     netbsd*)
   18185       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18186 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18187       else
   18188 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18189       fi
   18190       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18191       hardcode_direct_GCJ=yes
   18192       hardcode_shlibpath_var_GCJ=no
   18193       ;;
   18194 
   18195     newsos6)
   18196       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18197       hardcode_direct_GCJ=yes
   18198       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18199       hardcode_libdir_separator_GCJ=:
   18200       hardcode_shlibpath_var_GCJ=no
   18201       ;;
   18202 
   18203     openbsd*)
   18204       if test -f /usr/libexec/ld.so; then
   18205 	hardcode_direct_GCJ=yes
   18206 	hardcode_shlibpath_var_GCJ=no
   18207 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18208 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18209 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18210 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18211 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18212 	else
   18213 	  case $host_os in
   18214 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18215 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18216 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18217 	     ;;
   18218 	   *)
   18219 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18220 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18221 	     ;;
   18222 	  esac
   18223         fi
   18224       else
   18225 	ld_shlibs_GCJ=no
   18226       fi
   18227       ;;
   18228 
   18229     os2*)
   18230       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18231       hardcode_minus_L_GCJ=yes
   18232       allow_undefined_flag_GCJ=unsupported
   18233       archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   18234       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18235       ;;
   18236 
   18237     osf3*)
   18238       if test "$GCC" = yes; then
   18239 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18240 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18241       else
   18242 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18243 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18244       fi
   18245       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18246       hardcode_libdir_separator_GCJ=:
   18247       ;;
   18248 
   18249     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18250       if test "$GCC" = yes; then
   18251 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18252 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18253 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18254       else
   18255 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18256 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18257 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   18258 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   18259 
   18260 	# Both c and cxx compiler support -rpath directly
   18261 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18262       fi
   18263       hardcode_libdir_separator_GCJ=:
   18264       ;;
   18265 
   18266     solaris*)
   18267       no_undefined_flag_GCJ=' -z text'
   18268       if test "$GCC" = yes; then
   18269 	wlarc='${wl}'
   18270 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18271 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18272 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18273       else
   18274 	wlarc=''
   18275 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18276 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18277   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18278       fi
   18279       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18280       hardcode_shlibpath_var_GCJ=no
   18281       case $host_os in
   18282       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18283       *)
   18284 	# The compiler driver will combine and reorder linker options,
   18285 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18286 	# but is careful enough not to reorder.
   18287  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18288 	if test "$GCC" = yes; then
   18289 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18290 	else
   18291 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18292 	fi
   18293 	;;
   18294       esac
   18295       link_all_deplibs_GCJ=yes
   18296       ;;
   18297 
   18298     sunos4*)
   18299       if test "x$host_vendor" = xsequent; then
   18300 	# Use $CC to link under sequent, because it throws in some extra .o
   18301 	# files that make .init and .fini sections work.
   18302 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18303       else
   18304 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18305       fi
   18306       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18307       hardcode_direct_GCJ=yes
   18308       hardcode_minus_L_GCJ=yes
   18309       hardcode_shlibpath_var_GCJ=no
   18310       ;;
   18311 
   18312     sysv4)
   18313       case $host_vendor in
   18314 	sni)
   18315 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18316 	  hardcode_direct_GCJ=yes # is this really true???
   18317 	;;
   18318 	siemens)
   18319 	  ## LD is ld it makes a PLAMLIB
   18320 	  ## CC just makes a GrossModule.
   18321 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18322 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18323 	  hardcode_direct_GCJ=no
   18324         ;;
   18325 	motorola)
   18326 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18327 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18328 	;;
   18329       esac
   18330       runpath_var='LD_RUN_PATH'
   18331       hardcode_shlibpath_var_GCJ=no
   18332       ;;
   18333 
   18334     sysv4.3*)
   18335       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18336       hardcode_shlibpath_var_GCJ=no
   18337       export_dynamic_flag_spec_GCJ='-Bexport'
   18338       ;;
   18339 
   18340     sysv4*MP*)
   18341       if test -d /usr/nec; then
   18342 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18343 	hardcode_shlibpath_var_GCJ=no
   18344 	runpath_var=LD_RUN_PATH
   18345 	hardcode_runpath_var=yes
   18346 	ld_shlibs_GCJ=yes
   18347       fi
   18348       ;;
   18349 
   18350     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18351       no_undefined_flag_GCJ='${wl}-z,text'
   18352       archive_cmds_need_lc_GCJ=no
   18353       hardcode_shlibpath_var_GCJ=no
   18354       runpath_var='LD_RUN_PATH'
   18355 
   18356       if test "$GCC" = yes; then
   18357 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18358 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18359       else
   18360 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18361 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18362       fi
   18363       ;;
   18364 
   18365     sysv5* | sco3.2v5* | sco5v6*)
   18366       # Note: We can NOT use -z defs as we might desire, because we do not
   18367       # link with -lc, and that would cause any symbols used from libc to
   18368       # always be unresolved, which means just about no library would
   18369       # ever link correctly.  If we're not using GNU ld we use -z text
   18370       # though, which does catch some bad symbols but isn't as heavy-handed
   18371       # as -z defs.
   18372       no_undefined_flag_GCJ='${wl}-z,text'
   18373       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18374       archive_cmds_need_lc_GCJ=no
   18375       hardcode_shlibpath_var_GCJ=no
   18376       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18377       hardcode_libdir_separator_GCJ=':'
   18378       link_all_deplibs_GCJ=yes
   18379       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18380       runpath_var='LD_RUN_PATH'
   18381 
   18382       if test "$GCC" = yes; then
   18383 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18384 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18385       else
   18386 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18387 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18388       fi
   18389       ;;
   18390 
   18391     uts4*)
   18392       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18393       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18394       hardcode_shlibpath_var_GCJ=no
   18395       ;;
   18396 
   18397     *)
   18398       ld_shlibs_GCJ=no
   18399       ;;
   18400     esac
   18401   fi
   18402 
   18403 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18404 $as_echo "$ld_shlibs_GCJ" >&6; }
   18405 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18406 
   18407 #
   18408 # Do we need to explicitly link libc?
   18409 #
   18410 case "x$archive_cmds_need_lc_GCJ" in
   18411 x|xyes)
   18412   # Assume -lc should be added
   18413   archive_cmds_need_lc_GCJ=yes
   18414 
   18415   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18416     case $archive_cmds_GCJ in
   18417     *'~'*)
   18418       # FIXME: we may have to deal with multi-command sequences.
   18419       ;;
   18420     '$CC '*)
   18421       # Test whether the compiler implicitly links with -lc since on some
   18422       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18423       # to ld, don't add -lc before -lgcc.
   18424       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18425 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18426       $rm conftest*
   18427       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18428 
   18429       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18430   (eval $ac_compile) 2>&5
   18431   ac_status=$?
   18432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18433   (exit $ac_status); } 2>conftest.err; then
   18434         soname=conftest
   18435         lib=conftest
   18436         libobjs=conftest.$ac_objext
   18437         deplibs=
   18438         wl=$lt_prog_compiler_wl_GCJ
   18439 	pic_flag=$lt_prog_compiler_pic_GCJ
   18440         compiler_flags=-v
   18441         linker_flags=-v
   18442         verstring=
   18443         output_objdir=.
   18444         libname=conftest
   18445         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18446         allow_undefined_flag_GCJ=
   18447         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18448   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18449   ac_status=$?
   18450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18451   (exit $ac_status); }
   18452         then
   18453 	  archive_cmds_need_lc_GCJ=no
   18454         else
   18455 	  archive_cmds_need_lc_GCJ=yes
   18456         fi
   18457         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18458       else
   18459         cat conftest.err 1>&5
   18460       fi
   18461       $rm conftest*
   18462       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18463 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18464       ;;
   18465     esac
   18466   fi
   18467   ;;
   18468 esac
   18469 
   18470 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18472 library_names_spec=
   18473 libname_spec='lib$name'
   18474 soname_spec=
   18475 shrext_cmds=".so"
   18476 postinstall_cmds=
   18477 postuninstall_cmds=
   18478 finish_cmds=
   18479 finish_eval=
   18480 shlibpath_var=
   18481 shlibpath_overrides_runpath=unknown
   18482 version_type=none
   18483 dynamic_linker="$host_os ld.so"
   18484 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18485 
   18486 need_lib_prefix=unknown
   18487 hardcode_into_libs=no
   18488 
   18489 # when you set need_version to no, make sure it does not cause -set_version
   18490 # flags to be left without arguments
   18491 need_version=unknown
   18492 
   18493 case $host_os in
   18494 aix3*)
   18495   version_type=linux
   18496   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18497   shlibpath_var=LIBPATH
   18498 
   18499   # AIX 3 has no versioning support, so we append a major version to the name.
   18500   soname_spec='${libname}${release}${shared_ext}$major'
   18501   ;;
   18502 
   18503 aix[4-9]*)
   18504   version_type=linux
   18505   need_lib_prefix=no
   18506   need_version=no
   18507   hardcode_into_libs=yes
   18508   if test "$host_cpu" = ia64; then
   18509     # AIX 5 supports IA64
   18510     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18511     shlibpath_var=LD_LIBRARY_PATH
   18512   else
   18513     # With GCC up to 2.95.x, collect2 would create an import file
   18514     # for dependence libraries.  The import file would start with
   18515     # the line `#! .'.  This would cause the generated library to
   18516     # depend on `.', always an invalid library.  This was fixed in
   18517     # development snapshots of GCC prior to 3.0.
   18518     case $host_os in
   18519       aix4 | aix4.[01] | aix4.[01].*)
   18520       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18521 	   echo ' yes '
   18522 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18523 	:
   18524       else
   18525 	can_build_shared=no
   18526       fi
   18527       ;;
   18528     esac
   18529     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18530     # soname into executable. Probably we can add versioning support to
   18531     # collect2, so additional links can be useful in future.
   18532     if test "$aix_use_runtimelinking" = yes; then
   18533       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18534       # instead of lib<name>.a to let people know that these are not
   18535       # typical AIX shared libraries.
   18536       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18537     else
   18538       # We preserve .a as extension for shared libraries through AIX4.2
   18539       # and later when we are not doing run time linking.
   18540       library_names_spec='${libname}${release}.a $libname.a'
   18541       soname_spec='${libname}${release}${shared_ext}$major'
   18542     fi
   18543     shlibpath_var=LIBPATH
   18544   fi
   18545   ;;
   18546 
   18547 amigaos*)
   18548   library_names_spec='$libname.ixlibrary $libname.a'
   18549   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18550   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   18551   ;;
   18552 
   18553 beos*)
   18554   library_names_spec='${libname}${shared_ext}'
   18555   dynamic_linker="$host_os ld.so"
   18556   shlibpath_var=LIBRARY_PATH
   18557   ;;
   18558 
   18559 bsdi[45]*)
   18560   version_type=linux
   18561   need_version=no
   18562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18563   soname_spec='${libname}${release}${shared_ext}$major'
   18564   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18565   shlibpath_var=LD_LIBRARY_PATH
   18566   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18567   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18568   # the default ld.so.conf also contains /usr/contrib/lib and
   18569   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18570   # libtool to hard-code these into programs
   18571   ;;
   18572 
   18573 cygwin* | mingw* | pw32*)
   18574   version_type=windows
   18575   shrext_cmds=".dll"
   18576   need_version=no
   18577   need_lib_prefix=no
   18578 
   18579   case $GCC,$host_os in
   18580   yes,cygwin* | yes,mingw* | yes,pw32*)
   18581     library_names_spec='$libname.dll.a'
   18582     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18583     postinstall_cmds='base_file=`basename \${file}`~
   18584       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18585       dldir=$destdir/`dirname \$dlpath`~
   18586       test -d \$dldir || mkdir -p \$dldir~
   18587       $install_prog $dir/$dlname \$dldir/$dlname~
   18588       chmod a+x \$dldir/$dlname'
   18589     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18590       dlpath=$dir/\$dldll~
   18591        $rm \$dlpath'
   18592     shlibpath_overrides_runpath=yes
   18593 
   18594     case $host_os in
   18595     cygwin*)
   18596       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18597       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18598       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18599       ;;
   18600     mingw*)
   18601       # MinGW DLLs use traditional 'lib' prefix
   18602       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18603       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18604       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18605         # It is most probably a Windows format PATH printed by
   18606         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18607         # path with ; separators, and with drive letters. We can handle the
   18608         # drive letters (cygwin fileutils understands them), so leave them,
   18609         # especially as we might pass files found there to a mingw objdump,
   18610         # which wouldn't understand a cygwinified path. Ahh.
   18611         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18612       else
   18613         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18614       fi
   18615       ;;
   18616     pw32*)
   18617       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18618       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18619       ;;
   18620     esac
   18621     ;;
   18622 
   18623   *)
   18624     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18625     ;;
   18626   esac
   18627   dynamic_linker='Win32 ld.exe'
   18628   # FIXME: first we should search . and the directory the executable is in
   18629   shlibpath_var=PATH
   18630   ;;
   18631 
   18632 darwin* | rhapsody*)
   18633   dynamic_linker="$host_os dyld"
   18634   version_type=darwin
   18635   need_lib_prefix=no
   18636   need_version=no
   18637   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18638   soname_spec='${libname}${release}${major}$shared_ext'
   18639   shlibpath_overrides_runpath=yes
   18640   shlibpath_var=DYLD_LIBRARY_PATH
   18641   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18642 
   18643   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18644   ;;
   18645 
   18646 dgux*)
   18647   version_type=linux
   18648   need_lib_prefix=no
   18649   need_version=no
   18650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18651   soname_spec='${libname}${release}${shared_ext}$major'
   18652   shlibpath_var=LD_LIBRARY_PATH
   18653   ;;
   18654 
   18655 freebsd1*)
   18656   dynamic_linker=no
   18657   ;;
   18658 
   18659 freebsd* | dragonfly*)
   18660   # DragonFly does not have aout.  When/if they implement a new
   18661   # versioning mechanism, adjust this.
   18662   if test -x /usr/bin/objformat; then
   18663     objformat=`/usr/bin/objformat`
   18664   else
   18665     case $host_os in
   18666     freebsd[123]*) objformat=aout ;;
   18667     *) objformat=elf ;;
   18668     esac
   18669   fi
   18670   version_type=freebsd-$objformat
   18671   case $version_type in
   18672     freebsd-elf*)
   18673       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18674       need_version=no
   18675       need_lib_prefix=no
   18676       ;;
   18677     freebsd-*)
   18678       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18679       need_version=yes
   18680       ;;
   18681   esac
   18682   shlibpath_var=LD_LIBRARY_PATH
   18683   case $host_os in
   18684   freebsd2*)
   18685     shlibpath_overrides_runpath=yes
   18686     ;;
   18687   freebsd3.[01]* | freebsdelf3.[01]*)
   18688     shlibpath_overrides_runpath=yes
   18689     hardcode_into_libs=yes
   18690     ;;
   18691   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18692   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18693     shlibpath_overrides_runpath=no
   18694     hardcode_into_libs=yes
   18695     ;;
   18696   *) # from 4.6 on, and DragonFly
   18697     shlibpath_overrides_runpath=yes
   18698     hardcode_into_libs=yes
   18699     ;;
   18700   esac
   18701   ;;
   18702 
   18703 gnu*)
   18704   version_type=linux
   18705   need_lib_prefix=no
   18706   need_version=no
   18707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18708   soname_spec='${libname}${release}${shared_ext}$major'
   18709   shlibpath_var=LD_LIBRARY_PATH
   18710   hardcode_into_libs=yes
   18711   ;;
   18712 
   18713 hpux9* | hpux10* | hpux11*)
   18714   # Give a soname corresponding to the major version so that dld.sl refuses to
   18715   # link against other versions.
   18716   version_type=sunos
   18717   need_lib_prefix=no
   18718   need_version=no
   18719   case $host_cpu in
   18720   ia64*)
   18721     shrext_cmds='.so'
   18722     hardcode_into_libs=yes
   18723     dynamic_linker="$host_os dld.so"
   18724     shlibpath_var=LD_LIBRARY_PATH
   18725     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18726     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18727     soname_spec='${libname}${release}${shared_ext}$major'
   18728     if test "X$HPUX_IA64_MODE" = X32; then
   18729       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18730     else
   18731       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18732     fi
   18733     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18734     ;;
   18735    hppa*64*)
   18736      shrext_cmds='.sl'
   18737      hardcode_into_libs=yes
   18738      dynamic_linker="$host_os dld.sl"
   18739      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18740      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18741      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18742      soname_spec='${libname}${release}${shared_ext}$major'
   18743      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18744      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18745      ;;
   18746    *)
   18747     shrext_cmds='.sl'
   18748     dynamic_linker="$host_os dld.sl"
   18749     shlibpath_var=SHLIB_PATH
   18750     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18751     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18752     soname_spec='${libname}${release}${shared_ext}$major'
   18753     ;;
   18754   esac
   18755   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18756   postinstall_cmds='chmod 555 $lib'
   18757   ;;
   18758 
   18759 interix[3-9]*)
   18760   version_type=linux
   18761   need_lib_prefix=no
   18762   need_version=no
   18763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18764   soname_spec='${libname}${release}${shared_ext}$major'
   18765   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18766   shlibpath_var=LD_LIBRARY_PATH
   18767   shlibpath_overrides_runpath=no
   18768   hardcode_into_libs=yes
   18769   ;;
   18770 
   18771 irix5* | irix6* | nonstopux*)
   18772   case $host_os in
   18773     nonstopux*) version_type=nonstopux ;;
   18774     *)
   18775 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18776 		version_type=linux
   18777 	else
   18778 		version_type=irix
   18779 	fi ;;
   18780   esac
   18781   need_lib_prefix=no
   18782   need_version=no
   18783   soname_spec='${libname}${release}${shared_ext}$major'
   18784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18785   case $host_os in
   18786   irix5* | nonstopux*)
   18787     libsuff= shlibsuff=
   18788     ;;
   18789   *)
   18790     case $LD in # libtool.m4 will add one of these switches to LD
   18791     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18792       libsuff= shlibsuff= libmagic=32-bit;;
   18793     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18794       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18795     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18796       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18797     *) libsuff= shlibsuff= libmagic=never-match;;
   18798     esac
   18799     ;;
   18800   esac
   18801   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18802   shlibpath_overrides_runpath=no
   18803   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18804   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18805   hardcode_into_libs=yes
   18806   ;;
   18807 
   18808 # No shared lib support for Linux oldld, aout, or coff.
   18809 linux*oldld* | linux*aout* | linux*coff*)
   18810   dynamic_linker=no
   18811   ;;
   18812 
   18813 # This must be Linux ELF.
   18814 linux* | k*bsd*-gnu)
   18815   version_type=linux
   18816   need_lib_prefix=no
   18817   need_version=no
   18818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18819   soname_spec='${libname}${release}${shared_ext}$major'
   18820   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18821   shlibpath_var=LD_LIBRARY_PATH
   18822   shlibpath_overrides_runpath=no
   18823   # This implies no fast_install, which is unacceptable.
   18824   # Some rework will be needed to allow for fast_install
   18825   # before this can be enabled.
   18826   hardcode_into_libs=yes
   18827 
   18828   # Append ld.so.conf contents to the search path
   18829   if test -f /etc/ld.so.conf; then
   18830     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18831     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18832   fi
   18833 
   18834   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18835   # powerpc, because MkLinux only supported shared libraries with the
   18836   # GNU dynamic linker.  Since this was broken with cross compilers,
   18837   # most powerpc-linux boxes support dynamic linking these days and
   18838   # people can always --disable-shared, the test was removed, and we
   18839   # assume the GNU/Linux dynamic linker is in use.
   18840   dynamic_linker='GNU/Linux ld.so'
   18841   ;;
   18842 
   18843 netbsd*)
   18844   version_type=sunos
   18845   need_lib_prefix=no
   18846   need_version=no
   18847   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18849     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18850     dynamic_linker='NetBSD (a.out) ld.so'
   18851   else
   18852     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18853     soname_spec='${libname}${release}${shared_ext}$major'
   18854     dynamic_linker='NetBSD ld.elf_so'
   18855   fi
   18856   shlibpath_var=LD_LIBRARY_PATH
   18857   shlibpath_overrides_runpath=yes
   18858   hardcode_into_libs=yes
   18859   ;;
   18860 
   18861 newsos6)
   18862   version_type=linux
   18863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18864   shlibpath_var=LD_LIBRARY_PATH
   18865   shlibpath_overrides_runpath=yes
   18866   ;;
   18867 
   18868 nto-qnx*)
   18869   version_type=linux
   18870   need_lib_prefix=no
   18871   need_version=no
   18872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18873   soname_spec='${libname}${release}${shared_ext}$major'
   18874   shlibpath_var=LD_LIBRARY_PATH
   18875   shlibpath_overrides_runpath=yes
   18876   ;;
   18877 
   18878 openbsd*)
   18879   version_type=sunos
   18880   sys_lib_dlsearch_path_spec="/usr/lib"
   18881   need_lib_prefix=no
   18882   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18883   case $host_os in
   18884     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18885     *)                         need_version=no  ;;
   18886   esac
   18887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18888   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18889   shlibpath_var=LD_LIBRARY_PATH
   18890   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18891     case $host_os in
   18892       openbsd2.[89] | openbsd2.[89].*)
   18893 	shlibpath_overrides_runpath=no
   18894 	;;
   18895       *)
   18896 	shlibpath_overrides_runpath=yes
   18897 	;;
   18898       esac
   18899   else
   18900     shlibpath_overrides_runpath=yes
   18901   fi
   18902   ;;
   18903 
   18904 os2*)
   18905   libname_spec='$name'
   18906   shrext_cmds=".dll"
   18907   need_lib_prefix=no
   18908   library_names_spec='$libname${shared_ext} $libname.a'
   18909   dynamic_linker='OS/2 ld.exe'
   18910   shlibpath_var=LIBPATH
   18911   ;;
   18912 
   18913 osf3* | osf4* | osf5*)
   18914   version_type=osf
   18915   need_lib_prefix=no
   18916   need_version=no
   18917   soname_spec='${libname}${release}${shared_ext}$major'
   18918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18919   shlibpath_var=LD_LIBRARY_PATH
   18920   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18921   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18922   ;;
   18923 
   18924 rdos*)
   18925   dynamic_linker=no
   18926   ;;
   18927 
   18928 solaris*)
   18929   version_type=linux
   18930   need_lib_prefix=no
   18931   need_version=no
   18932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18933   soname_spec='${libname}${release}${shared_ext}$major'
   18934   shlibpath_var=LD_LIBRARY_PATH
   18935   shlibpath_overrides_runpath=yes
   18936   hardcode_into_libs=yes
   18937   # ldd complains unless libraries are executable
   18938   postinstall_cmds='chmod +x $lib'
   18939   ;;
   18940 
   18941 sunos4*)
   18942   version_type=sunos
   18943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18944   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18945   shlibpath_var=LD_LIBRARY_PATH
   18946   shlibpath_overrides_runpath=yes
   18947   if test "$with_gnu_ld" = yes; then
   18948     need_lib_prefix=no
   18949   fi
   18950   need_version=yes
   18951   ;;
   18952 
   18953 sysv4 | sysv4.3*)
   18954   version_type=linux
   18955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18956   soname_spec='${libname}${release}${shared_ext}$major'
   18957   shlibpath_var=LD_LIBRARY_PATH
   18958   case $host_vendor in
   18959     sni)
   18960       shlibpath_overrides_runpath=no
   18961       need_lib_prefix=no
   18962       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18963       runpath_var=LD_RUN_PATH
   18964       ;;
   18965     siemens)
   18966       need_lib_prefix=no
   18967       ;;
   18968     motorola)
   18969       need_lib_prefix=no
   18970       need_version=no
   18971       shlibpath_overrides_runpath=no
   18972       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18973       ;;
   18974   esac
   18975   ;;
   18976 
   18977 sysv4*MP*)
   18978   if test -d /usr/nec ;then
   18979     version_type=linux
   18980     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18981     soname_spec='$libname${shared_ext}.$major'
   18982     shlibpath_var=LD_LIBRARY_PATH
   18983   fi
   18984   ;;
   18985 
   18986 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18987   version_type=freebsd-elf
   18988   need_lib_prefix=no
   18989   need_version=no
   18990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18991   soname_spec='${libname}${release}${shared_ext}$major'
   18992   shlibpath_var=LD_LIBRARY_PATH
   18993   hardcode_into_libs=yes
   18994   if test "$with_gnu_ld" = yes; then
   18995     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18996     shlibpath_overrides_runpath=no
   18997   else
   18998     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18999     shlibpath_overrides_runpath=yes
   19000     case $host_os in
   19001       sco3.2v5*)
   19002         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19003 	;;
   19004     esac
   19005   fi
   19006   sys_lib_dlsearch_path_spec='/usr/lib'
   19007   ;;
   19008 
   19009 uts4*)
   19010   version_type=linux
   19011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19012   soname_spec='${libname}${release}${shared_ext}$major'
   19013   shlibpath_var=LD_LIBRARY_PATH
   19014   ;;
   19015 
   19016 *)
   19017   dynamic_linker=no
   19018   ;;
   19019 esac
   19020 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19021 $as_echo "$dynamic_linker" >&6; }
   19022 test "$dynamic_linker" = no && can_build_shared=no
   19023 
   19024 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19025   $as_echo_n "(cached) " >&6
   19026 else
   19027   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19028 fi
   19029 
   19030 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19032   $as_echo_n "(cached) " >&6
   19033 else
   19034   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19035 fi
   19036 
   19037 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19038 
   19039 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19040 if test "$GCC" = yes; then
   19041   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19042 fi
   19043 
   19044 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19045 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19046 hardcode_action_GCJ=
   19047 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19048    test -n "$runpath_var_GCJ" || \
   19049    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19050 
   19051   # We can hardcode non-existant directories.
   19052   if test "$hardcode_direct_GCJ" != no &&
   19053      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19054      # have to relink, otherwise we might link with an installed library
   19055      # when we should be linking with a yet-to-be-installed one
   19056      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19057      test "$hardcode_minus_L_GCJ" != no; then
   19058     # Linking always hardcodes the temporary library directory.
   19059     hardcode_action_GCJ=relink
   19060   else
   19061     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19062     hardcode_action_GCJ=immediate
   19063   fi
   19064 else
   19065   # We cannot hardcode anything, or else we can only hardcode existing
   19066   # directories.
   19067   hardcode_action_GCJ=unsupported
   19068 fi
   19069 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19070 $as_echo "$hardcode_action_GCJ" >&6; }
   19071 
   19072 if test "$hardcode_action_GCJ" = relink; then
   19073   # Fast installation is not supported
   19074   enable_fast_install=no
   19075 elif test "$shlibpath_overrides_runpath" = yes ||
   19076      test "$enable_shared" = no; then
   19077   # Fast installation is not necessary
   19078   enable_fast_install=needless
   19079 fi
   19080 
   19081 
   19082 # The else clause should only fire when bootstrapping the
   19083 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19084 # with your package, and you will get complaints that there are
   19085 # no rules to generate ltmain.sh.
   19086 if test -f "$ltmain"; then
   19087   # See if we are running on zsh, and set the options which allow our commands through
   19088   # without removal of \ escapes.
   19089   if test -n "${ZSH_VERSION+set}" ; then
   19090     setopt NO_GLOB_SUBST
   19091   fi
   19092   # Now quote all the things that may contain metacharacters while being
   19093   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19094   # variables and quote the copies for generation of the libtool script.
   19095   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19096     SED SHELL STRIP \
   19097     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19098     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19099     deplibs_check_method reload_flag reload_cmds need_locks \
   19100     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19101     lt_cv_sys_global_symbol_to_c_name_address \
   19102     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19103     old_postinstall_cmds old_postuninstall_cmds \
   19104     compiler_GCJ \
   19105     CC_GCJ \
   19106     LD_GCJ \
   19107     lt_prog_compiler_wl_GCJ \
   19108     lt_prog_compiler_pic_GCJ \
   19109     lt_prog_compiler_static_GCJ \
   19110     lt_prog_compiler_no_builtin_flag_GCJ \
   19111     export_dynamic_flag_spec_GCJ \
   19112     thread_safe_flag_spec_GCJ \
   19113     whole_archive_flag_spec_GCJ \
   19114     enable_shared_with_static_runtimes_GCJ \
   19115     old_archive_cmds_GCJ \
   19116     old_archive_from_new_cmds_GCJ \
   19117     predep_objects_GCJ \
   19118     postdep_objects_GCJ \
   19119     predeps_GCJ \
   19120     postdeps_GCJ \
   19121     compiler_lib_search_path_GCJ \
   19122     compiler_lib_search_dirs_GCJ \
   19123     archive_cmds_GCJ \
   19124     archive_expsym_cmds_GCJ \
   19125     postinstall_cmds_GCJ \
   19126     postuninstall_cmds_GCJ \
   19127     old_archive_from_expsyms_cmds_GCJ \
   19128     allow_undefined_flag_GCJ \
   19129     no_undefined_flag_GCJ \
   19130     export_symbols_cmds_GCJ \
   19131     hardcode_libdir_flag_spec_GCJ \
   19132     hardcode_libdir_flag_spec_ld_GCJ \
   19133     hardcode_libdir_separator_GCJ \
   19134     hardcode_automatic_GCJ \
   19135     module_cmds_GCJ \
   19136     module_expsym_cmds_GCJ \
   19137     lt_cv_prog_compiler_c_o_GCJ \
   19138     fix_srcfile_path_GCJ \
   19139     exclude_expsyms_GCJ \
   19140     include_expsyms_GCJ; do
   19141 
   19142     case $var in
   19143     old_archive_cmds_GCJ | \
   19144     old_archive_from_new_cmds_GCJ | \
   19145     archive_cmds_GCJ | \
   19146     archive_expsym_cmds_GCJ | \
   19147     module_cmds_GCJ | \
   19148     module_expsym_cmds_GCJ | \
   19149     old_archive_from_expsyms_cmds_GCJ | \
   19150     export_symbols_cmds_GCJ | \
   19151     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19152     postinstall_cmds | postuninstall_cmds | \
   19153     old_postinstall_cmds | old_postuninstall_cmds | \
   19154     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19155       # Double-quote double-evaled strings.
   19156       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19157       ;;
   19158     *)
   19159       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19160       ;;
   19161     esac
   19162   done
   19163 
   19164   case $lt_echo in
   19165   *'\$0 --fallback-echo"')
   19166     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19167     ;;
   19168   esac
   19169 
   19170 cfgfile="$ofile"
   19171 
   19172   cat <<__EOF__ >> "$cfgfile"
   19173 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19174 
   19175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19176 
   19177 # Shell to use when invoking shell scripts.
   19178 SHELL=$lt_SHELL
   19179 
   19180 # Whether or not to build shared libraries.
   19181 build_libtool_libs=$enable_shared
   19182 
   19183 # Whether or not to build static libraries.
   19184 build_old_libs=$enable_static
   19185 
   19186 # Whether or not to add -lc for building shared libraries.
   19187 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19188 
   19189 # Whether or not to disallow shared libs when runtime libs are static
   19190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19191 
   19192 # Whether or not to optimize for fast installation.
   19193 fast_install=$enable_fast_install
   19194 
   19195 # The host system.
   19196 host_alias=$host_alias
   19197 host=$host
   19198 host_os=$host_os
   19199 
   19200 # The build system.
   19201 build_alias=$build_alias
   19202 build=$build
   19203 build_os=$build_os
   19204 
   19205 # An echo program that does not interpret backslashes.
   19206 echo=$lt_echo
   19207 
   19208 # The archiver.
   19209 AR=$lt_AR
   19210 AR_FLAGS=$lt_AR_FLAGS
   19211 
   19212 # A C compiler.
   19213 LTCC=$lt_LTCC
   19214 
   19215 # LTCC compiler flags.
   19216 LTCFLAGS=$lt_LTCFLAGS
   19217 
   19218 # A language-specific compiler.
   19219 CC=$lt_compiler_GCJ
   19220 
   19221 # Is the compiler the GNU C compiler?
   19222 with_gcc=$GCC_GCJ
   19223 
   19224 # An ERE matcher.
   19225 EGREP=$lt_EGREP
   19226 
   19227 # The linker used to build libraries.
   19228 LD=$lt_LD_GCJ
   19229 
   19230 # Whether we need hard or soft links.
   19231 LN_S=$lt_LN_S
   19232 
   19233 # A BSD-compatible nm program.
   19234 NM=$lt_NM
   19235 
   19236 # A symbol stripping program
   19237 STRIP=$lt_STRIP
   19238 
   19239 # Used to examine libraries when file_magic_cmd begins "file"
   19240 MAGIC_CMD=$MAGIC_CMD
   19241 
   19242 # Used on cygwin: DLL creation program.
   19243 DLLTOOL="$DLLTOOL"
   19244 
   19245 # Used on cygwin: object dumper.
   19246 OBJDUMP="$OBJDUMP"
   19247 
   19248 # Used on cygwin: assembler.
   19249 AS="$AS"
   19250 
   19251 # The name of the directory that contains temporary libtool files.
   19252 objdir=$objdir
   19253 
   19254 # How to create reloadable object files.
   19255 reload_flag=$lt_reload_flag
   19256 reload_cmds=$lt_reload_cmds
   19257 
   19258 # How to pass a linker flag through the compiler.
   19259 wl=$lt_lt_prog_compiler_wl_GCJ
   19260 
   19261 # Object file suffix (normally "o").
   19262 objext="$ac_objext"
   19263 
   19264 # Old archive suffix (normally "a").
   19265 libext="$libext"
   19266 
   19267 # Shared library suffix (normally ".so").
   19268 shrext_cmds='$shrext_cmds'
   19269 
   19270 # Executable file suffix (normally "").
   19271 exeext="$exeext"
   19272 
   19273 # Additional compiler flags for building library objects.
   19274 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19275 pic_mode=$pic_mode
   19276 
   19277 # What is the maximum length of a command?
   19278 max_cmd_len=$lt_cv_sys_max_cmd_len
   19279 
   19280 # Does compiler simultaneously support -c and -o options?
   19281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19282 
   19283 # Must we lock files when doing compilation?
   19284 need_locks=$lt_need_locks
   19285 
   19286 # Do we need the lib prefix for modules?
   19287 need_lib_prefix=$need_lib_prefix
   19288 
   19289 # Do we need a version for libraries?
   19290 need_version=$need_version
   19291 
   19292 # Whether dlopen is supported.
   19293 dlopen_support=$enable_dlopen
   19294 
   19295 # Whether dlopen of programs is supported.
   19296 dlopen_self=$enable_dlopen_self
   19297 
   19298 # Whether dlopen of statically linked programs is supported.
   19299 dlopen_self_static=$enable_dlopen_self_static
   19300 
   19301 # Compiler flag to prevent dynamic linking.
   19302 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19303 
   19304 # Compiler flag to turn off builtin functions.
   19305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19306 
   19307 # Compiler flag to allow reflexive dlopens.
   19308 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19309 
   19310 # Compiler flag to generate shared objects directly from archives.
   19311 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19312 
   19313 # Compiler flag to generate thread-safe objects.
   19314 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19315 
   19316 # Library versioning type.
   19317 version_type=$version_type
   19318 
   19319 # Format of library name prefix.
   19320 libname_spec=$lt_libname_spec
   19321 
   19322 # List of archive names.  First name is the real one, the rest are links.
   19323 # The last name is the one that the linker finds with -lNAME.
   19324 library_names_spec=$lt_library_names_spec
   19325 
   19326 # The coded name of the library, if different from the real name.
   19327 soname_spec=$lt_soname_spec
   19328 
   19329 # Commands used to build and install an old-style archive.
   19330 RANLIB=$lt_RANLIB
   19331 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19332 old_postinstall_cmds=$lt_old_postinstall_cmds
   19333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19334 
   19335 # Create an old-style archive from a shared archive.
   19336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19337 
   19338 # Create a temporary old-style archive to link instead of a shared archive.
   19339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19340 
   19341 # Commands used to build and install a shared archive.
   19342 archive_cmds=$lt_archive_cmds_GCJ
   19343 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19344 postinstall_cmds=$lt_postinstall_cmds
   19345 postuninstall_cmds=$lt_postuninstall_cmds
   19346 
   19347 # Commands used to build a loadable module (assumed same as above if empty)
   19348 module_cmds=$lt_module_cmds_GCJ
   19349 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19350 
   19351 # Commands to strip libraries.
   19352 old_striplib=$lt_old_striplib
   19353 striplib=$lt_striplib
   19354 
   19355 # Dependencies to place before the objects being linked to create a
   19356 # shared library.
   19357 predep_objects=$lt_predep_objects_GCJ
   19358 
   19359 # Dependencies to place after the objects being linked to create a
   19360 # shared library.
   19361 postdep_objects=$lt_postdep_objects_GCJ
   19362 
   19363 # Dependencies to place before the objects being linked to create a
   19364 # shared library.
   19365 predeps=$lt_predeps_GCJ
   19366 
   19367 # Dependencies to place after the objects being linked to create a
   19368 # shared library.
   19369 postdeps=$lt_postdeps_GCJ
   19370 
   19371 # The directories searched by this compiler when creating a shared
   19372 # library
   19373 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19374 
   19375 # The library search path used internally by the compiler when linking
   19376 # a shared library.
   19377 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19378 
   19379 # Method to check whether dependent libraries are shared objects.
   19380 deplibs_check_method=$lt_deplibs_check_method
   19381 
   19382 # Command to use when deplibs_check_method == file_magic.
   19383 file_magic_cmd=$lt_file_magic_cmd
   19384 
   19385 # Flag that allows shared libraries with undefined symbols to be built.
   19386 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19387 
   19388 # Flag that forces no undefined symbols.
   19389 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19390 
   19391 # Commands used to finish a libtool library installation in a directory.
   19392 finish_cmds=$lt_finish_cmds
   19393 
   19394 # Same as above, but a single script fragment to be evaled but not shown.
   19395 finish_eval=$lt_finish_eval
   19396 
   19397 # Take the output of nm and produce a listing of raw symbols and C names.
   19398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19399 
   19400 # Transform the output of nm in a proper C declaration
   19401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19402 
   19403 # Transform the output of nm in a C name address pair
   19404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19405 
   19406 # This is the shared library runtime path variable.
   19407 runpath_var=$runpath_var
   19408 
   19409 # This is the shared library path variable.
   19410 shlibpath_var=$shlibpath_var
   19411 
   19412 # Is shlibpath searched before the hard-coded library search path?
   19413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19414 
   19415 # How to hardcode a shared library path into an executable.
   19416 hardcode_action=$hardcode_action_GCJ
   19417 
   19418 # Whether we should hardcode library paths into libraries.
   19419 hardcode_into_libs=$hardcode_into_libs
   19420 
   19421 # Flag to hardcode \$libdir into a binary during linking.
   19422 # This must work even if \$libdir does not exist.
   19423 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19424 
   19425 # If ld is used when linking, flag to hardcode \$libdir into
   19426 # a binary during linking. This must work even if \$libdir does
   19427 # not exist.
   19428 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19429 
   19430 # Whether we need a single -rpath flag with a separated argument.
   19431 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19432 
   19433 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19434 # resulting binary.
   19435 hardcode_direct=$hardcode_direct_GCJ
   19436 
   19437 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19438 # resulting binary.
   19439 hardcode_minus_L=$hardcode_minus_L_GCJ
   19440 
   19441 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19442 # the resulting binary.
   19443 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19444 
   19445 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19446 # and all subsequent libraries and executables linked against it.
   19447 hardcode_automatic=$hardcode_automatic_GCJ
   19448 
   19449 # Variables whose values should be saved in libtool wrapper scripts and
   19450 # restored at relink time.
   19451 variables_saved_for_relink="$variables_saved_for_relink"
   19452 
   19453 # Whether libtool must link a program against all its dependency libraries.
   19454 link_all_deplibs=$link_all_deplibs_GCJ
   19455 
   19456 # Compile-time system search path for libraries
   19457 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19458 
   19459 # Run-time system search path for libraries
   19460 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19461 
   19462 # Fix the shell variable \$srcfile for the compiler.
   19463 fix_srcfile_path=$lt_fix_srcfile_path
   19464 
   19465 # Set to yes if exported symbols are required.
   19466 always_export_symbols=$always_export_symbols_GCJ
   19467 
   19468 # The commands to list exported symbols.
   19469 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19470 
   19471 # The commands to extract the exported symbol list from a shared archive.
   19472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19473 
   19474 # Symbols that should not be listed in the preloaded symbols.
   19475 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19476 
   19477 # Symbols that must always be exported.
   19478 include_expsyms=$lt_include_expsyms_GCJ
   19479 
   19480 # ### END LIBTOOL TAG CONFIG: $tagname
   19481 
   19482 __EOF__
   19483 
   19484 
   19485 else
   19486   # If there is no Makefile yet, we rely on a make rule to execute
   19487   # `config.status --recheck' to rerun these tests and create the
   19488   # libtool script then.
   19489   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19490   if test -f "$ltmain_in"; then
   19491     test -f Makefile && make "$ltmain"
   19492   fi
   19493 fi
   19494 
   19495 
   19496 ac_ext=c
   19497 ac_cpp='$CPP $CPPFLAGS'
   19498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19501 
   19502 CC="$lt_save_CC"
   19503 
   19504 	else
   19505 	  tagname=""
   19506 	fi
   19507 	;;
   19508 
   19509       RC)
   19510 
   19511 
   19512 # Source file extension for RC test sources.
   19513 ac_ext=rc
   19514 
   19515 # Object file extension for compiled RC test sources.
   19516 objext=o
   19517 objext_RC=$objext
   19518 
   19519 # Code to be used in simple compile tests
   19520 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19521 
   19522 # Code to be used in simple link tests
   19523 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19524 
   19525 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19526 
   19527 # If no C compiler was specified, use CC.
   19528 LTCC=${LTCC-"$CC"}
   19529 
   19530 # If no C compiler flags were specified, use CFLAGS.
   19531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19532 
   19533 # Allow CC to be a program name with arguments.
   19534 compiler=$CC
   19535 
   19536 
   19537 # save warnings/boilerplate of simple test code
   19538 ac_outfile=conftest.$ac_objext
   19539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19541 _lt_compiler_boilerplate=`cat conftest.err`
   19542 $rm conftest*
   19543 
   19544 ac_outfile=conftest.$ac_objext
   19545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19547 _lt_linker_boilerplate=`cat conftest.err`
   19548 $rm -r conftest*
   19549 
   19550 
   19551 # Allow CC to be a program name with arguments.
   19552 lt_save_CC="$CC"
   19553 CC=${RC-"windres"}
   19554 compiler=$CC
   19555 compiler_RC=$CC
   19556 for cc_temp in $compiler""; do
   19557   case $cc_temp in
   19558     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19559     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19560     \-*) ;;
   19561     *) break;;
   19562   esac
   19563 done
   19564 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19565 
   19566 lt_cv_prog_compiler_c_o_RC=yes
   19567 
   19568 # The else clause should only fire when bootstrapping the
   19569 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19570 # with your package, and you will get complaints that there are
   19571 # no rules to generate ltmain.sh.
   19572 if test -f "$ltmain"; then
   19573   # See if we are running on zsh, and set the options which allow our commands through
   19574   # without removal of \ escapes.
   19575   if test -n "${ZSH_VERSION+set}" ; then
   19576     setopt NO_GLOB_SUBST
   19577   fi
   19578   # Now quote all the things that may contain metacharacters while being
   19579   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19580   # variables and quote the copies for generation of the libtool script.
   19581   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19582     SED SHELL STRIP \
   19583     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19584     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19585     deplibs_check_method reload_flag reload_cmds need_locks \
   19586     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19587     lt_cv_sys_global_symbol_to_c_name_address \
   19588     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19589     old_postinstall_cmds old_postuninstall_cmds \
   19590     compiler_RC \
   19591     CC_RC \
   19592     LD_RC \
   19593     lt_prog_compiler_wl_RC \
   19594     lt_prog_compiler_pic_RC \
   19595     lt_prog_compiler_static_RC \
   19596     lt_prog_compiler_no_builtin_flag_RC \
   19597     export_dynamic_flag_spec_RC \
   19598     thread_safe_flag_spec_RC \
   19599     whole_archive_flag_spec_RC \
   19600     enable_shared_with_static_runtimes_RC \
   19601     old_archive_cmds_RC \
   19602     old_archive_from_new_cmds_RC \
   19603     predep_objects_RC \
   19604     postdep_objects_RC \
   19605     predeps_RC \
   19606     postdeps_RC \
   19607     compiler_lib_search_path_RC \
   19608     compiler_lib_search_dirs_RC \
   19609     archive_cmds_RC \
   19610     archive_expsym_cmds_RC \
   19611     postinstall_cmds_RC \
   19612     postuninstall_cmds_RC \
   19613     old_archive_from_expsyms_cmds_RC \
   19614     allow_undefined_flag_RC \
   19615     no_undefined_flag_RC \
   19616     export_symbols_cmds_RC \
   19617     hardcode_libdir_flag_spec_RC \
   19618     hardcode_libdir_flag_spec_ld_RC \
   19619     hardcode_libdir_separator_RC \
   19620     hardcode_automatic_RC \
   19621     module_cmds_RC \
   19622     module_expsym_cmds_RC \
   19623     lt_cv_prog_compiler_c_o_RC \
   19624     fix_srcfile_path_RC \
   19625     exclude_expsyms_RC \
   19626     include_expsyms_RC; do
   19627 
   19628     case $var in
   19629     old_archive_cmds_RC | \
   19630     old_archive_from_new_cmds_RC | \
   19631     archive_cmds_RC | \
   19632     archive_expsym_cmds_RC | \
   19633     module_cmds_RC | \
   19634     module_expsym_cmds_RC | \
   19635     old_archive_from_expsyms_cmds_RC | \
   19636     export_symbols_cmds_RC | \
   19637     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19638     postinstall_cmds | postuninstall_cmds | \
   19639     old_postinstall_cmds | old_postuninstall_cmds | \
   19640     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19641       # Double-quote double-evaled strings.
   19642       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19643       ;;
   19644     *)
   19645       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19646       ;;
   19647     esac
   19648   done
   19649 
   19650   case $lt_echo in
   19651   *'\$0 --fallback-echo"')
   19652     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19653     ;;
   19654   esac
   19655 
   19656 cfgfile="$ofile"
   19657 
   19658   cat <<__EOF__ >> "$cfgfile"
   19659 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19660 
   19661 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19662 
   19663 # Shell to use when invoking shell scripts.
   19664 SHELL=$lt_SHELL
   19665 
   19666 # Whether or not to build shared libraries.
   19667 build_libtool_libs=$enable_shared
   19668 
   19669 # Whether or not to build static libraries.
   19670 build_old_libs=$enable_static
   19671 
   19672 # Whether or not to add -lc for building shared libraries.
   19673 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19674 
   19675 # Whether or not to disallow shared libs when runtime libs are static
   19676 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19677 
   19678 # Whether or not to optimize for fast installation.
   19679 fast_install=$enable_fast_install
   19680 
   19681 # The host system.
   19682 host_alias=$host_alias
   19683 host=$host
   19684 host_os=$host_os
   19685 
   19686 # The build system.
   19687 build_alias=$build_alias
   19688 build=$build
   19689 build_os=$build_os
   19690 
   19691 # An echo program that does not interpret backslashes.
   19692 echo=$lt_echo
   19693 
   19694 # The archiver.
   19695 AR=$lt_AR
   19696 AR_FLAGS=$lt_AR_FLAGS
   19697 
   19698 # A C compiler.
   19699 LTCC=$lt_LTCC
   19700 
   19701 # LTCC compiler flags.
   19702 LTCFLAGS=$lt_LTCFLAGS
   19703 
   19704 # A language-specific compiler.
   19705 CC=$lt_compiler_RC
   19706 
   19707 # Is the compiler the GNU C compiler?
   19708 with_gcc=$GCC_RC
   19709 
   19710 # An ERE matcher.
   19711 EGREP=$lt_EGREP
   19712 
   19713 # The linker used to build libraries.
   19714 LD=$lt_LD_RC
   19715 
   19716 # Whether we need hard or soft links.
   19717 LN_S=$lt_LN_S
   19718 
   19719 # A BSD-compatible nm program.
   19720 NM=$lt_NM
   19721 
   19722 # A symbol stripping program
   19723 STRIP=$lt_STRIP
   19724 
   19725 # Used to examine libraries when file_magic_cmd begins "file"
   19726 MAGIC_CMD=$MAGIC_CMD
   19727 
   19728 # Used on cygwin: DLL creation program.
   19729 DLLTOOL="$DLLTOOL"
   19730 
   19731 # Used on cygwin: object dumper.
   19732 OBJDUMP="$OBJDUMP"
   19733 
   19734 # Used on cygwin: assembler.
   19735 AS="$AS"
   19736 
   19737 # The name of the directory that contains temporary libtool files.
   19738 objdir=$objdir
   19739 
   19740 # How to create reloadable object files.
   19741 reload_flag=$lt_reload_flag
   19742 reload_cmds=$lt_reload_cmds
   19743 
   19744 # How to pass a linker flag through the compiler.
   19745 wl=$lt_lt_prog_compiler_wl_RC
   19746 
   19747 # Object file suffix (normally "o").
   19748 objext="$ac_objext"
   19749 
   19750 # Old archive suffix (normally "a").
   19751 libext="$libext"
   19752 
   19753 # Shared library suffix (normally ".so").
   19754 shrext_cmds='$shrext_cmds'
   19755 
   19756 # Executable file suffix (normally "").
   19757 exeext="$exeext"
   19758 
   19759 # Additional compiler flags for building library objects.
   19760 pic_flag=$lt_lt_prog_compiler_pic_RC
   19761 pic_mode=$pic_mode
   19762 
   19763 # What is the maximum length of a command?
   19764 max_cmd_len=$lt_cv_sys_max_cmd_len
   19765 
   19766 # Does compiler simultaneously support -c and -o options?
   19767 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19768 
   19769 # Must we lock files when doing compilation?
   19770 need_locks=$lt_need_locks
   19771 
   19772 # Do we need the lib prefix for modules?
   19773 need_lib_prefix=$need_lib_prefix
   19774 
   19775 # Do we need a version for libraries?
   19776 need_version=$need_version
   19777 
   19778 # Whether dlopen is supported.
   19779 dlopen_support=$enable_dlopen
   19780 
   19781 # Whether dlopen of programs is supported.
   19782 dlopen_self=$enable_dlopen_self
   19783 
   19784 # Whether dlopen of statically linked programs is supported.
   19785 dlopen_self_static=$enable_dlopen_self_static
   19786 
   19787 # Compiler flag to prevent dynamic linking.
   19788 link_static_flag=$lt_lt_prog_compiler_static_RC
   19789 
   19790 # Compiler flag to turn off builtin functions.
   19791 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19792 
   19793 # Compiler flag to allow reflexive dlopens.
   19794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19795 
   19796 # Compiler flag to generate shared objects directly from archives.
   19797 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19798 
   19799 # Compiler flag to generate thread-safe objects.
   19800 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19801 
   19802 # Library versioning type.
   19803 version_type=$version_type
   19804 
   19805 # Format of library name prefix.
   19806 libname_spec=$lt_libname_spec
   19807 
   19808 # List of archive names.  First name is the real one, the rest are links.
   19809 # The last name is the one that the linker finds with -lNAME.
   19810 library_names_spec=$lt_library_names_spec
   19811 
   19812 # The coded name of the library, if different from the real name.
   19813 soname_spec=$lt_soname_spec
   19814 
   19815 # Commands used to build and install an old-style archive.
   19816 RANLIB=$lt_RANLIB
   19817 old_archive_cmds=$lt_old_archive_cmds_RC
   19818 old_postinstall_cmds=$lt_old_postinstall_cmds
   19819 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19820 
   19821 # Create an old-style archive from a shared archive.
   19822 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19823 
   19824 # Create a temporary old-style archive to link instead of a shared archive.
   19825 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19826 
   19827 # Commands used to build and install a shared archive.
   19828 archive_cmds=$lt_archive_cmds_RC
   19829 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19830 postinstall_cmds=$lt_postinstall_cmds
   19831 postuninstall_cmds=$lt_postuninstall_cmds
   19832 
   19833 # Commands used to build a loadable module (assumed same as above if empty)
   19834 module_cmds=$lt_module_cmds_RC
   19835 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19836 
   19837 # Commands to strip libraries.
   19838 old_striplib=$lt_old_striplib
   19839 striplib=$lt_striplib
   19840 
   19841 # Dependencies to place before the objects being linked to create a
   19842 # shared library.
   19843 predep_objects=$lt_predep_objects_RC
   19844 
   19845 # Dependencies to place after the objects being linked to create a
   19846 # shared library.
   19847 postdep_objects=$lt_postdep_objects_RC
   19848 
   19849 # Dependencies to place before the objects being linked to create a
   19850 # shared library.
   19851 predeps=$lt_predeps_RC
   19852 
   19853 # Dependencies to place after the objects being linked to create a
   19854 # shared library.
   19855 postdeps=$lt_postdeps_RC
   19856 
   19857 # The directories searched by this compiler when creating a shared
   19858 # library
   19859 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19860 
   19861 # The library search path used internally by the compiler when linking
   19862 # a shared library.
   19863 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19864 
   19865 # Method to check whether dependent libraries are shared objects.
   19866 deplibs_check_method=$lt_deplibs_check_method
   19867 
   19868 # Command to use when deplibs_check_method == file_magic.
   19869 file_magic_cmd=$lt_file_magic_cmd
   19870 
   19871 # Flag that allows shared libraries with undefined symbols to be built.
   19872 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19873 
   19874 # Flag that forces no undefined symbols.
   19875 no_undefined_flag=$lt_no_undefined_flag_RC
   19876 
   19877 # Commands used to finish a libtool library installation in a directory.
   19878 finish_cmds=$lt_finish_cmds
   19879 
   19880 # Same as above, but a single script fragment to be evaled but not shown.
   19881 finish_eval=$lt_finish_eval
   19882 
   19883 # Take the output of nm and produce a listing of raw symbols and C names.
   19884 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19885 
   19886 # Transform the output of nm in a proper C declaration
   19887 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19888 
   19889 # Transform the output of nm in a C name address pair
   19890 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19891 
   19892 # This is the shared library runtime path variable.
   19893 runpath_var=$runpath_var
   19894 
   19895 # This is the shared library path variable.
   19896 shlibpath_var=$shlibpath_var
   19897 
   19898 # Is shlibpath searched before the hard-coded library search path?
   19899 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19900 
   19901 # How to hardcode a shared library path into an executable.
   19902 hardcode_action=$hardcode_action_RC
   19903 
   19904 # Whether we should hardcode library paths into libraries.
   19905 hardcode_into_libs=$hardcode_into_libs
   19906 
   19907 # Flag to hardcode \$libdir into a binary during linking.
   19908 # This must work even if \$libdir does not exist.
   19909 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19910 
   19911 # If ld is used when linking, flag to hardcode \$libdir into
   19912 # a binary during linking. This must work even if \$libdir does
   19913 # not exist.
   19914 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19915 
   19916 # Whether we need a single -rpath flag with a separated argument.
   19917 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19918 
   19919 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19920 # resulting binary.
   19921 hardcode_direct=$hardcode_direct_RC
   19922 
   19923 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19924 # resulting binary.
   19925 hardcode_minus_L=$hardcode_minus_L_RC
   19926 
   19927 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19928 # the resulting binary.
   19929 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19930 
   19931 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19932 # and all subsequent libraries and executables linked against it.
   19933 hardcode_automatic=$hardcode_automatic_RC
   19934 
   19935 # Variables whose values should be saved in libtool wrapper scripts and
   19936 # restored at relink time.
   19937 variables_saved_for_relink="$variables_saved_for_relink"
   19938 
   19939 # Whether libtool must link a program against all its dependency libraries.
   19940 link_all_deplibs=$link_all_deplibs_RC
   19941 
   19942 # Compile-time system search path for libraries
   19943 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19944 
   19945 # Run-time system search path for libraries
   19946 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19947 
   19948 # Fix the shell variable \$srcfile for the compiler.
   19949 fix_srcfile_path=$lt_fix_srcfile_path
   19950 
   19951 # Set to yes if exported symbols are required.
   19952 always_export_symbols=$always_export_symbols_RC
   19953 
   19954 # The commands to list exported symbols.
   19955 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19956 
   19957 # The commands to extract the exported symbol list from a shared archive.
   19958 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19959 
   19960 # Symbols that should not be listed in the preloaded symbols.
   19961 exclude_expsyms=$lt_exclude_expsyms_RC
   19962 
   19963 # Symbols that must always be exported.
   19964 include_expsyms=$lt_include_expsyms_RC
   19965 
   19966 # ### END LIBTOOL TAG CONFIG: $tagname
   19967 
   19968 __EOF__
   19969 
   19970 
   19971 else
   19972   # If there is no Makefile yet, we rely on a make rule to execute
   19973   # `config.status --recheck' to rerun these tests and create the
   19974   # libtool script then.
   19975   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19976   if test -f "$ltmain_in"; then
   19977     test -f Makefile && make "$ltmain"
   19978   fi
   19979 fi
   19980 
   19981 
   19982 ac_ext=c
   19983 ac_cpp='$CPP $CPPFLAGS'
   19984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19987 
   19988 CC="$lt_save_CC"
   19989 
   19990 	;;
   19991 
   19992       *)
   19993 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19994 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19995    { (exit 1); exit 1; }; }
   19996 	;;
   19997       esac
   19998 
   19999       # Append the new tag name to the list of available tags.
   20000       if test -n "$tagname" ; then
   20001       available_tags="$available_tags $tagname"
   20002     fi
   20003     fi
   20004   done
   20005   IFS="$lt_save_ifs"
   20006 
   20007   # Now substitute the updated list of available tags.
   20008   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20009     mv "${ofile}T" "$ofile"
   20010     chmod +x "$ofile"
   20011   else
   20012     rm -f "${ofile}T"
   20013     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20014 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20015    { (exit 1); exit 1; }; }
   20016   fi
   20017 fi
   20018 
   20019 
   20020 
   20021 # This can be used to rebuild libtool when needed
   20022 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20023 
   20024 # Always use our own libtool.
   20025 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20026 
   20027 # Prevent multiple expansion
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20049 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20050 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20051   $as_echo_n "(cached) " >&6
   20052 else
   20053   ac_cv_prog_cc_c99=no
   20054 ac_save_CC=$CC
   20055 cat >conftest.$ac_ext <<_ACEOF
   20056 /* confdefs.h.  */
   20057 _ACEOF
   20058 cat confdefs.h >>conftest.$ac_ext
   20059 cat >>conftest.$ac_ext <<_ACEOF
   20060 /* end confdefs.h.  */
   20061 #include <stdarg.h>
   20062 #include <stdbool.h>
   20063 #include <stdlib.h>
   20064 #include <wchar.h>
   20065 #include <stdio.h>
   20066 
   20067 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20068 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20069 #define showlist(...) puts (#__VA_ARGS__)
   20070 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20071 static void
   20072 test_varargs_macros (void)
   20073 {
   20074   int x = 1234;
   20075   int y = 5678;
   20076   debug ("Flag");
   20077   debug ("X = %d\n", x);
   20078   showlist (The first, second, and third items.);
   20079   report (x>y, "x is %d but y is %d", x, y);
   20080 }
   20081 
   20082 // Check long long types.
   20083 #define BIG64 18446744073709551615ull
   20084 #define BIG32 4294967295ul
   20085 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20086 #if !BIG_OK
   20087   your preprocessor is broken;
   20088 #endif
   20089 #if BIG_OK
   20090 #else
   20091   your preprocessor is broken;
   20092 #endif
   20093 static long long int bignum = -9223372036854775807LL;
   20094 static unsigned long long int ubignum = BIG64;
   20095 
   20096 struct incomplete_array
   20097 {
   20098   int datasize;
   20099   double data[];
   20100 };
   20101 
   20102 struct named_init {
   20103   int number;
   20104   const wchar_t *name;
   20105   double average;
   20106 };
   20107 
   20108 typedef const char *ccp;
   20109 
   20110 static inline int
   20111 test_restrict (ccp restrict text)
   20112 {
   20113   // See if C++-style comments work.
   20114   // Iterate through items via the restricted pointer.
   20115   // Also check for declarations in for loops.
   20116   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20117     continue;
   20118   return 0;
   20119 }
   20120 
   20121 // Check varargs and va_copy.
   20122 static void
   20123 test_varargs (const char *format, ...)
   20124 {
   20125   va_list args;
   20126   va_start (args, format);
   20127   va_list args_copy;
   20128   va_copy (args_copy, args);
   20129 
   20130   const char *str;
   20131   int number;
   20132   float fnumber;
   20133 
   20134   while (*format)
   20135     {
   20136       switch (*format++)
   20137 	{
   20138 	case 's': // string
   20139 	  str = va_arg (args_copy, const char *);
   20140 	  break;
   20141 	case 'd': // int
   20142 	  number = va_arg (args_copy, int);
   20143 	  break;
   20144 	case 'f': // float
   20145 	  fnumber = va_arg (args_copy, double);
   20146 	  break;
   20147 	default:
   20148 	  break;
   20149 	}
   20150     }
   20151   va_end (args_copy);
   20152   va_end (args);
   20153 }
   20154 
   20155 int
   20156 main ()
   20157 {
   20158 
   20159   // Check bool.
   20160   _Bool success = false;
   20161 
   20162   // Check restrict.
   20163   if (test_restrict ("String literal") == 0)
   20164     success = true;
   20165   char *restrict newvar = "Another string";
   20166 
   20167   // Check varargs.
   20168   test_varargs ("s, d' f .", "string", 65, 34.234);
   20169   test_varargs_macros ();
   20170 
   20171   // Check flexible array members.
   20172   struct incomplete_array *ia =
   20173     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20174   ia->datasize = 10;
   20175   for (int i = 0; i < ia->datasize; ++i)
   20176     ia->data[i] = i * 1.234;
   20177 
   20178   // Check named initializers.
   20179   struct named_init ni = {
   20180     .number = 34,
   20181     .name = L"Test wide string",
   20182     .average = 543.34343,
   20183   };
   20184 
   20185   ni.number = 58;
   20186 
   20187   int dynamic_array[ni.number];
   20188   dynamic_array[ni.number - 1] = 543;
   20189 
   20190   // work around unused variable warnings
   20191   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20192 	  || dynamic_array[ni.number - 1] != 543);
   20193 
   20194   ;
   20195   return 0;
   20196 }
   20197 _ACEOF
   20198 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20199 do
   20200   CC="$ac_save_CC $ac_arg"
   20201   rm -f conftest.$ac_objext
   20202 if { (ac_try="$ac_compile"
   20203 case "(($ac_try" in
   20204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20205   *) ac_try_echo=$ac_try;;
   20206 esac
   20207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20208 $as_echo "$ac_try_echo") >&5
   20209   (eval "$ac_compile") 2>conftest.er1
   20210   ac_status=$?
   20211   grep -v '^ *+' conftest.er1 >conftest.err
   20212   rm -f conftest.er1
   20213   cat conftest.err >&5
   20214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20215   (exit $ac_status); } && {
   20216 	 test -z "$ac_c_werror_flag" ||
   20217 	 test ! -s conftest.err
   20218        } && test -s conftest.$ac_objext; then
   20219   ac_cv_prog_cc_c99=$ac_arg
   20220 else
   20221   $as_echo "$as_me: failed program was:" >&5
   20222 sed 's/^/| /' conftest.$ac_ext >&5
   20223 
   20224 
   20225 fi
   20226 
   20227 rm -f core conftest.err conftest.$ac_objext
   20228   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20229 done
   20230 rm -f conftest.$ac_ext
   20231 CC=$ac_save_CC
   20232 
   20233 fi
   20234 # AC_CACHE_VAL
   20235 case "x$ac_cv_prog_cc_c99" in
   20236   x)
   20237     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20238 $as_echo "none needed" >&6; } ;;
   20239   xno)
   20240     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20241 $as_echo "unsupported" >&6; } ;;
   20242   *)
   20243     CC="$CC $ac_cv_prog_cc_c99"
   20244     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20245 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20246 esac
   20247 
   20248 
   20249 
   20250 
   20251 
   20252 
   20253 if  test "x$GCC" = xyes ; then
   20254     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20255 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20256 -Wbad-function-cast"
   20257     case `$CC -dumpversion` in
   20258     3.4.* | 4.*)
   20259 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20260 	;;
   20261     esac
   20262 else
   20263     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20264 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20265 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20266   $as_echo_n "(cached) " >&6
   20267 else
   20268   cat >conftest.$ac_ext <<_ACEOF
   20269 /* confdefs.h.  */
   20270 _ACEOF
   20271 cat confdefs.h >>conftest.$ac_ext
   20272 cat >>conftest.$ac_ext <<_ACEOF
   20273 /* end confdefs.h.  */
   20274 $ac_includes_default
   20275 int
   20276 main ()
   20277 {
   20278 #ifndef __SUNPRO_C
   20279   (void) __SUNPRO_C;
   20280 #endif
   20281 
   20282   ;
   20283   return 0;
   20284 }
   20285 _ACEOF
   20286 rm -f conftest.$ac_objext
   20287 if { (ac_try="$ac_compile"
   20288 case "(($ac_try" in
   20289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20290   *) ac_try_echo=$ac_try;;
   20291 esac
   20292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20293 $as_echo "$ac_try_echo") >&5
   20294   (eval "$ac_compile") 2>conftest.er1
   20295   ac_status=$?
   20296   grep -v '^ *+' conftest.er1 >conftest.err
   20297   rm -f conftest.er1
   20298   cat conftest.err >&5
   20299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20300   (exit $ac_status); } && {
   20301 	 test -z "$ac_c_werror_flag" ||
   20302 	 test ! -s conftest.err
   20303        } && test -s conftest.$ac_objext; then
   20304   ac_cv_have_decl___SUNPRO_C=yes
   20305 else
   20306   $as_echo "$as_me: failed program was:" >&5
   20307 sed 's/^/| /' conftest.$ac_ext >&5
   20308 
   20309 	ac_cv_have_decl___SUNPRO_C=no
   20310 fi
   20311 
   20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20313 fi
   20314 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20315 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20316 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20317   SUNCC="yes"
   20318 else
   20319   SUNCC="no"
   20320 fi
   20321 
   20322     if test "x$SUNCC" = "xyes"; then
   20323 	CWARNFLAGS="-v"
   20324     fi
   20325 fi
   20326 
   20327 # Check whether --enable-silent-rules was given.
   20328 if test "${enable_silent_rules+set}" = set; then
   20329   enableval=$enable_silent_rules;
   20330 fi
   20331 
   20332 case $enable_silent_rules in
   20333 yes) AM_DEFAULT_VERBOSITY=0;;
   20334 no)  AM_DEFAULT_VERBOSITY=1;;
   20335 *)   AM_DEFAULT_VERBOSITY=0;;
   20336 esac
   20337 AM_BACKSLASH='\'
   20338 
   20339 
   20340 
   20341 
   20342 
   20343 
   20344 
   20345 # Check whether --enable-strict-compilation was given.
   20346 if test "${enable_strict_compilation+set}" = set; then
   20347   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20348 else
   20349   STRICT_COMPILE=no
   20350 fi
   20351 
   20352 if test "x$STRICT_COMPILE" = "xyes"; then
   20353 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20354 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20355 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20356   $as_echo_n "(cached) " >&6
   20357 else
   20358   cat >conftest.$ac_ext <<_ACEOF
   20359 /* confdefs.h.  */
   20360 _ACEOF
   20361 cat confdefs.h >>conftest.$ac_ext
   20362 cat >>conftest.$ac_ext <<_ACEOF
   20363 /* end confdefs.h.  */
   20364 $ac_includes_default
   20365 int
   20366 main ()
   20367 {
   20368 #ifndef __SUNPRO_C
   20369   (void) __SUNPRO_C;
   20370 #endif
   20371 
   20372   ;
   20373   return 0;
   20374 }
   20375 _ACEOF
   20376 rm -f conftest.$ac_objext
   20377 if { (ac_try="$ac_compile"
   20378 case "(($ac_try" in
   20379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20380   *) ac_try_echo=$ac_try;;
   20381 esac
   20382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20383 $as_echo "$ac_try_echo") >&5
   20384   (eval "$ac_compile") 2>conftest.er1
   20385   ac_status=$?
   20386   grep -v '^ *+' conftest.er1 >conftest.err
   20387   rm -f conftest.er1
   20388   cat conftest.err >&5
   20389   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20390   (exit $ac_status); } && {
   20391 	 test -z "$ac_c_werror_flag" ||
   20392 	 test ! -s conftest.err
   20393        } && test -s conftest.$ac_objext; then
   20394   ac_cv_have_decl___SUNPRO_C=yes
   20395 else
   20396   $as_echo "$as_me: failed program was:" >&5
   20397 sed 's/^/| /' conftest.$ac_ext >&5
   20398 
   20399 	ac_cv_have_decl___SUNPRO_C=no
   20400 fi
   20401 
   20402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20403 fi
   20404 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20405 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20406 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20407   SUNCC="yes"
   20408 else
   20409   SUNCC="no"
   20410 fi
   20411 
   20412 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20413 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20414 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20415   $as_echo_n "(cached) " >&6
   20416 else
   20417   cat >conftest.$ac_ext <<_ACEOF
   20418 /* confdefs.h.  */
   20419 _ACEOF
   20420 cat confdefs.h >>conftest.$ac_ext
   20421 cat >>conftest.$ac_ext <<_ACEOF
   20422 /* end confdefs.h.  */
   20423 $ac_includes_default
   20424 int
   20425 main ()
   20426 {
   20427 #ifndef __INTEL_COMPILER
   20428   (void) __INTEL_COMPILER;
   20429 #endif
   20430 
   20431   ;
   20432   return 0;
   20433 }
   20434 _ACEOF
   20435 rm -f conftest.$ac_objext
   20436 if { (ac_try="$ac_compile"
   20437 case "(($ac_try" in
   20438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20439   *) ac_try_echo=$ac_try;;
   20440 esac
   20441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20442 $as_echo "$ac_try_echo") >&5
   20443   (eval "$ac_compile") 2>conftest.er1
   20444   ac_status=$?
   20445   grep -v '^ *+' conftest.er1 >conftest.err
   20446   rm -f conftest.er1
   20447   cat conftest.err >&5
   20448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20449   (exit $ac_status); } && {
   20450 	 test -z "$ac_c_werror_flag" ||
   20451 	 test ! -s conftest.err
   20452        } && test -s conftest.$ac_objext; then
   20453   ac_cv_have_decl___INTEL_COMPILER=yes
   20454 else
   20455   $as_echo "$as_me: failed program was:" >&5
   20456 sed 's/^/| /' conftest.$ac_ext >&5
   20457 
   20458 	ac_cv_have_decl___INTEL_COMPILER=no
   20459 fi
   20460 
   20461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20462 fi
   20463 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20464 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20465 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20466   INTELCC="yes"
   20467 else
   20468   INTELCC="no"
   20469 fi
   20470 
   20471 	if test "x$GCC" = xyes ; then
   20472 		STRICT_CFLAGS="-pedantic -Werror"
   20473 	elif test "x$SUNCC" = "xyes"; then
   20474 		STRICT_CFLAGS="-errwarn"
   20475     elif test "x$INTELCC" = "xyes"; then
   20476 		STRICT_CFLAGS="-Werror"
   20477 	fi
   20478 fi
   20479 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20480 
   20481 
   20482 
   20483 
   20484 # Check whether --with-release-version was given.
   20485 if test "${with_release_version+set}" = set; then
   20486   withval=$with_release_version; RELEASE_VERSION="$withval"
   20487 else
   20488   RELEASE_VERSION=""
   20489 fi
   20490 
   20491 	if test "x$RELEASE_VERSION" != "x"; then
   20492 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20493 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20494 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20495 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20496 	fi
   20497 
   20498 cat >>confdefs.h <<_ACEOF
   20499 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20500 _ACEOF
   20501 
   20502 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20503 	if test "x$PVM" = "x"; then
   20504 		PVM="0"
   20505 	fi
   20506 
   20507 cat >>confdefs.h <<_ACEOF
   20508 #define PACKAGE_VERSION_MINOR $PVM
   20509 _ACEOF
   20510 
   20511 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20512 	if test "x$PVP" = "x"; then
   20513 		PVP="0"
   20514 	fi
   20515 
   20516 cat >>confdefs.h <<_ACEOF
   20517 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20518 _ACEOF
   20519 
   20520 
   20521 
   20522 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20523 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20524 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20525 
   20526 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20527 
   20528 
   20529 
   20530 
   20531 
   20532 if test x$APP_MAN_SUFFIX = x    ; then
   20533     APP_MAN_SUFFIX=1
   20534 fi
   20535 if test x$APP_MAN_DIR = x    ; then
   20536     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20537 fi
   20538 
   20539 if test x$LIB_MAN_SUFFIX = x    ; then
   20540     LIB_MAN_SUFFIX=3
   20541 fi
   20542 if test x$LIB_MAN_DIR = x    ; then
   20543     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20544 fi
   20545 
   20546 if test x$FILE_MAN_SUFFIX = x    ; then
   20547     case $host_os in
   20548 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20549 	*)		FILE_MAN_SUFFIX=5  ;;
   20550     esac
   20551 fi
   20552 if test x$FILE_MAN_DIR = x    ; then
   20553     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20554 fi
   20555 
   20556 if test x$MISC_MAN_SUFFIX = x    ; then
   20557     case $host_os in
   20558 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20559 	*)		MISC_MAN_SUFFIX=7  ;;
   20560     esac
   20561 fi
   20562 if test x$MISC_MAN_DIR = x    ; then
   20563     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20564 fi
   20565 
   20566 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20567     case $host_os in
   20568 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20569 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20570     esac
   20571 fi
   20572 if test x$DRIVER_MAN_DIR = x    ; then
   20573     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20574 fi
   20575 
   20576 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20577     case $host_os in
   20578 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20579 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20580     esac
   20581 fi
   20582 if test x$ADMIN_MAN_DIR = x    ; then
   20583     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20584 fi
   20585 
   20586 
   20587 
   20588 
   20589 
   20590 
   20591 
   20592 
   20593 
   20594 
   20595 
   20596 
   20597 
   20598 
   20599 
   20600 
   20601 
   20602 # Check for dependencies
   20603 
   20604 
   20605 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20606 	if test -n "$ac_tool_prefix"; then
   20607   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20608 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20609 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20610 $as_echo_n "checking for $ac_word... " >&6; }
   20611 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20612   $as_echo_n "(cached) " >&6
   20613 else
   20614   case $PKG_CONFIG in
   20615   [\\/]* | ?:[\\/]*)
   20616   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20617   ;;
   20618   *)
   20619   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20620 for as_dir in $PATH
   20621 do
   20622   IFS=$as_save_IFS
   20623   test -z "$as_dir" && as_dir=.
   20624   for ac_exec_ext in '' $ac_executable_extensions; do
   20625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20626     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20627     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20628     break 2
   20629   fi
   20630 done
   20631 done
   20632 IFS=$as_save_IFS
   20633 
   20634   ;;
   20635 esac
   20636 fi
   20637 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20638 if test -n "$PKG_CONFIG"; then
   20639   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20640 $as_echo "$PKG_CONFIG" >&6; }
   20641 else
   20642   { $as_echo "$as_me:$LINENO: result: no" >&5
   20643 $as_echo "no" >&6; }
   20644 fi
   20645 
   20646 
   20647 fi
   20648 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20649   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20650   # Extract the first word of "pkg-config", so it can be a program name with args.
   20651 set dummy pkg-config; ac_word=$2
   20652 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20653 $as_echo_n "checking for $ac_word... " >&6; }
   20654 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20655   $as_echo_n "(cached) " >&6
   20656 else
   20657   case $ac_pt_PKG_CONFIG in
   20658   [\\/]* | ?:[\\/]*)
   20659   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20660   ;;
   20661   *)
   20662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20663 for as_dir in $PATH
   20664 do
   20665   IFS=$as_save_IFS
   20666   test -z "$as_dir" && as_dir=.
   20667   for ac_exec_ext in '' $ac_executable_extensions; do
   20668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20669     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20670     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20671     break 2
   20672   fi
   20673 done
   20674 done
   20675 IFS=$as_save_IFS
   20676 
   20677   ;;
   20678 esac
   20679 fi
   20680 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20681 if test -n "$ac_pt_PKG_CONFIG"; then
   20682   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20683 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20684 else
   20685   { $as_echo "$as_me:$LINENO: result: no" >&5
   20686 $as_echo "no" >&6; }
   20687 fi
   20688 
   20689   if test "x$ac_pt_PKG_CONFIG" = x; then
   20690     PKG_CONFIG=""
   20691   else
   20692     case $cross_compiling:$ac_tool_warned in
   20693 yes:)
   20694 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20696 ac_tool_warned=yes ;;
   20697 esac
   20698     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20699   fi
   20700 else
   20701   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20702 fi
   20703 
   20704 fi
   20705 if test -n "$PKG_CONFIG"; then
   20706 	_pkg_min_version=0.9.0
   20707 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20708 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20709 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20710 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20711 $as_echo "yes" >&6; }
   20712 	else
   20713 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20714 $as_echo "no" >&6; }
   20715 		PKG_CONFIG=""
   20716 	fi
   20717 
   20718 fi
   20719 
   20720 pkg_failed=no
   20721 { $as_echo "$as_me:$LINENO: checking for XVMC" >&5
   20722 $as_echo_n "checking for XVMC... " >&6; }
   20723 
   20724 if test -n "$XVMC_CFLAGS"; then
   20725     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   20726  elif test -n "$PKG_CONFIG"; then
   20727     if test -n "$PKG_CONFIG" && \
   20728     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xv xextproto videoproto\"") >&5
   20729   ($PKG_CONFIG --exists --print-errors "x11 xext xv xextproto videoproto") 2>&5
   20730   ac_status=$?
   20731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20732   (exit $ac_status); }; then
   20733   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xv xextproto videoproto" 2>/dev/null`
   20734 else
   20735   pkg_failed=yes
   20736 fi
   20737  else
   20738     pkg_failed=untried
   20739 fi
   20740 if test -n "$XVMC_LIBS"; then
   20741     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   20742  elif test -n "$PKG_CONFIG"; then
   20743     if test -n "$PKG_CONFIG" && \
   20744     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xv xextproto videoproto\"") >&5
   20745   ($PKG_CONFIG --exists --print-errors "x11 xext xv xextproto videoproto") 2>&5
   20746   ac_status=$?
   20747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20748   (exit $ac_status); }; then
   20749   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 xext xv xextproto videoproto" 2>/dev/null`
   20750 else
   20751   pkg_failed=yes
   20752 fi
   20753  else
   20754     pkg_failed=untried
   20755 fi
   20756 
   20757 
   20758 
   20759 if test $pkg_failed = yes; then
   20760 
   20761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20762         _pkg_short_errors_supported=yes
   20763 else
   20764         _pkg_short_errors_supported=no
   20765 fi
   20766         if test $_pkg_short_errors_supported = yes; then
   20767 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xv xextproto videoproto" 2>&1`
   20768         else
   20769 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xv xextproto videoproto" 2>&1`
   20770         fi
   20771 	# Put the nasty error message in config.log where it belongs
   20772 	echo "$XVMC_PKG_ERRORS" >&5
   20773 
   20774 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xext xv xextproto videoproto) were not met:
   20775 
   20776 $XVMC_PKG_ERRORS
   20777 
   20778 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20779 installed software in a non-standard prefix.
   20780 
   20781 Alternatively, you may set the environment variables XVMC_CFLAGS
   20782 and XVMC_LIBS to avoid the need to call pkg-config.
   20783 See the pkg-config man page for more details.
   20784 " >&5
   20785 $as_echo "$as_me: error: Package requirements (x11 xext xv xextproto videoproto) were not met:
   20786 
   20787 $XVMC_PKG_ERRORS
   20788 
   20789 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20790 installed software in a non-standard prefix.
   20791 
   20792 Alternatively, you may set the environment variables XVMC_CFLAGS
   20793 and XVMC_LIBS to avoid the need to call pkg-config.
   20794 See the pkg-config man page for more details.
   20795 " >&2;}
   20796    { (exit 1); exit 1; }; }
   20797 elif test $pkg_failed = untried; then
   20798 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20800 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20801 is in your PATH or set the PKG_CONFIG environment variable to the full
   20802 path to pkg-config.
   20803 
   20804 Alternatively, you may set the environment variables XVMC_CFLAGS
   20805 and XVMC_LIBS to avoid the need to call pkg-config.
   20806 See the pkg-config man page for more details.
   20807 
   20808 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20809 See \`config.log' for more details." >&5
   20810 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20811 is in your PATH or set the PKG_CONFIG environment variable to the full
   20812 path to pkg-config.
   20813 
   20814 Alternatively, you may set the environment variables XVMC_CFLAGS
   20815 and XVMC_LIBS to avoid the need to call pkg-config.
   20816 See the pkg-config man page for more details.
   20817 
   20818 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20819 See \`config.log' for more details." >&2;}
   20820    { (exit 1); exit 1; }; }; }
   20821 else
   20822 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   20823 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   20824         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20825 $as_echo "yes" >&6; }
   20826 	:
   20827 fi
   20828 
   20829 
   20830 
   20831 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
   20832 $as_echo_n "checking for shmat... " >&6; }
   20833 if test "${ac_cv_func_shmat+set}" = set; then
   20834   $as_echo_n "(cached) " >&6
   20835 else
   20836   cat >conftest.$ac_ext <<_ACEOF
   20837 /* confdefs.h.  */
   20838 _ACEOF
   20839 cat confdefs.h >>conftest.$ac_ext
   20840 cat >>conftest.$ac_ext <<_ACEOF
   20841 /* end confdefs.h.  */
   20842 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
   20843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20844 #define shmat innocuous_shmat
   20845 
   20846 /* System header to define __stub macros and hopefully few prototypes,
   20847     which can conflict with char shmat (); below.
   20848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20849     <limits.h> exists even on freestanding compilers.  */
   20850 
   20851 #ifdef __STDC__
   20852 # include <limits.h>
   20853 #else
   20854 # include <assert.h>
   20855 #endif
   20856 
   20857 #undef shmat
   20858 
   20859 /* Override any GCC internal prototype to avoid an error.
   20860    Use char because int might match the return type of a GCC
   20861    builtin and then its argument prototype would still apply.  */
   20862 #ifdef __cplusplus
   20863 extern "C"
   20864 #endif
   20865 char shmat ();
   20866 /* The GNU C library defines this for functions which it implements
   20867     to always fail with ENOSYS.  Some functions are actually named
   20868     something starting with __ and the normal name is an alias.  */
   20869 #if defined __stub_shmat || defined __stub___shmat
   20870 choke me
   20871 #endif
   20872 
   20873 int
   20874 main ()
   20875 {
   20876 return shmat ();
   20877   ;
   20878   return 0;
   20879 }
   20880 _ACEOF
   20881 rm -f conftest.$ac_objext conftest$ac_exeext
   20882 if { (ac_try="$ac_link"
   20883 case "(($ac_try" in
   20884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20885   *) ac_try_echo=$ac_try;;
   20886 esac
   20887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20888 $as_echo "$ac_try_echo") >&5
   20889   (eval "$ac_link") 2>conftest.er1
   20890   ac_status=$?
   20891   grep -v '^ *+' conftest.er1 >conftest.err
   20892   rm -f conftest.er1
   20893   cat conftest.err >&5
   20894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20895   (exit $ac_status); } && {
   20896 	 test -z "$ac_c_werror_flag" ||
   20897 	 test ! -s conftest.err
   20898        } && test -s conftest$ac_exeext && {
   20899 	 test "$cross_compiling" = yes ||
   20900 	 $as_test_x conftest$ac_exeext
   20901        }; then
   20902   ac_cv_func_shmat=yes
   20903 else
   20904   $as_echo "$as_me: failed program was:" >&5
   20905 sed 's/^/| /' conftest.$ac_ext >&5
   20906 
   20907 	ac_cv_func_shmat=no
   20908 fi
   20909 
   20910 rm -rf conftest.dSYM
   20911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20912       conftest$ac_exeext conftest.$ac_ext
   20913 fi
   20914 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
   20915 $as_echo "$ac_cv_func_shmat" >&6; }
   20916 if test "x$ac_cv_func_shmat" = x""yes; then
   20917 
   20918 cat >>confdefs.h <<\_ACEOF
   20919 #define HAS_SHM 1
   20920 _ACEOF
   20921 
   20922 fi
   20923 
   20924 
   20925 
   20926 # Check whether --enable-malloc0returnsnull was given.
   20927 if test "${enable_malloc0returnsnull+set}" = set; then
   20928   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20929 else
   20930   MALLOC_ZERO_RETURNS_NULL=auto
   20931 fi
   20932 
   20933 
   20934 { $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20935 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   20936 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20937 	if test "$cross_compiling" = yes; then
   20938   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20940 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20941 See \`config.log' for more details." >&5
   20942 $as_echo "$as_me: error: cannot run test program while cross compiling
   20943 See \`config.log' for more details." >&2;}
   20944    { (exit 1); exit 1; }; }; }
   20945 else
   20946   cat >conftest.$ac_ext <<_ACEOF
   20947 
   20948 char *malloc();
   20949 char *realloc();
   20950 char *calloc();
   20951 main() {
   20952     char *m0, *r0, *c0, *p;
   20953     m0 = malloc(0);
   20954     p = malloc(10);
   20955     r0 = realloc(p,0);
   20956     c0 = calloc(0);
   20957     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20958 }
   20959 _ACEOF
   20960 rm -f conftest$ac_exeext
   20961 if { (ac_try="$ac_link"
   20962 case "(($ac_try" in
   20963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20964   *) ac_try_echo=$ac_try;;
   20965 esac
   20966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20967 $as_echo "$ac_try_echo") >&5
   20968   (eval "$ac_link") 2>&5
   20969   ac_status=$?
   20970   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20971   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20972   { (case "(($ac_try" in
   20973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20974   *) ac_try_echo=$ac_try;;
   20975 esac
   20976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20977 $as_echo "$ac_try_echo") >&5
   20978   (eval "$ac_try") 2>&5
   20979   ac_status=$?
   20980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20981   (exit $ac_status); }; }; then
   20982   MALLOC_ZERO_RETURNS_NULL=yes
   20983 else
   20984   $as_echo "$as_me: program exited with status $ac_status" >&5
   20985 $as_echo "$as_me: failed program was:" >&5
   20986 sed 's/^/| /' conftest.$ac_ext >&5
   20987 
   20988 ( exit $ac_status )
   20989 MALLOC_ZERO_RETURNS_NULL=no
   20990 fi
   20991 rm -rf conftest.dSYM
   20992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20993 fi
   20994 
   20995 
   20996 fi
   20997 { $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20998 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20999 
   21000 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   21001 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   21002 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   21003 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   21004 else
   21005 	MALLOC_ZERO_CFLAGS=""
   21006 	XMALLOC_ZERO_CFLAGS=""
   21007 	XTMALLOC_ZERO_CFLAGS=""
   21008 fi
   21009 
   21010 
   21011 
   21012 
   21013 
   21014 
   21015 
   21016 
   21017 # Allow checking code with lint, sparse, etc.
   21018 
   21019 # Check whether --with-lint was given.
   21020 if test "${with_lint+set}" = set; then
   21021   withval=$with_lint; use_lint=$withval
   21022 else
   21023   use_lint=no
   21024 fi
   21025 
   21026 if test "x$use_lint" = "xyes" ; then
   21027 	LINT="lint"
   21028 else
   21029 	LINT="$use_lint"
   21030 fi
   21031 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   21032     case $LINT in
   21033 	lint|*/lint)
   21034 	    case $host_os in
   21035 		solaris*)
   21036 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   21037 			;;
   21038 	    esac
   21039 	    ;;
   21040     esac
   21041 fi
   21042 
   21043 
   21044 
   21045  if test x$LINT != xno; then
   21046   LINT_TRUE=
   21047   LINT_FALSE='#'
   21048 else
   21049   LINT_TRUE='#'
   21050   LINT_FALSE=
   21051 fi
   21052 
   21053 
   21054 
   21055 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
   21056 
   21057 
   21058 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile xvmc.pc"
   21059 
   21060 cat >confcache <<\_ACEOF
   21061 # This file is a shell script that caches the results of configure
   21062 # tests run on this system so they can be shared between configure
   21063 # scripts and configure runs, see configure's option --config-cache.
   21064 # It is not useful on other systems.  If it contains results you don't
   21065 # want to keep, you may remove or edit it.
   21066 #
   21067 # config.status only pays attention to the cache file if you give it
   21068 # the --recheck option to rerun configure.
   21069 #
   21070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21072 # following values.
   21073 
   21074 _ACEOF
   21075 
   21076 # The following way of writing the cache mishandles newlines in values,
   21077 # but we know of no workaround that is simple, portable, and efficient.
   21078 # So, we kill variables containing newlines.
   21079 # Ultrix sh set writes to stderr and can't be redirected directly,
   21080 # and sets the high bit in the cache file unless we assign to the vars.
   21081 (
   21082   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21083     eval ac_val=\$$ac_var
   21084     case $ac_val in #(
   21085     *${as_nl}*)
   21086       case $ac_var in #(
   21087       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21089       esac
   21090       case $ac_var in #(
   21091       _ | IFS | as_nl) ;; #(
   21092       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21093       *) $as_unset $ac_var ;;
   21094       esac ;;
   21095     esac
   21096   done
   21097 
   21098   (set) 2>&1 |
   21099     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21100     *${as_nl}ac_space=\ *)
   21101       # `set' does not quote correctly, so add quotes (double-quote
   21102       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21103       sed -n \
   21104 	"s/'/'\\\\''/g;
   21105 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21106       ;; #(
   21107     *)
   21108       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21109       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21110       ;;
   21111     esac |
   21112     sort
   21113 ) |
   21114   sed '
   21115      /^ac_cv_env_/b end
   21116      t clear
   21117      :clear
   21118      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21119      t end
   21120      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21121      :end' >>confcache
   21122 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21123   if test -w "$cache_file"; then
   21124     test "x$cache_file" != "x/dev/null" &&
   21125       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21126 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21127     cat confcache >$cache_file
   21128   else
   21129     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21130 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21131   fi
   21132 fi
   21133 rm -f confcache
   21134 
   21135 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21136 # Let make expand exec_prefix.
   21137 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21138 
   21139 DEFS=-DHAVE_CONFIG_H
   21140 
   21141 ac_libobjs=
   21142 ac_ltlibobjs=
   21143 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21144   # 1. Remove the extension, and $U if already installed.
   21145   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21146   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21147   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21148   #    will be set to the directory where LIBOBJS objects are built.
   21149   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21150   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21151 done
   21152 LIBOBJS=$ac_libobjs
   21153 
   21154 LTLIBOBJS=$ac_ltlibobjs
   21155 
   21156 
   21157  if test -n "$EXEEXT"; then
   21158   am__EXEEXT_TRUE=
   21159   am__EXEEXT_FALSE='#'
   21160 else
   21161   am__EXEEXT_TRUE='#'
   21162   am__EXEEXT_FALSE=
   21163 fi
   21164 
   21165 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21166   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21167 Usually this means the macro was only invoked conditionally." >&5
   21168 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21169 Usually this means the macro was only invoked conditionally." >&2;}
   21170    { (exit 1); exit 1; }; }
   21171 fi
   21172 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21173   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21174 Usually this means the macro was only invoked conditionally." >&5
   21175 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21176 Usually this means the macro was only invoked conditionally." >&2;}
   21177    { (exit 1); exit 1; }; }
   21178 fi
   21179 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21180   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21181 Usually this means the macro was only invoked conditionally." >&5
   21182 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21183 Usually this means the macro was only invoked conditionally." >&2;}
   21184    { (exit 1); exit 1; }; }
   21185 fi
   21186 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21187   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21188 Usually this means the macro was only invoked conditionally." >&5
   21189 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21190 Usually this means the macro was only invoked conditionally." >&2;}
   21191    { (exit 1); exit 1; }; }
   21192 fi
   21193 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21194   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   21195 Usually this means the macro was only invoked conditionally." >&5
   21196 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   21197 Usually this means the macro was only invoked conditionally." >&2;}
   21198    { (exit 1); exit 1; }; }
   21199 fi
   21200 
   21201 : ${CONFIG_STATUS=./config.status}
   21202 ac_write_fail=0
   21203 ac_clean_files_save=$ac_clean_files
   21204 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21205 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21206 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21207 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21208 #! $SHELL
   21209 # Generated by $as_me.
   21210 # Run this file to recreate the current configuration.
   21211 # Compiler output produced by configure, useful for debugging
   21212 # configure, is in config.log if it exists.
   21213 
   21214 debug=false
   21215 ac_cs_recheck=false
   21216 ac_cs_silent=false
   21217 SHELL=\${CONFIG_SHELL-$SHELL}
   21218 _ACEOF
   21219 
   21220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21221 ## --------------------- ##
   21222 ## M4sh Initialization.  ##
   21223 ## --------------------- ##
   21224 
   21225 # Be more Bourne compatible
   21226 DUALCASE=1; export DUALCASE # for MKS sh
   21227 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21228   emulate sh
   21229   NULLCMD=:
   21230   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21231   # is contrary to our usage.  Disable this feature.
   21232   alias -g '${1+"$@"}'='"$@"'
   21233   setopt NO_GLOB_SUBST
   21234 else
   21235   case `(set -o) 2>/dev/null` in
   21236   *posix*) set -o posix ;;
   21237 esac
   21238 
   21239 fi
   21240 
   21241 
   21242 
   21243 
   21244 # PATH needs CR
   21245 # Avoid depending upon Character Ranges.
   21246 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21247 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21248 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21249 as_cr_digits='0123456789'
   21250 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21251 
   21252 as_nl='
   21253 '
   21254 export as_nl
   21255 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21256 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21257 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21259 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21260   as_echo='printf %s\n'
   21261   as_echo_n='printf %s'
   21262 else
   21263   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21264     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21265     as_echo_n='/usr/ucb/echo -n'
   21266   else
   21267     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21268     as_echo_n_body='eval
   21269       arg=$1;
   21270       case $arg in
   21271       *"$as_nl"*)
   21272 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21273 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21274       esac;
   21275       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21276     '
   21277     export as_echo_n_body
   21278     as_echo_n='sh -c $as_echo_n_body as_echo'
   21279   fi
   21280   export as_echo_body
   21281   as_echo='sh -c $as_echo_body as_echo'
   21282 fi
   21283 
   21284 # The user is always right.
   21285 if test "${PATH_SEPARATOR+set}" != set; then
   21286   PATH_SEPARATOR=:
   21287   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21288     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21289       PATH_SEPARATOR=';'
   21290   }
   21291 fi
   21292 
   21293 # Support unset when possible.
   21294 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21295   as_unset=unset
   21296 else
   21297   as_unset=false
   21298 fi
   21299 
   21300 
   21301 # IFS
   21302 # We need space, tab and new line, in precisely that order.  Quoting is
   21303 # there to prevent editors from complaining about space-tab.
   21304 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21305 # splitting by setting IFS to empty value.)
   21306 IFS=" ""	$as_nl"
   21307 
   21308 # Find who we are.  Look in the path if we contain no directory separator.
   21309 case $0 in
   21310   *[\\/]* ) as_myself=$0 ;;
   21311   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21312 for as_dir in $PATH
   21313 do
   21314   IFS=$as_save_IFS
   21315   test -z "$as_dir" && as_dir=.
   21316   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21317 done
   21318 IFS=$as_save_IFS
   21319 
   21320      ;;
   21321 esac
   21322 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21323 # in which case we are not to be found in the path.
   21324 if test "x$as_myself" = x; then
   21325   as_myself=$0
   21326 fi
   21327 if test ! -f "$as_myself"; then
   21328   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21329   { (exit 1); exit 1; }
   21330 fi
   21331 
   21332 # Work around bugs in pre-3.0 UWIN ksh.
   21333 for as_var in ENV MAIL MAILPATH
   21334 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21335 done
   21336 PS1='$ '
   21337 PS2='> '
   21338 PS4='+ '
   21339 
   21340 # NLS nuisances.
   21341 LC_ALL=C
   21342 export LC_ALL
   21343 LANGUAGE=C
   21344 export LANGUAGE
   21345 
   21346 # Required to use basename.
   21347 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21348    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21349   as_expr=expr
   21350 else
   21351   as_expr=false
   21352 fi
   21353 
   21354 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21355   as_basename=basename
   21356 else
   21357   as_basename=false
   21358 fi
   21359 
   21360 
   21361 # Name of the executable.
   21362 as_me=`$as_basename -- "$0" ||
   21363 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21364 	 X"$0" : 'X\(//\)$' \| \
   21365 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21366 $as_echo X/"$0" |
   21367     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21368 	    s//\1/
   21369 	    q
   21370 	  }
   21371 	  /^X\/\(\/\/\)$/{
   21372 	    s//\1/
   21373 	    q
   21374 	  }
   21375 	  /^X\/\(\/\).*/{
   21376 	    s//\1/
   21377 	    q
   21378 	  }
   21379 	  s/.*/./; q'`
   21380 
   21381 # CDPATH.
   21382 $as_unset CDPATH
   21383 
   21384 
   21385 
   21386   as_lineno_1=$LINENO
   21387   as_lineno_2=$LINENO
   21388   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21389   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21390 
   21391   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21392   # uniformly replaced by the line number.  The first 'sed' inserts a
   21393   # line-number line after each line using $LINENO; the second 'sed'
   21394   # does the real work.  The second script uses 'N' to pair each
   21395   # line-number line with the line containing $LINENO, and appends
   21396   # trailing '-' during substitution so that $LINENO is not a special
   21397   # case at line end.
   21398   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21399   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21400   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21401   sed -n '
   21402     p
   21403     /[$]LINENO/=
   21404   ' <$as_myself |
   21405     sed '
   21406       s/[$]LINENO.*/&-/
   21407       t lineno
   21408       b
   21409       :lineno
   21410       N
   21411       :loop
   21412       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21413       t loop
   21414       s/-\n.*//
   21415     ' >$as_me.lineno &&
   21416   chmod +x "$as_me.lineno" ||
   21417     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21418    { (exit 1); exit 1; }; }
   21419 
   21420   # Don't try to exec as it changes $[0], causing all sort of problems
   21421   # (the dirname of $[0] is not the place where we might find the
   21422   # original and so on.  Autoconf is especially sensitive to this).
   21423   . "./$as_me.lineno"
   21424   # Exit status is that of the last command.
   21425   exit
   21426 }
   21427 
   21428 
   21429 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21430   as_dirname=dirname
   21431 else
   21432   as_dirname=false
   21433 fi
   21434 
   21435 ECHO_C= ECHO_N= ECHO_T=
   21436 case `echo -n x` in
   21437 -n*)
   21438   case `echo 'x\c'` in
   21439   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21440   *)   ECHO_C='\c';;
   21441   esac;;
   21442 *)
   21443   ECHO_N='-n';;
   21444 esac
   21445 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21446    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21447   as_expr=expr
   21448 else
   21449   as_expr=false
   21450 fi
   21451 
   21452 rm -f conf$$ conf$$.exe conf$$.file
   21453 if test -d conf$$.dir; then
   21454   rm -f conf$$.dir/conf$$.file
   21455 else
   21456   rm -f conf$$.dir
   21457   mkdir conf$$.dir 2>/dev/null
   21458 fi
   21459 if (echo >conf$$.file) 2>/dev/null; then
   21460   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21461     as_ln_s='ln -s'
   21462     # ... but there are two gotchas:
   21463     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21464     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21465     # In both cases, we have to default to `cp -p'.
   21466     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21467       as_ln_s='cp -p'
   21468   elif ln conf$$.file conf$$ 2>/dev/null; then
   21469     as_ln_s=ln
   21470   else
   21471     as_ln_s='cp -p'
   21472   fi
   21473 else
   21474   as_ln_s='cp -p'
   21475 fi
   21476 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21477 rmdir conf$$.dir 2>/dev/null
   21478 
   21479 if mkdir -p . 2>/dev/null; then
   21480   as_mkdir_p=:
   21481 else
   21482   test -d ./-p && rmdir ./-p
   21483   as_mkdir_p=false
   21484 fi
   21485 
   21486 if test -x / >/dev/null 2>&1; then
   21487   as_test_x='test -x'
   21488 else
   21489   if ls -dL / >/dev/null 2>&1; then
   21490     as_ls_L_option=L
   21491   else
   21492     as_ls_L_option=
   21493   fi
   21494   as_test_x='
   21495     eval sh -c '\''
   21496       if test -d "$1"; then
   21497 	test -d "$1/.";
   21498       else
   21499 	case $1 in
   21500 	-*)set "./$1";;
   21501 	esac;
   21502 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21503 	???[sx]*):;;*)false;;esac;fi
   21504     '\'' sh
   21505   '
   21506 fi
   21507 as_executable_p=$as_test_x
   21508 
   21509 # Sed expression to map a string onto a valid CPP name.
   21510 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21511 
   21512 # Sed expression to map a string onto a valid variable name.
   21513 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21514 
   21515 
   21516 exec 6>&1
   21517 
   21518 # Save the log message, to keep $[0] and so on meaningful, and to
   21519 # report actual input values of CONFIG_FILES etc. instead of their
   21520 # values after options handling.
   21521 ac_log="
   21522 This file was extended by libXvMC $as_me 1.0.5, which was
   21523 generated by GNU Autoconf 2.63.  Invocation command line was
   21524 
   21525   CONFIG_FILES    = $CONFIG_FILES
   21526   CONFIG_HEADERS  = $CONFIG_HEADERS
   21527   CONFIG_LINKS    = $CONFIG_LINKS
   21528   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21529   $ $0 $@
   21530 
   21531 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21532 "
   21533 
   21534 _ACEOF
   21535 
   21536 case $ac_config_files in *"
   21537 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21538 esac
   21539 
   21540 case $ac_config_headers in *"
   21541 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21542 esac
   21543 
   21544 
   21545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21546 # Files that config.status was made for.
   21547 config_files="$ac_config_files"
   21548 config_headers="$ac_config_headers"
   21549 config_commands="$ac_config_commands"
   21550 
   21551 _ACEOF
   21552 
   21553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21554 ac_cs_usage="\
   21555 \`$as_me' instantiates files from templates according to the
   21556 current configuration.
   21557 
   21558 Usage: $0 [OPTION]... [FILE]...
   21559 
   21560   -h, --help       print this help, then exit
   21561   -V, --version    print version number and configuration settings, then exit
   21562   -q, --quiet, --silent
   21563                    do not print progress messages
   21564   -d, --debug      don't remove temporary files
   21565       --recheck    update $as_me by reconfiguring in the same conditions
   21566       --file=FILE[:TEMPLATE]
   21567                    instantiate the configuration file FILE
   21568       --header=FILE[:TEMPLATE]
   21569                    instantiate the configuration header FILE
   21570 
   21571 Configuration files:
   21572 $config_files
   21573 
   21574 Configuration headers:
   21575 $config_headers
   21576 
   21577 Configuration commands:
   21578 $config_commands
   21579 
   21580 Report bugs to <bug-autoconf (at] gnu.org>."
   21581 
   21582 _ACEOF
   21583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21584 ac_cs_version="\\
   21585 libXvMC config.status 1.0.5
   21586 configured by $0, generated by GNU Autoconf 2.63,
   21587   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21588 
   21589 Copyright (C) 2008 Free Software Foundation, Inc.
   21590 This config.status script is free software; the Free Software Foundation
   21591 gives unlimited permission to copy, distribute and modify it."
   21592 
   21593 ac_pwd='$ac_pwd'
   21594 srcdir='$srcdir'
   21595 INSTALL='$INSTALL'
   21596 MKDIR_P='$MKDIR_P'
   21597 AWK='$AWK'
   21598 test -n "\$AWK" || AWK=awk
   21599 _ACEOF
   21600 
   21601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21602 # The default lists apply if the user does not specify any file.
   21603 ac_need_defaults=:
   21604 while test $# != 0
   21605 do
   21606   case $1 in
   21607   --*=*)
   21608     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21609     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21610     ac_shift=:
   21611     ;;
   21612   *)
   21613     ac_option=$1
   21614     ac_optarg=$2
   21615     ac_shift=shift
   21616     ;;
   21617   esac
   21618 
   21619   case $ac_option in
   21620   # Handling of the options.
   21621   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21622     ac_cs_recheck=: ;;
   21623   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21624     $as_echo "$ac_cs_version"; exit ;;
   21625   --debug | --debu | --deb | --de | --d | -d )
   21626     debug=: ;;
   21627   --file | --fil | --fi | --f )
   21628     $ac_shift
   21629     case $ac_optarg in
   21630     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21631     esac
   21632     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   21633     ac_need_defaults=false;;
   21634   --header | --heade | --head | --hea )
   21635     $ac_shift
   21636     case $ac_optarg in
   21637     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21638     esac
   21639     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   21640     ac_need_defaults=false;;
   21641   --he | --h)
   21642     # Conflict between --help and --header
   21643     { $as_echo "$as_me: error: ambiguous option: $1
   21644 Try \`$0 --help' for more information." >&2
   21645    { (exit 1); exit 1; }; };;
   21646   --help | --hel | -h )
   21647     $as_echo "$ac_cs_usage"; exit ;;
   21648   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21649   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21650     ac_cs_silent=: ;;
   21651 
   21652   # This is an error.
   21653   -*) { $as_echo "$as_me: error: unrecognized option: $1
   21654 Try \`$0 --help' for more information." >&2
   21655    { (exit 1); exit 1; }; } ;;
   21656 
   21657   *) ac_config_targets="$ac_config_targets $1"
   21658      ac_need_defaults=false ;;
   21659 
   21660   esac
   21661   shift
   21662 done
   21663 
   21664 ac_configure_extra_args=
   21665 
   21666 if $ac_cs_silent; then
   21667   exec 6>/dev/null
   21668   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21669 fi
   21670 
   21671 _ACEOF
   21672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21673 if \$ac_cs_recheck; then
   21674   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21675   shift
   21676   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21677   CONFIG_SHELL='$SHELL'
   21678   export CONFIG_SHELL
   21679   exec "\$@"
   21680 fi
   21681 
   21682 _ACEOF
   21683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21684 exec 5>>config.log
   21685 {
   21686   echo
   21687   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21688 ## Running $as_me. ##
   21689 _ASBOX
   21690   $as_echo "$ac_log"
   21691 } >&5
   21692 
   21693 _ACEOF
   21694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21695 #
   21696 # INIT-COMMANDS
   21697 #
   21698 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21699 
   21700 _ACEOF
   21701 
   21702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21703 
   21704 # Handling of arguments.
   21705 for ac_config_target in $ac_config_targets
   21706 do
   21707   case $ac_config_target in
   21708     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21709     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21710     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21711     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21712     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   21713     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   21714     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21715     "xvmc.pc") CONFIG_FILES="$CONFIG_FILES xvmc.pc" ;;
   21716 
   21717   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21718 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21719    { (exit 1); exit 1; }; };;
   21720   esac
   21721 done
   21722 
   21723 
   21724 # If the user did not use the arguments to specify the items to instantiate,
   21725 # then the envvar interface is used.  Set only those that are not.
   21726 # We use the long form for the default assignment because of an extremely
   21727 # bizarre bug on SunOS 4.1.3.
   21728 if $ac_need_defaults; then
   21729   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21730   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21731   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21732 fi
   21733 
   21734 # Have a temporary directory for convenience.  Make it in the build tree
   21735 # simply because there is no reason against having it here, and in addition,
   21736 # creating and moving files from /tmp can sometimes cause problems.
   21737 # Hook for its removal unless debugging.
   21738 # Note that there is a small window in which the directory will not be cleaned:
   21739 # after its creation but before its name has been assigned to `$tmp'.
   21740 $debug ||
   21741 {
   21742   tmp=
   21743   trap 'exit_status=$?
   21744   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21745 ' 0
   21746   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21747 }
   21748 # Create a (secure) tmp directory for tmp files.
   21749 
   21750 {
   21751   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21752   test -n "$tmp" && test -d "$tmp"
   21753 }  ||
   21754 {
   21755   tmp=./conf$$-$RANDOM
   21756   (umask 077 && mkdir "$tmp")
   21757 } ||
   21758 {
   21759    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   21760    { (exit 1); exit 1; }
   21761 }
   21762 
   21763 # Set up the scripts for CONFIG_FILES section.
   21764 # No need to generate them if there are no CONFIG_FILES.
   21765 # This happens for instance with `./config.status config.h'.
   21766 if test -n "$CONFIG_FILES"; then
   21767 
   21768 
   21769 ac_cr='
'
   21771 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21773   ac_cs_awk_cr='\\r'
   21774 else
   21775   ac_cs_awk_cr=$ac_cr
   21776 fi
   21777 
   21778 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   21779 _ACEOF
   21780 
   21781 
   21782 {
   21783   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21784   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21785   echo "_ACEOF"
   21786 } >conf$$subs.sh ||
   21787   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21788 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21789    { (exit 1); exit 1; }; }
   21790 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   21791 ac_delim='%!_!# '
   21792 for ac_last_try in false false false false false :; do
   21793   . ./conf$$subs.sh ||
   21794     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21795 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21796    { (exit 1); exit 1; }; }
   21797 
   21798   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21799   if test $ac_delim_n = $ac_delim_num; then
   21800     break
   21801   elif $ac_last_try; then
   21802     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21803 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21804    { (exit 1); exit 1; }; }
   21805   else
   21806     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21807   fi
   21808 done
   21809 rm -f conf$$subs.sh
   21810 
   21811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21812 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   21813 _ACEOF
   21814 sed -n '
   21815 h
   21816 s/^/S["/; s/!.*/"]=/
   21817 p
   21818 g
   21819 s/^[^!]*!//
   21820 :repl
   21821 t repl
   21822 s/'"$ac_delim"'$//
   21823 t delim
   21824 :nl
   21825 h
   21826 s/\(.\{148\}\).*/\1/
   21827 t more1
   21828 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21829 p
   21830 n
   21831 b repl
   21832 :more1
   21833 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21834 p
   21835 g
   21836 s/.\{148\}//
   21837 t nl
   21838 :delim
   21839 h
   21840 s/\(.\{148\}\).*/\1/
   21841 t more2
   21842 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21843 p
   21844 b
   21845 :more2
   21846 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21847 p
   21848 g
   21849 s/.\{148\}//
   21850 t delim
   21851 ' <conf$$subs.awk | sed '
   21852 /^[^""]/{
   21853   N
   21854   s/\n//
   21855 }
   21856 ' >>$CONFIG_STATUS || ac_write_fail=1
   21857 rm -f conf$$subs.awk
   21858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21859 _ACAWK
   21860 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   21861   for (key in S) S_is_set[key] = 1
   21862   FS = ""
   21863 
   21864 }
   21865 {
   21866   line = $ 0
   21867   nfields = split(line, field, "@")
   21868   substed = 0
   21869   len = length(field[1])
   21870   for (i = 2; i < nfields; i++) {
   21871     key = field[i]
   21872     keylen = length(key)
   21873     if (S_is_set[key]) {
   21874       value = S[key]
   21875       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21876       len += length(value) + length(field[++i])
   21877       substed = 1
   21878     } else
   21879       len += 1 + keylen
   21880   }
   21881 
   21882   print line
   21883 }
   21884 
   21885 _ACAWK
   21886 _ACEOF
   21887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21888 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21889   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21890 else
   21891   cat
   21892 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   21893   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   21894 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   21895    { (exit 1); exit 1; }; }
   21896 _ACEOF
   21897 
   21898 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21899 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21900 # trailing colons and then remove the whole line if VPATH becomes empty
   21901 # (actually we leave an empty line to preserve line numbers).
   21902 if test "x$srcdir" = x.; then
   21903   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21904 s/:*\$(srcdir):*/:/
   21905 s/:*\${srcdir}:*/:/
   21906 s/:*@srcdir@:*/:/
   21907 s/^\([^=]*=[	 ]*\):*/\1/
   21908 s/:*$//
   21909 s/^[^=]*=[	 ]*$//
   21910 }'
   21911 fi
   21912 
   21913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21914 fi # test -n "$CONFIG_FILES"
   21915 
   21916 # Set up the scripts for CONFIG_HEADERS section.
   21917 # No need to generate them if there are no CONFIG_HEADERS.
   21918 # This happens for instance with `./config.status Makefile'.
   21919 if test -n "$CONFIG_HEADERS"; then
   21920 cat >"$tmp/defines.awk" <<\_ACAWK ||
   21921 BEGIN {
   21922 _ACEOF
   21923 
   21924 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21925 # here-document in config.status, that substitutes the proper values into
   21926 # config.h.in to produce config.h.
   21927 
   21928 # Create a delimiter string that does not exist in confdefs.h, to ease
   21929 # handling of long lines.
   21930 ac_delim='%!_!# '
   21931 for ac_last_try in false false :; do
   21932   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   21933   if test -z "$ac_t"; then
   21934     break
   21935   elif $ac_last_try; then
   21936     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   21937 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   21938    { (exit 1); exit 1; }; }
   21939   else
   21940     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21941   fi
   21942 done
   21943 
   21944 # For the awk script, D is an array of macro values keyed by name,
   21945 # likewise P contains macro parameters if any.  Preserve backslash
   21946 # newline sequences.
   21947 
   21948 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21949 sed -n '
   21950 s/.\{148\}/&'"$ac_delim"'/g
   21951 t rset
   21952 :rset
   21953 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21954 t def
   21955 d
   21956 :def
   21957 s/\\$//
   21958 t bsnl
   21959 s/["\\]/\\&/g
   21960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21961 D["\1"]=" \3"/p
   21962 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21963 d
   21964 :bsnl
   21965 s/["\\]/\\&/g
   21966 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21967 D["\1"]=" \3\\\\\\n"\\/p
   21968 t cont
   21969 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21970 t cont
   21971 d
   21972 :cont
   21973 n
   21974 s/.\{148\}/&'"$ac_delim"'/g
   21975 t clear
   21976 :clear
   21977 s/\\$//
   21978 t bsnlc
   21979 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21980 d
   21981 :bsnlc
   21982 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21983 b cont
   21984 ' <confdefs.h | sed '
   21985 s/'"$ac_delim"'/"\\\
   21986 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21987 
   21988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21989   for (key in D) D_is_set[key] = 1
   21990   FS = ""
   21991 }
   21992 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21993   line = \$ 0
   21994   split(line, arg, " ")
   21995   if (arg[1] == "#") {
   21996     defundef = arg[2]
   21997     mac1 = arg[3]
   21998   } else {
   21999     defundef = substr(arg[1], 2)
   22000     mac1 = arg[2]
   22001   }
   22002   split(mac1, mac2, "(") #)
   22003   macro = mac2[1]
   22004   prefix = substr(line, 1, index(line, defundef) - 1)
   22005   if (D_is_set[macro]) {
   22006     # Preserve the white space surrounding the "#".
   22007     print prefix "define", macro P[macro] D[macro]
   22008     next
   22009   } else {
   22010     # Replace #undef with comments.  This is necessary, for example,
   22011     # in the case of _POSIX_SOURCE, which is predefined and required
   22012     # on some systems where configure will not decide to define it.
   22013     if (defundef == "undef") {
   22014       print "/*", prefix defundef, macro, "*/"
   22015       next
   22016     }
   22017   }
   22018 }
   22019 { print }
   22020 _ACAWK
   22021 _ACEOF
   22022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22023   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22024 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22025    { (exit 1); exit 1; }; }
   22026 fi # test -n "$CONFIG_HEADERS"
   22027 
   22028 
   22029 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22030 shift
   22031 for ac_tag
   22032 do
   22033   case $ac_tag in
   22034   :[FHLC]) ac_mode=$ac_tag; continue;;
   22035   esac
   22036   case $ac_mode$ac_tag in
   22037   :[FHL]*:*);;
   22038   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22039 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22040    { (exit 1); exit 1; }; };;
   22041   :[FH]-) ac_tag=-:-;;
   22042   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22043   esac
   22044   ac_save_IFS=$IFS
   22045   IFS=:
   22046   set x $ac_tag
   22047   IFS=$ac_save_IFS
   22048   shift
   22049   ac_file=$1
   22050   shift
   22051 
   22052   case $ac_mode in
   22053   :L) ac_source=$1;;
   22054   :[FH])
   22055     ac_file_inputs=
   22056     for ac_f
   22057     do
   22058       case $ac_f in
   22059       -) ac_f="$tmp/stdin";;
   22060       *) # Look for the file first in the build tree, then in the source tree
   22061 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22062 	 # because $ac_f cannot contain `:'.
   22063 	 test -f "$ac_f" ||
   22064 	   case $ac_f in
   22065 	   [\\/$]*) false;;
   22066 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22067 	   esac ||
   22068 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22069 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22070    { (exit 1); exit 1; }; };;
   22071       esac
   22072       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22073       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22074     done
   22075 
   22076     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22077     # use $as_me), people would be surprised to read:
   22078     #    /* config.h.  Generated by config.status.  */
   22079     configure_input='Generated from '`
   22080 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22081 	`' by configure.'
   22082     if test x"$ac_file" != x-; then
   22083       configure_input="$ac_file.  $configure_input"
   22084       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22085 $as_echo "$as_me: creating $ac_file" >&6;}
   22086     fi
   22087     # Neutralize special characters interpreted by sed in replacement strings.
   22088     case $configure_input in #(
   22089     *\&* | *\|* | *\\* )
   22090        ac_sed_conf_input=`$as_echo "$configure_input" |
   22091        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22092     *) ac_sed_conf_input=$configure_input;;
   22093     esac
   22094 
   22095     case $ac_tag in
   22096     *:-:* | *:-) cat >"$tmp/stdin" \
   22097       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22098 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22099    { (exit 1); exit 1; }; } ;;
   22100     esac
   22101     ;;
   22102   esac
   22103 
   22104   ac_dir=`$as_dirname -- "$ac_file" ||
   22105 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22106 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22107 	 X"$ac_file" : 'X\(//\)$' \| \
   22108 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22109 $as_echo X"$ac_file" |
   22110     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22111 	    s//\1/
   22112 	    q
   22113 	  }
   22114 	  /^X\(\/\/\)[^/].*/{
   22115 	    s//\1/
   22116 	    q
   22117 	  }
   22118 	  /^X\(\/\/\)$/{
   22119 	    s//\1/
   22120 	    q
   22121 	  }
   22122 	  /^X\(\/\).*/{
   22123 	    s//\1/
   22124 	    q
   22125 	  }
   22126 	  s/.*/./; q'`
   22127   { as_dir="$ac_dir"
   22128   case $as_dir in #(
   22129   -*) as_dir=./$as_dir;;
   22130   esac
   22131   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22132     as_dirs=
   22133     while :; do
   22134       case $as_dir in #(
   22135       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22136       *) as_qdir=$as_dir;;
   22137       esac
   22138       as_dirs="'$as_qdir' $as_dirs"
   22139       as_dir=`$as_dirname -- "$as_dir" ||
   22140 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22141 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22142 	 X"$as_dir" : 'X\(//\)$' \| \
   22143 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22144 $as_echo X"$as_dir" |
   22145     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22146 	    s//\1/
   22147 	    q
   22148 	  }
   22149 	  /^X\(\/\/\)[^/].*/{
   22150 	    s//\1/
   22151 	    q
   22152 	  }
   22153 	  /^X\(\/\/\)$/{
   22154 	    s//\1/
   22155 	    q
   22156 	  }
   22157 	  /^X\(\/\).*/{
   22158 	    s//\1/
   22159 	    q
   22160 	  }
   22161 	  s/.*/./; q'`
   22162       test -d "$as_dir" && break
   22163     done
   22164     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22165   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22166 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22167    { (exit 1); exit 1; }; }; }
   22168   ac_builddir=.
   22169 
   22170 case "$ac_dir" in
   22171 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22172 *)
   22173   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22174   # A ".." for each directory in $ac_dir_suffix.
   22175   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22176   case $ac_top_builddir_sub in
   22177   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22178   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22179   esac ;;
   22180 esac
   22181 ac_abs_top_builddir=$ac_pwd
   22182 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22183 # for backward compatibility:
   22184 ac_top_builddir=$ac_top_build_prefix
   22185 
   22186 case $srcdir in
   22187   .)  # We are building in place.
   22188     ac_srcdir=.
   22189     ac_top_srcdir=$ac_top_builddir_sub
   22190     ac_abs_top_srcdir=$ac_pwd ;;
   22191   [\\/]* | ?:[\\/]* )  # Absolute name.
   22192     ac_srcdir=$srcdir$ac_dir_suffix;
   22193     ac_top_srcdir=$srcdir
   22194     ac_abs_top_srcdir=$srcdir ;;
   22195   *) # Relative name.
   22196     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22197     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22198     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22199 esac
   22200 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22201 
   22202 
   22203   case $ac_mode in
   22204   :F)
   22205   #
   22206   # CONFIG_FILE
   22207   #
   22208 
   22209   case $INSTALL in
   22210   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22211   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22212   esac
   22213   ac_MKDIR_P=$MKDIR_P
   22214   case $MKDIR_P in
   22215   [\\/$]* | ?:[\\/]* ) ;;
   22216   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22217   esac
   22218 _ACEOF
   22219 
   22220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22221 # If the template does not know about datarootdir, expand it.
   22222 # FIXME: This hack should be removed a few years after 2.60.
   22223 ac_datarootdir_hack=; ac_datarootdir_seen=
   22224 
   22225 ac_sed_dataroot='
   22226 /datarootdir/ {
   22227   p
   22228   q
   22229 }
   22230 /@datadir@/p
   22231 /@docdir@/p
   22232 /@infodir@/p
   22233 /@localedir@/p
   22234 /@mandir@/p
   22235 '
   22236 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22237 *datarootdir*) ac_datarootdir_seen=yes;;
   22238 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22239   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22240 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22241 _ACEOF
   22242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22243   ac_datarootdir_hack='
   22244   s&@datadir@&$datadir&g
   22245   s&@docdir@&$docdir&g
   22246   s&@infodir@&$infodir&g
   22247   s&@localedir@&$localedir&g
   22248   s&@mandir@&$mandir&g
   22249     s&\\\${datarootdir}&$datarootdir&g' ;;
   22250 esac
   22251 _ACEOF
   22252 
   22253 # Neutralize VPATH when `$srcdir' = `.'.
   22254 # Shell code in configure.ac might set extrasub.
   22255 # FIXME: do we really want to maintain this feature?
   22256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22257 ac_sed_extra="$ac_vpsub
   22258 $extrasub
   22259 _ACEOF
   22260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22261 :t
   22262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22263 s|@configure_input@|$ac_sed_conf_input|;t t
   22264 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22265 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22266 s&@srcdir@&$ac_srcdir&;t t
   22267 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22268 s&@top_srcdir@&$ac_top_srcdir&;t t
   22269 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22270 s&@builddir@&$ac_builddir&;t t
   22271 s&@abs_builddir@&$ac_abs_builddir&;t t
   22272 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22273 s&@INSTALL@&$ac_INSTALL&;t t
   22274 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22275 $ac_datarootdir_hack
   22276 "
   22277 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   22278   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22279 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22280    { (exit 1); exit 1; }; }
   22281 
   22282 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22283   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22284   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22285   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22286 which seems to be undefined.  Please make sure it is defined." >&5
   22287 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22288 which seems to be undefined.  Please make sure it is defined." >&2;}
   22289 
   22290   rm -f "$tmp/stdin"
   22291   case $ac_file in
   22292   -) cat "$tmp/out" && rm -f "$tmp/out";;
   22293   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   22294   esac \
   22295   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22296 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22297    { (exit 1); exit 1; }; }
   22298  ;;
   22299   :H)
   22300   #
   22301   # CONFIG_HEADER
   22302   #
   22303   if test x"$ac_file" != x-; then
   22304     {
   22305       $as_echo "/* $configure_input  */" \
   22306       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   22307     } >"$tmp/config.h" \
   22308       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22309 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22310    { (exit 1); exit 1; }; }
   22311     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   22312       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22313 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22314     else
   22315       rm -f "$ac_file"
   22316       mv "$tmp/config.h" "$ac_file" \
   22317 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22318 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22319    { (exit 1); exit 1; }; }
   22320     fi
   22321   else
   22322     $as_echo "/* $configure_input  */" \
   22323       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   22324       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   22325 $as_echo "$as_me: error: could not create -" >&2;}
   22326    { (exit 1); exit 1; }; }
   22327   fi
   22328 # Compute "$ac_file"'s index in $config_headers.
   22329 _am_arg="$ac_file"
   22330 _am_stamp_count=1
   22331 for _am_header in $config_headers :; do
   22332   case $_am_header in
   22333     $_am_arg | $_am_arg:* )
   22334       break ;;
   22335     * )
   22336       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22337   esac
   22338 done
   22339 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22340 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22341 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22342 	 X"$_am_arg" : 'X\(//\)$' \| \
   22343 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22344 $as_echo X"$_am_arg" |
   22345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22346 	    s//\1/
   22347 	    q
   22348 	  }
   22349 	  /^X\(\/\/\)[^/].*/{
   22350 	    s//\1/
   22351 	    q
   22352 	  }
   22353 	  /^X\(\/\/\)$/{
   22354 	    s//\1/
   22355 	    q
   22356 	  }
   22357 	  /^X\(\/\).*/{
   22358 	    s//\1/
   22359 	    q
   22360 	  }
   22361 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22362  ;;
   22363 
   22364   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22365 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22366  ;;
   22367   esac
   22368 
   22369 
   22370   case $ac_file$ac_mode in
   22371     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22372   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   22373   # are listed without --file.  Let's play safe and only enable the eval
   22374   # if we detect the quoting.
   22375   case $CONFIG_FILES in
   22376   *\'*) eval set x "$CONFIG_FILES" ;;
   22377   *)   set x $CONFIG_FILES ;;
   22378   esac
   22379   shift
   22380   for mf
   22381   do
   22382     # Strip MF so we end up with the name of the file.
   22383     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22384     # Check whether this is an Automake generated Makefile or not.
   22385     # We used to match only the files named `Makefile.in', but
   22386     # some people rename them; so instead we look at the file content.
   22387     # Grep'ing the first line is not enough: some people post-process
   22388     # each Makefile.in and add a new line on top of each file to say so.
   22389     # Grep'ing the whole file is not good either: AIX grep has a line
   22390     # limit of 2048, but all sed's we know have understand at least 4000.
   22391     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22392       dirpart=`$as_dirname -- "$mf" ||
   22393 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22394 	 X"$mf" : 'X\(//\)[^/]' \| \
   22395 	 X"$mf" : 'X\(//\)$' \| \
   22396 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22397 $as_echo X"$mf" |
   22398     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22399 	    s//\1/
   22400 	    q
   22401 	  }
   22402 	  /^X\(\/\/\)[^/].*/{
   22403 	    s//\1/
   22404 	    q
   22405 	  }
   22406 	  /^X\(\/\/\)$/{
   22407 	    s//\1/
   22408 	    q
   22409 	  }
   22410 	  /^X\(\/\).*/{
   22411 	    s//\1/
   22412 	    q
   22413 	  }
   22414 	  s/.*/./; q'`
   22415     else
   22416       continue
   22417     fi
   22418     # Extract the definition of DEPDIR, am__include, and am__quote
   22419     # from the Makefile without running `make'.
   22420     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22421     test -z "$DEPDIR" && continue
   22422     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22423     test -z "am__include" && continue
   22424     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22425     # When using ansi2knr, U may be empty or an underscore; expand it
   22426     U=`sed -n 's/^U = //p' < "$mf"`
   22427     # Find all dependency output files, they are included files with
   22428     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22429     # simplest approach to changing $(DEPDIR) to its actual value in the
   22430     # expansion.
   22431     for file in `sed -n "
   22432       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22433 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22434       # Make sure the directory exists.
   22435       test -f "$dirpart/$file" && continue
   22436       fdir=`$as_dirname -- "$file" ||
   22437 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22438 	 X"$file" : 'X\(//\)[^/]' \| \
   22439 	 X"$file" : 'X\(//\)$' \| \
   22440 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22441 $as_echo X"$file" |
   22442     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22443 	    s//\1/
   22444 	    q
   22445 	  }
   22446 	  /^X\(\/\/\)[^/].*/{
   22447 	    s//\1/
   22448 	    q
   22449 	  }
   22450 	  /^X\(\/\/\)$/{
   22451 	    s//\1/
   22452 	    q
   22453 	  }
   22454 	  /^X\(\/\).*/{
   22455 	    s//\1/
   22456 	    q
   22457 	  }
   22458 	  s/.*/./; q'`
   22459       { as_dir=$dirpart/$fdir
   22460   case $as_dir in #(
   22461   -*) as_dir=./$as_dir;;
   22462   esac
   22463   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22464     as_dirs=
   22465     while :; do
   22466       case $as_dir in #(
   22467       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22468       *) as_qdir=$as_dir;;
   22469       esac
   22470       as_dirs="'$as_qdir' $as_dirs"
   22471       as_dir=`$as_dirname -- "$as_dir" ||
   22472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22473 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22474 	 X"$as_dir" : 'X\(//\)$' \| \
   22475 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22476 $as_echo X"$as_dir" |
   22477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22478 	    s//\1/
   22479 	    q
   22480 	  }
   22481 	  /^X\(\/\/\)[^/].*/{
   22482 	    s//\1/
   22483 	    q
   22484 	  }
   22485 	  /^X\(\/\/\)$/{
   22486 	    s//\1/
   22487 	    q
   22488 	  }
   22489 	  /^X\(\/\).*/{
   22490 	    s//\1/
   22491 	    q
   22492 	  }
   22493 	  s/.*/./; q'`
   22494       test -d "$as_dir" && break
   22495     done
   22496     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22497   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22498 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22499    { (exit 1); exit 1; }; }; }
   22500       # echo "creating $dirpart/$file"
   22501       echo '# dummy' > "$dirpart/$file"
   22502     done
   22503   done
   22504 }
   22505  ;;
   22506 
   22507   esac
   22508 done # for ac_tag
   22509 
   22510 
   22511 { (exit 0); exit 0; }
   22512 _ACEOF
   22513 chmod +x $CONFIG_STATUS
   22514 ac_clean_files=$ac_clean_files_save
   22515 
   22516 test $ac_write_fail = 0 ||
   22517   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   22518 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   22519    { (exit 1); exit 1; }; }
   22520 
   22521 
   22522 # configure is writing to config.log, and then calls config.status.
   22523 # config.status does its own redirection, appending to config.log.
   22524 # Unfortunately, on DOS this fails, as config.log is still kept open
   22525 # by configure, so config.status won't be able to write to it; its
   22526 # output is simply discarded.  So we exec the FD to /dev/null,
   22527 # effectively closing config.log, so it can be properly (re)opened and
   22528 # appended to by config.status.  When coming back to configure, we
   22529 # need to make the FD available again.
   22530 if test "$no_create" != yes; then
   22531   ac_cs_success=:
   22532   ac_config_status_args=
   22533   test "$silent" = yes &&
   22534     ac_config_status_args="$ac_config_status_args --quiet"
   22535   exec 5>/dev/null
   22536   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22537   exec 5>>config.log
   22538   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22539   # would make configure fail if this is the last instruction.
   22540   $ac_cs_success || { (exit 1); exit 1; }
   22541 fi
   22542 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22543   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22544 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22545 fi
   22546 
   22547