Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-intel 2.4.0.
      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 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='xf86-video-intel'
    730 PACKAGE_TARNAME='xf86-video-intel'
    731 PACKAGE_VERSION='2.4.0'
    732 PACKAGE_STRING='xf86-video-intel 2.4.0'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 ac_unique_file="Makefile.am"
    736 # Factoring default headers for most tests.
    737 ac_includes_default="\
    738 #include <stdio.h>
    739 #ifdef HAVE_SYS_TYPES_H
    740 # include <sys/types.h>
    741 #endif
    742 #ifdef HAVE_SYS_STAT_H
    743 # include <sys/stat.h>
    744 #endif
    745 #ifdef STDC_HEADERS
    746 # include <stdlib.h>
    747 # include <stddef.h>
    748 #else
    749 # ifdef HAVE_STDLIB_H
    750 #  include <stdlib.h>
    751 # endif
    752 #endif
    753 #ifdef HAVE_STRING_H
    754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    755 #  include <memory.h>
    756 # endif
    757 # include <string.h>
    758 #endif
    759 #ifdef HAVE_STRINGS_H
    760 # include <strings.h>
    761 #endif
    762 #ifdef HAVE_INTTYPES_H
    763 # include <inttypes.h>
    764 #endif
    765 #ifdef HAVE_STDINT_H
    766 # include <stdint.h>
    767 #endif
    768 #ifdef HAVE_UNISTD_H
    769 # include <unistd.h>
    770 #endif"
    771 
    772 ac_subst_vars='SHELL
    773 PATH_SEPARATOR
    774 PACKAGE_NAME
    775 PACKAGE_TARNAME
    776 PACKAGE_VERSION
    777 PACKAGE_STRING
    778 PACKAGE_BUGREPORT
    779 exec_prefix
    780 prefix
    781 program_transform_name
    782 bindir
    783 sbindir
    784 libexecdir
    785 datarootdir
    786 datadir
    787 sysconfdir
    788 sharedstatedir
    789 localstatedir
    790 includedir
    791 oldincludedir
    792 docdir
    793 infodir
    794 htmldir
    795 dvidir
    796 pdfdir
    797 psdir
    798 libdir
    799 localedir
    800 mandir
    801 DEFS
    802 ECHO_C
    803 ECHO_N
    804 ECHO_T
    805 LIBS
    806 build_alias
    807 host_alias
    808 target_alias
    809 INSTALL_PROGRAM
    810 INSTALL_SCRIPT
    811 INSTALL_DATA
    812 am__isrc
    813 CYGPATH_W
    814 PACKAGE
    815 VERSION
    816 ACLOCAL
    817 AUTOCONF
    818 AUTOMAKE
    819 AUTOHEADER
    820 MAKEINFO
    821 install_sh
    822 STRIP
    823 INSTALL_STRIP_PROGRAM
    824 mkdir_p
    825 AWK
    826 SET_MAKE
    827 am__leading_dot
    828 AMTAR
    829 am__tar
    830 am__untar
    831 MAINTAINER_MODE_TRUE
    832 MAINTAINER_MODE_FALSE
    833 MAINT
    834 build
    835 build_cpu
    836 build_vendor
    837 build_os
    838 host
    839 host_cpu
    840 host_vendor
    841 host_os
    842 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 SED
    859 GREP
    860 EGREP
    861 LN_S
    862 ECHO
    863 AR
    864 RANLIB
    865 DSYMUTIL
    866 NMEDIT
    867 CPP
    868 CXX
    869 CXXFLAGS
    870 ac_ct_CXX
    871 CXXDEPMODE
    872 am__fastdepCXX_TRUE
    873 am__fastdepCXX_FALSE
    874 CXXCPP
    875 F77
    876 FFLAGS
    877 ac_ct_F77
    878 LIBTOOL
    879 DOLT_BASH
    880 LTCOMPILE
    881 LTCXXCOMPILE
    882 gen4asm
    883 HAVE_GEN4ASM_TRUE
    884 HAVE_GEN4ASM_FALSE
    885 PKG_CONFIG
    886 XORG_CFLAGS
    887 XORG_LIBS
    888 PCIACCESS_CFLAGS
    889 PCIACCESS_LIBS
    890 XSERVER_LIBPCIACCESS_TRUE
    891 XSERVER_LIBPCIACCESS_FALSE
    892 LIBPCIACCESS_TRUE
    893 LIBPCIACCESS_FALSE
    894 XMODES_TRUE
    895 XMODES_FALSE
    896 XMODES_CFLAGS
    897 DRI_TRUE
    898 DRI_FALSE
    899 DRI_CFLAGS
    900 DRI_LIBS
    901 DRI_MM_CFLAGS
    902 DRI_MM_LIBS
    903 VIDEO_DEBUG_TRUE
    904 VIDEO_DEBUG_FALSE
    905 XVMCLIB_CFLAGS
    906 XVMCLIB_LIBS
    907 XVMC_TRUE
    908 XVMC_FALSE
    909 WARN_CFLAGS
    910 moduledir
    911 DRIVER_NAME
    912 APP_MAN_SUFFIX
    913 LIB_MAN_SUFFIX
    914 FILE_MAN_SUFFIX
    915 MISC_MAN_SUFFIX
    916 DRIVER_MAN_SUFFIX
    917 ADMIN_MAN_SUFFIX
    918 APP_MAN_DIR
    919 LIB_MAN_DIR
    920 FILE_MAN_DIR
    921 MISC_MAN_DIR
    922 DRIVER_MAN_DIR
    923 ADMIN_MAN_DIR
    924 LINUXDOC
    925 PS2PDF
    926 BUILD_LINUXDOC_TRUE
    927 BUILD_LINUXDOC_FALSE
    928 BUILD_PDFDOC_TRUE
    929 BUILD_PDFDOC_FALSE
    930 MAKE_TEXT
    931 MAKE_PS
    932 MAKE_PDF
    933 MAKE_HTML
    934 LIBOBJS
    935 LTLIBOBJS'
    936 ac_subst_files=''
    937       ac_precious_vars='build_alias
    938 host_alias
    939 target_alias
    940 CC
    941 CFLAGS
    942 LDFLAGS
    943 LIBS
    944 CPPFLAGS
    945 CPP
    946 CXX
    947 CXXFLAGS
    948 CCC
    949 CXXCPP
    950 F77
    951 FFLAGS
    952 PKG_CONFIG
    953 XORG_CFLAGS
    954 XORG_LIBS
    955 PCIACCESS_CFLAGS
    956 PCIACCESS_LIBS
    957 DRI_CFLAGS
    958 DRI_LIBS
    959 DRI_MM_CFLAGS
    960 DRI_MM_LIBS
    961 XVMCLIB_CFLAGS
    962 XVMCLIB_LIBS'
    963 
    964 
    965 # Initialize some variables set by options.
    966 ac_init_help=
    967 ac_init_version=false
    968 # The variables have the same names as the options, with
    969 # dashes changed to underlines.
    970 cache_file=/dev/null
    971 exec_prefix=NONE
    972 no_create=
    973 no_recursion=
    974 prefix=NONE
    975 program_prefix=NONE
    976 program_suffix=NONE
    977 program_transform_name=s,x,x,
    978 silent=
    979 site=
    980 srcdir=
    981 verbose=
    982 x_includes=NONE
    983 x_libraries=NONE
    984 
    985 # Installation directory options.
    986 # These are left unexpanded so users can "make install exec_prefix=/foo"
    987 # and all the variables that are supposed to be based on exec_prefix
    988 # by default will actually change.
    989 # Use braces instead of parens because sh, perl, etc. also accept them.
    990 # (The list follows the same order as the GNU Coding Standards.)
    991 bindir='${exec_prefix}/bin'
    992 sbindir='${exec_prefix}/sbin'
    993 libexecdir='${exec_prefix}/libexec'
    994 datarootdir='${prefix}/share'
    995 datadir='${datarootdir}'
    996 sysconfdir='${prefix}/etc'
    997 sharedstatedir='${prefix}/com'
    998 localstatedir='${prefix}/var'
    999 includedir='${prefix}/include'
   1000 oldincludedir='/usr/include'
   1001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1002 infodir='${datarootdir}/info'
   1003 htmldir='${docdir}'
   1004 dvidir='${docdir}'
   1005 pdfdir='${docdir}'
   1006 psdir='${docdir}'
   1007 libdir='${exec_prefix}/lib'
   1008 localedir='${datarootdir}/locale'
   1009 mandir='${datarootdir}/man'
   1010 
   1011 ac_prev=
   1012 ac_dashdash=
   1013 for ac_option
   1014 do
   1015   # If the previous option needs an argument, assign it.
   1016   if test -n "$ac_prev"; then
   1017     eval $ac_prev=\$ac_option
   1018     ac_prev=
   1019     continue
   1020   fi
   1021 
   1022   case $ac_option in
   1023   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1024   *)	ac_optarg=yes ;;
   1025   esac
   1026 
   1027   # Accept the important Cygnus configure options, so we can diagnose typos.
   1028 
   1029   case $ac_dashdash$ac_option in
   1030   --)
   1031     ac_dashdash=yes ;;
   1032 
   1033   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1034     ac_prev=bindir ;;
   1035   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1036     bindir=$ac_optarg ;;
   1037 
   1038   -build | --build | --buil | --bui | --bu)
   1039     ac_prev=build_alias ;;
   1040   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1041     build_alias=$ac_optarg ;;
   1042 
   1043   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1044   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1045     ac_prev=cache_file ;;
   1046   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1047   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1048     cache_file=$ac_optarg ;;
   1049 
   1050   --config-cache | -C)
   1051     cache_file=config.cache ;;
   1052 
   1053   -datadir | --datadir | --datadi | --datad)
   1054     ac_prev=datadir ;;
   1055   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1056     datadir=$ac_optarg ;;
   1057 
   1058   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1059   | --dataroo | --dataro | --datar)
   1060     ac_prev=datarootdir ;;
   1061   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1062   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1063     datarootdir=$ac_optarg ;;
   1064 
   1065   -disable-* | --disable-*)
   1066     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1067     # Reject names that are not valid shell variable names.
   1068     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1069       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1070    { (exit 1); exit 1; }; }
   1071     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1072     eval enable_$ac_feature=no ;;
   1073 
   1074   -docdir | --docdir | --docdi | --doc | --do)
   1075     ac_prev=docdir ;;
   1076   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1077     docdir=$ac_optarg ;;
   1078 
   1079   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1080     ac_prev=dvidir ;;
   1081   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1082     dvidir=$ac_optarg ;;
   1083 
   1084   -enable-* | --enable-*)
   1085     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1086     # Reject names that are not valid shell variable names.
   1087     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1088       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1089    { (exit 1); exit 1; }; }
   1090     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1091     eval enable_$ac_feature=\$ac_optarg ;;
   1092 
   1093   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1094   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1095   | --exec | --exe | --ex)
   1096     ac_prev=exec_prefix ;;
   1097   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1098   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1099   | --exec=* | --exe=* | --ex=*)
   1100     exec_prefix=$ac_optarg ;;
   1101 
   1102   -gas | --gas | --ga | --g)
   1103     # Obsolete; use --with-gas.
   1104     with_gas=yes ;;
   1105 
   1106   -help | --help | --hel | --he | -h)
   1107     ac_init_help=long ;;
   1108   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1109     ac_init_help=recursive ;;
   1110   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1111     ac_init_help=short ;;
   1112 
   1113   -host | --host | --hos | --ho)
   1114     ac_prev=host_alias ;;
   1115   -host=* | --host=* | --hos=* | --ho=*)
   1116     host_alias=$ac_optarg ;;
   1117 
   1118   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1119     ac_prev=htmldir ;;
   1120   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1121   | --ht=*)
   1122     htmldir=$ac_optarg ;;
   1123 
   1124   -includedir | --includedir | --includedi | --included | --include \
   1125   | --includ | --inclu | --incl | --inc)
   1126     ac_prev=includedir ;;
   1127   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1128   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1129     includedir=$ac_optarg ;;
   1130 
   1131   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1132     ac_prev=infodir ;;
   1133   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1134     infodir=$ac_optarg ;;
   1135 
   1136   -libdir | --libdir | --libdi | --libd)
   1137     ac_prev=libdir ;;
   1138   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1139     libdir=$ac_optarg ;;
   1140 
   1141   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1142   | --libexe | --libex | --libe)
   1143     ac_prev=libexecdir ;;
   1144   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1145   | --libexe=* | --libex=* | --libe=*)
   1146     libexecdir=$ac_optarg ;;
   1147 
   1148   -localedir | --localedir | --localedi | --localed | --locale)
   1149     ac_prev=localedir ;;
   1150   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1151     localedir=$ac_optarg ;;
   1152 
   1153   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1154   | --localstate | --localstat | --localsta | --localst | --locals)
   1155     ac_prev=localstatedir ;;
   1156   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1157   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1158     localstatedir=$ac_optarg ;;
   1159 
   1160   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1161     ac_prev=mandir ;;
   1162   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1163     mandir=$ac_optarg ;;
   1164 
   1165   -nfp | --nfp | --nf)
   1166     # Obsolete; use --without-fp.
   1167     with_fp=no ;;
   1168 
   1169   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1170   | --no-cr | --no-c | -n)
   1171     no_create=yes ;;
   1172 
   1173   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1174   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1175     no_recursion=yes ;;
   1176 
   1177   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1178   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1179   | --oldin | --oldi | --old | --ol | --o)
   1180     ac_prev=oldincludedir ;;
   1181   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1182   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1183   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1184     oldincludedir=$ac_optarg ;;
   1185 
   1186   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1187     ac_prev=prefix ;;
   1188   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1189     prefix=$ac_optarg ;;
   1190 
   1191   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1192   | --program-pre | --program-pr | --program-p)
   1193     ac_prev=program_prefix ;;
   1194   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1195   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1196     program_prefix=$ac_optarg ;;
   1197 
   1198   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1199   | --program-suf | --program-su | --program-s)
   1200     ac_prev=program_suffix ;;
   1201   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1202   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1203     program_suffix=$ac_optarg ;;
   1204 
   1205   -program-transform-name | --program-transform-name \
   1206   | --program-transform-nam | --program-transform-na \
   1207   | --program-transform-n | --program-transform- \
   1208   | --program-transform | --program-transfor \
   1209   | --program-transfo | --program-transf \
   1210   | --program-trans | --program-tran \
   1211   | --progr-tra | --program-tr | --program-t)
   1212     ac_prev=program_transform_name ;;
   1213   -program-transform-name=* | --program-transform-name=* \
   1214   | --program-transform-nam=* | --program-transform-na=* \
   1215   | --program-transform-n=* | --program-transform-=* \
   1216   | --program-transform=* | --program-transfor=* \
   1217   | --program-transfo=* | --program-transf=* \
   1218   | --program-trans=* | --program-tran=* \
   1219   | --progr-tra=* | --program-tr=* | --program-t=*)
   1220     program_transform_name=$ac_optarg ;;
   1221 
   1222   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1223     ac_prev=pdfdir ;;
   1224   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1225     pdfdir=$ac_optarg ;;
   1226 
   1227   -psdir | --psdir | --psdi | --psd | --ps)
   1228     ac_prev=psdir ;;
   1229   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1230     psdir=$ac_optarg ;;
   1231 
   1232   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1233   | -silent | --silent | --silen | --sile | --sil)
   1234     silent=yes ;;
   1235 
   1236   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1237     ac_prev=sbindir ;;
   1238   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1239   | --sbi=* | --sb=*)
   1240     sbindir=$ac_optarg ;;
   1241 
   1242   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1243   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1244   | --sharedst | --shareds | --shared | --share | --shar \
   1245   | --sha | --sh)
   1246     ac_prev=sharedstatedir ;;
   1247   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1248   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1249   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1250   | --sha=* | --sh=*)
   1251     sharedstatedir=$ac_optarg ;;
   1252 
   1253   -site | --site | --sit)
   1254     ac_prev=site ;;
   1255   -site=* | --site=* | --sit=*)
   1256     site=$ac_optarg ;;
   1257 
   1258   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1259     ac_prev=srcdir ;;
   1260   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1261     srcdir=$ac_optarg ;;
   1262 
   1263   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1264   | --syscon | --sysco | --sysc | --sys | --sy)
   1265     ac_prev=sysconfdir ;;
   1266   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1267   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1268     sysconfdir=$ac_optarg ;;
   1269 
   1270   -target | --target | --targe | --targ | --tar | --ta | --t)
   1271     ac_prev=target_alias ;;
   1272   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1273     target_alias=$ac_optarg ;;
   1274 
   1275   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1276     verbose=yes ;;
   1277 
   1278   -version | --version | --versio | --versi | --vers | -V)
   1279     ac_init_version=: ;;
   1280 
   1281   -with-* | --with-*)
   1282     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1283     # Reject names that are not valid shell variable names.
   1284     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1285       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1286    { (exit 1); exit 1; }; }
   1287     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1288     eval with_$ac_package=\$ac_optarg ;;
   1289 
   1290   -without-* | --without-*)
   1291     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1292     # Reject names that are not valid shell variable names.
   1293     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1294       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1295    { (exit 1); exit 1; }; }
   1296     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1297     eval with_$ac_package=no ;;
   1298 
   1299   --x)
   1300     # Obsolete; use --with-x.
   1301     with_x=yes ;;
   1302 
   1303   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1304   | --x-incl | --x-inc | --x-in | --x-i)
   1305     ac_prev=x_includes ;;
   1306   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1307   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1308     x_includes=$ac_optarg ;;
   1309 
   1310   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1311   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1312     ac_prev=x_libraries ;;
   1313   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1314   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1315     x_libraries=$ac_optarg ;;
   1316 
   1317   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1318 Try \`$0 --help' for more information." >&2
   1319    { (exit 1); exit 1; }; }
   1320     ;;
   1321 
   1322   *=*)
   1323     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1324     # Reject names that are not valid shell variable names.
   1325     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1326       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1327    { (exit 1); exit 1; }; }
   1328     eval $ac_envvar=\$ac_optarg
   1329     export $ac_envvar ;;
   1330 
   1331   *)
   1332     # FIXME: should be removed in autoconf 3.0.
   1333     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1334     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1335       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1336     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1337     ;;
   1338 
   1339   esac
   1340 done
   1341 
   1342 if test -n "$ac_prev"; then
   1343   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1344   { echo "$as_me: error: missing argument to $ac_option" >&2
   1345    { (exit 1); exit 1; }; }
   1346 fi
   1347 
   1348 # Be sure to have absolute directory names.
   1349 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1350 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1351 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1352 		libdir localedir mandir
   1353 do
   1354   eval ac_val=\$$ac_var
   1355   case $ac_val in
   1356     [\\/$]* | ?:[\\/]* )  continue;;
   1357     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1358   esac
   1359   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1360    { (exit 1); exit 1; }; }
   1361 done
   1362 
   1363 # There might be people who depend on the old broken behavior: `$host'
   1364 # used to hold the argument of --host etc.
   1365 # FIXME: To remove some day.
   1366 build=$build_alias
   1367 host=$host_alias
   1368 target=$target_alias
   1369 
   1370 # FIXME: To remove some day.
   1371 if test "x$host_alias" != x; then
   1372   if test "x$build_alias" = x; then
   1373     cross_compiling=maybe
   1374     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1375     If a cross compiler is detected then cross compile mode will be used." >&2
   1376   elif test "x$build_alias" != "x$host_alias"; then
   1377     cross_compiling=yes
   1378   fi
   1379 fi
   1380 
   1381 ac_tool_prefix=
   1382 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1383 
   1384 test "$silent" = yes && exec 6>/dev/null
   1385 
   1386 
   1387 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1388 ac_ls_di=`ls -di .` &&
   1389 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1390   { echo "$as_me: error: Working directory cannot be determined" >&2
   1391    { (exit 1); exit 1; }; }
   1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1393   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1394    { (exit 1); exit 1; }; }
   1395 
   1396 
   1397 # Find the source files, if location was not specified.
   1398 if test -z "$srcdir"; then
   1399   ac_srcdir_defaulted=yes
   1400   # Try the directory containing this script, then the parent directory.
   1401   ac_confdir=`$as_dirname -- "$0" ||
   1402 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1403 	 X"$0" : 'X\(//\)[^/]' \| \
   1404 	 X"$0" : 'X\(//\)$' \| \
   1405 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1406 echo X"$0" |
   1407     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1408 	    s//\1/
   1409 	    q
   1410 	  }
   1411 	  /^X\(\/\/\)[^/].*/{
   1412 	    s//\1/
   1413 	    q
   1414 	  }
   1415 	  /^X\(\/\/\)$/{
   1416 	    s//\1/
   1417 	    q
   1418 	  }
   1419 	  /^X\(\/\).*/{
   1420 	    s//\1/
   1421 	    q
   1422 	  }
   1423 	  s/.*/./; q'`
   1424   srcdir=$ac_confdir
   1425   if test ! -r "$srcdir/$ac_unique_file"; then
   1426     srcdir=..
   1427   fi
   1428 else
   1429   ac_srcdir_defaulted=no
   1430 fi
   1431 if test ! -r "$srcdir/$ac_unique_file"; then
   1432   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1433   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1434    { (exit 1); exit 1; }; }
   1435 fi
   1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1437 ac_abs_confdir=`(
   1438 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1439    { (exit 1); exit 1; }; }
   1440 	pwd)`
   1441 # When building in place, set srcdir=.
   1442 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1443   srcdir=.
   1444 fi
   1445 # Remove unnecessary trailing slashes from srcdir.
   1446 # Double slashes in file names in object file debugging info
   1447 # mess up M-x gdb in Emacs.
   1448 case $srcdir in
   1449 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1450 esac
   1451 for ac_var in $ac_precious_vars; do
   1452   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1453   eval ac_env_${ac_var}_value=\$${ac_var}
   1454   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1455   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1456 done
   1457 
   1458 #
   1459 # Report the --help message.
   1460 #
   1461 if test "$ac_init_help" = "long"; then
   1462   # Omit some internal or obsolete options to make the list less imposing.
   1463   # This message is too long to be a string in the A/UX 3.1 sh.
   1464   cat <<_ACEOF
   1465 \`configure' configures xf86-video-intel 2.4.0 to adapt to many kinds of systems.
   1466 
   1467 Usage: $0 [OPTION]... [VAR=VALUE]...
   1468 
   1469 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1470 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1471 
   1472 Defaults for the options are specified in brackets.
   1473 
   1474 Configuration:
   1475   -h, --help              display this help and exit
   1476       --help=short        display options specific to this package
   1477       --help=recursive    display the short help of all the included packages
   1478   -V, --version           display version information and exit
   1479   -q, --quiet, --silent   do not print \`checking...' messages
   1480       --cache-file=FILE   cache test results in FILE [disabled]
   1481   -C, --config-cache      alias for \`--cache-file=config.cache'
   1482   -n, --no-create         do not create output files
   1483       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1484 
   1485 Installation directories:
   1486   --prefix=PREFIX         install architecture-independent files in PREFIX
   1487 			  [$ac_default_prefix]
   1488   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1489 			  [PREFIX]
   1490 
   1491 By default, \`make install' will install all the files in
   1492 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1493 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1494 for instance \`--prefix=\$HOME'.
   1495 
   1496 For better control, use the options below.
   1497 
   1498 Fine tuning of the installation directories:
   1499   --bindir=DIR           user executables [EPREFIX/bin]
   1500   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1501   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1502   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1503   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1504   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1505   --libdir=DIR           object code libraries [EPREFIX/lib]
   1506   --includedir=DIR       C header files [PREFIX/include]
   1507   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1508   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1509   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1510   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1511   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1512   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1513   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-intel]
   1514   --htmldir=DIR          html documentation [DOCDIR]
   1515   --dvidir=DIR           dvi documentation [DOCDIR]
   1516   --pdfdir=DIR           pdf documentation [DOCDIR]
   1517   --psdir=DIR            ps documentation [DOCDIR]
   1518 _ACEOF
   1519 
   1520   cat <<\_ACEOF
   1521 
   1522 Program names:
   1523   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1524   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1525   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1526 
   1527 System types:
   1528   --build=BUILD     configure for building on BUILD [guessed]
   1529   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1530 _ACEOF
   1531 fi
   1532 
   1533 if test -n "$ac_init_help"; then
   1534   case $ac_init_help in
   1535      short | recursive ) echo "Configuration of xf86-video-intel 2.4.0:";;
   1536    esac
   1537   cat <<\_ACEOF
   1538 
   1539 Optional Features:
   1540   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1541   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1542   --enable-maintainer-mode  enable make rules and dependencies not useful
   1543 			  (and sometimes confusing) to the casual installer
   1544   --enable-static[=PKGS]  build static libraries [default=no]
   1545   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1546   --enable-fast-install[=PKGS]
   1547                           optimize for fast installation [default=yes]
   1548   --disable-dependency-tracking  speeds up one-time build
   1549   --enable-dependency-tracking   do not reject slow dependency extractors
   1550   --disable-libtool-lock  avoid locking (might break parallel builds)
   1551   --disable-dri           Disable DRI support [default=auto]
   1552   --enable-video-debug    Enable video debugging support [default=no]
   1553   --disable-xvmc          Disable XvMC support [default=auto]
   1554 
   1555 Optional Packages:
   1556   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1557   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1558   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1559   --with-pic              try to use only PIC/non-PIC objects [default=use
   1560                           both]
   1561   --with-tags[=TAGS]      include additional configurations [automatic]
   1562   --with-xorg-module-dir=DIR
   1563                           Default xorg module directory
   1564                           [default=$libdir/xorg/modules]
   1565   --with-xserver-source=XSERVER_SOURCE
   1566                           Path to X server source tree
   1567   --with-release-version=STRING
   1568                           Use release version string in package name
   1569 
   1570 Some influential environment variables:
   1571   CC          C compiler command
   1572   CFLAGS      C compiler flags
   1573   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1574               nonstandard directory <lib dir>
   1575   LIBS        libraries to pass to the linker, e.g. -l<library>
   1576   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1577               you have headers in a nonstandard directory <include dir>
   1578   CPP         C preprocessor
   1579   CXX         C++ compiler command
   1580   CXXFLAGS    C++ compiler flags
   1581   CXXCPP      C++ preprocessor
   1582   F77         Fortran 77 compiler command
   1583   FFLAGS      Fortran 77 compiler flags
   1584   PKG_CONFIG  path to pkg-config utility
   1585   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1586   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1587   PCIACCESS_CFLAGS
   1588               C compiler flags for PCIACCESS, overriding pkg-config
   1589   PCIACCESS_LIBS
   1590               linker flags for PCIACCESS, overriding pkg-config
   1591   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1592   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1593   DRI_MM_CFLAGS
   1594               C compiler flags for DRI_MM, overriding pkg-config
   1595   DRI_MM_LIBS linker flags for DRI_MM, overriding pkg-config
   1596   XVMCLIB_CFLAGS
   1597               C compiler flags for XVMCLIB, overriding pkg-config
   1598   XVMCLIB_LIBS
   1599               linker flags for XVMCLIB, overriding pkg-config
   1600 
   1601 Use these variables to override the choices made by `configure' or to help
   1602 it to find libraries and programs with nonstandard names/locations.
   1603 
   1604 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1605 _ACEOF
   1606 ac_status=$?
   1607 fi
   1608 
   1609 if test "$ac_init_help" = "recursive"; then
   1610   # If there are subdirs, report their specific --help.
   1611   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1612     test -d "$ac_dir" || continue
   1613     ac_builddir=.
   1614 
   1615 case "$ac_dir" in
   1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1617 *)
   1618   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1619   # A ".." for each directory in $ac_dir_suffix.
   1620   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1621   case $ac_top_builddir_sub in
   1622   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1623   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1624   esac ;;
   1625 esac
   1626 ac_abs_top_builddir=$ac_pwd
   1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1628 # for backward compatibility:
   1629 ac_top_builddir=$ac_top_build_prefix
   1630 
   1631 case $srcdir in
   1632   .)  # We are building in place.
   1633     ac_srcdir=.
   1634     ac_top_srcdir=$ac_top_builddir_sub
   1635     ac_abs_top_srcdir=$ac_pwd ;;
   1636   [\\/]* | ?:[\\/]* )  # Absolute name.
   1637     ac_srcdir=$srcdir$ac_dir_suffix;
   1638     ac_top_srcdir=$srcdir
   1639     ac_abs_top_srcdir=$srcdir ;;
   1640   *) # Relative name.
   1641     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1642     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1643     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1644 esac
   1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1646 
   1647     cd "$ac_dir" || { ac_status=$?; continue; }
   1648     # Check for guested configure.
   1649     if test -f "$ac_srcdir/configure.gnu"; then
   1650       echo &&
   1651       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1652     elif test -f "$ac_srcdir/configure"; then
   1653       echo &&
   1654       $SHELL "$ac_srcdir/configure" --help=recursive
   1655     else
   1656       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1657     fi || ac_status=$?
   1658     cd "$ac_pwd" || { ac_status=$?; break; }
   1659   done
   1660 fi
   1661 
   1662 test -n "$ac_init_help" && exit $ac_status
   1663 if $ac_init_version; then
   1664   cat <<\_ACEOF
   1665 xf86-video-intel configure 2.4.0
   1666 generated by GNU Autoconf 2.61
   1667 
   1668 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1669 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1670 This configure script is free software; the Free Software Foundation
   1671 gives unlimited permission to copy, distribute and modify it.
   1672 _ACEOF
   1673   exit
   1674 fi
   1675 cat >config.log <<_ACEOF
   1676 This file contains any messages produced by compilers while
   1677 running configure, to aid debugging if configure makes a mistake.
   1678 
   1679 It was created by xf86-video-intel $as_me 2.4.0, which was
   1680 generated by GNU Autoconf 2.61.  Invocation command line was
   1681 
   1682   $ $0 $@
   1683 
   1684 _ACEOF
   1685 exec 5>>config.log
   1686 {
   1687 cat <<_ASUNAME
   1688 ## --------- ##
   1689 ## Platform. ##
   1690 ## --------- ##
   1691 
   1692 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1693 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1694 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1695 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1696 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1697 
   1698 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1699 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1700 
   1701 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1702 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1703 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1704 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1705 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1706 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1707 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1708 
   1709 _ASUNAME
   1710 
   1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1712 for as_dir in $PATH
   1713 do
   1714   IFS=$as_save_IFS
   1715   test -z "$as_dir" && as_dir=.
   1716   echo "PATH: $as_dir"
   1717 done
   1718 IFS=$as_save_IFS
   1719 
   1720 } >&5
   1721 
   1722 cat >&5 <<_ACEOF
   1723 
   1724 
   1725 ## ----------- ##
   1726 ## Core tests. ##
   1727 ## ----------- ##
   1728 
   1729 _ACEOF
   1730 
   1731 
   1732 # Keep a trace of the command line.
   1733 # Strip out --no-create and --no-recursion so they do not pile up.
   1734 # Strip out --silent because we don't want to record it for future runs.
   1735 # Also quote any args containing shell meta-characters.
   1736 # Make two passes to allow for proper duplicate-argument suppression.
   1737 ac_configure_args=
   1738 ac_configure_args0=
   1739 ac_configure_args1=
   1740 ac_must_keep_next=false
   1741 for ac_pass in 1 2
   1742 do
   1743   for ac_arg
   1744   do
   1745     case $ac_arg in
   1746     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1747     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1748     | -silent | --silent | --silen | --sile | --sil)
   1749       continue ;;
   1750     *\'*)
   1751       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1752     esac
   1753     case $ac_pass in
   1754     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1755     2)
   1756       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1757       if test $ac_must_keep_next = true; then
   1758 	ac_must_keep_next=false # Got value, back to normal.
   1759       else
   1760 	case $ac_arg in
   1761 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1762 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1763 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1764 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1765 	    case "$ac_configure_args0 " in
   1766 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1767 	    esac
   1768 	    ;;
   1769 	  -* ) ac_must_keep_next=true ;;
   1770 	esac
   1771       fi
   1772       ac_configure_args="$ac_configure_args '$ac_arg'"
   1773       ;;
   1774     esac
   1775   done
   1776 done
   1777 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1778 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1779 
   1780 # When interrupted or exit'd, cleanup temporary files, and complete
   1781 # config.log.  We remove comments because anyway the quotes in there
   1782 # would cause problems or look ugly.
   1783 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1784 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1785 trap 'exit_status=$?
   1786   # Save into config.log some information that might help in debugging.
   1787   {
   1788     echo
   1789 
   1790     cat <<\_ASBOX
   1791 ## ---------------- ##
   1792 ## Cache variables. ##
   1793 ## ---------------- ##
   1794 _ASBOX
   1795     echo
   1796     # The following way of writing the cache mishandles newlines in values,
   1797 (
   1798   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1799     eval ac_val=\$$ac_var
   1800     case $ac_val in #(
   1801     *${as_nl}*)
   1802       case $ac_var in #(
   1803       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1804 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1805       esac
   1806       case $ac_var in #(
   1807       _ | IFS | as_nl) ;; #(
   1808       *) $as_unset $ac_var ;;
   1809       esac ;;
   1810     esac
   1811   done
   1812   (set) 2>&1 |
   1813     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1814     *${as_nl}ac_space=\ *)
   1815       sed -n \
   1816 	"s/'\''/'\''\\\\'\'''\''/g;
   1817 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1818       ;; #(
   1819     *)
   1820       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1821       ;;
   1822     esac |
   1823     sort
   1824 )
   1825     echo
   1826 
   1827     cat <<\_ASBOX
   1828 ## ----------------- ##
   1829 ## Output variables. ##
   1830 ## ----------------- ##
   1831 _ASBOX
   1832     echo
   1833     for ac_var in $ac_subst_vars
   1834     do
   1835       eval ac_val=\$$ac_var
   1836       case $ac_val in
   1837       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1838       esac
   1839       echo "$ac_var='\''$ac_val'\''"
   1840     done | sort
   1841     echo
   1842 
   1843     if test -n "$ac_subst_files"; then
   1844       cat <<\_ASBOX
   1845 ## ------------------- ##
   1846 ## File substitutions. ##
   1847 ## ------------------- ##
   1848 _ASBOX
   1849       echo
   1850       for ac_var in $ac_subst_files
   1851       do
   1852 	eval ac_val=\$$ac_var
   1853 	case $ac_val in
   1854 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1855 	esac
   1856 	echo "$ac_var='\''$ac_val'\''"
   1857       done | sort
   1858       echo
   1859     fi
   1860 
   1861     if test -s confdefs.h; then
   1862       cat <<\_ASBOX
   1863 ## ----------- ##
   1864 ## confdefs.h. ##
   1865 ## ----------- ##
   1866 _ASBOX
   1867       echo
   1868       cat confdefs.h
   1869       echo
   1870     fi
   1871     test "$ac_signal" != 0 &&
   1872       echo "$as_me: caught signal $ac_signal"
   1873     echo "$as_me: exit $exit_status"
   1874   } >&5
   1875   rm -f core *.core core.conftest.* &&
   1876     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1877     exit $exit_status
   1878 ' 0
   1879 for ac_signal in 1 2 13 15; do
   1880   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1881 done
   1882 ac_signal=0
   1883 
   1884 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1885 rm -f -r conftest* confdefs.h
   1886 
   1887 # Predefined preprocessor variables.
   1888 
   1889 cat >>confdefs.h <<_ACEOF
   1890 #define PACKAGE_NAME "$PACKAGE_NAME"
   1891 _ACEOF
   1892 
   1893 
   1894 cat >>confdefs.h <<_ACEOF
   1895 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1896 _ACEOF
   1897 
   1898 
   1899 cat >>confdefs.h <<_ACEOF
   1900 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1901 _ACEOF
   1902 
   1903 
   1904 cat >>confdefs.h <<_ACEOF
   1905 #define PACKAGE_STRING "$PACKAGE_STRING"
   1906 _ACEOF
   1907 
   1908 
   1909 cat >>confdefs.h <<_ACEOF
   1910 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1911 _ACEOF
   1912 
   1913 
   1914 # Let the site file select an alternate cache file if it wants to.
   1915 # Prefer explicitly selected file to automatically selected ones.
   1916 if test -n "$CONFIG_SITE"; then
   1917   set x "$CONFIG_SITE"
   1918 elif test "x$prefix" != xNONE; then
   1919   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1920 else
   1921   set x "$ac_default_prefix/share/config.site" \
   1922 	"$ac_default_prefix/etc/config.site"
   1923 fi
   1924 shift
   1925 for ac_site_file
   1926 do
   1927   if test -r "$ac_site_file"; then
   1928     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1929 echo "$as_me: loading site script $ac_site_file" >&6;}
   1930     sed 's/^/| /' "$ac_site_file" >&5
   1931     . "$ac_site_file"
   1932   fi
   1933 done
   1934 
   1935 if test -r "$cache_file"; then
   1936   # Some versions of bash will fail to source /dev/null (special
   1937   # files actually), so we avoid doing that.
   1938   if test -f "$cache_file"; then
   1939     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1940 echo "$as_me: loading cache $cache_file" >&6;}
   1941     case $cache_file in
   1942       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1943       *)                      . "./$cache_file";;
   1944     esac
   1945   fi
   1946 else
   1947   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1948 echo "$as_me: creating cache $cache_file" >&6;}
   1949   >$cache_file
   1950 fi
   1951 
   1952 # Check that the precious variables saved in the cache have kept the same
   1953 # value.
   1954 ac_cache_corrupted=false
   1955 for ac_var in $ac_precious_vars; do
   1956   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1957   eval ac_new_set=\$ac_env_${ac_var}_set
   1958   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1959   eval ac_new_val=\$ac_env_${ac_var}_value
   1960   case $ac_old_set,$ac_new_set in
   1961     set,)
   1962       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1963 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1964       ac_cache_corrupted=: ;;
   1965     ,set)
   1966       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1967 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1968       ac_cache_corrupted=: ;;
   1969     ,);;
   1970     *)
   1971       if test "x$ac_old_val" != "x$ac_new_val"; then
   1972 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1973 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1974 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1975 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1976 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1977 echo "$as_me:   current value: $ac_new_val" >&2;}
   1978 	ac_cache_corrupted=:
   1979       fi;;
   1980   esac
   1981   # Pass precious variables to config.status.
   1982   if test "$ac_new_set" = set; then
   1983     case $ac_new_val in
   1984     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1985     *) ac_arg=$ac_var=$ac_new_val ;;
   1986     esac
   1987     case " $ac_configure_args " in
   1988       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1989       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1990     esac
   1991   fi
   1992 done
   1993 if $ac_cache_corrupted; then
   1994   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1995 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1996   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1997 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1998    { (exit 1); exit 1; }; }
   1999 fi
   2000 
   2001 
   2002 
   2003 
   2004 
   2005 
   2006 
   2007 
   2008 
   2009 
   2010 
   2011 
   2012 
   2013 
   2014 
   2015 
   2016 
   2017 
   2018 
   2019 
   2020 
   2021 
   2022 
   2023 
   2024 
   2025 ac_ext=c
   2026 ac_cpp='$CPP $CPPFLAGS'
   2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2030 
   2031 
   2032 
   2033 
   2034 ac_config_headers="$ac_config_headers config.h"
   2035 
   2036 ac_aux_dir=
   2037 for ac_dir in . "$srcdir"/.; do
   2038   if test -f "$ac_dir/install-sh"; then
   2039     ac_aux_dir=$ac_dir
   2040     ac_install_sh="$ac_aux_dir/install-sh -c"
   2041     break
   2042   elif test -f "$ac_dir/install.sh"; then
   2043     ac_aux_dir=$ac_dir
   2044     ac_install_sh="$ac_aux_dir/install.sh -c"
   2045     break
   2046   elif test -f "$ac_dir/shtool"; then
   2047     ac_aux_dir=$ac_dir
   2048     ac_install_sh="$ac_aux_dir/shtool install -c"
   2049     break
   2050   fi
   2051 done
   2052 if test -z "$ac_aux_dir"; then
   2053   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2054 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2055    { (exit 1); exit 1; }; }
   2056 fi
   2057 
   2058 # These three variables are undocumented and unsupported,
   2059 # and are intended to be withdrawn in a future Autoconf release.
   2060 # They can cause serious problems if a builder's source tree is in a directory
   2061 # whose full name contains unusual characters.
   2062 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2063 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2064 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2065 
   2066 
   2067 
   2068 am__api_version='1.10'
   2069 
   2070 # Find a good install program.  We prefer a C program (faster),
   2071 # so one script is as good as another.  But avoid the broken or
   2072 # incompatible versions:
   2073 # SysV /etc/install, /usr/sbin/install
   2074 # SunOS /usr/etc/install
   2075 # IRIX /sbin/install
   2076 # AIX /bin/install
   2077 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2078 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2079 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2080 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2081 # OS/2's system install, which has a completely different semantic
   2082 # ./install, which can be erroneously created by make from ./install.sh.
   2083 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2084 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2085 if test -z "$INSTALL"; then
   2086 if test "${ac_cv_path_install+set}" = set; then
   2087   echo $ECHO_N "(cached) $ECHO_C" >&6
   2088 else
   2089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2090 for as_dir in $PATH
   2091 do
   2092   IFS=$as_save_IFS
   2093   test -z "$as_dir" && as_dir=.
   2094   # Account for people who put trailing slashes in PATH elements.
   2095 case $as_dir/ in
   2096   ./ | .// | /cC/* | \
   2097   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2098   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2099   /usr/ucb/* ) ;;
   2100   *)
   2101     # OSF1 and SCO ODT 3.0 have their own names for install.
   2102     # Don't use installbsd from OSF since it installs stuff as root
   2103     # by default.
   2104     for ac_prog in ginstall scoinst install; do
   2105       for ac_exec_ext in '' $ac_executable_extensions; do
   2106 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2107 	  if test $ac_prog = install &&
   2108 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2109 	    # AIX install.  It has an incompatible calling convention.
   2110 	    :
   2111 	  elif test $ac_prog = install &&
   2112 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2113 	    # program-specific install script used by HP pwplus--don't use.
   2114 	    :
   2115 	  else
   2116 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2117 	    break 3
   2118 	  fi
   2119 	fi
   2120       done
   2121     done
   2122     ;;
   2123 esac
   2124 done
   2125 IFS=$as_save_IFS
   2126 
   2127 
   2128 fi
   2129   if test "${ac_cv_path_install+set}" = set; then
   2130     INSTALL=$ac_cv_path_install
   2131   else
   2132     # As a last resort, use the slow shell script.  Don't cache a
   2133     # value for INSTALL within a source directory, because that will
   2134     # break other packages using the cache if that directory is
   2135     # removed, or if the value is a relative name.
   2136     INSTALL=$ac_install_sh
   2137   fi
   2138 fi
   2139 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2140 echo "${ECHO_T}$INSTALL" >&6; }
   2141 
   2142 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2143 # It thinks the first close brace ends the variable substitution.
   2144 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2145 
   2146 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2147 
   2148 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2149 
   2150 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2151 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2152 # Just in case
   2153 sleep 1
   2154 echo timestamp > conftest.file
   2155 # Do `set' in a subshell so we don't clobber the current shell's
   2156 # arguments.  Must try -L first in case configure is actually a
   2157 # symlink; some systems play weird games with the mod time of symlinks
   2158 # (eg FreeBSD returns the mod time of the symlink's containing
   2159 # directory).
   2160 if (
   2161    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2162    if test "$*" = "X"; then
   2163       # -L didn't work.
   2164       set X `ls -t $srcdir/configure conftest.file`
   2165    fi
   2166    rm -f conftest.file
   2167    if test "$*" != "X $srcdir/configure conftest.file" \
   2168       && test "$*" != "X conftest.file $srcdir/configure"; then
   2169 
   2170       # If neither matched, then we have a broken ls.  This can happen
   2171       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2172       # broken ls alias from the environment.  This has actually
   2173       # happened.  Such a system could not be considered "sane".
   2174       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2175 alias in your environment" >&5
   2176 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2177 alias in your environment" >&2;}
   2178    { (exit 1); exit 1; }; }
   2179    fi
   2180 
   2181    test "$2" = conftest.file
   2182    )
   2183 then
   2184    # Ok.
   2185    :
   2186 else
   2187    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2188 Check your system clock" >&5
   2189 echo "$as_me: error: newly created file is older than distributed files!
   2190 Check your system clock" >&2;}
   2191    { (exit 1); exit 1; }; }
   2192 fi
   2193 { echo "$as_me:$LINENO: result: yes" >&5
   2194 echo "${ECHO_T}yes" >&6; }
   2195 test "$program_prefix" != NONE &&
   2196   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2197 # Use a double $ so make ignores it.
   2198 test "$program_suffix" != NONE &&
   2199   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2200 # Double any \ or $.  echo might interpret backslashes.
   2201 # By default was `s,x,x', remove it if useless.
   2202 cat <<\_ACEOF >conftest.sed
   2203 s/[\\$]/&&/g;s/;s,x,x,$//
   2204 _ACEOF
   2205 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2206 rm -f conftest.sed
   2207 
   2208 # expand $ac_aux_dir to an absolute path
   2209 am_aux_dir=`cd $ac_aux_dir && pwd`
   2210 
   2211 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2212 # Use eval to expand $SHELL
   2213 if eval "$MISSING --run true"; then
   2214   am_missing_run="$MISSING --run "
   2215 else
   2216   am_missing_run=
   2217   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2218 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2219 fi
   2220 
   2221 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2222 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2223 if test -z "$MKDIR_P"; then
   2224   if test "${ac_cv_path_mkdir+set}" = set; then
   2225   echo $ECHO_N "(cached) $ECHO_C" >&6
   2226 else
   2227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2228 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2229 do
   2230   IFS=$as_save_IFS
   2231   test -z "$as_dir" && as_dir=.
   2232   for ac_prog in mkdir gmkdir; do
   2233 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2234 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2235 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2236 	     'mkdir (GNU coreutils) '* | \
   2237 	     'mkdir (coreutils) '* | \
   2238 	     'mkdir (fileutils) '4.1*)
   2239 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2240 	       break 3;;
   2241 	   esac
   2242 	 done
   2243        done
   2244 done
   2245 IFS=$as_save_IFS
   2246 
   2247 fi
   2248 
   2249   if test "${ac_cv_path_mkdir+set}" = set; then
   2250     MKDIR_P="$ac_cv_path_mkdir -p"
   2251   else
   2252     # As a last resort, use the slow shell script.  Don't cache a
   2253     # value for MKDIR_P within a source directory, because that will
   2254     # break other packages using the cache if that directory is
   2255     # removed, or if the value is a relative name.
   2256     test -d ./--version && rmdir ./--version
   2257     MKDIR_P="$ac_install_sh -d"
   2258   fi
   2259 fi
   2260 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2261 echo "${ECHO_T}$MKDIR_P" >&6; }
   2262 
   2263 mkdir_p="$MKDIR_P"
   2264 case $mkdir_p in
   2265   [\\/$]* | ?:[\\/]*) ;;
   2266   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2267 esac
   2268 
   2269 for ac_prog in gawk mawk nawk awk
   2270 do
   2271   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2272 set dummy $ac_prog; ac_word=$2
   2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2275 if test "${ac_cv_prog_AWK+set}" = set; then
   2276   echo $ECHO_N "(cached) $ECHO_C" >&6
   2277 else
   2278   if test -n "$AWK"; then
   2279   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2280 else
   2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2282 for as_dir in $PATH
   2283 do
   2284   IFS=$as_save_IFS
   2285   test -z "$as_dir" && as_dir=.
   2286   for ac_exec_ext in '' $ac_executable_extensions; do
   2287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2288     ac_cv_prog_AWK="$ac_prog"
   2289     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2290     break 2
   2291   fi
   2292 done
   2293 done
   2294 IFS=$as_save_IFS
   2295 
   2296 fi
   2297 fi
   2298 AWK=$ac_cv_prog_AWK
   2299 if test -n "$AWK"; then
   2300   { echo "$as_me:$LINENO: result: $AWK" >&5
   2301 echo "${ECHO_T}$AWK" >&6; }
   2302 else
   2303   { echo "$as_me:$LINENO: result: no" >&5
   2304 echo "${ECHO_T}no" >&6; }
   2305 fi
   2306 
   2307 
   2308   test -n "$AWK" && break
   2309 done
   2310 
   2311 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2312 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2313 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2314 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2315   echo $ECHO_N "(cached) $ECHO_C" >&6
   2316 else
   2317   cat >conftest.make <<\_ACEOF
   2318 SHELL = /bin/sh
   2319 all:
   2320 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2321 _ACEOF
   2322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2323 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2324   *@@@%%%=?*=@@@%%%*)
   2325     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2326   *)
   2327     eval ac_cv_prog_make_${ac_make}_set=no;;
   2328 esac
   2329 rm -f conftest.make
   2330 fi
   2331 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2332   { echo "$as_me:$LINENO: result: yes" >&5
   2333 echo "${ECHO_T}yes" >&6; }
   2334   SET_MAKE=
   2335 else
   2336   { echo "$as_me:$LINENO: result: no" >&5
   2337 echo "${ECHO_T}no" >&6; }
   2338   SET_MAKE="MAKE=${MAKE-make}"
   2339 fi
   2340 
   2341 rm -rf .tst 2>/dev/null
   2342 mkdir .tst 2>/dev/null
   2343 if test -d .tst; then
   2344   am__leading_dot=.
   2345 else
   2346   am__leading_dot=_
   2347 fi
   2348 rmdir .tst 2>/dev/null
   2349 
   2350 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2351   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2352   # is not polluted with repeated "-I."
   2353   am__isrc=' -I$(srcdir)'
   2354   # test to see if srcdir already configured
   2355   if test -f $srcdir/config.status; then
   2356     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2357 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2358    { (exit 1); exit 1; }; }
   2359   fi
   2360 fi
   2361 
   2362 # test whether we have cygpath
   2363 if test -z "$CYGPATH_W"; then
   2364   if (cygpath --version) >/dev/null 2>/dev/null; then
   2365     CYGPATH_W='cygpath -w'
   2366   else
   2367     CYGPATH_W=echo
   2368   fi
   2369 fi
   2370 
   2371 
   2372 # Define the identity of the package.
   2373  PACKAGE='xf86-video-intel'
   2374  VERSION='2.4.0'
   2375 
   2376 
   2377 cat >>confdefs.h <<_ACEOF
   2378 #define PACKAGE "$PACKAGE"
   2379 _ACEOF
   2380 
   2381 
   2382 cat >>confdefs.h <<_ACEOF
   2383 #define VERSION "$VERSION"
   2384 _ACEOF
   2385 
   2386 # Some tools Automake needs.
   2387 
   2388 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2389 
   2390 
   2391 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2392 
   2393 
   2394 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2395 
   2396 
   2397 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2398 
   2399 
   2400 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2401 
   2402 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2403 
   2404 # Installed binaries are usually stripped using `strip' when the user
   2405 # run `make install-strip'.  However `strip' might not be the right
   2406 # tool to use in cross-compilation environments, therefore Automake
   2407 # will honor the `STRIP' environment variable to overrule this program.
   2408 if test "$cross_compiling" != no; then
   2409   if test -n "$ac_tool_prefix"; then
   2410   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2411 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2414 if test "${ac_cv_prog_STRIP+set}" = set; then
   2415   echo $ECHO_N "(cached) $ECHO_C" >&6
   2416 else
   2417   if test -n "$STRIP"; then
   2418   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2419 else
   2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2421 for as_dir in $PATH
   2422 do
   2423   IFS=$as_save_IFS
   2424   test -z "$as_dir" && as_dir=.
   2425   for ac_exec_ext in '' $ac_executable_extensions; do
   2426   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2427     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2428     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2429     break 2
   2430   fi
   2431 done
   2432 done
   2433 IFS=$as_save_IFS
   2434 
   2435 fi
   2436 fi
   2437 STRIP=$ac_cv_prog_STRIP
   2438 if test -n "$STRIP"; then
   2439   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2440 echo "${ECHO_T}$STRIP" >&6; }
   2441 else
   2442   { echo "$as_me:$LINENO: result: no" >&5
   2443 echo "${ECHO_T}no" >&6; }
   2444 fi
   2445 
   2446 
   2447 fi
   2448 if test -z "$ac_cv_prog_STRIP"; then
   2449   ac_ct_STRIP=$STRIP
   2450   # Extract the first word of "strip", so it can be a program name with args.
   2451 set dummy strip; ac_word=$2
   2452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2454 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2455   echo $ECHO_N "(cached) $ECHO_C" >&6
   2456 else
   2457   if test -n "$ac_ct_STRIP"; then
   2458   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2459 else
   2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2461 for as_dir in $PATH
   2462 do
   2463   IFS=$as_save_IFS
   2464   test -z "$as_dir" && as_dir=.
   2465   for ac_exec_ext in '' $ac_executable_extensions; do
   2466   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2467     ac_cv_prog_ac_ct_STRIP="strip"
   2468     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2469     break 2
   2470   fi
   2471 done
   2472 done
   2473 IFS=$as_save_IFS
   2474 
   2475 fi
   2476 fi
   2477 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2478 if test -n "$ac_ct_STRIP"; then
   2479   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2480 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2481 else
   2482   { echo "$as_me:$LINENO: result: no" >&5
   2483 echo "${ECHO_T}no" >&6; }
   2484 fi
   2485 
   2486   if test "x$ac_ct_STRIP" = x; then
   2487     STRIP=":"
   2488   else
   2489     case $cross_compiling:$ac_tool_warned in
   2490 yes:)
   2491 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2492 whose name does not start with the host triplet.  If you think this
   2493 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2494 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2495 whose name does not start with the host triplet.  If you think this
   2496 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2497 ac_tool_warned=yes ;;
   2498 esac
   2499     STRIP=$ac_ct_STRIP
   2500   fi
   2501 else
   2502   STRIP="$ac_cv_prog_STRIP"
   2503 fi
   2504 
   2505 fi
   2506 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2507 
   2508 # We need awk for the "check" target.  The system "awk" is bad on
   2509 # some platforms.
   2510 # Always define AMTAR for backward compatibility.
   2511 
   2512 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2513 
   2514 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2515 
   2516 
   2517 
   2518 
   2519 
   2520 
   2521 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2522 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2523     # Check whether --enable-maintainer-mode was given.
   2524 if test "${enable_maintainer_mode+set}" = set; then
   2525   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2526 else
   2527   USE_MAINTAINER_MODE=no
   2528 fi
   2529 
   2530   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2531 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2532    if test $USE_MAINTAINER_MODE = yes; then
   2533   MAINTAINER_MODE_TRUE=
   2534   MAINTAINER_MODE_FALSE='#'
   2535 else
   2536   MAINTAINER_MODE_TRUE='#'
   2537   MAINTAINER_MODE_FALSE=
   2538 fi
   2539 
   2540   MAINT=$MAINTAINER_MODE_TRUE
   2541 
   2542 
   2543 
   2544 # Checks for programs.
   2545 # Check whether --enable-static was given.
   2546 if test "${enable_static+set}" = set; then
   2547   enableval=$enable_static; p=${PACKAGE-default}
   2548     case $enableval in
   2549     yes) enable_static=yes ;;
   2550     no) enable_static=no ;;
   2551     *)
   2552      enable_static=no
   2553       # Look at the argument we got.  We use all the common list separators.
   2554       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2555       for pkg in $enableval; do
   2556 	IFS="$lt_save_ifs"
   2557 	if test "X$pkg" = "X$p"; then
   2558 	  enable_static=yes
   2559 	fi
   2560       done
   2561       IFS="$lt_save_ifs"
   2562       ;;
   2563     esac
   2564 else
   2565   enable_static=no
   2566 fi
   2567 
   2568 
   2569 
   2570 # Check whether --enable-shared was given.
   2571 if test "${enable_shared+set}" = set; then
   2572   enableval=$enable_shared; p=${PACKAGE-default}
   2573     case $enableval in
   2574     yes) enable_shared=yes ;;
   2575     no) enable_shared=no ;;
   2576     *)
   2577       enable_shared=no
   2578       # Look at the argument we got.  We use all the common list separators.
   2579       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2580       for pkg in $enableval; do
   2581 	IFS="$lt_save_ifs"
   2582 	if test "X$pkg" = "X$p"; then
   2583 	  enable_shared=yes
   2584 	fi
   2585       done
   2586       IFS="$lt_save_ifs"
   2587       ;;
   2588     esac
   2589 else
   2590   enable_shared=yes
   2591 fi
   2592 
   2593 
   2594 # Check whether --enable-fast-install was given.
   2595 if test "${enable_fast_install+set}" = set; then
   2596   enableval=$enable_fast_install; p=${PACKAGE-default}
   2597     case $enableval in
   2598     yes) enable_fast_install=yes ;;
   2599     no) enable_fast_install=no ;;
   2600     *)
   2601       enable_fast_install=no
   2602       # Look at the argument we got.  We use all the common list separators.
   2603       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2604       for pkg in $enableval; do
   2605 	IFS="$lt_save_ifs"
   2606 	if test "X$pkg" = "X$p"; then
   2607 	  enable_fast_install=yes
   2608 	fi
   2609       done
   2610       IFS="$lt_save_ifs"
   2611       ;;
   2612     esac
   2613 else
   2614   enable_fast_install=yes
   2615 fi
   2616 
   2617 
   2618 # Make sure we can run config.sub.
   2619 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2620   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2621 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2622    { (exit 1); exit 1; }; }
   2623 
   2624 { echo "$as_me:$LINENO: checking build system type" >&5
   2625 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2626 if test "${ac_cv_build+set}" = set; then
   2627   echo $ECHO_N "(cached) $ECHO_C" >&6
   2628 else
   2629   ac_build_alias=$build_alias
   2630 test "x$ac_build_alias" = x &&
   2631   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2632 test "x$ac_build_alias" = x &&
   2633   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2634 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2635    { (exit 1); exit 1; }; }
   2636 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2637   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2638 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2639    { (exit 1); exit 1; }; }
   2640 
   2641 fi
   2642 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2643 echo "${ECHO_T}$ac_cv_build" >&6; }
   2644 case $ac_cv_build in
   2645 *-*-*) ;;
   2646 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2647 echo "$as_me: error: invalid value of canonical build" >&2;}
   2648    { (exit 1); exit 1; }; };;
   2649 esac
   2650 build=$ac_cv_build
   2651 ac_save_IFS=$IFS; IFS='-'
   2652 set x $ac_cv_build
   2653 shift
   2654 build_cpu=$1
   2655 build_vendor=$2
   2656 shift; shift
   2657 # Remember, the first character of IFS is used to create $*,
   2658 # except with old shells:
   2659 build_os=$*
   2660 IFS=$ac_save_IFS
   2661 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2662 
   2663 
   2664 { echo "$as_me:$LINENO: checking host system type" >&5
   2665 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2666 if test "${ac_cv_host+set}" = set; then
   2667   echo $ECHO_N "(cached) $ECHO_C" >&6
   2668 else
   2669   if test "x$host_alias" = x; then
   2670   ac_cv_host=$ac_cv_build
   2671 else
   2672   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2673     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2674 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2675    { (exit 1); exit 1; }; }
   2676 fi
   2677 
   2678 fi
   2679 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2680 echo "${ECHO_T}$ac_cv_host" >&6; }
   2681 case $ac_cv_host in
   2682 *-*-*) ;;
   2683 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2684 echo "$as_me: error: invalid value of canonical host" >&2;}
   2685    { (exit 1); exit 1; }; };;
   2686 esac
   2687 host=$ac_cv_host
   2688 ac_save_IFS=$IFS; IFS='-'
   2689 set x $ac_cv_host
   2690 shift
   2691 host_cpu=$1
   2692 host_vendor=$2
   2693 shift; shift
   2694 # Remember, the first character of IFS is used to create $*,
   2695 # except with old shells:
   2696 host_os=$*
   2697 IFS=$ac_save_IFS
   2698 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2699 
   2700 
   2701 DEPDIR="${am__leading_dot}deps"
   2702 
   2703 ac_config_commands="$ac_config_commands depfiles"
   2704 
   2705 
   2706 am_make=${MAKE-make}
   2707 cat > confinc << 'END'
   2708 am__doit:
   2709 	@echo done
   2710 .PHONY: am__doit
   2711 END
   2712 # If we don't find an include directive, just comment out the code.
   2713 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2714 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2715 am__include="#"
   2716 am__quote=
   2717 _am_result=none
   2718 # First try GNU make style include.
   2719 echo "include confinc" > confmf
   2720 # We grep out `Entering directory' and `Leaving directory'
   2721 # messages which can occur if `w' ends up in MAKEFLAGS.
   2722 # In particular we don't look at `^make:' because GNU make might
   2723 # be invoked under some other name (usually "gmake"), in which
   2724 # case it prints its new name instead of `make'.
   2725 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2726    am__include=include
   2727    am__quote=
   2728    _am_result=GNU
   2729 fi
   2730 # Now try BSD make style include.
   2731 if test "$am__include" = "#"; then
   2732    echo '.include "confinc"' > confmf
   2733    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2734       am__include=.include
   2735       am__quote="\""
   2736       _am_result=BSD
   2737    fi
   2738 fi
   2739 
   2740 
   2741 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2742 echo "${ECHO_T}$_am_result" >&6; }
   2743 rm -f confinc confmf
   2744 
   2745 # Check whether --enable-dependency-tracking was given.
   2746 if test "${enable_dependency_tracking+set}" = set; then
   2747   enableval=$enable_dependency_tracking;
   2748 fi
   2749 
   2750 if test "x$enable_dependency_tracking" != xno; then
   2751   am_depcomp="$ac_aux_dir/depcomp"
   2752   AMDEPBACKSLASH='\'
   2753 fi
   2754  if test "x$enable_dependency_tracking" != xno; then
   2755   AMDEP_TRUE=
   2756   AMDEP_FALSE='#'
   2757 else
   2758   AMDEP_TRUE='#'
   2759   AMDEP_FALSE=
   2760 fi
   2761 
   2762 
   2763 ac_ext=c
   2764 ac_cpp='$CPP $CPPFLAGS'
   2765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2768 if test -n "$ac_tool_prefix"; then
   2769   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2770 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2773 if test "${ac_cv_prog_CC+set}" = set; then
   2774   echo $ECHO_N "(cached) $ECHO_C" >&6
   2775 else
   2776   if test -n "$CC"; then
   2777   ac_cv_prog_CC="$CC" # Let the user override the test.
   2778 else
   2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2780 for as_dir in $PATH
   2781 do
   2782   IFS=$as_save_IFS
   2783   test -z "$as_dir" && as_dir=.
   2784   for ac_exec_ext in '' $ac_executable_extensions; do
   2785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2786     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2787     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2788     break 2
   2789   fi
   2790 done
   2791 done
   2792 IFS=$as_save_IFS
   2793 
   2794 fi
   2795 fi
   2796 CC=$ac_cv_prog_CC
   2797 if test -n "$CC"; then
   2798   { echo "$as_me:$LINENO: result: $CC" >&5
   2799 echo "${ECHO_T}$CC" >&6; }
   2800 else
   2801   { echo "$as_me:$LINENO: result: no" >&5
   2802 echo "${ECHO_T}no" >&6; }
   2803 fi
   2804 
   2805 
   2806 fi
   2807 if test -z "$ac_cv_prog_CC"; then
   2808   ac_ct_CC=$CC
   2809   # Extract the first word of "gcc", so it can be a program name with args.
   2810 set dummy gcc; ac_word=$2
   2811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2814   echo $ECHO_N "(cached) $ECHO_C" >&6
   2815 else
   2816   if test -n "$ac_ct_CC"; then
   2817   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2818 else
   2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2820 for as_dir in $PATH
   2821 do
   2822   IFS=$as_save_IFS
   2823   test -z "$as_dir" && as_dir=.
   2824   for ac_exec_ext in '' $ac_executable_extensions; do
   2825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2826     ac_cv_prog_ac_ct_CC="gcc"
   2827     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2828     break 2
   2829   fi
   2830 done
   2831 done
   2832 IFS=$as_save_IFS
   2833 
   2834 fi
   2835 fi
   2836 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2837 if test -n "$ac_ct_CC"; then
   2838   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2839 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2840 else
   2841   { echo "$as_me:$LINENO: result: no" >&5
   2842 echo "${ECHO_T}no" >&6; }
   2843 fi
   2844 
   2845   if test "x$ac_ct_CC" = x; then
   2846     CC=""
   2847   else
   2848     case $cross_compiling:$ac_tool_warned in
   2849 yes:)
   2850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2851 whose name does not start with the host triplet.  If you think this
   2852 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2854 whose name does not start with the host triplet.  If you think this
   2855 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2856 ac_tool_warned=yes ;;
   2857 esac
   2858     CC=$ac_ct_CC
   2859   fi
   2860 else
   2861   CC="$ac_cv_prog_CC"
   2862 fi
   2863 
   2864 if test -z "$CC"; then
   2865           if test -n "$ac_tool_prefix"; then
   2866     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2867 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2870 if test "${ac_cv_prog_CC+set}" = set; then
   2871   echo $ECHO_N "(cached) $ECHO_C" >&6
   2872 else
   2873   if test -n "$CC"; then
   2874   ac_cv_prog_CC="$CC" # Let the user override the test.
   2875 else
   2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2877 for as_dir in $PATH
   2878 do
   2879   IFS=$as_save_IFS
   2880   test -z "$as_dir" && as_dir=.
   2881   for ac_exec_ext in '' $ac_executable_extensions; do
   2882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2883     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2885     break 2
   2886   fi
   2887 done
   2888 done
   2889 IFS=$as_save_IFS
   2890 
   2891 fi
   2892 fi
   2893 CC=$ac_cv_prog_CC
   2894 if test -n "$CC"; then
   2895   { echo "$as_me:$LINENO: result: $CC" >&5
   2896 echo "${ECHO_T}$CC" >&6; }
   2897 else
   2898   { echo "$as_me:$LINENO: result: no" >&5
   2899 echo "${ECHO_T}no" >&6; }
   2900 fi
   2901 
   2902 
   2903   fi
   2904 fi
   2905 if test -z "$CC"; then
   2906   # Extract the first word of "cc", so it can be a program name with args.
   2907 set dummy cc; ac_word=$2
   2908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2910 if test "${ac_cv_prog_CC+set}" = set; then
   2911   echo $ECHO_N "(cached) $ECHO_C" >&6
   2912 else
   2913   if test -n "$CC"; then
   2914   ac_cv_prog_CC="$CC" # Let the user override the test.
   2915 else
   2916   ac_prog_rejected=no
   2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2918 for as_dir in $PATH
   2919 do
   2920   IFS=$as_save_IFS
   2921   test -z "$as_dir" && as_dir=.
   2922   for ac_exec_ext in '' $ac_executable_extensions; do
   2923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2924     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2925        ac_prog_rejected=yes
   2926        continue
   2927      fi
   2928     ac_cv_prog_CC="cc"
   2929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2930     break 2
   2931   fi
   2932 done
   2933 done
   2934 IFS=$as_save_IFS
   2935 
   2936 if test $ac_prog_rejected = yes; then
   2937   # We found a bogon in the path, so make sure we never use it.
   2938   set dummy $ac_cv_prog_CC
   2939   shift
   2940   if test $# != 0; then
   2941     # We chose a different compiler from the bogus one.
   2942     # However, it has the same basename, so the bogon will be chosen
   2943     # first if we set CC to just the basename; use the full file name.
   2944     shift
   2945     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2946   fi
   2947 fi
   2948 fi
   2949 fi
   2950 CC=$ac_cv_prog_CC
   2951 if test -n "$CC"; then
   2952   { echo "$as_me:$LINENO: result: $CC" >&5
   2953 echo "${ECHO_T}$CC" >&6; }
   2954 else
   2955   { echo "$as_me:$LINENO: result: no" >&5
   2956 echo "${ECHO_T}no" >&6; }
   2957 fi
   2958 
   2959 
   2960 fi
   2961 if test -z "$CC"; then
   2962   if test -n "$ac_tool_prefix"; then
   2963   for ac_prog in cl.exe
   2964   do
   2965     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2969 if test "${ac_cv_prog_CC+set}" = set; then
   2970   echo $ECHO_N "(cached) $ECHO_C" >&6
   2971 else
   2972   if test -n "$CC"; then
   2973   ac_cv_prog_CC="$CC" # Let the user override the test.
   2974 else
   2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2976 for as_dir in $PATH
   2977 do
   2978   IFS=$as_save_IFS
   2979   test -z "$as_dir" && as_dir=.
   2980   for ac_exec_ext in '' $ac_executable_extensions; do
   2981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2982     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2984     break 2
   2985   fi
   2986 done
   2987 done
   2988 IFS=$as_save_IFS
   2989 
   2990 fi
   2991 fi
   2992 CC=$ac_cv_prog_CC
   2993 if test -n "$CC"; then
   2994   { echo "$as_me:$LINENO: result: $CC" >&5
   2995 echo "${ECHO_T}$CC" >&6; }
   2996 else
   2997   { echo "$as_me:$LINENO: result: no" >&5
   2998 echo "${ECHO_T}no" >&6; }
   2999 fi
   3000 
   3001 
   3002     test -n "$CC" && break
   3003   done
   3004 fi
   3005 if test -z "$CC"; then
   3006   ac_ct_CC=$CC
   3007   for ac_prog in cl.exe
   3008 do
   3009   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3010 set dummy $ac_prog; ac_word=$2
   3011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3014   echo $ECHO_N "(cached) $ECHO_C" >&6
   3015 else
   3016   if test -n "$ac_ct_CC"; then
   3017   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3018 else
   3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3020 for as_dir in $PATH
   3021 do
   3022   IFS=$as_save_IFS
   3023   test -z "$as_dir" && as_dir=.
   3024   for ac_exec_ext in '' $ac_executable_extensions; do
   3025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3026     ac_cv_prog_ac_ct_CC="$ac_prog"
   3027     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3028     break 2
   3029   fi
   3030 done
   3031 done
   3032 IFS=$as_save_IFS
   3033 
   3034 fi
   3035 fi
   3036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3037 if test -n "$ac_ct_CC"; then
   3038   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3039 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3040 else
   3041   { echo "$as_me:$LINENO: result: no" >&5
   3042 echo "${ECHO_T}no" >&6; }
   3043 fi
   3044 
   3045 
   3046   test -n "$ac_ct_CC" && break
   3047 done
   3048 
   3049   if test "x$ac_ct_CC" = x; then
   3050     CC=""
   3051   else
   3052     case $cross_compiling:$ac_tool_warned in
   3053 yes:)
   3054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3055 whose name does not start with the host triplet.  If you think this
   3056 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3058 whose name does not start with the host triplet.  If you think this
   3059 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3060 ac_tool_warned=yes ;;
   3061 esac
   3062     CC=$ac_ct_CC
   3063   fi
   3064 fi
   3065 
   3066 fi
   3067 
   3068 
   3069 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3070 See \`config.log' for more details." >&5
   3071 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3072 See \`config.log' for more details." >&2;}
   3073    { (exit 1); exit 1; }; }
   3074 
   3075 # Provide some information about the compiler.
   3076 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3077 ac_compiler=`set X $ac_compile; echo $2`
   3078 { (ac_try="$ac_compiler --version >&5"
   3079 case "(($ac_try" in
   3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3081   *) ac_try_echo=$ac_try;;
   3082 esac
   3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3084   (eval "$ac_compiler --version >&5") 2>&5
   3085   ac_status=$?
   3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3087   (exit $ac_status); }
   3088 { (ac_try="$ac_compiler -v >&5"
   3089 case "(($ac_try" in
   3090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3091   *) ac_try_echo=$ac_try;;
   3092 esac
   3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3094   (eval "$ac_compiler -v >&5") 2>&5
   3095   ac_status=$?
   3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3097   (exit $ac_status); }
   3098 { (ac_try="$ac_compiler -V >&5"
   3099 case "(($ac_try" in
   3100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3101   *) ac_try_echo=$ac_try;;
   3102 esac
   3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3104   (eval "$ac_compiler -V >&5") 2>&5
   3105   ac_status=$?
   3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3107   (exit $ac_status); }
   3108 
   3109 cat >conftest.$ac_ext <<_ACEOF
   3110 /* confdefs.h.  */
   3111 _ACEOF
   3112 cat confdefs.h >>conftest.$ac_ext
   3113 cat >>conftest.$ac_ext <<_ACEOF
   3114 /* end confdefs.h.  */
   3115 
   3116 int
   3117 main ()
   3118 {
   3119 
   3120   ;
   3121   return 0;
   3122 }
   3123 _ACEOF
   3124 ac_clean_files_save=$ac_clean_files
   3125 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3126 # Try to create an executable without -o first, disregard a.out.
   3127 # It will help us diagnose broken compilers, and finding out an intuition
   3128 # of exeext.
   3129 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3130 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3131 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3132 #
   3133 # List of possible output files, starting from the most likely.
   3134 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3135 # only as a last resort.  b.out is created by i960 compilers.
   3136 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3137 #
   3138 # The IRIX 6 linker writes into existing files which may not be
   3139 # executable, retaining their permissions.  Remove them first so a
   3140 # subsequent execution test works.
   3141 ac_rmfiles=
   3142 for ac_file in $ac_files
   3143 do
   3144   case $ac_file in
   3145     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3146     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3147   esac
   3148 done
   3149 rm -f $ac_rmfiles
   3150 
   3151 if { (ac_try="$ac_link_default"
   3152 case "(($ac_try" in
   3153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3154   *) ac_try_echo=$ac_try;;
   3155 esac
   3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3157   (eval "$ac_link_default") 2>&5
   3158   ac_status=$?
   3159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3160   (exit $ac_status); }; then
   3161   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3163 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3164 # so that the user can short-circuit this test for compilers unknown to
   3165 # Autoconf.
   3166 for ac_file in $ac_files ''
   3167 do
   3168   test -f "$ac_file" || continue
   3169   case $ac_file in
   3170     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3171 	;;
   3172     [ab].out )
   3173 	# We found the default executable, but exeext='' is most
   3174 	# certainly right.
   3175 	break;;
   3176     *.* )
   3177         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3178 	then :; else
   3179 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3180 	fi
   3181 	# We set ac_cv_exeext here because the later test for it is not
   3182 	# safe: cross compilers may not add the suffix if given an `-o'
   3183 	# argument, so we may need to know it at that point already.
   3184 	# Even if this section looks crufty: it has the advantage of
   3185 	# actually working.
   3186 	break;;
   3187     * )
   3188 	break;;
   3189   esac
   3190 done
   3191 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3192 
   3193 else
   3194   ac_file=''
   3195 fi
   3196 
   3197 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3198 echo "${ECHO_T}$ac_file" >&6; }
   3199 if test -z "$ac_file"; then
   3200   echo "$as_me: failed program was:" >&5
   3201 sed 's/^/| /' conftest.$ac_ext >&5
   3202 
   3203 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3204 See \`config.log' for more details." >&5
   3205 echo "$as_me: error: C compiler cannot create executables
   3206 See \`config.log' for more details." >&2;}
   3207    { (exit 77); exit 77; }; }
   3208 fi
   3209 
   3210 ac_exeext=$ac_cv_exeext
   3211 
   3212 # Check that the compiler produces executables we can run.  If not, either
   3213 # the compiler is broken, or we cross compile.
   3214 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3217 # If not cross compiling, check that we can run a simple program.
   3218 if test "$cross_compiling" != yes; then
   3219   if { ac_try='./$ac_file'
   3220   { (case "(($ac_try" in
   3221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3222   *) ac_try_echo=$ac_try;;
   3223 esac
   3224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3225   (eval "$ac_try") 2>&5
   3226   ac_status=$?
   3227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3228   (exit $ac_status); }; }; then
   3229     cross_compiling=no
   3230   else
   3231     if test "$cross_compiling" = maybe; then
   3232 	cross_compiling=yes
   3233     else
   3234 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3235 If you meant to cross compile, use \`--host'.
   3236 See \`config.log' for more details." >&5
   3237 echo "$as_me: error: cannot run C compiled programs.
   3238 If you meant to cross compile, use \`--host'.
   3239 See \`config.log' for more details." >&2;}
   3240    { (exit 1); exit 1; }; }
   3241     fi
   3242   fi
   3243 fi
   3244 { echo "$as_me:$LINENO: result: yes" >&5
   3245 echo "${ECHO_T}yes" >&6; }
   3246 
   3247 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3248 ac_clean_files=$ac_clean_files_save
   3249 # Check that the compiler produces executables we can run.  If not, either
   3250 # the compiler is broken, or we cross compile.
   3251 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3253 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3254 echo "${ECHO_T}$cross_compiling" >&6; }
   3255 
   3256 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3257 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3258 if { (ac_try="$ac_link"
   3259 case "(($ac_try" in
   3260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3261   *) ac_try_echo=$ac_try;;
   3262 esac
   3263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3264   (eval "$ac_link") 2>&5
   3265   ac_status=$?
   3266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3267   (exit $ac_status); }; then
   3268   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3269 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3270 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3271 # `rm'.
   3272 for ac_file in conftest.exe conftest conftest.*; do
   3273   test -f "$ac_file" || continue
   3274   case $ac_file in
   3275     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3276     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3277 	  break;;
   3278     * ) break;;
   3279   esac
   3280 done
   3281 else
   3282   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3283 See \`config.log' for more details." >&5
   3284 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3285 See \`config.log' for more details." >&2;}
   3286    { (exit 1); exit 1; }; }
   3287 fi
   3288 
   3289 rm -f conftest$ac_cv_exeext
   3290 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3291 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3292 
   3293 rm -f conftest.$ac_ext
   3294 EXEEXT=$ac_cv_exeext
   3295 ac_exeext=$EXEEXT
   3296 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3297 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3298 if test "${ac_cv_objext+set}" = set; then
   3299   echo $ECHO_N "(cached) $ECHO_C" >&6
   3300 else
   3301   cat >conftest.$ac_ext <<_ACEOF
   3302 /* confdefs.h.  */
   3303 _ACEOF
   3304 cat confdefs.h >>conftest.$ac_ext
   3305 cat >>conftest.$ac_ext <<_ACEOF
   3306 /* end confdefs.h.  */
   3307 
   3308 int
   3309 main ()
   3310 {
   3311 
   3312   ;
   3313   return 0;
   3314 }
   3315 _ACEOF
   3316 rm -f conftest.o conftest.obj
   3317 if { (ac_try="$ac_compile"
   3318 case "(($ac_try" in
   3319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3320   *) ac_try_echo=$ac_try;;
   3321 esac
   3322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3323   (eval "$ac_compile") 2>&5
   3324   ac_status=$?
   3325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3326   (exit $ac_status); }; then
   3327   for ac_file in conftest.o conftest.obj conftest.*; do
   3328   test -f "$ac_file" || continue;
   3329   case $ac_file in
   3330     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3331     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3332        break;;
   3333   esac
   3334 done
   3335 else
   3336   echo "$as_me: failed program was:" >&5
   3337 sed 's/^/| /' conftest.$ac_ext >&5
   3338 
   3339 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3340 See \`config.log' for more details." >&5
   3341 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3342 See \`config.log' for more details." >&2;}
   3343    { (exit 1); exit 1; }; }
   3344 fi
   3345 
   3346 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3347 fi
   3348 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3349 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3350 OBJEXT=$ac_cv_objext
   3351 ac_objext=$OBJEXT
   3352 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3353 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3354 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3355   echo $ECHO_N "(cached) $ECHO_C" >&6
   3356 else
   3357   cat >conftest.$ac_ext <<_ACEOF
   3358 /* confdefs.h.  */
   3359 _ACEOF
   3360 cat confdefs.h >>conftest.$ac_ext
   3361 cat >>conftest.$ac_ext <<_ACEOF
   3362 /* end confdefs.h.  */
   3363 
   3364 int
   3365 main ()
   3366 {
   3367 #ifndef __GNUC__
   3368        choke me
   3369 #endif
   3370 
   3371   ;
   3372   return 0;
   3373 }
   3374 _ACEOF
   3375 rm -f conftest.$ac_objext
   3376 if { (ac_try="$ac_compile"
   3377 case "(($ac_try" in
   3378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3379   *) ac_try_echo=$ac_try;;
   3380 esac
   3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3382   (eval "$ac_compile") 2>conftest.er1
   3383   ac_status=$?
   3384   grep -v '^ *+' conftest.er1 >conftest.err
   3385   rm -f conftest.er1
   3386   cat conftest.err >&5
   3387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3388   (exit $ac_status); } && {
   3389 	 test -z "$ac_c_werror_flag" ||
   3390 	 test ! -s conftest.err
   3391        } && test -s conftest.$ac_objext; then
   3392   ac_compiler_gnu=yes
   3393 else
   3394   echo "$as_me: failed program was:" >&5
   3395 sed 's/^/| /' conftest.$ac_ext >&5
   3396 
   3397 	ac_compiler_gnu=no
   3398 fi
   3399 
   3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3402 
   3403 fi
   3404 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3405 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3406 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3407 ac_test_CFLAGS=${CFLAGS+set}
   3408 ac_save_CFLAGS=$CFLAGS
   3409 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3410 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3411 if test "${ac_cv_prog_cc_g+set}" = set; then
   3412   echo $ECHO_N "(cached) $ECHO_C" >&6
   3413 else
   3414   ac_save_c_werror_flag=$ac_c_werror_flag
   3415    ac_c_werror_flag=yes
   3416    ac_cv_prog_cc_g=no
   3417    CFLAGS="-g"
   3418    cat >conftest.$ac_ext <<_ACEOF
   3419 /* confdefs.h.  */
   3420 _ACEOF
   3421 cat confdefs.h >>conftest.$ac_ext
   3422 cat >>conftest.$ac_ext <<_ACEOF
   3423 /* end confdefs.h.  */
   3424 
   3425 int
   3426 main ()
   3427 {
   3428 
   3429   ;
   3430   return 0;
   3431 }
   3432 _ACEOF
   3433 rm -f conftest.$ac_objext
   3434 if { (ac_try="$ac_compile"
   3435 case "(($ac_try" in
   3436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3437   *) ac_try_echo=$ac_try;;
   3438 esac
   3439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3440   (eval "$ac_compile") 2>conftest.er1
   3441   ac_status=$?
   3442   grep -v '^ *+' conftest.er1 >conftest.err
   3443   rm -f conftest.er1
   3444   cat conftest.err >&5
   3445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3446   (exit $ac_status); } && {
   3447 	 test -z "$ac_c_werror_flag" ||
   3448 	 test ! -s conftest.err
   3449        } && test -s conftest.$ac_objext; then
   3450   ac_cv_prog_cc_g=yes
   3451 else
   3452   echo "$as_me: failed program was:" >&5
   3453 sed 's/^/| /' conftest.$ac_ext >&5
   3454 
   3455 	CFLAGS=""
   3456       cat >conftest.$ac_ext <<_ACEOF
   3457 /* confdefs.h.  */
   3458 _ACEOF
   3459 cat confdefs.h >>conftest.$ac_ext
   3460 cat >>conftest.$ac_ext <<_ACEOF
   3461 /* end confdefs.h.  */
   3462 
   3463 int
   3464 main ()
   3465 {
   3466 
   3467   ;
   3468   return 0;
   3469 }
   3470 _ACEOF
   3471 rm -f conftest.$ac_objext
   3472 if { (ac_try="$ac_compile"
   3473 case "(($ac_try" in
   3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3475   *) ac_try_echo=$ac_try;;
   3476 esac
   3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3478   (eval "$ac_compile") 2>conftest.er1
   3479   ac_status=$?
   3480   grep -v '^ *+' conftest.er1 >conftest.err
   3481   rm -f conftest.er1
   3482   cat conftest.err >&5
   3483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3484   (exit $ac_status); } && {
   3485 	 test -z "$ac_c_werror_flag" ||
   3486 	 test ! -s conftest.err
   3487        } && test -s conftest.$ac_objext; then
   3488   :
   3489 else
   3490   echo "$as_me: failed program was:" >&5
   3491 sed 's/^/| /' conftest.$ac_ext >&5
   3492 
   3493 	ac_c_werror_flag=$ac_save_c_werror_flag
   3494 	 CFLAGS="-g"
   3495 	 cat >conftest.$ac_ext <<_ACEOF
   3496 /* confdefs.h.  */
   3497 _ACEOF
   3498 cat confdefs.h >>conftest.$ac_ext
   3499 cat >>conftest.$ac_ext <<_ACEOF
   3500 /* end confdefs.h.  */
   3501 
   3502 int
   3503 main ()
   3504 {
   3505 
   3506   ;
   3507   return 0;
   3508 }
   3509 _ACEOF
   3510 rm -f conftest.$ac_objext
   3511 if { (ac_try="$ac_compile"
   3512 case "(($ac_try" in
   3513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3514   *) ac_try_echo=$ac_try;;
   3515 esac
   3516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3517   (eval "$ac_compile") 2>conftest.er1
   3518   ac_status=$?
   3519   grep -v '^ *+' conftest.er1 >conftest.err
   3520   rm -f conftest.er1
   3521   cat conftest.err >&5
   3522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3523   (exit $ac_status); } && {
   3524 	 test -z "$ac_c_werror_flag" ||
   3525 	 test ! -s conftest.err
   3526        } && test -s conftest.$ac_objext; then
   3527   ac_cv_prog_cc_g=yes
   3528 else
   3529   echo "$as_me: failed program was:" >&5
   3530 sed 's/^/| /' conftest.$ac_ext >&5
   3531 
   3532 
   3533 fi
   3534 
   3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3536 fi
   3537 
   3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3539 fi
   3540 
   3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3542    ac_c_werror_flag=$ac_save_c_werror_flag
   3543 fi
   3544 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3545 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3546 if test "$ac_test_CFLAGS" = set; then
   3547   CFLAGS=$ac_save_CFLAGS
   3548 elif test $ac_cv_prog_cc_g = yes; then
   3549   if test "$GCC" = yes; then
   3550     CFLAGS="-g -O2"
   3551   else
   3552     CFLAGS="-g"
   3553   fi
   3554 else
   3555   if test "$GCC" = yes; then
   3556     CFLAGS="-O2"
   3557   else
   3558     CFLAGS=
   3559   fi
   3560 fi
   3561 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3562 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3563 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3564   echo $ECHO_N "(cached) $ECHO_C" >&6
   3565 else
   3566   ac_cv_prog_cc_c89=no
   3567 ac_save_CC=$CC
   3568 cat >conftest.$ac_ext <<_ACEOF
   3569 /* confdefs.h.  */
   3570 _ACEOF
   3571 cat confdefs.h >>conftest.$ac_ext
   3572 cat >>conftest.$ac_ext <<_ACEOF
   3573 /* end confdefs.h.  */
   3574 #include <stdarg.h>
   3575 #include <stdio.h>
   3576 #include <sys/types.h>
   3577 #include <sys/stat.h>
   3578 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3579 struct buf { int x; };
   3580 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3581 static char *e (p, i)
   3582      char **p;
   3583      int i;
   3584 {
   3585   return p[i];
   3586 }
   3587 static char *f (char * (*g) (char **, int), char **p, ...)
   3588 {
   3589   char *s;
   3590   va_list v;
   3591   va_start (v,p);
   3592   s = g (p, va_arg (v,int));
   3593   va_end (v);
   3594   return s;
   3595 }
   3596 
   3597 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3598    function prototypes and stuff, but not '\xHH' hex character constants.
   3599    These don't provoke an error unfortunately, instead are silently treated
   3600    as 'x'.  The following induces an error, until -std is added to get
   3601    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3602    array size at least.  It's necessary to write '\x00'==0 to get something
   3603    that's true only with -std.  */
   3604 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3605 
   3606 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3607    inside strings and character constants.  */
   3608 #define FOO(x) 'x'
   3609 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3610 
   3611 int test (int i, double x);
   3612 struct s1 {int (*f) (int a);};
   3613 struct s2 {int (*f) (double a);};
   3614 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3615 int argc;
   3616 char **argv;
   3617 int
   3618 main ()
   3619 {
   3620 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3621   ;
   3622   return 0;
   3623 }
   3624 _ACEOF
   3625 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3626 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3627 do
   3628   CC="$ac_save_CC $ac_arg"
   3629   rm -f conftest.$ac_objext
   3630 if { (ac_try="$ac_compile"
   3631 case "(($ac_try" in
   3632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3633   *) ac_try_echo=$ac_try;;
   3634 esac
   3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3636   (eval "$ac_compile") 2>conftest.er1
   3637   ac_status=$?
   3638   grep -v '^ *+' conftest.er1 >conftest.err
   3639   rm -f conftest.er1
   3640   cat conftest.err >&5
   3641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3642   (exit $ac_status); } && {
   3643 	 test -z "$ac_c_werror_flag" ||
   3644 	 test ! -s conftest.err
   3645        } && test -s conftest.$ac_objext; then
   3646   ac_cv_prog_cc_c89=$ac_arg
   3647 else
   3648   echo "$as_me: failed program was:" >&5
   3649 sed 's/^/| /' conftest.$ac_ext >&5
   3650 
   3651 
   3652 fi
   3653 
   3654 rm -f core conftest.err conftest.$ac_objext
   3655   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3656 done
   3657 rm -f conftest.$ac_ext
   3658 CC=$ac_save_CC
   3659 
   3660 fi
   3661 # AC_CACHE_VAL
   3662 case "x$ac_cv_prog_cc_c89" in
   3663   x)
   3664     { echo "$as_me:$LINENO: result: none needed" >&5
   3665 echo "${ECHO_T}none needed" >&6; } ;;
   3666   xno)
   3667     { echo "$as_me:$LINENO: result: unsupported" >&5
   3668 echo "${ECHO_T}unsupported" >&6; } ;;
   3669   *)
   3670     CC="$CC $ac_cv_prog_cc_c89"
   3671     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3672 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3673 esac
   3674 
   3675 
   3676 ac_ext=c
   3677 ac_cpp='$CPP $CPPFLAGS'
   3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3681 
   3682 depcc="$CC"   am_compiler_list=
   3683 
   3684 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3685 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3686 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3687   echo $ECHO_N "(cached) $ECHO_C" >&6
   3688 else
   3689   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3690   # We make a subdir and do the tests there.  Otherwise we can end up
   3691   # making bogus files that we don't know about and never remove.  For
   3692   # instance it was reported that on HP-UX the gcc test will end up
   3693   # making a dummy file named `D' -- because `-MD' means `put the output
   3694   # in D'.
   3695   mkdir conftest.dir
   3696   # Copy depcomp to subdir because otherwise we won't find it if we're
   3697   # using a relative directory.
   3698   cp "$am_depcomp" conftest.dir
   3699   cd conftest.dir
   3700   # We will build objects and dependencies in a subdirectory because
   3701   # it helps to detect inapplicable dependency modes.  For instance
   3702   # both Tru64's cc and ICC support -MD to output dependencies as a
   3703   # side effect of compilation, but ICC will put the dependencies in
   3704   # the current directory while Tru64 will put them in the object
   3705   # directory.
   3706   mkdir sub
   3707 
   3708   am_cv_CC_dependencies_compiler_type=none
   3709   if test "$am_compiler_list" = ""; then
   3710      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3711   fi
   3712   for depmode in $am_compiler_list; do
   3713     # Setup a source with many dependencies, because some compilers
   3714     # like to wrap large dependency lists on column 80 (with \), and
   3715     # we should not choose a depcomp mode which is confused by this.
   3716     #
   3717     # We need to recreate these files for each test, as the compiler may
   3718     # overwrite some of them when testing with obscure command lines.
   3719     # This happens at least with the AIX C compiler.
   3720     : > sub/conftest.c
   3721     for i in 1 2 3 4 5 6; do
   3722       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3723       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3724       # Solaris 8's {/usr,}/bin/sh.
   3725       touch sub/conftst$i.h
   3726     done
   3727     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3728 
   3729     case $depmode in
   3730     nosideeffect)
   3731       # after this tag, mechanisms are not by side-effect, so they'll
   3732       # only be used when explicitly requested
   3733       if test "x$enable_dependency_tracking" = xyes; then
   3734 	continue
   3735       else
   3736 	break
   3737       fi
   3738       ;;
   3739     none) break ;;
   3740     esac
   3741     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3742     # mode.  It turns out that the SunPro C++ compiler does not properly
   3743     # handle `-M -o', and we need to detect this.
   3744     if depmode=$depmode \
   3745        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3746        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3747        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3748          >/dev/null 2>conftest.err &&
   3749        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3750        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3751        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3752        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3753       # icc doesn't choke on unknown options, it will just issue warnings
   3754       # or remarks (even with -Werror).  So we grep stderr for any message
   3755       # that says an option was ignored or not supported.
   3756       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3757       #   icc: Command line warning: ignoring option '-M'; no argument required
   3758       # The diagnosis changed in icc 8.0:
   3759       #   icc: Command line remark: option '-MP' not supported
   3760       if (grep 'ignoring option' conftest.err ||
   3761           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3762         am_cv_CC_dependencies_compiler_type=$depmode
   3763         break
   3764       fi
   3765     fi
   3766   done
   3767 
   3768   cd ..
   3769   rm -rf conftest.dir
   3770 else
   3771   am_cv_CC_dependencies_compiler_type=none
   3772 fi
   3773 
   3774 fi
   3775 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3776 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3777 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3778 
   3779  if
   3780   test "x$enable_dependency_tracking" != xno \
   3781   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3782   am__fastdepCC_TRUE=
   3783   am__fastdepCC_FALSE='#'
   3784 else
   3785   am__fastdepCC_TRUE='#'
   3786   am__fastdepCC_FALSE=
   3787 fi
   3788 
   3789 
   3790 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3791 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3792 if test "${lt_cv_path_SED+set}" = set; then
   3793   echo $ECHO_N "(cached) $ECHO_C" >&6
   3794 else
   3795   # Loop through the user's path and test for sed and gsed.
   3796 # Then use that list of sed's as ones to test for truncation.
   3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3798 for as_dir in $PATH
   3799 do
   3800   IFS=$as_save_IFS
   3801   test -z "$as_dir" && as_dir=.
   3802   for lt_ac_prog in sed gsed; do
   3803     for ac_exec_ext in '' $ac_executable_extensions; do
   3804       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3805         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3806       fi
   3807     done
   3808   done
   3809 done
   3810 IFS=$as_save_IFS
   3811 lt_ac_max=0
   3812 lt_ac_count=0
   3813 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3814 # along with /bin/sed that truncates output.
   3815 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3816   test ! -f $lt_ac_sed && continue
   3817   cat /dev/null > conftest.in
   3818   lt_ac_count=0
   3819   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3820   # Check for GNU sed and select it if it is found.
   3821   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3822     lt_cv_path_SED=$lt_ac_sed
   3823     break
   3824   fi
   3825   while true; do
   3826     cat conftest.in conftest.in >conftest.tmp
   3827     mv conftest.tmp conftest.in
   3828     cp conftest.in conftest.nl
   3829     echo >>conftest.nl
   3830     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3831     cmp -s conftest.out conftest.nl || break
   3832     # 10000 chars as input seems more than enough
   3833     test $lt_ac_count -gt 10 && break
   3834     lt_ac_count=`expr $lt_ac_count + 1`
   3835     if test $lt_ac_count -gt $lt_ac_max; then
   3836       lt_ac_max=$lt_ac_count
   3837       lt_cv_path_SED=$lt_ac_sed
   3838     fi
   3839   done
   3840 done
   3841 
   3842 fi
   3843 
   3844 SED=$lt_cv_path_SED
   3845 
   3846 { echo "$as_me:$LINENO: result: $SED" >&5
   3847 echo "${ECHO_T}$SED" >&6; }
   3848 
   3849 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3850 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3851 if test "${ac_cv_path_GREP+set}" = set; then
   3852   echo $ECHO_N "(cached) $ECHO_C" >&6
   3853 else
   3854   # Extract the first word of "grep ggrep" to use in msg output
   3855 if test -z "$GREP"; then
   3856 set dummy grep ggrep; ac_prog_name=$2
   3857 if test "${ac_cv_path_GREP+set}" = set; then
   3858   echo $ECHO_N "(cached) $ECHO_C" >&6
   3859 else
   3860   ac_path_GREP_found=false
   3861 # Loop through the user's path and test for each of PROGNAME-LIST
   3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3863 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3864 do
   3865   IFS=$as_save_IFS
   3866   test -z "$as_dir" && as_dir=.
   3867   for ac_prog in grep ggrep; do
   3868   for ac_exec_ext in '' $ac_executable_extensions; do
   3869     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3870     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3871     # Check for GNU ac_path_GREP and select it if it is found.
   3872   # Check for GNU $ac_path_GREP
   3873 case `"$ac_path_GREP" --version 2>&1` in
   3874 *GNU*)
   3875   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3876 *)
   3877   ac_count=0
   3878   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3879   while :
   3880   do
   3881     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3882     mv "conftest.tmp" "conftest.in"
   3883     cp "conftest.in" "conftest.nl"
   3884     echo 'GREP' >> "conftest.nl"
   3885     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3886     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3887     ac_count=`expr $ac_count + 1`
   3888     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3889       # Best one so far, save it but keep looking for a better one
   3890       ac_cv_path_GREP="$ac_path_GREP"
   3891       ac_path_GREP_max=$ac_count
   3892     fi
   3893     # 10*(2^10) chars as input seems more than enough
   3894     test $ac_count -gt 10 && break
   3895   done
   3896   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3897 esac
   3898 
   3899 
   3900     $ac_path_GREP_found && break 3
   3901   done
   3902 done
   3903 
   3904 done
   3905 IFS=$as_save_IFS
   3906 
   3907 
   3908 fi
   3909 
   3910 GREP="$ac_cv_path_GREP"
   3911 if test -z "$GREP"; then
   3912   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3913 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3914    { (exit 1); exit 1; }; }
   3915 fi
   3916 
   3917 else
   3918   ac_cv_path_GREP=$GREP
   3919 fi
   3920 
   3921 
   3922 fi
   3923 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3924 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3925  GREP="$ac_cv_path_GREP"
   3926 
   3927 
   3928 { echo "$as_me:$LINENO: checking for egrep" >&5
   3929 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3930 if test "${ac_cv_path_EGREP+set}" = set; then
   3931   echo $ECHO_N "(cached) $ECHO_C" >&6
   3932 else
   3933   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3934    then ac_cv_path_EGREP="$GREP -E"
   3935    else
   3936      # Extract the first word of "egrep" to use in msg output
   3937 if test -z "$EGREP"; then
   3938 set dummy egrep; ac_prog_name=$2
   3939 if test "${ac_cv_path_EGREP+set}" = set; then
   3940   echo $ECHO_N "(cached) $ECHO_C" >&6
   3941 else
   3942   ac_path_EGREP_found=false
   3943 # Loop through the user's path and test for each of PROGNAME-LIST
   3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3946 do
   3947   IFS=$as_save_IFS
   3948   test -z "$as_dir" && as_dir=.
   3949   for ac_prog in egrep; do
   3950   for ac_exec_ext in '' $ac_executable_extensions; do
   3951     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3952     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3953     # Check for GNU ac_path_EGREP and select it if it is found.
   3954   # Check for GNU $ac_path_EGREP
   3955 case `"$ac_path_EGREP" --version 2>&1` in
   3956 *GNU*)
   3957   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3958 *)
   3959   ac_count=0
   3960   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3961   while :
   3962   do
   3963     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3964     mv "conftest.tmp" "conftest.in"
   3965     cp "conftest.in" "conftest.nl"
   3966     echo 'EGREP' >> "conftest.nl"
   3967     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3968     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3969     ac_count=`expr $ac_count + 1`
   3970     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3971       # Best one so far, save it but keep looking for a better one
   3972       ac_cv_path_EGREP="$ac_path_EGREP"
   3973       ac_path_EGREP_max=$ac_count
   3974     fi
   3975     # 10*(2^10) chars as input seems more than enough
   3976     test $ac_count -gt 10 && break
   3977   done
   3978   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3979 esac
   3980 
   3981 
   3982     $ac_path_EGREP_found && break 3
   3983   done
   3984 done
   3985 
   3986 done
   3987 IFS=$as_save_IFS
   3988 
   3989 
   3990 fi
   3991 
   3992 EGREP="$ac_cv_path_EGREP"
   3993 if test -z "$EGREP"; then
   3994   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3995 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3996    { (exit 1); exit 1; }; }
   3997 fi
   3998 
   3999 else
   4000   ac_cv_path_EGREP=$EGREP
   4001 fi
   4002 
   4003 
   4004    fi
   4005 fi
   4006 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4007 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4008  EGREP="$ac_cv_path_EGREP"
   4009 
   4010 
   4011 
   4012 # Check whether --with-gnu-ld was given.
   4013 if test "${with_gnu_ld+set}" = set; then
   4014   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4015 else
   4016   with_gnu_ld=no
   4017 fi
   4018 
   4019 ac_prog=ld
   4020 if test "$GCC" = yes; then
   4021   # Check if gcc -print-prog-name=ld gives a path.
   4022   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4023 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4024   case $host in
   4025   *-*-mingw*)
   4026     # gcc leaves a trailing carriage return which upsets mingw
   4027     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4028   *)
   4029     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4030   esac
   4031   case $ac_prog in
   4032     # Accept absolute paths.
   4033     [\\/]* | ?:[\\/]*)
   4034       re_direlt='/[^/][^/]*/\.\./'
   4035       # Canonicalize the pathname of ld
   4036       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4037       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4038 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4039       done
   4040       test -z "$LD" && LD="$ac_prog"
   4041       ;;
   4042   "")
   4043     # If it fails, then pretend we aren't using GCC.
   4044     ac_prog=ld
   4045     ;;
   4046   *)
   4047     # If it is relative, then search for the first ld in PATH.
   4048     with_gnu_ld=unknown
   4049     ;;
   4050   esac
   4051 elif test "$with_gnu_ld" = yes; then
   4052   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4053 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4054 else
   4055   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4056 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4057 fi
   4058 if test "${lt_cv_path_LD+set}" = set; then
   4059   echo $ECHO_N "(cached) $ECHO_C" >&6
   4060 else
   4061   if test -z "$LD"; then
   4062   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4063   for ac_dir in $PATH; do
   4064     IFS="$lt_save_ifs"
   4065     test -z "$ac_dir" && ac_dir=.
   4066     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4067       lt_cv_path_LD="$ac_dir/$ac_prog"
   4068       # Check to see if the program is GNU ld.  I'd rather use --version,
   4069       # but apparently some variants of GNU ld only accept -v.
   4070       # Break only if it was the GNU/non-GNU ld that we prefer.
   4071       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4072       *GNU* | *'with BFD'*)
   4073 	test "$with_gnu_ld" != no && break
   4074 	;;
   4075       *)
   4076 	test "$with_gnu_ld" != yes && break
   4077 	;;
   4078       esac
   4079     fi
   4080   done
   4081   IFS="$lt_save_ifs"
   4082 else
   4083   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4084 fi
   4085 fi
   4086 
   4087 LD="$lt_cv_path_LD"
   4088 if test -n "$LD"; then
   4089   { echo "$as_me:$LINENO: result: $LD" >&5
   4090 echo "${ECHO_T}$LD" >&6; }
   4091 else
   4092   { echo "$as_me:$LINENO: result: no" >&5
   4093 echo "${ECHO_T}no" >&6; }
   4094 fi
   4095 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4096 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4097    { (exit 1); exit 1; }; }
   4098 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4099 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4100 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4101   echo $ECHO_N "(cached) $ECHO_C" >&6
   4102 else
   4103   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4104 case `$LD -v 2>&1 </dev/null` in
   4105 *GNU* | *'with BFD'*)
   4106   lt_cv_prog_gnu_ld=yes
   4107   ;;
   4108 *)
   4109   lt_cv_prog_gnu_ld=no
   4110   ;;
   4111 esac
   4112 fi
   4113 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4114 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4115 with_gnu_ld=$lt_cv_prog_gnu_ld
   4116 
   4117 
   4118 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4119 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4120 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4121   echo $ECHO_N "(cached) $ECHO_C" >&6
   4122 else
   4123   lt_cv_ld_reload_flag='-r'
   4124 fi
   4125 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4126 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4127 reload_flag=$lt_cv_ld_reload_flag
   4128 case $reload_flag in
   4129 "" | " "*) ;;
   4130 *) reload_flag=" $reload_flag" ;;
   4131 esac
   4132 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4133 case $host_os in
   4134   darwin*)
   4135     if test "$GCC" = yes; then
   4136       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4137     else
   4138       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4139     fi
   4140     ;;
   4141 esac
   4142 
   4143 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4144 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4145 if test "${lt_cv_path_NM+set}" = set; then
   4146   echo $ECHO_N "(cached) $ECHO_C" >&6
   4147 else
   4148   if test -n "$NM"; then
   4149   # Let the user override the test.
   4150   lt_cv_path_NM="$NM"
   4151 else
   4152   lt_nm_to_check="${ac_tool_prefix}nm"
   4153   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4154     lt_nm_to_check="$lt_nm_to_check nm"
   4155   fi
   4156   for lt_tmp_nm in $lt_nm_to_check; do
   4157     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4158     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4159       IFS="$lt_save_ifs"
   4160       test -z "$ac_dir" && ac_dir=.
   4161       tmp_nm="$ac_dir/$lt_tmp_nm"
   4162       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4163 	# Check to see if the nm accepts a BSD-compat flag.
   4164 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4165 	#   nm: unknown option "B" ignored
   4166 	# Tru64's nm complains that /dev/null is an invalid object file
   4167 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4168 	*/dev/null* | *'Invalid file or object type'*)
   4169 	  lt_cv_path_NM="$tmp_nm -B"
   4170 	  break
   4171 	  ;;
   4172 	*)
   4173 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4174 	  */dev/null*)
   4175 	    lt_cv_path_NM="$tmp_nm -p"
   4176 	    break
   4177 	    ;;
   4178 	  *)
   4179 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4180 	    continue # so that we can try to find one that supports BSD flags
   4181 	    ;;
   4182 	  esac
   4183 	  ;;
   4184 	esac
   4185       fi
   4186     done
   4187     IFS="$lt_save_ifs"
   4188   done
   4189   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4190 fi
   4191 fi
   4192 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4193 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4194 NM="$lt_cv_path_NM"
   4195 
   4196 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4197 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4198 LN_S=$as_ln_s
   4199 if test "$LN_S" = "ln -s"; then
   4200   { echo "$as_me:$LINENO: result: yes" >&5
   4201 echo "${ECHO_T}yes" >&6; }
   4202 else
   4203   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4204 echo "${ECHO_T}no, using $LN_S" >&6; }
   4205 fi
   4206 
   4207 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4208 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4209 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4210   echo $ECHO_N "(cached) $ECHO_C" >&6
   4211 else
   4212   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4213 lt_cv_file_magic_test_file=
   4214 lt_cv_deplibs_check_method='unknown'
   4215 # Need to set the preceding variable on all platforms that support
   4216 # interlibrary dependencies.
   4217 # 'none' -- dependencies not supported.
   4218 # `unknown' -- same as none, but documents that we really don't know.
   4219 # 'pass_all' -- all dependencies passed with no checks.
   4220 # 'test_compile' -- check by making test program.
   4221 # 'file_magic [[regex]]' -- check by looking for files in library path
   4222 # which responds to the $file_magic_cmd with a given extended regex.
   4223 # If you have `file' or equivalent on your system and you're not sure
   4224 # whether `pass_all' will *always* work, you probably want this one.
   4225 
   4226 case $host_os in
   4227 aix[4-9]*)
   4228   lt_cv_deplibs_check_method=pass_all
   4229   ;;
   4230 
   4231 beos*)
   4232   lt_cv_deplibs_check_method=pass_all
   4233   ;;
   4234 
   4235 bsdi[45]*)
   4236   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4237   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4238   lt_cv_file_magic_test_file=/shlib/libc.so
   4239   ;;
   4240 
   4241 cygwin*)
   4242   # func_win32_libid is a shell function defined in ltmain.sh
   4243   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4244   lt_cv_file_magic_cmd='func_win32_libid'
   4245   ;;
   4246 
   4247 mingw* | pw32*)
   4248   # Base MSYS/MinGW do not provide the 'file' command needed by
   4249   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4250   # unless we find 'file', for example because we are cross-compiling.
   4251   if ( file / ) >/dev/null 2>&1; then
   4252     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4253     lt_cv_file_magic_cmd='func_win32_libid'
   4254   else
   4255     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4256     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4257   fi
   4258   ;;
   4259 
   4260 darwin* | rhapsody*)
   4261   lt_cv_deplibs_check_method=pass_all
   4262   ;;
   4263 
   4264 freebsd* | dragonfly*)
   4265   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4266     case $host_cpu in
   4267     i*86 )
   4268       # Not sure whether the presence of OpenBSD here was a mistake.
   4269       # Let's accept both of them until this is cleared up.
   4270       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4271       lt_cv_file_magic_cmd=/usr/bin/file
   4272       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4273       ;;
   4274     esac
   4275   else
   4276     lt_cv_deplibs_check_method=pass_all
   4277   fi
   4278   ;;
   4279 
   4280 gnu*)
   4281   lt_cv_deplibs_check_method=pass_all
   4282   ;;
   4283 
   4284 hpux10.20* | hpux11*)
   4285   lt_cv_file_magic_cmd=/usr/bin/file
   4286   case $host_cpu in
   4287   ia64*)
   4288     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4289     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4290     ;;
   4291   hppa*64*)
   4292     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]'
   4293     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4294     ;;
   4295   *)
   4296     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4297     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4298     ;;
   4299   esac
   4300   ;;
   4301 
   4302 interix[3-9]*)
   4303   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4304   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4305   ;;
   4306 
   4307 irix5* | irix6* | nonstopux*)
   4308   case $LD in
   4309   *-32|*"-32 ") libmagic=32-bit;;
   4310   *-n32|*"-n32 ") libmagic=N32;;
   4311   *-64|*"-64 ") libmagic=64-bit;;
   4312   *) libmagic=never-match;;
   4313   esac
   4314   lt_cv_deplibs_check_method=pass_all
   4315   ;;
   4316 
   4317 # This must be Linux ELF.
   4318 linux* | k*bsd*-gnu)
   4319   lt_cv_deplibs_check_method=pass_all
   4320   ;;
   4321 
   4322 netbsd* | netbsdelf*-gnu)
   4323   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4324     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4325   else
   4326     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4327   fi
   4328   ;;
   4329 
   4330 newos6*)
   4331   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4332   lt_cv_file_magic_cmd=/usr/bin/file
   4333   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4334   ;;
   4335 
   4336 nto-qnx*)
   4337   lt_cv_deplibs_check_method=unknown
   4338   ;;
   4339 
   4340 openbsd*)
   4341   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4342     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4343   else
   4344     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4345   fi
   4346   ;;
   4347 
   4348 osf3* | osf4* | osf5*)
   4349   lt_cv_deplibs_check_method=pass_all
   4350   ;;
   4351 
   4352 rdos*)
   4353   lt_cv_deplibs_check_method=pass_all
   4354   ;;
   4355 
   4356 solaris*)
   4357   lt_cv_deplibs_check_method=pass_all
   4358   ;;
   4359 
   4360 sysv4 | sysv4.3*)
   4361   case $host_vendor in
   4362   motorola)
   4363     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]'
   4364     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4365     ;;
   4366   ncr)
   4367     lt_cv_deplibs_check_method=pass_all
   4368     ;;
   4369   sequent)
   4370     lt_cv_file_magic_cmd='/bin/file'
   4371     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4372     ;;
   4373   sni)
   4374     lt_cv_file_magic_cmd='/bin/file'
   4375     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4376     lt_cv_file_magic_test_file=/lib/libc.so
   4377     ;;
   4378   siemens)
   4379     lt_cv_deplibs_check_method=pass_all
   4380     ;;
   4381   pc)
   4382     lt_cv_deplibs_check_method=pass_all
   4383     ;;
   4384   esac
   4385   ;;
   4386 
   4387 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4388   lt_cv_deplibs_check_method=pass_all
   4389   ;;
   4390 esac
   4391 
   4392 fi
   4393 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4394 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4395 file_magic_cmd=$lt_cv_file_magic_cmd
   4396 deplibs_check_method=$lt_cv_deplibs_check_method
   4397 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4398 
   4399 
   4400 
   4401 
   4402 # If no C compiler was specified, use CC.
   4403 LTCC=${LTCC-"$CC"}
   4404 
   4405 # If no C compiler flags were specified, use CFLAGS.
   4406 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4407 
   4408 # Allow CC to be a program name with arguments.
   4409 compiler=$CC
   4410 
   4411 
   4412 # Check whether --enable-libtool-lock was given.
   4413 if test "${enable_libtool_lock+set}" = set; then
   4414   enableval=$enable_libtool_lock;
   4415 fi
   4416 
   4417 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4418 
   4419 # Some flags need to be propagated to the compiler or linker for good
   4420 # libtool support.
   4421 case $host in
   4422 ia64-*-hpux*)
   4423   # Find out which ABI we are using.
   4424   echo 'int i;' > conftest.$ac_ext
   4425   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4426   (eval $ac_compile) 2>&5
   4427   ac_status=$?
   4428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4429   (exit $ac_status); }; then
   4430     case `/usr/bin/file conftest.$ac_objext` in
   4431     *ELF-32*)
   4432       HPUX_IA64_MODE="32"
   4433       ;;
   4434     *ELF-64*)
   4435       HPUX_IA64_MODE="64"
   4436       ;;
   4437     esac
   4438   fi
   4439   rm -rf conftest*
   4440   ;;
   4441 *-*-irix6*)
   4442   # Find out which ABI we are using.
   4443   echo '#line 4443 "configure"' > conftest.$ac_ext
   4444   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4445   (eval $ac_compile) 2>&5
   4446   ac_status=$?
   4447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4448   (exit $ac_status); }; then
   4449    if test "$lt_cv_prog_gnu_ld" = yes; then
   4450     case `/usr/bin/file conftest.$ac_objext` in
   4451     *32-bit*)
   4452       LD="${LD-ld} -melf32bsmip"
   4453       ;;
   4454     *N32*)
   4455       LD="${LD-ld} -melf32bmipn32"
   4456       ;;
   4457     *64-bit*)
   4458       LD="${LD-ld} -melf64bmip"
   4459       ;;
   4460     esac
   4461    else
   4462     case `/usr/bin/file conftest.$ac_objext` in
   4463     *32-bit*)
   4464       LD="${LD-ld} -32"
   4465       ;;
   4466     *N32*)
   4467       LD="${LD-ld} -n32"
   4468       ;;
   4469     *64-bit*)
   4470       LD="${LD-ld} -64"
   4471       ;;
   4472     esac
   4473    fi
   4474   fi
   4475   rm -rf conftest*
   4476   ;;
   4477 
   4478 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4479 s390*-*linux*|sparc*-*linux*)
   4480   # Find out which ABI we are using.
   4481   echo 'int i;' > conftest.$ac_ext
   4482   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4483   (eval $ac_compile) 2>&5
   4484   ac_status=$?
   4485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4486   (exit $ac_status); }; then
   4487     case `/usr/bin/file conftest.o` in
   4488     *32-bit*)
   4489       case $host in
   4490         x86_64-*kfreebsd*-gnu)
   4491           LD="${LD-ld} -m elf_i386_fbsd"
   4492           ;;
   4493         x86_64-*linux*)
   4494           LD="${LD-ld} -m elf_i386"
   4495           ;;
   4496         ppc64-*linux*|powerpc64-*linux*)
   4497           LD="${LD-ld} -m elf32ppclinux"
   4498           ;;
   4499         s390x-*linux*)
   4500           LD="${LD-ld} -m elf_s390"
   4501           ;;
   4502         sparc64-*linux*)
   4503           LD="${LD-ld} -m elf32_sparc"
   4504           ;;
   4505       esac
   4506       ;;
   4507     *64-bit*)
   4508       case $host in
   4509         x86_64-*kfreebsd*-gnu)
   4510           LD="${LD-ld} -m elf_x86_64_fbsd"
   4511           ;;
   4512         x86_64-*linux*)
   4513           LD="${LD-ld} -m elf_x86_64"
   4514           ;;
   4515         ppc*-*linux*|powerpc*-*linux*)
   4516           LD="${LD-ld} -m elf64ppc"
   4517           ;;
   4518         s390*-*linux*)
   4519           LD="${LD-ld} -m elf64_s390"
   4520           ;;
   4521         sparc*-*linux*)
   4522           LD="${LD-ld} -m elf64_sparc"
   4523           ;;
   4524       esac
   4525       ;;
   4526     esac
   4527   fi
   4528   rm -rf conftest*
   4529   ;;
   4530 
   4531 *-*-sco3.2v5*)
   4532   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4533   SAVE_CFLAGS="$CFLAGS"
   4534   CFLAGS="$CFLAGS -belf"
   4535   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4536 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4537 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4538   echo $ECHO_N "(cached) $ECHO_C" >&6
   4539 else
   4540   ac_ext=c
   4541 ac_cpp='$CPP $CPPFLAGS'
   4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4545 
   4546      cat >conftest.$ac_ext <<_ACEOF
   4547 /* confdefs.h.  */
   4548 _ACEOF
   4549 cat confdefs.h >>conftest.$ac_ext
   4550 cat >>conftest.$ac_ext <<_ACEOF
   4551 /* end confdefs.h.  */
   4552 
   4553 int
   4554 main ()
   4555 {
   4556 
   4557   ;
   4558   return 0;
   4559 }
   4560 _ACEOF
   4561 rm -f conftest.$ac_objext conftest$ac_exeext
   4562 if { (ac_try="$ac_link"
   4563 case "(($ac_try" in
   4564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4565   *) ac_try_echo=$ac_try;;
   4566 esac
   4567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4568   (eval "$ac_link") 2>conftest.er1
   4569   ac_status=$?
   4570   grep -v '^ *+' conftest.er1 >conftest.err
   4571   rm -f conftest.er1
   4572   cat conftest.err >&5
   4573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4574   (exit $ac_status); } && {
   4575 	 test -z "$ac_c_werror_flag" ||
   4576 	 test ! -s conftest.err
   4577        } && test -s conftest$ac_exeext &&
   4578        $as_test_x conftest$ac_exeext; then
   4579   lt_cv_cc_needs_belf=yes
   4580 else
   4581   echo "$as_me: failed program was:" >&5
   4582 sed 's/^/| /' conftest.$ac_ext >&5
   4583 
   4584 	lt_cv_cc_needs_belf=no
   4585 fi
   4586 
   4587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4588       conftest$ac_exeext conftest.$ac_ext
   4589      ac_ext=c
   4590 ac_cpp='$CPP $CPPFLAGS'
   4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4594 
   4595 fi
   4596 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4597 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4598   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4599     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4600     CFLAGS="$SAVE_CFLAGS"
   4601   fi
   4602   ;;
   4603 sparc*-*solaris*)
   4604   # Find out which ABI we are using.
   4605   echo 'int i;' > conftest.$ac_ext
   4606   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4607   (eval $ac_compile) 2>&5
   4608   ac_status=$?
   4609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4610   (exit $ac_status); }; then
   4611     case `/usr/bin/file conftest.o` in
   4612     *64-bit*)
   4613       case $lt_cv_prog_gnu_ld in
   4614       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4615       *)
   4616         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4617 	  LD="${LD-ld} -64"
   4618 	fi
   4619 	;;
   4620       esac
   4621       ;;
   4622     esac
   4623   fi
   4624   rm -rf conftest*
   4625   ;;
   4626 
   4627 
   4628 esac
   4629 
   4630 need_locks="$enable_libtool_lock"
   4631 
   4632 
   4633 ac_ext=c
   4634 ac_cpp='$CPP $CPPFLAGS'
   4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4638 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4639 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4640 # On Suns, sometimes $CPP names a directory.
   4641 if test -n "$CPP" && test -d "$CPP"; then
   4642   CPP=
   4643 fi
   4644 if test -z "$CPP"; then
   4645   if test "${ac_cv_prog_CPP+set}" = set; then
   4646   echo $ECHO_N "(cached) $ECHO_C" >&6
   4647 else
   4648       # Double quotes because CPP needs to be expanded
   4649     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4650     do
   4651       ac_preproc_ok=false
   4652 for ac_c_preproc_warn_flag in '' yes
   4653 do
   4654   # Use a header file that comes with gcc, so configuring glibc
   4655   # with a fresh cross-compiler works.
   4656   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4657   # <limits.h> exists even on freestanding compilers.
   4658   # On the NeXT, cc -E runs the code through the compiler's parser,
   4659   # not just through cpp. "Syntax error" is here to catch this case.
   4660   cat >conftest.$ac_ext <<_ACEOF
   4661 /* confdefs.h.  */
   4662 _ACEOF
   4663 cat confdefs.h >>conftest.$ac_ext
   4664 cat >>conftest.$ac_ext <<_ACEOF
   4665 /* end confdefs.h.  */
   4666 #ifdef __STDC__
   4667 # include <limits.h>
   4668 #else
   4669 # include <assert.h>
   4670 #endif
   4671 		     Syntax error
   4672 _ACEOF
   4673 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4674 case "(($ac_try" in
   4675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4676   *) ac_try_echo=$ac_try;;
   4677 esac
   4678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4679   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4680   ac_status=$?
   4681   grep -v '^ *+' conftest.er1 >conftest.err
   4682   rm -f conftest.er1
   4683   cat conftest.err >&5
   4684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4685   (exit $ac_status); } >/dev/null && {
   4686 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4687 	 test ! -s conftest.err
   4688        }; then
   4689   :
   4690 else
   4691   echo "$as_me: failed program was:" >&5
   4692 sed 's/^/| /' conftest.$ac_ext >&5
   4693 
   4694   # Broken: fails on valid input.
   4695 continue
   4696 fi
   4697 
   4698 rm -f conftest.err conftest.$ac_ext
   4699 
   4700   # OK, works on sane cases.  Now check whether nonexistent headers
   4701   # can be detected and how.
   4702   cat >conftest.$ac_ext <<_ACEOF
   4703 /* confdefs.h.  */
   4704 _ACEOF
   4705 cat confdefs.h >>conftest.$ac_ext
   4706 cat >>conftest.$ac_ext <<_ACEOF
   4707 /* end confdefs.h.  */
   4708 #include <ac_nonexistent.h>
   4709 _ACEOF
   4710 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4711 case "(($ac_try" in
   4712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4713   *) ac_try_echo=$ac_try;;
   4714 esac
   4715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4716   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4717   ac_status=$?
   4718   grep -v '^ *+' conftest.er1 >conftest.err
   4719   rm -f conftest.er1
   4720   cat conftest.err >&5
   4721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4722   (exit $ac_status); } >/dev/null && {
   4723 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4724 	 test ! -s conftest.err
   4725        }; then
   4726   # Broken: success on invalid input.
   4727 continue
   4728 else
   4729   echo "$as_me: failed program was:" >&5
   4730 sed 's/^/| /' conftest.$ac_ext >&5
   4731 
   4732   # Passes both tests.
   4733 ac_preproc_ok=:
   4734 break
   4735 fi
   4736 
   4737 rm -f conftest.err conftest.$ac_ext
   4738 
   4739 done
   4740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4741 rm -f conftest.err conftest.$ac_ext
   4742 if $ac_preproc_ok; then
   4743   break
   4744 fi
   4745 
   4746     done
   4747     ac_cv_prog_CPP=$CPP
   4748 
   4749 fi
   4750   CPP=$ac_cv_prog_CPP
   4751 else
   4752   ac_cv_prog_CPP=$CPP
   4753 fi
   4754 { echo "$as_me:$LINENO: result: $CPP" >&5
   4755 echo "${ECHO_T}$CPP" >&6; }
   4756 ac_preproc_ok=false
   4757 for ac_c_preproc_warn_flag in '' yes
   4758 do
   4759   # Use a header file that comes with gcc, so configuring glibc
   4760   # with a fresh cross-compiler works.
   4761   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4762   # <limits.h> exists even on freestanding compilers.
   4763   # On the NeXT, cc -E runs the code through the compiler's parser,
   4764   # not just through cpp. "Syntax error" is here to catch this case.
   4765   cat >conftest.$ac_ext <<_ACEOF
   4766 /* confdefs.h.  */
   4767 _ACEOF
   4768 cat confdefs.h >>conftest.$ac_ext
   4769 cat >>conftest.$ac_ext <<_ACEOF
   4770 /* end confdefs.h.  */
   4771 #ifdef __STDC__
   4772 # include <limits.h>
   4773 #else
   4774 # include <assert.h>
   4775 #endif
   4776 		     Syntax error
   4777 _ACEOF
   4778 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4779 case "(($ac_try" in
   4780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4781   *) ac_try_echo=$ac_try;;
   4782 esac
   4783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4784   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4785   ac_status=$?
   4786   grep -v '^ *+' conftest.er1 >conftest.err
   4787   rm -f conftest.er1
   4788   cat conftest.err >&5
   4789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4790   (exit $ac_status); } >/dev/null && {
   4791 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4792 	 test ! -s conftest.err
   4793        }; then
   4794   :
   4795 else
   4796   echo "$as_me: failed program was:" >&5
   4797 sed 's/^/| /' conftest.$ac_ext >&5
   4798 
   4799   # Broken: fails on valid input.
   4800 continue
   4801 fi
   4802 
   4803 rm -f conftest.err conftest.$ac_ext
   4804 
   4805   # OK, works on sane cases.  Now check whether nonexistent headers
   4806   # can be detected and how.
   4807   cat >conftest.$ac_ext <<_ACEOF
   4808 /* confdefs.h.  */
   4809 _ACEOF
   4810 cat confdefs.h >>conftest.$ac_ext
   4811 cat >>conftest.$ac_ext <<_ACEOF
   4812 /* end confdefs.h.  */
   4813 #include <ac_nonexistent.h>
   4814 _ACEOF
   4815 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4816 case "(($ac_try" in
   4817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4818   *) ac_try_echo=$ac_try;;
   4819 esac
   4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4822   ac_status=$?
   4823   grep -v '^ *+' conftest.er1 >conftest.err
   4824   rm -f conftest.er1
   4825   cat conftest.err >&5
   4826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4827   (exit $ac_status); } >/dev/null && {
   4828 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4829 	 test ! -s conftest.err
   4830        }; then
   4831   # Broken: success on invalid input.
   4832 continue
   4833 else
   4834   echo "$as_me: failed program was:" >&5
   4835 sed 's/^/| /' conftest.$ac_ext >&5
   4836 
   4837   # Passes both tests.
   4838 ac_preproc_ok=:
   4839 break
   4840 fi
   4841 
   4842 rm -f conftest.err conftest.$ac_ext
   4843 
   4844 done
   4845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4846 rm -f conftest.err conftest.$ac_ext
   4847 if $ac_preproc_ok; then
   4848   :
   4849 else
   4850   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4851 See \`config.log' for more details." >&5
   4852 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4853 See \`config.log' for more details." >&2;}
   4854    { (exit 1); exit 1; }; }
   4855 fi
   4856 
   4857 ac_ext=c
   4858 ac_cpp='$CPP $CPPFLAGS'
   4859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4862 
   4863 
   4864 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4865 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4866 if test "${ac_cv_header_stdc+set}" = set; then
   4867   echo $ECHO_N "(cached) $ECHO_C" >&6
   4868 else
   4869   cat >conftest.$ac_ext <<_ACEOF
   4870 /* confdefs.h.  */
   4871 _ACEOF
   4872 cat confdefs.h >>conftest.$ac_ext
   4873 cat >>conftest.$ac_ext <<_ACEOF
   4874 /* end confdefs.h.  */
   4875 #include <stdlib.h>
   4876 #include <stdarg.h>
   4877 #include <string.h>
   4878 #include <float.h>
   4879 
   4880 int
   4881 main ()
   4882 {
   4883 
   4884   ;
   4885   return 0;
   4886 }
   4887 _ACEOF
   4888 rm -f conftest.$ac_objext
   4889 if { (ac_try="$ac_compile"
   4890 case "(($ac_try" in
   4891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4892   *) ac_try_echo=$ac_try;;
   4893 esac
   4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4895   (eval "$ac_compile") 2>conftest.er1
   4896   ac_status=$?
   4897   grep -v '^ *+' conftest.er1 >conftest.err
   4898   rm -f conftest.er1
   4899   cat conftest.err >&5
   4900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4901   (exit $ac_status); } && {
   4902 	 test -z "$ac_c_werror_flag" ||
   4903 	 test ! -s conftest.err
   4904        } && test -s conftest.$ac_objext; then
   4905   ac_cv_header_stdc=yes
   4906 else
   4907   echo "$as_me: failed program was:" >&5
   4908 sed 's/^/| /' conftest.$ac_ext >&5
   4909 
   4910 	ac_cv_header_stdc=no
   4911 fi
   4912 
   4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4914 
   4915 if test $ac_cv_header_stdc = yes; then
   4916   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4917   cat >conftest.$ac_ext <<_ACEOF
   4918 /* confdefs.h.  */
   4919 _ACEOF
   4920 cat confdefs.h >>conftest.$ac_ext
   4921 cat >>conftest.$ac_ext <<_ACEOF
   4922 /* end confdefs.h.  */
   4923 #include <string.h>
   4924 
   4925 _ACEOF
   4926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4927   $EGREP "memchr" >/dev/null 2>&1; then
   4928   :
   4929 else
   4930   ac_cv_header_stdc=no
   4931 fi
   4932 rm -f conftest*
   4933 
   4934 fi
   4935 
   4936 if test $ac_cv_header_stdc = yes; then
   4937   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4938   cat >conftest.$ac_ext <<_ACEOF
   4939 /* confdefs.h.  */
   4940 _ACEOF
   4941 cat confdefs.h >>conftest.$ac_ext
   4942 cat >>conftest.$ac_ext <<_ACEOF
   4943 /* end confdefs.h.  */
   4944 #include <stdlib.h>
   4945 
   4946 _ACEOF
   4947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4948   $EGREP "free" >/dev/null 2>&1; then
   4949   :
   4950 else
   4951   ac_cv_header_stdc=no
   4952 fi
   4953 rm -f conftest*
   4954 
   4955 fi
   4956 
   4957 if test $ac_cv_header_stdc = yes; then
   4958   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4959   if test "$cross_compiling" = yes; then
   4960   :
   4961 else
   4962   cat >conftest.$ac_ext <<_ACEOF
   4963 /* confdefs.h.  */
   4964 _ACEOF
   4965 cat confdefs.h >>conftest.$ac_ext
   4966 cat >>conftest.$ac_ext <<_ACEOF
   4967 /* end confdefs.h.  */
   4968 #include <ctype.h>
   4969 #include <stdlib.h>
   4970 #if ((' ' & 0x0FF) == 0x020)
   4971 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4972 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4973 #else
   4974 # define ISLOWER(c) \
   4975 		   (('a' <= (c) && (c) <= 'i') \
   4976 		     || ('j' <= (c) && (c) <= 'r') \
   4977 		     || ('s' <= (c) && (c) <= 'z'))
   4978 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4979 #endif
   4980 
   4981 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4982 int
   4983 main ()
   4984 {
   4985   int i;
   4986   for (i = 0; i < 256; i++)
   4987     if (XOR (islower (i), ISLOWER (i))
   4988 	|| toupper (i) != TOUPPER (i))
   4989       return 2;
   4990   return 0;
   4991 }
   4992 _ACEOF
   4993 rm -f conftest$ac_exeext
   4994 if { (ac_try="$ac_link"
   4995 case "(($ac_try" in
   4996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4997   *) ac_try_echo=$ac_try;;
   4998 esac
   4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5000   (eval "$ac_link") 2>&5
   5001   ac_status=$?
   5002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5003   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5004   { (case "(($ac_try" in
   5005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5006   *) ac_try_echo=$ac_try;;
   5007 esac
   5008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5009   (eval "$ac_try") 2>&5
   5010   ac_status=$?
   5011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5012   (exit $ac_status); }; }; then
   5013   :
   5014 else
   5015   echo "$as_me: program exited with status $ac_status" >&5
   5016 echo "$as_me: failed program was:" >&5
   5017 sed 's/^/| /' conftest.$ac_ext >&5
   5018 
   5019 ( exit $ac_status )
   5020 ac_cv_header_stdc=no
   5021 fi
   5022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5023 fi
   5024 
   5025 
   5026 fi
   5027 fi
   5028 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5029 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5030 if test $ac_cv_header_stdc = yes; then
   5031 
   5032 cat >>confdefs.h <<\_ACEOF
   5033 #define STDC_HEADERS 1
   5034 _ACEOF
   5035 
   5036 fi
   5037 
   5038 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5049 		  inttypes.h stdint.h unistd.h
   5050 do
   5051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5055   echo $ECHO_N "(cached) $ECHO_C" >&6
   5056 else
   5057   cat >conftest.$ac_ext <<_ACEOF
   5058 /* confdefs.h.  */
   5059 _ACEOF
   5060 cat confdefs.h >>conftest.$ac_ext
   5061 cat >>conftest.$ac_ext <<_ACEOF
   5062 /* end confdefs.h.  */
   5063 $ac_includes_default
   5064 
   5065 #include <$ac_header>
   5066 _ACEOF
   5067 rm -f conftest.$ac_objext
   5068 if { (ac_try="$ac_compile"
   5069 case "(($ac_try" in
   5070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5071   *) ac_try_echo=$ac_try;;
   5072 esac
   5073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5074   (eval "$ac_compile") 2>conftest.er1
   5075   ac_status=$?
   5076   grep -v '^ *+' conftest.er1 >conftest.err
   5077   rm -f conftest.er1
   5078   cat conftest.err >&5
   5079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5080   (exit $ac_status); } && {
   5081 	 test -z "$ac_c_werror_flag" ||
   5082 	 test ! -s conftest.err
   5083        } && test -s conftest.$ac_objext; then
   5084   eval "$as_ac_Header=yes"
   5085 else
   5086   echo "$as_me: failed program was:" >&5
   5087 sed 's/^/| /' conftest.$ac_ext >&5
   5088 
   5089 	eval "$as_ac_Header=no"
   5090 fi
   5091 
   5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5093 fi
   5094 ac_res=`eval echo '${'$as_ac_Header'}'`
   5095 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5096 echo "${ECHO_T}$ac_res" >&6; }
   5097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5098   cat >>confdefs.h <<_ACEOF
   5099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5100 _ACEOF
   5101 
   5102 fi
   5103 
   5104 done
   5105 
   5106 
   5107 
   5108 for ac_header in dlfcn.h
   5109 do
   5110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5112   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5115   echo $ECHO_N "(cached) $ECHO_C" >&6
   5116 fi
   5117 ac_res=`eval echo '${'$as_ac_Header'}'`
   5118 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5119 echo "${ECHO_T}$ac_res" >&6; }
   5120 else
   5121   # Is the header compilable?
   5122 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5124 cat >conftest.$ac_ext <<_ACEOF
   5125 /* confdefs.h.  */
   5126 _ACEOF
   5127 cat confdefs.h >>conftest.$ac_ext
   5128 cat >>conftest.$ac_ext <<_ACEOF
   5129 /* end confdefs.h.  */
   5130 $ac_includes_default
   5131 #include <$ac_header>
   5132 _ACEOF
   5133 rm -f conftest.$ac_objext
   5134 if { (ac_try="$ac_compile"
   5135 case "(($ac_try" in
   5136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5137   *) ac_try_echo=$ac_try;;
   5138 esac
   5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5140   (eval "$ac_compile") 2>conftest.er1
   5141   ac_status=$?
   5142   grep -v '^ *+' conftest.er1 >conftest.err
   5143   rm -f conftest.er1
   5144   cat conftest.err >&5
   5145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5146   (exit $ac_status); } && {
   5147 	 test -z "$ac_c_werror_flag" ||
   5148 	 test ! -s conftest.err
   5149        } && test -s conftest.$ac_objext; then
   5150   ac_header_compiler=yes
   5151 else
   5152   echo "$as_me: failed program was:" >&5
   5153 sed 's/^/| /' conftest.$ac_ext >&5
   5154 
   5155 	ac_header_compiler=no
   5156 fi
   5157 
   5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5160 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5161 
   5162 # Is the header present?
   5163 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5165 cat >conftest.$ac_ext <<_ACEOF
   5166 /* confdefs.h.  */
   5167 _ACEOF
   5168 cat confdefs.h >>conftest.$ac_ext
   5169 cat >>conftest.$ac_ext <<_ACEOF
   5170 /* end confdefs.h.  */
   5171 #include <$ac_header>
   5172 _ACEOF
   5173 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5174 case "(($ac_try" in
   5175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5176   *) ac_try_echo=$ac_try;;
   5177 esac
   5178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5179   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5180   ac_status=$?
   5181   grep -v '^ *+' conftest.er1 >conftest.err
   5182   rm -f conftest.er1
   5183   cat conftest.err >&5
   5184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5185   (exit $ac_status); } >/dev/null && {
   5186 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5187 	 test ! -s conftest.err
   5188        }; then
   5189   ac_header_preproc=yes
   5190 else
   5191   echo "$as_me: failed program was:" >&5
   5192 sed 's/^/| /' conftest.$ac_ext >&5
   5193 
   5194   ac_header_preproc=no
   5195 fi
   5196 
   5197 rm -f conftest.err conftest.$ac_ext
   5198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5199 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5200 
   5201 # So?  What about this header?
   5202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5203   yes:no: )
   5204     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5206     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5208     ac_header_preproc=yes
   5209     ;;
   5210   no:yes:* )
   5211     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5213     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5214 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5215     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5217     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5218 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5219     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5221     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5223     ( cat <<\_ASBOX
   5224 ## ---------------------------------------------------------------------- ##
   5225 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5226 ## ---------------------------------------------------------------------- ##
   5227 _ASBOX
   5228      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5229     ;;
   5230 esac
   5231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5234   echo $ECHO_N "(cached) $ECHO_C" >&6
   5235 else
   5236   eval "$as_ac_Header=\$ac_header_preproc"
   5237 fi
   5238 ac_res=`eval echo '${'$as_ac_Header'}'`
   5239 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5240 echo "${ECHO_T}$ac_res" >&6; }
   5241 
   5242 fi
   5243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5244   cat >>confdefs.h <<_ACEOF
   5245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5246 _ACEOF
   5247 
   5248 fi
   5249 
   5250 done
   5251 
   5252 ac_ext=cpp
   5253 ac_cpp='$CXXCPP $CPPFLAGS'
   5254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5257 if test -z "$CXX"; then
   5258   if test -n "$CCC"; then
   5259     CXX=$CCC
   5260   else
   5261     if test -n "$ac_tool_prefix"; then
   5262   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5263   do
   5264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5268 if test "${ac_cv_prog_CXX+set}" = set; then
   5269   echo $ECHO_N "(cached) $ECHO_C" >&6
   5270 else
   5271   if test -n "$CXX"; then
   5272   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5273 else
   5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5275 for as_dir in $PATH
   5276 do
   5277   IFS=$as_save_IFS
   5278   test -z "$as_dir" && as_dir=.
   5279   for ac_exec_ext in '' $ac_executable_extensions; do
   5280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5281     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5282     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5283     break 2
   5284   fi
   5285 done
   5286 done
   5287 IFS=$as_save_IFS
   5288 
   5289 fi
   5290 fi
   5291 CXX=$ac_cv_prog_CXX
   5292 if test -n "$CXX"; then
   5293   { echo "$as_me:$LINENO: result: $CXX" >&5
   5294 echo "${ECHO_T}$CXX" >&6; }
   5295 else
   5296   { echo "$as_me:$LINENO: result: no" >&5
   5297 echo "${ECHO_T}no" >&6; }
   5298 fi
   5299 
   5300 
   5301     test -n "$CXX" && break
   5302   done
   5303 fi
   5304 if test -z "$CXX"; then
   5305   ac_ct_CXX=$CXX
   5306   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5307 do
   5308   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5309 set dummy $ac_prog; ac_word=$2
   5310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5312 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5313   echo $ECHO_N "(cached) $ECHO_C" >&6
   5314 else
   5315   if test -n "$ac_ct_CXX"; then
   5316   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5317 else
   5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5319 for as_dir in $PATH
   5320 do
   5321   IFS=$as_save_IFS
   5322   test -z "$as_dir" && as_dir=.
   5323   for ac_exec_ext in '' $ac_executable_extensions; do
   5324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5325     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5326     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5327     break 2
   5328   fi
   5329 done
   5330 done
   5331 IFS=$as_save_IFS
   5332 
   5333 fi
   5334 fi
   5335 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5336 if test -n "$ac_ct_CXX"; then
   5337   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5338 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5339 else
   5340   { echo "$as_me:$LINENO: result: no" >&5
   5341 echo "${ECHO_T}no" >&6; }
   5342 fi
   5343 
   5344 
   5345   test -n "$ac_ct_CXX" && break
   5346 done
   5347 
   5348   if test "x$ac_ct_CXX" = x; then
   5349     CXX="g++"
   5350   else
   5351     case $cross_compiling:$ac_tool_warned in
   5352 yes:)
   5353 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5354 whose name does not start with the host triplet.  If you think this
   5355 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5356 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5357 whose name does not start with the host triplet.  If you think this
   5358 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5359 ac_tool_warned=yes ;;
   5360 esac
   5361     CXX=$ac_ct_CXX
   5362   fi
   5363 fi
   5364 
   5365   fi
   5366 fi
   5367 # Provide some information about the compiler.
   5368 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5369 ac_compiler=`set X $ac_compile; echo $2`
   5370 { (ac_try="$ac_compiler --version >&5"
   5371 case "(($ac_try" in
   5372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5373   *) ac_try_echo=$ac_try;;
   5374 esac
   5375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5376   (eval "$ac_compiler --version >&5") 2>&5
   5377   ac_status=$?
   5378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5379   (exit $ac_status); }
   5380 { (ac_try="$ac_compiler -v >&5"
   5381 case "(($ac_try" in
   5382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5383   *) ac_try_echo=$ac_try;;
   5384 esac
   5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5386   (eval "$ac_compiler -v >&5") 2>&5
   5387   ac_status=$?
   5388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5389   (exit $ac_status); }
   5390 { (ac_try="$ac_compiler -V >&5"
   5391 case "(($ac_try" in
   5392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5393   *) ac_try_echo=$ac_try;;
   5394 esac
   5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5396   (eval "$ac_compiler -V >&5") 2>&5
   5397   ac_status=$?
   5398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5399   (exit $ac_status); }
   5400 
   5401 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5402 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5403 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5404   echo $ECHO_N "(cached) $ECHO_C" >&6
   5405 else
   5406   cat >conftest.$ac_ext <<_ACEOF
   5407 /* confdefs.h.  */
   5408 _ACEOF
   5409 cat confdefs.h >>conftest.$ac_ext
   5410 cat >>conftest.$ac_ext <<_ACEOF
   5411 /* end confdefs.h.  */
   5412 
   5413 int
   5414 main ()
   5415 {
   5416 #ifndef __GNUC__
   5417        choke me
   5418 #endif
   5419 
   5420   ;
   5421   return 0;
   5422 }
   5423 _ACEOF
   5424 rm -f conftest.$ac_objext
   5425 if { (ac_try="$ac_compile"
   5426 case "(($ac_try" in
   5427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5428   *) ac_try_echo=$ac_try;;
   5429 esac
   5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5431   (eval "$ac_compile") 2>conftest.er1
   5432   ac_status=$?
   5433   grep -v '^ *+' conftest.er1 >conftest.err
   5434   rm -f conftest.er1
   5435   cat conftest.err >&5
   5436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5437   (exit $ac_status); } && {
   5438 	 test -z "$ac_cxx_werror_flag" ||
   5439 	 test ! -s conftest.err
   5440        } && test -s conftest.$ac_objext; then
   5441   ac_compiler_gnu=yes
   5442 else
   5443   echo "$as_me: failed program was:" >&5
   5444 sed 's/^/| /' conftest.$ac_ext >&5
   5445 
   5446 	ac_compiler_gnu=no
   5447 fi
   5448 
   5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5450 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5451 
   5452 fi
   5453 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5454 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5455 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5456 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5457 ac_save_CXXFLAGS=$CXXFLAGS
   5458 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5459 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5460 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5461   echo $ECHO_N "(cached) $ECHO_C" >&6
   5462 else
   5463   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5464    ac_cxx_werror_flag=yes
   5465    ac_cv_prog_cxx_g=no
   5466    CXXFLAGS="-g"
   5467    cat >conftest.$ac_ext <<_ACEOF
   5468 /* confdefs.h.  */
   5469 _ACEOF
   5470 cat confdefs.h >>conftest.$ac_ext
   5471 cat >>conftest.$ac_ext <<_ACEOF
   5472 /* end confdefs.h.  */
   5473 
   5474 int
   5475 main ()
   5476 {
   5477 
   5478   ;
   5479   return 0;
   5480 }
   5481 _ACEOF
   5482 rm -f conftest.$ac_objext
   5483 if { (ac_try="$ac_compile"
   5484 case "(($ac_try" in
   5485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5486   *) ac_try_echo=$ac_try;;
   5487 esac
   5488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5489   (eval "$ac_compile") 2>conftest.er1
   5490   ac_status=$?
   5491   grep -v '^ *+' conftest.er1 >conftest.err
   5492   rm -f conftest.er1
   5493   cat conftest.err >&5
   5494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5495   (exit $ac_status); } && {
   5496 	 test -z "$ac_cxx_werror_flag" ||
   5497 	 test ! -s conftest.err
   5498        } && test -s conftest.$ac_objext; then
   5499   ac_cv_prog_cxx_g=yes
   5500 else
   5501   echo "$as_me: failed program was:" >&5
   5502 sed 's/^/| /' conftest.$ac_ext >&5
   5503 
   5504 	CXXFLAGS=""
   5505       cat >conftest.$ac_ext <<_ACEOF
   5506 /* confdefs.h.  */
   5507 _ACEOF
   5508 cat confdefs.h >>conftest.$ac_ext
   5509 cat >>conftest.$ac_ext <<_ACEOF
   5510 /* end confdefs.h.  */
   5511 
   5512 int
   5513 main ()
   5514 {
   5515 
   5516   ;
   5517   return 0;
   5518 }
   5519 _ACEOF
   5520 rm -f conftest.$ac_objext
   5521 if { (ac_try="$ac_compile"
   5522 case "(($ac_try" in
   5523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5524   *) ac_try_echo=$ac_try;;
   5525 esac
   5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5527   (eval "$ac_compile") 2>conftest.er1
   5528   ac_status=$?
   5529   grep -v '^ *+' conftest.er1 >conftest.err
   5530   rm -f conftest.er1
   5531   cat conftest.err >&5
   5532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5533   (exit $ac_status); } && {
   5534 	 test -z "$ac_cxx_werror_flag" ||
   5535 	 test ! -s conftest.err
   5536        } && test -s conftest.$ac_objext; then
   5537   :
   5538 else
   5539   echo "$as_me: failed program was:" >&5
   5540 sed 's/^/| /' conftest.$ac_ext >&5
   5541 
   5542 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5543 	 CXXFLAGS="-g"
   5544 	 cat >conftest.$ac_ext <<_ACEOF
   5545 /* confdefs.h.  */
   5546 _ACEOF
   5547 cat confdefs.h >>conftest.$ac_ext
   5548 cat >>conftest.$ac_ext <<_ACEOF
   5549 /* end confdefs.h.  */
   5550 
   5551 int
   5552 main ()
   5553 {
   5554 
   5555   ;
   5556   return 0;
   5557 }
   5558 _ACEOF
   5559 rm -f conftest.$ac_objext
   5560 if { (ac_try="$ac_compile"
   5561 case "(($ac_try" in
   5562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5563   *) ac_try_echo=$ac_try;;
   5564 esac
   5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5566   (eval "$ac_compile") 2>conftest.er1
   5567   ac_status=$?
   5568   grep -v '^ *+' conftest.er1 >conftest.err
   5569   rm -f conftest.er1
   5570   cat conftest.err >&5
   5571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5572   (exit $ac_status); } && {
   5573 	 test -z "$ac_cxx_werror_flag" ||
   5574 	 test ! -s conftest.err
   5575        } && test -s conftest.$ac_objext; then
   5576   ac_cv_prog_cxx_g=yes
   5577 else
   5578   echo "$as_me: failed program was:" >&5
   5579 sed 's/^/| /' conftest.$ac_ext >&5
   5580 
   5581 
   5582 fi
   5583 
   5584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5585 fi
   5586 
   5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5588 fi
   5589 
   5590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5591    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5592 fi
   5593 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5594 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5595 if test "$ac_test_CXXFLAGS" = set; then
   5596   CXXFLAGS=$ac_save_CXXFLAGS
   5597 elif test $ac_cv_prog_cxx_g = yes; then
   5598   if test "$GXX" = yes; then
   5599     CXXFLAGS="-g -O2"
   5600   else
   5601     CXXFLAGS="-g"
   5602   fi
   5603 else
   5604   if test "$GXX" = yes; then
   5605     CXXFLAGS="-O2"
   5606   else
   5607     CXXFLAGS=
   5608   fi
   5609 fi
   5610 ac_ext=cpp
   5611 ac_cpp='$CXXCPP $CPPFLAGS'
   5612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5615 
   5616 depcc="$CXX"  am_compiler_list=
   5617 
   5618 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5619 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5620 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5621   echo $ECHO_N "(cached) $ECHO_C" >&6
   5622 else
   5623   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5624   # We make a subdir and do the tests there.  Otherwise we can end up
   5625   # making bogus files that we don't know about and never remove.  For
   5626   # instance it was reported that on HP-UX the gcc test will end up
   5627   # making a dummy file named `D' -- because `-MD' means `put the output
   5628   # in D'.
   5629   mkdir conftest.dir
   5630   # Copy depcomp to subdir because otherwise we won't find it if we're
   5631   # using a relative directory.
   5632   cp "$am_depcomp" conftest.dir
   5633   cd conftest.dir
   5634   # We will build objects and dependencies in a subdirectory because
   5635   # it helps to detect inapplicable dependency modes.  For instance
   5636   # both Tru64's cc and ICC support -MD to output dependencies as a
   5637   # side effect of compilation, but ICC will put the dependencies in
   5638   # the current directory while Tru64 will put them in the object
   5639   # directory.
   5640   mkdir sub
   5641 
   5642   am_cv_CXX_dependencies_compiler_type=none
   5643   if test "$am_compiler_list" = ""; then
   5644      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5645   fi
   5646   for depmode in $am_compiler_list; do
   5647     # Setup a source with many dependencies, because some compilers
   5648     # like to wrap large dependency lists on column 80 (with \), and
   5649     # we should not choose a depcomp mode which is confused by this.
   5650     #
   5651     # We need to recreate these files for each test, as the compiler may
   5652     # overwrite some of them when testing with obscure command lines.
   5653     # This happens at least with the AIX C compiler.
   5654     : > sub/conftest.c
   5655     for i in 1 2 3 4 5 6; do
   5656       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5657       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5658       # Solaris 8's {/usr,}/bin/sh.
   5659       touch sub/conftst$i.h
   5660     done
   5661     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5662 
   5663     case $depmode in
   5664     nosideeffect)
   5665       # after this tag, mechanisms are not by side-effect, so they'll
   5666       # only be used when explicitly requested
   5667       if test "x$enable_dependency_tracking" = xyes; then
   5668 	continue
   5669       else
   5670 	break
   5671       fi
   5672       ;;
   5673     none) break ;;
   5674     esac
   5675     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5676     # mode.  It turns out that the SunPro C++ compiler does not properly
   5677     # handle `-M -o', and we need to detect this.
   5678     if depmode=$depmode \
   5679        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5680        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5681        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5682          >/dev/null 2>conftest.err &&
   5683        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5684        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5685        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5686        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5687       # icc doesn't choke on unknown options, it will just issue warnings
   5688       # or remarks (even with -Werror).  So we grep stderr for any message
   5689       # that says an option was ignored or not supported.
   5690       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5691       #   icc: Command line warning: ignoring option '-M'; no argument required
   5692       # The diagnosis changed in icc 8.0:
   5693       #   icc: Command line remark: option '-MP' not supported
   5694       if (grep 'ignoring option' conftest.err ||
   5695           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5696         am_cv_CXX_dependencies_compiler_type=$depmode
   5697         break
   5698       fi
   5699     fi
   5700   done
   5701 
   5702   cd ..
   5703   rm -rf conftest.dir
   5704 else
   5705   am_cv_CXX_dependencies_compiler_type=none
   5706 fi
   5707 
   5708 fi
   5709 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5710 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5711 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5712 
   5713  if
   5714   test "x$enable_dependency_tracking" != xno \
   5715   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5716   am__fastdepCXX_TRUE=
   5717   am__fastdepCXX_FALSE='#'
   5718 else
   5719   am__fastdepCXX_TRUE='#'
   5720   am__fastdepCXX_FALSE=
   5721 fi
   5722 
   5723 
   5724 
   5725 
   5726 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5727     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5728     (test "X$CXX" != "Xg++"))) ; then
   5729   ac_ext=cpp
   5730 ac_cpp='$CXXCPP $CPPFLAGS'
   5731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5734 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5735 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5736 if test -z "$CXXCPP"; then
   5737   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5738   echo $ECHO_N "(cached) $ECHO_C" >&6
   5739 else
   5740       # Double quotes because CXXCPP needs to be expanded
   5741     for CXXCPP in "$CXX -E" "/lib/cpp"
   5742     do
   5743       ac_preproc_ok=false
   5744 for ac_cxx_preproc_warn_flag in '' yes
   5745 do
   5746   # Use a header file that comes with gcc, so configuring glibc
   5747   # with a fresh cross-compiler works.
   5748   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5749   # <limits.h> exists even on freestanding compilers.
   5750   # On the NeXT, cc -E runs the code through the compiler's parser,
   5751   # not just through cpp. "Syntax error" is here to catch this case.
   5752   cat >conftest.$ac_ext <<_ACEOF
   5753 /* confdefs.h.  */
   5754 _ACEOF
   5755 cat confdefs.h >>conftest.$ac_ext
   5756 cat >>conftest.$ac_ext <<_ACEOF
   5757 /* end confdefs.h.  */
   5758 #ifdef __STDC__
   5759 # include <limits.h>
   5760 #else
   5761 # include <assert.h>
   5762 #endif
   5763 		     Syntax error
   5764 _ACEOF
   5765 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5766 case "(($ac_try" in
   5767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5768   *) ac_try_echo=$ac_try;;
   5769 esac
   5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5771   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5772   ac_status=$?
   5773   grep -v '^ *+' conftest.er1 >conftest.err
   5774   rm -f conftest.er1
   5775   cat conftest.err >&5
   5776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5777   (exit $ac_status); } >/dev/null && {
   5778 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5779 	 test ! -s conftest.err
   5780        }; then
   5781   :
   5782 else
   5783   echo "$as_me: failed program was:" >&5
   5784 sed 's/^/| /' conftest.$ac_ext >&5
   5785 
   5786   # Broken: fails on valid input.
   5787 continue
   5788 fi
   5789 
   5790 rm -f conftest.err conftest.$ac_ext
   5791 
   5792   # OK, works on sane cases.  Now check whether nonexistent headers
   5793   # can be detected and how.
   5794   cat >conftest.$ac_ext <<_ACEOF
   5795 /* confdefs.h.  */
   5796 _ACEOF
   5797 cat confdefs.h >>conftest.$ac_ext
   5798 cat >>conftest.$ac_ext <<_ACEOF
   5799 /* end confdefs.h.  */
   5800 #include <ac_nonexistent.h>
   5801 _ACEOF
   5802 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5803 case "(($ac_try" in
   5804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5805   *) ac_try_echo=$ac_try;;
   5806 esac
   5807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5808   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5809   ac_status=$?
   5810   grep -v '^ *+' conftest.er1 >conftest.err
   5811   rm -f conftest.er1
   5812   cat conftest.err >&5
   5813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5814   (exit $ac_status); } >/dev/null && {
   5815 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5816 	 test ! -s conftest.err
   5817        }; then
   5818   # Broken: success on invalid input.
   5819 continue
   5820 else
   5821   echo "$as_me: failed program was:" >&5
   5822 sed 's/^/| /' conftest.$ac_ext >&5
   5823 
   5824   # Passes both tests.
   5825 ac_preproc_ok=:
   5826 break
   5827 fi
   5828 
   5829 rm -f conftest.err conftest.$ac_ext
   5830 
   5831 done
   5832 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5833 rm -f conftest.err conftest.$ac_ext
   5834 if $ac_preproc_ok; then
   5835   break
   5836 fi
   5837 
   5838     done
   5839     ac_cv_prog_CXXCPP=$CXXCPP
   5840 
   5841 fi
   5842   CXXCPP=$ac_cv_prog_CXXCPP
   5843 else
   5844   ac_cv_prog_CXXCPP=$CXXCPP
   5845 fi
   5846 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5847 echo "${ECHO_T}$CXXCPP" >&6; }
   5848 ac_preproc_ok=false
   5849 for ac_cxx_preproc_warn_flag in '' yes
   5850 do
   5851   # Use a header file that comes with gcc, so configuring glibc
   5852   # with a fresh cross-compiler works.
   5853   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5854   # <limits.h> exists even on freestanding compilers.
   5855   # On the NeXT, cc -E runs the code through the compiler's parser,
   5856   # not just through cpp. "Syntax error" is here to catch this case.
   5857   cat >conftest.$ac_ext <<_ACEOF
   5858 /* confdefs.h.  */
   5859 _ACEOF
   5860 cat confdefs.h >>conftest.$ac_ext
   5861 cat >>conftest.$ac_ext <<_ACEOF
   5862 /* end confdefs.h.  */
   5863 #ifdef __STDC__
   5864 # include <limits.h>
   5865 #else
   5866 # include <assert.h>
   5867 #endif
   5868 		     Syntax error
   5869 _ACEOF
   5870 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5871 case "(($ac_try" in
   5872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5873   *) ac_try_echo=$ac_try;;
   5874 esac
   5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5876   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5877   ac_status=$?
   5878   grep -v '^ *+' conftest.er1 >conftest.err
   5879   rm -f conftest.er1
   5880   cat conftest.err >&5
   5881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5882   (exit $ac_status); } >/dev/null && {
   5883 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5884 	 test ! -s conftest.err
   5885        }; then
   5886   :
   5887 else
   5888   echo "$as_me: failed program was:" >&5
   5889 sed 's/^/| /' conftest.$ac_ext >&5
   5890 
   5891   # Broken: fails on valid input.
   5892 continue
   5893 fi
   5894 
   5895 rm -f conftest.err conftest.$ac_ext
   5896 
   5897   # OK, works on sane cases.  Now check whether nonexistent headers
   5898   # can be detected and how.
   5899   cat >conftest.$ac_ext <<_ACEOF
   5900 /* confdefs.h.  */
   5901 _ACEOF
   5902 cat confdefs.h >>conftest.$ac_ext
   5903 cat >>conftest.$ac_ext <<_ACEOF
   5904 /* end confdefs.h.  */
   5905 #include <ac_nonexistent.h>
   5906 _ACEOF
   5907 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5908 case "(($ac_try" in
   5909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5910   *) ac_try_echo=$ac_try;;
   5911 esac
   5912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5913   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5914   ac_status=$?
   5915   grep -v '^ *+' conftest.er1 >conftest.err
   5916   rm -f conftest.er1
   5917   cat conftest.err >&5
   5918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5919   (exit $ac_status); } >/dev/null && {
   5920 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5921 	 test ! -s conftest.err
   5922        }; then
   5923   # Broken: success on invalid input.
   5924 continue
   5925 else
   5926   echo "$as_me: failed program was:" >&5
   5927 sed 's/^/| /' conftest.$ac_ext >&5
   5928 
   5929   # Passes both tests.
   5930 ac_preproc_ok=:
   5931 break
   5932 fi
   5933 
   5934 rm -f conftest.err conftest.$ac_ext
   5935 
   5936 done
   5937 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5938 rm -f conftest.err conftest.$ac_ext
   5939 if $ac_preproc_ok; then
   5940   :
   5941 else
   5942   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5943 See \`config.log' for more details." >&5
   5944 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5945 See \`config.log' for more details." >&2;}
   5946    { (exit 1); exit 1; }; }
   5947 fi
   5948 
   5949 ac_ext=cpp
   5950 ac_cpp='$CXXCPP $CPPFLAGS'
   5951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5954 
   5955 fi
   5956 
   5957 
   5958 ac_ext=f
   5959 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5960 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5961 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5962 if test -n "$ac_tool_prefix"; then
   5963   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
   5964   do
   5965     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5969 if test "${ac_cv_prog_F77+set}" = set; then
   5970   echo $ECHO_N "(cached) $ECHO_C" >&6
   5971 else
   5972   if test -n "$F77"; then
   5973   ac_cv_prog_F77="$F77" # Let the user override the test.
   5974 else
   5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5976 for as_dir in $PATH
   5977 do
   5978   IFS=$as_save_IFS
   5979   test -z "$as_dir" && as_dir=.
   5980   for ac_exec_ext in '' $ac_executable_extensions; do
   5981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5982     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5984     break 2
   5985   fi
   5986 done
   5987 done
   5988 IFS=$as_save_IFS
   5989 
   5990 fi
   5991 fi
   5992 F77=$ac_cv_prog_F77
   5993 if test -n "$F77"; then
   5994   { echo "$as_me:$LINENO: result: $F77" >&5
   5995 echo "${ECHO_T}$F77" >&6; }
   5996 else
   5997   { echo "$as_me:$LINENO: result: no" >&5
   5998 echo "${ECHO_T}no" >&6; }
   5999 fi
   6000 
   6001 
   6002     test -n "$F77" && break
   6003   done
   6004 fi
   6005 if test -z "$F77"; then
   6006   ac_ct_F77=$F77
   6007   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
   6008 do
   6009   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6010 set dummy $ac_prog; ac_word=$2
   6011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6013 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6014   echo $ECHO_N "(cached) $ECHO_C" >&6
   6015 else
   6016   if test -n "$ac_ct_F77"; then
   6017   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6018 else
   6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6020 for as_dir in $PATH
   6021 do
   6022   IFS=$as_save_IFS
   6023   test -z "$as_dir" && as_dir=.
   6024   for ac_exec_ext in '' $ac_executable_extensions; do
   6025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6026     ac_cv_prog_ac_ct_F77="$ac_prog"
   6027     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6028     break 2
   6029   fi
   6030 done
   6031 done
   6032 IFS=$as_save_IFS
   6033 
   6034 fi
   6035 fi
   6036 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6037 if test -n "$ac_ct_F77"; then
   6038   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6039 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6040 else
   6041   { echo "$as_me:$LINENO: result: no" >&5
   6042 echo "${ECHO_T}no" >&6; }
   6043 fi
   6044 
   6045 
   6046   test -n "$ac_ct_F77" && break
   6047 done
   6048 
   6049   if test "x$ac_ct_F77" = x; then
   6050     F77=""
   6051   else
   6052     case $cross_compiling:$ac_tool_warned in
   6053 yes:)
   6054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6055 whose name does not start with the host triplet.  If you think this
   6056 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6058 whose name does not start with the host triplet.  If you think this
   6059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6060 ac_tool_warned=yes ;;
   6061 esac
   6062     F77=$ac_ct_F77
   6063   fi
   6064 fi
   6065 
   6066 
   6067 # Provide some information about the compiler.
   6068 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6069 ac_compiler=`set X $ac_compile; echo $2`
   6070 { (ac_try="$ac_compiler --version >&5"
   6071 case "(($ac_try" in
   6072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6073   *) ac_try_echo=$ac_try;;
   6074 esac
   6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6076   (eval "$ac_compiler --version >&5") 2>&5
   6077   ac_status=$?
   6078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6079   (exit $ac_status); }
   6080 { (ac_try="$ac_compiler -v >&5"
   6081 case "(($ac_try" in
   6082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6083   *) ac_try_echo=$ac_try;;
   6084 esac
   6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6086   (eval "$ac_compiler -v >&5") 2>&5
   6087   ac_status=$?
   6088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6089   (exit $ac_status); }
   6090 { (ac_try="$ac_compiler -V >&5"
   6091 case "(($ac_try" in
   6092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6093   *) ac_try_echo=$ac_try;;
   6094 esac
   6095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6096   (eval "$ac_compiler -V >&5") 2>&5
   6097   ac_status=$?
   6098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6099   (exit $ac_status); }
   6100 rm -f a.out
   6101 
   6102 # If we don't use `.F' as extension, the preprocessor is not run on the
   6103 # input file.  (Note that this only needs to work for GNU compilers.)
   6104 ac_save_ext=$ac_ext
   6105 ac_ext=F
   6106 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6107 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6108 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6109   echo $ECHO_N "(cached) $ECHO_C" >&6
   6110 else
   6111   cat >conftest.$ac_ext <<_ACEOF
   6112       program main
   6113 #ifndef __GNUC__
   6114        choke me
   6115 #endif
   6116 
   6117       end
   6118 _ACEOF
   6119 rm -f conftest.$ac_objext
   6120 if { (ac_try="$ac_compile"
   6121 case "(($ac_try" in
   6122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6123   *) ac_try_echo=$ac_try;;
   6124 esac
   6125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6126   (eval "$ac_compile") 2>conftest.er1
   6127   ac_status=$?
   6128   grep -v '^ *+' conftest.er1 >conftest.err
   6129   rm -f conftest.er1
   6130   cat conftest.err >&5
   6131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6132   (exit $ac_status); } && {
   6133 	 test -z "$ac_f77_werror_flag" ||
   6134 	 test ! -s conftest.err
   6135        } && test -s conftest.$ac_objext; then
   6136   ac_compiler_gnu=yes
   6137 else
   6138   echo "$as_me: failed program was:" >&5
   6139 sed 's/^/| /' conftest.$ac_ext >&5
   6140 
   6141 	ac_compiler_gnu=no
   6142 fi
   6143 
   6144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6145 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6146 
   6147 fi
   6148 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6149 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6150 ac_ext=$ac_save_ext
   6151 ac_test_FFLAGS=${FFLAGS+set}
   6152 ac_save_FFLAGS=$FFLAGS
   6153 FFLAGS=
   6154 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6155 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6156 if test "${ac_cv_prog_f77_g+set}" = set; then
   6157   echo $ECHO_N "(cached) $ECHO_C" >&6
   6158 else
   6159   FFLAGS=-g
   6160 cat >conftest.$ac_ext <<_ACEOF
   6161       program main
   6162 
   6163       end
   6164 _ACEOF
   6165 rm -f conftest.$ac_objext
   6166 if { (ac_try="$ac_compile"
   6167 case "(($ac_try" in
   6168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6169   *) ac_try_echo=$ac_try;;
   6170 esac
   6171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6172   (eval "$ac_compile") 2>conftest.er1
   6173   ac_status=$?
   6174   grep -v '^ *+' conftest.er1 >conftest.err
   6175   rm -f conftest.er1
   6176   cat conftest.err >&5
   6177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6178   (exit $ac_status); } && {
   6179 	 test -z "$ac_f77_werror_flag" ||
   6180 	 test ! -s conftest.err
   6181        } && test -s conftest.$ac_objext; then
   6182   ac_cv_prog_f77_g=yes
   6183 else
   6184   echo "$as_me: failed program was:" >&5
   6185 sed 's/^/| /' conftest.$ac_ext >&5
   6186 
   6187 	ac_cv_prog_f77_g=no
   6188 fi
   6189 
   6190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6191 
   6192 fi
   6193 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6194 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6195 if test "$ac_test_FFLAGS" = set; then
   6196   FFLAGS=$ac_save_FFLAGS
   6197 elif test $ac_cv_prog_f77_g = yes; then
   6198   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6199     FFLAGS="-g -O2"
   6200   else
   6201     FFLAGS="-g"
   6202   fi
   6203 else
   6204   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6205     FFLAGS="-O2"
   6206   else
   6207     FFLAGS=
   6208   fi
   6209 fi
   6210 
   6211 G77=`test $ac_compiler_gnu = yes && echo yes`
   6212 ac_ext=c
   6213 ac_cpp='$CPP $CPPFLAGS'
   6214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6217 
   6218 
   6219 
   6220 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6221 # find the maximum length of command line arguments
   6222 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6223 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6224 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6225   echo $ECHO_N "(cached) $ECHO_C" >&6
   6226 else
   6227     i=0
   6228   teststring="ABCD"
   6229 
   6230   case $build_os in
   6231   msdosdjgpp*)
   6232     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6233     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6234     # during glob expansion).  Even if it were fixed, the result of this
   6235     # check would be larger than it should be.
   6236     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6237     ;;
   6238 
   6239   gnu*)
   6240     # Under GNU Hurd, this test is not required because there is
   6241     # no limit to the length of command line arguments.
   6242     # Libtool will interpret -1 as no limit whatsoever
   6243     lt_cv_sys_max_cmd_len=-1;
   6244     ;;
   6245 
   6246   cygwin* | mingw*)
   6247     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6248     # about 5 minutes as the teststring grows exponentially.
   6249     # Worse, since 9x/ME are not pre-emptively multitasking,
   6250     # you end up with a "frozen" computer, even though with patience
   6251     # the test eventually succeeds (with a max line length of 256k).
   6252     # Instead, let's just punt: use the minimum linelength reported by
   6253     # all of the supported platforms: 8192 (on NT/2K/XP).
   6254     lt_cv_sys_max_cmd_len=8192;
   6255     ;;
   6256 
   6257   amigaos*)
   6258     # On AmigaOS with pdksh, this test takes hours, literally.
   6259     # So we just punt and use a minimum line length of 8192.
   6260     lt_cv_sys_max_cmd_len=8192;
   6261     ;;
   6262 
   6263   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6264     # This has been around since 386BSD, at least.  Likely further.
   6265     if test -x /sbin/sysctl; then
   6266       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6267     elif test -x /usr/sbin/sysctl; then
   6268       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6269     else
   6270       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6271     fi
   6272     # And add a safety zone
   6273     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6274     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6275     ;;
   6276 
   6277   interix*)
   6278     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6279     lt_cv_sys_max_cmd_len=196608
   6280     ;;
   6281 
   6282   osf*)
   6283     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6284     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6285     # nice to cause kernel panics so lets avoid the loop below.
   6286     # First set a reasonable default.
   6287     lt_cv_sys_max_cmd_len=16384
   6288     #
   6289     if test -x /sbin/sysconfig; then
   6290       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6291         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6292       esac
   6293     fi
   6294     ;;
   6295   sco3.2v5*)
   6296     lt_cv_sys_max_cmd_len=102400
   6297     ;;
   6298   sysv5* | sco5v6* | sysv4.2uw2*)
   6299     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6300     if test -n "$kargmax"; then
   6301       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6302     else
   6303       lt_cv_sys_max_cmd_len=32768
   6304     fi
   6305     ;;
   6306   *)
   6307     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6308     if test -n "$lt_cv_sys_max_cmd_len"; then
   6309       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6310       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6311     else
   6312       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6313       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6314 	       = "XX$teststring") >/dev/null 2>&1 &&
   6315 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6316 	      lt_cv_sys_max_cmd_len=$new_result &&
   6317 	      test $i != 17 # 1/2 MB should be enough
   6318       do
   6319         i=`expr $i + 1`
   6320         teststring=$teststring$teststring
   6321       done
   6322       teststring=
   6323       # Add a significant safety factor because C++ compilers can tack on massive
   6324       # amounts of additional arguments before passing them to the linker.
   6325       # It appears as though 1/2 is a usable value.
   6326       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6327     fi
   6328     ;;
   6329   esac
   6330 
   6331 fi
   6332 
   6333 if test -n $lt_cv_sys_max_cmd_len ; then
   6334   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6335 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6336 else
   6337   { echo "$as_me:$LINENO: result: none" >&5
   6338 echo "${ECHO_T}none" >&6; }
   6339 fi
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6346 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6347 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6348 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6349   echo $ECHO_N "(cached) $ECHO_C" >&6
   6350 else
   6351 
   6352 # These are sane defaults that work on at least a few old systems.
   6353 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6354 
   6355 # Character class describing NM global symbol codes.
   6356 symcode='[BCDEGRST]'
   6357 
   6358 # Regexp to match symbols that can be accessed directly from C.
   6359 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6360 
   6361 # Transform an extracted symbol line into a proper C declaration
   6362 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6363 
   6364 # Transform an extracted symbol line into symbol name and symbol address
   6365 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'"
   6366 
   6367 # Define system-specific variables.
   6368 case $host_os in
   6369 aix*)
   6370   symcode='[BCDT]'
   6371   ;;
   6372 cygwin* | mingw* | pw32*)
   6373   symcode='[ABCDGISTW]'
   6374   ;;
   6375 hpux*) # Its linker distinguishes data from code symbols
   6376   if test "$host_cpu" = ia64; then
   6377     symcode='[ABCDEGRST]'
   6378   fi
   6379   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6380   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'"
   6381   ;;
   6382 linux* | k*bsd*-gnu)
   6383   if test "$host_cpu" = ia64; then
   6384     symcode='[ABCDGIRSTW]'
   6385     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6386     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'"
   6387   fi
   6388   ;;
   6389 irix* | nonstopux*)
   6390   symcode='[BCDEGRST]'
   6391   ;;
   6392 osf*)
   6393   symcode='[BCDEGQRST]'
   6394   ;;
   6395 solaris*)
   6396   symcode='[BDRT]'
   6397   ;;
   6398 sco3.2v5*)
   6399   symcode='[DT]'
   6400   ;;
   6401 sysv4.2uw2*)
   6402   symcode='[DT]'
   6403   ;;
   6404 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6405   symcode='[ABDT]'
   6406   ;;
   6407 sysv4)
   6408   symcode='[DFNSTU]'
   6409   ;;
   6410 esac
   6411 
   6412 # Handle CRLF in mingw tool chain
   6413 opt_cr=
   6414 case $build_os in
   6415 mingw*)
   6416   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6417   ;;
   6418 esac
   6419 
   6420 # If we're using GNU nm, then use its standard symbol codes.
   6421 case `$NM -V 2>&1` in
   6422 *GNU* | *'with BFD'*)
   6423   symcode='[ABCDGIRSTW]' ;;
   6424 esac
   6425 
   6426 # Try without a prefix undercore, then with it.
   6427 for ac_symprfx in "" "_"; do
   6428 
   6429   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6430   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6431 
   6432   # Write the raw and C identifiers.
   6433   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6434 
   6435   # Check to see that the pipe works correctly.
   6436   pipe_works=no
   6437 
   6438   rm -f conftest*
   6439   cat > conftest.$ac_ext <<EOF
   6440 #ifdef __cplusplus
   6441 extern "C" {
   6442 #endif
   6443 char nm_test_var;
   6444 void nm_test_func(){}
   6445 #ifdef __cplusplus
   6446 }
   6447 #endif
   6448 int main(){nm_test_var='a';nm_test_func();return(0);}
   6449 EOF
   6450 
   6451   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6452   (eval $ac_compile) 2>&5
   6453   ac_status=$?
   6454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6455   (exit $ac_status); }; then
   6456     # Now try to grab the symbols.
   6457     nlist=conftest.nm
   6458     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6459   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6460   ac_status=$?
   6461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6462   (exit $ac_status); } && test -s "$nlist"; then
   6463       # Try sorting and uniquifying the output.
   6464       if sort "$nlist" | uniq > "$nlist"T; then
   6465 	mv -f "$nlist"T "$nlist"
   6466       else
   6467 	rm -f "$nlist"T
   6468       fi
   6469 
   6470       # Make sure that we snagged all the symbols we need.
   6471       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6472 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6473 	  cat <<EOF > conftest.$ac_ext
   6474 #ifdef __cplusplus
   6475 extern "C" {
   6476 #endif
   6477 
   6478 EOF
   6479 	  # Now generate the symbol file.
   6480 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6481 
   6482 	  cat <<EOF >> conftest.$ac_ext
   6483 #if defined (__STDC__) && __STDC__
   6484 # define lt_ptr_t void *
   6485 #else
   6486 # define lt_ptr_t char *
   6487 # define const
   6488 #endif
   6489 
   6490 /* The mapping between symbol names and symbols. */
   6491 const struct {
   6492   const char *name;
   6493   lt_ptr_t address;
   6494 }
   6495 lt_preloaded_symbols[] =
   6496 {
   6497 EOF
   6498 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6499 	  cat <<\EOF >> conftest.$ac_ext
   6500   {0, (lt_ptr_t) 0}
   6501 };
   6502 
   6503 #ifdef __cplusplus
   6504 }
   6505 #endif
   6506 EOF
   6507 	  # Now try linking the two files.
   6508 	  mv conftest.$ac_objext conftstm.$ac_objext
   6509 	  lt_save_LIBS="$LIBS"
   6510 	  lt_save_CFLAGS="$CFLAGS"
   6511 	  LIBS="conftstm.$ac_objext"
   6512 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6513 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6514   (eval $ac_link) 2>&5
   6515   ac_status=$?
   6516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6517   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6518 	    pipe_works=yes
   6519 	  fi
   6520 	  LIBS="$lt_save_LIBS"
   6521 	  CFLAGS="$lt_save_CFLAGS"
   6522 	else
   6523 	  echo "cannot find nm_test_func in $nlist" >&5
   6524 	fi
   6525       else
   6526 	echo "cannot find nm_test_var in $nlist" >&5
   6527       fi
   6528     else
   6529       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6530     fi
   6531   else
   6532     echo "$progname: failed program was:" >&5
   6533     cat conftest.$ac_ext >&5
   6534   fi
   6535   rm -rf conftest* conftst*
   6536 
   6537   # Do not use the global_symbol_pipe unless it works.
   6538   if test "$pipe_works" = yes; then
   6539     break
   6540   else
   6541     lt_cv_sys_global_symbol_pipe=
   6542   fi
   6543 done
   6544 
   6545 fi
   6546 
   6547 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6548   lt_cv_sys_global_symbol_to_cdecl=
   6549 fi
   6550 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6551   { echo "$as_me:$LINENO: result: failed" >&5
   6552 echo "${ECHO_T}failed" >&6; }
   6553 else
   6554   { echo "$as_me:$LINENO: result: ok" >&5
   6555 echo "${ECHO_T}ok" >&6; }
   6556 fi
   6557 
   6558 { echo "$as_me:$LINENO: checking for objdir" >&5
   6559 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6560 if test "${lt_cv_objdir+set}" = set; then
   6561   echo $ECHO_N "(cached) $ECHO_C" >&6
   6562 else
   6563   rm -f .libs 2>/dev/null
   6564 mkdir .libs 2>/dev/null
   6565 if test -d .libs; then
   6566   lt_cv_objdir=.libs
   6567 else
   6568   # MS-DOS does not allow filenames that begin with a dot.
   6569   lt_cv_objdir=_libs
   6570 fi
   6571 rmdir .libs 2>/dev/null
   6572 fi
   6573 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6574 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6575 objdir=$lt_cv_objdir
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 case $host_os in
   6582 aix3*)
   6583   # AIX sometimes has problems with the GCC collect2 program.  For some
   6584   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6585   # vanish in a puff of smoke.
   6586   if test "X${COLLECT_NAMES+set}" != Xset; then
   6587     COLLECT_NAMES=
   6588     export COLLECT_NAMES
   6589   fi
   6590   ;;
   6591 esac
   6592 
   6593 # Sed substitution that helps us do robust quoting.  It backslashifies
   6594 # metacharacters that are still active within double-quoted strings.
   6595 Xsed='sed -e 1s/^X//'
   6596 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6597 
   6598 # Same as above, but do not quote variable references.
   6599 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6600 
   6601 # Sed substitution to delay expansion of an escaped shell variable in a
   6602 # double_quote_subst'ed string.
   6603 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6604 
   6605 # Sed substitution to avoid accidental globbing in evaled expressions
   6606 no_glob_subst='s/\*/\\\*/g'
   6607 
   6608 # Constants:
   6609 rm="rm -f"
   6610 
   6611 # Global variables:
   6612 default_ofile=libtool
   6613 can_build_shared=yes
   6614 
   6615 # All known linkers require a `.a' archive for static linking (except MSVC,
   6616 # which needs '.lib').
   6617 libext=a
   6618 ltmain="$ac_aux_dir/ltmain.sh"
   6619 ofile="$default_ofile"
   6620 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6621 
   6622 if test -n "$ac_tool_prefix"; then
   6623   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6624 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6627 if test "${ac_cv_prog_AR+set}" = set; then
   6628   echo $ECHO_N "(cached) $ECHO_C" >&6
   6629 else
   6630   if test -n "$AR"; then
   6631   ac_cv_prog_AR="$AR" # Let the user override the test.
   6632 else
   6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6634 for as_dir in $PATH
   6635 do
   6636   IFS=$as_save_IFS
   6637   test -z "$as_dir" && as_dir=.
   6638   for ac_exec_ext in '' $ac_executable_extensions; do
   6639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6640     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6642     break 2
   6643   fi
   6644 done
   6645 done
   6646 IFS=$as_save_IFS
   6647 
   6648 fi
   6649 fi
   6650 AR=$ac_cv_prog_AR
   6651 if test -n "$AR"; then
   6652   { echo "$as_me:$LINENO: result: $AR" >&5
   6653 echo "${ECHO_T}$AR" >&6; }
   6654 else
   6655   { echo "$as_me:$LINENO: result: no" >&5
   6656 echo "${ECHO_T}no" >&6; }
   6657 fi
   6658 
   6659 
   6660 fi
   6661 if test -z "$ac_cv_prog_AR"; then
   6662   ac_ct_AR=$AR
   6663   # Extract the first word of "ar", so it can be a program name with args.
   6664 set dummy ar; ac_word=$2
   6665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6667 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6668   echo $ECHO_N "(cached) $ECHO_C" >&6
   6669 else
   6670   if test -n "$ac_ct_AR"; then
   6671   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6672 else
   6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6674 for as_dir in $PATH
   6675 do
   6676   IFS=$as_save_IFS
   6677   test -z "$as_dir" && as_dir=.
   6678   for ac_exec_ext in '' $ac_executable_extensions; do
   6679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6680     ac_cv_prog_ac_ct_AR="ar"
   6681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6682     break 2
   6683   fi
   6684 done
   6685 done
   6686 IFS=$as_save_IFS
   6687 
   6688 fi
   6689 fi
   6690 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6691 if test -n "$ac_ct_AR"; then
   6692   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6693 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6694 else
   6695   { echo "$as_me:$LINENO: result: no" >&5
   6696 echo "${ECHO_T}no" >&6; }
   6697 fi
   6698 
   6699   if test "x$ac_ct_AR" = x; then
   6700     AR="false"
   6701   else
   6702     case $cross_compiling:$ac_tool_warned in
   6703 yes:)
   6704 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6705 whose name does not start with the host triplet.  If you think this
   6706 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6707 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6708 whose name does not start with the host triplet.  If you think this
   6709 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6710 ac_tool_warned=yes ;;
   6711 esac
   6712     AR=$ac_ct_AR
   6713   fi
   6714 else
   6715   AR="$ac_cv_prog_AR"
   6716 fi
   6717 
   6718 if test -n "$ac_tool_prefix"; then
   6719   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6720 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6723 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6724   echo $ECHO_N "(cached) $ECHO_C" >&6
   6725 else
   6726   if test -n "$RANLIB"; then
   6727   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6728 else
   6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6730 for as_dir in $PATH
   6731 do
   6732   IFS=$as_save_IFS
   6733   test -z "$as_dir" && as_dir=.
   6734   for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6736     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741 done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 RANLIB=$ac_cv_prog_RANLIB
   6747 if test -n "$RANLIB"; then
   6748   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6749 echo "${ECHO_T}$RANLIB" >&6; }
   6750 else
   6751   { echo "$as_me:$LINENO: result: no" >&5
   6752 echo "${ECHO_T}no" >&6; }
   6753 fi
   6754 
   6755 
   6756 fi
   6757 if test -z "$ac_cv_prog_RANLIB"; then
   6758   ac_ct_RANLIB=$RANLIB
   6759   # Extract the first word of "ranlib", so it can be a program name with args.
   6760 set dummy ranlib; ac_word=$2
   6761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6763 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6764   echo $ECHO_N "(cached) $ECHO_C" >&6
   6765 else
   6766   if test -n "$ac_ct_RANLIB"; then
   6767   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6768 else
   6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6770 for as_dir in $PATH
   6771 do
   6772   IFS=$as_save_IFS
   6773   test -z "$as_dir" && as_dir=.
   6774   for ac_exec_ext in '' $ac_executable_extensions; do
   6775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6776     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6777     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6778     break 2
   6779   fi
   6780 done
   6781 done
   6782 IFS=$as_save_IFS
   6783 
   6784 fi
   6785 fi
   6786 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6787 if test -n "$ac_ct_RANLIB"; then
   6788   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6789 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6790 else
   6791   { echo "$as_me:$LINENO: result: no" >&5
   6792 echo "${ECHO_T}no" >&6; }
   6793 fi
   6794 
   6795   if test "x$ac_ct_RANLIB" = x; then
   6796     RANLIB=":"
   6797   else
   6798     case $cross_compiling:$ac_tool_warned in
   6799 yes:)
   6800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6801 whose name does not start with the host triplet.  If you think this
   6802 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6804 whose name does not start with the host triplet.  If you think this
   6805 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6806 ac_tool_warned=yes ;;
   6807 esac
   6808     RANLIB=$ac_ct_RANLIB
   6809   fi
   6810 else
   6811   RANLIB="$ac_cv_prog_RANLIB"
   6812 fi
   6813 
   6814 if test -n "$ac_tool_prefix"; then
   6815   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6816 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6819 if test "${ac_cv_prog_STRIP+set}" = set; then
   6820   echo $ECHO_N "(cached) $ECHO_C" >&6
   6821 else
   6822   if test -n "$STRIP"; then
   6823   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6824 else
   6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6826 for as_dir in $PATH
   6827 do
   6828   IFS=$as_save_IFS
   6829   test -z "$as_dir" && as_dir=.
   6830   for ac_exec_ext in '' $ac_executable_extensions; do
   6831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6832     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6833     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6834     break 2
   6835   fi
   6836 done
   6837 done
   6838 IFS=$as_save_IFS
   6839 
   6840 fi
   6841 fi
   6842 STRIP=$ac_cv_prog_STRIP
   6843 if test -n "$STRIP"; then
   6844   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6845 echo "${ECHO_T}$STRIP" >&6; }
   6846 else
   6847   { echo "$as_me:$LINENO: result: no" >&5
   6848 echo "${ECHO_T}no" >&6; }
   6849 fi
   6850 
   6851 
   6852 fi
   6853 if test -z "$ac_cv_prog_STRIP"; then
   6854   ac_ct_STRIP=$STRIP
   6855   # Extract the first word of "strip", so it can be a program name with args.
   6856 set dummy strip; ac_word=$2
   6857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6859 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6860   echo $ECHO_N "(cached) $ECHO_C" >&6
   6861 else
   6862   if test -n "$ac_ct_STRIP"; then
   6863   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6864 else
   6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6866 for as_dir in $PATH
   6867 do
   6868   IFS=$as_save_IFS
   6869   test -z "$as_dir" && as_dir=.
   6870   for ac_exec_ext in '' $ac_executable_extensions; do
   6871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6872     ac_cv_prog_ac_ct_STRIP="strip"
   6873     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6874     break 2
   6875   fi
   6876 done
   6877 done
   6878 IFS=$as_save_IFS
   6879 
   6880 fi
   6881 fi
   6882 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6883 if test -n "$ac_ct_STRIP"; then
   6884   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6885 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6886 else
   6887   { echo "$as_me:$LINENO: result: no" >&5
   6888 echo "${ECHO_T}no" >&6; }
   6889 fi
   6890 
   6891   if test "x$ac_ct_STRIP" = x; then
   6892     STRIP=":"
   6893   else
   6894     case $cross_compiling:$ac_tool_warned in
   6895 yes:)
   6896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6897 whose name does not start with the host triplet.  If you think this
   6898 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6900 whose name does not start with the host triplet.  If you think this
   6901 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6902 ac_tool_warned=yes ;;
   6903 esac
   6904     STRIP=$ac_ct_STRIP
   6905   fi
   6906 else
   6907   STRIP="$ac_cv_prog_STRIP"
   6908 fi
   6909 
   6910 
   6911 old_CC="$CC"
   6912 old_CFLAGS="$CFLAGS"
   6913 
   6914 # Set sane defaults for various variables
   6915 test -z "$AR" && AR=ar
   6916 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6917 test -z "$AS" && AS=as
   6918 test -z "$CC" && CC=cc
   6919 test -z "$LTCC" && LTCC=$CC
   6920 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6921 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6922 test -z "$LD" && LD=ld
   6923 test -z "$LN_S" && LN_S="ln -s"
   6924 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6925 test -z "$NM" && NM=nm
   6926 test -z "$SED" && SED=sed
   6927 test -z "$OBJDUMP" && OBJDUMP=objdump
   6928 test -z "$RANLIB" && RANLIB=:
   6929 test -z "$STRIP" && STRIP=:
   6930 test -z "$ac_objext" && ac_objext=o
   6931 
   6932 # Determine commands to create old-style static archives.
   6933 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6934 old_postinstall_cmds='chmod 644 $oldlib'
   6935 old_postuninstall_cmds=
   6936 
   6937 if test -n "$RANLIB"; then
   6938   case $host_os in
   6939   openbsd*)
   6940     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6941     ;;
   6942   *)
   6943     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6944     ;;
   6945   esac
   6946   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6947 fi
   6948 
   6949 for cc_temp in $compiler""; do
   6950   case $cc_temp in
   6951     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6952     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6953     \-*) ;;
   6954     *) break;;
   6955   esac
   6956 done
   6957 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6958 
   6959 
   6960 # Only perform the check for file, if the check method requires it
   6961 case $deplibs_check_method in
   6962 file_magic*)
   6963   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6964     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6965 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6966 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6967   echo $ECHO_N "(cached) $ECHO_C" >&6
   6968 else
   6969   case $MAGIC_CMD in
   6970 [\\/*] |  ?:[\\/]*)
   6971   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6972   ;;
   6973 *)
   6974   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6975   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6976   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6977   for ac_dir in $ac_dummy; do
   6978     IFS="$lt_save_ifs"
   6979     test -z "$ac_dir" && ac_dir=.
   6980     if test -f $ac_dir/${ac_tool_prefix}file; then
   6981       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6982       if test -n "$file_magic_test_file"; then
   6983 	case $deplibs_check_method in
   6984 	"file_magic "*)
   6985 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6986 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6987 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6988 	    $EGREP "$file_magic_regex" > /dev/null; then
   6989 	    :
   6990 	  else
   6991 	    cat <<EOF 1>&2
   6992 
   6993 *** Warning: the command libtool uses to detect shared libraries,
   6994 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6995 *** The result is that libtool may fail to recognize shared libraries
   6996 *** as such.  This will affect the creation of libtool libraries that
   6997 *** depend on shared libraries, but programs linked with such libtool
   6998 *** libraries will work regardless of this problem.  Nevertheless, you
   6999 *** may want to report the problem to your system manager and/or to
   7000 *** bug-libtool@gnu.org
   7001 
   7002 EOF
   7003 	  fi ;;
   7004 	esac
   7005       fi
   7006       break
   7007     fi
   7008   done
   7009   IFS="$lt_save_ifs"
   7010   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7011   ;;
   7012 esac
   7013 fi
   7014 
   7015 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7016 if test -n "$MAGIC_CMD"; then
   7017   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7018 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7019 else
   7020   { echo "$as_me:$LINENO: result: no" >&5
   7021 echo "${ECHO_T}no" >&6; }
   7022 fi
   7023 
   7024 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7025   if test -n "$ac_tool_prefix"; then
   7026     { echo "$as_me:$LINENO: checking for file" >&5
   7027 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7028 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7029   echo $ECHO_N "(cached) $ECHO_C" >&6
   7030 else
   7031   case $MAGIC_CMD in
   7032 [\\/*] |  ?:[\\/]*)
   7033   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7034   ;;
   7035 *)
   7036   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7037   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7038   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7039   for ac_dir in $ac_dummy; do
   7040     IFS="$lt_save_ifs"
   7041     test -z "$ac_dir" && ac_dir=.
   7042     if test -f $ac_dir/file; then
   7043       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7044       if test -n "$file_magic_test_file"; then
   7045 	case $deplibs_check_method in
   7046 	"file_magic "*)
   7047 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7048 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7049 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7050 	    $EGREP "$file_magic_regex" > /dev/null; then
   7051 	    :
   7052 	  else
   7053 	    cat <<EOF 1>&2
   7054 
   7055 *** Warning: the command libtool uses to detect shared libraries,
   7056 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7057 *** The result is that libtool may fail to recognize shared libraries
   7058 *** as such.  This will affect the creation of libtool libraries that
   7059 *** depend on shared libraries, but programs linked with such libtool
   7060 *** libraries will work regardless of this problem.  Nevertheless, you
   7061 *** may want to report the problem to your system manager and/or to
   7062 *** bug-libtool@gnu.org
   7063 
   7064 EOF
   7065 	  fi ;;
   7066 	esac
   7067       fi
   7068       break
   7069     fi
   7070   done
   7071   IFS="$lt_save_ifs"
   7072   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7073   ;;
   7074 esac
   7075 fi
   7076 
   7077 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7078 if test -n "$MAGIC_CMD"; then
   7079   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7080 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7081 else
   7082   { echo "$as_me:$LINENO: result: no" >&5
   7083 echo "${ECHO_T}no" >&6; }
   7084 fi
   7085 
   7086   else
   7087     MAGIC_CMD=:
   7088   fi
   7089 fi
   7090 
   7091   fi
   7092   ;;
   7093 esac
   7094 
   7095 
   7096   case $host_os in
   7097     rhapsody* | darwin*)
   7098     if test -n "$ac_tool_prefix"; then
   7099   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7100 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7103 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7104   echo $ECHO_N "(cached) $ECHO_C" >&6
   7105 else
   7106   if test -n "$DSYMUTIL"; then
   7107   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7108 else
   7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7110 for as_dir in $PATH
   7111 do
   7112   IFS=$as_save_IFS
   7113   test -z "$as_dir" && as_dir=.
   7114   for ac_exec_ext in '' $ac_executable_extensions; do
   7115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7116     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7117     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7118     break 2
   7119   fi
   7120 done
   7121 done
   7122 IFS=$as_save_IFS
   7123 
   7124 fi
   7125 fi
   7126 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7127 if test -n "$DSYMUTIL"; then
   7128   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7129 echo "${ECHO_T}$DSYMUTIL" >&6; }
   7130 else
   7131   { echo "$as_me:$LINENO: result: no" >&5
   7132 echo "${ECHO_T}no" >&6; }
   7133 fi
   7134 
   7135 
   7136 fi
   7137 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7138   ac_ct_DSYMUTIL=$DSYMUTIL
   7139   # Extract the first word of "dsymutil", so it can be a program name with args.
   7140 set dummy dsymutil; ac_word=$2
   7141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7143 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7144   echo $ECHO_N "(cached) $ECHO_C" >&6
   7145 else
   7146   if test -n "$ac_ct_DSYMUTIL"; then
   7147   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7148 else
   7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7150 for as_dir in $PATH
   7151 do
   7152   IFS=$as_save_IFS
   7153   test -z "$as_dir" && as_dir=.
   7154   for ac_exec_ext in '' $ac_executable_extensions; do
   7155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7156     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7157     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7158     break 2
   7159   fi
   7160 done
   7161 done
   7162 IFS=$as_save_IFS
   7163 
   7164 fi
   7165 fi
   7166 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7167 if test -n "$ac_ct_DSYMUTIL"; then
   7168   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7169 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
   7170 else
   7171   { echo "$as_me:$LINENO: result: no" >&5
   7172 echo "${ECHO_T}no" >&6; }
   7173 fi
   7174 
   7175   if test "x$ac_ct_DSYMUTIL" = x; then
   7176     DSYMUTIL=":"
   7177   else
   7178     case $cross_compiling:$ac_tool_warned in
   7179 yes:)
   7180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7181 whose name does not start with the host triplet.  If you think this
   7182 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7184 whose name does not start with the host triplet.  If you think this
   7185 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7186 ac_tool_warned=yes ;;
   7187 esac
   7188     DSYMUTIL=$ac_ct_DSYMUTIL
   7189   fi
   7190 else
   7191   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7192 fi
   7193 
   7194     if test -n "$ac_tool_prefix"; then
   7195   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7196 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7199 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7200   echo $ECHO_N "(cached) $ECHO_C" >&6
   7201 else
   7202   if test -n "$NMEDIT"; then
   7203   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7204 else
   7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7206 for as_dir in $PATH
   7207 do
   7208   IFS=$as_save_IFS
   7209   test -z "$as_dir" && as_dir=.
   7210   for ac_exec_ext in '' $ac_executable_extensions; do
   7211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7212     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7213     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7214     break 2
   7215   fi
   7216 done
   7217 done
   7218 IFS=$as_save_IFS
   7219 
   7220 fi
   7221 fi
   7222 NMEDIT=$ac_cv_prog_NMEDIT
   7223 if test -n "$NMEDIT"; then
   7224   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7225 echo "${ECHO_T}$NMEDIT" >&6; }
   7226 else
   7227   { echo "$as_me:$LINENO: result: no" >&5
   7228 echo "${ECHO_T}no" >&6; }
   7229 fi
   7230 
   7231 
   7232 fi
   7233 if test -z "$ac_cv_prog_NMEDIT"; then
   7234   ac_ct_NMEDIT=$NMEDIT
   7235   # Extract the first word of "nmedit", so it can be a program name with args.
   7236 set dummy nmedit; ac_word=$2
   7237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7239 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7240   echo $ECHO_N "(cached) $ECHO_C" >&6
   7241 else
   7242   if test -n "$ac_ct_NMEDIT"; then
   7243   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7244 else
   7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7246 for as_dir in $PATH
   7247 do
   7248   IFS=$as_save_IFS
   7249   test -z "$as_dir" && as_dir=.
   7250   for ac_exec_ext in '' $ac_executable_extensions; do
   7251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7252     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7253     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7254     break 2
   7255   fi
   7256 done
   7257 done
   7258 IFS=$as_save_IFS
   7259 
   7260 fi
   7261 fi
   7262 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7263 if test -n "$ac_ct_NMEDIT"; then
   7264   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7265 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
   7266 else
   7267   { echo "$as_me:$LINENO: result: no" >&5
   7268 echo "${ECHO_T}no" >&6; }
   7269 fi
   7270 
   7271   if test "x$ac_ct_NMEDIT" = x; then
   7272     NMEDIT=":"
   7273   else
   7274     case $cross_compiling:$ac_tool_warned in
   7275 yes:)
   7276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7277 whose name does not start with the host triplet.  If you think this
   7278 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7280 whose name does not start with the host triplet.  If you think this
   7281 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7282 ac_tool_warned=yes ;;
   7283 esac
   7284     NMEDIT=$ac_ct_NMEDIT
   7285   fi
   7286 else
   7287   NMEDIT="$ac_cv_prog_NMEDIT"
   7288 fi
   7289 
   7290 
   7291     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7292 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
   7293 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7294   echo $ECHO_N "(cached) $ECHO_C" >&6
   7295 else
   7296   lt_cv_apple_cc_single_mod=no
   7297       if test -z "${LT_MULTI_MODULE}"; then
   7298    # By default we will add the -single_module flag. You can override
   7299    # by either setting the environment variable LT_MULTI_MODULE
   7300    # non-empty at configure time, or by adding -multi_module to the
   7301    # link flags.
   7302    echo "int foo(void){return 1;}" > conftest.c
   7303    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7304      -dynamiclib ${wl}-single_module conftest.c
   7305    if test -f libconftest.dylib; then
   7306      lt_cv_apple_cc_single_mod=yes
   7307      rm -rf libconftest.dylib*
   7308    fi
   7309    rm conftest.c
   7310       fi
   7311 fi
   7312 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7313 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
   7314     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7315 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
   7316 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7317   echo $ECHO_N "(cached) $ECHO_C" >&6
   7318 else
   7319   lt_cv_ld_exported_symbols_list=no
   7320       save_LDFLAGS=$LDFLAGS
   7321       echo "_main" > conftest.sym
   7322       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7323       cat >conftest.$ac_ext <<_ACEOF
   7324 /* confdefs.h.  */
   7325 _ACEOF
   7326 cat confdefs.h >>conftest.$ac_ext
   7327 cat >>conftest.$ac_ext <<_ACEOF
   7328 /* end confdefs.h.  */
   7329 
   7330 int
   7331 main ()
   7332 {
   7333 
   7334   ;
   7335   return 0;
   7336 }
   7337 _ACEOF
   7338 rm -f conftest.$ac_objext conftest$ac_exeext
   7339 if { (ac_try="$ac_link"
   7340 case "(($ac_try" in
   7341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7342   *) ac_try_echo=$ac_try;;
   7343 esac
   7344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7345   (eval "$ac_link") 2>conftest.er1
   7346   ac_status=$?
   7347   grep -v '^ *+' conftest.er1 >conftest.err
   7348   rm -f conftest.er1
   7349   cat conftest.err >&5
   7350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7351   (exit $ac_status); } && {
   7352 	 test -z "$ac_c_werror_flag" ||
   7353 	 test ! -s conftest.err
   7354        } && test -s conftest$ac_exeext &&
   7355        $as_test_x conftest$ac_exeext; then
   7356   lt_cv_ld_exported_symbols_list=yes
   7357 else
   7358   echo "$as_me: failed program was:" >&5
   7359 sed 's/^/| /' conftest.$ac_ext >&5
   7360 
   7361 	lt_cv_ld_exported_symbols_list=no
   7362 fi
   7363 
   7364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7365       conftest$ac_exeext conftest.$ac_ext
   7366    LDFLAGS="$save_LDFLAGS"
   7367 
   7368 fi
   7369 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7370 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
   7371     case $host_os in
   7372     rhapsody* | darwin1.[0123])
   7373       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7374     darwin1.*)
   7375      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7376     darwin*)
   7377       # if running on 10.5 or later, the deployment target defaults
   7378       # to the OS version, if on x86, and 10.4, the deployment
   7379       # target defaults to 10.4. Don't you love it?
   7380       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7381    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7382      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7383    10.[012]*)
   7384      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7385    10.*)
   7386      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7387       esac
   7388     ;;
   7389   esac
   7390     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7391       _lt_dar_single_mod='$single_module'
   7392     fi
   7393     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7394       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7395     else
   7396       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7397     fi
   7398     if test "$DSYMUTIL" != ":"; then
   7399       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7400     else
   7401       _lt_dsymutil=
   7402     fi
   7403     ;;
   7404   esac
   7405 
   7406 
   7407 enable_dlopen=no
   7408 enable_win32_dll=no
   7409 
   7410 # Check whether --enable-libtool-lock was given.
   7411 if test "${enable_libtool_lock+set}" = set; then
   7412   enableval=$enable_libtool_lock;
   7413 fi
   7414 
   7415 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7416 
   7417 
   7418 # Check whether --with-pic was given.
   7419 if test "${with_pic+set}" = set; then
   7420   withval=$with_pic; pic_mode="$withval"
   7421 else
   7422   pic_mode=default
   7423 fi
   7424 
   7425 test -z "$pic_mode" && pic_mode=default
   7426 
   7427 # Use C for the default configuration in the libtool script
   7428 tagname=
   7429 lt_save_CC="$CC"
   7430 ac_ext=c
   7431 ac_cpp='$CPP $CPPFLAGS'
   7432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7435 
   7436 
   7437 # Source file extension for C test sources.
   7438 ac_ext=c
   7439 
   7440 # Object file extension for compiled C test sources.
   7441 objext=o
   7442 objext=$objext
   7443 
   7444 # Code to be used in simple compile tests
   7445 lt_simple_compile_test_code="int some_variable = 0;"
   7446 
   7447 # Code to be used in simple link tests
   7448 lt_simple_link_test_code='int main(){return(0);}'
   7449 
   7450 
   7451 # If no C compiler was specified, use CC.
   7452 LTCC=${LTCC-"$CC"}
   7453 
   7454 # If no C compiler flags were specified, use CFLAGS.
   7455 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7456 
   7457 # Allow CC to be a program name with arguments.
   7458 compiler=$CC
   7459 
   7460 
   7461 # save warnings/boilerplate of simple test code
   7462 ac_outfile=conftest.$ac_objext
   7463 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7465 _lt_compiler_boilerplate=`cat conftest.err`
   7466 $rm conftest*
   7467 
   7468 ac_outfile=conftest.$ac_objext
   7469 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7471 _lt_linker_boilerplate=`cat conftest.err`
   7472 $rm -r conftest*
   7473 
   7474 
   7475 
   7476 lt_prog_compiler_no_builtin_flag=
   7477 
   7478 if test "$GCC" = yes; then
   7479   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7480 
   7481 
   7482 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7483 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7484 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7485   echo $ECHO_N "(cached) $ECHO_C" >&6
   7486 else
   7487   lt_cv_prog_compiler_rtti_exceptions=no
   7488   ac_outfile=conftest.$ac_objext
   7489    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7490    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7491    # Insert the option either (1) after the last *FLAGS variable, or
   7492    # (2) before a word containing "conftest.", or (3) at the end.
   7493    # Note that $ac_compile itself does not contain backslashes and begins
   7494    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7495    # The option is referenced via a variable to avoid confusing sed.
   7496    lt_compile=`echo "$ac_compile" | $SED \
   7497    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7498    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7499    -e 's:$: $lt_compiler_flag:'`
   7500    (eval echo "\"\$as_me:7500: $lt_compile\"" >&5)
   7501    (eval "$lt_compile" 2>conftest.err)
   7502    ac_status=$?
   7503    cat conftest.err >&5
   7504    echo "$as_me:7504: \$? = $ac_status" >&5
   7505    if (exit $ac_status) && test -s "$ac_outfile"; then
   7506      # The compiler can only warn and ignore the option if not recognized
   7507      # So say no if there are warnings other than the usual output.
   7508      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7509      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7510      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7511        lt_cv_prog_compiler_rtti_exceptions=yes
   7512      fi
   7513    fi
   7514    $rm conftest*
   7515 
   7516 fi
   7517 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7518 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7519 
   7520 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7521     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7522 else
   7523     :
   7524 fi
   7525 
   7526 fi
   7527 
   7528 lt_prog_compiler_wl=
   7529 lt_prog_compiler_pic=
   7530 lt_prog_compiler_static=
   7531 
   7532 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7533 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7534 
   7535   if test "$GCC" = yes; then
   7536     lt_prog_compiler_wl='-Wl,'
   7537     lt_prog_compiler_static='-static'
   7538 
   7539     case $host_os in
   7540       aix*)
   7541       # All AIX code is PIC.
   7542       if test "$host_cpu" = ia64; then
   7543 	# AIX 5 now supports IA64 processor
   7544 	lt_prog_compiler_static='-Bstatic'
   7545       fi
   7546       ;;
   7547 
   7548     amigaos*)
   7549       # FIXME: we need at least 68020 code to build shared libraries, but
   7550       # adding the `-m68020' flag to GCC prevents building anything better,
   7551       # like `-m68040'.
   7552       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7553       ;;
   7554 
   7555     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7556       # PIC is the default for these OSes.
   7557       ;;
   7558 
   7559     mingw* | cygwin* | pw32* | os2*)
   7560       # This hack is so that the source file can tell whether it is being
   7561       # built for inclusion in a dll (and should export symbols for example).
   7562       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7563       # (--disable-auto-import) libraries
   7564       lt_prog_compiler_pic='-DDLL_EXPORT'
   7565       ;;
   7566 
   7567     darwin* | rhapsody*)
   7568       # PIC is the default on this platform
   7569       # Common symbols not allowed in MH_DYLIB files
   7570       lt_prog_compiler_pic='-fno-common'
   7571       ;;
   7572 
   7573     interix[3-9]*)
   7574       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7575       # Instead, we relocate shared libraries at runtime.
   7576       ;;
   7577 
   7578     msdosdjgpp*)
   7579       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7580       # on systems that don't support them.
   7581       lt_prog_compiler_can_build_shared=no
   7582       enable_shared=no
   7583       ;;
   7584 
   7585     sysv4*MP*)
   7586       if test -d /usr/nec; then
   7587 	lt_prog_compiler_pic=-Kconform_pic
   7588       fi
   7589       ;;
   7590 
   7591     hpux*)
   7592       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7593       # not for PA HP-UX.
   7594       case $host_cpu in
   7595       hppa*64*|ia64*)
   7596 	# +Z the default
   7597 	;;
   7598       *)
   7599 	lt_prog_compiler_pic='-fPIC'
   7600 	;;
   7601       esac
   7602       ;;
   7603 
   7604     *)
   7605       lt_prog_compiler_pic='-fPIC'
   7606       ;;
   7607     esac
   7608   else
   7609     # PORTME Check for flag to pass linker flags through the system compiler.
   7610     case $host_os in
   7611     aix*)
   7612       lt_prog_compiler_wl='-Wl,'
   7613       if test "$host_cpu" = ia64; then
   7614 	# AIX 5 now supports IA64 processor
   7615 	lt_prog_compiler_static='-Bstatic'
   7616       else
   7617 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7618       fi
   7619       ;;
   7620       darwin*)
   7621         # PIC is the default on this platform
   7622         # Common symbols not allowed in MH_DYLIB files
   7623        case $cc_basename in
   7624          xlc*)
   7625          lt_prog_compiler_pic='-qnocommon'
   7626          lt_prog_compiler_wl='-Wl,'
   7627          ;;
   7628        esac
   7629        ;;
   7630 
   7631     mingw* | cygwin* | pw32* | os2*)
   7632       # This hack is so that the source file can tell whether it is being
   7633       # built for inclusion in a dll (and should export symbols for example).
   7634       lt_prog_compiler_pic='-DDLL_EXPORT'
   7635       ;;
   7636 
   7637     hpux9* | hpux10* | hpux11*)
   7638       lt_prog_compiler_wl='-Wl,'
   7639       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7640       # not for PA HP-UX.
   7641       case $host_cpu in
   7642       hppa*64*|ia64*)
   7643 	# +Z the default
   7644 	;;
   7645       *)
   7646 	lt_prog_compiler_pic='+Z'
   7647 	;;
   7648       esac
   7649       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7650       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7651       ;;
   7652 
   7653     irix5* | irix6* | nonstopux*)
   7654       lt_prog_compiler_wl='-Wl,'
   7655       # PIC (with -KPIC) is the default.
   7656       lt_prog_compiler_static='-non_shared'
   7657       ;;
   7658 
   7659     newsos6)
   7660       lt_prog_compiler_pic='-KPIC'
   7661       lt_prog_compiler_static='-Bstatic'
   7662       ;;
   7663 
   7664     linux* | k*bsd*-gnu)
   7665       case $cc_basename in
   7666       icc* | ecc*)
   7667 	lt_prog_compiler_wl='-Wl,'
   7668 	lt_prog_compiler_pic='-KPIC'
   7669 	lt_prog_compiler_static='-static'
   7670         ;;
   7671       pgcc* | pgf77* | pgf90* | pgf95*)
   7672         # Portland Group compilers (*not* the Pentium gcc compiler,
   7673 	# which looks to be a dead project)
   7674 	lt_prog_compiler_wl='-Wl,'
   7675 	lt_prog_compiler_pic='-fpic'
   7676 	lt_prog_compiler_static='-Bstatic'
   7677         ;;
   7678       ccc*)
   7679         lt_prog_compiler_wl='-Wl,'
   7680         # All Alpha code is PIC.
   7681         lt_prog_compiler_static='-non_shared'
   7682         ;;
   7683       *)
   7684         case `$CC -V 2>&1 | sed 5q` in
   7685 	*Sun\ C*)
   7686 	  # Sun C 5.9
   7687 	  lt_prog_compiler_pic='-KPIC'
   7688 	  lt_prog_compiler_static='-Bstatic'
   7689 	  lt_prog_compiler_wl='-Wl,'
   7690 	  ;;
   7691 	*Sun\ F*)
   7692 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7693 	  lt_prog_compiler_pic='-KPIC'
   7694 	  lt_prog_compiler_static='-Bstatic'
   7695 	  lt_prog_compiler_wl=''
   7696 	  ;;
   7697 	esac
   7698 	;;
   7699       esac
   7700       ;;
   7701 
   7702     osf3* | osf4* | osf5*)
   7703       lt_prog_compiler_wl='-Wl,'
   7704       # All OSF/1 code is PIC.
   7705       lt_prog_compiler_static='-non_shared'
   7706       ;;
   7707 
   7708     rdos*)
   7709       lt_prog_compiler_static='-non_shared'
   7710       ;;
   7711 
   7712     solaris*)
   7713       lt_prog_compiler_pic='-KPIC'
   7714       lt_prog_compiler_static='-Bstatic'
   7715       case $cc_basename in
   7716       f77* | f90* | f95*)
   7717 	lt_prog_compiler_wl='-Qoption ld ';;
   7718       *)
   7719 	lt_prog_compiler_wl='-Wl,';;
   7720       esac
   7721       ;;
   7722 
   7723     sunos4*)
   7724       lt_prog_compiler_wl='-Qoption ld '
   7725       lt_prog_compiler_pic='-PIC'
   7726       lt_prog_compiler_static='-Bstatic'
   7727       ;;
   7728 
   7729     sysv4 | sysv4.2uw2* | sysv4.3*)
   7730       lt_prog_compiler_wl='-Wl,'
   7731       lt_prog_compiler_pic='-KPIC'
   7732       lt_prog_compiler_static='-Bstatic'
   7733       ;;
   7734 
   7735     sysv4*MP*)
   7736       if test -d /usr/nec ;then
   7737 	lt_prog_compiler_pic='-Kconform_pic'
   7738 	lt_prog_compiler_static='-Bstatic'
   7739       fi
   7740       ;;
   7741 
   7742     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7743       lt_prog_compiler_wl='-Wl,'
   7744       lt_prog_compiler_pic='-KPIC'
   7745       lt_prog_compiler_static='-Bstatic'
   7746       ;;
   7747 
   7748     unicos*)
   7749       lt_prog_compiler_wl='-Wl,'
   7750       lt_prog_compiler_can_build_shared=no
   7751       ;;
   7752 
   7753     uts4*)
   7754       lt_prog_compiler_pic='-pic'
   7755       lt_prog_compiler_static='-Bstatic'
   7756       ;;
   7757 
   7758     *)
   7759       lt_prog_compiler_can_build_shared=no
   7760       ;;
   7761     esac
   7762   fi
   7763 
   7764 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7765 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7766 
   7767 #
   7768 # Check to make sure the PIC flag actually works.
   7769 #
   7770 if test -n "$lt_prog_compiler_pic"; then
   7771 
   7772 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7773 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7774 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7775   echo $ECHO_N "(cached) $ECHO_C" >&6
   7776 else
   7777   lt_cv_prog_compiler_pic_works=no
   7778   ac_outfile=conftest.$ac_objext
   7779    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7780    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7781    # Insert the option either (1) after the last *FLAGS variable, or
   7782    # (2) before a word containing "conftest.", or (3) at the end.
   7783    # Note that $ac_compile itself does not contain backslashes and begins
   7784    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7785    # The option is referenced via a variable to avoid confusing sed.
   7786    lt_compile=`echo "$ac_compile" | $SED \
   7787    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7788    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7789    -e 's:$: $lt_compiler_flag:'`
   7790    (eval echo "\"\$as_me:7790: $lt_compile\"" >&5)
   7791    (eval "$lt_compile" 2>conftest.err)
   7792    ac_status=$?
   7793    cat conftest.err >&5
   7794    echo "$as_me:7794: \$? = $ac_status" >&5
   7795    if (exit $ac_status) && test -s "$ac_outfile"; then
   7796      # The compiler can only warn and ignore the option if not recognized
   7797      # So say no if there are warnings other than the usual output.
   7798      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7799      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7800      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7801        lt_cv_prog_compiler_pic_works=yes
   7802      fi
   7803    fi
   7804    $rm conftest*
   7805 
   7806 fi
   7807 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7808 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
   7809 
   7810 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7811     case $lt_prog_compiler_pic in
   7812      "" | " "*) ;;
   7813      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7814      esac
   7815 else
   7816     lt_prog_compiler_pic=
   7817      lt_prog_compiler_can_build_shared=no
   7818 fi
   7819 
   7820 fi
   7821 case $host_os in
   7822   # For platforms which do not support PIC, -DPIC is meaningless:
   7823   *djgpp*)
   7824     lt_prog_compiler_pic=
   7825     ;;
   7826   *)
   7827     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7828     ;;
   7829 esac
   7830 
   7831 #
   7832 # Check to make sure the static flag actually works.
   7833 #
   7834 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7835 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7836 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7837 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7838   echo $ECHO_N "(cached) $ECHO_C" >&6
   7839 else
   7840   lt_cv_prog_compiler_static_works=no
   7841    save_LDFLAGS="$LDFLAGS"
   7842    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7843    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7844    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7845      # The linker can only warn and ignore the option if not recognized
   7846      # So say no if there are warnings
   7847      if test -s conftest.err; then
   7848        # Append any errors to the config.log.
   7849        cat conftest.err 1>&5
   7850        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7851        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7852        if diff conftest.exp conftest.er2 >/dev/null; then
   7853          lt_cv_prog_compiler_static_works=yes
   7854        fi
   7855      else
   7856        lt_cv_prog_compiler_static_works=yes
   7857      fi
   7858    fi
   7859    $rm -r conftest*
   7860    LDFLAGS="$save_LDFLAGS"
   7861 
   7862 fi
   7863 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7864 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
   7865 
   7866 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7867     :
   7868 else
   7869     lt_prog_compiler_static=
   7870 fi
   7871 
   7872 
   7873 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7874 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7875 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7876   echo $ECHO_N "(cached) $ECHO_C" >&6
   7877 else
   7878   lt_cv_prog_compiler_c_o=no
   7879    $rm -r conftest 2>/dev/null
   7880    mkdir conftest
   7881    cd conftest
   7882    mkdir out
   7883    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7884 
   7885    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7886    # Insert the option either (1) after the last *FLAGS variable, or
   7887    # (2) before a word containing "conftest.", or (3) at the end.
   7888    # Note that $ac_compile itself does not contain backslashes and begins
   7889    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7890    lt_compile=`echo "$ac_compile" | $SED \
   7891    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7892    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7893    -e 's:$: $lt_compiler_flag:'`
   7894    (eval echo "\"\$as_me:7894: $lt_compile\"" >&5)
   7895    (eval "$lt_compile" 2>out/conftest.err)
   7896    ac_status=$?
   7897    cat out/conftest.err >&5
   7898    echo "$as_me:7898: \$? = $ac_status" >&5
   7899    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7900    then
   7901      # The compiler can only warn and ignore the option if not recognized
   7902      # So say no if there are warnings
   7903      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7904      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7905      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7906        lt_cv_prog_compiler_c_o=yes
   7907      fi
   7908    fi
   7909    chmod u+w . 2>&5
   7910    $rm conftest*
   7911    # SGI C++ compiler will create directory out/ii_files/ for
   7912    # template instantiation
   7913    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7914    $rm out/* && rmdir out
   7915    cd ..
   7916    rmdir conftest
   7917    $rm conftest*
   7918 
   7919 fi
   7920 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7921 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7922 
   7923 
   7924 hard_links="nottested"
   7925 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7926   # do not overwrite the value of need_locks provided by the user
   7927   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7928 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7929   hard_links=yes
   7930   $rm conftest*
   7931   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7932   touch conftest.a
   7933   ln conftest.a conftest.b 2>&5 || hard_links=no
   7934   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7935   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7936 echo "${ECHO_T}$hard_links" >&6; }
   7937   if test "$hard_links" = no; then
   7938     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7939 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7940     need_locks=warn
   7941   fi
   7942 else
   7943   need_locks=no
   7944 fi
   7945 
   7946 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7947 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7948 
   7949   runpath_var=
   7950   allow_undefined_flag=
   7951   enable_shared_with_static_runtimes=no
   7952   archive_cmds=
   7953   archive_expsym_cmds=
   7954   old_archive_From_new_cmds=
   7955   old_archive_from_expsyms_cmds=
   7956   export_dynamic_flag_spec=
   7957   whole_archive_flag_spec=
   7958   thread_safe_flag_spec=
   7959   hardcode_libdir_flag_spec=
   7960   hardcode_libdir_flag_spec_ld=
   7961   hardcode_libdir_separator=
   7962   hardcode_direct=no
   7963   hardcode_minus_L=no
   7964   hardcode_shlibpath_var=unsupported
   7965   link_all_deplibs=unknown
   7966   hardcode_automatic=no
   7967   module_cmds=
   7968   module_expsym_cmds=
   7969   always_export_symbols=no
   7970   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7971   # include_expsyms should be a list of space-separated symbols to be *always*
   7972   # included in the symbol list
   7973   include_expsyms=
   7974   # exclude_expsyms can be an extended regexp of symbols to exclude
   7975   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7976   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7977   # as well as any symbol that contains `d'.
   7978   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   7979   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7980   # platforms (ab)use it in PIC code, but their linkers get confused if
   7981   # the symbol is explicitly referenced.  Since portable code cannot
   7982   # rely on this symbol name, it's probably fine to never include it in
   7983   # preloaded symbol tables.
   7984   # Exclude shared library initialization/finalization symbols.
   7985   extract_expsyms_cmds=
   7986   # Just being paranoid about ensuring that cc_basename is set.
   7987   for cc_temp in $compiler""; do
   7988   case $cc_temp in
   7989     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7990     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7991     \-*) ;;
   7992     *) break;;
   7993   esac
   7994 done
   7995 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7996 
   7997   case $host_os in
   7998   cygwin* | mingw* | pw32*)
   7999     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8000     # When not using gcc, we currently assume that we are using
   8001     # Microsoft Visual C++.
   8002     if test "$GCC" != yes; then
   8003       with_gnu_ld=no
   8004     fi
   8005     ;;
   8006   interix*)
   8007     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8008     with_gnu_ld=yes
   8009     ;;
   8010   openbsd*)
   8011     with_gnu_ld=no
   8012     ;;
   8013   esac
   8014 
   8015   ld_shlibs=yes
   8016   if test "$with_gnu_ld" = yes; then
   8017     # If archive_cmds runs LD, not CC, wlarc should be empty
   8018     wlarc='${wl}'
   8019 
   8020     # Set some defaults for GNU ld with shared library support. These
   8021     # are reset later if shared libraries are not supported. Putting them
   8022     # here allows them to be overridden if necessary.
   8023     runpath_var=LD_RUN_PATH
   8024     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8025     export_dynamic_flag_spec='${wl}--export-dynamic'
   8026     # ancient GNU ld didn't support --whole-archive et. al.
   8027     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8028 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8029       else
   8030   	whole_archive_flag_spec=
   8031     fi
   8032     supports_anon_versioning=no
   8033     case `$LD -v 2>/dev/null` in
   8034       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8035       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8036       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8037       *\ 2.11.*) ;; # other 2.11 versions
   8038       *) supports_anon_versioning=yes ;;
   8039     esac
   8040 
   8041     # See if GNU ld supports shared libraries.
   8042     case $host_os in
   8043     aix[3-9]*)
   8044       # On AIX/PPC, the GNU linker is very broken
   8045       if test "$host_cpu" != ia64; then
   8046 	ld_shlibs=no
   8047 	cat <<EOF 1>&2
   8048 
   8049 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8050 *** to be unable to reliably create shared libraries on AIX.
   8051 *** Therefore, libtool is disabling shared libraries support.  If you
   8052 *** really care for shared libraries, you may want to modify your PATH
   8053 *** so that a non-GNU linker is found, and then restart.
   8054 
   8055 EOF
   8056       fi
   8057       ;;
   8058 
   8059     amigaos*)
   8060       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)'
   8061       hardcode_libdir_flag_spec='-L$libdir'
   8062       hardcode_minus_L=yes
   8063 
   8064       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8065       # that the semantics of dynamic libraries on AmigaOS, at least up
   8066       # to version 4, is to share data among multiple programs linked
   8067       # with the same dynamic library.  Since this doesn't match the
   8068       # behavior of shared libraries on other platforms, we can't use
   8069       # them.
   8070       ld_shlibs=no
   8071       ;;
   8072 
   8073     beos*)
   8074       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8075 	allow_undefined_flag=unsupported
   8076 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8077 	# support --undefined.  This deserves some investigation.  FIXME
   8078 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8079       else
   8080 	ld_shlibs=no
   8081       fi
   8082       ;;
   8083 
   8084     cygwin* | mingw* | pw32*)
   8085       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8086       # as there is no search path for DLLs.
   8087       hardcode_libdir_flag_spec='-L$libdir'
   8088       allow_undefined_flag=unsupported
   8089       always_export_symbols=no
   8090       enable_shared_with_static_runtimes=yes
   8091       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8092 
   8093       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8094         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8095 	# If the export-symbols file already is a .def file (1st line
   8096 	# is EXPORTS), use it as is; otherwise, prepend...
   8097 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8098 	  cp $export_symbols $output_objdir/$soname.def;
   8099 	else
   8100 	  echo EXPORTS > $output_objdir/$soname.def;
   8101 	  cat $export_symbols >> $output_objdir/$soname.def;
   8102 	fi~
   8103 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8104       else
   8105 	ld_shlibs=no
   8106       fi
   8107       ;;
   8108 
   8109     interix[3-9]*)
   8110       hardcode_direct=no
   8111       hardcode_shlibpath_var=no
   8112       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8113       export_dynamic_flag_spec='${wl}-E'
   8114       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8115       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8116       # default) and relocated if they conflict, which is a slow very memory
   8117       # consuming and fragmenting process.  To avoid this, we pick a random,
   8118       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8119       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8120       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8121       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'
   8122       ;;
   8123 
   8124     gnu* | linux* | k*bsd*-gnu)
   8125       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8126 	tmp_addflag=
   8127 	case $cc_basename,$host_cpu in
   8128 	pgcc*)				# Portland Group C compiler
   8129 	  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'
   8130 	  tmp_addflag=' $pic_flag'
   8131 	  ;;
   8132 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8133 	  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'
   8134 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8135 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8136 	  tmp_addflag=' -i_dynamic' ;;
   8137 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8138 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8139 	ifc* | ifort*)			# Intel Fortran compiler
   8140 	  tmp_addflag=' -nofor_main' ;;
   8141 	esac
   8142 	case `$CC -V 2>&1 | sed 5q` in
   8143 	*Sun\ C*)			# Sun C 5.9
   8144 	  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'
   8145 	  tmp_sharedflag='-G' ;;
   8146 	*Sun\ F*)			# Sun Fortran 8.3
   8147 	  tmp_sharedflag='-G' ;;
   8148 	*)
   8149 	  tmp_sharedflag='-shared' ;;
   8150 	esac
   8151 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8152 
   8153 	if test $supports_anon_versioning = yes; then
   8154 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8155   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8156   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8157 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8158 	fi
   8159 	link_all_deplibs=no
   8160       else
   8161 	ld_shlibs=no
   8162       fi
   8163       ;;
   8164 
   8165     netbsd* | netbsdelf*-gnu)
   8166       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8167 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8168 	wlarc=
   8169       else
   8170 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8171 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8172       fi
   8173       ;;
   8174 
   8175     solaris*)
   8176       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8177 	ld_shlibs=no
   8178 	cat <<EOF 1>&2
   8179 
   8180 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8181 *** create shared libraries on Solaris systems.  Therefore, libtool
   8182 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8183 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8184 *** your PATH or compiler configuration so that the native linker is
   8185 *** used, and then restart.
   8186 
   8187 EOF
   8188       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8189 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8190 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8191       else
   8192 	ld_shlibs=no
   8193       fi
   8194       ;;
   8195 
   8196     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8197       case `$LD -v 2>&1` in
   8198         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8199 	ld_shlibs=no
   8200 	cat <<_LT_EOF 1>&2
   8201 
   8202 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8203 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8204 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8205 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8206 *** your PATH or compiler configuration so that the native linker is
   8207 *** used, and then restart.
   8208 
   8209 _LT_EOF
   8210 	;;
   8211 	*)
   8212 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8213 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8214 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8215 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8216 	  else
   8217 	    ld_shlibs=no
   8218 	  fi
   8219 	;;
   8220       esac
   8221       ;;
   8222 
   8223     sunos4*)
   8224       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8225       wlarc=
   8226       hardcode_direct=yes
   8227       hardcode_shlibpath_var=no
   8228       ;;
   8229 
   8230     *)
   8231       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8232 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8233 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8234       else
   8235 	ld_shlibs=no
   8236       fi
   8237       ;;
   8238     esac
   8239 
   8240     if test "$ld_shlibs" = no; then
   8241       runpath_var=
   8242       hardcode_libdir_flag_spec=
   8243       export_dynamic_flag_spec=
   8244       whole_archive_flag_spec=
   8245     fi
   8246   else
   8247     # PORTME fill in a description of your system's linker (not GNU ld)
   8248     case $host_os in
   8249     aix3*)
   8250       allow_undefined_flag=unsupported
   8251       always_export_symbols=yes
   8252       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'
   8253       # Note: this linker hardcodes the directories in LIBPATH if there
   8254       # are no directories specified by -L.
   8255       hardcode_minus_L=yes
   8256       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8257 	# Neither direct hardcoding nor static linking is supported with a
   8258 	# broken collect2.
   8259 	hardcode_direct=unsupported
   8260       fi
   8261       ;;
   8262 
   8263     aix[4-9]*)
   8264       if test "$host_cpu" = ia64; then
   8265 	# On IA64, the linker does run time linking by default, so we don't
   8266 	# have to do anything special.
   8267 	aix_use_runtimelinking=no
   8268 	exp_sym_flag='-Bexport'
   8269 	no_entry_flag=""
   8270       else
   8271 	# If we're using GNU nm, then we don't want the "-C" option.
   8272 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8273 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8274 	  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'
   8275 	else
   8276 	  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'
   8277 	fi
   8278 	aix_use_runtimelinking=no
   8279 
   8280 	# Test if we are trying to use run time linking or normal
   8281 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8282 	# need to do runtime linking.
   8283 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8284 	  for ld_flag in $LDFLAGS; do
   8285   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8286   	    aix_use_runtimelinking=yes
   8287   	    break
   8288   	  fi
   8289 	  done
   8290 	  ;;
   8291 	esac
   8292 
   8293 	exp_sym_flag='-bexport'
   8294 	no_entry_flag='-bnoentry'
   8295       fi
   8296 
   8297       # When large executables or shared objects are built, AIX ld can
   8298       # have problems creating the table of contents.  If linking a library
   8299       # or program results in "error TOC overflow" add -mminimal-toc to
   8300       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8301       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8302 
   8303       archive_cmds=''
   8304       hardcode_direct=yes
   8305       hardcode_libdir_separator=':'
   8306       link_all_deplibs=yes
   8307 
   8308       if test "$GCC" = yes; then
   8309 	case $host_os in aix4.[012]|aix4.[012].*)
   8310 	# We only want to do this on AIX 4.2 and lower, the check
   8311 	# below for broken collect2 doesn't work under 4.3+
   8312 	  collect2name=`${CC} -print-prog-name=collect2`
   8313 	  if test -f "$collect2name" && \
   8314   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8315 	  then
   8316   	  # We have reworked collect2
   8317   	  :
   8318 	  else
   8319   	  # We have old collect2
   8320   	  hardcode_direct=unsupported
   8321   	  # It fails to find uninstalled libraries when the uninstalled
   8322   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8323   	  # to unsupported forces relinking
   8324   	  hardcode_minus_L=yes
   8325   	  hardcode_libdir_flag_spec='-L$libdir'
   8326   	  hardcode_libdir_separator=
   8327 	  fi
   8328 	  ;;
   8329 	esac
   8330 	shared_flag='-shared'
   8331 	if test "$aix_use_runtimelinking" = yes; then
   8332 	  shared_flag="$shared_flag "'${wl}-G'
   8333 	fi
   8334       else
   8335 	# not using gcc
   8336 	if test "$host_cpu" = ia64; then
   8337   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8338   	# chokes on -Wl,-G. The following line is correct:
   8339 	  shared_flag='-G'
   8340 	else
   8341 	  if test "$aix_use_runtimelinking" = yes; then
   8342 	    shared_flag='${wl}-G'
   8343 	  else
   8344 	    shared_flag='${wl}-bM:SRE'
   8345 	  fi
   8346 	fi
   8347       fi
   8348 
   8349       # It seems that -bexpall does not export symbols beginning with
   8350       # underscore (_), so it is better to generate a list of symbols to export.
   8351       always_export_symbols=yes
   8352       if test "$aix_use_runtimelinking" = yes; then
   8353 	# Warning - without using the other runtime loading flags (-brtl),
   8354 	# -berok will link without error, but may produce a broken library.
   8355 	allow_undefined_flag='-berok'
   8356        # Determine the default libpath from the value encoded in an empty executable.
   8357        cat >conftest.$ac_ext <<_ACEOF
   8358 /* confdefs.h.  */
   8359 _ACEOF
   8360 cat confdefs.h >>conftest.$ac_ext
   8361 cat >>conftest.$ac_ext <<_ACEOF
   8362 /* end confdefs.h.  */
   8363 
   8364 int
   8365 main ()
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 rm -f conftest.$ac_objext conftest$ac_exeext
   8373 if { (ac_try="$ac_link"
   8374 case "(($ac_try" in
   8375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8376   *) ac_try_echo=$ac_try;;
   8377 esac
   8378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8379   (eval "$ac_link") 2>conftest.er1
   8380   ac_status=$?
   8381   grep -v '^ *+' conftest.er1 >conftest.err
   8382   rm -f conftest.er1
   8383   cat conftest.err >&5
   8384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8385   (exit $ac_status); } && {
   8386 	 test -z "$ac_c_werror_flag" ||
   8387 	 test ! -s conftest.err
   8388        } && test -s conftest$ac_exeext &&
   8389        $as_test_x conftest$ac_exeext; then
   8390 
   8391 lt_aix_libpath_sed='
   8392     /Import File Strings/,/^$/ {
   8393 	/^0/ {
   8394 	    s/^0  *\(.*\)$/\1/
   8395 	    p
   8396 	}
   8397     }'
   8398 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8399 # Check for a 64-bit object if we didn't find anything.
   8400 if test -z "$aix_libpath"; then
   8401   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8402 fi
   8403 else
   8404   echo "$as_me: failed program was:" >&5
   8405 sed 's/^/| /' conftest.$ac_ext >&5
   8406 
   8407 
   8408 fi
   8409 
   8410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8411       conftest$ac_exeext conftest.$ac_ext
   8412 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8413 
   8414        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8415 	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"
   8416        else
   8417 	if test "$host_cpu" = ia64; then
   8418 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8419 	  allow_undefined_flag="-z nodefs"
   8420 	  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"
   8421 	else
   8422 	 # Determine the default libpath from the value encoded in an empty executable.
   8423 	 cat >conftest.$ac_ext <<_ACEOF
   8424 /* confdefs.h.  */
   8425 _ACEOF
   8426 cat confdefs.h >>conftest.$ac_ext
   8427 cat >>conftest.$ac_ext <<_ACEOF
   8428 /* end confdefs.h.  */
   8429 
   8430 int
   8431 main ()
   8432 {
   8433 
   8434   ;
   8435   return 0;
   8436 }
   8437 _ACEOF
   8438 rm -f conftest.$ac_objext conftest$ac_exeext
   8439 if { (ac_try="$ac_link"
   8440 case "(($ac_try" in
   8441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8442   *) ac_try_echo=$ac_try;;
   8443 esac
   8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8445   (eval "$ac_link") 2>conftest.er1
   8446   ac_status=$?
   8447   grep -v '^ *+' conftest.er1 >conftest.err
   8448   rm -f conftest.er1
   8449   cat conftest.err >&5
   8450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8451   (exit $ac_status); } && {
   8452 	 test -z "$ac_c_werror_flag" ||
   8453 	 test ! -s conftest.err
   8454        } && test -s conftest$ac_exeext &&
   8455        $as_test_x conftest$ac_exeext; then
   8456 
   8457 lt_aix_libpath_sed='
   8458     /Import File Strings/,/^$/ {
   8459 	/^0/ {
   8460 	    s/^0  *\(.*\)$/\1/
   8461 	    p
   8462 	}
   8463     }'
   8464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8465 # Check for a 64-bit object if we didn't find anything.
   8466 if test -z "$aix_libpath"; then
   8467   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8468 fi
   8469 else
   8470   echo "$as_me: failed program was:" >&5
   8471 sed 's/^/| /' conftest.$ac_ext >&5
   8472 
   8473 
   8474 fi
   8475 
   8476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8477       conftest$ac_exeext conftest.$ac_ext
   8478 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8479 
   8480 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8481 	  # Warning - without using the other run time loading flags,
   8482 	  # -berok will link without error, but may produce a broken library.
   8483 	  no_undefined_flag=' ${wl}-bernotok'
   8484 	  allow_undefined_flag=' ${wl}-berok'
   8485 	  # Exported symbols can be pulled into shared objects from archives
   8486 	  whole_archive_flag_spec='$convenience'
   8487 	  archive_cmds_need_lc=yes
   8488 	  # This is similar to how AIX traditionally builds its shared libraries.
   8489 	  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'
   8490 	fi
   8491       fi
   8492       ;;
   8493 
   8494     amigaos*)
   8495       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)'
   8496       hardcode_libdir_flag_spec='-L$libdir'
   8497       hardcode_minus_L=yes
   8498       # see comment about different semantics on the GNU ld section
   8499       ld_shlibs=no
   8500       ;;
   8501 
   8502     bsdi[45]*)
   8503       export_dynamic_flag_spec=-rdynamic
   8504       ;;
   8505 
   8506     cygwin* | mingw* | pw32*)
   8507       # When not using gcc, we currently assume that we are using
   8508       # Microsoft Visual C++.
   8509       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8510       # no search path for DLLs.
   8511       hardcode_libdir_flag_spec=' '
   8512       allow_undefined_flag=unsupported
   8513       # Tell ltmain to make .lib files, not .a files.
   8514       libext=lib
   8515       # Tell ltmain to make .dll files, not .so files.
   8516       shrext_cmds=".dll"
   8517       # FIXME: Setting linknames here is a bad hack.
   8518       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8519       # The linker will automatically build a .lib file if we build a DLL.
   8520       old_archive_From_new_cmds='true'
   8521       # FIXME: Should let the user specify the lib program.
   8522       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8523       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8524       enable_shared_with_static_runtimes=yes
   8525       ;;
   8526 
   8527     darwin* | rhapsody*)
   8528       case $host_os in
   8529         rhapsody* | darwin1.[012])
   8530          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8531          ;;
   8532        *) # Darwin 1.3 on
   8533          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8534            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8535          else
   8536            case ${MACOSX_DEPLOYMENT_TARGET} in
   8537              10.[012])
   8538                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8539                ;;
   8540              10.*)
   8541                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8542                ;;
   8543            esac
   8544          fi
   8545          ;;
   8546       esac
   8547       archive_cmds_need_lc=no
   8548       hardcode_direct=no
   8549       hardcode_automatic=yes
   8550       hardcode_shlibpath_var=unsupported
   8551       whole_archive_flag_spec=''
   8552       link_all_deplibs=yes
   8553     if test "$GCC" = yes ; then
   8554     	output_verbose_link_cmd='echo'
   8555         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8556         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8557         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}"
   8558         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}"
   8559     else
   8560       case $cc_basename in
   8561         xlc*)
   8562          output_verbose_link_cmd='echo'
   8563          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8564          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8565           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8566          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}'
   8567           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}'
   8568           ;;
   8569        *)
   8570          ld_shlibs=no
   8571           ;;
   8572       esac
   8573     fi
   8574       ;;
   8575 
   8576     dgux*)
   8577       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8578       hardcode_libdir_flag_spec='-L$libdir'
   8579       hardcode_shlibpath_var=no
   8580       ;;
   8581 
   8582     freebsd1*)
   8583       ld_shlibs=no
   8584       ;;
   8585 
   8586     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8587     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8588     # does not break anything, and helps significantly (at the cost of a little
   8589     # extra space).
   8590     freebsd2.2*)
   8591       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8592       hardcode_libdir_flag_spec='-R$libdir'
   8593       hardcode_direct=yes
   8594       hardcode_shlibpath_var=no
   8595       ;;
   8596 
   8597     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8598     freebsd2*)
   8599       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8600       hardcode_direct=yes
   8601       hardcode_minus_L=yes
   8602       hardcode_shlibpath_var=no
   8603       ;;
   8604 
   8605     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8606     freebsd* | dragonfly*)
   8607       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8608       hardcode_libdir_flag_spec='-R$libdir'
   8609       hardcode_direct=yes
   8610       hardcode_shlibpath_var=no
   8611       ;;
   8612 
   8613     hpux9*)
   8614       if test "$GCC" = yes; then
   8615 	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'
   8616       else
   8617 	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'
   8618       fi
   8619       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8620       hardcode_libdir_separator=:
   8621       hardcode_direct=yes
   8622 
   8623       # hardcode_minus_L: Not really in the search PATH,
   8624       # but as the default location of the library.
   8625       hardcode_minus_L=yes
   8626       export_dynamic_flag_spec='${wl}-E'
   8627       ;;
   8628 
   8629     hpux10*)
   8630       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8631 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8632       else
   8633 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8634       fi
   8635       if test "$with_gnu_ld" = no; then
   8636 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8637 	hardcode_libdir_separator=:
   8638 
   8639 	hardcode_direct=yes
   8640 	export_dynamic_flag_spec='${wl}-E'
   8641 
   8642 	# hardcode_minus_L: Not really in the search PATH,
   8643 	# but as the default location of the library.
   8644 	hardcode_minus_L=yes
   8645       fi
   8646       ;;
   8647 
   8648     hpux11*)
   8649       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8650 	case $host_cpu in
   8651 	hppa*64*)
   8652 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8653 	  ;;
   8654 	ia64*)
   8655 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8656 	  ;;
   8657 	*)
   8658 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8659 	  ;;
   8660 	esac
   8661       else
   8662 	case $host_cpu in
   8663 	hppa*64*)
   8664 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8665 	  ;;
   8666 	ia64*)
   8667 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8668 	  ;;
   8669 	*)
   8670 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8671 	  ;;
   8672 	esac
   8673       fi
   8674       if test "$with_gnu_ld" = no; then
   8675 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8676 	hardcode_libdir_separator=:
   8677 
   8678 	case $host_cpu in
   8679 	hppa*64*|ia64*)
   8680 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8681 	  hardcode_direct=no
   8682 	  hardcode_shlibpath_var=no
   8683 	  ;;
   8684 	*)
   8685 	  hardcode_direct=yes
   8686 	  export_dynamic_flag_spec='${wl}-E'
   8687 
   8688 	  # hardcode_minus_L: Not really in the search PATH,
   8689 	  # but as the default location of the library.
   8690 	  hardcode_minus_L=yes
   8691 	  ;;
   8692 	esac
   8693       fi
   8694       ;;
   8695 
   8696     irix5* | irix6* | nonstopux*)
   8697       if test "$GCC" = yes; then
   8698 	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'
   8699       else
   8700 	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'
   8701 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8702       fi
   8703       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8704       hardcode_libdir_separator=:
   8705       link_all_deplibs=yes
   8706       ;;
   8707 
   8708     netbsd* | netbsdelf*-gnu)
   8709       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8710 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8711       else
   8712 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8713       fi
   8714       hardcode_libdir_flag_spec='-R$libdir'
   8715       hardcode_direct=yes
   8716       hardcode_shlibpath_var=no
   8717       ;;
   8718 
   8719     newsos6)
   8720       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8721       hardcode_direct=yes
   8722       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8723       hardcode_libdir_separator=:
   8724       hardcode_shlibpath_var=no
   8725       ;;
   8726 
   8727     openbsd*)
   8728       if test -f /usr/libexec/ld.so; then
   8729 	hardcode_direct=yes
   8730 	hardcode_shlibpath_var=no
   8731 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8732 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8733 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8734 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8735 	  export_dynamic_flag_spec='${wl}-E'
   8736 	else
   8737 	  case $host_os in
   8738 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8739 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8740 	     hardcode_libdir_flag_spec='-R$libdir'
   8741 	     ;;
   8742 	   *)
   8743 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8744 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8745 	     ;;
   8746 	  esac
   8747         fi
   8748       else
   8749 	ld_shlibs=no
   8750       fi
   8751       ;;
   8752 
   8753     os2*)
   8754       hardcode_libdir_flag_spec='-L$libdir'
   8755       hardcode_minus_L=yes
   8756       allow_undefined_flag=unsupported
   8757       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'
   8758       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8759       ;;
   8760 
   8761     osf3*)
   8762       if test "$GCC" = yes; then
   8763 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8764 	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'
   8765       else
   8766 	allow_undefined_flag=' -expect_unresolved \*'
   8767 	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'
   8768       fi
   8769       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8770       hardcode_libdir_separator=:
   8771       ;;
   8772 
   8773     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8774       if test "$GCC" = yes; then
   8775 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8776 	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'
   8777 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8778       else
   8779 	allow_undefined_flag=' -expect_unresolved \*'
   8780 	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'
   8781 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8782 	$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'
   8783 
   8784 	# Both c and cxx compiler support -rpath directly
   8785 	hardcode_libdir_flag_spec='-rpath $libdir'
   8786       fi
   8787       hardcode_libdir_separator=:
   8788       ;;
   8789 
   8790     solaris*)
   8791       no_undefined_flag=' -z text'
   8792       if test "$GCC" = yes; then
   8793 	wlarc='${wl}'
   8794 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8795 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8796 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8797       else
   8798 	wlarc=''
   8799 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8800 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8801   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8802       fi
   8803       hardcode_libdir_flag_spec='-R$libdir'
   8804       hardcode_shlibpath_var=no
   8805       case $host_os in
   8806       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8807       *)
   8808 	# The compiler driver will combine and reorder linker options,
   8809 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8810 	# but is careful enough not to reorder.
   8811  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8812 	if test "$GCC" = yes; then
   8813 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8814 	else
   8815 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8816 	fi
   8817 	;;
   8818       esac
   8819       link_all_deplibs=yes
   8820       ;;
   8821 
   8822     sunos4*)
   8823       if test "x$host_vendor" = xsequent; then
   8824 	# Use $CC to link under sequent, because it throws in some extra .o
   8825 	# files that make .init and .fini sections work.
   8826 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8827       else
   8828 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8829       fi
   8830       hardcode_libdir_flag_spec='-L$libdir'
   8831       hardcode_direct=yes
   8832       hardcode_minus_L=yes
   8833       hardcode_shlibpath_var=no
   8834       ;;
   8835 
   8836     sysv4)
   8837       case $host_vendor in
   8838 	sni)
   8839 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8840 	  hardcode_direct=yes # is this really true???
   8841 	;;
   8842 	siemens)
   8843 	  ## LD is ld it makes a PLAMLIB
   8844 	  ## CC just makes a GrossModule.
   8845 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8846 	  reload_cmds='$CC -r -o $output$reload_objs'
   8847 	  hardcode_direct=no
   8848         ;;
   8849 	motorola)
   8850 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8851 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8852 	;;
   8853       esac
   8854       runpath_var='LD_RUN_PATH'
   8855       hardcode_shlibpath_var=no
   8856       ;;
   8857 
   8858     sysv4.3*)
   8859       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8860       hardcode_shlibpath_var=no
   8861       export_dynamic_flag_spec='-Bexport'
   8862       ;;
   8863 
   8864     sysv4*MP*)
   8865       if test -d /usr/nec; then
   8866 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8867 	hardcode_shlibpath_var=no
   8868 	runpath_var=LD_RUN_PATH
   8869 	hardcode_runpath_var=yes
   8870 	ld_shlibs=yes
   8871       fi
   8872       ;;
   8873 
   8874     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8875       no_undefined_flag='${wl}-z,text'
   8876       archive_cmds_need_lc=no
   8877       hardcode_shlibpath_var=no
   8878       runpath_var='LD_RUN_PATH'
   8879 
   8880       if test "$GCC" = yes; then
   8881 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8882 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8883       else
   8884 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8885 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8886       fi
   8887       ;;
   8888 
   8889     sysv5* | sco3.2v5* | sco5v6*)
   8890       # Note: We can NOT use -z defs as we might desire, because we do not
   8891       # link with -lc, and that would cause any symbols used from libc to
   8892       # always be unresolved, which means just about no library would
   8893       # ever link correctly.  If we're not using GNU ld we use -z text
   8894       # though, which does catch some bad symbols but isn't as heavy-handed
   8895       # as -z defs.
   8896       no_undefined_flag='${wl}-z,text'
   8897       allow_undefined_flag='${wl}-z,nodefs'
   8898       archive_cmds_need_lc=no
   8899       hardcode_shlibpath_var=no
   8900       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8901       hardcode_libdir_separator=':'
   8902       link_all_deplibs=yes
   8903       export_dynamic_flag_spec='${wl}-Bexport'
   8904       runpath_var='LD_RUN_PATH'
   8905 
   8906       if test "$GCC" = yes; then
   8907 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8908 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8909       else
   8910 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8911 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8912       fi
   8913       ;;
   8914 
   8915     uts4*)
   8916       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8917       hardcode_libdir_flag_spec='-L$libdir'
   8918       hardcode_shlibpath_var=no
   8919       ;;
   8920 
   8921     *)
   8922       ld_shlibs=no
   8923       ;;
   8924     esac
   8925   fi
   8926 
   8927 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8928 echo "${ECHO_T}$ld_shlibs" >&6; }
   8929 test "$ld_shlibs" = no && can_build_shared=no
   8930 
   8931 #
   8932 # Do we need to explicitly link libc?
   8933 #
   8934 case "x$archive_cmds_need_lc" in
   8935 x|xyes)
   8936   # Assume -lc should be added
   8937   archive_cmds_need_lc=yes
   8938 
   8939   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8940     case $archive_cmds in
   8941     *'~'*)
   8942       # FIXME: we may have to deal with multi-command sequences.
   8943       ;;
   8944     '$CC '*)
   8945       # Test whether the compiler implicitly links with -lc since on some
   8946       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8947       # to ld, don't add -lc before -lgcc.
   8948       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8949 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8950       $rm conftest*
   8951       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8952 
   8953       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8954   (eval $ac_compile) 2>&5
   8955   ac_status=$?
   8956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8957   (exit $ac_status); } 2>conftest.err; then
   8958         soname=conftest
   8959         lib=conftest
   8960         libobjs=conftest.$ac_objext
   8961         deplibs=
   8962         wl=$lt_prog_compiler_wl
   8963 	pic_flag=$lt_prog_compiler_pic
   8964         compiler_flags=-v
   8965         linker_flags=-v
   8966         verstring=
   8967         output_objdir=.
   8968         libname=conftest
   8969         lt_save_allow_undefined_flag=$allow_undefined_flag
   8970         allow_undefined_flag=
   8971         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8972   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8973   ac_status=$?
   8974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8975   (exit $ac_status); }
   8976         then
   8977 	  archive_cmds_need_lc=no
   8978         else
   8979 	  archive_cmds_need_lc=yes
   8980         fi
   8981         allow_undefined_flag=$lt_save_allow_undefined_flag
   8982       else
   8983         cat conftest.err 1>&5
   8984       fi
   8985       $rm conftest*
   8986       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8987 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8988       ;;
   8989     esac
   8990   fi
   8991   ;;
   8992 esac
   8993 
   8994 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8995 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8996 library_names_spec=
   8997 libname_spec='lib$name'
   8998 soname_spec=
   8999 shrext_cmds=".so"
   9000 postinstall_cmds=
   9001 postuninstall_cmds=
   9002 finish_cmds=
   9003 finish_eval=
   9004 shlibpath_var=
   9005 shlibpath_overrides_runpath=unknown
   9006 version_type=none
   9007 dynamic_linker="$host_os ld.so"
   9008 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9009 
   9010 if test "$GCC" = yes; then
   9011   case $host_os in
   9012     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9013     *) lt_awk_arg="/^libraries:/" ;;
   9014   esac
   9015   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9016   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9017     # if the path contains ";" then we assume it to be the separator
   9018     # otherwise default to the standard path separator (i.e. ":") - it is
   9019     # assumed that no part of a normal pathname contains ";" but that should
   9020     # okay in the real world where ";" in dirpaths is itself problematic.
   9021     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9022   else
   9023     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9024   fi
   9025   # Ok, now we have the path, separated by spaces, we can step through it
   9026   # and add multilib dir if necessary.
   9027   lt_tmp_lt_search_path_spec=
   9028   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9029   for lt_sys_path in $lt_search_path_spec; do
   9030     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9031       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9032     else
   9033       test -d "$lt_sys_path" && \
   9034 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9035     fi
   9036   done
   9037   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9038 BEGIN {RS=" "; FS="/|\n";} {
   9039   lt_foo="";
   9040   lt_count=0;
   9041   for (lt_i = NF; lt_i > 0; lt_i--) {
   9042     if ($lt_i != "" && $lt_i != ".") {
   9043       if ($lt_i == "..") {
   9044         lt_count++;
   9045       } else {
   9046         if (lt_count == 0) {
   9047           lt_foo="/" $lt_i lt_foo;
   9048         } else {
   9049           lt_count--;
   9050         }
   9051       }
   9052     }
   9053   }
   9054   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9055   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9056 }'`
   9057   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9058 else
   9059   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9060 fi
   9061 need_lib_prefix=unknown
   9062 hardcode_into_libs=no
   9063 
   9064 # when you set need_version to no, make sure it does not cause -set_version
   9065 # flags to be left without arguments
   9066 need_version=unknown
   9067 
   9068 case $host_os in
   9069 aix3*)
   9070   version_type=linux
   9071   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9072   shlibpath_var=LIBPATH
   9073 
   9074   # AIX 3 has no versioning support, so we append a major version to the name.
   9075   soname_spec='${libname}${release}${shared_ext}$major'
   9076   ;;
   9077 
   9078 aix[4-9]*)
   9079   version_type=linux
   9080   need_lib_prefix=no
   9081   need_version=no
   9082   hardcode_into_libs=yes
   9083   if test "$host_cpu" = ia64; then
   9084     # AIX 5 supports IA64
   9085     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9086     shlibpath_var=LD_LIBRARY_PATH
   9087   else
   9088     # With GCC up to 2.95.x, collect2 would create an import file
   9089     # for dependence libraries.  The import file would start with
   9090     # the line `#! .'.  This would cause the generated library to
   9091     # depend on `.', always an invalid library.  This was fixed in
   9092     # development snapshots of GCC prior to 3.0.
   9093     case $host_os in
   9094       aix4 | aix4.[01] | aix4.[01].*)
   9095       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9096 	   echo ' yes '
   9097 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9098 	:
   9099       else
   9100 	can_build_shared=no
   9101       fi
   9102       ;;
   9103     esac
   9104     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9105     # soname into executable. Probably we can add versioning support to
   9106     # collect2, so additional links can be useful in future.
   9107     if test "$aix_use_runtimelinking" = yes; then
   9108       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9109       # instead of lib<name>.a to let people know that these are not
   9110       # typical AIX shared libraries.
   9111       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9112     else
   9113       # We preserve .a as extension for shared libraries through AIX4.2
   9114       # and later when we are not doing run time linking.
   9115       library_names_spec='${libname}${release}.a $libname.a'
   9116       soname_spec='${libname}${release}${shared_ext}$major'
   9117     fi
   9118     shlibpath_var=LIBPATH
   9119   fi
   9120   ;;
   9121 
   9122 amigaos*)
   9123   library_names_spec='$libname.ixlibrary $libname.a'
   9124   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9125   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'
   9126   ;;
   9127 
   9128 beos*)
   9129   library_names_spec='${libname}${shared_ext}'
   9130   dynamic_linker="$host_os ld.so"
   9131   shlibpath_var=LIBRARY_PATH
   9132   ;;
   9133 
   9134 bsdi[45]*)
   9135   version_type=linux
   9136   need_version=no
   9137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9138   soname_spec='${libname}${release}${shared_ext}$major'
   9139   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9140   shlibpath_var=LD_LIBRARY_PATH
   9141   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9142   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9143   # the default ld.so.conf also contains /usr/contrib/lib and
   9144   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9145   # libtool to hard-code these into programs
   9146   ;;
   9147 
   9148 cygwin* | mingw* | pw32*)
   9149   version_type=windows
   9150   shrext_cmds=".dll"
   9151   need_version=no
   9152   need_lib_prefix=no
   9153 
   9154   case $GCC,$host_os in
   9155   yes,cygwin* | yes,mingw* | yes,pw32*)
   9156     library_names_spec='$libname.dll.a'
   9157     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9158     postinstall_cmds='base_file=`basename \${file}`~
   9159       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9160       dldir=$destdir/`dirname \$dlpath`~
   9161       test -d \$dldir || mkdir -p \$dldir~
   9162       $install_prog $dir/$dlname \$dldir/$dlname~
   9163       chmod a+x \$dldir/$dlname'
   9164     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9165       dlpath=$dir/\$dldll~
   9166        $rm \$dlpath'
   9167     shlibpath_overrides_runpath=yes
   9168 
   9169     case $host_os in
   9170     cygwin*)
   9171       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9172       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9173       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9174       ;;
   9175     mingw*)
   9176       # MinGW DLLs use traditional 'lib' prefix
   9177       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9178       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9179       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9180         # It is most probably a Windows format PATH printed by
   9181         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9182         # path with ; separators, and with drive letters. We can handle the
   9183         # drive letters (cygwin fileutils understands them), so leave them,
   9184         # especially as we might pass files found there to a mingw objdump,
   9185         # which wouldn't understand a cygwinified path. Ahh.
   9186         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9187       else
   9188         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9189       fi
   9190       ;;
   9191     pw32*)
   9192       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9193       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9194       ;;
   9195     esac
   9196     ;;
   9197 
   9198   *)
   9199     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9200     ;;
   9201   esac
   9202   dynamic_linker='Win32 ld.exe'
   9203   # FIXME: first we should search . and the directory the executable is in
   9204   shlibpath_var=PATH
   9205   ;;
   9206 
   9207 darwin* | rhapsody*)
   9208   dynamic_linker="$host_os dyld"
   9209   version_type=darwin
   9210   need_lib_prefix=no
   9211   need_version=no
   9212   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9213   soname_spec='${libname}${release}${major}$shared_ext'
   9214   shlibpath_overrides_runpath=yes
   9215   shlibpath_var=DYLD_LIBRARY_PATH
   9216   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9217 
   9218   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9219   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9220   ;;
   9221 
   9222 dgux*)
   9223   version_type=linux
   9224   need_lib_prefix=no
   9225   need_version=no
   9226   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9227   soname_spec='${libname}${release}${shared_ext}$major'
   9228   shlibpath_var=LD_LIBRARY_PATH
   9229   ;;
   9230 
   9231 freebsd1*)
   9232   dynamic_linker=no
   9233   ;;
   9234 
   9235 freebsd* | dragonfly*)
   9236   # DragonFly does not have aout.  When/if they implement a new
   9237   # versioning mechanism, adjust this.
   9238   if test -x /usr/bin/objformat; then
   9239     objformat=`/usr/bin/objformat`
   9240   else
   9241     case $host_os in
   9242     freebsd[123]*) objformat=aout ;;
   9243     *) objformat=elf ;;
   9244     esac
   9245   fi
   9246   version_type=freebsd-$objformat
   9247   case $version_type in
   9248     freebsd-elf*)
   9249       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9250       need_version=no
   9251       need_lib_prefix=no
   9252       ;;
   9253     freebsd-*)
   9254       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9255       need_version=yes
   9256       ;;
   9257   esac
   9258   shlibpath_var=LD_LIBRARY_PATH
   9259   case $host_os in
   9260   freebsd2*)
   9261     shlibpath_overrides_runpath=yes
   9262     ;;
   9263   freebsd3.[01]* | freebsdelf3.[01]*)
   9264     shlibpath_overrides_runpath=yes
   9265     hardcode_into_libs=yes
   9266     ;;
   9267   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9268   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9269     shlibpath_overrides_runpath=no
   9270     hardcode_into_libs=yes
   9271     ;;
   9272   *) # from 4.6 on, and DragonFly
   9273     shlibpath_overrides_runpath=yes
   9274     hardcode_into_libs=yes
   9275     ;;
   9276   esac
   9277   ;;
   9278 
   9279 gnu*)
   9280   version_type=linux
   9281   need_lib_prefix=no
   9282   need_version=no
   9283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9284   soname_spec='${libname}${release}${shared_ext}$major'
   9285   shlibpath_var=LD_LIBRARY_PATH
   9286   hardcode_into_libs=yes
   9287   ;;
   9288 
   9289 hpux9* | hpux10* | hpux11*)
   9290   # Give a soname corresponding to the major version so that dld.sl refuses to
   9291   # link against other versions.
   9292   version_type=sunos
   9293   need_lib_prefix=no
   9294   need_version=no
   9295   case $host_cpu in
   9296   ia64*)
   9297     shrext_cmds='.so'
   9298     hardcode_into_libs=yes
   9299     dynamic_linker="$host_os dld.so"
   9300     shlibpath_var=LD_LIBRARY_PATH
   9301     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9302     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9303     soname_spec='${libname}${release}${shared_ext}$major'
   9304     if test "X$HPUX_IA64_MODE" = X32; then
   9305       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9306     else
   9307       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9308     fi
   9309     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9310     ;;
   9311    hppa*64*)
   9312      shrext_cmds='.sl'
   9313      hardcode_into_libs=yes
   9314      dynamic_linker="$host_os dld.sl"
   9315      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9316      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9317      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9318      soname_spec='${libname}${release}${shared_ext}$major'
   9319      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9320      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9321      ;;
   9322    *)
   9323     shrext_cmds='.sl'
   9324     dynamic_linker="$host_os dld.sl"
   9325     shlibpath_var=SHLIB_PATH
   9326     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9327     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9328     soname_spec='${libname}${release}${shared_ext}$major'
   9329     ;;
   9330   esac
   9331   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9332   postinstall_cmds='chmod 555 $lib'
   9333   ;;
   9334 
   9335 interix[3-9]*)
   9336   version_type=linux
   9337   need_lib_prefix=no
   9338   need_version=no
   9339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9340   soname_spec='${libname}${release}${shared_ext}$major'
   9341   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9342   shlibpath_var=LD_LIBRARY_PATH
   9343   shlibpath_overrides_runpath=no
   9344   hardcode_into_libs=yes
   9345   ;;
   9346 
   9347 irix5* | irix6* | nonstopux*)
   9348   case $host_os in
   9349     nonstopux*) version_type=nonstopux ;;
   9350     *)
   9351 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9352 		version_type=linux
   9353 	else
   9354 		version_type=irix
   9355 	fi ;;
   9356   esac
   9357   need_lib_prefix=no
   9358   need_version=no
   9359   soname_spec='${libname}${release}${shared_ext}$major'
   9360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9361   case $host_os in
   9362   irix5* | nonstopux*)
   9363     libsuff= shlibsuff=
   9364     ;;
   9365   *)
   9366     case $LD in # libtool.m4 will add one of these switches to LD
   9367     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9368       libsuff= shlibsuff= libmagic=32-bit;;
   9369     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9370       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9371     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9372       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9373     *) libsuff= shlibsuff= libmagic=never-match;;
   9374     esac
   9375     ;;
   9376   esac
   9377   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9378   shlibpath_overrides_runpath=no
   9379   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9380   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9381   hardcode_into_libs=yes
   9382   ;;
   9383 
   9384 # No shared lib support for Linux oldld, aout, or coff.
   9385 linux*oldld* | linux*aout* | linux*coff*)
   9386   dynamic_linker=no
   9387   ;;
   9388 
   9389 # This must be Linux ELF.
   9390 linux* | k*bsd*-gnu)
   9391   version_type=linux
   9392   need_lib_prefix=no
   9393   need_version=no
   9394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9395   soname_spec='${libname}${release}${shared_ext}$major'
   9396   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9397   shlibpath_var=LD_LIBRARY_PATH
   9398   shlibpath_overrides_runpath=no
   9399   # This implies no fast_install, which is unacceptable.
   9400   # Some rework will be needed to allow for fast_install
   9401   # before this can be enabled.
   9402   hardcode_into_libs=yes
   9403 
   9404   # Append ld.so.conf contents to the search path
   9405   if test -f /etc/ld.so.conf; then
   9406     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' ' '`
   9407     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9408   fi
   9409 
   9410   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9411   # powerpc, because MkLinux only supported shared libraries with the
   9412   # GNU dynamic linker.  Since this was broken with cross compilers,
   9413   # most powerpc-linux boxes support dynamic linking these days and
   9414   # people can always --disable-shared, the test was removed, and we
   9415   # assume the GNU/Linux dynamic linker is in use.
   9416   dynamic_linker='GNU/Linux ld.so'
   9417   ;;
   9418 
   9419 netbsdelf*-gnu)
   9420   version_type=linux
   9421   need_lib_prefix=no
   9422   need_version=no
   9423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9424   soname_spec='${libname}${release}${shared_ext}$major'
   9425   shlibpath_var=LD_LIBRARY_PATH
   9426   shlibpath_overrides_runpath=no
   9427   hardcode_into_libs=yes
   9428   dynamic_linker='NetBSD ld.elf_so'
   9429   ;;
   9430 
   9431 netbsd*)
   9432   version_type=sunos
   9433   need_lib_prefix=no
   9434   need_version=no
   9435   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9436     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9437     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9438     dynamic_linker='NetBSD (a.out) ld.so'
   9439   else
   9440     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9441     soname_spec='${libname}${release}${shared_ext}$major'
   9442     dynamic_linker='NetBSD ld.elf_so'
   9443   fi
   9444   shlibpath_var=LD_LIBRARY_PATH
   9445   shlibpath_overrides_runpath=yes
   9446   hardcode_into_libs=yes
   9447   ;;
   9448 
   9449 newsos6)
   9450   version_type=linux
   9451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9452   shlibpath_var=LD_LIBRARY_PATH
   9453   shlibpath_overrides_runpath=yes
   9454   ;;
   9455 
   9456 nto-qnx*)
   9457   version_type=linux
   9458   need_lib_prefix=no
   9459   need_version=no
   9460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9461   soname_spec='${libname}${release}${shared_ext}$major'
   9462   shlibpath_var=LD_LIBRARY_PATH
   9463   shlibpath_overrides_runpath=yes
   9464   ;;
   9465 
   9466 openbsd*)
   9467   version_type=sunos
   9468   sys_lib_dlsearch_path_spec="/usr/lib"
   9469   need_lib_prefix=no
   9470   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9471   case $host_os in
   9472     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9473     *)                         need_version=no  ;;
   9474   esac
   9475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9476   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9477   shlibpath_var=LD_LIBRARY_PATH
   9478   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9479     case $host_os in
   9480       openbsd2.[89] | openbsd2.[89].*)
   9481 	shlibpath_overrides_runpath=no
   9482 	;;
   9483       *)
   9484 	shlibpath_overrides_runpath=yes
   9485 	;;
   9486       esac
   9487   else
   9488     shlibpath_overrides_runpath=yes
   9489   fi
   9490   ;;
   9491 
   9492 os2*)
   9493   libname_spec='$name'
   9494   shrext_cmds=".dll"
   9495   need_lib_prefix=no
   9496   library_names_spec='$libname${shared_ext} $libname.a'
   9497   dynamic_linker='OS/2 ld.exe'
   9498   shlibpath_var=LIBPATH
   9499   ;;
   9500 
   9501 osf3* | osf4* | osf5*)
   9502   version_type=osf
   9503   need_lib_prefix=no
   9504   need_version=no
   9505   soname_spec='${libname}${release}${shared_ext}$major'
   9506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9507   shlibpath_var=LD_LIBRARY_PATH
   9508   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9509   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9510   ;;
   9511 
   9512 rdos*)
   9513   dynamic_linker=no
   9514   ;;
   9515 
   9516 solaris*)
   9517   version_type=linux
   9518   need_lib_prefix=no
   9519   need_version=no
   9520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9521   soname_spec='${libname}${release}${shared_ext}$major'
   9522   shlibpath_var=LD_LIBRARY_PATH
   9523   shlibpath_overrides_runpath=yes
   9524   hardcode_into_libs=yes
   9525   # ldd complains unless libraries are executable
   9526   postinstall_cmds='chmod +x $lib'
   9527   ;;
   9528 
   9529 sunos4*)
   9530   version_type=sunos
   9531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9532   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9533   shlibpath_var=LD_LIBRARY_PATH
   9534   shlibpath_overrides_runpath=yes
   9535   if test "$with_gnu_ld" = yes; then
   9536     need_lib_prefix=no
   9537   fi
   9538   need_version=yes
   9539   ;;
   9540 
   9541 sysv4 | sysv4.3*)
   9542   version_type=linux
   9543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9544   soname_spec='${libname}${release}${shared_ext}$major'
   9545   shlibpath_var=LD_LIBRARY_PATH
   9546   case $host_vendor in
   9547     sni)
   9548       shlibpath_overrides_runpath=no
   9549       need_lib_prefix=no
   9550       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9551       runpath_var=LD_RUN_PATH
   9552       ;;
   9553     siemens)
   9554       need_lib_prefix=no
   9555       ;;
   9556     motorola)
   9557       need_lib_prefix=no
   9558       need_version=no
   9559       shlibpath_overrides_runpath=no
   9560       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9561       ;;
   9562   esac
   9563   ;;
   9564 
   9565 sysv4*MP*)
   9566   if test -d /usr/nec ;then
   9567     version_type=linux
   9568     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9569     soname_spec='$libname${shared_ext}.$major'
   9570     shlibpath_var=LD_LIBRARY_PATH
   9571   fi
   9572   ;;
   9573 
   9574 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9575   version_type=freebsd-elf
   9576   need_lib_prefix=no
   9577   need_version=no
   9578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9579   soname_spec='${libname}${release}${shared_ext}$major'
   9580   shlibpath_var=LD_LIBRARY_PATH
   9581   hardcode_into_libs=yes
   9582   if test "$with_gnu_ld" = yes; then
   9583     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9584     shlibpath_overrides_runpath=no
   9585   else
   9586     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9587     shlibpath_overrides_runpath=yes
   9588     case $host_os in
   9589       sco3.2v5*)
   9590         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9591 	;;
   9592     esac
   9593   fi
   9594   sys_lib_dlsearch_path_spec='/usr/lib'
   9595   ;;
   9596 
   9597 uts4*)
   9598   version_type=linux
   9599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9600   soname_spec='${libname}${release}${shared_ext}$major'
   9601   shlibpath_var=LD_LIBRARY_PATH
   9602   ;;
   9603 
   9604 *)
   9605   dynamic_linker=no
   9606   ;;
   9607 esac
   9608 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9609 echo "${ECHO_T}$dynamic_linker" >&6; }
   9610 test "$dynamic_linker" = no && can_build_shared=no
   9611 
   9612 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9613   echo $ECHO_N "(cached) $ECHO_C" >&6
   9614 else
   9615   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9616 fi
   9617 
   9618 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9619 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9620   echo $ECHO_N "(cached) $ECHO_C" >&6
   9621 else
   9622   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9623 fi
   9624 
   9625 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9626 
   9627 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9628 if test "$GCC" = yes; then
   9629   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9630 fi
   9631 
   9632 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9633 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9634 hardcode_action=
   9635 if test -n "$hardcode_libdir_flag_spec" || \
   9636    test -n "$runpath_var" || \
   9637    test "X$hardcode_automatic" = "Xyes" ; then
   9638 
   9639   # We can hardcode non-existant directories.
   9640   if test "$hardcode_direct" != no &&
   9641      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9642      # have to relink, otherwise we might link with an installed library
   9643      # when we should be linking with a yet-to-be-installed one
   9644      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9645      test "$hardcode_minus_L" != no; then
   9646     # Linking always hardcodes the temporary library directory.
   9647     hardcode_action=relink
   9648   else
   9649     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9650     hardcode_action=immediate
   9651   fi
   9652 else
   9653   # We cannot hardcode anything, or else we can only hardcode existing
   9654   # directories.
   9655   hardcode_action=unsupported
   9656 fi
   9657 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9658 echo "${ECHO_T}$hardcode_action" >&6; }
   9659 
   9660 if test "$hardcode_action" = relink; then
   9661   # Fast installation is not supported
   9662   enable_fast_install=no
   9663 elif test "$shlibpath_overrides_runpath" = yes ||
   9664      test "$enable_shared" = no; then
   9665   # Fast installation is not necessary
   9666   enable_fast_install=needless
   9667 fi
   9668 
   9669 striplib=
   9670 old_striplib=
   9671 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9672 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9673 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9674   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9675   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9676   { echo "$as_me:$LINENO: result: yes" >&5
   9677 echo "${ECHO_T}yes" >&6; }
   9678 else
   9679 # FIXME - insert some real tests, host_os isn't really good enough
   9680   case $host_os in
   9681    darwin*)
   9682        if test -n "$STRIP" ; then
   9683          striplib="$STRIP -x"
   9684          old_striplib="$STRIP -S"
   9685          { echo "$as_me:$LINENO: result: yes" >&5
   9686 echo "${ECHO_T}yes" >&6; }
   9687        else
   9688   { echo "$as_me:$LINENO: result: no" >&5
   9689 echo "${ECHO_T}no" >&6; }
   9690 fi
   9691        ;;
   9692    *)
   9693   { echo "$as_me:$LINENO: result: no" >&5
   9694 echo "${ECHO_T}no" >&6; }
   9695     ;;
   9696   esac
   9697 fi
   9698 
   9699 if test "x$enable_dlopen" != xyes; then
   9700   enable_dlopen=unknown
   9701   enable_dlopen_self=unknown
   9702   enable_dlopen_self_static=unknown
   9703 else
   9704   lt_cv_dlopen=no
   9705   lt_cv_dlopen_libs=
   9706 
   9707   case $host_os in
   9708   beos*)
   9709     lt_cv_dlopen="load_add_on"
   9710     lt_cv_dlopen_libs=
   9711     lt_cv_dlopen_self=yes
   9712     ;;
   9713 
   9714   mingw* | pw32*)
   9715     lt_cv_dlopen="LoadLibrary"
   9716     lt_cv_dlopen_libs=
   9717    ;;
   9718 
   9719   cygwin*)
   9720     lt_cv_dlopen="dlopen"
   9721     lt_cv_dlopen_libs=
   9722    ;;
   9723 
   9724   darwin*)
   9725   # if libdl is installed we need to link against it
   9726     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9727 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9728 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9729   echo $ECHO_N "(cached) $ECHO_C" >&6
   9730 else
   9731   ac_check_lib_save_LIBS=$LIBS
   9732 LIBS="-ldl  $LIBS"
   9733 cat >conftest.$ac_ext <<_ACEOF
   9734 /* confdefs.h.  */
   9735 _ACEOF
   9736 cat confdefs.h >>conftest.$ac_ext
   9737 cat >>conftest.$ac_ext <<_ACEOF
   9738 /* end confdefs.h.  */
   9739 
   9740 /* Override any GCC internal prototype to avoid an error.
   9741    Use char because int might match the return type of a GCC
   9742    builtin and then its argument prototype would still apply.  */
   9743 #ifdef __cplusplus
   9744 extern "C"
   9745 #endif
   9746 char dlopen ();
   9747 int
   9748 main ()
   9749 {
   9750 return dlopen ();
   9751   ;
   9752   return 0;
   9753 }
   9754 _ACEOF
   9755 rm -f conftest.$ac_objext conftest$ac_exeext
   9756 if { (ac_try="$ac_link"
   9757 case "(($ac_try" in
   9758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9759   *) ac_try_echo=$ac_try;;
   9760 esac
   9761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9762   (eval "$ac_link") 2>conftest.er1
   9763   ac_status=$?
   9764   grep -v '^ *+' conftest.er1 >conftest.err
   9765   rm -f conftest.er1
   9766   cat conftest.err >&5
   9767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9768   (exit $ac_status); } && {
   9769 	 test -z "$ac_c_werror_flag" ||
   9770 	 test ! -s conftest.err
   9771        } && test -s conftest$ac_exeext &&
   9772        $as_test_x conftest$ac_exeext; then
   9773   ac_cv_lib_dl_dlopen=yes
   9774 else
   9775   echo "$as_me: failed program was:" >&5
   9776 sed 's/^/| /' conftest.$ac_ext >&5
   9777 
   9778 	ac_cv_lib_dl_dlopen=no
   9779 fi
   9780 
   9781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9782       conftest$ac_exeext conftest.$ac_ext
   9783 LIBS=$ac_check_lib_save_LIBS
   9784 fi
   9785 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9786 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9787 if test $ac_cv_lib_dl_dlopen = yes; then
   9788   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9789 else
   9790 
   9791     lt_cv_dlopen="dyld"
   9792     lt_cv_dlopen_libs=
   9793     lt_cv_dlopen_self=yes
   9794 
   9795 fi
   9796 
   9797    ;;
   9798 
   9799   *)
   9800     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9801 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9802 if test "${ac_cv_func_shl_load+set}" = set; then
   9803   echo $ECHO_N "(cached) $ECHO_C" >&6
   9804 else
   9805   cat >conftest.$ac_ext <<_ACEOF
   9806 /* confdefs.h.  */
   9807 _ACEOF
   9808 cat confdefs.h >>conftest.$ac_ext
   9809 cat >>conftest.$ac_ext <<_ACEOF
   9810 /* end confdefs.h.  */
   9811 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9813 #define shl_load innocuous_shl_load
   9814 
   9815 /* System header to define __stub macros and hopefully few prototypes,
   9816     which can conflict with char shl_load (); below.
   9817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9818     <limits.h> exists even on freestanding compilers.  */
   9819 
   9820 #ifdef __STDC__
   9821 # include <limits.h>
   9822 #else
   9823 # include <assert.h>
   9824 #endif
   9825 
   9826 #undef shl_load
   9827 
   9828 /* Override any GCC internal prototype to avoid an error.
   9829    Use char because int might match the return type of a GCC
   9830    builtin and then its argument prototype would still apply.  */
   9831 #ifdef __cplusplus
   9832 extern "C"
   9833 #endif
   9834 char shl_load ();
   9835 /* The GNU C library defines this for functions which it implements
   9836     to always fail with ENOSYS.  Some functions are actually named
   9837     something starting with __ and the normal name is an alias.  */
   9838 #if defined __stub_shl_load || defined __stub___shl_load
   9839 choke me
   9840 #endif
   9841 
   9842 int
   9843 main ()
   9844 {
   9845 return shl_load ();
   9846   ;
   9847   return 0;
   9848 }
   9849 _ACEOF
   9850 rm -f conftest.$ac_objext conftest$ac_exeext
   9851 if { (ac_try="$ac_link"
   9852 case "(($ac_try" in
   9853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9854   *) ac_try_echo=$ac_try;;
   9855 esac
   9856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9857   (eval "$ac_link") 2>conftest.er1
   9858   ac_status=$?
   9859   grep -v '^ *+' conftest.er1 >conftest.err
   9860   rm -f conftest.er1
   9861   cat conftest.err >&5
   9862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9863   (exit $ac_status); } && {
   9864 	 test -z "$ac_c_werror_flag" ||
   9865 	 test ! -s conftest.err
   9866        } && test -s conftest$ac_exeext &&
   9867        $as_test_x conftest$ac_exeext; then
   9868   ac_cv_func_shl_load=yes
   9869 else
   9870   echo "$as_me: failed program was:" >&5
   9871 sed 's/^/| /' conftest.$ac_ext >&5
   9872 
   9873 	ac_cv_func_shl_load=no
   9874 fi
   9875 
   9876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9877       conftest$ac_exeext conftest.$ac_ext
   9878 fi
   9879 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9880 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9881 if test $ac_cv_func_shl_load = yes; then
   9882   lt_cv_dlopen="shl_load"
   9883 else
   9884   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9885 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9886 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9887   echo $ECHO_N "(cached) $ECHO_C" >&6
   9888 else
   9889   ac_check_lib_save_LIBS=$LIBS
   9890 LIBS="-ldld  $LIBS"
   9891 cat >conftest.$ac_ext <<_ACEOF
   9892 /* confdefs.h.  */
   9893 _ACEOF
   9894 cat confdefs.h >>conftest.$ac_ext
   9895 cat >>conftest.$ac_ext <<_ACEOF
   9896 /* end confdefs.h.  */
   9897 
   9898 /* Override any GCC internal prototype to avoid an error.
   9899    Use char because int might match the return type of a GCC
   9900    builtin and then its argument prototype would still apply.  */
   9901 #ifdef __cplusplus
   9902 extern "C"
   9903 #endif
   9904 char shl_load ();
   9905 int
   9906 main ()
   9907 {
   9908 return shl_load ();
   9909   ;
   9910   return 0;
   9911 }
   9912 _ACEOF
   9913 rm -f conftest.$ac_objext conftest$ac_exeext
   9914 if { (ac_try="$ac_link"
   9915 case "(($ac_try" in
   9916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9917   *) ac_try_echo=$ac_try;;
   9918 esac
   9919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9920   (eval "$ac_link") 2>conftest.er1
   9921   ac_status=$?
   9922   grep -v '^ *+' conftest.er1 >conftest.err
   9923   rm -f conftest.er1
   9924   cat conftest.err >&5
   9925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9926   (exit $ac_status); } && {
   9927 	 test -z "$ac_c_werror_flag" ||
   9928 	 test ! -s conftest.err
   9929        } && test -s conftest$ac_exeext &&
   9930        $as_test_x conftest$ac_exeext; then
   9931   ac_cv_lib_dld_shl_load=yes
   9932 else
   9933   echo "$as_me: failed program was:" >&5
   9934 sed 's/^/| /' conftest.$ac_ext >&5
   9935 
   9936 	ac_cv_lib_dld_shl_load=no
   9937 fi
   9938 
   9939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9940       conftest$ac_exeext conftest.$ac_ext
   9941 LIBS=$ac_check_lib_save_LIBS
   9942 fi
   9943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9944 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9945 if test $ac_cv_lib_dld_shl_load = yes; then
   9946   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   9947 else
   9948   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9949 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9950 if test "${ac_cv_func_dlopen+set}" = set; then
   9951   echo $ECHO_N "(cached) $ECHO_C" >&6
   9952 else
   9953   cat >conftest.$ac_ext <<_ACEOF
   9954 /* confdefs.h.  */
   9955 _ACEOF
   9956 cat confdefs.h >>conftest.$ac_ext
   9957 cat >>conftest.$ac_ext <<_ACEOF
   9958 /* end confdefs.h.  */
   9959 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9961 #define dlopen innocuous_dlopen
   9962 
   9963 /* System header to define __stub macros and hopefully few prototypes,
   9964     which can conflict with char dlopen (); below.
   9965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9966     <limits.h> exists even on freestanding compilers.  */
   9967 
   9968 #ifdef __STDC__
   9969 # include <limits.h>
   9970 #else
   9971 # include <assert.h>
   9972 #endif
   9973 
   9974 #undef dlopen
   9975 
   9976 /* Override any GCC internal prototype to avoid an error.
   9977    Use char because int might match the return type of a GCC
   9978    builtin and then its argument prototype would still apply.  */
   9979 #ifdef __cplusplus
   9980 extern "C"
   9981 #endif
   9982 char dlopen ();
   9983 /* The GNU C library defines this for functions which it implements
   9984     to always fail with ENOSYS.  Some functions are actually named
   9985     something starting with __ and the normal name is an alias.  */
   9986 #if defined __stub_dlopen || defined __stub___dlopen
   9987 choke me
   9988 #endif
   9989 
   9990 int
   9991 main ()
   9992 {
   9993 return dlopen ();
   9994   ;
   9995   return 0;
   9996 }
   9997 _ACEOF
   9998 rm -f conftest.$ac_objext conftest$ac_exeext
   9999 if { (ac_try="$ac_link"
   10000 case "(($ac_try" in
   10001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10002   *) ac_try_echo=$ac_try;;
   10003 esac
   10004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10005   (eval "$ac_link") 2>conftest.er1
   10006   ac_status=$?
   10007   grep -v '^ *+' conftest.er1 >conftest.err
   10008   rm -f conftest.er1
   10009   cat conftest.err >&5
   10010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10011   (exit $ac_status); } && {
   10012 	 test -z "$ac_c_werror_flag" ||
   10013 	 test ! -s conftest.err
   10014        } && test -s conftest$ac_exeext &&
   10015        $as_test_x conftest$ac_exeext; then
   10016   ac_cv_func_dlopen=yes
   10017 else
   10018   echo "$as_me: failed program was:" >&5
   10019 sed 's/^/| /' conftest.$ac_ext >&5
   10020 
   10021 	ac_cv_func_dlopen=no
   10022 fi
   10023 
   10024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10025       conftest$ac_exeext conftest.$ac_ext
   10026 fi
   10027 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10028 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   10029 if test $ac_cv_func_dlopen = yes; then
   10030   lt_cv_dlopen="dlopen"
   10031 else
   10032   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10033 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10034 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10035   echo $ECHO_N "(cached) $ECHO_C" >&6
   10036 else
   10037   ac_check_lib_save_LIBS=$LIBS
   10038 LIBS="-ldl  $LIBS"
   10039 cat >conftest.$ac_ext <<_ACEOF
   10040 /* confdefs.h.  */
   10041 _ACEOF
   10042 cat confdefs.h >>conftest.$ac_ext
   10043 cat >>conftest.$ac_ext <<_ACEOF
   10044 /* end confdefs.h.  */
   10045 
   10046 /* Override any GCC internal prototype to avoid an error.
   10047    Use char because int might match the return type of a GCC
   10048    builtin and then its argument prototype would still apply.  */
   10049 #ifdef __cplusplus
   10050 extern "C"
   10051 #endif
   10052 char dlopen ();
   10053 int
   10054 main ()
   10055 {
   10056 return dlopen ();
   10057   ;
   10058   return 0;
   10059 }
   10060 _ACEOF
   10061 rm -f conftest.$ac_objext conftest$ac_exeext
   10062 if { (ac_try="$ac_link"
   10063 case "(($ac_try" in
   10064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10065   *) ac_try_echo=$ac_try;;
   10066 esac
   10067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10068   (eval "$ac_link") 2>conftest.er1
   10069   ac_status=$?
   10070   grep -v '^ *+' conftest.er1 >conftest.err
   10071   rm -f conftest.er1
   10072   cat conftest.err >&5
   10073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10074   (exit $ac_status); } && {
   10075 	 test -z "$ac_c_werror_flag" ||
   10076 	 test ! -s conftest.err
   10077        } && test -s conftest$ac_exeext &&
   10078        $as_test_x conftest$ac_exeext; then
   10079   ac_cv_lib_dl_dlopen=yes
   10080 else
   10081   echo "$as_me: failed program was:" >&5
   10082 sed 's/^/| /' conftest.$ac_ext >&5
   10083 
   10084 	ac_cv_lib_dl_dlopen=no
   10085 fi
   10086 
   10087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10088       conftest$ac_exeext conftest.$ac_ext
   10089 LIBS=$ac_check_lib_save_LIBS
   10090 fi
   10091 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10092 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10093 if test $ac_cv_lib_dl_dlopen = yes; then
   10094   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10095 else
   10096   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10097 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10098 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10099   echo $ECHO_N "(cached) $ECHO_C" >&6
   10100 else
   10101   ac_check_lib_save_LIBS=$LIBS
   10102 LIBS="-lsvld  $LIBS"
   10103 cat >conftest.$ac_ext <<_ACEOF
   10104 /* confdefs.h.  */
   10105 _ACEOF
   10106 cat confdefs.h >>conftest.$ac_ext
   10107 cat >>conftest.$ac_ext <<_ACEOF
   10108 /* end confdefs.h.  */
   10109 
   10110 /* Override any GCC internal prototype to avoid an error.
   10111    Use char because int might match the return type of a GCC
   10112    builtin and then its argument prototype would still apply.  */
   10113 #ifdef __cplusplus
   10114 extern "C"
   10115 #endif
   10116 char dlopen ();
   10117 int
   10118 main ()
   10119 {
   10120 return dlopen ();
   10121   ;
   10122   return 0;
   10123 }
   10124 _ACEOF
   10125 rm -f conftest.$ac_objext conftest$ac_exeext
   10126 if { (ac_try="$ac_link"
   10127 case "(($ac_try" in
   10128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10129   *) ac_try_echo=$ac_try;;
   10130 esac
   10131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10132   (eval "$ac_link") 2>conftest.er1
   10133   ac_status=$?
   10134   grep -v '^ *+' conftest.er1 >conftest.err
   10135   rm -f conftest.er1
   10136   cat conftest.err >&5
   10137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10138   (exit $ac_status); } && {
   10139 	 test -z "$ac_c_werror_flag" ||
   10140 	 test ! -s conftest.err
   10141        } && test -s conftest$ac_exeext &&
   10142        $as_test_x conftest$ac_exeext; then
   10143   ac_cv_lib_svld_dlopen=yes
   10144 else
   10145   echo "$as_me: failed program was:" >&5
   10146 sed 's/^/| /' conftest.$ac_ext >&5
   10147 
   10148 	ac_cv_lib_svld_dlopen=no
   10149 fi
   10150 
   10151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10152       conftest$ac_exeext conftest.$ac_ext
   10153 LIBS=$ac_check_lib_save_LIBS
   10154 fi
   10155 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10156 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10157 if test $ac_cv_lib_svld_dlopen = yes; then
   10158   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10159 else
   10160   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10161 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10162 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10163   echo $ECHO_N "(cached) $ECHO_C" >&6
   10164 else
   10165   ac_check_lib_save_LIBS=$LIBS
   10166 LIBS="-ldld  $LIBS"
   10167 cat >conftest.$ac_ext <<_ACEOF
   10168 /* confdefs.h.  */
   10169 _ACEOF
   10170 cat confdefs.h >>conftest.$ac_ext
   10171 cat >>conftest.$ac_ext <<_ACEOF
   10172 /* end confdefs.h.  */
   10173 
   10174 /* Override any GCC internal prototype to avoid an error.
   10175    Use char because int might match the return type of a GCC
   10176    builtin and then its argument prototype would still apply.  */
   10177 #ifdef __cplusplus
   10178 extern "C"
   10179 #endif
   10180 char dld_link ();
   10181 int
   10182 main ()
   10183 {
   10184 return dld_link ();
   10185   ;
   10186   return 0;
   10187 }
   10188 _ACEOF
   10189 rm -f conftest.$ac_objext conftest$ac_exeext
   10190 if { (ac_try="$ac_link"
   10191 case "(($ac_try" in
   10192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10193   *) ac_try_echo=$ac_try;;
   10194 esac
   10195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10196   (eval "$ac_link") 2>conftest.er1
   10197   ac_status=$?
   10198   grep -v '^ *+' conftest.er1 >conftest.err
   10199   rm -f conftest.er1
   10200   cat conftest.err >&5
   10201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10202   (exit $ac_status); } && {
   10203 	 test -z "$ac_c_werror_flag" ||
   10204 	 test ! -s conftest.err
   10205        } && test -s conftest$ac_exeext &&
   10206        $as_test_x conftest$ac_exeext; then
   10207   ac_cv_lib_dld_dld_link=yes
   10208 else
   10209   echo "$as_me: failed program was:" >&5
   10210 sed 's/^/| /' conftest.$ac_ext >&5
   10211 
   10212 	ac_cv_lib_dld_dld_link=no
   10213 fi
   10214 
   10215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10216       conftest$ac_exeext conftest.$ac_ext
   10217 LIBS=$ac_check_lib_save_LIBS
   10218 fi
   10219 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10220 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10221 if test $ac_cv_lib_dld_dld_link = yes; then
   10222   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10223 fi
   10224 
   10225 
   10226 fi
   10227 
   10228 
   10229 fi
   10230 
   10231 
   10232 fi
   10233 
   10234 
   10235 fi
   10236 
   10237 
   10238 fi
   10239 
   10240     ;;
   10241   esac
   10242 
   10243   if test "x$lt_cv_dlopen" != xno; then
   10244     enable_dlopen=yes
   10245   else
   10246     enable_dlopen=no
   10247   fi
   10248 
   10249   case $lt_cv_dlopen in
   10250   dlopen)
   10251     save_CPPFLAGS="$CPPFLAGS"
   10252     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10253 
   10254     save_LDFLAGS="$LDFLAGS"
   10255     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10256 
   10257     save_LIBS="$LIBS"
   10258     LIBS="$lt_cv_dlopen_libs $LIBS"
   10259 
   10260     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10261 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10262 if test "${lt_cv_dlopen_self+set}" = set; then
   10263   echo $ECHO_N "(cached) $ECHO_C" >&6
   10264 else
   10265   	  if test "$cross_compiling" = yes; then :
   10266   lt_cv_dlopen_self=cross
   10267 else
   10268   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10269   lt_status=$lt_dlunknown
   10270   cat > conftest.$ac_ext <<EOF
   10271 #line 10271 "configure"
   10272 #include "confdefs.h"
   10273 
   10274 #if HAVE_DLFCN_H
   10275 #include <dlfcn.h>
   10276 #endif
   10277 
   10278 #include <stdio.h>
   10279 
   10280 #ifdef RTLD_GLOBAL
   10281 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10282 #else
   10283 #  ifdef DL_GLOBAL
   10284 #    define LT_DLGLOBAL		DL_GLOBAL
   10285 #  else
   10286 #    define LT_DLGLOBAL		0
   10287 #  endif
   10288 #endif
   10289 
   10290 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10291    find out it does not work in some platform. */
   10292 #ifndef LT_DLLAZY_OR_NOW
   10293 #  ifdef RTLD_LAZY
   10294 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10295 #  else
   10296 #    ifdef DL_LAZY
   10297 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10298 #    else
   10299 #      ifdef RTLD_NOW
   10300 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10301 #      else
   10302 #        ifdef DL_NOW
   10303 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10304 #        else
   10305 #          define LT_DLLAZY_OR_NOW	0
   10306 #        endif
   10307 #      endif
   10308 #    endif
   10309 #  endif
   10310 #endif
   10311 
   10312 #ifdef __cplusplus
   10313 extern "C" void exit (int);
   10314 #endif
   10315 
   10316 void fnord() { int i=42;}
   10317 int main ()
   10318 {
   10319   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10320   int status = $lt_dlunknown;
   10321 
   10322   if (self)
   10323     {
   10324       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10325       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10326       /* dlclose (self); */
   10327     }
   10328   else
   10329     puts (dlerror ());
   10330 
   10331     exit (status);
   10332 }
   10333 EOF
   10334   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10335   (eval $ac_link) 2>&5
   10336   ac_status=$?
   10337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10338   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10339     (./conftest; exit; ) >&5 2>/dev/null
   10340     lt_status=$?
   10341     case x$lt_status in
   10342       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10343       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10344       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10345     esac
   10346   else :
   10347     # compilation failed
   10348     lt_cv_dlopen_self=no
   10349   fi
   10350 fi
   10351 rm -fr conftest*
   10352 
   10353 
   10354 fi
   10355 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10356 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10357 
   10358     if test "x$lt_cv_dlopen_self" = xyes; then
   10359       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10360       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10361 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10362 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10363   echo $ECHO_N "(cached) $ECHO_C" >&6
   10364 else
   10365   	  if test "$cross_compiling" = yes; then :
   10366   lt_cv_dlopen_self_static=cross
   10367 else
   10368   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10369   lt_status=$lt_dlunknown
   10370   cat > conftest.$ac_ext <<EOF
   10371 #line 10371 "configure"
   10372 #include "confdefs.h"
   10373 
   10374 #if HAVE_DLFCN_H
   10375 #include <dlfcn.h>
   10376 #endif
   10377 
   10378 #include <stdio.h>
   10379 
   10380 #ifdef RTLD_GLOBAL
   10381 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10382 #else
   10383 #  ifdef DL_GLOBAL
   10384 #    define LT_DLGLOBAL		DL_GLOBAL
   10385 #  else
   10386 #    define LT_DLGLOBAL		0
   10387 #  endif
   10388 #endif
   10389 
   10390 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10391    find out it does not work in some platform. */
   10392 #ifndef LT_DLLAZY_OR_NOW
   10393 #  ifdef RTLD_LAZY
   10394 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10395 #  else
   10396 #    ifdef DL_LAZY
   10397 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10398 #    else
   10399 #      ifdef RTLD_NOW
   10400 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10401 #      else
   10402 #        ifdef DL_NOW
   10403 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10404 #        else
   10405 #          define LT_DLLAZY_OR_NOW	0
   10406 #        endif
   10407 #      endif
   10408 #    endif
   10409 #  endif
   10410 #endif
   10411 
   10412 #ifdef __cplusplus
   10413 extern "C" void exit (int);
   10414 #endif
   10415 
   10416 void fnord() { int i=42;}
   10417 int main ()
   10418 {
   10419   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10420   int status = $lt_dlunknown;
   10421 
   10422   if (self)
   10423     {
   10424       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10425       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10426       /* dlclose (self); */
   10427     }
   10428   else
   10429     puts (dlerror ());
   10430 
   10431     exit (status);
   10432 }
   10433 EOF
   10434   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10435   (eval $ac_link) 2>&5
   10436   ac_status=$?
   10437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10438   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10439     (./conftest; exit; ) >&5 2>/dev/null
   10440     lt_status=$?
   10441     case x$lt_status in
   10442       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10443       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10444       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10445     esac
   10446   else :
   10447     # compilation failed
   10448     lt_cv_dlopen_self_static=no
   10449   fi
   10450 fi
   10451 rm -fr conftest*
   10452 
   10453 
   10454 fi
   10455 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10456 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10457     fi
   10458 
   10459     CPPFLAGS="$save_CPPFLAGS"
   10460     LDFLAGS="$save_LDFLAGS"
   10461     LIBS="$save_LIBS"
   10462     ;;
   10463   esac
   10464 
   10465   case $lt_cv_dlopen_self in
   10466   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10467   *) enable_dlopen_self=unknown ;;
   10468   esac
   10469 
   10470   case $lt_cv_dlopen_self_static in
   10471   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10472   *) enable_dlopen_self_static=unknown ;;
   10473   esac
   10474 fi
   10475 
   10476 
   10477 # Report which library types will actually be built
   10478 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10479 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10480 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10481 echo "${ECHO_T}$can_build_shared" >&6; }
   10482 
   10483 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10484 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10485 test "$can_build_shared" = "no" && enable_shared=no
   10486 
   10487 # On AIX, shared libraries and static libraries use the same namespace, and
   10488 # are all built from PIC.
   10489 case $host_os in
   10490 aix3*)
   10491   test "$enable_shared" = yes && enable_static=no
   10492   if test -n "$RANLIB"; then
   10493     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10494     postinstall_cmds='$RANLIB $lib'
   10495   fi
   10496   ;;
   10497 
   10498 aix[4-9]*)
   10499   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10500     test "$enable_shared" = yes && enable_static=no
   10501   fi
   10502     ;;
   10503 esac
   10504 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10505 echo "${ECHO_T}$enable_shared" >&6; }
   10506 
   10507 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10508 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10509 # Make sure either enable_shared or enable_static is yes.
   10510 test "$enable_shared" = yes || enable_static=yes
   10511 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10512 echo "${ECHO_T}$enable_static" >&6; }
   10513 
   10514 # The else clause should only fire when bootstrapping the
   10515 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10516 # with your package, and you will get complaints that there are
   10517 # no rules to generate ltmain.sh.
   10518 if test -f "$ltmain"; then
   10519   # See if we are running on zsh, and set the options which allow our commands through
   10520   # without removal of \ escapes.
   10521   if test -n "${ZSH_VERSION+set}" ; then
   10522     setopt NO_GLOB_SUBST
   10523   fi
   10524   # Now quote all the things that may contain metacharacters while being
   10525   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10526   # variables and quote the copies for generation of the libtool script.
   10527   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10528     SED SHELL STRIP \
   10529     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10530     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10531     deplibs_check_method reload_flag reload_cmds need_locks \
   10532     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10533     lt_cv_sys_global_symbol_to_c_name_address \
   10534     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10535     old_postinstall_cmds old_postuninstall_cmds \
   10536     compiler \
   10537     CC \
   10538     LD \
   10539     lt_prog_compiler_wl \
   10540     lt_prog_compiler_pic \
   10541     lt_prog_compiler_static \
   10542     lt_prog_compiler_no_builtin_flag \
   10543     export_dynamic_flag_spec \
   10544     thread_safe_flag_spec \
   10545     whole_archive_flag_spec \
   10546     enable_shared_with_static_runtimes \
   10547     old_archive_cmds \
   10548     old_archive_from_new_cmds \
   10549     predep_objects \
   10550     postdep_objects \
   10551     predeps \
   10552     postdeps \
   10553     compiler_lib_search_path \
   10554     compiler_lib_search_dirs \
   10555     archive_cmds \
   10556     archive_expsym_cmds \
   10557     postinstall_cmds \
   10558     postuninstall_cmds \
   10559     old_archive_from_expsyms_cmds \
   10560     allow_undefined_flag \
   10561     no_undefined_flag \
   10562     export_symbols_cmds \
   10563     hardcode_libdir_flag_spec \
   10564     hardcode_libdir_flag_spec_ld \
   10565     hardcode_libdir_separator \
   10566     hardcode_automatic \
   10567     module_cmds \
   10568     module_expsym_cmds \
   10569     lt_cv_prog_compiler_c_o \
   10570     fix_srcfile_path \
   10571     exclude_expsyms \
   10572     include_expsyms; do
   10573 
   10574     case $var in
   10575     old_archive_cmds | \
   10576     old_archive_from_new_cmds | \
   10577     archive_cmds | \
   10578     archive_expsym_cmds | \
   10579     module_cmds | \
   10580     module_expsym_cmds | \
   10581     old_archive_from_expsyms_cmds | \
   10582     export_symbols_cmds | \
   10583     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10584     postinstall_cmds | postuninstall_cmds | \
   10585     old_postinstall_cmds | old_postuninstall_cmds | \
   10586     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10587       # Double-quote double-evaled strings.
   10588       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10589       ;;
   10590     *)
   10591       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10592       ;;
   10593     esac
   10594   done
   10595 
   10596   case $lt_echo in
   10597   *'\$0 --fallback-echo"')
   10598     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10599     ;;
   10600   esac
   10601 
   10602 cfgfile="${ofile}T"
   10603   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10604   $rm -f "$cfgfile"
   10605   { echo "$as_me:$LINENO: creating $ofile" >&5
   10606 echo "$as_me: creating $ofile" >&6;}
   10607 
   10608   cat <<__EOF__ >> "$cfgfile"
   10609 #! $SHELL
   10610 
   10611 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10612 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10613 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10614 #
   10615 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10616 # Free Software Foundation, Inc.
   10617 #
   10618 # This file is part of GNU Libtool:
   10619 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10620 #
   10621 # This program is free software; you can redistribute it and/or modify
   10622 # it under the terms of the GNU General Public License as published by
   10623 # the Free Software Foundation; either version 2 of the License, or
   10624 # (at your option) any later version.
   10625 #
   10626 # This program is distributed in the hope that it will be useful, but
   10627 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10628 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10629 # General Public License for more details.
   10630 #
   10631 # You should have received a copy of the GNU General Public License
   10632 # along with this program; if not, write to the Free Software
   10633 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10634 #
   10635 # As a special exception to the GNU General Public License, if you
   10636 # distribute this file as part of a program that contains a
   10637 # configuration script generated by Autoconf, you may include it under
   10638 # the same distribution terms that you use for the rest of that program.
   10639 
   10640 # A sed program that does not truncate output.
   10641 SED=$lt_SED
   10642 
   10643 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10644 Xsed="$SED -e 1s/^X//"
   10645 
   10646 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10647 # if CDPATH is set.
   10648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10649 
   10650 # The names of the tagged configurations supported by this script.
   10651 available_tags=
   10652 
   10653 # ### BEGIN LIBTOOL CONFIG
   10654 
   10655 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10656 
   10657 # Shell to use when invoking shell scripts.
   10658 SHELL=$lt_SHELL
   10659 
   10660 # Whether or not to build shared libraries.
   10661 build_libtool_libs=$enable_shared
   10662 
   10663 # Whether or not to build static libraries.
   10664 build_old_libs=$enable_static
   10665 
   10666 # Whether or not to add -lc for building shared libraries.
   10667 build_libtool_need_lc=$archive_cmds_need_lc
   10668 
   10669 # Whether or not to disallow shared libs when runtime libs are static
   10670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10671 
   10672 # Whether or not to optimize for fast installation.
   10673 fast_install=$enable_fast_install
   10674 
   10675 # The host system.
   10676 host_alias=$host_alias
   10677 host=$host
   10678 host_os=$host_os
   10679 
   10680 # The build system.
   10681 build_alias=$build_alias
   10682 build=$build
   10683 build_os=$build_os
   10684 
   10685 # An echo program that does not interpret backslashes.
   10686 echo=$lt_echo
   10687 
   10688 # The archiver.
   10689 AR=$lt_AR
   10690 AR_FLAGS=$lt_AR_FLAGS
   10691 
   10692 # A C compiler.
   10693 LTCC=$lt_LTCC
   10694 
   10695 # LTCC compiler flags.
   10696 LTCFLAGS=$lt_LTCFLAGS
   10697 
   10698 # A language-specific compiler.
   10699 CC=$lt_compiler
   10700 
   10701 # Is the compiler the GNU C compiler?
   10702 with_gcc=$GCC
   10703 
   10704 # An ERE matcher.
   10705 EGREP=$lt_EGREP
   10706 
   10707 # The linker used to build libraries.
   10708 LD=$lt_LD
   10709 
   10710 # Whether we need hard or soft links.
   10711 LN_S=$lt_LN_S
   10712 
   10713 # A BSD-compatible nm program.
   10714 NM=$lt_NM
   10715 
   10716 # A symbol stripping program
   10717 STRIP=$lt_STRIP
   10718 
   10719 # Used to examine libraries when file_magic_cmd begins "file"
   10720 MAGIC_CMD=$MAGIC_CMD
   10721 
   10722 # Used on cygwin: DLL creation program.
   10723 DLLTOOL="$DLLTOOL"
   10724 
   10725 # Used on cygwin: object dumper.
   10726 OBJDUMP="$OBJDUMP"
   10727 
   10728 # Used on cygwin: assembler.
   10729 AS="$AS"
   10730 
   10731 # The name of the directory that contains temporary libtool files.
   10732 objdir=$objdir
   10733 
   10734 # How to create reloadable object files.
   10735 reload_flag=$lt_reload_flag
   10736 reload_cmds=$lt_reload_cmds
   10737 
   10738 # How to pass a linker flag through the compiler.
   10739 wl=$lt_lt_prog_compiler_wl
   10740 
   10741 # Object file suffix (normally "o").
   10742 objext="$ac_objext"
   10743 
   10744 # Old archive suffix (normally "a").
   10745 libext="$libext"
   10746 
   10747 # Shared library suffix (normally ".so").
   10748 shrext_cmds='$shrext_cmds'
   10749 
   10750 # Executable file suffix (normally "").
   10751 exeext="$exeext"
   10752 
   10753 # Additional compiler flags for building library objects.
   10754 pic_flag=$lt_lt_prog_compiler_pic
   10755 pic_mode=$pic_mode
   10756 
   10757 # What is the maximum length of a command?
   10758 max_cmd_len=$lt_cv_sys_max_cmd_len
   10759 
   10760 # Does compiler simultaneously support -c and -o options?
   10761 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10762 
   10763 # Must we lock files when doing compilation?
   10764 need_locks=$lt_need_locks
   10765 
   10766 # Do we need the lib prefix for modules?
   10767 need_lib_prefix=$need_lib_prefix
   10768 
   10769 # Do we need a version for libraries?
   10770 need_version=$need_version
   10771 
   10772 # Whether dlopen is supported.
   10773 dlopen_support=$enable_dlopen
   10774 
   10775 # Whether dlopen of programs is supported.
   10776 dlopen_self=$enable_dlopen_self
   10777 
   10778 # Whether dlopen of statically linked programs is supported.
   10779 dlopen_self_static=$enable_dlopen_self_static
   10780 
   10781 # Compiler flag to prevent dynamic linking.
   10782 link_static_flag=$lt_lt_prog_compiler_static
   10783 
   10784 # Compiler flag to turn off builtin functions.
   10785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10786 
   10787 # Compiler flag to allow reflexive dlopens.
   10788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10789 
   10790 # Compiler flag to generate shared objects directly from archives.
   10791 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10792 
   10793 # Compiler flag to generate thread-safe objects.
   10794 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10795 
   10796 # Library versioning type.
   10797 version_type=$version_type
   10798 
   10799 # Format of library name prefix.
   10800 libname_spec=$lt_libname_spec
   10801 
   10802 # List of archive names.  First name is the real one, the rest are links.
   10803 # The last name is the one that the linker finds with -lNAME.
   10804 library_names_spec=$lt_library_names_spec
   10805 
   10806 # The coded name of the library, if different from the real name.
   10807 soname_spec=$lt_soname_spec
   10808 
   10809 # Commands used to build and install an old-style archive.
   10810 RANLIB=$lt_RANLIB
   10811 old_archive_cmds=$lt_old_archive_cmds
   10812 old_postinstall_cmds=$lt_old_postinstall_cmds
   10813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10814 
   10815 # Create an old-style archive from a shared archive.
   10816 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10817 
   10818 # Create a temporary old-style archive to link instead of a shared archive.
   10819 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10820 
   10821 # Commands used to build and install a shared archive.
   10822 archive_cmds=$lt_archive_cmds
   10823 archive_expsym_cmds=$lt_archive_expsym_cmds
   10824 postinstall_cmds=$lt_postinstall_cmds
   10825 postuninstall_cmds=$lt_postuninstall_cmds
   10826 
   10827 # Commands used to build a loadable module (assumed same as above if empty)
   10828 module_cmds=$lt_module_cmds
   10829 module_expsym_cmds=$lt_module_expsym_cmds
   10830 
   10831 # Commands to strip libraries.
   10832 old_striplib=$lt_old_striplib
   10833 striplib=$lt_striplib
   10834 
   10835 # Dependencies to place before the objects being linked to create a
   10836 # shared library.
   10837 predep_objects=$lt_predep_objects
   10838 
   10839 # Dependencies to place after the objects being linked to create a
   10840 # shared library.
   10841 postdep_objects=$lt_postdep_objects
   10842 
   10843 # Dependencies to place before the objects being linked to create a
   10844 # shared library.
   10845 predeps=$lt_predeps
   10846 
   10847 # Dependencies to place after the objects being linked to create a
   10848 # shared library.
   10849 postdeps=$lt_postdeps
   10850 
   10851 # The directories searched by this compiler when creating a shared
   10852 # library
   10853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   10854 
   10855 # The library search path used internally by the compiler when linking
   10856 # a shared library.
   10857 compiler_lib_search_path=$lt_compiler_lib_search_path
   10858 
   10859 # Method to check whether dependent libraries are shared objects.
   10860 deplibs_check_method=$lt_deplibs_check_method
   10861 
   10862 # Command to use when deplibs_check_method == file_magic.
   10863 file_magic_cmd=$lt_file_magic_cmd
   10864 
   10865 # Flag that allows shared libraries with undefined symbols to be built.
   10866 allow_undefined_flag=$lt_allow_undefined_flag
   10867 
   10868 # Flag that forces no undefined symbols.
   10869 no_undefined_flag=$lt_no_undefined_flag
   10870 
   10871 # Commands used to finish a libtool library installation in a directory.
   10872 finish_cmds=$lt_finish_cmds
   10873 
   10874 # Same as above, but a single script fragment to be evaled but not shown.
   10875 finish_eval=$lt_finish_eval
   10876 
   10877 # Take the output of nm and produce a listing of raw symbols and C names.
   10878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10879 
   10880 # Transform the output of nm in a proper C declaration
   10881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10882 
   10883 # Transform the output of nm in a C name address pair
   10884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10885 
   10886 # This is the shared library runtime path variable.
   10887 runpath_var=$runpath_var
   10888 
   10889 # This is the shared library path variable.
   10890 shlibpath_var=$shlibpath_var
   10891 
   10892 # Is shlibpath searched before the hard-coded library search path?
   10893 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10894 
   10895 # How to hardcode a shared library path into an executable.
   10896 hardcode_action=$hardcode_action
   10897 
   10898 # Whether we should hardcode library paths into libraries.
   10899 hardcode_into_libs=$hardcode_into_libs
   10900 
   10901 # Flag to hardcode \$libdir into a binary during linking.
   10902 # This must work even if \$libdir does not exist.
   10903 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10904 
   10905 # If ld is used when linking, flag to hardcode \$libdir into
   10906 # a binary during linking. This must work even if \$libdir does
   10907 # not exist.
   10908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10909 
   10910 # Whether we need a single -rpath flag with a separated argument.
   10911 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10912 
   10913 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10914 # resulting binary.
   10915 hardcode_direct=$hardcode_direct
   10916 
   10917 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10918 # resulting binary.
   10919 hardcode_minus_L=$hardcode_minus_L
   10920 
   10921 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10922 # the resulting binary.
   10923 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10924 
   10925 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10926 # and all subsequent libraries and executables linked against it.
   10927 hardcode_automatic=$hardcode_automatic
   10928 
   10929 # Variables whose values should be saved in libtool wrapper scripts and
   10930 # restored at relink time.
   10931 variables_saved_for_relink="$variables_saved_for_relink"
   10932 
   10933 # Whether libtool must link a program against all its dependency libraries.
   10934 link_all_deplibs=$link_all_deplibs
   10935 
   10936 # Compile-time system search path for libraries
   10937 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10938 
   10939 # Run-time system search path for libraries
   10940 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10941 
   10942 # Fix the shell variable \$srcfile for the compiler.
   10943 fix_srcfile_path=$lt_fix_srcfile_path
   10944 
   10945 # Set to yes if exported symbols are required.
   10946 always_export_symbols=$always_export_symbols
   10947 
   10948 # The commands to list exported symbols.
   10949 export_symbols_cmds=$lt_export_symbols_cmds
   10950 
   10951 # The commands to extract the exported symbol list from a shared archive.
   10952 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10953 
   10954 # Symbols that should not be listed in the preloaded symbols.
   10955 exclude_expsyms=$lt_exclude_expsyms
   10956 
   10957 # Symbols that must always be exported.
   10958 include_expsyms=$lt_include_expsyms
   10959 
   10960 # ### END LIBTOOL CONFIG
   10961 
   10962 __EOF__
   10963 
   10964 
   10965   case $host_os in
   10966   aix3*)
   10967     cat <<\EOF >> "$cfgfile"
   10968 
   10969 # AIX sometimes has problems with the GCC collect2 program.  For some
   10970 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10971 # vanish in a puff of smoke.
   10972 if test "X${COLLECT_NAMES+set}" != Xset; then
   10973   COLLECT_NAMES=
   10974   export COLLECT_NAMES
   10975 fi
   10976 EOF
   10977     ;;
   10978   esac
   10979 
   10980   # We use sed instead of cat because bash on DJGPP gets confused if
   10981   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10982   # text mode, it properly converts lines to CR/LF.  This bash problem
   10983   # is reportedly fixed, but why not run on old versions too?
   10984   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10985 
   10986   mv -f "$cfgfile" "$ofile" || \
   10987     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10988   chmod +x "$ofile"
   10989 
   10990 else
   10991   # If there is no Makefile yet, we rely on a make rule to execute
   10992   # `config.status --recheck' to rerun these tests and create the
   10993   # libtool script then.
   10994   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10995   if test -f "$ltmain_in"; then
   10996     test -f Makefile && make "$ltmain"
   10997   fi
   10998 fi
   10999 
   11000 
   11001 ac_ext=c
   11002 ac_cpp='$CPP $CPPFLAGS'
   11003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11006 
   11007 CC="$lt_save_CC"
   11008 
   11009 
   11010 # Check whether --with-tags was given.
   11011 if test "${with_tags+set}" = set; then
   11012   withval=$with_tags; tagnames="$withval"
   11013 fi
   11014 
   11015 
   11016 if test -f "$ltmain" && test -n "$tagnames"; then
   11017   if test ! -f "${ofile}"; then
   11018     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11019 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11020   fi
   11021 
   11022   if test -z "$LTCC"; then
   11023     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11024     if test -z "$LTCC"; then
   11025       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11026 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11027     else
   11028       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11029 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11030     fi
   11031   fi
   11032   if test -z "$LTCFLAGS"; then
   11033     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11034   fi
   11035 
   11036   # Extract list of available tagged configurations in $ofile.
   11037   # Note that this assumes the entire list is on one line.
   11038   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11039 
   11040   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11041   for tagname in $tagnames; do
   11042     IFS="$lt_save_ifs"
   11043     # Check whether tagname contains only valid characters
   11044     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11045     "") ;;
   11046     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11047 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11048    { (exit 1); exit 1; }; }
   11049 	;;
   11050     esac
   11051 
   11052     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11053     then
   11054       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11055 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11056    { (exit 1); exit 1; }; }
   11057     fi
   11058 
   11059     # Update the list of available tags.
   11060     if test -n "$tagname"; then
   11061       echo appending configuration tag \"$tagname\" to $ofile
   11062 
   11063       case $tagname in
   11064       CXX)
   11065 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11066 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11067 	    (test "X$CXX" != "Xg++"))) ; then
   11068 	  ac_ext=cpp
   11069 ac_cpp='$CXXCPP $CPPFLAGS'
   11070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11073 
   11074 
   11075 
   11076 
   11077 archive_cmds_need_lc_CXX=no
   11078 allow_undefined_flag_CXX=
   11079 always_export_symbols_CXX=no
   11080 archive_expsym_cmds_CXX=
   11081 export_dynamic_flag_spec_CXX=
   11082 hardcode_direct_CXX=no
   11083 hardcode_libdir_flag_spec_CXX=
   11084 hardcode_libdir_flag_spec_ld_CXX=
   11085 hardcode_libdir_separator_CXX=
   11086 hardcode_minus_L_CXX=no
   11087 hardcode_shlibpath_var_CXX=unsupported
   11088 hardcode_automatic_CXX=no
   11089 module_cmds_CXX=
   11090 module_expsym_cmds_CXX=
   11091 link_all_deplibs_CXX=unknown
   11092 old_archive_cmds_CXX=$old_archive_cmds
   11093 no_undefined_flag_CXX=
   11094 whole_archive_flag_spec_CXX=
   11095 enable_shared_with_static_runtimes_CXX=no
   11096 
   11097 # Dependencies to place before and after the object being linked:
   11098 predep_objects_CXX=
   11099 postdep_objects_CXX=
   11100 predeps_CXX=
   11101 postdeps_CXX=
   11102 compiler_lib_search_path_CXX=
   11103 compiler_lib_search_dirs_CXX=
   11104 
   11105 # Source file extension for C++ test sources.
   11106 ac_ext=cpp
   11107 
   11108 # Object file extension for compiled C++ test sources.
   11109 objext=o
   11110 objext_CXX=$objext
   11111 
   11112 # Code to be used in simple compile tests
   11113 lt_simple_compile_test_code="int some_variable = 0;"
   11114 
   11115 # Code to be used in simple link tests
   11116 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11117 
   11118 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11119 
   11120 # If no C compiler was specified, use CC.
   11121 LTCC=${LTCC-"$CC"}
   11122 
   11123 # If no C compiler flags were specified, use CFLAGS.
   11124 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11125 
   11126 # Allow CC to be a program name with arguments.
   11127 compiler=$CC
   11128 
   11129 
   11130 # save warnings/boilerplate of simple test code
   11131 ac_outfile=conftest.$ac_objext
   11132 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11133 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11134 _lt_compiler_boilerplate=`cat conftest.err`
   11135 $rm conftest*
   11136 
   11137 ac_outfile=conftest.$ac_objext
   11138 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11139 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11140 _lt_linker_boilerplate=`cat conftest.err`
   11141 $rm -r conftest*
   11142 
   11143 
   11144 # Allow CC to be a program name with arguments.
   11145 lt_save_CC=$CC
   11146 lt_save_LD=$LD
   11147 lt_save_GCC=$GCC
   11148 GCC=$GXX
   11149 lt_save_with_gnu_ld=$with_gnu_ld
   11150 lt_save_path_LD=$lt_cv_path_LD
   11151 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11152   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11153 else
   11154   $as_unset lt_cv_prog_gnu_ld
   11155 fi
   11156 if test -n "${lt_cv_path_LDCXX+set}"; then
   11157   lt_cv_path_LD=$lt_cv_path_LDCXX
   11158 else
   11159   $as_unset lt_cv_path_LD
   11160 fi
   11161 test -z "${LDCXX+set}" || LD=$LDCXX
   11162 CC=${CXX-"c++"}
   11163 compiler=$CC
   11164 compiler_CXX=$CC
   11165 for cc_temp in $compiler""; do
   11166   case $cc_temp in
   11167     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11168     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11169     \-*) ;;
   11170     *) break;;
   11171   esac
   11172 done
   11173 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11174 
   11175 
   11176 # We don't want -fno-exception wen compiling C++ code, so set the
   11177 # no_builtin_flag separately
   11178 if test "$GXX" = yes; then
   11179   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11180 else
   11181   lt_prog_compiler_no_builtin_flag_CXX=
   11182 fi
   11183 
   11184 if test "$GXX" = yes; then
   11185   # Set up default GNU C++ configuration
   11186 
   11187 
   11188 # Check whether --with-gnu-ld was given.
   11189 if test "${with_gnu_ld+set}" = set; then
   11190   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11191 else
   11192   with_gnu_ld=no
   11193 fi
   11194 
   11195 ac_prog=ld
   11196 if test "$GCC" = yes; then
   11197   # Check if gcc -print-prog-name=ld gives a path.
   11198   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11199 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11200   case $host in
   11201   *-*-mingw*)
   11202     # gcc leaves a trailing carriage return which upsets mingw
   11203     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11204   *)
   11205     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11206   esac
   11207   case $ac_prog in
   11208     # Accept absolute paths.
   11209     [\\/]* | ?:[\\/]*)
   11210       re_direlt='/[^/][^/]*/\.\./'
   11211       # Canonicalize the pathname of ld
   11212       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11213       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11214 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11215       done
   11216       test -z "$LD" && LD="$ac_prog"
   11217       ;;
   11218   "")
   11219     # If it fails, then pretend we aren't using GCC.
   11220     ac_prog=ld
   11221     ;;
   11222   *)
   11223     # If it is relative, then search for the first ld in PATH.
   11224     with_gnu_ld=unknown
   11225     ;;
   11226   esac
   11227 elif test "$with_gnu_ld" = yes; then
   11228   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11229 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11230 else
   11231   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11232 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11233 fi
   11234 if test "${lt_cv_path_LD+set}" = set; then
   11235   echo $ECHO_N "(cached) $ECHO_C" >&6
   11236 else
   11237   if test -z "$LD"; then
   11238   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11239   for ac_dir in $PATH; do
   11240     IFS="$lt_save_ifs"
   11241     test -z "$ac_dir" && ac_dir=.
   11242     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11243       lt_cv_path_LD="$ac_dir/$ac_prog"
   11244       # Check to see if the program is GNU ld.  I'd rather use --version,
   11245       # but apparently some variants of GNU ld only accept -v.
   11246       # Break only if it was the GNU/non-GNU ld that we prefer.
   11247       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11248       *GNU* | *'with BFD'*)
   11249 	test "$with_gnu_ld" != no && break
   11250 	;;
   11251       *)
   11252 	test "$with_gnu_ld" != yes && break
   11253 	;;
   11254       esac
   11255     fi
   11256   done
   11257   IFS="$lt_save_ifs"
   11258 else
   11259   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11260 fi
   11261 fi
   11262 
   11263 LD="$lt_cv_path_LD"
   11264 if test -n "$LD"; then
   11265   { echo "$as_me:$LINENO: result: $LD" >&5
   11266 echo "${ECHO_T}$LD" >&6; }
   11267 else
   11268   { echo "$as_me:$LINENO: result: no" >&5
   11269 echo "${ECHO_T}no" >&6; }
   11270 fi
   11271 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11272 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11273    { (exit 1); exit 1; }; }
   11274 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11275 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11276 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11277   echo $ECHO_N "(cached) $ECHO_C" >&6
   11278 else
   11279   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11280 case `$LD -v 2>&1 </dev/null` in
   11281 *GNU* | *'with BFD'*)
   11282   lt_cv_prog_gnu_ld=yes
   11283   ;;
   11284 *)
   11285   lt_cv_prog_gnu_ld=no
   11286   ;;
   11287 esac
   11288 fi
   11289 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11290 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11291 with_gnu_ld=$lt_cv_prog_gnu_ld
   11292 
   11293 
   11294 
   11295   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11296   # archiving commands below assume that GNU ld is being used.
   11297   if test "$with_gnu_ld" = yes; then
   11298     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11299     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'
   11300 
   11301     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11302     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11303 
   11304     # If archive_cmds runs LD, not CC, wlarc should be empty
   11305     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11306     #     investigate it a little bit more. (MM)
   11307     wlarc='${wl}'
   11308 
   11309     # ancient GNU ld didn't support --whole-archive et. al.
   11310     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11311 	grep 'no-whole-archive' > /dev/null; then
   11312       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11313     else
   11314       whole_archive_flag_spec_CXX=
   11315     fi
   11316   else
   11317     with_gnu_ld=no
   11318     wlarc=
   11319 
   11320     # A generic and very simple default shared library creation
   11321     # command for GNU C++ for the case where it uses the native
   11322     # linker, instead of GNU ld.  If possible, this setting should
   11323     # overridden to take advantage of the native linker features on
   11324     # the platform it is being used on.
   11325     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11326   fi
   11327 
   11328   # Commands to make compiler produce verbose output that lists
   11329   # what "hidden" libraries, object files and flags are used when
   11330   # linking a shared library.
   11331   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11332 
   11333 else
   11334   GXX=no
   11335   with_gnu_ld=no
   11336   wlarc=
   11337 fi
   11338 
   11339 # PORTME: fill in a description of your system's C++ link characteristics
   11340 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11341 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11342 ld_shlibs_CXX=yes
   11343 case $host_os in
   11344   aix3*)
   11345     # FIXME: insert proper C++ library support
   11346     ld_shlibs_CXX=no
   11347     ;;
   11348   aix[4-9]*)
   11349     if test "$host_cpu" = ia64; then
   11350       # On IA64, the linker does run time linking by default, so we don't
   11351       # have to do anything special.
   11352       aix_use_runtimelinking=no
   11353       exp_sym_flag='-Bexport'
   11354       no_entry_flag=""
   11355     else
   11356       aix_use_runtimelinking=no
   11357 
   11358       # Test if we are trying to use run time linking or normal
   11359       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11360       # need to do runtime linking.
   11361       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11362 	for ld_flag in $LDFLAGS; do
   11363 	  case $ld_flag in
   11364 	  *-brtl*)
   11365 	    aix_use_runtimelinking=yes
   11366 	    break
   11367 	    ;;
   11368 	  esac
   11369 	done
   11370 	;;
   11371       esac
   11372 
   11373       exp_sym_flag='-bexport'
   11374       no_entry_flag='-bnoentry'
   11375     fi
   11376 
   11377     # When large executables or shared objects are built, AIX ld can
   11378     # have problems creating the table of contents.  If linking a library
   11379     # or program results in "error TOC overflow" add -mminimal-toc to
   11380     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11381     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11382 
   11383     archive_cmds_CXX=''
   11384     hardcode_direct_CXX=yes
   11385     hardcode_libdir_separator_CXX=':'
   11386     link_all_deplibs_CXX=yes
   11387 
   11388     if test "$GXX" = yes; then
   11389       case $host_os in aix4.[012]|aix4.[012].*)
   11390       # We only want to do this on AIX 4.2 and lower, the check
   11391       # below for broken collect2 doesn't work under 4.3+
   11392 	collect2name=`${CC} -print-prog-name=collect2`
   11393 	if test -f "$collect2name" && \
   11394 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11395 	then
   11396 	  # We have reworked collect2
   11397 	  :
   11398 	else
   11399 	  # We have old collect2
   11400 	  hardcode_direct_CXX=unsupported
   11401 	  # It fails to find uninstalled libraries when the uninstalled
   11402 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11403 	  # to unsupported forces relinking
   11404 	  hardcode_minus_L_CXX=yes
   11405 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11406 	  hardcode_libdir_separator_CXX=
   11407 	fi
   11408 	;;
   11409       esac
   11410       shared_flag='-shared'
   11411       if test "$aix_use_runtimelinking" = yes; then
   11412 	shared_flag="$shared_flag "'${wl}-G'
   11413       fi
   11414     else
   11415       # not using gcc
   11416       if test "$host_cpu" = ia64; then
   11417 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11418 	# chokes on -Wl,-G. The following line is correct:
   11419 	shared_flag='-G'
   11420       else
   11421 	if test "$aix_use_runtimelinking" = yes; then
   11422 	  shared_flag='${wl}-G'
   11423 	else
   11424 	  shared_flag='${wl}-bM:SRE'
   11425 	fi
   11426       fi
   11427     fi
   11428 
   11429     # It seems that -bexpall does not export symbols beginning with
   11430     # underscore (_), so it is better to generate a list of symbols to export.
   11431     always_export_symbols_CXX=yes
   11432     if test "$aix_use_runtimelinking" = yes; then
   11433       # Warning - without using the other runtime loading flags (-brtl),
   11434       # -berok will link without error, but may produce a broken library.
   11435       allow_undefined_flag_CXX='-berok'
   11436       # Determine the default libpath from the value encoded in an empty executable.
   11437       cat >conftest.$ac_ext <<_ACEOF
   11438 /* confdefs.h.  */
   11439 _ACEOF
   11440 cat confdefs.h >>conftest.$ac_ext
   11441 cat >>conftest.$ac_ext <<_ACEOF
   11442 /* end confdefs.h.  */
   11443 
   11444 int
   11445 main ()
   11446 {
   11447 
   11448   ;
   11449   return 0;
   11450 }
   11451 _ACEOF
   11452 rm -f conftest.$ac_objext conftest$ac_exeext
   11453 if { (ac_try="$ac_link"
   11454 case "(($ac_try" in
   11455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11456   *) ac_try_echo=$ac_try;;
   11457 esac
   11458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11459   (eval "$ac_link") 2>conftest.er1
   11460   ac_status=$?
   11461   grep -v '^ *+' conftest.er1 >conftest.err
   11462   rm -f conftest.er1
   11463   cat conftest.err >&5
   11464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11465   (exit $ac_status); } && {
   11466 	 test -z "$ac_cxx_werror_flag" ||
   11467 	 test ! -s conftest.err
   11468        } && test -s conftest$ac_exeext &&
   11469        $as_test_x conftest$ac_exeext; then
   11470 
   11471 lt_aix_libpath_sed='
   11472     /Import File Strings/,/^$/ {
   11473 	/^0/ {
   11474 	    s/^0  *\(.*\)$/\1/
   11475 	    p
   11476 	}
   11477     }'
   11478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11479 # Check for a 64-bit object if we didn't find anything.
   11480 if test -z "$aix_libpath"; then
   11481   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11482 fi
   11483 else
   11484   echo "$as_me: failed program was:" >&5
   11485 sed 's/^/| /' conftest.$ac_ext >&5
   11486 
   11487 
   11488 fi
   11489 
   11490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11491       conftest$ac_exeext conftest.$ac_ext
   11492 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11493 
   11494       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11495 
   11496       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"
   11497      else
   11498       if test "$host_cpu" = ia64; then
   11499 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11500 	allow_undefined_flag_CXX="-z nodefs"
   11501 	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"
   11502       else
   11503 	# Determine the default libpath from the value encoded in an empty executable.
   11504 	cat >conftest.$ac_ext <<_ACEOF
   11505 /* confdefs.h.  */
   11506 _ACEOF
   11507 cat confdefs.h >>conftest.$ac_ext
   11508 cat >>conftest.$ac_ext <<_ACEOF
   11509 /* end confdefs.h.  */
   11510 
   11511 int
   11512 main ()
   11513 {
   11514 
   11515   ;
   11516   return 0;
   11517 }
   11518 _ACEOF
   11519 rm -f conftest.$ac_objext conftest$ac_exeext
   11520 if { (ac_try="$ac_link"
   11521 case "(($ac_try" in
   11522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11523   *) ac_try_echo=$ac_try;;
   11524 esac
   11525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11526   (eval "$ac_link") 2>conftest.er1
   11527   ac_status=$?
   11528   grep -v '^ *+' conftest.er1 >conftest.err
   11529   rm -f conftest.er1
   11530   cat conftest.err >&5
   11531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11532   (exit $ac_status); } && {
   11533 	 test -z "$ac_cxx_werror_flag" ||
   11534 	 test ! -s conftest.err
   11535        } && test -s conftest$ac_exeext &&
   11536        $as_test_x conftest$ac_exeext; then
   11537 
   11538 lt_aix_libpath_sed='
   11539     /Import File Strings/,/^$/ {
   11540 	/^0/ {
   11541 	    s/^0  *\(.*\)$/\1/
   11542 	    p
   11543 	}
   11544     }'
   11545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11546 # Check for a 64-bit object if we didn't find anything.
   11547 if test -z "$aix_libpath"; then
   11548   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11549 fi
   11550 else
   11551   echo "$as_me: failed program was:" >&5
   11552 sed 's/^/| /' conftest.$ac_ext >&5
   11553 
   11554 
   11555 fi
   11556 
   11557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11558       conftest$ac_exeext conftest.$ac_ext
   11559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11560 
   11561 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11562 	# Warning - without using the other run time loading flags,
   11563 	# -berok will link without error, but may produce a broken library.
   11564 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11565 	allow_undefined_flag_CXX=' ${wl}-berok'
   11566 	# Exported symbols can be pulled into shared objects from archives
   11567 	whole_archive_flag_spec_CXX='$convenience'
   11568 	archive_cmds_need_lc_CXX=yes
   11569 	# This is similar to how AIX traditionally builds its shared libraries.
   11570 	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'
   11571       fi
   11572     fi
   11573     ;;
   11574 
   11575   beos*)
   11576     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11577       allow_undefined_flag_CXX=unsupported
   11578       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11579       # support --undefined.  This deserves some investigation.  FIXME
   11580       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11581     else
   11582       ld_shlibs_CXX=no
   11583     fi
   11584     ;;
   11585 
   11586   chorus*)
   11587     case $cc_basename in
   11588       *)
   11589 	# FIXME: insert proper C++ library support
   11590 	ld_shlibs_CXX=no
   11591 	;;
   11592     esac
   11593     ;;
   11594 
   11595   cygwin* | mingw* | pw32*)
   11596     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11597     # as there is no search path for DLLs.
   11598     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11599     allow_undefined_flag_CXX=unsupported
   11600     always_export_symbols_CXX=no
   11601     enable_shared_with_static_runtimes_CXX=yes
   11602 
   11603     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11604       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'
   11605       # If the export-symbols file already is a .def file (1st line
   11606       # is EXPORTS), use it as is; otherwise, prepend...
   11607       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11608 	cp $export_symbols $output_objdir/$soname.def;
   11609       else
   11610 	echo EXPORTS > $output_objdir/$soname.def;
   11611 	cat $export_symbols >> $output_objdir/$soname.def;
   11612       fi~
   11613       $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'
   11614     else
   11615       ld_shlibs_CXX=no
   11616     fi
   11617   ;;
   11618       darwin* | rhapsody*)
   11619       archive_cmds_need_lc_CXX=no
   11620       hardcode_direct_CXX=no
   11621       hardcode_automatic_CXX=yes
   11622       hardcode_shlibpath_var_CXX=unsupported
   11623       whole_archive_flag_spec_CXX=''
   11624       link_all_deplibs_CXX=yes
   11625       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11626       if test "$GXX" = yes ; then
   11627       output_verbose_link_cmd='echo'
   11628       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}"
   11629       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11630       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}"
   11631       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}"
   11632       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11633         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}"
   11634         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}"
   11635       fi
   11636       else
   11637       case $cc_basename in
   11638         xlc*)
   11639          output_verbose_link_cmd='echo'
   11640           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'
   11641           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11642           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11643           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}'
   11644           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}'
   11645           ;;
   11646        *)
   11647          ld_shlibs_CXX=no
   11648           ;;
   11649       esac
   11650       fi
   11651         ;;
   11652 
   11653   dgux*)
   11654     case $cc_basename in
   11655       ec++*)
   11656 	# FIXME: insert proper C++ library support
   11657 	ld_shlibs_CXX=no
   11658 	;;
   11659       ghcx*)
   11660 	# Green Hills C++ Compiler
   11661 	# FIXME: insert proper C++ library support
   11662 	ld_shlibs_CXX=no
   11663 	;;
   11664       *)
   11665 	# FIXME: insert proper C++ library support
   11666 	ld_shlibs_CXX=no
   11667 	;;
   11668     esac
   11669     ;;
   11670   freebsd[12]*)
   11671     # C++ shared libraries reported to be fairly broken before switch to ELF
   11672     ld_shlibs_CXX=no
   11673     ;;
   11674   freebsd-elf*)
   11675     archive_cmds_need_lc_CXX=no
   11676     ;;
   11677   freebsd* | dragonfly*)
   11678     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11679     # conventions
   11680     ld_shlibs_CXX=yes
   11681     ;;
   11682   gnu*)
   11683     ;;
   11684   hpux9*)
   11685     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11686     hardcode_libdir_separator_CXX=:
   11687     export_dynamic_flag_spec_CXX='${wl}-E'
   11688     hardcode_direct_CXX=yes
   11689     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11690 				# but as the default
   11691 				# location of the library.
   11692 
   11693     case $cc_basename in
   11694     CC*)
   11695       # FIXME: insert proper C++ library support
   11696       ld_shlibs_CXX=no
   11697       ;;
   11698     aCC*)
   11699       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'
   11700       # Commands to make compiler produce verbose output that lists
   11701       # what "hidden" libraries, object files and flags are used when
   11702       # linking a shared library.
   11703       #
   11704       # There doesn't appear to be a way to prevent this compiler from
   11705       # explicitly linking system object files so we need to strip them
   11706       # from the output so that they don't get included in the library
   11707       # dependencies.
   11708       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'
   11709       ;;
   11710     *)
   11711       if test "$GXX" = yes; then
   11712         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'
   11713       else
   11714         # FIXME: insert proper C++ library support
   11715         ld_shlibs_CXX=no
   11716       fi
   11717       ;;
   11718     esac
   11719     ;;
   11720   hpux10*|hpux11*)
   11721     if test $with_gnu_ld = no; then
   11722       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11723       hardcode_libdir_separator_CXX=:
   11724 
   11725       case $host_cpu in
   11726       hppa*64*|ia64*) ;;
   11727       *)
   11728 	export_dynamic_flag_spec_CXX='${wl}-E'
   11729         ;;
   11730       esac
   11731     fi
   11732     case $host_cpu in
   11733     hppa*64*|ia64*)
   11734       hardcode_direct_CXX=no
   11735       hardcode_shlibpath_var_CXX=no
   11736       ;;
   11737     *)
   11738       hardcode_direct_CXX=yes
   11739       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11740 					      # but as the default
   11741 					      # location of the library.
   11742       ;;
   11743     esac
   11744 
   11745     case $cc_basename in
   11746       CC*)
   11747 	# FIXME: insert proper C++ library support
   11748 	ld_shlibs_CXX=no
   11749 	;;
   11750       aCC*)
   11751 	case $host_cpu in
   11752 	hppa*64*)
   11753 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11754 	  ;;
   11755 	ia64*)
   11756 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11757 	  ;;
   11758 	*)
   11759 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11760 	  ;;
   11761 	esac
   11762 	# Commands to make compiler produce verbose output that lists
   11763 	# what "hidden" libraries, object files and flags are used when
   11764 	# linking a shared library.
   11765 	#
   11766 	# There doesn't appear to be a way to prevent this compiler from
   11767 	# explicitly linking system object files so we need to strip them
   11768 	# from the output so that they don't get included in the library
   11769 	# dependencies.
   11770 	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'
   11771 	;;
   11772       *)
   11773 	if test "$GXX" = yes; then
   11774 	  if test $with_gnu_ld = no; then
   11775 	    case $host_cpu in
   11776 	    hppa*64*)
   11777 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11778 	      ;;
   11779 	    ia64*)
   11780 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11781 	      ;;
   11782 	    *)
   11783 	      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'
   11784 	      ;;
   11785 	    esac
   11786 	  fi
   11787 	else
   11788 	  # FIXME: insert proper C++ library support
   11789 	  ld_shlibs_CXX=no
   11790 	fi
   11791 	;;
   11792     esac
   11793     ;;
   11794   interix[3-9]*)
   11795     hardcode_direct_CXX=no
   11796     hardcode_shlibpath_var_CXX=no
   11797     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11798     export_dynamic_flag_spec_CXX='${wl}-E'
   11799     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11800     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11801     # default) and relocated if they conflict, which is a slow very memory
   11802     # consuming and fragmenting process.  To avoid this, we pick a random,
   11803     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11804     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11805     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'
   11806     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'
   11807     ;;
   11808   irix5* | irix6*)
   11809     case $cc_basename in
   11810       CC*)
   11811 	# SGI C++
   11812 	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'
   11813 
   11814 	# Archives containing C++ object files must be created using
   11815 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11816 	# necessary to make sure instantiated templates are included
   11817 	# in the archive.
   11818 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11819 	;;
   11820       *)
   11821 	if test "$GXX" = yes; then
   11822 	  if test "$with_gnu_ld" = no; then
   11823 	    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'
   11824 	  else
   11825 	    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'
   11826 	  fi
   11827 	fi
   11828 	link_all_deplibs_CXX=yes
   11829 	;;
   11830     esac
   11831     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11832     hardcode_libdir_separator_CXX=:
   11833     ;;
   11834   linux* | k*bsd*-gnu)
   11835     case $cc_basename in
   11836       KCC*)
   11837 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11838 
   11839 	# KCC will only create a shared library if the output file
   11840 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11841 	# to its proper name (with version) after linking.
   11842 	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'
   11843 	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'
   11844 	# Commands to make compiler produce verbose output that lists
   11845 	# what "hidden" libraries, object files and flags are used when
   11846 	# linking a shared library.
   11847 	#
   11848 	# There doesn't appear to be a way to prevent this compiler from
   11849 	# explicitly linking system object files so we need to strip them
   11850 	# from the output so that they don't get included in the library
   11851 	# dependencies.
   11852 	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'
   11853 
   11854 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11855 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11856 
   11857 	# Archives containing C++ object files must be created using
   11858 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11859 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11860 	;;
   11861       icpc*)
   11862 	# Intel C++
   11863 	with_gnu_ld=yes
   11864 	# version 8.0 and above of icpc choke on multiply defined symbols
   11865 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11866 	# earlier do not add the objects themselves.
   11867 	case `$CC -V 2>&1` in
   11868 	*"Version 7."*)
   11869   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11870   	  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'
   11871 	  ;;
   11872 	*)  # Version 8.0 or newer
   11873 	  tmp_idyn=
   11874 	  case $host_cpu in
   11875 	    ia64*) tmp_idyn=' -i_dynamic';;
   11876 	  esac
   11877   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11878 	  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'
   11879 	  ;;
   11880 	esac
   11881 	archive_cmds_need_lc_CXX=no
   11882 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11883 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11884 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11885 	;;
   11886       pgCC* | pgcpp*)
   11887         # Portland Group C++ compiler
   11888 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11889   	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'
   11890 
   11891 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11892 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11893 	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'
   11894         ;;
   11895       cxx*)
   11896 	# Compaq C++
   11897 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11898 	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'
   11899 
   11900 	runpath_var=LD_RUN_PATH
   11901 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11902 	hardcode_libdir_separator_CXX=:
   11903 
   11904 	# Commands to make compiler produce verbose output that lists
   11905 	# what "hidden" libraries, object files and flags are used when
   11906 	# linking a shared library.
   11907 	#
   11908 	# There doesn't appear to be a way to prevent this compiler from
   11909 	# explicitly linking system object files so we need to strip them
   11910 	# from the output so that they don't get included in the library
   11911 	# dependencies.
   11912 	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'
   11913 	;;
   11914       *)
   11915 	case `$CC -V 2>&1 | sed 5q` in
   11916 	*Sun\ C*)
   11917 	  # Sun C++ 5.9
   11918 	  no_undefined_flag_CXX=' -zdefs'
   11919 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11920 	  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'
   11921 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11922 	  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'
   11923 
   11924 	  # Not sure whether something based on
   11925 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11926 	  # would be better.
   11927 	  output_verbose_link_cmd='echo'
   11928 
   11929 	  # Archives containing C++ object files must be created using
   11930 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11931 	  # necessary to make sure instantiated templates are included
   11932 	  # in the archive.
   11933 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11934 	  ;;
   11935 	esac
   11936 	;;
   11937     esac
   11938     ;;
   11939   lynxos*)
   11940     # FIXME: insert proper C++ library support
   11941     ld_shlibs_CXX=no
   11942     ;;
   11943   m88k*)
   11944     # FIXME: insert proper C++ library support
   11945     ld_shlibs_CXX=no
   11946     ;;
   11947   mvs*)
   11948     case $cc_basename in
   11949       cxx*)
   11950 	# FIXME: insert proper C++ library support
   11951 	ld_shlibs_CXX=no
   11952 	;;
   11953       *)
   11954 	# FIXME: insert proper C++ library support
   11955 	ld_shlibs_CXX=no
   11956 	;;
   11957     esac
   11958     ;;
   11959   netbsd* | netbsdelf*-gnu)
   11960     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11961       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11962       wlarc=
   11963       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11964       hardcode_direct_CXX=yes
   11965       hardcode_shlibpath_var_CXX=no
   11966     fi
   11967     # Workaround some broken pre-1.5 toolchains
   11968     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11969     ;;
   11970   openbsd2*)
   11971     # C++ shared libraries are fairly broken
   11972     ld_shlibs_CXX=no
   11973     ;;
   11974   openbsd*)
   11975     if test -f /usr/libexec/ld.so; then
   11976       hardcode_direct_CXX=yes
   11977       hardcode_shlibpath_var_CXX=no
   11978       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11979       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11980       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11981 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11982 	export_dynamic_flag_spec_CXX='${wl}-E'
   11983 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11984       fi
   11985       output_verbose_link_cmd='echo'
   11986     else
   11987       ld_shlibs_CXX=no
   11988     fi
   11989     ;;
   11990   osf3*)
   11991     case $cc_basename in
   11992       KCC*)
   11993 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11994 
   11995 	# KCC will only create a shared library if the output file
   11996 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11997 	# to its proper name (with version) after linking.
   11998 	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'
   11999 
   12000 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12001 	hardcode_libdir_separator_CXX=:
   12002 
   12003 	# Archives containing C++ object files must be created using
   12004 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12005 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12006 
   12007 	;;
   12008       RCC*)
   12009 	# Rational C++ 2.4.1
   12010 	# FIXME: insert proper C++ library support
   12011 	ld_shlibs_CXX=no
   12012 	;;
   12013       cxx*)
   12014 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12015 	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'
   12016 
   12017 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12018 	hardcode_libdir_separator_CXX=:
   12019 
   12020 	# Commands to make compiler produce verbose output that lists
   12021 	# what "hidden" libraries, object files and flags are used when
   12022 	# linking a shared library.
   12023 	#
   12024 	# There doesn't appear to be a way to prevent this compiler from
   12025 	# explicitly linking system object files so we need to strip them
   12026 	# from the output so that they don't get included in the library
   12027 	# dependencies.
   12028 	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'
   12029 	;;
   12030       *)
   12031 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12032 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12033 	  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'
   12034 
   12035 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12036 	  hardcode_libdir_separator_CXX=:
   12037 
   12038 	  # Commands to make compiler produce verbose output that lists
   12039 	  # what "hidden" libraries, object files and flags are used when
   12040 	  # linking a shared library.
   12041 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12042 
   12043 	else
   12044 	  # FIXME: insert proper C++ library support
   12045 	  ld_shlibs_CXX=no
   12046 	fi
   12047 	;;
   12048     esac
   12049     ;;
   12050   osf4* | osf5*)
   12051     case $cc_basename in
   12052       KCC*)
   12053 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12054 
   12055 	# KCC will only create a shared library if the output file
   12056 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12057 	# to its proper name (with version) after linking.
   12058 	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'
   12059 
   12060 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12061 	hardcode_libdir_separator_CXX=:
   12062 
   12063 	# Archives containing C++ object files must be created using
   12064 	# the KAI C++ compiler.
   12065 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12066 	;;
   12067       RCC*)
   12068 	# Rational C++ 2.4.1
   12069 	# FIXME: insert proper C++ library support
   12070 	ld_shlibs_CXX=no
   12071 	;;
   12072       cxx*)
   12073 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12074 	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'
   12075 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12076 	  echo "-hidden">> $lib.exp~
   12077 	  $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~
   12078 	  $rm $lib.exp'
   12079 
   12080 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12081 	hardcode_libdir_separator_CXX=:
   12082 
   12083 	# Commands to make compiler produce verbose output that lists
   12084 	# what "hidden" libraries, object files and flags are used when
   12085 	# linking a shared library.
   12086 	#
   12087 	# There doesn't appear to be a way to prevent this compiler from
   12088 	# explicitly linking system object files so we need to strip them
   12089 	# from the output so that they don't get included in the library
   12090 	# dependencies.
   12091 	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'
   12092 	;;
   12093       *)
   12094 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12095 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12096 	 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'
   12097 
   12098 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12099 	  hardcode_libdir_separator_CXX=:
   12100 
   12101 	  # Commands to make compiler produce verbose output that lists
   12102 	  # what "hidden" libraries, object files and flags are used when
   12103 	  # linking a shared library.
   12104 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12105 
   12106 	else
   12107 	  # FIXME: insert proper C++ library support
   12108 	  ld_shlibs_CXX=no
   12109 	fi
   12110 	;;
   12111     esac
   12112     ;;
   12113   psos*)
   12114     # FIXME: insert proper C++ library support
   12115     ld_shlibs_CXX=no
   12116     ;;
   12117   sunos4*)
   12118     case $cc_basename in
   12119       CC*)
   12120 	# Sun C++ 4.x
   12121 	# FIXME: insert proper C++ library support
   12122 	ld_shlibs_CXX=no
   12123 	;;
   12124       lcc*)
   12125 	# Lucid
   12126 	# FIXME: insert proper C++ library support
   12127 	ld_shlibs_CXX=no
   12128 	;;
   12129       *)
   12130 	# FIXME: insert proper C++ library support
   12131 	ld_shlibs_CXX=no
   12132 	;;
   12133     esac
   12134     ;;
   12135   solaris*)
   12136     case $cc_basename in
   12137       CC*)
   12138 	# Sun C++ 4.2, 5.x and Centerline C++
   12139         archive_cmds_need_lc_CXX=yes
   12140 	no_undefined_flag_CXX=' -zdefs'
   12141 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12142 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12143 	$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'
   12144 
   12145 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12146 	hardcode_shlibpath_var_CXX=no
   12147 	case $host_os in
   12148 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12149 	  *)
   12150 	    # The compiler driver will combine and reorder linker options,
   12151 	    # but understands `-z linker_flag'.
   12152 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12153 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12154 	    ;;
   12155 	esac
   12156 	link_all_deplibs_CXX=yes
   12157 
   12158 	output_verbose_link_cmd='echo'
   12159 
   12160 	# Archives containing C++ object files must be created using
   12161 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12162 	# necessary to make sure instantiated templates are included
   12163 	# in the archive.
   12164 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12165 	;;
   12166       gcx*)
   12167 	# Green Hills C++ Compiler
   12168 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12169 
   12170 	# The C++ compiler must be used to create the archive.
   12171 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12172 	;;
   12173       *)
   12174 	# GNU C++ compiler with Solaris linker
   12175 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12176 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12177 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12178 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12179 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12180 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12181 
   12182 	    # Commands to make compiler produce verbose output that lists
   12183 	    # what "hidden" libraries, object files and flags are used when
   12184 	    # linking a shared library.
   12185 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12186 	  else
   12187 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12188 	    # platform.
   12189 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12190 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12191 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12192 
   12193 	    # Commands to make compiler produce verbose output that lists
   12194 	    # what "hidden" libraries, object files and flags are used when
   12195 	    # linking a shared library.
   12196 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12197 	  fi
   12198 
   12199 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12200 	  case $host_os in
   12201 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12202 	  *)
   12203 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12204 	    ;;
   12205 	  esac
   12206 	fi
   12207 	;;
   12208     esac
   12209     ;;
   12210   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12211     no_undefined_flag_CXX='${wl}-z,text'
   12212     archive_cmds_need_lc_CXX=no
   12213     hardcode_shlibpath_var_CXX=no
   12214     runpath_var='LD_RUN_PATH'
   12215 
   12216     case $cc_basename in
   12217       CC*)
   12218 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12219 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12220 	;;
   12221       *)
   12222 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12223 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12224 	;;
   12225     esac
   12226     ;;
   12227   sysv5* | sco3.2v5* | sco5v6*)
   12228     # Note: We can NOT use -z defs as we might desire, because we do not
   12229     # link with -lc, and that would cause any symbols used from libc to
   12230     # always be unresolved, which means just about no library would
   12231     # ever link correctly.  If we're not using GNU ld we use -z text
   12232     # though, which does catch some bad symbols but isn't as heavy-handed
   12233     # as -z defs.
   12234     # For security reasons, it is highly recommended that you always
   12235     # use absolute paths for naming shared libraries, and exclude the
   12236     # DT_RUNPATH tag from executables and libraries.  But doing so
   12237     # requires that you compile everything twice, which is a pain.
   12238     # So that behaviour is only enabled if SCOABSPATH is set to a
   12239     # non-empty value in the environment.  Most likely only useful for
   12240     # creating official distributions of packages.
   12241     # This is a hack until libtool officially supports absolute path
   12242     # names for shared libraries.
   12243     no_undefined_flag_CXX='${wl}-z,text'
   12244     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12245     archive_cmds_need_lc_CXX=no
   12246     hardcode_shlibpath_var_CXX=no
   12247     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12248     hardcode_libdir_separator_CXX=':'
   12249     link_all_deplibs_CXX=yes
   12250     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12251     runpath_var='LD_RUN_PATH'
   12252 
   12253     case $cc_basename in
   12254       CC*)
   12255 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12256 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12257 	;;
   12258       *)
   12259 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12260 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12261 	;;
   12262     esac
   12263     ;;
   12264   tandem*)
   12265     case $cc_basename in
   12266       NCC*)
   12267 	# NonStop-UX NCC 3.20
   12268 	# FIXME: insert proper C++ library support
   12269 	ld_shlibs_CXX=no
   12270 	;;
   12271       *)
   12272 	# FIXME: insert proper C++ library support
   12273 	ld_shlibs_CXX=no
   12274 	;;
   12275     esac
   12276     ;;
   12277   vxworks*)
   12278     # FIXME: insert proper C++ library support
   12279     ld_shlibs_CXX=no
   12280     ;;
   12281   *)
   12282     # FIXME: insert proper C++ library support
   12283     ld_shlibs_CXX=no
   12284     ;;
   12285 esac
   12286 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12287 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12288 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12289 
   12290 GCC_CXX="$GXX"
   12291 LD_CXX="$LD"
   12292 
   12293 cat > conftest.$ac_ext <<EOF
   12294 class Foo
   12295 {
   12296 public:
   12297   Foo (void) { a = 0; }
   12298 private:
   12299   int a;
   12300 };
   12301 EOF
   12302 
   12303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12304   (eval $ac_compile) 2>&5
   12305   ac_status=$?
   12306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12307   (exit $ac_status); }; then
   12308   # Parse the compiler output and extract the necessary
   12309   # objects, libraries and library flags.
   12310 
   12311   # Sentinel used to keep track of whether or not we are before
   12312   # the conftest object file.
   12313   pre_test_object_deps_done=no
   12314 
   12315   # The `*' in the case matches for architectures that use `case' in
   12316   # $output_verbose_cmd can trigger glob expansion during the loop
   12317   # eval without this substitution.
   12318   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12319 
   12320   for p in `eval $output_verbose_link_cmd`; do
   12321     case $p in
   12322 
   12323     -L* | -R* | -l*)
   12324        # Some compilers place space between "-{L,R}" and the path.
   12325        # Remove the space.
   12326        if test $p = "-L" \
   12327 	  || test $p = "-R"; then
   12328 	 prev=$p
   12329 	 continue
   12330        else
   12331 	 prev=
   12332        fi
   12333 
   12334        if test "$pre_test_object_deps_done" = no; then
   12335 	 case $p in
   12336 	 -L* | -R*)
   12337 	   # Internal compiler library paths should come after those
   12338 	   # provided the user.  The postdeps already come after the
   12339 	   # user supplied libs so there is no need to process them.
   12340 	   if test -z "$compiler_lib_search_path_CXX"; then
   12341 	     compiler_lib_search_path_CXX="${prev}${p}"
   12342 	   else
   12343 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12344 	   fi
   12345 	   ;;
   12346 	 # The "-l" case would never come before the object being
   12347 	 # linked, so don't bother handling this case.
   12348 	 esac
   12349        else
   12350 	 if test -z "$postdeps_CXX"; then
   12351 	   postdeps_CXX="${prev}${p}"
   12352 	 else
   12353 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12354 	 fi
   12355        fi
   12356        ;;
   12357 
   12358     *.$objext)
   12359        # This assumes that the test object file only shows up
   12360        # once in the compiler output.
   12361        if test "$p" = "conftest.$objext"; then
   12362 	 pre_test_object_deps_done=yes
   12363 	 continue
   12364        fi
   12365 
   12366        if test "$pre_test_object_deps_done" = no; then
   12367 	 if test -z "$predep_objects_CXX"; then
   12368 	   predep_objects_CXX="$p"
   12369 	 else
   12370 	   predep_objects_CXX="$predep_objects_CXX $p"
   12371 	 fi
   12372        else
   12373 	 if test -z "$postdep_objects_CXX"; then
   12374 	   postdep_objects_CXX="$p"
   12375 	 else
   12376 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12377 	 fi
   12378        fi
   12379        ;;
   12380 
   12381     *) ;; # Ignore the rest.
   12382 
   12383     esac
   12384   done
   12385 
   12386   # Clean up.
   12387   rm -f a.out a.exe
   12388 else
   12389   echo "libtool.m4: error: problem compiling CXX test program"
   12390 fi
   12391 
   12392 $rm -f confest.$objext
   12393 
   12394 compiler_lib_search_dirs_CXX=
   12395 if test -n "$compiler_lib_search_path_CXX"; then
   12396   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12397 fi
   12398 
   12399 # PORTME: override above test on systems where it is broken
   12400 case $host_os in
   12401 interix[3-9]*)
   12402   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12403   # hack all around it, let's just trust "g++" to DTRT.
   12404   predep_objects_CXX=
   12405   postdep_objects_CXX=
   12406   postdeps_CXX=
   12407   ;;
   12408 
   12409 linux*)
   12410   case `$CC -V 2>&1 | sed 5q` in
   12411   *Sun\ C*)
   12412     # Sun C++ 5.9
   12413     #
   12414     # The more standards-conforming stlport4 library is
   12415     # incompatible with the Cstd library. Avoid specifying
   12416     # it if it's in CXXFLAGS. Ignore libCrun as
   12417     # -library=stlport4 depends on it.
   12418     case " $CXX $CXXFLAGS " in
   12419     *" -library=stlport4 "*)
   12420       solaris_use_stlport4=yes
   12421       ;;
   12422     esac
   12423     if test "$solaris_use_stlport4" != yes; then
   12424       postdeps_CXX='-library=Cstd -library=Crun'
   12425     fi
   12426     ;;
   12427   esac
   12428   ;;
   12429 
   12430 solaris*)
   12431   case $cc_basename in
   12432   CC*)
   12433     # The more standards-conforming stlport4 library is
   12434     # incompatible with the Cstd library. Avoid specifying
   12435     # it if it's in CXXFLAGS. Ignore libCrun as
   12436     # -library=stlport4 depends on it.
   12437     case " $CXX $CXXFLAGS " in
   12438     *" -library=stlport4 "*)
   12439       solaris_use_stlport4=yes
   12440       ;;
   12441     esac
   12442 
   12443     # Adding this requires a known-good setup of shared libraries for
   12444     # Sun compiler versions before 5.6, else PIC objects from an old
   12445     # archive will be linked into the output, leading to subtle bugs.
   12446     if test "$solaris_use_stlport4" != yes; then
   12447       postdeps_CXX='-library=Cstd -library=Crun'
   12448     fi
   12449     ;;
   12450   esac
   12451   ;;
   12452 esac
   12453 
   12454 case " $postdeps_CXX " in
   12455 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12456 esac
   12457 
   12458 lt_prog_compiler_wl_CXX=
   12459 lt_prog_compiler_pic_CXX=
   12460 lt_prog_compiler_static_CXX=
   12461 
   12462 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12463 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12464 
   12465   # C++ specific cases for pic, static, wl, etc.
   12466   if test "$GXX" = yes; then
   12467     lt_prog_compiler_wl_CXX='-Wl,'
   12468     lt_prog_compiler_static_CXX='-static'
   12469 
   12470     case $host_os in
   12471     aix*)
   12472       # All AIX code is PIC.
   12473       if test "$host_cpu" = ia64; then
   12474 	# AIX 5 now supports IA64 processor
   12475 	lt_prog_compiler_static_CXX='-Bstatic'
   12476       fi
   12477       ;;
   12478     amigaos*)
   12479       # FIXME: we need at least 68020 code to build shared libraries, but
   12480       # adding the `-m68020' flag to GCC prevents building anything better,
   12481       # like `-m68040'.
   12482       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12483       ;;
   12484     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12485       # PIC is the default for these OSes.
   12486       ;;
   12487     mingw* | cygwin* | os2* | pw32*)
   12488       # This hack is so that the source file can tell whether it is being
   12489       # built for inclusion in a dll (and should export symbols for example).
   12490       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12491       # (--disable-auto-import) libraries
   12492       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12493       ;;
   12494     darwin* | rhapsody*)
   12495       # PIC is the default on this platform
   12496       # Common symbols not allowed in MH_DYLIB files
   12497       lt_prog_compiler_pic_CXX='-fno-common'
   12498       ;;
   12499     *djgpp*)
   12500       # DJGPP does not support shared libraries at all
   12501       lt_prog_compiler_pic_CXX=
   12502       ;;
   12503     interix[3-9]*)
   12504       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12505       # Instead, we relocate shared libraries at runtime.
   12506       ;;
   12507     sysv4*MP*)
   12508       if test -d /usr/nec; then
   12509 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12510       fi
   12511       ;;
   12512     hpux*)
   12513       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12514       # not for PA HP-UX.
   12515       case $host_cpu in
   12516       hppa*64*|ia64*)
   12517 	;;
   12518       *)
   12519 	lt_prog_compiler_pic_CXX='-fPIC'
   12520 	;;
   12521       esac
   12522       ;;
   12523     *)
   12524       lt_prog_compiler_pic_CXX='-fPIC'
   12525       ;;
   12526     esac
   12527   else
   12528     case $host_os in
   12529       aix[4-9]*)
   12530 	# All AIX code is PIC.
   12531 	if test "$host_cpu" = ia64; then
   12532 	  # AIX 5 now supports IA64 processor
   12533 	  lt_prog_compiler_static_CXX='-Bstatic'
   12534 	else
   12535 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12536 	fi
   12537 	;;
   12538       chorus*)
   12539 	case $cc_basename in
   12540 	cxch68*)
   12541 	  # Green Hills C++ Compiler
   12542 	  # _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"
   12543 	  ;;
   12544 	esac
   12545 	;;
   12546        darwin*)
   12547          # PIC is the default on this platform
   12548          # Common symbols not allowed in MH_DYLIB files
   12549          case $cc_basename in
   12550            xlc*)
   12551            lt_prog_compiler_pic_CXX='-qnocommon'
   12552            lt_prog_compiler_wl_CXX='-Wl,'
   12553            ;;
   12554          esac
   12555        ;;
   12556       dgux*)
   12557 	case $cc_basename in
   12558 	  ec++*)
   12559 	    lt_prog_compiler_pic_CXX='-KPIC'
   12560 	    ;;
   12561 	  ghcx*)
   12562 	    # Green Hills C++ Compiler
   12563 	    lt_prog_compiler_pic_CXX='-pic'
   12564 	    ;;
   12565 	  *)
   12566 	    ;;
   12567 	esac
   12568 	;;
   12569       freebsd* | dragonfly*)
   12570 	# FreeBSD uses GNU C++
   12571 	;;
   12572       hpux9* | hpux10* | hpux11*)
   12573 	case $cc_basename in
   12574 	  CC*)
   12575 	    lt_prog_compiler_wl_CXX='-Wl,'
   12576 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12577 	    if test "$host_cpu" != ia64; then
   12578 	      lt_prog_compiler_pic_CXX='+Z'
   12579 	    fi
   12580 	    ;;
   12581 	  aCC*)
   12582 	    lt_prog_compiler_wl_CXX='-Wl,'
   12583 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12584 	    case $host_cpu in
   12585 	    hppa*64*|ia64*)
   12586 	      # +Z the default
   12587 	      ;;
   12588 	    *)
   12589 	      lt_prog_compiler_pic_CXX='+Z'
   12590 	      ;;
   12591 	    esac
   12592 	    ;;
   12593 	  *)
   12594 	    ;;
   12595 	esac
   12596 	;;
   12597       interix*)
   12598 	# This is c89, which is MS Visual C++ (no shared libs)
   12599 	# Anyone wants to do a port?
   12600 	;;
   12601       irix5* | irix6* | nonstopux*)
   12602 	case $cc_basename in
   12603 	  CC*)
   12604 	    lt_prog_compiler_wl_CXX='-Wl,'
   12605 	    lt_prog_compiler_static_CXX='-non_shared'
   12606 	    # CC pic flag -KPIC is the default.
   12607 	    ;;
   12608 	  *)
   12609 	    ;;
   12610 	esac
   12611 	;;
   12612       linux* | k*bsd*-gnu)
   12613 	case $cc_basename in
   12614 	  KCC*)
   12615 	    # KAI C++ Compiler
   12616 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12617 	    lt_prog_compiler_pic_CXX='-fPIC'
   12618 	    ;;
   12619 	  icpc* | ecpc*)
   12620 	    # Intel C++
   12621 	    lt_prog_compiler_wl_CXX='-Wl,'
   12622 	    lt_prog_compiler_pic_CXX='-KPIC'
   12623 	    lt_prog_compiler_static_CXX='-static'
   12624 	    ;;
   12625 	  pgCC* | pgcpp*)
   12626 	    # Portland Group C++ compiler.
   12627 	    lt_prog_compiler_wl_CXX='-Wl,'
   12628 	    lt_prog_compiler_pic_CXX='-fpic'
   12629 	    lt_prog_compiler_static_CXX='-Bstatic'
   12630 	    ;;
   12631 	  cxx*)
   12632 	    # Compaq C++
   12633 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12634 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12635 	    lt_prog_compiler_pic_CXX=
   12636 	    lt_prog_compiler_static_CXX='-non_shared'
   12637 	    ;;
   12638 	  *)
   12639 	    case `$CC -V 2>&1 | sed 5q` in
   12640 	    *Sun\ C*)
   12641 	      # Sun C++ 5.9
   12642 	      lt_prog_compiler_pic_CXX='-KPIC'
   12643 	      lt_prog_compiler_static_CXX='-Bstatic'
   12644 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12645 	      ;;
   12646 	    esac
   12647 	    ;;
   12648 	esac
   12649 	;;
   12650       lynxos*)
   12651 	;;
   12652       m88k*)
   12653 	;;
   12654       mvs*)
   12655 	case $cc_basename in
   12656 	  cxx*)
   12657 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12658 	    ;;
   12659 	  *)
   12660 	    ;;
   12661 	esac
   12662 	;;
   12663       netbsd* | netbsdelf*-gnu)
   12664 	;;
   12665       osf3* | osf4* | osf5*)
   12666 	case $cc_basename in
   12667 	  KCC*)
   12668 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12669 	    ;;
   12670 	  RCC*)
   12671 	    # Rational C++ 2.4.1
   12672 	    lt_prog_compiler_pic_CXX='-pic'
   12673 	    ;;
   12674 	  cxx*)
   12675 	    # Digital/Compaq C++
   12676 	    lt_prog_compiler_wl_CXX='-Wl,'
   12677 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12678 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12679 	    lt_prog_compiler_pic_CXX=
   12680 	    lt_prog_compiler_static_CXX='-non_shared'
   12681 	    ;;
   12682 	  *)
   12683 	    ;;
   12684 	esac
   12685 	;;
   12686       psos*)
   12687 	;;
   12688       solaris*)
   12689 	case $cc_basename in
   12690 	  CC*)
   12691 	    # Sun C++ 4.2, 5.x and Centerline C++
   12692 	    lt_prog_compiler_pic_CXX='-KPIC'
   12693 	    lt_prog_compiler_static_CXX='-Bstatic'
   12694 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12695 	    ;;
   12696 	  gcx*)
   12697 	    # Green Hills C++ Compiler
   12698 	    lt_prog_compiler_pic_CXX='-PIC'
   12699 	    ;;
   12700 	  *)
   12701 	    ;;
   12702 	esac
   12703 	;;
   12704       sunos4*)
   12705 	case $cc_basename in
   12706 	  CC*)
   12707 	    # Sun C++ 4.x
   12708 	    lt_prog_compiler_pic_CXX='-pic'
   12709 	    lt_prog_compiler_static_CXX='-Bstatic'
   12710 	    ;;
   12711 	  lcc*)
   12712 	    # Lucid
   12713 	    lt_prog_compiler_pic_CXX='-pic'
   12714 	    ;;
   12715 	  *)
   12716 	    ;;
   12717 	esac
   12718 	;;
   12719       tandem*)
   12720 	case $cc_basename in
   12721 	  NCC*)
   12722 	    # NonStop-UX NCC 3.20
   12723 	    lt_prog_compiler_pic_CXX='-KPIC'
   12724 	    ;;
   12725 	  *)
   12726 	    ;;
   12727 	esac
   12728 	;;
   12729       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12730 	case $cc_basename in
   12731 	  CC*)
   12732 	    lt_prog_compiler_wl_CXX='-Wl,'
   12733 	    lt_prog_compiler_pic_CXX='-KPIC'
   12734 	    lt_prog_compiler_static_CXX='-Bstatic'
   12735 	    ;;
   12736 	esac
   12737 	;;
   12738       vxworks*)
   12739 	;;
   12740       *)
   12741 	lt_prog_compiler_can_build_shared_CXX=no
   12742 	;;
   12743     esac
   12744   fi
   12745 
   12746 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12747 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12748 
   12749 #
   12750 # Check to make sure the PIC flag actually works.
   12751 #
   12752 if test -n "$lt_prog_compiler_pic_CXX"; then
   12753 
   12754 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12755 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12756 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12757   echo $ECHO_N "(cached) $ECHO_C" >&6
   12758 else
   12759   lt_cv_prog_compiler_pic_works_CXX=no
   12760   ac_outfile=conftest.$ac_objext
   12761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12762    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12763    # Insert the option either (1) after the last *FLAGS variable, or
   12764    # (2) before a word containing "conftest.", or (3) at the end.
   12765    # Note that $ac_compile itself does not contain backslashes and begins
   12766    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12767    # The option is referenced via a variable to avoid confusing sed.
   12768    lt_compile=`echo "$ac_compile" | $SED \
   12769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12771    -e 's:$: $lt_compiler_flag:'`
   12772    (eval echo "\"\$as_me:12772: $lt_compile\"" >&5)
   12773    (eval "$lt_compile" 2>conftest.err)
   12774    ac_status=$?
   12775    cat conftest.err >&5
   12776    echo "$as_me:12776: \$? = $ac_status" >&5
   12777    if (exit $ac_status) && test -s "$ac_outfile"; then
   12778      # The compiler can only warn and ignore the option if not recognized
   12779      # So say no if there are warnings other than the usual output.
   12780      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12781      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12782      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12783        lt_cv_prog_compiler_pic_works_CXX=yes
   12784      fi
   12785    fi
   12786    $rm conftest*
   12787 
   12788 fi
   12789 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12790 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12791 
   12792 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12793     case $lt_prog_compiler_pic_CXX in
   12794      "" | " "*) ;;
   12795      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12796      esac
   12797 else
   12798     lt_prog_compiler_pic_CXX=
   12799      lt_prog_compiler_can_build_shared_CXX=no
   12800 fi
   12801 
   12802 fi
   12803 case $host_os in
   12804   # For platforms which do not support PIC, -DPIC is meaningless:
   12805   *djgpp*)
   12806     lt_prog_compiler_pic_CXX=
   12807     ;;
   12808   *)
   12809     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12810     ;;
   12811 esac
   12812 
   12813 #
   12814 # Check to make sure the static flag actually works.
   12815 #
   12816 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12817 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12818 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12819 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12820   echo $ECHO_N "(cached) $ECHO_C" >&6
   12821 else
   12822   lt_cv_prog_compiler_static_works_CXX=no
   12823    save_LDFLAGS="$LDFLAGS"
   12824    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12825    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12826    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12827      # The linker can only warn and ignore the option if not recognized
   12828      # So say no if there are warnings
   12829      if test -s conftest.err; then
   12830        # Append any errors to the config.log.
   12831        cat conftest.err 1>&5
   12832        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12833        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12834        if diff conftest.exp conftest.er2 >/dev/null; then
   12835          lt_cv_prog_compiler_static_works_CXX=yes
   12836        fi
   12837      else
   12838        lt_cv_prog_compiler_static_works_CXX=yes
   12839      fi
   12840    fi
   12841    $rm -r conftest*
   12842    LDFLAGS="$save_LDFLAGS"
   12843 
   12844 fi
   12845 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   12846 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
   12847 
   12848 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   12849     :
   12850 else
   12851     lt_prog_compiler_static_CXX=
   12852 fi
   12853 
   12854 
   12855 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12856 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12857 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12858   echo $ECHO_N "(cached) $ECHO_C" >&6
   12859 else
   12860   lt_cv_prog_compiler_c_o_CXX=no
   12861    $rm -r conftest 2>/dev/null
   12862    mkdir conftest
   12863    cd conftest
   12864    mkdir out
   12865    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12866 
   12867    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12868    # Insert the option either (1) after the last *FLAGS variable, or
   12869    # (2) before a word containing "conftest.", or (3) at the end.
   12870    # Note that $ac_compile itself does not contain backslashes and begins
   12871    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12872    lt_compile=`echo "$ac_compile" | $SED \
   12873    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12874    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12875    -e 's:$: $lt_compiler_flag:'`
   12876    (eval echo "\"\$as_me:12876: $lt_compile\"" >&5)
   12877    (eval "$lt_compile" 2>out/conftest.err)
   12878    ac_status=$?
   12879    cat out/conftest.err >&5
   12880    echo "$as_me:12880: \$? = $ac_status" >&5
   12881    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12882    then
   12883      # The compiler can only warn and ignore the option if not recognized
   12884      # So say no if there are warnings
   12885      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12886      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12887      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12888        lt_cv_prog_compiler_c_o_CXX=yes
   12889      fi
   12890    fi
   12891    chmod u+w . 2>&5
   12892    $rm conftest*
   12893    # SGI C++ compiler will create directory out/ii_files/ for
   12894    # template instantiation
   12895    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12896    $rm out/* && rmdir out
   12897    cd ..
   12898    rmdir conftest
   12899    $rm conftest*
   12900 
   12901 fi
   12902 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12903 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12904 
   12905 
   12906 hard_links="nottested"
   12907 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12908   # do not overwrite the value of need_locks provided by the user
   12909   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12910 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12911   hard_links=yes
   12912   $rm conftest*
   12913   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12914   touch conftest.a
   12915   ln conftest.a conftest.b 2>&5 || hard_links=no
   12916   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12917   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12918 echo "${ECHO_T}$hard_links" >&6; }
   12919   if test "$hard_links" = no; then
   12920     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12921 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12922     need_locks=warn
   12923   fi
   12924 else
   12925   need_locks=no
   12926 fi
   12927 
   12928 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12929 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12930 
   12931   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12932   case $host_os in
   12933   aix[4-9]*)
   12934     # If we're using GNU nm, then we don't want the "-C" option.
   12935     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12936     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12937       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'
   12938     else
   12939       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'
   12940     fi
   12941     ;;
   12942   pw32*)
   12943     export_symbols_cmds_CXX="$ltdll_cmds"
   12944   ;;
   12945   cygwin* | mingw*)
   12946     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'
   12947   ;;
   12948   linux* | k*bsd*-gnu)
   12949     link_all_deplibs_CXX=no
   12950   ;;
   12951   *)
   12952     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12953   ;;
   12954   esac
   12955   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   12956 
   12957 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12958 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12959 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12960 
   12961 #
   12962 # Do we need to explicitly link libc?
   12963 #
   12964 case "x$archive_cmds_need_lc_CXX" in
   12965 x|xyes)
   12966   # Assume -lc should be added
   12967   archive_cmds_need_lc_CXX=yes
   12968 
   12969   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12970     case $archive_cmds_CXX in
   12971     *'~'*)
   12972       # FIXME: we may have to deal with multi-command sequences.
   12973       ;;
   12974     '$CC '*)
   12975       # Test whether the compiler implicitly links with -lc since on some
   12976       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12977       # to ld, don't add -lc before -lgcc.
   12978       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12979 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12980       $rm conftest*
   12981       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12982 
   12983       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12984   (eval $ac_compile) 2>&5
   12985   ac_status=$?
   12986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12987   (exit $ac_status); } 2>conftest.err; then
   12988         soname=conftest
   12989         lib=conftest
   12990         libobjs=conftest.$ac_objext
   12991         deplibs=
   12992         wl=$lt_prog_compiler_wl_CXX
   12993 	pic_flag=$lt_prog_compiler_pic_CXX
   12994         compiler_flags=-v
   12995         linker_flags=-v
   12996         verstring=
   12997         output_objdir=.
   12998         libname=conftest
   12999         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13000         allow_undefined_flag_CXX=
   13001         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13002   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13003   ac_status=$?
   13004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13005   (exit $ac_status); }
   13006         then
   13007 	  archive_cmds_need_lc_CXX=no
   13008         else
   13009 	  archive_cmds_need_lc_CXX=yes
   13010         fi
   13011         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13012       else
   13013         cat conftest.err 1>&5
   13014       fi
   13015       $rm conftest*
   13016       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13017 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   13018       ;;
   13019     esac
   13020   fi
   13021   ;;
   13022 esac
   13023 
   13024 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13025 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   13026 library_names_spec=
   13027 libname_spec='lib$name'
   13028 soname_spec=
   13029 shrext_cmds=".so"
   13030 postinstall_cmds=
   13031 postuninstall_cmds=
   13032 finish_cmds=
   13033 finish_eval=
   13034 shlibpath_var=
   13035 shlibpath_overrides_runpath=unknown
   13036 version_type=none
   13037 dynamic_linker="$host_os ld.so"
   13038 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13039 
   13040 need_lib_prefix=unknown
   13041 hardcode_into_libs=no
   13042 
   13043 # when you set need_version to no, make sure it does not cause -set_version
   13044 # flags to be left without arguments
   13045 need_version=unknown
   13046 
   13047 case $host_os in
   13048 aix3*)
   13049   version_type=linux
   13050   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13051   shlibpath_var=LIBPATH
   13052 
   13053   # AIX 3 has no versioning support, so we append a major version to the name.
   13054   soname_spec='${libname}${release}${shared_ext}$major'
   13055   ;;
   13056 
   13057 aix[4-9]*)
   13058   version_type=linux
   13059   need_lib_prefix=no
   13060   need_version=no
   13061   hardcode_into_libs=yes
   13062   if test "$host_cpu" = ia64; then
   13063     # AIX 5 supports IA64
   13064     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13065     shlibpath_var=LD_LIBRARY_PATH
   13066   else
   13067     # With GCC up to 2.95.x, collect2 would create an import file
   13068     # for dependence libraries.  The import file would start with
   13069     # the line `#! .'.  This would cause the generated library to
   13070     # depend on `.', always an invalid library.  This was fixed in
   13071     # development snapshots of GCC prior to 3.0.
   13072     case $host_os in
   13073       aix4 | aix4.[01] | aix4.[01].*)
   13074       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13075 	   echo ' yes '
   13076 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13077 	:
   13078       else
   13079 	can_build_shared=no
   13080       fi
   13081       ;;
   13082     esac
   13083     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13084     # soname into executable. Probably we can add versioning support to
   13085     # collect2, so additional links can be useful in future.
   13086     if test "$aix_use_runtimelinking" = yes; then
   13087       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13088       # instead of lib<name>.a to let people know that these are not
   13089       # typical AIX shared libraries.
   13090       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13091     else
   13092       # We preserve .a as extension for shared libraries through AIX4.2
   13093       # and later when we are not doing run time linking.
   13094       library_names_spec='${libname}${release}.a $libname.a'
   13095       soname_spec='${libname}${release}${shared_ext}$major'
   13096     fi
   13097     shlibpath_var=LIBPATH
   13098   fi
   13099   ;;
   13100 
   13101 amigaos*)
   13102   library_names_spec='$libname.ixlibrary $libname.a'
   13103   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13104   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'
   13105   ;;
   13106 
   13107 beos*)
   13108   library_names_spec='${libname}${shared_ext}'
   13109   dynamic_linker="$host_os ld.so"
   13110   shlibpath_var=LIBRARY_PATH
   13111   ;;
   13112 
   13113 bsdi[45]*)
   13114   version_type=linux
   13115   need_version=no
   13116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13117   soname_spec='${libname}${release}${shared_ext}$major'
   13118   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13119   shlibpath_var=LD_LIBRARY_PATH
   13120   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13121   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13122   # the default ld.so.conf also contains /usr/contrib/lib and
   13123   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13124   # libtool to hard-code these into programs
   13125   ;;
   13126 
   13127 cygwin* | mingw* | pw32*)
   13128   version_type=windows
   13129   shrext_cmds=".dll"
   13130   need_version=no
   13131   need_lib_prefix=no
   13132 
   13133   case $GCC,$host_os in
   13134   yes,cygwin* | yes,mingw* | yes,pw32*)
   13135     library_names_spec='$libname.dll.a'
   13136     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13137     postinstall_cmds='base_file=`basename \${file}`~
   13138       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13139       dldir=$destdir/`dirname \$dlpath`~
   13140       test -d \$dldir || mkdir -p \$dldir~
   13141       $install_prog $dir/$dlname \$dldir/$dlname~
   13142       chmod a+x \$dldir/$dlname'
   13143     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13144       dlpath=$dir/\$dldll~
   13145        $rm \$dlpath'
   13146     shlibpath_overrides_runpath=yes
   13147 
   13148     case $host_os in
   13149     cygwin*)
   13150       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13151       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13152       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13153       ;;
   13154     mingw*)
   13155       # MinGW DLLs use traditional 'lib' prefix
   13156       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13157       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13158       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13159         # It is most probably a Windows format PATH printed by
   13160         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13161         # path with ; separators, and with drive letters. We can handle the
   13162         # drive letters (cygwin fileutils understands them), so leave them,
   13163         # especially as we might pass files found there to a mingw objdump,
   13164         # which wouldn't understand a cygwinified path. Ahh.
   13165         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13166       else
   13167         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13168       fi
   13169       ;;
   13170     pw32*)
   13171       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13172       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13173       ;;
   13174     esac
   13175     ;;
   13176 
   13177   *)
   13178     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13179     ;;
   13180   esac
   13181   dynamic_linker='Win32 ld.exe'
   13182   # FIXME: first we should search . and the directory the executable is in
   13183   shlibpath_var=PATH
   13184   ;;
   13185 
   13186 darwin* | rhapsody*)
   13187   dynamic_linker="$host_os dyld"
   13188   version_type=darwin
   13189   need_lib_prefix=no
   13190   need_version=no
   13191   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13192   soname_spec='${libname}${release}${major}$shared_ext'
   13193   shlibpath_overrides_runpath=yes
   13194   shlibpath_var=DYLD_LIBRARY_PATH
   13195   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13196 
   13197   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13198   ;;
   13199 
   13200 dgux*)
   13201   version_type=linux
   13202   need_lib_prefix=no
   13203   need_version=no
   13204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13205   soname_spec='${libname}${release}${shared_ext}$major'
   13206   shlibpath_var=LD_LIBRARY_PATH
   13207   ;;
   13208 
   13209 freebsd1*)
   13210   dynamic_linker=no
   13211   ;;
   13212 
   13213 freebsd* | dragonfly*)
   13214   # DragonFly does not have aout.  When/if they implement a new
   13215   # versioning mechanism, adjust this.
   13216   if test -x /usr/bin/objformat; then
   13217     objformat=`/usr/bin/objformat`
   13218   else
   13219     case $host_os in
   13220     freebsd[123]*) objformat=aout ;;
   13221     *) objformat=elf ;;
   13222     esac
   13223   fi
   13224   version_type=freebsd-$objformat
   13225   case $version_type in
   13226     freebsd-elf*)
   13227       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13228       need_version=no
   13229       need_lib_prefix=no
   13230       ;;
   13231     freebsd-*)
   13232       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13233       need_version=yes
   13234       ;;
   13235   esac
   13236   shlibpath_var=LD_LIBRARY_PATH
   13237   case $host_os in
   13238   freebsd2*)
   13239     shlibpath_overrides_runpath=yes
   13240     ;;
   13241   freebsd3.[01]* | freebsdelf3.[01]*)
   13242     shlibpath_overrides_runpath=yes
   13243     hardcode_into_libs=yes
   13244     ;;
   13245   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13246   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13247     shlibpath_overrides_runpath=no
   13248     hardcode_into_libs=yes
   13249     ;;
   13250   *) # from 4.6 on, and DragonFly
   13251     shlibpath_overrides_runpath=yes
   13252     hardcode_into_libs=yes
   13253     ;;
   13254   esac
   13255   ;;
   13256 
   13257 gnu*)
   13258   version_type=linux
   13259   need_lib_prefix=no
   13260   need_version=no
   13261   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13262   soname_spec='${libname}${release}${shared_ext}$major'
   13263   shlibpath_var=LD_LIBRARY_PATH
   13264   hardcode_into_libs=yes
   13265   ;;
   13266 
   13267 hpux9* | hpux10* | hpux11*)
   13268   # Give a soname corresponding to the major version so that dld.sl refuses to
   13269   # link against other versions.
   13270   version_type=sunos
   13271   need_lib_prefix=no
   13272   need_version=no
   13273   case $host_cpu in
   13274   ia64*)
   13275     shrext_cmds='.so'
   13276     hardcode_into_libs=yes
   13277     dynamic_linker="$host_os dld.so"
   13278     shlibpath_var=LD_LIBRARY_PATH
   13279     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13280     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13281     soname_spec='${libname}${release}${shared_ext}$major'
   13282     if test "X$HPUX_IA64_MODE" = X32; then
   13283       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13284     else
   13285       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13286     fi
   13287     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13288     ;;
   13289    hppa*64*)
   13290      shrext_cmds='.sl'
   13291      hardcode_into_libs=yes
   13292      dynamic_linker="$host_os dld.sl"
   13293      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13294      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13295      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13296      soname_spec='${libname}${release}${shared_ext}$major'
   13297      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13298      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13299      ;;
   13300    *)
   13301     shrext_cmds='.sl'
   13302     dynamic_linker="$host_os dld.sl"
   13303     shlibpath_var=SHLIB_PATH
   13304     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13305     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13306     soname_spec='${libname}${release}${shared_ext}$major'
   13307     ;;
   13308   esac
   13309   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13310   postinstall_cmds='chmod 555 $lib'
   13311   ;;
   13312 
   13313 interix[3-9]*)
   13314   version_type=linux
   13315   need_lib_prefix=no
   13316   need_version=no
   13317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13318   soname_spec='${libname}${release}${shared_ext}$major'
   13319   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13320   shlibpath_var=LD_LIBRARY_PATH
   13321   shlibpath_overrides_runpath=no
   13322   hardcode_into_libs=yes
   13323   ;;
   13324 
   13325 irix5* | irix6* | nonstopux*)
   13326   case $host_os in
   13327     nonstopux*) version_type=nonstopux ;;
   13328     *)
   13329 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13330 		version_type=linux
   13331 	else
   13332 		version_type=irix
   13333 	fi ;;
   13334   esac
   13335   need_lib_prefix=no
   13336   need_version=no
   13337   soname_spec='${libname}${release}${shared_ext}$major'
   13338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13339   case $host_os in
   13340   irix5* | nonstopux*)
   13341     libsuff= shlibsuff=
   13342     ;;
   13343   *)
   13344     case $LD in # libtool.m4 will add one of these switches to LD
   13345     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13346       libsuff= shlibsuff= libmagic=32-bit;;
   13347     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13348       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13349     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13350       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13351     *) libsuff= shlibsuff= libmagic=never-match;;
   13352     esac
   13353     ;;
   13354   esac
   13355   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13356   shlibpath_overrides_runpath=no
   13357   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13358   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13359   hardcode_into_libs=yes
   13360   ;;
   13361 
   13362 # No shared lib support for Linux oldld, aout, or coff.
   13363 linux*oldld* | linux*aout* | linux*coff*)
   13364   dynamic_linker=no
   13365   ;;
   13366 
   13367 # This must be Linux ELF.
   13368 linux* | k*bsd*-gnu)
   13369   version_type=linux
   13370   need_lib_prefix=no
   13371   need_version=no
   13372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13373   soname_spec='${libname}${release}${shared_ext}$major'
   13374   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13375   shlibpath_var=LD_LIBRARY_PATH
   13376   shlibpath_overrides_runpath=no
   13377   # This implies no fast_install, which is unacceptable.
   13378   # Some rework will be needed to allow for fast_install
   13379   # before this can be enabled.
   13380   hardcode_into_libs=yes
   13381 
   13382   # Append ld.so.conf contents to the search path
   13383   if test -f /etc/ld.so.conf; then
   13384     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' ' '`
   13385     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13386   fi
   13387 
   13388   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13389   # powerpc, because MkLinux only supported shared libraries with the
   13390   # GNU dynamic linker.  Since this was broken with cross compilers,
   13391   # most powerpc-linux boxes support dynamic linking these days and
   13392   # people can always --disable-shared, the test was removed, and we
   13393   # assume the GNU/Linux dynamic linker is in use.
   13394   dynamic_linker='GNU/Linux ld.so'
   13395   ;;
   13396 
   13397 netbsdelf*-gnu)
   13398   version_type=linux
   13399   need_lib_prefix=no
   13400   need_version=no
   13401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13402   soname_spec='${libname}${release}${shared_ext}$major'
   13403   shlibpath_var=LD_LIBRARY_PATH
   13404   shlibpath_overrides_runpath=no
   13405   hardcode_into_libs=yes
   13406   dynamic_linker='NetBSD ld.elf_so'
   13407   ;;
   13408 
   13409 netbsd*)
   13410   version_type=sunos
   13411   need_lib_prefix=no
   13412   need_version=no
   13413   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13414     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13415     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13416     dynamic_linker='NetBSD (a.out) ld.so'
   13417   else
   13418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13419     soname_spec='${libname}${release}${shared_ext}$major'
   13420     dynamic_linker='NetBSD ld.elf_so'
   13421   fi
   13422   shlibpath_var=LD_LIBRARY_PATH
   13423   shlibpath_overrides_runpath=yes
   13424   hardcode_into_libs=yes
   13425   ;;
   13426 
   13427 newsos6)
   13428   version_type=linux
   13429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13430   shlibpath_var=LD_LIBRARY_PATH
   13431   shlibpath_overrides_runpath=yes
   13432   ;;
   13433 
   13434 nto-qnx*)
   13435   version_type=linux
   13436   need_lib_prefix=no
   13437   need_version=no
   13438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13439   soname_spec='${libname}${release}${shared_ext}$major'
   13440   shlibpath_var=LD_LIBRARY_PATH
   13441   shlibpath_overrides_runpath=yes
   13442   ;;
   13443 
   13444 openbsd*)
   13445   version_type=sunos
   13446   sys_lib_dlsearch_path_spec="/usr/lib"
   13447   need_lib_prefix=no
   13448   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13449   case $host_os in
   13450     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13451     *)                         need_version=no  ;;
   13452   esac
   13453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13454   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13455   shlibpath_var=LD_LIBRARY_PATH
   13456   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13457     case $host_os in
   13458       openbsd2.[89] | openbsd2.[89].*)
   13459 	shlibpath_overrides_runpath=no
   13460 	;;
   13461       *)
   13462 	shlibpath_overrides_runpath=yes
   13463 	;;
   13464       esac
   13465   else
   13466     shlibpath_overrides_runpath=yes
   13467   fi
   13468   ;;
   13469 
   13470 os2*)
   13471   libname_spec='$name'
   13472   shrext_cmds=".dll"
   13473   need_lib_prefix=no
   13474   library_names_spec='$libname${shared_ext} $libname.a'
   13475   dynamic_linker='OS/2 ld.exe'
   13476   shlibpath_var=LIBPATH
   13477   ;;
   13478 
   13479 osf3* | osf4* | osf5*)
   13480   version_type=osf
   13481   need_lib_prefix=no
   13482   need_version=no
   13483   soname_spec='${libname}${release}${shared_ext}$major'
   13484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13485   shlibpath_var=LD_LIBRARY_PATH
   13486   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13487   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13488   ;;
   13489 
   13490 rdos*)
   13491   dynamic_linker=no
   13492   ;;
   13493 
   13494 solaris*)
   13495   version_type=linux
   13496   need_lib_prefix=no
   13497   need_version=no
   13498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13499   soname_spec='${libname}${release}${shared_ext}$major'
   13500   shlibpath_var=LD_LIBRARY_PATH
   13501   shlibpath_overrides_runpath=yes
   13502   hardcode_into_libs=yes
   13503   # ldd complains unless libraries are executable
   13504   postinstall_cmds='chmod +x $lib'
   13505   ;;
   13506 
   13507 sunos4*)
   13508   version_type=sunos
   13509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13510   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13511   shlibpath_var=LD_LIBRARY_PATH
   13512   shlibpath_overrides_runpath=yes
   13513   if test "$with_gnu_ld" = yes; then
   13514     need_lib_prefix=no
   13515   fi
   13516   need_version=yes
   13517   ;;
   13518 
   13519 sysv4 | sysv4.3*)
   13520   version_type=linux
   13521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13522   soname_spec='${libname}${release}${shared_ext}$major'
   13523   shlibpath_var=LD_LIBRARY_PATH
   13524   case $host_vendor in
   13525     sni)
   13526       shlibpath_overrides_runpath=no
   13527       need_lib_prefix=no
   13528       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13529       runpath_var=LD_RUN_PATH
   13530       ;;
   13531     siemens)
   13532       need_lib_prefix=no
   13533       ;;
   13534     motorola)
   13535       need_lib_prefix=no
   13536       need_version=no
   13537       shlibpath_overrides_runpath=no
   13538       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13539       ;;
   13540   esac
   13541   ;;
   13542 
   13543 sysv4*MP*)
   13544   if test -d /usr/nec ;then
   13545     version_type=linux
   13546     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13547     soname_spec='$libname${shared_ext}.$major'
   13548     shlibpath_var=LD_LIBRARY_PATH
   13549   fi
   13550   ;;
   13551 
   13552 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13553   version_type=freebsd-elf
   13554   need_lib_prefix=no
   13555   need_version=no
   13556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13557   soname_spec='${libname}${release}${shared_ext}$major'
   13558   shlibpath_var=LD_LIBRARY_PATH
   13559   hardcode_into_libs=yes
   13560   if test "$with_gnu_ld" = yes; then
   13561     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13562     shlibpath_overrides_runpath=no
   13563   else
   13564     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13565     shlibpath_overrides_runpath=yes
   13566     case $host_os in
   13567       sco3.2v5*)
   13568         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13569 	;;
   13570     esac
   13571   fi
   13572   sys_lib_dlsearch_path_spec='/usr/lib'
   13573   ;;
   13574 
   13575 uts4*)
   13576   version_type=linux
   13577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13578   soname_spec='${libname}${release}${shared_ext}$major'
   13579   shlibpath_var=LD_LIBRARY_PATH
   13580   ;;
   13581 
   13582 *)
   13583   dynamic_linker=no
   13584   ;;
   13585 esac
   13586 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13587 echo "${ECHO_T}$dynamic_linker" >&6; }
   13588 test "$dynamic_linker" = no && can_build_shared=no
   13589 
   13590 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13591   echo $ECHO_N "(cached) $ECHO_C" >&6
   13592 else
   13593   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13594 fi
   13595 
   13596 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13597 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13598   echo $ECHO_N "(cached) $ECHO_C" >&6
   13599 else
   13600   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13601 fi
   13602 
   13603 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13604 
   13605 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13606 if test "$GCC" = yes; then
   13607   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13608 fi
   13609 
   13610 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13611 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13612 hardcode_action_CXX=
   13613 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13614    test -n "$runpath_var_CXX" || \
   13615    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13616 
   13617   # We can hardcode non-existant directories.
   13618   if test "$hardcode_direct_CXX" != no &&
   13619      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13620      # have to relink, otherwise we might link with an installed library
   13621      # when we should be linking with a yet-to-be-installed one
   13622      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13623      test "$hardcode_minus_L_CXX" != no; then
   13624     # Linking always hardcodes the temporary library directory.
   13625     hardcode_action_CXX=relink
   13626   else
   13627     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13628     hardcode_action_CXX=immediate
   13629   fi
   13630 else
   13631   # We cannot hardcode anything, or else we can only hardcode existing
   13632   # directories.
   13633   hardcode_action_CXX=unsupported
   13634 fi
   13635 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13636 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13637 
   13638 if test "$hardcode_action_CXX" = relink; then
   13639   # Fast installation is not supported
   13640   enable_fast_install=no
   13641 elif test "$shlibpath_overrides_runpath" = yes ||
   13642      test "$enable_shared" = no; then
   13643   # Fast installation is not necessary
   13644   enable_fast_install=needless
   13645 fi
   13646 
   13647 
   13648 # The else clause should only fire when bootstrapping the
   13649 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13650 # with your package, and you will get complaints that there are
   13651 # no rules to generate ltmain.sh.
   13652 if test -f "$ltmain"; then
   13653   # See if we are running on zsh, and set the options which allow our commands through
   13654   # without removal of \ escapes.
   13655   if test -n "${ZSH_VERSION+set}" ; then
   13656     setopt NO_GLOB_SUBST
   13657   fi
   13658   # Now quote all the things that may contain metacharacters while being
   13659   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13660   # variables and quote the copies for generation of the libtool script.
   13661   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13662     SED SHELL STRIP \
   13663     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13664     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13665     deplibs_check_method reload_flag reload_cmds need_locks \
   13666     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13667     lt_cv_sys_global_symbol_to_c_name_address \
   13668     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13669     old_postinstall_cmds old_postuninstall_cmds \
   13670     compiler_CXX \
   13671     CC_CXX \
   13672     LD_CXX \
   13673     lt_prog_compiler_wl_CXX \
   13674     lt_prog_compiler_pic_CXX \
   13675     lt_prog_compiler_static_CXX \
   13676     lt_prog_compiler_no_builtin_flag_CXX \
   13677     export_dynamic_flag_spec_CXX \
   13678     thread_safe_flag_spec_CXX \
   13679     whole_archive_flag_spec_CXX \
   13680     enable_shared_with_static_runtimes_CXX \
   13681     old_archive_cmds_CXX \
   13682     old_archive_from_new_cmds_CXX \
   13683     predep_objects_CXX \
   13684     postdep_objects_CXX \
   13685     predeps_CXX \
   13686     postdeps_CXX \
   13687     compiler_lib_search_path_CXX \
   13688     compiler_lib_search_dirs_CXX \
   13689     archive_cmds_CXX \
   13690     archive_expsym_cmds_CXX \
   13691     postinstall_cmds_CXX \
   13692     postuninstall_cmds_CXX \
   13693     old_archive_from_expsyms_cmds_CXX \
   13694     allow_undefined_flag_CXX \
   13695     no_undefined_flag_CXX \
   13696     export_symbols_cmds_CXX \
   13697     hardcode_libdir_flag_spec_CXX \
   13698     hardcode_libdir_flag_spec_ld_CXX \
   13699     hardcode_libdir_separator_CXX \
   13700     hardcode_automatic_CXX \
   13701     module_cmds_CXX \
   13702     module_expsym_cmds_CXX \
   13703     lt_cv_prog_compiler_c_o_CXX \
   13704     fix_srcfile_path_CXX \
   13705     exclude_expsyms_CXX \
   13706     include_expsyms_CXX; do
   13707 
   13708     case $var in
   13709     old_archive_cmds_CXX | \
   13710     old_archive_from_new_cmds_CXX | \
   13711     archive_cmds_CXX | \
   13712     archive_expsym_cmds_CXX | \
   13713     module_cmds_CXX | \
   13714     module_expsym_cmds_CXX | \
   13715     old_archive_from_expsyms_cmds_CXX | \
   13716     export_symbols_cmds_CXX | \
   13717     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13718     postinstall_cmds | postuninstall_cmds | \
   13719     old_postinstall_cmds | old_postuninstall_cmds | \
   13720     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13721       # Double-quote double-evaled strings.
   13722       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13723       ;;
   13724     *)
   13725       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13726       ;;
   13727     esac
   13728   done
   13729 
   13730   case $lt_echo in
   13731   *'\$0 --fallback-echo"')
   13732     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13733     ;;
   13734   esac
   13735 
   13736 cfgfile="$ofile"
   13737 
   13738   cat <<__EOF__ >> "$cfgfile"
   13739 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13740 
   13741 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13742 
   13743 # Shell to use when invoking shell scripts.
   13744 SHELL=$lt_SHELL
   13745 
   13746 # Whether or not to build shared libraries.
   13747 build_libtool_libs=$enable_shared
   13748 
   13749 # Whether or not to build static libraries.
   13750 build_old_libs=$enable_static
   13751 
   13752 # Whether or not to add -lc for building shared libraries.
   13753 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13754 
   13755 # Whether or not to disallow shared libs when runtime libs are static
   13756 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13757 
   13758 # Whether or not to optimize for fast installation.
   13759 fast_install=$enable_fast_install
   13760 
   13761 # The host system.
   13762 host_alias=$host_alias
   13763 host=$host
   13764 host_os=$host_os
   13765 
   13766 # The build system.
   13767 build_alias=$build_alias
   13768 build=$build
   13769 build_os=$build_os
   13770 
   13771 # An echo program that does not interpret backslashes.
   13772 echo=$lt_echo
   13773 
   13774 # The archiver.
   13775 AR=$lt_AR
   13776 AR_FLAGS=$lt_AR_FLAGS
   13777 
   13778 # A C compiler.
   13779 LTCC=$lt_LTCC
   13780 
   13781 # LTCC compiler flags.
   13782 LTCFLAGS=$lt_LTCFLAGS
   13783 
   13784 # A language-specific compiler.
   13785 CC=$lt_compiler_CXX
   13786 
   13787 # Is the compiler the GNU C compiler?
   13788 with_gcc=$GCC_CXX
   13789 
   13790 # An ERE matcher.
   13791 EGREP=$lt_EGREP
   13792 
   13793 # The linker used to build libraries.
   13794 LD=$lt_LD_CXX
   13795 
   13796 # Whether we need hard or soft links.
   13797 LN_S=$lt_LN_S
   13798 
   13799 # A BSD-compatible nm program.
   13800 NM=$lt_NM
   13801 
   13802 # A symbol stripping program
   13803 STRIP=$lt_STRIP
   13804 
   13805 # Used to examine libraries when file_magic_cmd begins "file"
   13806 MAGIC_CMD=$MAGIC_CMD
   13807 
   13808 # Used on cygwin: DLL creation program.
   13809 DLLTOOL="$DLLTOOL"
   13810 
   13811 # Used on cygwin: object dumper.
   13812 OBJDUMP="$OBJDUMP"
   13813 
   13814 # Used on cygwin: assembler.
   13815 AS="$AS"
   13816 
   13817 # The name of the directory that contains temporary libtool files.
   13818 objdir=$objdir
   13819 
   13820 # How to create reloadable object files.
   13821 reload_flag=$lt_reload_flag
   13822 reload_cmds=$lt_reload_cmds
   13823 
   13824 # How to pass a linker flag through the compiler.
   13825 wl=$lt_lt_prog_compiler_wl_CXX
   13826 
   13827 # Object file suffix (normally "o").
   13828 objext="$ac_objext"
   13829 
   13830 # Old archive suffix (normally "a").
   13831 libext="$libext"
   13832 
   13833 # Shared library suffix (normally ".so").
   13834 shrext_cmds='$shrext_cmds'
   13835 
   13836 # Executable file suffix (normally "").
   13837 exeext="$exeext"
   13838 
   13839 # Additional compiler flags for building library objects.
   13840 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13841 pic_mode=$pic_mode
   13842 
   13843 # What is the maximum length of a command?
   13844 max_cmd_len=$lt_cv_sys_max_cmd_len
   13845 
   13846 # Does compiler simultaneously support -c and -o options?
   13847 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13848 
   13849 # Must we lock files when doing compilation?
   13850 need_locks=$lt_need_locks
   13851 
   13852 # Do we need the lib prefix for modules?
   13853 need_lib_prefix=$need_lib_prefix
   13854 
   13855 # Do we need a version for libraries?
   13856 need_version=$need_version
   13857 
   13858 # Whether dlopen is supported.
   13859 dlopen_support=$enable_dlopen
   13860 
   13861 # Whether dlopen of programs is supported.
   13862 dlopen_self=$enable_dlopen_self
   13863 
   13864 # Whether dlopen of statically linked programs is supported.
   13865 dlopen_self_static=$enable_dlopen_self_static
   13866 
   13867 # Compiler flag to prevent dynamic linking.
   13868 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13869 
   13870 # Compiler flag to turn off builtin functions.
   13871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13872 
   13873 # Compiler flag to allow reflexive dlopens.
   13874 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13875 
   13876 # Compiler flag to generate shared objects directly from archives.
   13877 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13878 
   13879 # Compiler flag to generate thread-safe objects.
   13880 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13881 
   13882 # Library versioning type.
   13883 version_type=$version_type
   13884 
   13885 # Format of library name prefix.
   13886 libname_spec=$lt_libname_spec
   13887 
   13888 # List of archive names.  First name is the real one, the rest are links.
   13889 # The last name is the one that the linker finds with -lNAME.
   13890 library_names_spec=$lt_library_names_spec
   13891 
   13892 # The coded name of the library, if different from the real name.
   13893 soname_spec=$lt_soname_spec
   13894 
   13895 # Commands used to build and install an old-style archive.
   13896 RANLIB=$lt_RANLIB
   13897 old_archive_cmds=$lt_old_archive_cmds_CXX
   13898 old_postinstall_cmds=$lt_old_postinstall_cmds
   13899 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13900 
   13901 # Create an old-style archive from a shared archive.
   13902 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13903 
   13904 # Create a temporary old-style archive to link instead of a shared archive.
   13905 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13906 
   13907 # Commands used to build and install a shared archive.
   13908 archive_cmds=$lt_archive_cmds_CXX
   13909 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13910 postinstall_cmds=$lt_postinstall_cmds
   13911 postuninstall_cmds=$lt_postuninstall_cmds
   13912 
   13913 # Commands used to build a loadable module (assumed same as above if empty)
   13914 module_cmds=$lt_module_cmds_CXX
   13915 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13916 
   13917 # Commands to strip libraries.
   13918 old_striplib=$lt_old_striplib
   13919 striplib=$lt_striplib
   13920 
   13921 # Dependencies to place before the objects being linked to create a
   13922 # shared library.
   13923 predep_objects=$lt_predep_objects_CXX
   13924 
   13925 # Dependencies to place after the objects being linked to create a
   13926 # shared library.
   13927 postdep_objects=$lt_postdep_objects_CXX
   13928 
   13929 # Dependencies to place before the objects being linked to create a
   13930 # shared library.
   13931 predeps=$lt_predeps_CXX
   13932 
   13933 # Dependencies to place after the objects being linked to create a
   13934 # shared library.
   13935 postdeps=$lt_postdeps_CXX
   13936 
   13937 # The directories searched by this compiler when creating a shared
   13938 # library
   13939 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   13940 
   13941 # The library search path used internally by the compiler when linking
   13942 # a shared library.
   13943 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13944 
   13945 # Method to check whether dependent libraries are shared objects.
   13946 deplibs_check_method=$lt_deplibs_check_method
   13947 
   13948 # Command to use when deplibs_check_method == file_magic.
   13949 file_magic_cmd=$lt_file_magic_cmd
   13950 
   13951 # Flag that allows shared libraries with undefined symbols to be built.
   13952 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13953 
   13954 # Flag that forces no undefined symbols.
   13955 no_undefined_flag=$lt_no_undefined_flag_CXX
   13956 
   13957 # Commands used to finish a libtool library installation in a directory.
   13958 finish_cmds=$lt_finish_cmds
   13959 
   13960 # Same as above, but a single script fragment to be evaled but not shown.
   13961 finish_eval=$lt_finish_eval
   13962 
   13963 # Take the output of nm and produce a listing of raw symbols and C names.
   13964 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13965 
   13966 # Transform the output of nm in a proper C declaration
   13967 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13968 
   13969 # Transform the output of nm in a C name address pair
   13970 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13971 
   13972 # This is the shared library runtime path variable.
   13973 runpath_var=$runpath_var
   13974 
   13975 # This is the shared library path variable.
   13976 shlibpath_var=$shlibpath_var
   13977 
   13978 # Is shlibpath searched before the hard-coded library search path?
   13979 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13980 
   13981 # How to hardcode a shared library path into an executable.
   13982 hardcode_action=$hardcode_action_CXX
   13983 
   13984 # Whether we should hardcode library paths into libraries.
   13985 hardcode_into_libs=$hardcode_into_libs
   13986 
   13987 # Flag to hardcode \$libdir into a binary during linking.
   13988 # This must work even if \$libdir does not exist.
   13989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13990 
   13991 # If ld is used when linking, flag to hardcode \$libdir into
   13992 # a binary during linking. This must work even if \$libdir does
   13993 # not exist.
   13994 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13995 
   13996 # Whether we need a single -rpath flag with a separated argument.
   13997 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13998 
   13999 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14000 # resulting binary.
   14001 hardcode_direct=$hardcode_direct_CXX
   14002 
   14003 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14004 # resulting binary.
   14005 hardcode_minus_L=$hardcode_minus_L_CXX
   14006 
   14007 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14008 # the resulting binary.
   14009 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14010 
   14011 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14012 # and all subsequent libraries and executables linked against it.
   14013 hardcode_automatic=$hardcode_automatic_CXX
   14014 
   14015 # Variables whose values should be saved in libtool wrapper scripts and
   14016 # restored at relink time.
   14017 variables_saved_for_relink="$variables_saved_for_relink"
   14018 
   14019 # Whether libtool must link a program against all its dependency libraries.
   14020 link_all_deplibs=$link_all_deplibs_CXX
   14021 
   14022 # Compile-time system search path for libraries
   14023 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14024 
   14025 # Run-time system search path for libraries
   14026 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14027 
   14028 # Fix the shell variable \$srcfile for the compiler.
   14029 fix_srcfile_path=$lt_fix_srcfile_path
   14030 
   14031 # Set to yes if exported symbols are required.
   14032 always_export_symbols=$always_export_symbols_CXX
   14033 
   14034 # The commands to list exported symbols.
   14035 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14036 
   14037 # The commands to extract the exported symbol list from a shared archive.
   14038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14039 
   14040 # Symbols that should not be listed in the preloaded symbols.
   14041 exclude_expsyms=$lt_exclude_expsyms_CXX
   14042 
   14043 # Symbols that must always be exported.
   14044 include_expsyms=$lt_include_expsyms_CXX
   14045 
   14046 # ### END LIBTOOL TAG CONFIG: $tagname
   14047 
   14048 __EOF__
   14049 
   14050 
   14051 else
   14052   # If there is no Makefile yet, we rely on a make rule to execute
   14053   # `config.status --recheck' to rerun these tests and create the
   14054   # libtool script then.
   14055   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14056   if test -f "$ltmain_in"; then
   14057     test -f Makefile && make "$ltmain"
   14058   fi
   14059 fi
   14060 
   14061 
   14062 ac_ext=c
   14063 ac_cpp='$CPP $CPPFLAGS'
   14064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14067 
   14068 CC=$lt_save_CC
   14069 LDCXX=$LD
   14070 LD=$lt_save_LD
   14071 GCC=$lt_save_GCC
   14072 with_gnu_ldcxx=$with_gnu_ld
   14073 with_gnu_ld=$lt_save_with_gnu_ld
   14074 lt_cv_path_LDCXX=$lt_cv_path_LD
   14075 lt_cv_path_LD=$lt_save_path_LD
   14076 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14077 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14078 
   14079 	else
   14080 	  tagname=""
   14081 	fi
   14082 	;;
   14083 
   14084       F77)
   14085 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14086 
   14087 ac_ext=f
   14088 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14089 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14090 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14091 
   14092 
   14093 archive_cmds_need_lc_F77=no
   14094 allow_undefined_flag_F77=
   14095 always_export_symbols_F77=no
   14096 archive_expsym_cmds_F77=
   14097 export_dynamic_flag_spec_F77=
   14098 hardcode_direct_F77=no
   14099 hardcode_libdir_flag_spec_F77=
   14100 hardcode_libdir_flag_spec_ld_F77=
   14101 hardcode_libdir_separator_F77=
   14102 hardcode_minus_L_F77=no
   14103 hardcode_automatic_F77=no
   14104 module_cmds_F77=
   14105 module_expsym_cmds_F77=
   14106 link_all_deplibs_F77=unknown
   14107 old_archive_cmds_F77=$old_archive_cmds
   14108 no_undefined_flag_F77=
   14109 whole_archive_flag_spec_F77=
   14110 enable_shared_with_static_runtimes_F77=no
   14111 
   14112 # Source file extension for f77 test sources.
   14113 ac_ext=f
   14114 
   14115 # Object file extension for compiled f77 test sources.
   14116 objext=o
   14117 objext_F77=$objext
   14118 
   14119 # Code to be used in simple compile tests
   14120 lt_simple_compile_test_code="\
   14121       subroutine t
   14122       return
   14123       end
   14124 "
   14125 
   14126 # Code to be used in simple link tests
   14127 lt_simple_link_test_code="\
   14128       program t
   14129       end
   14130 "
   14131 
   14132 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14133 
   14134 # If no C compiler was specified, use CC.
   14135 LTCC=${LTCC-"$CC"}
   14136 
   14137 # If no C compiler flags were specified, use CFLAGS.
   14138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14139 
   14140 # Allow CC to be a program name with arguments.
   14141 compiler=$CC
   14142 
   14143 
   14144 # save warnings/boilerplate of simple test code
   14145 ac_outfile=conftest.$ac_objext
   14146 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14147 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14148 _lt_compiler_boilerplate=`cat conftest.err`
   14149 $rm conftest*
   14150 
   14151 ac_outfile=conftest.$ac_objext
   14152 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14153 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14154 _lt_linker_boilerplate=`cat conftest.err`
   14155 $rm -r conftest*
   14156 
   14157 
   14158 # Allow CC to be a program name with arguments.
   14159 lt_save_CC="$CC"
   14160 CC=${F77-"f77"}
   14161 compiler=$CC
   14162 compiler_F77=$CC
   14163 for cc_temp in $compiler""; do
   14164   case $cc_temp in
   14165     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14166     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14167     \-*) ;;
   14168     *) break;;
   14169   esac
   14170 done
   14171 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14172 
   14173 
   14174 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14175 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14176 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14177 echo "${ECHO_T}$can_build_shared" >&6; }
   14178 
   14179 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14180 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14181 test "$can_build_shared" = "no" && enable_shared=no
   14182 
   14183 # On AIX, shared libraries and static libraries use the same namespace, and
   14184 # are all built from PIC.
   14185 case $host_os in
   14186 aix3*)
   14187   test "$enable_shared" = yes && enable_static=no
   14188   if test -n "$RANLIB"; then
   14189     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14190     postinstall_cmds='$RANLIB $lib'
   14191   fi
   14192   ;;
   14193 aix[4-9]*)
   14194   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14195     test "$enable_shared" = yes && enable_static=no
   14196   fi
   14197   ;;
   14198 esac
   14199 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14200 echo "${ECHO_T}$enable_shared" >&6; }
   14201 
   14202 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14203 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14204 # Make sure either enable_shared or enable_static is yes.
   14205 test "$enable_shared" = yes || enable_static=yes
   14206 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14207 echo "${ECHO_T}$enable_static" >&6; }
   14208 
   14209 GCC_F77="$G77"
   14210 LD_F77="$LD"
   14211 
   14212 lt_prog_compiler_wl_F77=
   14213 lt_prog_compiler_pic_F77=
   14214 lt_prog_compiler_static_F77=
   14215 
   14216 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14217 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14218 
   14219   if test "$GCC" = yes; then
   14220     lt_prog_compiler_wl_F77='-Wl,'
   14221     lt_prog_compiler_static_F77='-static'
   14222 
   14223     case $host_os in
   14224       aix*)
   14225       # All AIX code is PIC.
   14226       if test "$host_cpu" = ia64; then
   14227 	# AIX 5 now supports IA64 processor
   14228 	lt_prog_compiler_static_F77='-Bstatic'
   14229       fi
   14230       ;;
   14231 
   14232     amigaos*)
   14233       # FIXME: we need at least 68020 code to build shared libraries, but
   14234       # adding the `-m68020' flag to GCC prevents building anything better,
   14235       # like `-m68040'.
   14236       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14237       ;;
   14238 
   14239     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14240       # PIC is the default for these OSes.
   14241       ;;
   14242 
   14243     mingw* | cygwin* | pw32* | os2*)
   14244       # This hack is so that the source file can tell whether it is being
   14245       # built for inclusion in a dll (and should export symbols for example).
   14246       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14247       # (--disable-auto-import) libraries
   14248       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14249       ;;
   14250 
   14251     darwin* | rhapsody*)
   14252       # PIC is the default on this platform
   14253       # Common symbols not allowed in MH_DYLIB files
   14254       lt_prog_compiler_pic_F77='-fno-common'
   14255       ;;
   14256 
   14257     interix[3-9]*)
   14258       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14259       # Instead, we relocate shared libraries at runtime.
   14260       ;;
   14261 
   14262     msdosdjgpp*)
   14263       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14264       # on systems that don't support them.
   14265       lt_prog_compiler_can_build_shared_F77=no
   14266       enable_shared=no
   14267       ;;
   14268 
   14269     sysv4*MP*)
   14270       if test -d /usr/nec; then
   14271 	lt_prog_compiler_pic_F77=-Kconform_pic
   14272       fi
   14273       ;;
   14274 
   14275     hpux*)
   14276       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14277       # not for PA HP-UX.
   14278       case $host_cpu in
   14279       hppa*64*|ia64*)
   14280 	# +Z the default
   14281 	;;
   14282       *)
   14283 	lt_prog_compiler_pic_F77='-fPIC'
   14284 	;;
   14285       esac
   14286       ;;
   14287 
   14288     *)
   14289       lt_prog_compiler_pic_F77='-fPIC'
   14290       ;;
   14291     esac
   14292   else
   14293     # PORTME Check for flag to pass linker flags through the system compiler.
   14294     case $host_os in
   14295     aix*)
   14296       lt_prog_compiler_wl_F77='-Wl,'
   14297       if test "$host_cpu" = ia64; then
   14298 	# AIX 5 now supports IA64 processor
   14299 	lt_prog_compiler_static_F77='-Bstatic'
   14300       else
   14301 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14302       fi
   14303       ;;
   14304       darwin*)
   14305         # PIC is the default on this platform
   14306         # Common symbols not allowed in MH_DYLIB files
   14307        case $cc_basename in
   14308          xlc*)
   14309          lt_prog_compiler_pic_F77='-qnocommon'
   14310          lt_prog_compiler_wl_F77='-Wl,'
   14311          ;;
   14312        esac
   14313        ;;
   14314 
   14315     mingw* | cygwin* | pw32* | os2*)
   14316       # This hack is so that the source file can tell whether it is being
   14317       # built for inclusion in a dll (and should export symbols for example).
   14318       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14319       ;;
   14320 
   14321     hpux9* | hpux10* | hpux11*)
   14322       lt_prog_compiler_wl_F77='-Wl,'
   14323       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14324       # not for PA HP-UX.
   14325       case $host_cpu in
   14326       hppa*64*|ia64*)
   14327 	# +Z the default
   14328 	;;
   14329       *)
   14330 	lt_prog_compiler_pic_F77='+Z'
   14331 	;;
   14332       esac
   14333       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14334       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14335       ;;
   14336 
   14337     irix5* | irix6* | nonstopux*)
   14338       lt_prog_compiler_wl_F77='-Wl,'
   14339       # PIC (with -KPIC) is the default.
   14340       lt_prog_compiler_static_F77='-non_shared'
   14341       ;;
   14342 
   14343     newsos6)
   14344       lt_prog_compiler_pic_F77='-KPIC'
   14345       lt_prog_compiler_static_F77='-Bstatic'
   14346       ;;
   14347 
   14348     linux* | k*bsd*-gnu)
   14349       case $cc_basename in
   14350       icc* | ecc*)
   14351 	lt_prog_compiler_wl_F77='-Wl,'
   14352 	lt_prog_compiler_pic_F77='-KPIC'
   14353 	lt_prog_compiler_static_F77='-static'
   14354         ;;
   14355       pgcc* | pgf77* | pgf90* | pgf95*)
   14356         # Portland Group compilers (*not* the Pentium gcc compiler,
   14357 	# which looks to be a dead project)
   14358 	lt_prog_compiler_wl_F77='-Wl,'
   14359 	lt_prog_compiler_pic_F77='-fpic'
   14360 	lt_prog_compiler_static_F77='-Bstatic'
   14361         ;;
   14362       ccc*)
   14363         lt_prog_compiler_wl_F77='-Wl,'
   14364         # All Alpha code is PIC.
   14365         lt_prog_compiler_static_F77='-non_shared'
   14366         ;;
   14367       *)
   14368         case `$CC -V 2>&1 | sed 5q` in
   14369 	*Sun\ C*)
   14370 	  # Sun C 5.9
   14371 	  lt_prog_compiler_pic_F77='-KPIC'
   14372 	  lt_prog_compiler_static_F77='-Bstatic'
   14373 	  lt_prog_compiler_wl_F77='-Wl,'
   14374 	  ;;
   14375 	*Sun\ F*)
   14376 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14377 	  lt_prog_compiler_pic_F77='-KPIC'
   14378 	  lt_prog_compiler_static_F77='-Bstatic'
   14379 	  lt_prog_compiler_wl_F77=''
   14380 	  ;;
   14381 	esac
   14382 	;;
   14383       esac
   14384       ;;
   14385 
   14386     osf3* | osf4* | osf5*)
   14387       lt_prog_compiler_wl_F77='-Wl,'
   14388       # All OSF/1 code is PIC.
   14389       lt_prog_compiler_static_F77='-non_shared'
   14390       ;;
   14391 
   14392     rdos*)
   14393       lt_prog_compiler_static_F77='-non_shared'
   14394       ;;
   14395 
   14396     solaris*)
   14397       lt_prog_compiler_pic_F77='-KPIC'
   14398       lt_prog_compiler_static_F77='-Bstatic'
   14399       case $cc_basename in
   14400       f77* | f90* | f95*)
   14401 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14402       *)
   14403 	lt_prog_compiler_wl_F77='-Wl,';;
   14404       esac
   14405       ;;
   14406 
   14407     sunos4*)
   14408       lt_prog_compiler_wl_F77='-Qoption ld '
   14409       lt_prog_compiler_pic_F77='-PIC'
   14410       lt_prog_compiler_static_F77='-Bstatic'
   14411       ;;
   14412 
   14413     sysv4 | sysv4.2uw2* | sysv4.3*)
   14414       lt_prog_compiler_wl_F77='-Wl,'
   14415       lt_prog_compiler_pic_F77='-KPIC'
   14416       lt_prog_compiler_static_F77='-Bstatic'
   14417       ;;
   14418 
   14419     sysv4*MP*)
   14420       if test -d /usr/nec ;then
   14421 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14422 	lt_prog_compiler_static_F77='-Bstatic'
   14423       fi
   14424       ;;
   14425 
   14426     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14427       lt_prog_compiler_wl_F77='-Wl,'
   14428       lt_prog_compiler_pic_F77='-KPIC'
   14429       lt_prog_compiler_static_F77='-Bstatic'
   14430       ;;
   14431 
   14432     unicos*)
   14433       lt_prog_compiler_wl_F77='-Wl,'
   14434       lt_prog_compiler_can_build_shared_F77=no
   14435       ;;
   14436 
   14437     uts4*)
   14438       lt_prog_compiler_pic_F77='-pic'
   14439       lt_prog_compiler_static_F77='-Bstatic'
   14440       ;;
   14441 
   14442     *)
   14443       lt_prog_compiler_can_build_shared_F77=no
   14444       ;;
   14445     esac
   14446   fi
   14447 
   14448 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14449 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14450 
   14451 #
   14452 # Check to make sure the PIC flag actually works.
   14453 #
   14454 if test -n "$lt_prog_compiler_pic_F77"; then
   14455 
   14456 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14457 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14458 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14459   echo $ECHO_N "(cached) $ECHO_C" >&6
   14460 else
   14461   lt_cv_prog_compiler_pic_works_F77=no
   14462   ac_outfile=conftest.$ac_objext
   14463    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14464    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14465    # Insert the option either (1) after the last *FLAGS variable, or
   14466    # (2) before a word containing "conftest.", or (3) at the end.
   14467    # Note that $ac_compile itself does not contain backslashes and begins
   14468    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14469    # The option is referenced via a variable to avoid confusing sed.
   14470    lt_compile=`echo "$ac_compile" | $SED \
   14471    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14472    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14473    -e 's:$: $lt_compiler_flag:'`
   14474    (eval echo "\"\$as_me:14474: $lt_compile\"" >&5)
   14475    (eval "$lt_compile" 2>conftest.err)
   14476    ac_status=$?
   14477    cat conftest.err >&5
   14478    echo "$as_me:14478: \$? = $ac_status" >&5
   14479    if (exit $ac_status) && test -s "$ac_outfile"; then
   14480      # The compiler can only warn and ignore the option if not recognized
   14481      # So say no if there are warnings other than the usual output.
   14482      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14483      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14484      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14485        lt_cv_prog_compiler_pic_works_F77=yes
   14486      fi
   14487    fi
   14488    $rm conftest*
   14489 
   14490 fi
   14491 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14492 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14493 
   14494 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14495     case $lt_prog_compiler_pic_F77 in
   14496      "" | " "*) ;;
   14497      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14498      esac
   14499 else
   14500     lt_prog_compiler_pic_F77=
   14501      lt_prog_compiler_can_build_shared_F77=no
   14502 fi
   14503 
   14504 fi
   14505 case $host_os in
   14506   # For platforms which do not support PIC, -DPIC is meaningless:
   14507   *djgpp*)
   14508     lt_prog_compiler_pic_F77=
   14509     ;;
   14510   *)
   14511     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14512     ;;
   14513 esac
   14514 
   14515 #
   14516 # Check to make sure the static flag actually works.
   14517 #
   14518 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14519 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14520 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14521 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14522   echo $ECHO_N "(cached) $ECHO_C" >&6
   14523 else
   14524   lt_cv_prog_compiler_static_works_F77=no
   14525    save_LDFLAGS="$LDFLAGS"
   14526    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14527    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14528    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14529      # The linker can only warn and ignore the option if not recognized
   14530      # So say no if there are warnings
   14531      if test -s conftest.err; then
   14532        # Append any errors to the config.log.
   14533        cat conftest.err 1>&5
   14534        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14535        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14536        if diff conftest.exp conftest.er2 >/dev/null; then
   14537          lt_cv_prog_compiler_static_works_F77=yes
   14538        fi
   14539      else
   14540        lt_cv_prog_compiler_static_works_F77=yes
   14541      fi
   14542    fi
   14543    $rm -r conftest*
   14544    LDFLAGS="$save_LDFLAGS"
   14545 
   14546 fi
   14547 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14548 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
   14549 
   14550 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14551     :
   14552 else
   14553     lt_prog_compiler_static_F77=
   14554 fi
   14555 
   14556 
   14557 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14558 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14559 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14560   echo $ECHO_N "(cached) $ECHO_C" >&6
   14561 else
   14562   lt_cv_prog_compiler_c_o_F77=no
   14563    $rm -r conftest 2>/dev/null
   14564    mkdir conftest
   14565    cd conftest
   14566    mkdir out
   14567    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14568 
   14569    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14570    # Insert the option either (1) after the last *FLAGS variable, or
   14571    # (2) before a word containing "conftest.", or (3) at the end.
   14572    # Note that $ac_compile itself does not contain backslashes and begins
   14573    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14574    lt_compile=`echo "$ac_compile" | $SED \
   14575    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14576    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14577    -e 's:$: $lt_compiler_flag:'`
   14578    (eval echo "\"\$as_me:14578: $lt_compile\"" >&5)
   14579    (eval "$lt_compile" 2>out/conftest.err)
   14580    ac_status=$?
   14581    cat out/conftest.err >&5
   14582    echo "$as_me:14582: \$? = $ac_status" >&5
   14583    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14584    then
   14585      # The compiler can only warn and ignore the option if not recognized
   14586      # So say no if there are warnings
   14587      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14588      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14589      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14590        lt_cv_prog_compiler_c_o_F77=yes
   14591      fi
   14592    fi
   14593    chmod u+w . 2>&5
   14594    $rm conftest*
   14595    # SGI C++ compiler will create directory out/ii_files/ for
   14596    # template instantiation
   14597    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14598    $rm out/* && rmdir out
   14599    cd ..
   14600    rmdir conftest
   14601    $rm conftest*
   14602 
   14603 fi
   14604 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14605 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14606 
   14607 
   14608 hard_links="nottested"
   14609 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14610   # do not overwrite the value of need_locks provided by the user
   14611   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14612 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14613   hard_links=yes
   14614   $rm conftest*
   14615   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14616   touch conftest.a
   14617   ln conftest.a conftest.b 2>&5 || hard_links=no
   14618   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14619   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14620 echo "${ECHO_T}$hard_links" >&6; }
   14621   if test "$hard_links" = no; then
   14622     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14623 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14624     need_locks=warn
   14625   fi
   14626 else
   14627   need_locks=no
   14628 fi
   14629 
   14630 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14631 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14632 
   14633   runpath_var=
   14634   allow_undefined_flag_F77=
   14635   enable_shared_with_static_runtimes_F77=no
   14636   archive_cmds_F77=
   14637   archive_expsym_cmds_F77=
   14638   old_archive_From_new_cmds_F77=
   14639   old_archive_from_expsyms_cmds_F77=
   14640   export_dynamic_flag_spec_F77=
   14641   whole_archive_flag_spec_F77=
   14642   thread_safe_flag_spec_F77=
   14643   hardcode_libdir_flag_spec_F77=
   14644   hardcode_libdir_flag_spec_ld_F77=
   14645   hardcode_libdir_separator_F77=
   14646   hardcode_direct_F77=no
   14647   hardcode_minus_L_F77=no
   14648   hardcode_shlibpath_var_F77=unsupported
   14649   link_all_deplibs_F77=unknown
   14650   hardcode_automatic_F77=no
   14651   module_cmds_F77=
   14652   module_expsym_cmds_F77=
   14653   always_export_symbols_F77=no
   14654   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14655   # include_expsyms should be a list of space-separated symbols to be *always*
   14656   # included in the symbol list
   14657   include_expsyms_F77=
   14658   # exclude_expsyms can be an extended regexp of symbols to exclude
   14659   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14660   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14661   # as well as any symbol that contains `d'.
   14662   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14663   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14664   # platforms (ab)use it in PIC code, but their linkers get confused if
   14665   # the symbol is explicitly referenced.  Since portable code cannot
   14666   # rely on this symbol name, it's probably fine to never include it in
   14667   # preloaded symbol tables.
   14668   # Exclude shared library initialization/finalization symbols.
   14669   extract_expsyms_cmds=
   14670   # Just being paranoid about ensuring that cc_basename is set.
   14671   for cc_temp in $compiler""; do
   14672   case $cc_temp in
   14673     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14674     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14675     \-*) ;;
   14676     *) break;;
   14677   esac
   14678 done
   14679 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14680 
   14681   case $host_os in
   14682   cygwin* | mingw* | pw32*)
   14683     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14684     # When not using gcc, we currently assume that we are using
   14685     # Microsoft Visual C++.
   14686     if test "$GCC" != yes; then
   14687       with_gnu_ld=no
   14688     fi
   14689     ;;
   14690   interix*)
   14691     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14692     with_gnu_ld=yes
   14693     ;;
   14694   openbsd*)
   14695     with_gnu_ld=no
   14696     ;;
   14697   esac
   14698 
   14699   ld_shlibs_F77=yes
   14700   if test "$with_gnu_ld" = yes; then
   14701     # If archive_cmds runs LD, not CC, wlarc should be empty
   14702     wlarc='${wl}'
   14703 
   14704     # Set some defaults for GNU ld with shared library support. These
   14705     # are reset later if shared libraries are not supported. Putting them
   14706     # here allows them to be overridden if necessary.
   14707     runpath_var=LD_RUN_PATH
   14708     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14709     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14710     # ancient GNU ld didn't support --whole-archive et. al.
   14711     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14712 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14713       else
   14714   	whole_archive_flag_spec_F77=
   14715     fi
   14716     supports_anon_versioning=no
   14717     case `$LD -v 2>/dev/null` in
   14718       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14719       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14720       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14721       *\ 2.11.*) ;; # other 2.11 versions
   14722       *) supports_anon_versioning=yes ;;
   14723     esac
   14724 
   14725     # See if GNU ld supports shared libraries.
   14726     case $host_os in
   14727     aix[3-9]*)
   14728       # On AIX/PPC, the GNU linker is very broken
   14729       if test "$host_cpu" != ia64; then
   14730 	ld_shlibs_F77=no
   14731 	cat <<EOF 1>&2
   14732 
   14733 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14734 *** to be unable to reliably create shared libraries on AIX.
   14735 *** Therefore, libtool is disabling shared libraries support.  If you
   14736 *** really care for shared libraries, you may want to modify your PATH
   14737 *** so that a non-GNU linker is found, and then restart.
   14738 
   14739 EOF
   14740       fi
   14741       ;;
   14742 
   14743     amigaos*)
   14744       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)'
   14745       hardcode_libdir_flag_spec_F77='-L$libdir'
   14746       hardcode_minus_L_F77=yes
   14747 
   14748       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14749       # that the semantics of dynamic libraries on AmigaOS, at least up
   14750       # to version 4, is to share data among multiple programs linked
   14751       # with the same dynamic library.  Since this doesn't match the
   14752       # behavior of shared libraries on other platforms, we can't use
   14753       # them.
   14754       ld_shlibs_F77=no
   14755       ;;
   14756 
   14757     beos*)
   14758       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14759 	allow_undefined_flag_F77=unsupported
   14760 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14761 	# support --undefined.  This deserves some investigation.  FIXME
   14762 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14763       else
   14764 	ld_shlibs_F77=no
   14765       fi
   14766       ;;
   14767 
   14768     cygwin* | mingw* | pw32*)
   14769       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14770       # as there is no search path for DLLs.
   14771       hardcode_libdir_flag_spec_F77='-L$libdir'
   14772       allow_undefined_flag_F77=unsupported
   14773       always_export_symbols_F77=no
   14774       enable_shared_with_static_runtimes_F77=yes
   14775       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14776 
   14777       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14778         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14779 	# If the export-symbols file already is a .def file (1st line
   14780 	# is EXPORTS), use it as is; otherwise, prepend...
   14781 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14782 	  cp $export_symbols $output_objdir/$soname.def;
   14783 	else
   14784 	  echo EXPORTS > $output_objdir/$soname.def;
   14785 	  cat $export_symbols >> $output_objdir/$soname.def;
   14786 	fi~
   14787 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14788       else
   14789 	ld_shlibs_F77=no
   14790       fi
   14791       ;;
   14792 
   14793     interix[3-9]*)
   14794       hardcode_direct_F77=no
   14795       hardcode_shlibpath_var_F77=no
   14796       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14797       export_dynamic_flag_spec_F77='${wl}-E'
   14798       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14799       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14800       # default) and relocated if they conflict, which is a slow very memory
   14801       # consuming and fragmenting process.  To avoid this, we pick a random,
   14802       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14803       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14804       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'
   14805       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'
   14806       ;;
   14807 
   14808     gnu* | linux* | k*bsd*-gnu)
   14809       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14810 	tmp_addflag=
   14811 	case $cc_basename,$host_cpu in
   14812 	pgcc*)				# Portland Group C compiler
   14813 	  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'
   14814 	  tmp_addflag=' $pic_flag'
   14815 	  ;;
   14816 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14817 	  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'
   14818 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14819 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14820 	  tmp_addflag=' -i_dynamic' ;;
   14821 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14822 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14823 	ifc* | ifort*)			# Intel Fortran compiler
   14824 	  tmp_addflag=' -nofor_main' ;;
   14825 	esac
   14826 	case `$CC -V 2>&1 | sed 5q` in
   14827 	*Sun\ C*)			# Sun C 5.9
   14828 	  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'
   14829 	  tmp_sharedflag='-G' ;;
   14830 	*Sun\ F*)			# Sun Fortran 8.3
   14831 	  tmp_sharedflag='-G' ;;
   14832 	*)
   14833 	  tmp_sharedflag='-shared' ;;
   14834 	esac
   14835 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14836 
   14837 	if test $supports_anon_versioning = yes; then
   14838 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14839   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14840   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14841 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14842 	fi
   14843 	link_all_deplibs_F77=no
   14844       else
   14845 	ld_shlibs_F77=no
   14846       fi
   14847       ;;
   14848 
   14849     netbsd* | netbsdelf*-gnu)
   14850       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14851 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14852 	wlarc=
   14853       else
   14854 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14855 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14856       fi
   14857       ;;
   14858 
   14859     solaris*)
   14860       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14861 	ld_shlibs_F77=no
   14862 	cat <<EOF 1>&2
   14863 
   14864 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14865 *** create shared libraries on Solaris systems.  Therefore, libtool
   14866 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14867 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14868 *** your PATH or compiler configuration so that the native linker is
   14869 *** used, and then restart.
   14870 
   14871 EOF
   14872       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14873 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14874 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14875       else
   14876 	ld_shlibs_F77=no
   14877       fi
   14878       ;;
   14879 
   14880     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14881       case `$LD -v 2>&1` in
   14882         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14883 	ld_shlibs_F77=no
   14884 	cat <<_LT_EOF 1>&2
   14885 
   14886 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14887 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14888 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14889 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14890 *** your PATH or compiler configuration so that the native linker is
   14891 *** used, and then restart.
   14892 
   14893 _LT_EOF
   14894 	;;
   14895 	*)
   14896 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14897 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14898 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14899 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14900 	  else
   14901 	    ld_shlibs_F77=no
   14902 	  fi
   14903 	;;
   14904       esac
   14905       ;;
   14906 
   14907     sunos4*)
   14908       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14909       wlarc=
   14910       hardcode_direct_F77=yes
   14911       hardcode_shlibpath_var_F77=no
   14912       ;;
   14913 
   14914     *)
   14915       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14916 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14917 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14918       else
   14919 	ld_shlibs_F77=no
   14920       fi
   14921       ;;
   14922     esac
   14923 
   14924     if test "$ld_shlibs_F77" = no; then
   14925       runpath_var=
   14926       hardcode_libdir_flag_spec_F77=
   14927       export_dynamic_flag_spec_F77=
   14928       whole_archive_flag_spec_F77=
   14929     fi
   14930   else
   14931     # PORTME fill in a description of your system's linker (not GNU ld)
   14932     case $host_os in
   14933     aix3*)
   14934       allow_undefined_flag_F77=unsupported
   14935       always_export_symbols_F77=yes
   14936       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'
   14937       # Note: this linker hardcodes the directories in LIBPATH if there
   14938       # are no directories specified by -L.
   14939       hardcode_minus_L_F77=yes
   14940       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14941 	# Neither direct hardcoding nor static linking is supported with a
   14942 	# broken collect2.
   14943 	hardcode_direct_F77=unsupported
   14944       fi
   14945       ;;
   14946 
   14947     aix[4-9]*)
   14948       if test "$host_cpu" = ia64; then
   14949 	# On IA64, the linker does run time linking by default, so we don't
   14950 	# have to do anything special.
   14951 	aix_use_runtimelinking=no
   14952 	exp_sym_flag='-Bexport'
   14953 	no_entry_flag=""
   14954       else
   14955 	# If we're using GNU nm, then we don't want the "-C" option.
   14956 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14957 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14958 	  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'
   14959 	else
   14960 	  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'
   14961 	fi
   14962 	aix_use_runtimelinking=no
   14963 
   14964 	# Test if we are trying to use run time linking or normal
   14965 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14966 	# need to do runtime linking.
   14967 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14968 	  for ld_flag in $LDFLAGS; do
   14969   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14970   	    aix_use_runtimelinking=yes
   14971   	    break
   14972   	  fi
   14973 	  done
   14974 	  ;;
   14975 	esac
   14976 
   14977 	exp_sym_flag='-bexport'
   14978 	no_entry_flag='-bnoentry'
   14979       fi
   14980 
   14981       # When large executables or shared objects are built, AIX ld can
   14982       # have problems creating the table of contents.  If linking a library
   14983       # or program results in "error TOC overflow" add -mminimal-toc to
   14984       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14985       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14986 
   14987       archive_cmds_F77=''
   14988       hardcode_direct_F77=yes
   14989       hardcode_libdir_separator_F77=':'
   14990       link_all_deplibs_F77=yes
   14991 
   14992       if test "$GCC" = yes; then
   14993 	case $host_os in aix4.[012]|aix4.[012].*)
   14994 	# We only want to do this on AIX 4.2 and lower, the check
   14995 	# below for broken collect2 doesn't work under 4.3+
   14996 	  collect2name=`${CC} -print-prog-name=collect2`
   14997 	  if test -f "$collect2name" && \
   14998   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14999 	  then
   15000   	  # We have reworked collect2
   15001   	  :
   15002 	  else
   15003   	  # We have old collect2
   15004   	  hardcode_direct_F77=unsupported
   15005   	  # It fails to find uninstalled libraries when the uninstalled
   15006   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15007   	  # to unsupported forces relinking
   15008   	  hardcode_minus_L_F77=yes
   15009   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15010   	  hardcode_libdir_separator_F77=
   15011 	  fi
   15012 	  ;;
   15013 	esac
   15014 	shared_flag='-shared'
   15015 	if test "$aix_use_runtimelinking" = yes; then
   15016 	  shared_flag="$shared_flag "'${wl}-G'
   15017 	fi
   15018       else
   15019 	# not using gcc
   15020 	if test "$host_cpu" = ia64; then
   15021   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15022   	# chokes on -Wl,-G. The following line is correct:
   15023 	  shared_flag='-G'
   15024 	else
   15025 	  if test "$aix_use_runtimelinking" = yes; then
   15026 	    shared_flag='${wl}-G'
   15027 	  else
   15028 	    shared_flag='${wl}-bM:SRE'
   15029 	  fi
   15030 	fi
   15031       fi
   15032 
   15033       # It seems that -bexpall does not export symbols beginning with
   15034       # underscore (_), so it is better to generate a list of symbols to export.
   15035       always_export_symbols_F77=yes
   15036       if test "$aix_use_runtimelinking" = yes; then
   15037 	# Warning - without using the other runtime loading flags (-brtl),
   15038 	# -berok will link without error, but may produce a broken library.
   15039 	allow_undefined_flag_F77='-berok'
   15040        # Determine the default libpath from the value encoded in an empty executable.
   15041        cat >conftest.$ac_ext <<_ACEOF
   15042       program main
   15043 
   15044       end
   15045 _ACEOF
   15046 rm -f conftest.$ac_objext conftest$ac_exeext
   15047 if { (ac_try="$ac_link"
   15048 case "(($ac_try" in
   15049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15050   *) ac_try_echo=$ac_try;;
   15051 esac
   15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15053   (eval "$ac_link") 2>conftest.er1
   15054   ac_status=$?
   15055   grep -v '^ *+' conftest.er1 >conftest.err
   15056   rm -f conftest.er1
   15057   cat conftest.err >&5
   15058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15059   (exit $ac_status); } && {
   15060 	 test -z "$ac_f77_werror_flag" ||
   15061 	 test ! -s conftest.err
   15062        } && test -s conftest$ac_exeext &&
   15063        $as_test_x conftest$ac_exeext; then
   15064 
   15065 lt_aix_libpath_sed='
   15066     /Import File Strings/,/^$/ {
   15067 	/^0/ {
   15068 	    s/^0  *\(.*\)$/\1/
   15069 	    p
   15070 	}
   15071     }'
   15072 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15073 # Check for a 64-bit object if we didn't find anything.
   15074 if test -z "$aix_libpath"; then
   15075   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15076 fi
   15077 else
   15078   echo "$as_me: failed program was:" >&5
   15079 sed 's/^/| /' conftest.$ac_ext >&5
   15080 
   15081 
   15082 fi
   15083 
   15084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15085       conftest$ac_exeext conftest.$ac_ext
   15086 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15087 
   15088        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15089 	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"
   15090        else
   15091 	if test "$host_cpu" = ia64; then
   15092 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15093 	  allow_undefined_flag_F77="-z nodefs"
   15094 	  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"
   15095 	else
   15096 	 # Determine the default libpath from the value encoded in an empty executable.
   15097 	 cat >conftest.$ac_ext <<_ACEOF
   15098       program main
   15099 
   15100       end
   15101 _ACEOF
   15102 rm -f conftest.$ac_objext conftest$ac_exeext
   15103 if { (ac_try="$ac_link"
   15104 case "(($ac_try" in
   15105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15106   *) ac_try_echo=$ac_try;;
   15107 esac
   15108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15109   (eval "$ac_link") 2>conftest.er1
   15110   ac_status=$?
   15111   grep -v '^ *+' conftest.er1 >conftest.err
   15112   rm -f conftest.er1
   15113   cat conftest.err >&5
   15114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15115   (exit $ac_status); } && {
   15116 	 test -z "$ac_f77_werror_flag" ||
   15117 	 test ! -s conftest.err
   15118        } && test -s conftest$ac_exeext &&
   15119        $as_test_x conftest$ac_exeext; then
   15120 
   15121 lt_aix_libpath_sed='
   15122     /Import File Strings/,/^$/ {
   15123 	/^0/ {
   15124 	    s/^0  *\(.*\)$/\1/
   15125 	    p
   15126 	}
   15127     }'
   15128 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15129 # Check for a 64-bit object if we didn't find anything.
   15130 if test -z "$aix_libpath"; then
   15131   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15132 fi
   15133 else
   15134   echo "$as_me: failed program was:" >&5
   15135 sed 's/^/| /' conftest.$ac_ext >&5
   15136 
   15137 
   15138 fi
   15139 
   15140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15141       conftest$ac_exeext conftest.$ac_ext
   15142 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15143 
   15144 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15145 	  # Warning - without using the other run time loading flags,
   15146 	  # -berok will link without error, but may produce a broken library.
   15147 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15148 	  allow_undefined_flag_F77=' ${wl}-berok'
   15149 	  # Exported symbols can be pulled into shared objects from archives
   15150 	  whole_archive_flag_spec_F77='$convenience'
   15151 	  archive_cmds_need_lc_F77=yes
   15152 	  # This is similar to how AIX traditionally builds its shared libraries.
   15153 	  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'
   15154 	fi
   15155       fi
   15156       ;;
   15157 
   15158     amigaos*)
   15159       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)'
   15160       hardcode_libdir_flag_spec_F77='-L$libdir'
   15161       hardcode_minus_L_F77=yes
   15162       # see comment about different semantics on the GNU ld section
   15163       ld_shlibs_F77=no
   15164       ;;
   15165 
   15166     bsdi[45]*)
   15167       export_dynamic_flag_spec_F77=-rdynamic
   15168       ;;
   15169 
   15170     cygwin* | mingw* | pw32*)
   15171       # When not using gcc, we currently assume that we are using
   15172       # Microsoft Visual C++.
   15173       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15174       # no search path for DLLs.
   15175       hardcode_libdir_flag_spec_F77=' '
   15176       allow_undefined_flag_F77=unsupported
   15177       # Tell ltmain to make .lib files, not .a files.
   15178       libext=lib
   15179       # Tell ltmain to make .dll files, not .so files.
   15180       shrext_cmds=".dll"
   15181       # FIXME: Setting linknames here is a bad hack.
   15182       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15183       # The linker will automatically build a .lib file if we build a DLL.
   15184       old_archive_From_new_cmds_F77='true'
   15185       # FIXME: Should let the user specify the lib program.
   15186       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15187       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15188       enable_shared_with_static_runtimes_F77=yes
   15189       ;;
   15190 
   15191     darwin* | rhapsody*)
   15192       case $host_os in
   15193         rhapsody* | darwin1.[012])
   15194          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15195          ;;
   15196        *) # Darwin 1.3 on
   15197          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15198            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15199          else
   15200            case ${MACOSX_DEPLOYMENT_TARGET} in
   15201              10.[012])
   15202                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15203                ;;
   15204              10.*)
   15205                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15206                ;;
   15207            esac
   15208          fi
   15209          ;;
   15210       esac
   15211       archive_cmds_need_lc_F77=no
   15212       hardcode_direct_F77=no
   15213       hardcode_automatic_F77=yes
   15214       hardcode_shlibpath_var_F77=unsupported
   15215       whole_archive_flag_spec_F77=''
   15216       link_all_deplibs_F77=yes
   15217     if test "$GCC" = yes ; then
   15218     	output_verbose_link_cmd='echo'
   15219         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}"
   15220         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15221         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}"
   15222         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}"
   15223     else
   15224       case $cc_basename in
   15225         xlc*)
   15226          output_verbose_link_cmd='echo'
   15227          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15228          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15229           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15230          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}'
   15231           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}'
   15232           ;;
   15233        *)
   15234          ld_shlibs_F77=no
   15235           ;;
   15236       esac
   15237     fi
   15238       ;;
   15239 
   15240     dgux*)
   15241       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15242       hardcode_libdir_flag_spec_F77='-L$libdir'
   15243       hardcode_shlibpath_var_F77=no
   15244       ;;
   15245 
   15246     freebsd1*)
   15247       ld_shlibs_F77=no
   15248       ;;
   15249 
   15250     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15251     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15252     # does not break anything, and helps significantly (at the cost of a little
   15253     # extra space).
   15254     freebsd2.2*)
   15255       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15256       hardcode_libdir_flag_spec_F77='-R$libdir'
   15257       hardcode_direct_F77=yes
   15258       hardcode_shlibpath_var_F77=no
   15259       ;;
   15260 
   15261     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15262     freebsd2*)
   15263       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15264       hardcode_direct_F77=yes
   15265       hardcode_minus_L_F77=yes
   15266       hardcode_shlibpath_var_F77=no
   15267       ;;
   15268 
   15269     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15270     freebsd* | dragonfly*)
   15271       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15272       hardcode_libdir_flag_spec_F77='-R$libdir'
   15273       hardcode_direct_F77=yes
   15274       hardcode_shlibpath_var_F77=no
   15275       ;;
   15276 
   15277     hpux9*)
   15278       if test "$GCC" = yes; then
   15279 	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'
   15280       else
   15281 	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'
   15282       fi
   15283       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15284       hardcode_libdir_separator_F77=:
   15285       hardcode_direct_F77=yes
   15286 
   15287       # hardcode_minus_L: Not really in the search PATH,
   15288       # but as the default location of the library.
   15289       hardcode_minus_L_F77=yes
   15290       export_dynamic_flag_spec_F77='${wl}-E'
   15291       ;;
   15292 
   15293     hpux10*)
   15294       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15295 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15296       else
   15297 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15298       fi
   15299       if test "$with_gnu_ld" = no; then
   15300 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15301 	hardcode_libdir_separator_F77=:
   15302 
   15303 	hardcode_direct_F77=yes
   15304 	export_dynamic_flag_spec_F77='${wl}-E'
   15305 
   15306 	# hardcode_minus_L: Not really in the search PATH,
   15307 	# but as the default location of the library.
   15308 	hardcode_minus_L_F77=yes
   15309       fi
   15310       ;;
   15311 
   15312     hpux11*)
   15313       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15314 	case $host_cpu in
   15315 	hppa*64*)
   15316 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15317 	  ;;
   15318 	ia64*)
   15319 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15320 	  ;;
   15321 	*)
   15322 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15323 	  ;;
   15324 	esac
   15325       else
   15326 	case $host_cpu in
   15327 	hppa*64*)
   15328 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15329 	  ;;
   15330 	ia64*)
   15331 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15332 	  ;;
   15333 	*)
   15334 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15335 	  ;;
   15336 	esac
   15337       fi
   15338       if test "$with_gnu_ld" = no; then
   15339 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15340 	hardcode_libdir_separator_F77=:
   15341 
   15342 	case $host_cpu in
   15343 	hppa*64*|ia64*)
   15344 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15345 	  hardcode_direct_F77=no
   15346 	  hardcode_shlibpath_var_F77=no
   15347 	  ;;
   15348 	*)
   15349 	  hardcode_direct_F77=yes
   15350 	  export_dynamic_flag_spec_F77='${wl}-E'
   15351 
   15352 	  # hardcode_minus_L: Not really in the search PATH,
   15353 	  # but as the default location of the library.
   15354 	  hardcode_minus_L_F77=yes
   15355 	  ;;
   15356 	esac
   15357       fi
   15358       ;;
   15359 
   15360     irix5* | irix6* | nonstopux*)
   15361       if test "$GCC" = yes; then
   15362 	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'
   15363       else
   15364 	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'
   15365 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15366       fi
   15367       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15368       hardcode_libdir_separator_F77=:
   15369       link_all_deplibs_F77=yes
   15370       ;;
   15371 
   15372     netbsd* | netbsdelf*-gnu)
   15373       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15374 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15375       else
   15376 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15377       fi
   15378       hardcode_libdir_flag_spec_F77='-R$libdir'
   15379       hardcode_direct_F77=yes
   15380       hardcode_shlibpath_var_F77=no
   15381       ;;
   15382 
   15383     newsos6)
   15384       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15385       hardcode_direct_F77=yes
   15386       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15387       hardcode_libdir_separator_F77=:
   15388       hardcode_shlibpath_var_F77=no
   15389       ;;
   15390 
   15391     openbsd*)
   15392       if test -f /usr/libexec/ld.so; then
   15393 	hardcode_direct_F77=yes
   15394 	hardcode_shlibpath_var_F77=no
   15395 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15396 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15397 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15398 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15399 	  export_dynamic_flag_spec_F77='${wl}-E'
   15400 	else
   15401 	  case $host_os in
   15402 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15403 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15404 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15405 	     ;;
   15406 	   *)
   15407 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15408 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15409 	     ;;
   15410 	  esac
   15411         fi
   15412       else
   15413 	ld_shlibs_F77=no
   15414       fi
   15415       ;;
   15416 
   15417     os2*)
   15418       hardcode_libdir_flag_spec_F77='-L$libdir'
   15419       hardcode_minus_L_F77=yes
   15420       allow_undefined_flag_F77=unsupported
   15421       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'
   15422       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15423       ;;
   15424 
   15425     osf3*)
   15426       if test "$GCC" = yes; then
   15427 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15428 	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'
   15429       else
   15430 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15431 	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'
   15432       fi
   15433       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15434       hardcode_libdir_separator_F77=:
   15435       ;;
   15436 
   15437     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15438       if test "$GCC" = yes; then
   15439 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15440 	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'
   15441 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15442       else
   15443 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15444 	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'
   15445 	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~
   15446 	$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'
   15447 
   15448 	# Both c and cxx compiler support -rpath directly
   15449 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15450       fi
   15451       hardcode_libdir_separator_F77=:
   15452       ;;
   15453 
   15454     solaris*)
   15455       no_undefined_flag_F77=' -z text'
   15456       if test "$GCC" = yes; then
   15457 	wlarc='${wl}'
   15458 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15459 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15460 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15461       else
   15462 	wlarc=''
   15463 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15464 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15465   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15466       fi
   15467       hardcode_libdir_flag_spec_F77='-R$libdir'
   15468       hardcode_shlibpath_var_F77=no
   15469       case $host_os in
   15470       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15471       *)
   15472 	# The compiler driver will combine and reorder linker options,
   15473 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15474 	# but is careful enough not to reorder.
   15475  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15476 	if test "$GCC" = yes; then
   15477 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15478 	else
   15479 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15480 	fi
   15481 	;;
   15482       esac
   15483       link_all_deplibs_F77=yes
   15484       ;;
   15485 
   15486     sunos4*)
   15487       if test "x$host_vendor" = xsequent; then
   15488 	# Use $CC to link under sequent, because it throws in some extra .o
   15489 	# files that make .init and .fini sections work.
   15490 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15491       else
   15492 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15493       fi
   15494       hardcode_libdir_flag_spec_F77='-L$libdir'
   15495       hardcode_direct_F77=yes
   15496       hardcode_minus_L_F77=yes
   15497       hardcode_shlibpath_var_F77=no
   15498       ;;
   15499 
   15500     sysv4)
   15501       case $host_vendor in
   15502 	sni)
   15503 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15504 	  hardcode_direct_F77=yes # is this really true???
   15505 	;;
   15506 	siemens)
   15507 	  ## LD is ld it makes a PLAMLIB
   15508 	  ## CC just makes a GrossModule.
   15509 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15510 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15511 	  hardcode_direct_F77=no
   15512         ;;
   15513 	motorola)
   15514 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15515 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15516 	;;
   15517       esac
   15518       runpath_var='LD_RUN_PATH'
   15519       hardcode_shlibpath_var_F77=no
   15520       ;;
   15521 
   15522     sysv4.3*)
   15523       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15524       hardcode_shlibpath_var_F77=no
   15525       export_dynamic_flag_spec_F77='-Bexport'
   15526       ;;
   15527 
   15528     sysv4*MP*)
   15529       if test -d /usr/nec; then
   15530 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15531 	hardcode_shlibpath_var_F77=no
   15532 	runpath_var=LD_RUN_PATH
   15533 	hardcode_runpath_var=yes
   15534 	ld_shlibs_F77=yes
   15535       fi
   15536       ;;
   15537 
   15538     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15539       no_undefined_flag_F77='${wl}-z,text'
   15540       archive_cmds_need_lc_F77=no
   15541       hardcode_shlibpath_var_F77=no
   15542       runpath_var='LD_RUN_PATH'
   15543 
   15544       if test "$GCC" = yes; then
   15545 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15546 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15547       else
   15548 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15549 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15550       fi
   15551       ;;
   15552 
   15553     sysv5* | sco3.2v5* | sco5v6*)
   15554       # Note: We can NOT use -z defs as we might desire, because we do not
   15555       # link with -lc, and that would cause any symbols used from libc to
   15556       # always be unresolved, which means just about no library would
   15557       # ever link correctly.  If we're not using GNU ld we use -z text
   15558       # though, which does catch some bad symbols but isn't as heavy-handed
   15559       # as -z defs.
   15560       no_undefined_flag_F77='${wl}-z,text'
   15561       allow_undefined_flag_F77='${wl}-z,nodefs'
   15562       archive_cmds_need_lc_F77=no
   15563       hardcode_shlibpath_var_F77=no
   15564       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15565       hardcode_libdir_separator_F77=':'
   15566       link_all_deplibs_F77=yes
   15567       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15568       runpath_var='LD_RUN_PATH'
   15569 
   15570       if test "$GCC" = yes; then
   15571 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15572 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15573       else
   15574 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15575 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15576       fi
   15577       ;;
   15578 
   15579     uts4*)
   15580       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15581       hardcode_libdir_flag_spec_F77='-L$libdir'
   15582       hardcode_shlibpath_var_F77=no
   15583       ;;
   15584 
   15585     *)
   15586       ld_shlibs_F77=no
   15587       ;;
   15588     esac
   15589   fi
   15590 
   15591 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15592 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15593 test "$ld_shlibs_F77" = no && can_build_shared=no
   15594 
   15595 #
   15596 # Do we need to explicitly link libc?
   15597 #
   15598 case "x$archive_cmds_need_lc_F77" in
   15599 x|xyes)
   15600   # Assume -lc should be added
   15601   archive_cmds_need_lc_F77=yes
   15602 
   15603   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15604     case $archive_cmds_F77 in
   15605     *'~'*)
   15606       # FIXME: we may have to deal with multi-command sequences.
   15607       ;;
   15608     '$CC '*)
   15609       # Test whether the compiler implicitly links with -lc since on some
   15610       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15611       # to ld, don't add -lc before -lgcc.
   15612       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15613 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15614       $rm conftest*
   15615       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15616 
   15617       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15618   (eval $ac_compile) 2>&5
   15619   ac_status=$?
   15620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15621   (exit $ac_status); } 2>conftest.err; then
   15622         soname=conftest
   15623         lib=conftest
   15624         libobjs=conftest.$ac_objext
   15625         deplibs=
   15626         wl=$lt_prog_compiler_wl_F77
   15627 	pic_flag=$lt_prog_compiler_pic_F77
   15628         compiler_flags=-v
   15629         linker_flags=-v
   15630         verstring=
   15631         output_objdir=.
   15632         libname=conftest
   15633         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15634         allow_undefined_flag_F77=
   15635         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15636   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15637   ac_status=$?
   15638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15639   (exit $ac_status); }
   15640         then
   15641 	  archive_cmds_need_lc_F77=no
   15642         else
   15643 	  archive_cmds_need_lc_F77=yes
   15644         fi
   15645         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15646       else
   15647         cat conftest.err 1>&5
   15648       fi
   15649       $rm conftest*
   15650       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15651 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15652       ;;
   15653     esac
   15654   fi
   15655   ;;
   15656 esac
   15657 
   15658 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15659 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15660 library_names_spec=
   15661 libname_spec='lib$name'
   15662 soname_spec=
   15663 shrext_cmds=".so"
   15664 postinstall_cmds=
   15665 postuninstall_cmds=
   15666 finish_cmds=
   15667 finish_eval=
   15668 shlibpath_var=
   15669 shlibpath_overrides_runpath=unknown
   15670 version_type=none
   15671 dynamic_linker="$host_os ld.so"
   15672 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15673 
   15674 need_lib_prefix=unknown
   15675 hardcode_into_libs=no
   15676 
   15677 # when you set need_version to no, make sure it does not cause -set_version
   15678 # flags to be left without arguments
   15679 need_version=unknown
   15680 
   15681 case $host_os in
   15682 aix3*)
   15683   version_type=linux
   15684   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15685   shlibpath_var=LIBPATH
   15686 
   15687   # AIX 3 has no versioning support, so we append a major version to the name.
   15688   soname_spec='${libname}${release}${shared_ext}$major'
   15689   ;;
   15690 
   15691 aix[4-9]*)
   15692   version_type=linux
   15693   need_lib_prefix=no
   15694   need_version=no
   15695   hardcode_into_libs=yes
   15696   if test "$host_cpu" = ia64; then
   15697     # AIX 5 supports IA64
   15698     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15699     shlibpath_var=LD_LIBRARY_PATH
   15700   else
   15701     # With GCC up to 2.95.x, collect2 would create an import file
   15702     # for dependence libraries.  The import file would start with
   15703     # the line `#! .'.  This would cause the generated library to
   15704     # depend on `.', always an invalid library.  This was fixed in
   15705     # development snapshots of GCC prior to 3.0.
   15706     case $host_os in
   15707       aix4 | aix4.[01] | aix4.[01].*)
   15708       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15709 	   echo ' yes '
   15710 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15711 	:
   15712       else
   15713 	can_build_shared=no
   15714       fi
   15715       ;;
   15716     esac
   15717     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15718     # soname into executable. Probably we can add versioning support to
   15719     # collect2, so additional links can be useful in future.
   15720     if test "$aix_use_runtimelinking" = yes; then
   15721       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15722       # instead of lib<name>.a to let people know that these are not
   15723       # typical AIX shared libraries.
   15724       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15725     else
   15726       # We preserve .a as extension for shared libraries through AIX4.2
   15727       # and later when we are not doing run time linking.
   15728       library_names_spec='${libname}${release}.a $libname.a'
   15729       soname_spec='${libname}${release}${shared_ext}$major'
   15730     fi
   15731     shlibpath_var=LIBPATH
   15732   fi
   15733   ;;
   15734 
   15735 amigaos*)
   15736   library_names_spec='$libname.ixlibrary $libname.a'
   15737   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15738   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'
   15739   ;;
   15740 
   15741 beos*)
   15742   library_names_spec='${libname}${shared_ext}'
   15743   dynamic_linker="$host_os ld.so"
   15744   shlibpath_var=LIBRARY_PATH
   15745   ;;
   15746 
   15747 bsdi[45]*)
   15748   version_type=linux
   15749   need_version=no
   15750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15751   soname_spec='${libname}${release}${shared_ext}$major'
   15752   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15753   shlibpath_var=LD_LIBRARY_PATH
   15754   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15755   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15756   # the default ld.so.conf also contains /usr/contrib/lib and
   15757   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15758   # libtool to hard-code these into programs
   15759   ;;
   15760 
   15761 cygwin* | mingw* | pw32*)
   15762   version_type=windows
   15763   shrext_cmds=".dll"
   15764   need_version=no
   15765   need_lib_prefix=no
   15766 
   15767   case $GCC,$host_os in
   15768   yes,cygwin* | yes,mingw* | yes,pw32*)
   15769     library_names_spec='$libname.dll.a'
   15770     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15771     postinstall_cmds='base_file=`basename \${file}`~
   15772       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15773       dldir=$destdir/`dirname \$dlpath`~
   15774       test -d \$dldir || mkdir -p \$dldir~
   15775       $install_prog $dir/$dlname \$dldir/$dlname~
   15776       chmod a+x \$dldir/$dlname'
   15777     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15778       dlpath=$dir/\$dldll~
   15779        $rm \$dlpath'
   15780     shlibpath_overrides_runpath=yes
   15781 
   15782     case $host_os in
   15783     cygwin*)
   15784       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15785       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15786       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15787       ;;
   15788     mingw*)
   15789       # MinGW DLLs use traditional 'lib' prefix
   15790       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15791       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15792       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15793         # It is most probably a Windows format PATH printed by
   15794         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15795         # path with ; separators, and with drive letters. We can handle the
   15796         # drive letters (cygwin fileutils understands them), so leave them,
   15797         # especially as we might pass files found there to a mingw objdump,
   15798         # which wouldn't understand a cygwinified path. Ahh.
   15799         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15800       else
   15801         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15802       fi
   15803       ;;
   15804     pw32*)
   15805       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15806       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15807       ;;
   15808     esac
   15809     ;;
   15810 
   15811   *)
   15812     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15813     ;;
   15814   esac
   15815   dynamic_linker='Win32 ld.exe'
   15816   # FIXME: first we should search . and the directory the executable is in
   15817   shlibpath_var=PATH
   15818   ;;
   15819 
   15820 darwin* | rhapsody*)
   15821   dynamic_linker="$host_os dyld"
   15822   version_type=darwin
   15823   need_lib_prefix=no
   15824   need_version=no
   15825   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15826   soname_spec='${libname}${release}${major}$shared_ext'
   15827   shlibpath_overrides_runpath=yes
   15828   shlibpath_var=DYLD_LIBRARY_PATH
   15829   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15830 
   15831   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15832   ;;
   15833 
   15834 dgux*)
   15835   version_type=linux
   15836   need_lib_prefix=no
   15837   need_version=no
   15838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15839   soname_spec='${libname}${release}${shared_ext}$major'
   15840   shlibpath_var=LD_LIBRARY_PATH
   15841   ;;
   15842 
   15843 freebsd1*)
   15844   dynamic_linker=no
   15845   ;;
   15846 
   15847 freebsd* | dragonfly*)
   15848   # DragonFly does not have aout.  When/if they implement a new
   15849   # versioning mechanism, adjust this.
   15850   if test -x /usr/bin/objformat; then
   15851     objformat=`/usr/bin/objformat`
   15852   else
   15853     case $host_os in
   15854     freebsd[123]*) objformat=aout ;;
   15855     *) objformat=elf ;;
   15856     esac
   15857   fi
   15858   version_type=freebsd-$objformat
   15859   case $version_type in
   15860     freebsd-elf*)
   15861       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15862       need_version=no
   15863       need_lib_prefix=no
   15864       ;;
   15865     freebsd-*)
   15866       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15867       need_version=yes
   15868       ;;
   15869   esac
   15870   shlibpath_var=LD_LIBRARY_PATH
   15871   case $host_os in
   15872   freebsd2*)
   15873     shlibpath_overrides_runpath=yes
   15874     ;;
   15875   freebsd3.[01]* | freebsdelf3.[01]*)
   15876     shlibpath_overrides_runpath=yes
   15877     hardcode_into_libs=yes
   15878     ;;
   15879   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15880   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15881     shlibpath_overrides_runpath=no
   15882     hardcode_into_libs=yes
   15883     ;;
   15884   *) # from 4.6 on, and DragonFly
   15885     shlibpath_overrides_runpath=yes
   15886     hardcode_into_libs=yes
   15887     ;;
   15888   esac
   15889   ;;
   15890 
   15891 gnu*)
   15892   version_type=linux
   15893   need_lib_prefix=no
   15894   need_version=no
   15895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15896   soname_spec='${libname}${release}${shared_ext}$major'
   15897   shlibpath_var=LD_LIBRARY_PATH
   15898   hardcode_into_libs=yes
   15899   ;;
   15900 
   15901 hpux9* | hpux10* | hpux11*)
   15902   # Give a soname corresponding to the major version so that dld.sl refuses to
   15903   # link against other versions.
   15904   version_type=sunos
   15905   need_lib_prefix=no
   15906   need_version=no
   15907   case $host_cpu in
   15908   ia64*)
   15909     shrext_cmds='.so'
   15910     hardcode_into_libs=yes
   15911     dynamic_linker="$host_os dld.so"
   15912     shlibpath_var=LD_LIBRARY_PATH
   15913     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15914     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15915     soname_spec='${libname}${release}${shared_ext}$major'
   15916     if test "X$HPUX_IA64_MODE" = X32; then
   15917       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15918     else
   15919       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15920     fi
   15921     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15922     ;;
   15923    hppa*64*)
   15924      shrext_cmds='.sl'
   15925      hardcode_into_libs=yes
   15926      dynamic_linker="$host_os dld.sl"
   15927      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15928      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15929      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15930      soname_spec='${libname}${release}${shared_ext}$major'
   15931      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15932      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15933      ;;
   15934    *)
   15935     shrext_cmds='.sl'
   15936     dynamic_linker="$host_os dld.sl"
   15937     shlibpath_var=SHLIB_PATH
   15938     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15939     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15940     soname_spec='${libname}${release}${shared_ext}$major'
   15941     ;;
   15942   esac
   15943   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15944   postinstall_cmds='chmod 555 $lib'
   15945   ;;
   15946 
   15947 interix[3-9]*)
   15948   version_type=linux
   15949   need_lib_prefix=no
   15950   need_version=no
   15951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15952   soname_spec='${libname}${release}${shared_ext}$major'
   15953   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15954   shlibpath_var=LD_LIBRARY_PATH
   15955   shlibpath_overrides_runpath=no
   15956   hardcode_into_libs=yes
   15957   ;;
   15958 
   15959 irix5* | irix6* | nonstopux*)
   15960   case $host_os in
   15961     nonstopux*) version_type=nonstopux ;;
   15962     *)
   15963 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15964 		version_type=linux
   15965 	else
   15966 		version_type=irix
   15967 	fi ;;
   15968   esac
   15969   need_lib_prefix=no
   15970   need_version=no
   15971   soname_spec='${libname}${release}${shared_ext}$major'
   15972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15973   case $host_os in
   15974   irix5* | nonstopux*)
   15975     libsuff= shlibsuff=
   15976     ;;
   15977   *)
   15978     case $LD in # libtool.m4 will add one of these switches to LD
   15979     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15980       libsuff= shlibsuff= libmagic=32-bit;;
   15981     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15982       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15983     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15984       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15985     *) libsuff= shlibsuff= libmagic=never-match;;
   15986     esac
   15987     ;;
   15988   esac
   15989   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15990   shlibpath_overrides_runpath=no
   15991   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15992   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15993   hardcode_into_libs=yes
   15994   ;;
   15995 
   15996 # No shared lib support for Linux oldld, aout, or coff.
   15997 linux*oldld* | linux*aout* | linux*coff*)
   15998   dynamic_linker=no
   15999   ;;
   16000 
   16001 # This must be Linux ELF.
   16002 linux* | k*bsd*-gnu)
   16003   version_type=linux
   16004   need_lib_prefix=no
   16005   need_version=no
   16006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16007   soname_spec='${libname}${release}${shared_ext}$major'
   16008   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16009   shlibpath_var=LD_LIBRARY_PATH
   16010   shlibpath_overrides_runpath=no
   16011   # This implies no fast_install, which is unacceptable.
   16012   # Some rework will be needed to allow for fast_install
   16013   # before this can be enabled.
   16014   hardcode_into_libs=yes
   16015 
   16016   # Append ld.so.conf contents to the search path
   16017   if test -f /etc/ld.so.conf; then
   16018     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' ' '`
   16019     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16020   fi
   16021 
   16022   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16023   # powerpc, because MkLinux only supported shared libraries with the
   16024   # GNU dynamic linker.  Since this was broken with cross compilers,
   16025   # most powerpc-linux boxes support dynamic linking these days and
   16026   # people can always --disable-shared, the test was removed, and we
   16027   # assume the GNU/Linux dynamic linker is in use.
   16028   dynamic_linker='GNU/Linux ld.so'
   16029   ;;
   16030 
   16031 netbsdelf*-gnu)
   16032   version_type=linux
   16033   need_lib_prefix=no
   16034   need_version=no
   16035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16036   soname_spec='${libname}${release}${shared_ext}$major'
   16037   shlibpath_var=LD_LIBRARY_PATH
   16038   shlibpath_overrides_runpath=no
   16039   hardcode_into_libs=yes
   16040   dynamic_linker='NetBSD ld.elf_so'
   16041   ;;
   16042 
   16043 netbsd*)
   16044   version_type=sunos
   16045   need_lib_prefix=no
   16046   need_version=no
   16047   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16048     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16049     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16050     dynamic_linker='NetBSD (a.out) ld.so'
   16051   else
   16052     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16053     soname_spec='${libname}${release}${shared_ext}$major'
   16054     dynamic_linker='NetBSD ld.elf_so'
   16055   fi
   16056   shlibpath_var=LD_LIBRARY_PATH
   16057   shlibpath_overrides_runpath=yes
   16058   hardcode_into_libs=yes
   16059   ;;
   16060 
   16061 newsos6)
   16062   version_type=linux
   16063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16064   shlibpath_var=LD_LIBRARY_PATH
   16065   shlibpath_overrides_runpath=yes
   16066   ;;
   16067 
   16068 nto-qnx*)
   16069   version_type=linux
   16070   need_lib_prefix=no
   16071   need_version=no
   16072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16073   soname_spec='${libname}${release}${shared_ext}$major'
   16074   shlibpath_var=LD_LIBRARY_PATH
   16075   shlibpath_overrides_runpath=yes
   16076   ;;
   16077 
   16078 openbsd*)
   16079   version_type=sunos
   16080   sys_lib_dlsearch_path_spec="/usr/lib"
   16081   need_lib_prefix=no
   16082   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16083   case $host_os in
   16084     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16085     *)                         need_version=no  ;;
   16086   esac
   16087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16088   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16089   shlibpath_var=LD_LIBRARY_PATH
   16090   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16091     case $host_os in
   16092       openbsd2.[89] | openbsd2.[89].*)
   16093 	shlibpath_overrides_runpath=no
   16094 	;;
   16095       *)
   16096 	shlibpath_overrides_runpath=yes
   16097 	;;
   16098       esac
   16099   else
   16100     shlibpath_overrides_runpath=yes
   16101   fi
   16102   ;;
   16103 
   16104 os2*)
   16105   libname_spec='$name'
   16106   shrext_cmds=".dll"
   16107   need_lib_prefix=no
   16108   library_names_spec='$libname${shared_ext} $libname.a'
   16109   dynamic_linker='OS/2 ld.exe'
   16110   shlibpath_var=LIBPATH
   16111   ;;
   16112 
   16113 osf3* | osf4* | osf5*)
   16114   version_type=osf
   16115   need_lib_prefix=no
   16116   need_version=no
   16117   soname_spec='${libname}${release}${shared_ext}$major'
   16118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16119   shlibpath_var=LD_LIBRARY_PATH
   16120   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16121   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16122   ;;
   16123 
   16124 rdos*)
   16125   dynamic_linker=no
   16126   ;;
   16127 
   16128 solaris*)
   16129   version_type=linux
   16130   need_lib_prefix=no
   16131   need_version=no
   16132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16133   soname_spec='${libname}${release}${shared_ext}$major'
   16134   shlibpath_var=LD_LIBRARY_PATH
   16135   shlibpath_overrides_runpath=yes
   16136   hardcode_into_libs=yes
   16137   # ldd complains unless libraries are executable
   16138   postinstall_cmds='chmod +x $lib'
   16139   ;;
   16140 
   16141 sunos4*)
   16142   version_type=sunos
   16143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16144   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16145   shlibpath_var=LD_LIBRARY_PATH
   16146   shlibpath_overrides_runpath=yes
   16147   if test "$with_gnu_ld" = yes; then
   16148     need_lib_prefix=no
   16149   fi
   16150   need_version=yes
   16151   ;;
   16152 
   16153 sysv4 | sysv4.3*)
   16154   version_type=linux
   16155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16156   soname_spec='${libname}${release}${shared_ext}$major'
   16157   shlibpath_var=LD_LIBRARY_PATH
   16158   case $host_vendor in
   16159     sni)
   16160       shlibpath_overrides_runpath=no
   16161       need_lib_prefix=no
   16162       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16163       runpath_var=LD_RUN_PATH
   16164       ;;
   16165     siemens)
   16166       need_lib_prefix=no
   16167       ;;
   16168     motorola)
   16169       need_lib_prefix=no
   16170       need_version=no
   16171       shlibpath_overrides_runpath=no
   16172       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16173       ;;
   16174   esac
   16175   ;;
   16176 
   16177 sysv4*MP*)
   16178   if test -d /usr/nec ;then
   16179     version_type=linux
   16180     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16181     soname_spec='$libname${shared_ext}.$major'
   16182     shlibpath_var=LD_LIBRARY_PATH
   16183   fi
   16184   ;;
   16185 
   16186 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16187   version_type=freebsd-elf
   16188   need_lib_prefix=no
   16189   need_version=no
   16190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16191   soname_spec='${libname}${release}${shared_ext}$major'
   16192   shlibpath_var=LD_LIBRARY_PATH
   16193   hardcode_into_libs=yes
   16194   if test "$with_gnu_ld" = yes; then
   16195     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16196     shlibpath_overrides_runpath=no
   16197   else
   16198     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16199     shlibpath_overrides_runpath=yes
   16200     case $host_os in
   16201       sco3.2v5*)
   16202         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16203 	;;
   16204     esac
   16205   fi
   16206   sys_lib_dlsearch_path_spec='/usr/lib'
   16207   ;;
   16208 
   16209 uts4*)
   16210   version_type=linux
   16211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16212   soname_spec='${libname}${release}${shared_ext}$major'
   16213   shlibpath_var=LD_LIBRARY_PATH
   16214   ;;
   16215 
   16216 *)
   16217   dynamic_linker=no
   16218   ;;
   16219 esac
   16220 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16221 echo "${ECHO_T}$dynamic_linker" >&6; }
   16222 test "$dynamic_linker" = no && can_build_shared=no
   16223 
   16224 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16225   echo $ECHO_N "(cached) $ECHO_C" >&6
   16226 else
   16227   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16228 fi
   16229 
   16230 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16231 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16232   echo $ECHO_N "(cached) $ECHO_C" >&6
   16233 else
   16234   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16235 fi
   16236 
   16237 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16238 
   16239 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16240 if test "$GCC" = yes; then
   16241   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16242 fi
   16243 
   16244 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16245 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16246 hardcode_action_F77=
   16247 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16248    test -n "$runpath_var_F77" || \
   16249    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16250 
   16251   # We can hardcode non-existant directories.
   16252   if test "$hardcode_direct_F77" != no &&
   16253      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16254      # have to relink, otherwise we might link with an installed library
   16255      # when we should be linking with a yet-to-be-installed one
   16256      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16257      test "$hardcode_minus_L_F77" != no; then
   16258     # Linking always hardcodes the temporary library directory.
   16259     hardcode_action_F77=relink
   16260   else
   16261     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16262     hardcode_action_F77=immediate
   16263   fi
   16264 else
   16265   # We cannot hardcode anything, or else we can only hardcode existing
   16266   # directories.
   16267   hardcode_action_F77=unsupported
   16268 fi
   16269 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16270 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16271 
   16272 if test "$hardcode_action_F77" = relink; then
   16273   # Fast installation is not supported
   16274   enable_fast_install=no
   16275 elif test "$shlibpath_overrides_runpath" = yes ||
   16276      test "$enable_shared" = no; then
   16277   # Fast installation is not necessary
   16278   enable_fast_install=needless
   16279 fi
   16280 
   16281 
   16282 # The else clause should only fire when bootstrapping the
   16283 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16284 # with your package, and you will get complaints that there are
   16285 # no rules to generate ltmain.sh.
   16286 if test -f "$ltmain"; then
   16287   # See if we are running on zsh, and set the options which allow our commands through
   16288   # without removal of \ escapes.
   16289   if test -n "${ZSH_VERSION+set}" ; then
   16290     setopt NO_GLOB_SUBST
   16291   fi
   16292   # Now quote all the things that may contain metacharacters while being
   16293   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16294   # variables and quote the copies for generation of the libtool script.
   16295   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16296     SED SHELL STRIP \
   16297     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16298     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16299     deplibs_check_method reload_flag reload_cmds need_locks \
   16300     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16301     lt_cv_sys_global_symbol_to_c_name_address \
   16302     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16303     old_postinstall_cmds old_postuninstall_cmds \
   16304     compiler_F77 \
   16305     CC_F77 \
   16306     LD_F77 \
   16307     lt_prog_compiler_wl_F77 \
   16308     lt_prog_compiler_pic_F77 \
   16309     lt_prog_compiler_static_F77 \
   16310     lt_prog_compiler_no_builtin_flag_F77 \
   16311     export_dynamic_flag_spec_F77 \
   16312     thread_safe_flag_spec_F77 \
   16313     whole_archive_flag_spec_F77 \
   16314     enable_shared_with_static_runtimes_F77 \
   16315     old_archive_cmds_F77 \
   16316     old_archive_from_new_cmds_F77 \
   16317     predep_objects_F77 \
   16318     postdep_objects_F77 \
   16319     predeps_F77 \
   16320     postdeps_F77 \
   16321     compiler_lib_search_path_F77 \
   16322     compiler_lib_search_dirs_F77 \
   16323     archive_cmds_F77 \
   16324     archive_expsym_cmds_F77 \
   16325     postinstall_cmds_F77 \
   16326     postuninstall_cmds_F77 \
   16327     old_archive_from_expsyms_cmds_F77 \
   16328     allow_undefined_flag_F77 \
   16329     no_undefined_flag_F77 \
   16330     export_symbols_cmds_F77 \
   16331     hardcode_libdir_flag_spec_F77 \
   16332     hardcode_libdir_flag_spec_ld_F77 \
   16333     hardcode_libdir_separator_F77 \
   16334     hardcode_automatic_F77 \
   16335     module_cmds_F77 \
   16336     module_expsym_cmds_F77 \
   16337     lt_cv_prog_compiler_c_o_F77 \
   16338     fix_srcfile_path_F77 \
   16339     exclude_expsyms_F77 \
   16340     include_expsyms_F77; do
   16341 
   16342     case $var in
   16343     old_archive_cmds_F77 | \
   16344     old_archive_from_new_cmds_F77 | \
   16345     archive_cmds_F77 | \
   16346     archive_expsym_cmds_F77 | \
   16347     module_cmds_F77 | \
   16348     module_expsym_cmds_F77 | \
   16349     old_archive_from_expsyms_cmds_F77 | \
   16350     export_symbols_cmds_F77 | \
   16351     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16352     postinstall_cmds | postuninstall_cmds | \
   16353     old_postinstall_cmds | old_postuninstall_cmds | \
   16354     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16355       # Double-quote double-evaled strings.
   16356       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16357       ;;
   16358     *)
   16359       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16360       ;;
   16361     esac
   16362   done
   16363 
   16364   case $lt_echo in
   16365   *'\$0 --fallback-echo"')
   16366     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16367     ;;
   16368   esac
   16369 
   16370 cfgfile="$ofile"
   16371 
   16372   cat <<__EOF__ >> "$cfgfile"
   16373 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16374 
   16375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16376 
   16377 # Shell to use when invoking shell scripts.
   16378 SHELL=$lt_SHELL
   16379 
   16380 # Whether or not to build shared libraries.
   16381 build_libtool_libs=$enable_shared
   16382 
   16383 # Whether or not to build static libraries.
   16384 build_old_libs=$enable_static
   16385 
   16386 # Whether or not to add -lc for building shared libraries.
   16387 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16388 
   16389 # Whether or not to disallow shared libs when runtime libs are static
   16390 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16391 
   16392 # Whether or not to optimize for fast installation.
   16393 fast_install=$enable_fast_install
   16394 
   16395 # The host system.
   16396 host_alias=$host_alias
   16397 host=$host
   16398 host_os=$host_os
   16399 
   16400 # The build system.
   16401 build_alias=$build_alias
   16402 build=$build
   16403 build_os=$build_os
   16404 
   16405 # An echo program that does not interpret backslashes.
   16406 echo=$lt_echo
   16407 
   16408 # The archiver.
   16409 AR=$lt_AR
   16410 AR_FLAGS=$lt_AR_FLAGS
   16411 
   16412 # A C compiler.
   16413 LTCC=$lt_LTCC
   16414 
   16415 # LTCC compiler flags.
   16416 LTCFLAGS=$lt_LTCFLAGS
   16417 
   16418 # A language-specific compiler.
   16419 CC=$lt_compiler_F77
   16420 
   16421 # Is the compiler the GNU C compiler?
   16422 with_gcc=$GCC_F77
   16423 
   16424 # An ERE matcher.
   16425 EGREP=$lt_EGREP
   16426 
   16427 # The linker used to build libraries.
   16428 LD=$lt_LD_F77
   16429 
   16430 # Whether we need hard or soft links.
   16431 LN_S=$lt_LN_S
   16432 
   16433 # A BSD-compatible nm program.
   16434 NM=$lt_NM
   16435 
   16436 # A symbol stripping program
   16437 STRIP=$lt_STRIP
   16438 
   16439 # Used to examine libraries when file_magic_cmd begins "file"
   16440 MAGIC_CMD=$MAGIC_CMD
   16441 
   16442 # Used on cygwin: DLL creation program.
   16443 DLLTOOL="$DLLTOOL"
   16444 
   16445 # Used on cygwin: object dumper.
   16446 OBJDUMP="$OBJDUMP"
   16447 
   16448 # Used on cygwin: assembler.
   16449 AS="$AS"
   16450 
   16451 # The name of the directory that contains temporary libtool files.
   16452 objdir=$objdir
   16453 
   16454 # How to create reloadable object files.
   16455 reload_flag=$lt_reload_flag
   16456 reload_cmds=$lt_reload_cmds
   16457 
   16458 # How to pass a linker flag through the compiler.
   16459 wl=$lt_lt_prog_compiler_wl_F77
   16460 
   16461 # Object file suffix (normally "o").
   16462 objext="$ac_objext"
   16463 
   16464 # Old archive suffix (normally "a").
   16465 libext="$libext"
   16466 
   16467 # Shared library suffix (normally ".so").
   16468 shrext_cmds='$shrext_cmds'
   16469 
   16470 # Executable file suffix (normally "").
   16471 exeext="$exeext"
   16472 
   16473 # Additional compiler flags for building library objects.
   16474 pic_flag=$lt_lt_prog_compiler_pic_F77
   16475 pic_mode=$pic_mode
   16476 
   16477 # What is the maximum length of a command?
   16478 max_cmd_len=$lt_cv_sys_max_cmd_len
   16479 
   16480 # Does compiler simultaneously support -c and -o options?
   16481 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16482 
   16483 # Must we lock files when doing compilation?
   16484 need_locks=$lt_need_locks
   16485 
   16486 # Do we need the lib prefix for modules?
   16487 need_lib_prefix=$need_lib_prefix
   16488 
   16489 # Do we need a version for libraries?
   16490 need_version=$need_version
   16491 
   16492 # Whether dlopen is supported.
   16493 dlopen_support=$enable_dlopen
   16494 
   16495 # Whether dlopen of programs is supported.
   16496 dlopen_self=$enable_dlopen_self
   16497 
   16498 # Whether dlopen of statically linked programs is supported.
   16499 dlopen_self_static=$enable_dlopen_self_static
   16500 
   16501 # Compiler flag to prevent dynamic linking.
   16502 link_static_flag=$lt_lt_prog_compiler_static_F77
   16503 
   16504 # Compiler flag to turn off builtin functions.
   16505 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16506 
   16507 # Compiler flag to allow reflexive dlopens.
   16508 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16509 
   16510 # Compiler flag to generate shared objects directly from archives.
   16511 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16512 
   16513 # Compiler flag to generate thread-safe objects.
   16514 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16515 
   16516 # Library versioning type.
   16517 version_type=$version_type
   16518 
   16519 # Format of library name prefix.
   16520 libname_spec=$lt_libname_spec
   16521 
   16522 # List of archive names.  First name is the real one, the rest are links.
   16523 # The last name is the one that the linker finds with -lNAME.
   16524 library_names_spec=$lt_library_names_spec
   16525 
   16526 # The coded name of the library, if different from the real name.
   16527 soname_spec=$lt_soname_spec
   16528 
   16529 # Commands used to build and install an old-style archive.
   16530 RANLIB=$lt_RANLIB
   16531 old_archive_cmds=$lt_old_archive_cmds_F77
   16532 old_postinstall_cmds=$lt_old_postinstall_cmds
   16533 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16534 
   16535 # Create an old-style archive from a shared archive.
   16536 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16537 
   16538 # Create a temporary old-style archive to link instead of a shared archive.
   16539 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16540 
   16541 # Commands used to build and install a shared archive.
   16542 archive_cmds=$lt_archive_cmds_F77
   16543 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16544 postinstall_cmds=$lt_postinstall_cmds
   16545 postuninstall_cmds=$lt_postuninstall_cmds
   16546 
   16547 # Commands used to build a loadable module (assumed same as above if empty)
   16548 module_cmds=$lt_module_cmds_F77
   16549 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16550 
   16551 # Commands to strip libraries.
   16552 old_striplib=$lt_old_striplib
   16553 striplib=$lt_striplib
   16554 
   16555 # Dependencies to place before the objects being linked to create a
   16556 # shared library.
   16557 predep_objects=$lt_predep_objects_F77
   16558 
   16559 # Dependencies to place after the objects being linked to create a
   16560 # shared library.
   16561 postdep_objects=$lt_postdep_objects_F77
   16562 
   16563 # Dependencies to place before the objects being linked to create a
   16564 # shared library.
   16565 predeps=$lt_predeps_F77
   16566 
   16567 # Dependencies to place after the objects being linked to create a
   16568 # shared library.
   16569 postdeps=$lt_postdeps_F77
   16570 
   16571 # The directories searched by this compiler when creating a shared
   16572 # library
   16573 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16574 
   16575 # The library search path used internally by the compiler when linking
   16576 # a shared library.
   16577 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16578 
   16579 # Method to check whether dependent libraries are shared objects.
   16580 deplibs_check_method=$lt_deplibs_check_method
   16581 
   16582 # Command to use when deplibs_check_method == file_magic.
   16583 file_magic_cmd=$lt_file_magic_cmd
   16584 
   16585 # Flag that allows shared libraries with undefined symbols to be built.
   16586 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16587 
   16588 # Flag that forces no undefined symbols.
   16589 no_undefined_flag=$lt_no_undefined_flag_F77
   16590 
   16591 # Commands used to finish a libtool library installation in a directory.
   16592 finish_cmds=$lt_finish_cmds
   16593 
   16594 # Same as above, but a single script fragment to be evaled but not shown.
   16595 finish_eval=$lt_finish_eval
   16596 
   16597 # Take the output of nm and produce a listing of raw symbols and C names.
   16598 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16599 
   16600 # Transform the output of nm in a proper C declaration
   16601 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16602 
   16603 # Transform the output of nm in a C name address pair
   16604 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16605 
   16606 # This is the shared library runtime path variable.
   16607 runpath_var=$runpath_var
   16608 
   16609 # This is the shared library path variable.
   16610 shlibpath_var=$shlibpath_var
   16611 
   16612 # Is shlibpath searched before the hard-coded library search path?
   16613 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16614 
   16615 # How to hardcode a shared library path into an executable.
   16616 hardcode_action=$hardcode_action_F77
   16617 
   16618 # Whether we should hardcode library paths into libraries.
   16619 hardcode_into_libs=$hardcode_into_libs
   16620 
   16621 # Flag to hardcode \$libdir into a binary during linking.
   16622 # This must work even if \$libdir does not exist.
   16623 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16624 
   16625 # If ld is used when linking, flag to hardcode \$libdir into
   16626 # a binary during linking. This must work even if \$libdir does
   16627 # not exist.
   16628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16629 
   16630 # Whether we need a single -rpath flag with a separated argument.
   16631 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16632 
   16633 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16634 # resulting binary.
   16635 hardcode_direct=$hardcode_direct_F77
   16636 
   16637 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16638 # resulting binary.
   16639 hardcode_minus_L=$hardcode_minus_L_F77
   16640 
   16641 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16642 # the resulting binary.
   16643 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16644 
   16645 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16646 # and all subsequent libraries and executables linked against it.
   16647 hardcode_automatic=$hardcode_automatic_F77
   16648 
   16649 # Variables whose values should be saved in libtool wrapper scripts and
   16650 # restored at relink time.
   16651 variables_saved_for_relink="$variables_saved_for_relink"
   16652 
   16653 # Whether libtool must link a program against all its dependency libraries.
   16654 link_all_deplibs=$link_all_deplibs_F77
   16655 
   16656 # Compile-time system search path for libraries
   16657 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16658 
   16659 # Run-time system search path for libraries
   16660 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16661 
   16662 # Fix the shell variable \$srcfile for the compiler.
   16663 fix_srcfile_path=$lt_fix_srcfile_path
   16664 
   16665 # Set to yes if exported symbols are required.
   16666 always_export_symbols=$always_export_symbols_F77
   16667 
   16668 # The commands to list exported symbols.
   16669 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16670 
   16671 # The commands to extract the exported symbol list from a shared archive.
   16672 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16673 
   16674 # Symbols that should not be listed in the preloaded symbols.
   16675 exclude_expsyms=$lt_exclude_expsyms_F77
   16676 
   16677 # Symbols that must always be exported.
   16678 include_expsyms=$lt_include_expsyms_F77
   16679 
   16680 # ### END LIBTOOL TAG CONFIG: $tagname
   16681 
   16682 __EOF__
   16683 
   16684 
   16685 else
   16686   # If there is no Makefile yet, we rely on a make rule to execute
   16687   # `config.status --recheck' to rerun these tests and create the
   16688   # libtool script then.
   16689   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16690   if test -f "$ltmain_in"; then
   16691     test -f Makefile && make "$ltmain"
   16692   fi
   16693 fi
   16694 
   16695 
   16696 ac_ext=c
   16697 ac_cpp='$CPP $CPPFLAGS'
   16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16701 
   16702 CC="$lt_save_CC"
   16703 
   16704 	else
   16705 	  tagname=""
   16706 	fi
   16707 	;;
   16708 
   16709       GCJ)
   16710 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16711 
   16712 
   16713 # Source file extension for Java test sources.
   16714 ac_ext=java
   16715 
   16716 # Object file extension for compiled Java test sources.
   16717 objext=o
   16718 objext_GCJ=$objext
   16719 
   16720 # Code to be used in simple compile tests
   16721 lt_simple_compile_test_code="class foo {}"
   16722 
   16723 # Code to be used in simple link tests
   16724 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16725 
   16726 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16727 
   16728 # If no C compiler was specified, use CC.
   16729 LTCC=${LTCC-"$CC"}
   16730 
   16731 # If no C compiler flags were specified, use CFLAGS.
   16732 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16733 
   16734 # Allow CC to be a program name with arguments.
   16735 compiler=$CC
   16736 
   16737 
   16738 # save warnings/boilerplate of simple test code
   16739 ac_outfile=conftest.$ac_objext
   16740 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16741 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16742 _lt_compiler_boilerplate=`cat conftest.err`
   16743 $rm conftest*
   16744 
   16745 ac_outfile=conftest.$ac_objext
   16746 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16747 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16748 _lt_linker_boilerplate=`cat conftest.err`
   16749 $rm -r conftest*
   16750 
   16751 
   16752 # Allow CC to be a program name with arguments.
   16753 lt_save_CC="$CC"
   16754 CC=${GCJ-"gcj"}
   16755 compiler=$CC
   16756 compiler_GCJ=$CC
   16757 for cc_temp in $compiler""; do
   16758   case $cc_temp in
   16759     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16760     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16761     \-*) ;;
   16762     *) break;;
   16763   esac
   16764 done
   16765 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16766 
   16767 
   16768 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16769 archive_cmds_need_lc_GCJ=no
   16770 
   16771 old_archive_cmds_GCJ=$old_archive_cmds
   16772 
   16773 
   16774 lt_prog_compiler_no_builtin_flag_GCJ=
   16775 
   16776 if test "$GCC" = yes; then
   16777   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16778 
   16779 
   16780 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16781 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16782 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16783   echo $ECHO_N "(cached) $ECHO_C" >&6
   16784 else
   16785   lt_cv_prog_compiler_rtti_exceptions=no
   16786   ac_outfile=conftest.$ac_objext
   16787    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16788    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16789    # Insert the option either (1) after the last *FLAGS variable, or
   16790    # (2) before a word containing "conftest.", or (3) at the end.
   16791    # Note that $ac_compile itself does not contain backslashes and begins
   16792    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16793    # The option is referenced via a variable to avoid confusing sed.
   16794    lt_compile=`echo "$ac_compile" | $SED \
   16795    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16796    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16797    -e 's:$: $lt_compiler_flag:'`
   16798    (eval echo "\"\$as_me:16798: $lt_compile\"" >&5)
   16799    (eval "$lt_compile" 2>conftest.err)
   16800    ac_status=$?
   16801    cat conftest.err >&5
   16802    echo "$as_me:16802: \$? = $ac_status" >&5
   16803    if (exit $ac_status) && test -s "$ac_outfile"; then
   16804      # The compiler can only warn and ignore the option if not recognized
   16805      # So say no if there are warnings other than the usual output.
   16806      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16807      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16808      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16809        lt_cv_prog_compiler_rtti_exceptions=yes
   16810      fi
   16811    fi
   16812    $rm conftest*
   16813 
   16814 fi
   16815 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16816 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16817 
   16818 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16819     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16820 else
   16821     :
   16822 fi
   16823 
   16824 fi
   16825 
   16826 lt_prog_compiler_wl_GCJ=
   16827 lt_prog_compiler_pic_GCJ=
   16828 lt_prog_compiler_static_GCJ=
   16829 
   16830 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16831 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16832 
   16833   if test "$GCC" = yes; then
   16834     lt_prog_compiler_wl_GCJ='-Wl,'
   16835     lt_prog_compiler_static_GCJ='-static'
   16836 
   16837     case $host_os in
   16838       aix*)
   16839       # All AIX code is PIC.
   16840       if test "$host_cpu" = ia64; then
   16841 	# AIX 5 now supports IA64 processor
   16842 	lt_prog_compiler_static_GCJ='-Bstatic'
   16843       fi
   16844       ;;
   16845 
   16846     amigaos*)
   16847       # FIXME: we need at least 68020 code to build shared libraries, but
   16848       # adding the `-m68020' flag to GCC prevents building anything better,
   16849       # like `-m68040'.
   16850       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16851       ;;
   16852 
   16853     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16854       # PIC is the default for these OSes.
   16855       ;;
   16856 
   16857     mingw* | cygwin* | pw32* | os2*)
   16858       # This hack is so that the source file can tell whether it is being
   16859       # built for inclusion in a dll (and should export symbols for example).
   16860       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16861       # (--disable-auto-import) libraries
   16862 
   16863       ;;
   16864 
   16865     darwin* | rhapsody*)
   16866       # PIC is the default on this platform
   16867       # Common symbols not allowed in MH_DYLIB files
   16868       lt_prog_compiler_pic_GCJ='-fno-common'
   16869       ;;
   16870 
   16871     interix[3-9]*)
   16872       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16873       # Instead, we relocate shared libraries at runtime.
   16874       ;;
   16875 
   16876     msdosdjgpp*)
   16877       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16878       # on systems that don't support them.
   16879       lt_prog_compiler_can_build_shared_GCJ=no
   16880       enable_shared=no
   16881       ;;
   16882 
   16883     sysv4*MP*)
   16884       if test -d /usr/nec; then
   16885 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16886       fi
   16887       ;;
   16888 
   16889     hpux*)
   16890       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16891       # not for PA HP-UX.
   16892       case $host_cpu in
   16893       hppa*64*|ia64*)
   16894 	# +Z the default
   16895 	;;
   16896       *)
   16897 	lt_prog_compiler_pic_GCJ='-fPIC'
   16898 	;;
   16899       esac
   16900       ;;
   16901 
   16902     *)
   16903       lt_prog_compiler_pic_GCJ='-fPIC'
   16904       ;;
   16905     esac
   16906   else
   16907     # PORTME Check for flag to pass linker flags through the system compiler.
   16908     case $host_os in
   16909     aix*)
   16910       lt_prog_compiler_wl_GCJ='-Wl,'
   16911       if test "$host_cpu" = ia64; then
   16912 	# AIX 5 now supports IA64 processor
   16913 	lt_prog_compiler_static_GCJ='-Bstatic'
   16914       else
   16915 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16916       fi
   16917       ;;
   16918       darwin*)
   16919         # PIC is the default on this platform
   16920         # Common symbols not allowed in MH_DYLIB files
   16921        case $cc_basename in
   16922          xlc*)
   16923          lt_prog_compiler_pic_GCJ='-qnocommon'
   16924          lt_prog_compiler_wl_GCJ='-Wl,'
   16925          ;;
   16926        esac
   16927        ;;
   16928 
   16929     mingw* | cygwin* | pw32* | os2*)
   16930       # This hack is so that the source file can tell whether it is being
   16931       # built for inclusion in a dll (and should export symbols for example).
   16932 
   16933       ;;
   16934 
   16935     hpux9* | hpux10* | hpux11*)
   16936       lt_prog_compiler_wl_GCJ='-Wl,'
   16937       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16938       # not for PA HP-UX.
   16939       case $host_cpu in
   16940       hppa*64*|ia64*)
   16941 	# +Z the default
   16942 	;;
   16943       *)
   16944 	lt_prog_compiler_pic_GCJ='+Z'
   16945 	;;
   16946       esac
   16947       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16948       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16949       ;;
   16950 
   16951     irix5* | irix6* | nonstopux*)
   16952       lt_prog_compiler_wl_GCJ='-Wl,'
   16953       # PIC (with -KPIC) is the default.
   16954       lt_prog_compiler_static_GCJ='-non_shared'
   16955       ;;
   16956 
   16957     newsos6)
   16958       lt_prog_compiler_pic_GCJ='-KPIC'
   16959       lt_prog_compiler_static_GCJ='-Bstatic'
   16960       ;;
   16961 
   16962     linux* | k*bsd*-gnu)
   16963       case $cc_basename in
   16964       icc* | ecc*)
   16965 	lt_prog_compiler_wl_GCJ='-Wl,'
   16966 	lt_prog_compiler_pic_GCJ='-KPIC'
   16967 	lt_prog_compiler_static_GCJ='-static'
   16968         ;;
   16969       pgcc* | pgf77* | pgf90* | pgf95*)
   16970         # Portland Group compilers (*not* the Pentium gcc compiler,
   16971 	# which looks to be a dead project)
   16972 	lt_prog_compiler_wl_GCJ='-Wl,'
   16973 	lt_prog_compiler_pic_GCJ='-fpic'
   16974 	lt_prog_compiler_static_GCJ='-Bstatic'
   16975         ;;
   16976       ccc*)
   16977         lt_prog_compiler_wl_GCJ='-Wl,'
   16978         # All Alpha code is PIC.
   16979         lt_prog_compiler_static_GCJ='-non_shared'
   16980         ;;
   16981       *)
   16982         case `$CC -V 2>&1 | sed 5q` in
   16983 	*Sun\ C*)
   16984 	  # Sun C 5.9
   16985 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16986 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16987 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16988 	  ;;
   16989 	*Sun\ F*)
   16990 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16991 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16992 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16993 	  lt_prog_compiler_wl_GCJ=''
   16994 	  ;;
   16995 	esac
   16996 	;;
   16997       esac
   16998       ;;
   16999 
   17000     osf3* | osf4* | osf5*)
   17001       lt_prog_compiler_wl_GCJ='-Wl,'
   17002       # All OSF/1 code is PIC.
   17003       lt_prog_compiler_static_GCJ='-non_shared'
   17004       ;;
   17005 
   17006     rdos*)
   17007       lt_prog_compiler_static_GCJ='-non_shared'
   17008       ;;
   17009 
   17010     solaris*)
   17011       lt_prog_compiler_pic_GCJ='-KPIC'
   17012       lt_prog_compiler_static_GCJ='-Bstatic'
   17013       case $cc_basename in
   17014       f77* | f90* | f95*)
   17015 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17016       *)
   17017 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17018       esac
   17019       ;;
   17020 
   17021     sunos4*)
   17022       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17023       lt_prog_compiler_pic_GCJ='-PIC'
   17024       lt_prog_compiler_static_GCJ='-Bstatic'
   17025       ;;
   17026 
   17027     sysv4 | sysv4.2uw2* | sysv4.3*)
   17028       lt_prog_compiler_wl_GCJ='-Wl,'
   17029       lt_prog_compiler_pic_GCJ='-KPIC'
   17030       lt_prog_compiler_static_GCJ='-Bstatic'
   17031       ;;
   17032 
   17033     sysv4*MP*)
   17034       if test -d /usr/nec ;then
   17035 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17036 	lt_prog_compiler_static_GCJ='-Bstatic'
   17037       fi
   17038       ;;
   17039 
   17040     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17041       lt_prog_compiler_wl_GCJ='-Wl,'
   17042       lt_prog_compiler_pic_GCJ='-KPIC'
   17043       lt_prog_compiler_static_GCJ='-Bstatic'
   17044       ;;
   17045 
   17046     unicos*)
   17047       lt_prog_compiler_wl_GCJ='-Wl,'
   17048       lt_prog_compiler_can_build_shared_GCJ=no
   17049       ;;
   17050 
   17051     uts4*)
   17052       lt_prog_compiler_pic_GCJ='-pic'
   17053       lt_prog_compiler_static_GCJ='-Bstatic'
   17054       ;;
   17055 
   17056     *)
   17057       lt_prog_compiler_can_build_shared_GCJ=no
   17058       ;;
   17059     esac
   17060   fi
   17061 
   17062 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17063 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   17064 
   17065 #
   17066 # Check to make sure the PIC flag actually works.
   17067 #
   17068 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17069 
   17070 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17071 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   17072 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17073   echo $ECHO_N "(cached) $ECHO_C" >&6
   17074 else
   17075   lt_cv_prog_compiler_pic_works_GCJ=no
   17076   ac_outfile=conftest.$ac_objext
   17077    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17078    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17079    # Insert the option either (1) after the last *FLAGS variable, or
   17080    # (2) before a word containing "conftest.", or (3) at the end.
   17081    # Note that $ac_compile itself does not contain backslashes and begins
   17082    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17083    # The option is referenced via a variable to avoid confusing sed.
   17084    lt_compile=`echo "$ac_compile" | $SED \
   17085    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17086    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17087    -e 's:$: $lt_compiler_flag:'`
   17088    (eval echo "\"\$as_me:17088: $lt_compile\"" >&5)
   17089    (eval "$lt_compile" 2>conftest.err)
   17090    ac_status=$?
   17091    cat conftest.err >&5
   17092    echo "$as_me:17092: \$? = $ac_status" >&5
   17093    if (exit $ac_status) && test -s "$ac_outfile"; then
   17094      # The compiler can only warn and ignore the option if not recognized
   17095      # So say no if there are warnings other than the usual output.
   17096      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17097      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17098      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17099        lt_cv_prog_compiler_pic_works_GCJ=yes
   17100      fi
   17101    fi
   17102    $rm conftest*
   17103 
   17104 fi
   17105 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17106 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17107 
   17108 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17109     case $lt_prog_compiler_pic_GCJ in
   17110      "" | " "*) ;;
   17111      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17112      esac
   17113 else
   17114     lt_prog_compiler_pic_GCJ=
   17115      lt_prog_compiler_can_build_shared_GCJ=no
   17116 fi
   17117 
   17118 fi
   17119 case $host_os in
   17120   # For platforms which do not support PIC, -DPIC is meaningless:
   17121   *djgpp*)
   17122     lt_prog_compiler_pic_GCJ=
   17123     ;;
   17124   *)
   17125     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17126     ;;
   17127 esac
   17128 
   17129 #
   17130 # Check to make sure the static flag actually works.
   17131 #
   17132 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17133 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17134 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17135 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17136   echo $ECHO_N "(cached) $ECHO_C" >&6
   17137 else
   17138   lt_cv_prog_compiler_static_works_GCJ=no
   17139    save_LDFLAGS="$LDFLAGS"
   17140    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17141    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17142    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17143      # The linker can only warn and ignore the option if not recognized
   17144      # So say no if there are warnings
   17145      if test -s conftest.err; then
   17146        # Append any errors to the config.log.
   17147        cat conftest.err 1>&5
   17148        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17149        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17150        if diff conftest.exp conftest.er2 >/dev/null; then
   17151          lt_cv_prog_compiler_static_works_GCJ=yes
   17152        fi
   17153      else
   17154        lt_cv_prog_compiler_static_works_GCJ=yes
   17155      fi
   17156    fi
   17157    $rm -r conftest*
   17158    LDFLAGS="$save_LDFLAGS"
   17159 
   17160 fi
   17161 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17162 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17163 
   17164 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17165     :
   17166 else
   17167     lt_prog_compiler_static_GCJ=
   17168 fi
   17169 
   17170 
   17171 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17172 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17173 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17174   echo $ECHO_N "(cached) $ECHO_C" >&6
   17175 else
   17176   lt_cv_prog_compiler_c_o_GCJ=no
   17177    $rm -r conftest 2>/dev/null
   17178    mkdir conftest
   17179    cd conftest
   17180    mkdir out
   17181    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17182 
   17183    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17184    # Insert the option either (1) after the last *FLAGS variable, or
   17185    # (2) before a word containing "conftest.", or (3) at the end.
   17186    # Note that $ac_compile itself does not contain backslashes and begins
   17187    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17188    lt_compile=`echo "$ac_compile" | $SED \
   17189    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17190    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17191    -e 's:$: $lt_compiler_flag:'`
   17192    (eval echo "\"\$as_me:17192: $lt_compile\"" >&5)
   17193    (eval "$lt_compile" 2>out/conftest.err)
   17194    ac_status=$?
   17195    cat out/conftest.err >&5
   17196    echo "$as_me:17196: \$? = $ac_status" >&5
   17197    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17198    then
   17199      # The compiler can only warn and ignore the option if not recognized
   17200      # So say no if there are warnings
   17201      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17202      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17203      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17204        lt_cv_prog_compiler_c_o_GCJ=yes
   17205      fi
   17206    fi
   17207    chmod u+w . 2>&5
   17208    $rm conftest*
   17209    # SGI C++ compiler will create directory out/ii_files/ for
   17210    # template instantiation
   17211    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17212    $rm out/* && rmdir out
   17213    cd ..
   17214    rmdir conftest
   17215    $rm conftest*
   17216 
   17217 fi
   17218 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17219 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17220 
   17221 
   17222 hard_links="nottested"
   17223 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17224   # do not overwrite the value of need_locks provided by the user
   17225   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17226 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17227   hard_links=yes
   17228   $rm conftest*
   17229   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17230   touch conftest.a
   17231   ln conftest.a conftest.b 2>&5 || hard_links=no
   17232   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17233   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17234 echo "${ECHO_T}$hard_links" >&6; }
   17235   if test "$hard_links" = no; then
   17236     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17237 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17238     need_locks=warn
   17239   fi
   17240 else
   17241   need_locks=no
   17242 fi
   17243 
   17244 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17245 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17246 
   17247   runpath_var=
   17248   allow_undefined_flag_GCJ=
   17249   enable_shared_with_static_runtimes_GCJ=no
   17250   archive_cmds_GCJ=
   17251   archive_expsym_cmds_GCJ=
   17252   old_archive_From_new_cmds_GCJ=
   17253   old_archive_from_expsyms_cmds_GCJ=
   17254   export_dynamic_flag_spec_GCJ=
   17255   whole_archive_flag_spec_GCJ=
   17256   thread_safe_flag_spec_GCJ=
   17257   hardcode_libdir_flag_spec_GCJ=
   17258   hardcode_libdir_flag_spec_ld_GCJ=
   17259   hardcode_libdir_separator_GCJ=
   17260   hardcode_direct_GCJ=no
   17261   hardcode_minus_L_GCJ=no
   17262   hardcode_shlibpath_var_GCJ=unsupported
   17263   link_all_deplibs_GCJ=unknown
   17264   hardcode_automatic_GCJ=no
   17265   module_cmds_GCJ=
   17266   module_expsym_cmds_GCJ=
   17267   always_export_symbols_GCJ=no
   17268   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17269   # include_expsyms should be a list of space-separated symbols to be *always*
   17270   # included in the symbol list
   17271   include_expsyms_GCJ=
   17272   # exclude_expsyms can be an extended regexp of symbols to exclude
   17273   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17274   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17275   # as well as any symbol that contains `d'.
   17276   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17277   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17278   # platforms (ab)use it in PIC code, but their linkers get confused if
   17279   # the symbol is explicitly referenced.  Since portable code cannot
   17280   # rely on this symbol name, it's probably fine to never include it in
   17281   # preloaded symbol tables.
   17282   # Exclude shared library initialization/finalization symbols.
   17283   extract_expsyms_cmds=
   17284   # Just being paranoid about ensuring that cc_basename is set.
   17285   for cc_temp in $compiler""; do
   17286   case $cc_temp in
   17287     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17288     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17289     \-*) ;;
   17290     *) break;;
   17291   esac
   17292 done
   17293 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17294 
   17295   case $host_os in
   17296   cygwin* | mingw* | pw32*)
   17297     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17298     # When not using gcc, we currently assume that we are using
   17299     # Microsoft Visual C++.
   17300     if test "$GCC" != yes; then
   17301       with_gnu_ld=no
   17302     fi
   17303     ;;
   17304   interix*)
   17305     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17306     with_gnu_ld=yes
   17307     ;;
   17308   openbsd*)
   17309     with_gnu_ld=no
   17310     ;;
   17311   esac
   17312 
   17313   ld_shlibs_GCJ=yes
   17314   if test "$with_gnu_ld" = yes; then
   17315     # If archive_cmds runs LD, not CC, wlarc should be empty
   17316     wlarc='${wl}'
   17317 
   17318     # Set some defaults for GNU ld with shared library support. These
   17319     # are reset later if shared libraries are not supported. Putting them
   17320     # here allows them to be overridden if necessary.
   17321     runpath_var=LD_RUN_PATH
   17322     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17323     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17324     # ancient GNU ld didn't support --whole-archive et. al.
   17325     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17326 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17327       else
   17328   	whole_archive_flag_spec_GCJ=
   17329     fi
   17330     supports_anon_versioning=no
   17331     case `$LD -v 2>/dev/null` in
   17332       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17333       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17334       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17335       *\ 2.11.*) ;; # other 2.11 versions
   17336       *) supports_anon_versioning=yes ;;
   17337     esac
   17338 
   17339     # See if GNU ld supports shared libraries.
   17340     case $host_os in
   17341     aix[3-9]*)
   17342       # On AIX/PPC, the GNU linker is very broken
   17343       if test "$host_cpu" != ia64; then
   17344 	ld_shlibs_GCJ=no
   17345 	cat <<EOF 1>&2
   17346 
   17347 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17348 *** to be unable to reliably create shared libraries on AIX.
   17349 *** Therefore, libtool is disabling shared libraries support.  If you
   17350 *** really care for shared libraries, you may want to modify your PATH
   17351 *** so that a non-GNU linker is found, and then restart.
   17352 
   17353 EOF
   17354       fi
   17355       ;;
   17356 
   17357     amigaos*)
   17358       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)'
   17359       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17360       hardcode_minus_L_GCJ=yes
   17361 
   17362       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17363       # that the semantics of dynamic libraries on AmigaOS, at least up
   17364       # to version 4, is to share data among multiple programs linked
   17365       # with the same dynamic library.  Since this doesn't match the
   17366       # behavior of shared libraries on other platforms, we can't use
   17367       # them.
   17368       ld_shlibs_GCJ=no
   17369       ;;
   17370 
   17371     beos*)
   17372       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17373 	allow_undefined_flag_GCJ=unsupported
   17374 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17375 	# support --undefined.  This deserves some investigation.  FIXME
   17376 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17377       else
   17378 	ld_shlibs_GCJ=no
   17379       fi
   17380       ;;
   17381 
   17382     cygwin* | mingw* | pw32*)
   17383       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17384       # as there is no search path for DLLs.
   17385       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17386       allow_undefined_flag_GCJ=unsupported
   17387       always_export_symbols_GCJ=no
   17388       enable_shared_with_static_runtimes_GCJ=yes
   17389       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17390 
   17391       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17392         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17393 	# If the export-symbols file already is a .def file (1st line
   17394 	# is EXPORTS), use it as is; otherwise, prepend...
   17395 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17396 	  cp $export_symbols $output_objdir/$soname.def;
   17397 	else
   17398 	  echo EXPORTS > $output_objdir/$soname.def;
   17399 	  cat $export_symbols >> $output_objdir/$soname.def;
   17400 	fi~
   17401 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17402       else
   17403 	ld_shlibs_GCJ=no
   17404       fi
   17405       ;;
   17406 
   17407     interix[3-9]*)
   17408       hardcode_direct_GCJ=no
   17409       hardcode_shlibpath_var_GCJ=no
   17410       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17411       export_dynamic_flag_spec_GCJ='${wl}-E'
   17412       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17413       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17414       # default) and relocated if they conflict, which is a slow very memory
   17415       # consuming and fragmenting process.  To avoid this, we pick a random,
   17416       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17417       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17418       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'
   17419       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'
   17420       ;;
   17421 
   17422     gnu* | linux* | k*bsd*-gnu)
   17423       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17424 	tmp_addflag=
   17425 	case $cc_basename,$host_cpu in
   17426 	pgcc*)				# Portland Group C compiler
   17427 	  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'
   17428 	  tmp_addflag=' $pic_flag'
   17429 	  ;;
   17430 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17431 	  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'
   17432 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17433 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17434 	  tmp_addflag=' -i_dynamic' ;;
   17435 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17436 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17437 	ifc* | ifort*)			# Intel Fortran compiler
   17438 	  tmp_addflag=' -nofor_main' ;;
   17439 	esac
   17440 	case `$CC -V 2>&1 | sed 5q` in
   17441 	*Sun\ C*)			# Sun C 5.9
   17442 	  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'
   17443 	  tmp_sharedflag='-G' ;;
   17444 	*Sun\ F*)			# Sun Fortran 8.3
   17445 	  tmp_sharedflag='-G' ;;
   17446 	*)
   17447 	  tmp_sharedflag='-shared' ;;
   17448 	esac
   17449 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17450 
   17451 	if test $supports_anon_versioning = yes; then
   17452 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17453   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17454   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17455 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17456 	fi
   17457 	link_all_deplibs_GCJ=no
   17458       else
   17459 	ld_shlibs_GCJ=no
   17460       fi
   17461       ;;
   17462 
   17463     netbsd* | netbsdelf*-gnu)
   17464       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17465 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17466 	wlarc=
   17467       else
   17468 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17469 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17470       fi
   17471       ;;
   17472 
   17473     solaris*)
   17474       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17475 	ld_shlibs_GCJ=no
   17476 	cat <<EOF 1>&2
   17477 
   17478 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17479 *** create shared libraries on Solaris systems.  Therefore, libtool
   17480 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17481 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17482 *** your PATH or compiler configuration so that the native linker is
   17483 *** used, and then restart.
   17484 
   17485 EOF
   17486       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17487 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17488 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17489       else
   17490 	ld_shlibs_GCJ=no
   17491       fi
   17492       ;;
   17493 
   17494     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17495       case `$LD -v 2>&1` in
   17496         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17497 	ld_shlibs_GCJ=no
   17498 	cat <<_LT_EOF 1>&2
   17499 
   17500 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17501 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17502 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17503 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17504 *** your PATH or compiler configuration so that the native linker is
   17505 *** used, and then restart.
   17506 
   17507 _LT_EOF
   17508 	;;
   17509 	*)
   17510 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17511 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17512 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17513 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17514 	  else
   17515 	    ld_shlibs_GCJ=no
   17516 	  fi
   17517 	;;
   17518       esac
   17519       ;;
   17520 
   17521     sunos4*)
   17522       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17523       wlarc=
   17524       hardcode_direct_GCJ=yes
   17525       hardcode_shlibpath_var_GCJ=no
   17526       ;;
   17527 
   17528     *)
   17529       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17530 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17531 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17532       else
   17533 	ld_shlibs_GCJ=no
   17534       fi
   17535       ;;
   17536     esac
   17537 
   17538     if test "$ld_shlibs_GCJ" = no; then
   17539       runpath_var=
   17540       hardcode_libdir_flag_spec_GCJ=
   17541       export_dynamic_flag_spec_GCJ=
   17542       whole_archive_flag_spec_GCJ=
   17543     fi
   17544   else
   17545     # PORTME fill in a description of your system's linker (not GNU ld)
   17546     case $host_os in
   17547     aix3*)
   17548       allow_undefined_flag_GCJ=unsupported
   17549       always_export_symbols_GCJ=yes
   17550       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'
   17551       # Note: this linker hardcodes the directories in LIBPATH if there
   17552       # are no directories specified by -L.
   17553       hardcode_minus_L_GCJ=yes
   17554       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17555 	# Neither direct hardcoding nor static linking is supported with a
   17556 	# broken collect2.
   17557 	hardcode_direct_GCJ=unsupported
   17558       fi
   17559       ;;
   17560 
   17561     aix[4-9]*)
   17562       if test "$host_cpu" = ia64; then
   17563 	# On IA64, the linker does run time linking by default, so we don't
   17564 	# have to do anything special.
   17565 	aix_use_runtimelinking=no
   17566 	exp_sym_flag='-Bexport'
   17567 	no_entry_flag=""
   17568       else
   17569 	# If we're using GNU nm, then we don't want the "-C" option.
   17570 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17571 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17572 	  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'
   17573 	else
   17574 	  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'
   17575 	fi
   17576 	aix_use_runtimelinking=no
   17577 
   17578 	# Test if we are trying to use run time linking or normal
   17579 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17580 	# need to do runtime linking.
   17581 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17582 	  for ld_flag in $LDFLAGS; do
   17583   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17584   	    aix_use_runtimelinking=yes
   17585   	    break
   17586   	  fi
   17587 	  done
   17588 	  ;;
   17589 	esac
   17590 
   17591 	exp_sym_flag='-bexport'
   17592 	no_entry_flag='-bnoentry'
   17593       fi
   17594 
   17595       # When large executables or shared objects are built, AIX ld can
   17596       # have problems creating the table of contents.  If linking a library
   17597       # or program results in "error TOC overflow" add -mminimal-toc to
   17598       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17599       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17600 
   17601       archive_cmds_GCJ=''
   17602       hardcode_direct_GCJ=yes
   17603       hardcode_libdir_separator_GCJ=':'
   17604       link_all_deplibs_GCJ=yes
   17605 
   17606       if test "$GCC" = yes; then
   17607 	case $host_os in aix4.[012]|aix4.[012].*)
   17608 	# We only want to do this on AIX 4.2 and lower, the check
   17609 	# below for broken collect2 doesn't work under 4.3+
   17610 	  collect2name=`${CC} -print-prog-name=collect2`
   17611 	  if test -f "$collect2name" && \
   17612   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17613 	  then
   17614   	  # We have reworked collect2
   17615   	  :
   17616 	  else
   17617   	  # We have old collect2
   17618   	  hardcode_direct_GCJ=unsupported
   17619   	  # It fails to find uninstalled libraries when the uninstalled
   17620   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17621   	  # to unsupported forces relinking
   17622   	  hardcode_minus_L_GCJ=yes
   17623   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17624   	  hardcode_libdir_separator_GCJ=
   17625 	  fi
   17626 	  ;;
   17627 	esac
   17628 	shared_flag='-shared'
   17629 	if test "$aix_use_runtimelinking" = yes; then
   17630 	  shared_flag="$shared_flag "'${wl}-G'
   17631 	fi
   17632       else
   17633 	# not using gcc
   17634 	if test "$host_cpu" = ia64; then
   17635   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17636   	# chokes on -Wl,-G. The following line is correct:
   17637 	  shared_flag='-G'
   17638 	else
   17639 	  if test "$aix_use_runtimelinking" = yes; then
   17640 	    shared_flag='${wl}-G'
   17641 	  else
   17642 	    shared_flag='${wl}-bM:SRE'
   17643 	  fi
   17644 	fi
   17645       fi
   17646 
   17647       # It seems that -bexpall does not export symbols beginning with
   17648       # underscore (_), so it is better to generate a list of symbols to export.
   17649       always_export_symbols_GCJ=yes
   17650       if test "$aix_use_runtimelinking" = yes; then
   17651 	# Warning - without using the other runtime loading flags (-brtl),
   17652 	# -berok will link without error, but may produce a broken library.
   17653 	allow_undefined_flag_GCJ='-berok'
   17654        # Determine the default libpath from the value encoded in an empty executable.
   17655        cat >conftest.$ac_ext <<_ACEOF
   17656 /* confdefs.h.  */
   17657 _ACEOF
   17658 cat confdefs.h >>conftest.$ac_ext
   17659 cat >>conftest.$ac_ext <<_ACEOF
   17660 /* end confdefs.h.  */
   17661 
   17662 int
   17663 main ()
   17664 {
   17665 
   17666   ;
   17667   return 0;
   17668 }
   17669 _ACEOF
   17670 rm -f conftest.$ac_objext conftest$ac_exeext
   17671 if { (ac_try="$ac_link"
   17672 case "(($ac_try" in
   17673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17674   *) ac_try_echo=$ac_try;;
   17675 esac
   17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17677   (eval "$ac_link") 2>conftest.er1
   17678   ac_status=$?
   17679   grep -v '^ *+' conftest.er1 >conftest.err
   17680   rm -f conftest.er1
   17681   cat conftest.err >&5
   17682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17683   (exit $ac_status); } && {
   17684 	 test -z "$ac_c_werror_flag" ||
   17685 	 test ! -s conftest.err
   17686        } && test -s conftest$ac_exeext &&
   17687        $as_test_x conftest$ac_exeext; then
   17688 
   17689 lt_aix_libpath_sed='
   17690     /Import File Strings/,/^$/ {
   17691 	/^0/ {
   17692 	    s/^0  *\(.*\)$/\1/
   17693 	    p
   17694 	}
   17695     }'
   17696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17697 # Check for a 64-bit object if we didn't find anything.
   17698 if test -z "$aix_libpath"; then
   17699   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17700 fi
   17701 else
   17702   echo "$as_me: failed program was:" >&5
   17703 sed 's/^/| /' conftest.$ac_ext >&5
   17704 
   17705 
   17706 fi
   17707 
   17708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17709       conftest$ac_exeext conftest.$ac_ext
   17710 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17711 
   17712        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17713 	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"
   17714        else
   17715 	if test "$host_cpu" = ia64; then
   17716 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17717 	  allow_undefined_flag_GCJ="-z nodefs"
   17718 	  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"
   17719 	else
   17720 	 # Determine the default libpath from the value encoded in an empty executable.
   17721 	 cat >conftest.$ac_ext <<_ACEOF
   17722 /* confdefs.h.  */
   17723 _ACEOF
   17724 cat confdefs.h >>conftest.$ac_ext
   17725 cat >>conftest.$ac_ext <<_ACEOF
   17726 /* end confdefs.h.  */
   17727 
   17728 int
   17729 main ()
   17730 {
   17731 
   17732   ;
   17733   return 0;
   17734 }
   17735 _ACEOF
   17736 rm -f conftest.$ac_objext conftest$ac_exeext
   17737 if { (ac_try="$ac_link"
   17738 case "(($ac_try" in
   17739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17740   *) ac_try_echo=$ac_try;;
   17741 esac
   17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17743   (eval "$ac_link") 2>conftest.er1
   17744   ac_status=$?
   17745   grep -v '^ *+' conftest.er1 >conftest.err
   17746   rm -f conftest.er1
   17747   cat conftest.err >&5
   17748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17749   (exit $ac_status); } && {
   17750 	 test -z "$ac_c_werror_flag" ||
   17751 	 test ! -s conftest.err
   17752        } && test -s conftest$ac_exeext &&
   17753        $as_test_x conftest$ac_exeext; then
   17754 
   17755 lt_aix_libpath_sed='
   17756     /Import File Strings/,/^$/ {
   17757 	/^0/ {
   17758 	    s/^0  *\(.*\)$/\1/
   17759 	    p
   17760 	}
   17761     }'
   17762 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17763 # Check for a 64-bit object if we didn't find anything.
   17764 if test -z "$aix_libpath"; then
   17765   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17766 fi
   17767 else
   17768   echo "$as_me: failed program was:" >&5
   17769 sed 's/^/| /' conftest.$ac_ext >&5
   17770 
   17771 
   17772 fi
   17773 
   17774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17775       conftest$ac_exeext conftest.$ac_ext
   17776 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17777 
   17778 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17779 	  # Warning - without using the other run time loading flags,
   17780 	  # -berok will link without error, but may produce a broken library.
   17781 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17782 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17783 	  # Exported symbols can be pulled into shared objects from archives
   17784 	  whole_archive_flag_spec_GCJ='$convenience'
   17785 	  archive_cmds_need_lc_GCJ=yes
   17786 	  # This is similar to how AIX traditionally builds its shared libraries.
   17787 	  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'
   17788 	fi
   17789       fi
   17790       ;;
   17791 
   17792     amigaos*)
   17793       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)'
   17794       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17795       hardcode_minus_L_GCJ=yes
   17796       # see comment about different semantics on the GNU ld section
   17797       ld_shlibs_GCJ=no
   17798       ;;
   17799 
   17800     bsdi[45]*)
   17801       export_dynamic_flag_spec_GCJ=-rdynamic
   17802       ;;
   17803 
   17804     cygwin* | mingw* | pw32*)
   17805       # When not using gcc, we currently assume that we are using
   17806       # Microsoft Visual C++.
   17807       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17808       # no search path for DLLs.
   17809       hardcode_libdir_flag_spec_GCJ=' '
   17810       allow_undefined_flag_GCJ=unsupported
   17811       # Tell ltmain to make .lib files, not .a files.
   17812       libext=lib
   17813       # Tell ltmain to make .dll files, not .so files.
   17814       shrext_cmds=".dll"
   17815       # FIXME: Setting linknames here is a bad hack.
   17816       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17817       # The linker will automatically build a .lib file if we build a DLL.
   17818       old_archive_From_new_cmds_GCJ='true'
   17819       # FIXME: Should let the user specify the lib program.
   17820       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17821       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17822       enable_shared_with_static_runtimes_GCJ=yes
   17823       ;;
   17824 
   17825     darwin* | rhapsody*)
   17826       case $host_os in
   17827         rhapsody* | darwin1.[012])
   17828          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17829          ;;
   17830        *) # Darwin 1.3 on
   17831          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17832            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17833          else
   17834            case ${MACOSX_DEPLOYMENT_TARGET} in
   17835              10.[012])
   17836                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17837                ;;
   17838              10.*)
   17839                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17840                ;;
   17841            esac
   17842          fi
   17843          ;;
   17844       esac
   17845       archive_cmds_need_lc_GCJ=no
   17846       hardcode_direct_GCJ=no
   17847       hardcode_automatic_GCJ=yes
   17848       hardcode_shlibpath_var_GCJ=unsupported
   17849       whole_archive_flag_spec_GCJ=''
   17850       link_all_deplibs_GCJ=yes
   17851     if test "$GCC" = yes ; then
   17852     	output_verbose_link_cmd='echo'
   17853         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}"
   17854         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17855         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}"
   17856         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}"
   17857     else
   17858       case $cc_basename in
   17859         xlc*)
   17860          output_verbose_link_cmd='echo'
   17861          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17862          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17863           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17864          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}'
   17865           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}'
   17866           ;;
   17867        *)
   17868          ld_shlibs_GCJ=no
   17869           ;;
   17870       esac
   17871     fi
   17872       ;;
   17873 
   17874     dgux*)
   17875       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17876       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17877       hardcode_shlibpath_var_GCJ=no
   17878       ;;
   17879 
   17880     freebsd1*)
   17881       ld_shlibs_GCJ=no
   17882       ;;
   17883 
   17884     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17885     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17886     # does not break anything, and helps significantly (at the cost of a little
   17887     # extra space).
   17888     freebsd2.2*)
   17889       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17890       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17891       hardcode_direct_GCJ=yes
   17892       hardcode_shlibpath_var_GCJ=no
   17893       ;;
   17894 
   17895     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17896     freebsd2*)
   17897       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17898       hardcode_direct_GCJ=yes
   17899       hardcode_minus_L_GCJ=yes
   17900       hardcode_shlibpath_var_GCJ=no
   17901       ;;
   17902 
   17903     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17904     freebsd* | dragonfly*)
   17905       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17906       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17907       hardcode_direct_GCJ=yes
   17908       hardcode_shlibpath_var_GCJ=no
   17909       ;;
   17910 
   17911     hpux9*)
   17912       if test "$GCC" = yes; then
   17913 	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'
   17914       else
   17915 	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'
   17916       fi
   17917       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17918       hardcode_libdir_separator_GCJ=:
   17919       hardcode_direct_GCJ=yes
   17920 
   17921       # hardcode_minus_L: Not really in the search PATH,
   17922       # but as the default location of the library.
   17923       hardcode_minus_L_GCJ=yes
   17924       export_dynamic_flag_spec_GCJ='${wl}-E'
   17925       ;;
   17926 
   17927     hpux10*)
   17928       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17929 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17930       else
   17931 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17932       fi
   17933       if test "$with_gnu_ld" = no; then
   17934 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17935 	hardcode_libdir_separator_GCJ=:
   17936 
   17937 	hardcode_direct_GCJ=yes
   17938 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17939 
   17940 	# hardcode_minus_L: Not really in the search PATH,
   17941 	# but as the default location of the library.
   17942 	hardcode_minus_L_GCJ=yes
   17943       fi
   17944       ;;
   17945 
   17946     hpux11*)
   17947       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17948 	case $host_cpu in
   17949 	hppa*64*)
   17950 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17951 	  ;;
   17952 	ia64*)
   17953 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17954 	  ;;
   17955 	*)
   17956 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17957 	  ;;
   17958 	esac
   17959       else
   17960 	case $host_cpu in
   17961 	hppa*64*)
   17962 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17963 	  ;;
   17964 	ia64*)
   17965 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17966 	  ;;
   17967 	*)
   17968 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17969 	  ;;
   17970 	esac
   17971       fi
   17972       if test "$with_gnu_ld" = no; then
   17973 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17974 	hardcode_libdir_separator_GCJ=:
   17975 
   17976 	case $host_cpu in
   17977 	hppa*64*|ia64*)
   17978 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17979 	  hardcode_direct_GCJ=no
   17980 	  hardcode_shlibpath_var_GCJ=no
   17981 	  ;;
   17982 	*)
   17983 	  hardcode_direct_GCJ=yes
   17984 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17985 
   17986 	  # hardcode_minus_L: Not really in the search PATH,
   17987 	  # but as the default location of the library.
   17988 	  hardcode_minus_L_GCJ=yes
   17989 	  ;;
   17990 	esac
   17991       fi
   17992       ;;
   17993 
   17994     irix5* | irix6* | nonstopux*)
   17995       if test "$GCC" = yes; then
   17996 	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'
   17997       else
   17998 	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'
   17999 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18000       fi
   18001       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18002       hardcode_libdir_separator_GCJ=:
   18003       link_all_deplibs_GCJ=yes
   18004       ;;
   18005 
   18006     netbsd* | netbsdelf*-gnu)
   18007       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18008 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18009       else
   18010 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18011       fi
   18012       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18013       hardcode_direct_GCJ=yes
   18014       hardcode_shlibpath_var_GCJ=no
   18015       ;;
   18016 
   18017     newsos6)
   18018       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18019       hardcode_direct_GCJ=yes
   18020       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18021       hardcode_libdir_separator_GCJ=:
   18022       hardcode_shlibpath_var_GCJ=no
   18023       ;;
   18024 
   18025     openbsd*)
   18026       if test -f /usr/libexec/ld.so; then
   18027 	hardcode_direct_GCJ=yes
   18028 	hardcode_shlibpath_var_GCJ=no
   18029 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18030 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18031 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18032 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18033 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18034 	else
   18035 	  case $host_os in
   18036 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18037 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18038 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18039 	     ;;
   18040 	   *)
   18041 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18042 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18043 	     ;;
   18044 	  esac
   18045         fi
   18046       else
   18047 	ld_shlibs_GCJ=no
   18048       fi
   18049       ;;
   18050 
   18051     os2*)
   18052       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18053       hardcode_minus_L_GCJ=yes
   18054       allow_undefined_flag_GCJ=unsupported
   18055       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'
   18056       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18057       ;;
   18058 
   18059     osf3*)
   18060       if test "$GCC" = yes; then
   18061 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18062 	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'
   18063       else
   18064 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18065 	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'
   18066       fi
   18067       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18068       hardcode_libdir_separator_GCJ=:
   18069       ;;
   18070 
   18071     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18072       if test "$GCC" = yes; then
   18073 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18074 	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'
   18075 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18076       else
   18077 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18078 	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'
   18079 	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~
   18080 	$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'
   18081 
   18082 	# Both c and cxx compiler support -rpath directly
   18083 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18084       fi
   18085       hardcode_libdir_separator_GCJ=:
   18086       ;;
   18087 
   18088     solaris*)
   18089       no_undefined_flag_GCJ=' -z text'
   18090       if test "$GCC" = yes; then
   18091 	wlarc='${wl}'
   18092 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18093 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18094 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18095       else
   18096 	wlarc=''
   18097 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18098 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18099   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18100       fi
   18101       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18102       hardcode_shlibpath_var_GCJ=no
   18103       case $host_os in
   18104       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18105       *)
   18106 	# The compiler driver will combine and reorder linker options,
   18107 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18108 	# but is careful enough not to reorder.
   18109  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18110 	if test "$GCC" = yes; then
   18111 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18112 	else
   18113 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18114 	fi
   18115 	;;
   18116       esac
   18117       link_all_deplibs_GCJ=yes
   18118       ;;
   18119 
   18120     sunos4*)
   18121       if test "x$host_vendor" = xsequent; then
   18122 	# Use $CC to link under sequent, because it throws in some extra .o
   18123 	# files that make .init and .fini sections work.
   18124 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18125       else
   18126 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18127       fi
   18128       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18129       hardcode_direct_GCJ=yes
   18130       hardcode_minus_L_GCJ=yes
   18131       hardcode_shlibpath_var_GCJ=no
   18132       ;;
   18133 
   18134     sysv4)
   18135       case $host_vendor in
   18136 	sni)
   18137 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18138 	  hardcode_direct_GCJ=yes # is this really true???
   18139 	;;
   18140 	siemens)
   18141 	  ## LD is ld it makes a PLAMLIB
   18142 	  ## CC just makes a GrossModule.
   18143 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18144 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18145 	  hardcode_direct_GCJ=no
   18146         ;;
   18147 	motorola)
   18148 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18149 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18150 	;;
   18151       esac
   18152       runpath_var='LD_RUN_PATH'
   18153       hardcode_shlibpath_var_GCJ=no
   18154       ;;
   18155 
   18156     sysv4.3*)
   18157       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18158       hardcode_shlibpath_var_GCJ=no
   18159       export_dynamic_flag_spec_GCJ='-Bexport'
   18160       ;;
   18161 
   18162     sysv4*MP*)
   18163       if test -d /usr/nec; then
   18164 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18165 	hardcode_shlibpath_var_GCJ=no
   18166 	runpath_var=LD_RUN_PATH
   18167 	hardcode_runpath_var=yes
   18168 	ld_shlibs_GCJ=yes
   18169       fi
   18170       ;;
   18171 
   18172     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18173       no_undefined_flag_GCJ='${wl}-z,text'
   18174       archive_cmds_need_lc_GCJ=no
   18175       hardcode_shlibpath_var_GCJ=no
   18176       runpath_var='LD_RUN_PATH'
   18177 
   18178       if test "$GCC" = yes; then
   18179 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18180 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18181       else
   18182 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18183 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18184       fi
   18185       ;;
   18186 
   18187     sysv5* | sco3.2v5* | sco5v6*)
   18188       # Note: We can NOT use -z defs as we might desire, because we do not
   18189       # link with -lc, and that would cause any symbols used from libc to
   18190       # always be unresolved, which means just about no library would
   18191       # ever link correctly.  If we're not using GNU ld we use -z text
   18192       # though, which does catch some bad symbols but isn't as heavy-handed
   18193       # as -z defs.
   18194       no_undefined_flag_GCJ='${wl}-z,text'
   18195       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18196       archive_cmds_need_lc_GCJ=no
   18197       hardcode_shlibpath_var_GCJ=no
   18198       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18199       hardcode_libdir_separator_GCJ=':'
   18200       link_all_deplibs_GCJ=yes
   18201       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18202       runpath_var='LD_RUN_PATH'
   18203 
   18204       if test "$GCC" = yes; then
   18205 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18206 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18207       else
   18208 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18209 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18210       fi
   18211       ;;
   18212 
   18213     uts4*)
   18214       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18215       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18216       hardcode_shlibpath_var_GCJ=no
   18217       ;;
   18218 
   18219     *)
   18220       ld_shlibs_GCJ=no
   18221       ;;
   18222     esac
   18223   fi
   18224 
   18225 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18226 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18227 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18228 
   18229 #
   18230 # Do we need to explicitly link libc?
   18231 #
   18232 case "x$archive_cmds_need_lc_GCJ" in
   18233 x|xyes)
   18234   # Assume -lc should be added
   18235   archive_cmds_need_lc_GCJ=yes
   18236 
   18237   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18238     case $archive_cmds_GCJ in
   18239     *'~'*)
   18240       # FIXME: we may have to deal with multi-command sequences.
   18241       ;;
   18242     '$CC '*)
   18243       # Test whether the compiler implicitly links with -lc since on some
   18244       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18245       # to ld, don't add -lc before -lgcc.
   18246       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18247 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18248       $rm conftest*
   18249       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18250 
   18251       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18252   (eval $ac_compile) 2>&5
   18253   ac_status=$?
   18254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18255   (exit $ac_status); } 2>conftest.err; then
   18256         soname=conftest
   18257         lib=conftest
   18258         libobjs=conftest.$ac_objext
   18259         deplibs=
   18260         wl=$lt_prog_compiler_wl_GCJ
   18261 	pic_flag=$lt_prog_compiler_pic_GCJ
   18262         compiler_flags=-v
   18263         linker_flags=-v
   18264         verstring=
   18265         output_objdir=.
   18266         libname=conftest
   18267         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18268         allow_undefined_flag_GCJ=
   18269         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18270   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18271   ac_status=$?
   18272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18273   (exit $ac_status); }
   18274         then
   18275 	  archive_cmds_need_lc_GCJ=no
   18276         else
   18277 	  archive_cmds_need_lc_GCJ=yes
   18278         fi
   18279         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18280       else
   18281         cat conftest.err 1>&5
   18282       fi
   18283       $rm conftest*
   18284       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18285 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18286       ;;
   18287     esac
   18288   fi
   18289   ;;
   18290 esac
   18291 
   18292 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18293 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18294 library_names_spec=
   18295 libname_spec='lib$name'
   18296 soname_spec=
   18297 shrext_cmds=".so"
   18298 postinstall_cmds=
   18299 postuninstall_cmds=
   18300 finish_cmds=
   18301 finish_eval=
   18302 shlibpath_var=
   18303 shlibpath_overrides_runpath=unknown
   18304 version_type=none
   18305 dynamic_linker="$host_os ld.so"
   18306 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18307 
   18308 need_lib_prefix=unknown
   18309 hardcode_into_libs=no
   18310 
   18311 # when you set need_version to no, make sure it does not cause -set_version
   18312 # flags to be left without arguments
   18313 need_version=unknown
   18314 
   18315 case $host_os in
   18316 aix3*)
   18317   version_type=linux
   18318   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18319   shlibpath_var=LIBPATH
   18320 
   18321   # AIX 3 has no versioning support, so we append a major version to the name.
   18322   soname_spec='${libname}${release}${shared_ext}$major'
   18323   ;;
   18324 
   18325 aix[4-9]*)
   18326   version_type=linux
   18327   need_lib_prefix=no
   18328   need_version=no
   18329   hardcode_into_libs=yes
   18330   if test "$host_cpu" = ia64; then
   18331     # AIX 5 supports IA64
   18332     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18333     shlibpath_var=LD_LIBRARY_PATH
   18334   else
   18335     # With GCC up to 2.95.x, collect2 would create an import file
   18336     # for dependence libraries.  The import file would start with
   18337     # the line `#! .'.  This would cause the generated library to
   18338     # depend on `.', always an invalid library.  This was fixed in
   18339     # development snapshots of GCC prior to 3.0.
   18340     case $host_os in
   18341       aix4 | aix4.[01] | aix4.[01].*)
   18342       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18343 	   echo ' yes '
   18344 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18345 	:
   18346       else
   18347 	can_build_shared=no
   18348       fi
   18349       ;;
   18350     esac
   18351     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18352     # soname into executable. Probably we can add versioning support to
   18353     # collect2, so additional links can be useful in future.
   18354     if test "$aix_use_runtimelinking" = yes; then
   18355       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18356       # instead of lib<name>.a to let people know that these are not
   18357       # typical AIX shared libraries.
   18358       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18359     else
   18360       # We preserve .a as extension for shared libraries through AIX4.2
   18361       # and later when we are not doing run time linking.
   18362       library_names_spec='${libname}${release}.a $libname.a'
   18363       soname_spec='${libname}${release}${shared_ext}$major'
   18364     fi
   18365     shlibpath_var=LIBPATH
   18366   fi
   18367   ;;
   18368 
   18369 amigaos*)
   18370   library_names_spec='$libname.ixlibrary $libname.a'
   18371   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18372   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'
   18373   ;;
   18374 
   18375 beos*)
   18376   library_names_spec='${libname}${shared_ext}'
   18377   dynamic_linker="$host_os ld.so"
   18378   shlibpath_var=LIBRARY_PATH
   18379   ;;
   18380 
   18381 bsdi[45]*)
   18382   version_type=linux
   18383   need_version=no
   18384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18385   soname_spec='${libname}${release}${shared_ext}$major'
   18386   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18387   shlibpath_var=LD_LIBRARY_PATH
   18388   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18389   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18390   # the default ld.so.conf also contains /usr/contrib/lib and
   18391   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18392   # libtool to hard-code these into programs
   18393   ;;
   18394 
   18395 cygwin* | mingw* | pw32*)
   18396   version_type=windows
   18397   shrext_cmds=".dll"
   18398   need_version=no
   18399   need_lib_prefix=no
   18400 
   18401   case $GCC,$host_os in
   18402   yes,cygwin* | yes,mingw* | yes,pw32*)
   18403     library_names_spec='$libname.dll.a'
   18404     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18405     postinstall_cmds='base_file=`basename \${file}`~
   18406       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18407       dldir=$destdir/`dirname \$dlpath`~
   18408       test -d \$dldir || mkdir -p \$dldir~
   18409       $install_prog $dir/$dlname \$dldir/$dlname~
   18410       chmod a+x \$dldir/$dlname'
   18411     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18412       dlpath=$dir/\$dldll~
   18413        $rm \$dlpath'
   18414     shlibpath_overrides_runpath=yes
   18415 
   18416     case $host_os in
   18417     cygwin*)
   18418       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18419       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18420       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18421       ;;
   18422     mingw*)
   18423       # MinGW DLLs use traditional 'lib' prefix
   18424       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18425       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18426       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18427         # It is most probably a Windows format PATH printed by
   18428         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18429         # path with ; separators, and with drive letters. We can handle the
   18430         # drive letters (cygwin fileutils understands them), so leave them,
   18431         # especially as we might pass files found there to a mingw objdump,
   18432         # which wouldn't understand a cygwinified path. Ahh.
   18433         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18434       else
   18435         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18436       fi
   18437       ;;
   18438     pw32*)
   18439       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18440       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18441       ;;
   18442     esac
   18443     ;;
   18444 
   18445   *)
   18446     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18447     ;;
   18448   esac
   18449   dynamic_linker='Win32 ld.exe'
   18450   # FIXME: first we should search . and the directory the executable is in
   18451   shlibpath_var=PATH
   18452   ;;
   18453 
   18454 darwin* | rhapsody*)
   18455   dynamic_linker="$host_os dyld"
   18456   version_type=darwin
   18457   need_lib_prefix=no
   18458   need_version=no
   18459   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18460   soname_spec='${libname}${release}${major}$shared_ext'
   18461   shlibpath_overrides_runpath=yes
   18462   shlibpath_var=DYLD_LIBRARY_PATH
   18463   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18464 
   18465   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18466   ;;
   18467 
   18468 dgux*)
   18469   version_type=linux
   18470   need_lib_prefix=no
   18471   need_version=no
   18472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18473   soname_spec='${libname}${release}${shared_ext}$major'
   18474   shlibpath_var=LD_LIBRARY_PATH
   18475   ;;
   18476 
   18477 freebsd1*)
   18478   dynamic_linker=no
   18479   ;;
   18480 
   18481 freebsd* | dragonfly*)
   18482   # DragonFly does not have aout.  When/if they implement a new
   18483   # versioning mechanism, adjust this.
   18484   if test -x /usr/bin/objformat; then
   18485     objformat=`/usr/bin/objformat`
   18486   else
   18487     case $host_os in
   18488     freebsd[123]*) objformat=aout ;;
   18489     *) objformat=elf ;;
   18490     esac
   18491   fi
   18492   version_type=freebsd-$objformat
   18493   case $version_type in
   18494     freebsd-elf*)
   18495       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18496       need_version=no
   18497       need_lib_prefix=no
   18498       ;;
   18499     freebsd-*)
   18500       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18501       need_version=yes
   18502       ;;
   18503   esac
   18504   shlibpath_var=LD_LIBRARY_PATH
   18505   case $host_os in
   18506   freebsd2*)
   18507     shlibpath_overrides_runpath=yes
   18508     ;;
   18509   freebsd3.[01]* | freebsdelf3.[01]*)
   18510     shlibpath_overrides_runpath=yes
   18511     hardcode_into_libs=yes
   18512     ;;
   18513   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18514   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18515     shlibpath_overrides_runpath=no
   18516     hardcode_into_libs=yes
   18517     ;;
   18518   *) # from 4.6 on, and DragonFly
   18519     shlibpath_overrides_runpath=yes
   18520     hardcode_into_libs=yes
   18521     ;;
   18522   esac
   18523   ;;
   18524 
   18525 gnu*)
   18526   version_type=linux
   18527   need_lib_prefix=no
   18528   need_version=no
   18529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18530   soname_spec='${libname}${release}${shared_ext}$major'
   18531   shlibpath_var=LD_LIBRARY_PATH
   18532   hardcode_into_libs=yes
   18533   ;;
   18534 
   18535 hpux9* | hpux10* | hpux11*)
   18536   # Give a soname corresponding to the major version so that dld.sl refuses to
   18537   # link against other versions.
   18538   version_type=sunos
   18539   need_lib_prefix=no
   18540   need_version=no
   18541   case $host_cpu in
   18542   ia64*)
   18543     shrext_cmds='.so'
   18544     hardcode_into_libs=yes
   18545     dynamic_linker="$host_os dld.so"
   18546     shlibpath_var=LD_LIBRARY_PATH
   18547     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18549     soname_spec='${libname}${release}${shared_ext}$major'
   18550     if test "X$HPUX_IA64_MODE" = X32; then
   18551       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18552     else
   18553       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18554     fi
   18555     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18556     ;;
   18557    hppa*64*)
   18558      shrext_cmds='.sl'
   18559      hardcode_into_libs=yes
   18560      dynamic_linker="$host_os dld.sl"
   18561      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18562      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18563      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18564      soname_spec='${libname}${release}${shared_ext}$major'
   18565      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18566      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18567      ;;
   18568    *)
   18569     shrext_cmds='.sl'
   18570     dynamic_linker="$host_os dld.sl"
   18571     shlibpath_var=SHLIB_PATH
   18572     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18573     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18574     soname_spec='${libname}${release}${shared_ext}$major'
   18575     ;;
   18576   esac
   18577   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18578   postinstall_cmds='chmod 555 $lib'
   18579   ;;
   18580 
   18581 interix[3-9]*)
   18582   version_type=linux
   18583   need_lib_prefix=no
   18584   need_version=no
   18585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18586   soname_spec='${libname}${release}${shared_ext}$major'
   18587   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18588   shlibpath_var=LD_LIBRARY_PATH
   18589   shlibpath_overrides_runpath=no
   18590   hardcode_into_libs=yes
   18591   ;;
   18592 
   18593 irix5* | irix6* | nonstopux*)
   18594   case $host_os in
   18595     nonstopux*) version_type=nonstopux ;;
   18596     *)
   18597 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18598 		version_type=linux
   18599 	else
   18600 		version_type=irix
   18601 	fi ;;
   18602   esac
   18603   need_lib_prefix=no
   18604   need_version=no
   18605   soname_spec='${libname}${release}${shared_ext}$major'
   18606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18607   case $host_os in
   18608   irix5* | nonstopux*)
   18609     libsuff= shlibsuff=
   18610     ;;
   18611   *)
   18612     case $LD in # libtool.m4 will add one of these switches to LD
   18613     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18614       libsuff= shlibsuff= libmagic=32-bit;;
   18615     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18616       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18617     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18618       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18619     *) libsuff= shlibsuff= libmagic=never-match;;
   18620     esac
   18621     ;;
   18622   esac
   18623   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18624   shlibpath_overrides_runpath=no
   18625   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18626   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18627   hardcode_into_libs=yes
   18628   ;;
   18629 
   18630 # No shared lib support for Linux oldld, aout, or coff.
   18631 linux*oldld* | linux*aout* | linux*coff*)
   18632   dynamic_linker=no
   18633   ;;
   18634 
   18635 # This must be Linux ELF.
   18636 linux* | k*bsd*-gnu)
   18637   version_type=linux
   18638   need_lib_prefix=no
   18639   need_version=no
   18640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18641   soname_spec='${libname}${release}${shared_ext}$major'
   18642   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18643   shlibpath_var=LD_LIBRARY_PATH
   18644   shlibpath_overrides_runpath=no
   18645   # This implies no fast_install, which is unacceptable.
   18646   # Some rework will be needed to allow for fast_install
   18647   # before this can be enabled.
   18648   hardcode_into_libs=yes
   18649 
   18650   # Append ld.so.conf contents to the search path
   18651   if test -f /etc/ld.so.conf; then
   18652     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' ' '`
   18653     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18654   fi
   18655 
   18656   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18657   # powerpc, because MkLinux only supported shared libraries with the
   18658   # GNU dynamic linker.  Since this was broken with cross compilers,
   18659   # most powerpc-linux boxes support dynamic linking these days and
   18660   # people can always --disable-shared, the test was removed, and we
   18661   # assume the GNU/Linux dynamic linker is in use.
   18662   dynamic_linker='GNU/Linux ld.so'
   18663   ;;
   18664 
   18665 netbsdelf*-gnu)
   18666   version_type=linux
   18667   need_lib_prefix=no
   18668   need_version=no
   18669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18670   soname_spec='${libname}${release}${shared_ext}$major'
   18671   shlibpath_var=LD_LIBRARY_PATH
   18672   shlibpath_overrides_runpath=no
   18673   hardcode_into_libs=yes
   18674   dynamic_linker='NetBSD ld.elf_so'
   18675   ;;
   18676 
   18677 netbsd*)
   18678   version_type=sunos
   18679   need_lib_prefix=no
   18680   need_version=no
   18681   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18682     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18683     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18684     dynamic_linker='NetBSD (a.out) ld.so'
   18685   else
   18686     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18687     soname_spec='${libname}${release}${shared_ext}$major'
   18688     dynamic_linker='NetBSD ld.elf_so'
   18689   fi
   18690   shlibpath_var=LD_LIBRARY_PATH
   18691   shlibpath_overrides_runpath=yes
   18692   hardcode_into_libs=yes
   18693   ;;
   18694 
   18695 newsos6)
   18696   version_type=linux
   18697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18698   shlibpath_var=LD_LIBRARY_PATH
   18699   shlibpath_overrides_runpath=yes
   18700   ;;
   18701 
   18702 nto-qnx*)
   18703   version_type=linux
   18704   need_lib_prefix=no
   18705   need_version=no
   18706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18707   soname_spec='${libname}${release}${shared_ext}$major'
   18708   shlibpath_var=LD_LIBRARY_PATH
   18709   shlibpath_overrides_runpath=yes
   18710   ;;
   18711 
   18712 openbsd*)
   18713   version_type=sunos
   18714   sys_lib_dlsearch_path_spec="/usr/lib"
   18715   need_lib_prefix=no
   18716   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18717   case $host_os in
   18718     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18719     *)                         need_version=no  ;;
   18720   esac
   18721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18722   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18723   shlibpath_var=LD_LIBRARY_PATH
   18724   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18725     case $host_os in
   18726       openbsd2.[89] | openbsd2.[89].*)
   18727 	shlibpath_overrides_runpath=no
   18728 	;;
   18729       *)
   18730 	shlibpath_overrides_runpath=yes
   18731 	;;
   18732       esac
   18733   else
   18734     shlibpath_overrides_runpath=yes
   18735   fi
   18736   ;;
   18737 
   18738 os2*)
   18739   libname_spec='$name'
   18740   shrext_cmds=".dll"
   18741   need_lib_prefix=no
   18742   library_names_spec='$libname${shared_ext} $libname.a'
   18743   dynamic_linker='OS/2 ld.exe'
   18744   shlibpath_var=LIBPATH
   18745   ;;
   18746 
   18747 osf3* | osf4* | osf5*)
   18748   version_type=osf
   18749   need_lib_prefix=no
   18750   need_version=no
   18751   soname_spec='${libname}${release}${shared_ext}$major'
   18752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18753   shlibpath_var=LD_LIBRARY_PATH
   18754   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18755   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18756   ;;
   18757 
   18758 rdos*)
   18759   dynamic_linker=no
   18760   ;;
   18761 
   18762 solaris*)
   18763   version_type=linux
   18764   need_lib_prefix=no
   18765   need_version=no
   18766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18767   soname_spec='${libname}${release}${shared_ext}$major'
   18768   shlibpath_var=LD_LIBRARY_PATH
   18769   shlibpath_overrides_runpath=yes
   18770   hardcode_into_libs=yes
   18771   # ldd complains unless libraries are executable
   18772   postinstall_cmds='chmod +x $lib'
   18773   ;;
   18774 
   18775 sunos4*)
   18776   version_type=sunos
   18777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18778   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18779   shlibpath_var=LD_LIBRARY_PATH
   18780   shlibpath_overrides_runpath=yes
   18781   if test "$with_gnu_ld" = yes; then
   18782     need_lib_prefix=no
   18783   fi
   18784   need_version=yes
   18785   ;;
   18786 
   18787 sysv4 | sysv4.3*)
   18788   version_type=linux
   18789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18790   soname_spec='${libname}${release}${shared_ext}$major'
   18791   shlibpath_var=LD_LIBRARY_PATH
   18792   case $host_vendor in
   18793     sni)
   18794       shlibpath_overrides_runpath=no
   18795       need_lib_prefix=no
   18796       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18797       runpath_var=LD_RUN_PATH
   18798       ;;
   18799     siemens)
   18800       need_lib_prefix=no
   18801       ;;
   18802     motorola)
   18803       need_lib_prefix=no
   18804       need_version=no
   18805       shlibpath_overrides_runpath=no
   18806       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18807       ;;
   18808   esac
   18809   ;;
   18810 
   18811 sysv4*MP*)
   18812   if test -d /usr/nec ;then
   18813     version_type=linux
   18814     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18815     soname_spec='$libname${shared_ext}.$major'
   18816     shlibpath_var=LD_LIBRARY_PATH
   18817   fi
   18818   ;;
   18819 
   18820 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18821   version_type=freebsd-elf
   18822   need_lib_prefix=no
   18823   need_version=no
   18824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18825   soname_spec='${libname}${release}${shared_ext}$major'
   18826   shlibpath_var=LD_LIBRARY_PATH
   18827   hardcode_into_libs=yes
   18828   if test "$with_gnu_ld" = yes; then
   18829     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18830     shlibpath_overrides_runpath=no
   18831   else
   18832     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18833     shlibpath_overrides_runpath=yes
   18834     case $host_os in
   18835       sco3.2v5*)
   18836         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18837 	;;
   18838     esac
   18839   fi
   18840   sys_lib_dlsearch_path_spec='/usr/lib'
   18841   ;;
   18842 
   18843 uts4*)
   18844   version_type=linux
   18845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18846   soname_spec='${libname}${release}${shared_ext}$major'
   18847   shlibpath_var=LD_LIBRARY_PATH
   18848   ;;
   18849 
   18850 *)
   18851   dynamic_linker=no
   18852   ;;
   18853 esac
   18854 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18855 echo "${ECHO_T}$dynamic_linker" >&6; }
   18856 test "$dynamic_linker" = no && can_build_shared=no
   18857 
   18858 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   18859   echo $ECHO_N "(cached) $ECHO_C" >&6
   18860 else
   18861   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   18862 fi
   18863 
   18864 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   18865 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   18866   echo $ECHO_N "(cached) $ECHO_C" >&6
   18867 else
   18868   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   18869 fi
   18870 
   18871 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   18872 
   18873 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18874 if test "$GCC" = yes; then
   18875   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18876 fi
   18877 
   18878 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18879 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18880 hardcode_action_GCJ=
   18881 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18882    test -n "$runpath_var_GCJ" || \
   18883    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18884 
   18885   # We can hardcode non-existant directories.
   18886   if test "$hardcode_direct_GCJ" != no &&
   18887      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18888      # have to relink, otherwise we might link with an installed library
   18889      # when we should be linking with a yet-to-be-installed one
   18890      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18891      test "$hardcode_minus_L_GCJ" != no; then
   18892     # Linking always hardcodes the temporary library directory.
   18893     hardcode_action_GCJ=relink
   18894   else
   18895     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18896     hardcode_action_GCJ=immediate
   18897   fi
   18898 else
   18899   # We cannot hardcode anything, or else we can only hardcode existing
   18900   # directories.
   18901   hardcode_action_GCJ=unsupported
   18902 fi
   18903 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18904 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18905 
   18906 if test "$hardcode_action_GCJ" = relink; then
   18907   # Fast installation is not supported
   18908   enable_fast_install=no
   18909 elif test "$shlibpath_overrides_runpath" = yes ||
   18910      test "$enable_shared" = no; then
   18911   # Fast installation is not necessary
   18912   enable_fast_install=needless
   18913 fi
   18914 
   18915 
   18916 # The else clause should only fire when bootstrapping the
   18917 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18918 # with your package, and you will get complaints that there are
   18919 # no rules to generate ltmain.sh.
   18920 if test -f "$ltmain"; then
   18921   # See if we are running on zsh, and set the options which allow our commands through
   18922   # without removal of \ escapes.
   18923   if test -n "${ZSH_VERSION+set}" ; then
   18924     setopt NO_GLOB_SUBST
   18925   fi
   18926   # Now quote all the things that may contain metacharacters while being
   18927   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18928   # variables and quote the copies for generation of the libtool script.
   18929   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18930     SED SHELL STRIP \
   18931     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18932     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18933     deplibs_check_method reload_flag reload_cmds need_locks \
   18934     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18935     lt_cv_sys_global_symbol_to_c_name_address \
   18936     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18937     old_postinstall_cmds old_postuninstall_cmds \
   18938     compiler_GCJ \
   18939     CC_GCJ \
   18940     LD_GCJ \
   18941     lt_prog_compiler_wl_GCJ \
   18942     lt_prog_compiler_pic_GCJ \
   18943     lt_prog_compiler_static_GCJ \
   18944     lt_prog_compiler_no_builtin_flag_GCJ \
   18945     export_dynamic_flag_spec_GCJ \
   18946     thread_safe_flag_spec_GCJ \
   18947     whole_archive_flag_spec_GCJ \
   18948     enable_shared_with_static_runtimes_GCJ \
   18949     old_archive_cmds_GCJ \
   18950     old_archive_from_new_cmds_GCJ \
   18951     predep_objects_GCJ \
   18952     postdep_objects_GCJ \
   18953     predeps_GCJ \
   18954     postdeps_GCJ \
   18955     compiler_lib_search_path_GCJ \
   18956     compiler_lib_search_dirs_GCJ \
   18957     archive_cmds_GCJ \
   18958     archive_expsym_cmds_GCJ \
   18959     postinstall_cmds_GCJ \
   18960     postuninstall_cmds_GCJ \
   18961     old_archive_from_expsyms_cmds_GCJ \
   18962     allow_undefined_flag_GCJ \
   18963     no_undefined_flag_GCJ \
   18964     export_symbols_cmds_GCJ \
   18965     hardcode_libdir_flag_spec_GCJ \
   18966     hardcode_libdir_flag_spec_ld_GCJ \
   18967     hardcode_libdir_separator_GCJ \
   18968     hardcode_automatic_GCJ \
   18969     module_cmds_GCJ \
   18970     module_expsym_cmds_GCJ \
   18971     lt_cv_prog_compiler_c_o_GCJ \
   18972     fix_srcfile_path_GCJ \
   18973     exclude_expsyms_GCJ \
   18974     include_expsyms_GCJ; do
   18975 
   18976     case $var in
   18977     old_archive_cmds_GCJ | \
   18978     old_archive_from_new_cmds_GCJ | \
   18979     archive_cmds_GCJ | \
   18980     archive_expsym_cmds_GCJ | \
   18981     module_cmds_GCJ | \
   18982     module_expsym_cmds_GCJ | \
   18983     old_archive_from_expsyms_cmds_GCJ | \
   18984     export_symbols_cmds_GCJ | \
   18985     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18986     postinstall_cmds | postuninstall_cmds | \
   18987     old_postinstall_cmds | old_postuninstall_cmds | \
   18988     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18989       # Double-quote double-evaled strings.
   18990       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18991       ;;
   18992     *)
   18993       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18994       ;;
   18995     esac
   18996   done
   18997 
   18998   case $lt_echo in
   18999   *'\$0 --fallback-echo"')
   19000     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19001     ;;
   19002   esac
   19003 
   19004 cfgfile="$ofile"
   19005 
   19006   cat <<__EOF__ >> "$cfgfile"
   19007 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19008 
   19009 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19010 
   19011 # Shell to use when invoking shell scripts.
   19012 SHELL=$lt_SHELL
   19013 
   19014 # Whether or not to build shared libraries.
   19015 build_libtool_libs=$enable_shared
   19016 
   19017 # Whether or not to build static libraries.
   19018 build_old_libs=$enable_static
   19019 
   19020 # Whether or not to add -lc for building shared libraries.
   19021 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19022 
   19023 # Whether or not to disallow shared libs when runtime libs are static
   19024 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19025 
   19026 # Whether or not to optimize for fast installation.
   19027 fast_install=$enable_fast_install
   19028 
   19029 # The host system.
   19030 host_alias=$host_alias
   19031 host=$host
   19032 host_os=$host_os
   19033 
   19034 # The build system.
   19035 build_alias=$build_alias
   19036 build=$build
   19037 build_os=$build_os
   19038 
   19039 # An echo program that does not interpret backslashes.
   19040 echo=$lt_echo
   19041 
   19042 # The archiver.
   19043 AR=$lt_AR
   19044 AR_FLAGS=$lt_AR_FLAGS
   19045 
   19046 # A C compiler.
   19047 LTCC=$lt_LTCC
   19048 
   19049 # LTCC compiler flags.
   19050 LTCFLAGS=$lt_LTCFLAGS
   19051 
   19052 # A language-specific compiler.
   19053 CC=$lt_compiler_GCJ
   19054 
   19055 # Is the compiler the GNU C compiler?
   19056 with_gcc=$GCC_GCJ
   19057 
   19058 # An ERE matcher.
   19059 EGREP=$lt_EGREP
   19060 
   19061 # The linker used to build libraries.
   19062 LD=$lt_LD_GCJ
   19063 
   19064 # Whether we need hard or soft links.
   19065 LN_S=$lt_LN_S
   19066 
   19067 # A BSD-compatible nm program.
   19068 NM=$lt_NM
   19069 
   19070 # A symbol stripping program
   19071 STRIP=$lt_STRIP
   19072 
   19073 # Used to examine libraries when file_magic_cmd begins "file"
   19074 MAGIC_CMD=$MAGIC_CMD
   19075 
   19076 # Used on cygwin: DLL creation program.
   19077 DLLTOOL="$DLLTOOL"
   19078 
   19079 # Used on cygwin: object dumper.
   19080 OBJDUMP="$OBJDUMP"
   19081 
   19082 # Used on cygwin: assembler.
   19083 AS="$AS"
   19084 
   19085 # The name of the directory that contains temporary libtool files.
   19086 objdir=$objdir
   19087 
   19088 # How to create reloadable object files.
   19089 reload_flag=$lt_reload_flag
   19090 reload_cmds=$lt_reload_cmds
   19091 
   19092 # How to pass a linker flag through the compiler.
   19093 wl=$lt_lt_prog_compiler_wl_GCJ
   19094 
   19095 # Object file suffix (normally "o").
   19096 objext="$ac_objext"
   19097 
   19098 # Old archive suffix (normally "a").
   19099 libext="$libext"
   19100 
   19101 # Shared library suffix (normally ".so").
   19102 shrext_cmds='$shrext_cmds'
   19103 
   19104 # Executable file suffix (normally "").
   19105 exeext="$exeext"
   19106 
   19107 # Additional compiler flags for building library objects.
   19108 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19109 pic_mode=$pic_mode
   19110 
   19111 # What is the maximum length of a command?
   19112 max_cmd_len=$lt_cv_sys_max_cmd_len
   19113 
   19114 # Does compiler simultaneously support -c and -o options?
   19115 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19116 
   19117 # Must we lock files when doing compilation?
   19118 need_locks=$lt_need_locks
   19119 
   19120 # Do we need the lib prefix for modules?
   19121 need_lib_prefix=$need_lib_prefix
   19122 
   19123 # Do we need a version for libraries?
   19124 need_version=$need_version
   19125 
   19126 # Whether dlopen is supported.
   19127 dlopen_support=$enable_dlopen
   19128 
   19129 # Whether dlopen of programs is supported.
   19130 dlopen_self=$enable_dlopen_self
   19131 
   19132 # Whether dlopen of statically linked programs is supported.
   19133 dlopen_self_static=$enable_dlopen_self_static
   19134 
   19135 # Compiler flag to prevent dynamic linking.
   19136 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19137 
   19138 # Compiler flag to turn off builtin functions.
   19139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19140 
   19141 # Compiler flag to allow reflexive dlopens.
   19142 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19143 
   19144 # Compiler flag to generate shared objects directly from archives.
   19145 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19146 
   19147 # Compiler flag to generate thread-safe objects.
   19148 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19149 
   19150 # Library versioning type.
   19151 version_type=$version_type
   19152 
   19153 # Format of library name prefix.
   19154 libname_spec=$lt_libname_spec
   19155 
   19156 # List of archive names.  First name is the real one, the rest are links.
   19157 # The last name is the one that the linker finds with -lNAME.
   19158 library_names_spec=$lt_library_names_spec
   19159 
   19160 # The coded name of the library, if different from the real name.
   19161 soname_spec=$lt_soname_spec
   19162 
   19163 # Commands used to build and install an old-style archive.
   19164 RANLIB=$lt_RANLIB
   19165 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19166 old_postinstall_cmds=$lt_old_postinstall_cmds
   19167 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19168 
   19169 # Create an old-style archive from a shared archive.
   19170 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19171 
   19172 # Create a temporary old-style archive to link instead of a shared archive.
   19173 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19174 
   19175 # Commands used to build and install a shared archive.
   19176 archive_cmds=$lt_archive_cmds_GCJ
   19177 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19178 postinstall_cmds=$lt_postinstall_cmds
   19179 postuninstall_cmds=$lt_postuninstall_cmds
   19180 
   19181 # Commands used to build a loadable module (assumed same as above if empty)
   19182 module_cmds=$lt_module_cmds_GCJ
   19183 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19184 
   19185 # Commands to strip libraries.
   19186 old_striplib=$lt_old_striplib
   19187 striplib=$lt_striplib
   19188 
   19189 # Dependencies to place before the objects being linked to create a
   19190 # shared library.
   19191 predep_objects=$lt_predep_objects_GCJ
   19192 
   19193 # Dependencies to place after the objects being linked to create a
   19194 # shared library.
   19195 postdep_objects=$lt_postdep_objects_GCJ
   19196 
   19197 # Dependencies to place before the objects being linked to create a
   19198 # shared library.
   19199 predeps=$lt_predeps_GCJ
   19200 
   19201 # Dependencies to place after the objects being linked to create a
   19202 # shared library.
   19203 postdeps=$lt_postdeps_GCJ
   19204 
   19205 # The directories searched by this compiler when creating a shared
   19206 # library
   19207 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19208 
   19209 # The library search path used internally by the compiler when linking
   19210 # a shared library.
   19211 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19212 
   19213 # Method to check whether dependent libraries are shared objects.
   19214 deplibs_check_method=$lt_deplibs_check_method
   19215 
   19216 # Command to use when deplibs_check_method == file_magic.
   19217 file_magic_cmd=$lt_file_magic_cmd
   19218 
   19219 # Flag that allows shared libraries with undefined symbols to be built.
   19220 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19221 
   19222 # Flag that forces no undefined symbols.
   19223 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19224 
   19225 # Commands used to finish a libtool library installation in a directory.
   19226 finish_cmds=$lt_finish_cmds
   19227 
   19228 # Same as above, but a single script fragment to be evaled but not shown.
   19229 finish_eval=$lt_finish_eval
   19230 
   19231 # Take the output of nm and produce a listing of raw symbols and C names.
   19232 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19233 
   19234 # Transform the output of nm in a proper C declaration
   19235 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19236 
   19237 # Transform the output of nm in a C name address pair
   19238 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19239 
   19240 # This is the shared library runtime path variable.
   19241 runpath_var=$runpath_var
   19242 
   19243 # This is the shared library path variable.
   19244 shlibpath_var=$shlibpath_var
   19245 
   19246 # Is shlibpath searched before the hard-coded library search path?
   19247 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19248 
   19249 # How to hardcode a shared library path into an executable.
   19250 hardcode_action=$hardcode_action_GCJ
   19251 
   19252 # Whether we should hardcode library paths into libraries.
   19253 hardcode_into_libs=$hardcode_into_libs
   19254 
   19255 # Flag to hardcode \$libdir into a binary during linking.
   19256 # This must work even if \$libdir does not exist.
   19257 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19258 
   19259 # If ld is used when linking, flag to hardcode \$libdir into
   19260 # a binary during linking. This must work even if \$libdir does
   19261 # not exist.
   19262 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19263 
   19264 # Whether we need a single -rpath flag with a separated argument.
   19265 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19266 
   19267 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19268 # resulting binary.
   19269 hardcode_direct=$hardcode_direct_GCJ
   19270 
   19271 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19272 # resulting binary.
   19273 hardcode_minus_L=$hardcode_minus_L_GCJ
   19274 
   19275 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19276 # the resulting binary.
   19277 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19278 
   19279 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19280 # and all subsequent libraries and executables linked against it.
   19281 hardcode_automatic=$hardcode_automatic_GCJ
   19282 
   19283 # Variables whose values should be saved in libtool wrapper scripts and
   19284 # restored at relink time.
   19285 variables_saved_for_relink="$variables_saved_for_relink"
   19286 
   19287 # Whether libtool must link a program against all its dependency libraries.
   19288 link_all_deplibs=$link_all_deplibs_GCJ
   19289 
   19290 # Compile-time system search path for libraries
   19291 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19292 
   19293 # Run-time system search path for libraries
   19294 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19295 
   19296 # Fix the shell variable \$srcfile for the compiler.
   19297 fix_srcfile_path=$lt_fix_srcfile_path
   19298 
   19299 # Set to yes if exported symbols are required.
   19300 always_export_symbols=$always_export_symbols_GCJ
   19301 
   19302 # The commands to list exported symbols.
   19303 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19304 
   19305 # The commands to extract the exported symbol list from a shared archive.
   19306 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19307 
   19308 # Symbols that should not be listed in the preloaded symbols.
   19309 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19310 
   19311 # Symbols that must always be exported.
   19312 include_expsyms=$lt_include_expsyms_GCJ
   19313 
   19314 # ### END LIBTOOL TAG CONFIG: $tagname
   19315 
   19316 __EOF__
   19317 
   19318 
   19319 else
   19320   # If there is no Makefile yet, we rely on a make rule to execute
   19321   # `config.status --recheck' to rerun these tests and create the
   19322   # libtool script then.
   19323   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19324   if test -f "$ltmain_in"; then
   19325     test -f Makefile && make "$ltmain"
   19326   fi
   19327 fi
   19328 
   19329 
   19330 ac_ext=c
   19331 ac_cpp='$CPP $CPPFLAGS'
   19332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19335 
   19336 CC="$lt_save_CC"
   19337 
   19338 	else
   19339 	  tagname=""
   19340 	fi
   19341 	;;
   19342 
   19343       RC)
   19344 
   19345 
   19346 # Source file extension for RC test sources.
   19347 ac_ext=rc
   19348 
   19349 # Object file extension for compiled RC test sources.
   19350 objext=o
   19351 objext_RC=$objext
   19352 
   19353 # Code to be used in simple compile tests
   19354 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19355 
   19356 # Code to be used in simple link tests
   19357 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19358 
   19359 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19360 
   19361 # If no C compiler was specified, use CC.
   19362 LTCC=${LTCC-"$CC"}
   19363 
   19364 # If no C compiler flags were specified, use CFLAGS.
   19365 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19366 
   19367 # Allow CC to be a program name with arguments.
   19368 compiler=$CC
   19369 
   19370 
   19371 # save warnings/boilerplate of simple test code
   19372 ac_outfile=conftest.$ac_objext
   19373 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19374 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19375 _lt_compiler_boilerplate=`cat conftest.err`
   19376 $rm conftest*
   19377 
   19378 ac_outfile=conftest.$ac_objext
   19379 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19380 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19381 _lt_linker_boilerplate=`cat conftest.err`
   19382 $rm -r conftest*
   19383 
   19384 
   19385 # Allow CC to be a program name with arguments.
   19386 lt_save_CC="$CC"
   19387 CC=${RC-"windres"}
   19388 compiler=$CC
   19389 compiler_RC=$CC
   19390 for cc_temp in $compiler""; do
   19391   case $cc_temp in
   19392     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19393     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19394     \-*) ;;
   19395     *) break;;
   19396   esac
   19397 done
   19398 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19399 
   19400 lt_cv_prog_compiler_c_o_RC=yes
   19401 
   19402 # The else clause should only fire when bootstrapping the
   19403 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19404 # with your package, and you will get complaints that there are
   19405 # no rules to generate ltmain.sh.
   19406 if test -f "$ltmain"; then
   19407   # See if we are running on zsh, and set the options which allow our commands through
   19408   # without removal of \ escapes.
   19409   if test -n "${ZSH_VERSION+set}" ; then
   19410     setopt NO_GLOB_SUBST
   19411   fi
   19412   # Now quote all the things that may contain metacharacters while being
   19413   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19414   # variables and quote the copies for generation of the libtool script.
   19415   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19416     SED SHELL STRIP \
   19417     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19418     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19419     deplibs_check_method reload_flag reload_cmds need_locks \
   19420     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19421     lt_cv_sys_global_symbol_to_c_name_address \
   19422     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19423     old_postinstall_cmds old_postuninstall_cmds \
   19424     compiler_RC \
   19425     CC_RC \
   19426     LD_RC \
   19427     lt_prog_compiler_wl_RC \
   19428     lt_prog_compiler_pic_RC \
   19429     lt_prog_compiler_static_RC \
   19430     lt_prog_compiler_no_builtin_flag_RC \
   19431     export_dynamic_flag_spec_RC \
   19432     thread_safe_flag_spec_RC \
   19433     whole_archive_flag_spec_RC \
   19434     enable_shared_with_static_runtimes_RC \
   19435     old_archive_cmds_RC \
   19436     old_archive_from_new_cmds_RC \
   19437     predep_objects_RC \
   19438     postdep_objects_RC \
   19439     predeps_RC \
   19440     postdeps_RC \
   19441     compiler_lib_search_path_RC \
   19442     compiler_lib_search_dirs_RC \
   19443     archive_cmds_RC \
   19444     archive_expsym_cmds_RC \
   19445     postinstall_cmds_RC \
   19446     postuninstall_cmds_RC \
   19447     old_archive_from_expsyms_cmds_RC \
   19448     allow_undefined_flag_RC \
   19449     no_undefined_flag_RC \
   19450     export_symbols_cmds_RC \
   19451     hardcode_libdir_flag_spec_RC \
   19452     hardcode_libdir_flag_spec_ld_RC \
   19453     hardcode_libdir_separator_RC \
   19454     hardcode_automatic_RC \
   19455     module_cmds_RC \
   19456     module_expsym_cmds_RC \
   19457     lt_cv_prog_compiler_c_o_RC \
   19458     fix_srcfile_path_RC \
   19459     exclude_expsyms_RC \
   19460     include_expsyms_RC; do
   19461 
   19462     case $var in
   19463     old_archive_cmds_RC | \
   19464     old_archive_from_new_cmds_RC | \
   19465     archive_cmds_RC | \
   19466     archive_expsym_cmds_RC | \
   19467     module_cmds_RC | \
   19468     module_expsym_cmds_RC | \
   19469     old_archive_from_expsyms_cmds_RC | \
   19470     export_symbols_cmds_RC | \
   19471     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19472     postinstall_cmds | postuninstall_cmds | \
   19473     old_postinstall_cmds | old_postuninstall_cmds | \
   19474     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19475       # Double-quote double-evaled strings.
   19476       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19477       ;;
   19478     *)
   19479       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19480       ;;
   19481     esac
   19482   done
   19483 
   19484   case $lt_echo in
   19485   *'\$0 --fallback-echo"')
   19486     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19487     ;;
   19488   esac
   19489 
   19490 cfgfile="$ofile"
   19491 
   19492   cat <<__EOF__ >> "$cfgfile"
   19493 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19494 
   19495 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19496 
   19497 # Shell to use when invoking shell scripts.
   19498 SHELL=$lt_SHELL
   19499 
   19500 # Whether or not to build shared libraries.
   19501 build_libtool_libs=$enable_shared
   19502 
   19503 # Whether or not to build static libraries.
   19504 build_old_libs=$enable_static
   19505 
   19506 # Whether or not to add -lc for building shared libraries.
   19507 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19508 
   19509 # Whether or not to disallow shared libs when runtime libs are static
   19510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19511 
   19512 # Whether or not to optimize for fast installation.
   19513 fast_install=$enable_fast_install
   19514 
   19515 # The host system.
   19516 host_alias=$host_alias
   19517 host=$host
   19518 host_os=$host_os
   19519 
   19520 # The build system.
   19521 build_alias=$build_alias
   19522 build=$build
   19523 build_os=$build_os
   19524 
   19525 # An echo program that does not interpret backslashes.
   19526 echo=$lt_echo
   19527 
   19528 # The archiver.
   19529 AR=$lt_AR
   19530 AR_FLAGS=$lt_AR_FLAGS
   19531 
   19532 # A C compiler.
   19533 LTCC=$lt_LTCC
   19534 
   19535 # LTCC compiler flags.
   19536 LTCFLAGS=$lt_LTCFLAGS
   19537 
   19538 # A language-specific compiler.
   19539 CC=$lt_compiler_RC
   19540 
   19541 # Is the compiler the GNU C compiler?
   19542 with_gcc=$GCC_RC
   19543 
   19544 # An ERE matcher.
   19545 EGREP=$lt_EGREP
   19546 
   19547 # The linker used to build libraries.
   19548 LD=$lt_LD_RC
   19549 
   19550 # Whether we need hard or soft links.
   19551 LN_S=$lt_LN_S
   19552 
   19553 # A BSD-compatible nm program.
   19554 NM=$lt_NM
   19555 
   19556 # A symbol stripping program
   19557 STRIP=$lt_STRIP
   19558 
   19559 # Used to examine libraries when file_magic_cmd begins "file"
   19560 MAGIC_CMD=$MAGIC_CMD
   19561 
   19562 # Used on cygwin: DLL creation program.
   19563 DLLTOOL="$DLLTOOL"
   19564 
   19565 # Used on cygwin: object dumper.
   19566 OBJDUMP="$OBJDUMP"
   19567 
   19568 # Used on cygwin: assembler.
   19569 AS="$AS"
   19570 
   19571 # The name of the directory that contains temporary libtool files.
   19572 objdir=$objdir
   19573 
   19574 # How to create reloadable object files.
   19575 reload_flag=$lt_reload_flag
   19576 reload_cmds=$lt_reload_cmds
   19577 
   19578 # How to pass a linker flag through the compiler.
   19579 wl=$lt_lt_prog_compiler_wl_RC
   19580 
   19581 # Object file suffix (normally "o").
   19582 objext="$ac_objext"
   19583 
   19584 # Old archive suffix (normally "a").
   19585 libext="$libext"
   19586 
   19587 # Shared library suffix (normally ".so").
   19588 shrext_cmds='$shrext_cmds'
   19589 
   19590 # Executable file suffix (normally "").
   19591 exeext="$exeext"
   19592 
   19593 # Additional compiler flags for building library objects.
   19594 pic_flag=$lt_lt_prog_compiler_pic_RC
   19595 pic_mode=$pic_mode
   19596 
   19597 # What is the maximum length of a command?
   19598 max_cmd_len=$lt_cv_sys_max_cmd_len
   19599 
   19600 # Does compiler simultaneously support -c and -o options?
   19601 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19602 
   19603 # Must we lock files when doing compilation?
   19604 need_locks=$lt_need_locks
   19605 
   19606 # Do we need the lib prefix for modules?
   19607 need_lib_prefix=$need_lib_prefix
   19608 
   19609 # Do we need a version for libraries?
   19610 need_version=$need_version
   19611 
   19612 # Whether dlopen is supported.
   19613 dlopen_support=$enable_dlopen
   19614 
   19615 # Whether dlopen of programs is supported.
   19616 dlopen_self=$enable_dlopen_self
   19617 
   19618 # Whether dlopen of statically linked programs is supported.
   19619 dlopen_self_static=$enable_dlopen_self_static
   19620 
   19621 # Compiler flag to prevent dynamic linking.
   19622 link_static_flag=$lt_lt_prog_compiler_static_RC
   19623 
   19624 # Compiler flag to turn off builtin functions.
   19625 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19626 
   19627 # Compiler flag to allow reflexive dlopens.
   19628 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19629 
   19630 # Compiler flag to generate shared objects directly from archives.
   19631 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19632 
   19633 # Compiler flag to generate thread-safe objects.
   19634 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19635 
   19636 # Library versioning type.
   19637 version_type=$version_type
   19638 
   19639 # Format of library name prefix.
   19640 libname_spec=$lt_libname_spec
   19641 
   19642 # List of archive names.  First name is the real one, the rest are links.
   19643 # The last name is the one that the linker finds with -lNAME.
   19644 library_names_spec=$lt_library_names_spec
   19645 
   19646 # The coded name of the library, if different from the real name.
   19647 soname_spec=$lt_soname_spec
   19648 
   19649 # Commands used to build and install an old-style archive.
   19650 RANLIB=$lt_RANLIB
   19651 old_archive_cmds=$lt_old_archive_cmds_RC
   19652 old_postinstall_cmds=$lt_old_postinstall_cmds
   19653 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19654 
   19655 # Create an old-style archive from a shared archive.
   19656 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19657 
   19658 # Create a temporary old-style archive to link instead of a shared archive.
   19659 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19660 
   19661 # Commands used to build and install a shared archive.
   19662 archive_cmds=$lt_archive_cmds_RC
   19663 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19664 postinstall_cmds=$lt_postinstall_cmds
   19665 postuninstall_cmds=$lt_postuninstall_cmds
   19666 
   19667 # Commands used to build a loadable module (assumed same as above if empty)
   19668 module_cmds=$lt_module_cmds_RC
   19669 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19670 
   19671 # Commands to strip libraries.
   19672 old_striplib=$lt_old_striplib
   19673 striplib=$lt_striplib
   19674 
   19675 # Dependencies to place before the objects being linked to create a
   19676 # shared library.
   19677 predep_objects=$lt_predep_objects_RC
   19678 
   19679 # Dependencies to place after the objects being linked to create a
   19680 # shared library.
   19681 postdep_objects=$lt_postdep_objects_RC
   19682 
   19683 # Dependencies to place before the objects being linked to create a
   19684 # shared library.
   19685 predeps=$lt_predeps_RC
   19686 
   19687 # Dependencies to place after the objects being linked to create a
   19688 # shared library.
   19689 postdeps=$lt_postdeps_RC
   19690 
   19691 # The directories searched by this compiler when creating a shared
   19692 # library
   19693 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19694 
   19695 # The library search path used internally by the compiler when linking
   19696 # a shared library.
   19697 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19698 
   19699 # Method to check whether dependent libraries are shared objects.
   19700 deplibs_check_method=$lt_deplibs_check_method
   19701 
   19702 # Command to use when deplibs_check_method == file_magic.
   19703 file_magic_cmd=$lt_file_magic_cmd
   19704 
   19705 # Flag that allows shared libraries with undefined symbols to be built.
   19706 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19707 
   19708 # Flag that forces no undefined symbols.
   19709 no_undefined_flag=$lt_no_undefined_flag_RC
   19710 
   19711 # Commands used to finish a libtool library installation in a directory.
   19712 finish_cmds=$lt_finish_cmds
   19713 
   19714 # Same as above, but a single script fragment to be evaled but not shown.
   19715 finish_eval=$lt_finish_eval
   19716 
   19717 # Take the output of nm and produce a listing of raw symbols and C names.
   19718 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19719 
   19720 # Transform the output of nm in a proper C declaration
   19721 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19722 
   19723 # Transform the output of nm in a C name address pair
   19724 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19725 
   19726 # This is the shared library runtime path variable.
   19727 runpath_var=$runpath_var
   19728 
   19729 # This is the shared library path variable.
   19730 shlibpath_var=$shlibpath_var
   19731 
   19732 # Is shlibpath searched before the hard-coded library search path?
   19733 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19734 
   19735 # How to hardcode a shared library path into an executable.
   19736 hardcode_action=$hardcode_action_RC
   19737 
   19738 # Whether we should hardcode library paths into libraries.
   19739 hardcode_into_libs=$hardcode_into_libs
   19740 
   19741 # Flag to hardcode \$libdir into a binary during linking.
   19742 # This must work even if \$libdir does not exist.
   19743 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19744 
   19745 # If ld is used when linking, flag to hardcode \$libdir into
   19746 # a binary during linking. This must work even if \$libdir does
   19747 # not exist.
   19748 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19749 
   19750 # Whether we need a single -rpath flag with a separated argument.
   19751 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19752 
   19753 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19754 # resulting binary.
   19755 hardcode_direct=$hardcode_direct_RC
   19756 
   19757 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19758 # resulting binary.
   19759 hardcode_minus_L=$hardcode_minus_L_RC
   19760 
   19761 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19762 # the resulting binary.
   19763 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19764 
   19765 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19766 # and all subsequent libraries and executables linked against it.
   19767 hardcode_automatic=$hardcode_automatic_RC
   19768 
   19769 # Variables whose values should be saved in libtool wrapper scripts and
   19770 # restored at relink time.
   19771 variables_saved_for_relink="$variables_saved_for_relink"
   19772 
   19773 # Whether libtool must link a program against all its dependency libraries.
   19774 link_all_deplibs=$link_all_deplibs_RC
   19775 
   19776 # Compile-time system search path for libraries
   19777 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19778 
   19779 # Run-time system search path for libraries
   19780 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19781 
   19782 # Fix the shell variable \$srcfile for the compiler.
   19783 fix_srcfile_path=$lt_fix_srcfile_path
   19784 
   19785 # Set to yes if exported symbols are required.
   19786 always_export_symbols=$always_export_symbols_RC
   19787 
   19788 # The commands to list exported symbols.
   19789 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19790 
   19791 # The commands to extract the exported symbol list from a shared archive.
   19792 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19793 
   19794 # Symbols that should not be listed in the preloaded symbols.
   19795 exclude_expsyms=$lt_exclude_expsyms_RC
   19796 
   19797 # Symbols that must always be exported.
   19798 include_expsyms=$lt_include_expsyms_RC
   19799 
   19800 # ### END LIBTOOL TAG CONFIG: $tagname
   19801 
   19802 __EOF__
   19803 
   19804 
   19805 else
   19806   # If there is no Makefile yet, we rely on a make rule to execute
   19807   # `config.status --recheck' to rerun these tests and create the
   19808   # libtool script then.
   19809   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19810   if test -f "$ltmain_in"; then
   19811     test -f Makefile && make "$ltmain"
   19812   fi
   19813 fi
   19814 
   19815 
   19816 ac_ext=c
   19817 ac_cpp='$CPP $CPPFLAGS'
   19818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19821 
   19822 CC="$lt_save_CC"
   19823 
   19824 	;;
   19825 
   19826       *)
   19827 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19828 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19829    { (exit 1); exit 1; }; }
   19830 	;;
   19831       esac
   19832 
   19833       # Append the new tag name to the list of available tags.
   19834       if test -n "$tagname" ; then
   19835       available_tags="$available_tags $tagname"
   19836     fi
   19837     fi
   19838   done
   19839   IFS="$lt_save_ifs"
   19840 
   19841   # Now substitute the updated list of available tags.
   19842   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19843     mv "${ofile}T" "$ofile"
   19844     chmod +x "$ofile"
   19845   else
   19846     rm -f "${ofile}T"
   19847     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19848 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19849    { (exit 1); exit 1; }; }
   19850   fi
   19851 fi
   19852 
   19853 
   19854 
   19855 # This can be used to rebuild libtool when needed
   19856 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19857 
   19858 # Always use our own libtool.
   19859 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19860 
   19861 # Prevent multiple expansion
   19862 
   19863 
   19864 
   19865 
   19866 
   19867 
   19868 
   19869 
   19870 
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 
   19880 
   19881 
   19882 
   19883 
   19884 # dolt, a replacement for libtool
   19885 # Josh Triplett <josh (at] freedesktop.org>
   19886 # Extract the first word of "bash", so it can be a program name with args.
   19887 set dummy bash; ac_word=$2
   19888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19890 if test "${ac_cv_path_DOLT_BASH+set}" = set; then
   19891   echo $ECHO_N "(cached) $ECHO_C" >&6
   19892 else
   19893   case $DOLT_BASH in
   19894   [\\/]* | ?:[\\/]*)
   19895   ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
   19896   ;;
   19897   *)
   19898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19899 for as_dir in $PATH
   19900 do
   19901   IFS=$as_save_IFS
   19902   test -z "$as_dir" && as_dir=.
   19903   for ac_exec_ext in '' $ac_executable_extensions; do
   19904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19905     ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
   19906     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19907     break 2
   19908   fi
   19909 done
   19910 done
   19911 IFS=$as_save_IFS
   19912 
   19913   ;;
   19914 esac
   19915 fi
   19916 DOLT_BASH=$ac_cv_path_DOLT_BASH
   19917 if test -n "$DOLT_BASH"; then
   19918   { echo "$as_me:$LINENO: result: $DOLT_BASH" >&5
   19919 echo "${ECHO_T}$DOLT_BASH" >&6; }
   19920 else
   19921   { echo "$as_me:$LINENO: result: no" >&5
   19922 echo "${ECHO_T}no" >&6; }
   19923 fi
   19924 
   19925 
   19926 { echo "$as_me:$LINENO: checking if libtool sucks" >&5
   19927 echo $ECHO_N "checking if libtool sucks... $ECHO_C" >&6; }
   19928 { echo "$as_me:$LINENO: result: yup, it does" >&5
   19929 echo "${ECHO_T}yup, it does" >&6; }
   19930 { echo "$as_me:$LINENO: checking if dolt supports this host" >&5
   19931 echo $ECHO_N "checking if dolt supports this host... $ECHO_C" >&6; }
   19932 dolt_supported=yes
   19933 if test x$DOLT_BASH = x; then
   19934     dolt_supported=no
   19935 fi
   19936 if test x$GCC != xyes; then
   19937     dolt_supported=no
   19938 fi
   19939 case $host in
   19940 i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*) ;;
   19941 amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*) ;;
   19942 *) dolt_supported=no ;;
   19943 esac
   19944 if test x$dolt_supported = xno ; then
   19945     { echo "$as_me:$LINENO: result: no, falling back to libtool" >&5
   19946 echo "${ECHO_T}no, falling back to libtool" >&6; }
   19947     LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
   19948     LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
   19949 else
   19950     { echo "$as_me:$LINENO: result: yes, replacing libtool" >&5
   19951 echo "${ECHO_T}yes, replacing libtool" >&6; }
   19952 
   19953     cat <<__DOLTCOMPILE__EOF__ >doltcompile
   19954 #!$DOLT_BASH
   19955 __DOLTCOMPILE__EOF__
   19956     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   19957 args=("$@")
   19958 for ((arg=0; arg<${#args[@]}; arg++)) ; do
   19959     if test x"${args[$arg]}" = x-o ; then
   19960         objarg=$((arg+1))
   19961         break
   19962     fi
   19963 done
   19964 if test x$objarg = x ; then
   19965     echo 'Error: no -o on compiler command line' 1>&2
   19966     exit 1
   19967 fi
   19968 lo="${args[$objarg]}"
   19969 obj="${lo%.lo}"
   19970 if test x"$lo" = x"$obj" ; then
   19971     echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
   19972     exit 1
   19973 fi
   19974 objbase="${obj##*/}"
   19975 __DOLTCOMPILE__EOF__
   19976 
   19977     if test x$enable_shared = xyes; then
   19978         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   19979 libobjdir="${obj%$objbase}.libs"
   19980 if test ! -d "$libobjdir" ; then
   19981     mkdir_out="$(mkdir "$libobjdir" 2>&1)"
   19982     mkdir_ret=$?
   19983     if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
   19984 	echo "$mkdir_out" 1>&2
   19985         exit $mkdir_ret
   19986     fi
   19987 fi
   19988 pic_object="$libobjdir/$objbase.o"
   19989 args[$objarg]="$pic_object"
   19990 "${args[@]}" -fPIC -DPIC || exit $?
   19991 __DOLTCOMPILE__EOF__
   19992     fi
   19993 
   19994     if test x$enable_static = xyes; then
   19995         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   19996 non_pic_object="$obj.o"
   19997 args[$objarg]="$non_pic_object"
   19998 __DOLTCOMPILE__EOF__
   19999         if test x$enable_shared = xyes; then
   20000             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20001 "${args[@]}" >/dev/null 2>&1 || exit $?
   20002 __DOLTCOMPILE__EOF__
   20003         else
   20004             cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20005 "${args[@]}" || exit $?
   20006 __DOLTCOMPILE__EOF__
   20007         fi
   20008     fi
   20009 
   20010     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20011 {
   20012 echo "# $lo - a libtool object file"
   20013 echo "# Generated by doltcompile, not libtool"
   20014 __DOLTCOMPILE__EOF__
   20015 
   20016     if test x$enable_shared = xyes; then
   20017         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20018 echo "pic_object='$pic_object'"
   20019 __DOLTCOMPILE__EOF__
   20020     else
   20021         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20022 echo pic_object=none
   20023 __DOLTCOMPILE__EOF__
   20024     fi
   20025 
   20026     if test x$enable_static = xyes; then
   20027         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20028 echo "non_pic_object='$non_pic_object'"
   20029 __DOLTCOMPILE__EOF__
   20030     else
   20031         cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20032 echo non_pic_object=none
   20033 __DOLTCOMPILE__EOF__
   20034     fi
   20035 
   20036     cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
   20037 } > "$lo"
   20038 __DOLTCOMPILE__EOF__
   20039 
   20040     chmod +x doltcompile
   20041     LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
   20042     LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
   20043 fi
   20044 
   20045 
   20046 # end dolt
   20047 
   20048 ac_ext=c
   20049 ac_cpp='$CPP $CPPFLAGS'
   20050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20053 if test -n "$ac_tool_prefix"; then
   20054   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20058 if test "${ac_cv_prog_CC+set}" = set; then
   20059   echo $ECHO_N "(cached) $ECHO_C" >&6
   20060 else
   20061   if test -n "$CC"; then
   20062   ac_cv_prog_CC="$CC" # Let the user override the test.
   20063 else
   20064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20065 for as_dir in $PATH
   20066 do
   20067   IFS=$as_save_IFS
   20068   test -z "$as_dir" && as_dir=.
   20069   for ac_exec_ext in '' $ac_executable_extensions; do
   20070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20071     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20073     break 2
   20074   fi
   20075 done
   20076 done
   20077 IFS=$as_save_IFS
   20078 
   20079 fi
   20080 fi
   20081 CC=$ac_cv_prog_CC
   20082 if test -n "$CC"; then
   20083   { echo "$as_me:$LINENO: result: $CC" >&5
   20084 echo "${ECHO_T}$CC" >&6; }
   20085 else
   20086   { echo "$as_me:$LINENO: result: no" >&5
   20087 echo "${ECHO_T}no" >&6; }
   20088 fi
   20089 
   20090 
   20091 fi
   20092 if test -z "$ac_cv_prog_CC"; then
   20093   ac_ct_CC=$CC
   20094   # Extract the first word of "gcc", so it can be a program name with args.
   20095 set dummy gcc; ac_word=$2
   20096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20099   echo $ECHO_N "(cached) $ECHO_C" >&6
   20100 else
   20101   if test -n "$ac_ct_CC"; then
   20102   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20103 else
   20104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20105 for as_dir in $PATH
   20106 do
   20107   IFS=$as_save_IFS
   20108   test -z "$as_dir" && as_dir=.
   20109   for ac_exec_ext in '' $ac_executable_extensions; do
   20110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20111     ac_cv_prog_ac_ct_CC="gcc"
   20112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20113     break 2
   20114   fi
   20115 done
   20116 done
   20117 IFS=$as_save_IFS
   20118 
   20119 fi
   20120 fi
   20121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20122 if test -n "$ac_ct_CC"; then
   20123   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20124 echo "${ECHO_T}$ac_ct_CC" >&6; }
   20125 else
   20126   { echo "$as_me:$LINENO: result: no" >&5
   20127 echo "${ECHO_T}no" >&6; }
   20128 fi
   20129 
   20130   if test "x$ac_ct_CC" = x; then
   20131     CC=""
   20132   else
   20133     case $cross_compiling:$ac_tool_warned in
   20134 yes:)
   20135 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20136 whose name does not start with the host triplet.  If you think this
   20137 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20138 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20139 whose name does not start with the host triplet.  If you think this
   20140 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20141 ac_tool_warned=yes ;;
   20142 esac
   20143     CC=$ac_ct_CC
   20144   fi
   20145 else
   20146   CC="$ac_cv_prog_CC"
   20147 fi
   20148 
   20149 if test -z "$CC"; then
   20150           if test -n "$ac_tool_prefix"; then
   20151     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20152 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20155 if test "${ac_cv_prog_CC+set}" = set; then
   20156   echo $ECHO_N "(cached) $ECHO_C" >&6
   20157 else
   20158   if test -n "$CC"; then
   20159   ac_cv_prog_CC="$CC" # Let the user override the test.
   20160 else
   20161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20162 for as_dir in $PATH
   20163 do
   20164   IFS=$as_save_IFS
   20165   test -z "$as_dir" && as_dir=.
   20166   for ac_exec_ext in '' $ac_executable_extensions; do
   20167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20168     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20169     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20170     break 2
   20171   fi
   20172 done
   20173 done
   20174 IFS=$as_save_IFS
   20175 
   20176 fi
   20177 fi
   20178 CC=$ac_cv_prog_CC
   20179 if test -n "$CC"; then
   20180   { echo "$as_me:$LINENO: result: $CC" >&5
   20181 echo "${ECHO_T}$CC" >&6; }
   20182 else
   20183   { echo "$as_me:$LINENO: result: no" >&5
   20184 echo "${ECHO_T}no" >&6; }
   20185 fi
   20186 
   20187 
   20188   fi
   20189 fi
   20190 if test -z "$CC"; then
   20191   # Extract the first word of "cc", so it can be a program name with args.
   20192 set dummy cc; ac_word=$2
   20193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20195 if test "${ac_cv_prog_CC+set}" = set; then
   20196   echo $ECHO_N "(cached) $ECHO_C" >&6
   20197 else
   20198   if test -n "$CC"; then
   20199   ac_cv_prog_CC="$CC" # Let the user override the test.
   20200 else
   20201   ac_prog_rejected=no
   20202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20203 for as_dir in $PATH
   20204 do
   20205   IFS=$as_save_IFS
   20206   test -z "$as_dir" && as_dir=.
   20207   for ac_exec_ext in '' $ac_executable_extensions; do
   20208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20209     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20210        ac_prog_rejected=yes
   20211        continue
   20212      fi
   20213     ac_cv_prog_CC="cc"
   20214     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20215     break 2
   20216   fi
   20217 done
   20218 done
   20219 IFS=$as_save_IFS
   20220 
   20221 if test $ac_prog_rejected = yes; then
   20222   # We found a bogon in the path, so make sure we never use it.
   20223   set dummy $ac_cv_prog_CC
   20224   shift
   20225   if test $# != 0; then
   20226     # We chose a different compiler from the bogus one.
   20227     # However, it has the same basename, so the bogon will be chosen
   20228     # first if we set CC to just the basename; use the full file name.
   20229     shift
   20230     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20231   fi
   20232 fi
   20233 fi
   20234 fi
   20235 CC=$ac_cv_prog_CC
   20236 if test -n "$CC"; then
   20237   { echo "$as_me:$LINENO: result: $CC" >&5
   20238 echo "${ECHO_T}$CC" >&6; }
   20239 else
   20240   { echo "$as_me:$LINENO: result: no" >&5
   20241 echo "${ECHO_T}no" >&6; }
   20242 fi
   20243 
   20244 
   20245 fi
   20246 if test -z "$CC"; then
   20247   if test -n "$ac_tool_prefix"; then
   20248   for ac_prog in cl.exe
   20249   do
   20250     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20254 if test "${ac_cv_prog_CC+set}" = set; then
   20255   echo $ECHO_N "(cached) $ECHO_C" >&6
   20256 else
   20257   if test -n "$CC"; then
   20258   ac_cv_prog_CC="$CC" # Let the user override the test.
   20259 else
   20260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20261 for as_dir in $PATH
   20262 do
   20263   IFS=$as_save_IFS
   20264   test -z "$as_dir" && as_dir=.
   20265   for ac_exec_ext in '' $ac_executable_extensions; do
   20266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20267     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20268     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20269     break 2
   20270   fi
   20271 done
   20272 done
   20273 IFS=$as_save_IFS
   20274 
   20275 fi
   20276 fi
   20277 CC=$ac_cv_prog_CC
   20278 if test -n "$CC"; then
   20279   { echo "$as_me:$LINENO: result: $CC" >&5
   20280 echo "${ECHO_T}$CC" >&6; }
   20281 else
   20282   { echo "$as_me:$LINENO: result: no" >&5
   20283 echo "${ECHO_T}no" >&6; }
   20284 fi
   20285 
   20286 
   20287     test -n "$CC" && break
   20288   done
   20289 fi
   20290 if test -z "$CC"; then
   20291   ac_ct_CC=$CC
   20292   for ac_prog in cl.exe
   20293 do
   20294   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20295 set dummy $ac_prog; ac_word=$2
   20296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20299   echo $ECHO_N "(cached) $ECHO_C" >&6
   20300 else
   20301   if test -n "$ac_ct_CC"; then
   20302   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20303 else
   20304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20305 for as_dir in $PATH
   20306 do
   20307   IFS=$as_save_IFS
   20308   test -z "$as_dir" && as_dir=.
   20309   for ac_exec_ext in '' $ac_executable_extensions; do
   20310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20311     ac_cv_prog_ac_ct_CC="$ac_prog"
   20312     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20313     break 2
   20314   fi
   20315 done
   20316 done
   20317 IFS=$as_save_IFS
   20318 
   20319 fi
   20320 fi
   20321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20322 if test -n "$ac_ct_CC"; then
   20323   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20324 echo "${ECHO_T}$ac_ct_CC" >&6; }
   20325 else
   20326   { echo "$as_me:$LINENO: result: no" >&5
   20327 echo "${ECHO_T}no" >&6; }
   20328 fi
   20329 
   20330 
   20331   test -n "$ac_ct_CC" && break
   20332 done
   20333 
   20334   if test "x$ac_ct_CC" = x; then
   20335     CC=""
   20336   else
   20337     case $cross_compiling:$ac_tool_warned in
   20338 yes:)
   20339 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20340 whose name does not start with the host triplet.  If you think this
   20341 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20342 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20343 whose name does not start with the host triplet.  If you think this
   20344 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20345 ac_tool_warned=yes ;;
   20346 esac
   20347     CC=$ac_ct_CC
   20348   fi
   20349 fi
   20350 
   20351 fi
   20352 
   20353 
   20354 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20355 See \`config.log' for more details." >&5
   20356 echo "$as_me: error: no acceptable C compiler found in \$PATH
   20357 See \`config.log' for more details." >&2;}
   20358    { (exit 1); exit 1; }; }
   20359 
   20360 # Provide some information about the compiler.
   20361 echo "$as_me:$LINENO: checking for C compiler version" >&5
   20362 ac_compiler=`set X $ac_compile; echo $2`
   20363 { (ac_try="$ac_compiler --version >&5"
   20364 case "(($ac_try" in
   20365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20366   *) ac_try_echo=$ac_try;;
   20367 esac
   20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20369   (eval "$ac_compiler --version >&5") 2>&5
   20370   ac_status=$?
   20371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20372   (exit $ac_status); }
   20373 { (ac_try="$ac_compiler -v >&5"
   20374 case "(($ac_try" in
   20375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20376   *) ac_try_echo=$ac_try;;
   20377 esac
   20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20379   (eval "$ac_compiler -v >&5") 2>&5
   20380   ac_status=$?
   20381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20382   (exit $ac_status); }
   20383 { (ac_try="$ac_compiler -V >&5"
   20384 case "(($ac_try" in
   20385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20386   *) ac_try_echo=$ac_try;;
   20387 esac
   20388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20389   (eval "$ac_compiler -V >&5") 2>&5
   20390   ac_status=$?
   20391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20392   (exit $ac_status); }
   20393 
   20394 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20395 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   20396 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20397   echo $ECHO_N "(cached) $ECHO_C" >&6
   20398 else
   20399   cat >conftest.$ac_ext <<_ACEOF
   20400 /* confdefs.h.  */
   20401 _ACEOF
   20402 cat confdefs.h >>conftest.$ac_ext
   20403 cat >>conftest.$ac_ext <<_ACEOF
   20404 /* end confdefs.h.  */
   20405 
   20406 int
   20407 main ()
   20408 {
   20409 #ifndef __GNUC__
   20410        choke me
   20411 #endif
   20412 
   20413   ;
   20414   return 0;
   20415 }
   20416 _ACEOF
   20417 rm -f conftest.$ac_objext
   20418 if { (ac_try="$ac_compile"
   20419 case "(($ac_try" in
   20420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20421   *) ac_try_echo=$ac_try;;
   20422 esac
   20423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20424   (eval "$ac_compile") 2>conftest.er1
   20425   ac_status=$?
   20426   grep -v '^ *+' conftest.er1 >conftest.err
   20427   rm -f conftest.er1
   20428   cat conftest.err >&5
   20429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20430   (exit $ac_status); } && {
   20431 	 test -z "$ac_c_werror_flag" ||
   20432 	 test ! -s conftest.err
   20433        } && test -s conftest.$ac_objext; then
   20434   ac_compiler_gnu=yes
   20435 else
   20436   echo "$as_me: failed program was:" >&5
   20437 sed 's/^/| /' conftest.$ac_ext >&5
   20438 
   20439 	ac_compiler_gnu=no
   20440 fi
   20441 
   20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20444 
   20445 fi
   20446 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20447 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   20448 GCC=`test $ac_compiler_gnu = yes && echo yes`
   20449 ac_test_CFLAGS=${CFLAGS+set}
   20450 ac_save_CFLAGS=$CFLAGS
   20451 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20452 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   20453 if test "${ac_cv_prog_cc_g+set}" = set; then
   20454   echo $ECHO_N "(cached) $ECHO_C" >&6
   20455 else
   20456   ac_save_c_werror_flag=$ac_c_werror_flag
   20457    ac_c_werror_flag=yes
   20458    ac_cv_prog_cc_g=no
   20459    CFLAGS="-g"
   20460    cat >conftest.$ac_ext <<_ACEOF
   20461 /* confdefs.h.  */
   20462 _ACEOF
   20463 cat confdefs.h >>conftest.$ac_ext
   20464 cat >>conftest.$ac_ext <<_ACEOF
   20465 /* end confdefs.h.  */
   20466 
   20467 int
   20468 main ()
   20469 {
   20470 
   20471   ;
   20472   return 0;
   20473 }
   20474 _ACEOF
   20475 rm -f conftest.$ac_objext
   20476 if { (ac_try="$ac_compile"
   20477 case "(($ac_try" in
   20478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20479   *) ac_try_echo=$ac_try;;
   20480 esac
   20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20482   (eval "$ac_compile") 2>conftest.er1
   20483   ac_status=$?
   20484   grep -v '^ *+' conftest.er1 >conftest.err
   20485   rm -f conftest.er1
   20486   cat conftest.err >&5
   20487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20488   (exit $ac_status); } && {
   20489 	 test -z "$ac_c_werror_flag" ||
   20490 	 test ! -s conftest.err
   20491        } && test -s conftest.$ac_objext; then
   20492   ac_cv_prog_cc_g=yes
   20493 else
   20494   echo "$as_me: failed program was:" >&5
   20495 sed 's/^/| /' conftest.$ac_ext >&5
   20496 
   20497 	CFLAGS=""
   20498       cat >conftest.$ac_ext <<_ACEOF
   20499 /* confdefs.h.  */
   20500 _ACEOF
   20501 cat confdefs.h >>conftest.$ac_ext
   20502 cat >>conftest.$ac_ext <<_ACEOF
   20503 /* end confdefs.h.  */
   20504 
   20505 int
   20506 main ()
   20507 {
   20508 
   20509   ;
   20510   return 0;
   20511 }
   20512 _ACEOF
   20513 rm -f conftest.$ac_objext
   20514 if { (ac_try="$ac_compile"
   20515 case "(($ac_try" in
   20516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20517   *) ac_try_echo=$ac_try;;
   20518 esac
   20519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20520   (eval "$ac_compile") 2>conftest.er1
   20521   ac_status=$?
   20522   grep -v '^ *+' conftest.er1 >conftest.err
   20523   rm -f conftest.er1
   20524   cat conftest.err >&5
   20525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20526   (exit $ac_status); } && {
   20527 	 test -z "$ac_c_werror_flag" ||
   20528 	 test ! -s conftest.err
   20529        } && test -s conftest.$ac_objext; then
   20530   :
   20531 else
   20532   echo "$as_me: failed program was:" >&5
   20533 sed 's/^/| /' conftest.$ac_ext >&5
   20534 
   20535 	ac_c_werror_flag=$ac_save_c_werror_flag
   20536 	 CFLAGS="-g"
   20537 	 cat >conftest.$ac_ext <<_ACEOF
   20538 /* confdefs.h.  */
   20539 _ACEOF
   20540 cat confdefs.h >>conftest.$ac_ext
   20541 cat >>conftest.$ac_ext <<_ACEOF
   20542 /* end confdefs.h.  */
   20543 
   20544 int
   20545 main ()
   20546 {
   20547 
   20548   ;
   20549   return 0;
   20550 }
   20551 _ACEOF
   20552 rm -f conftest.$ac_objext
   20553 if { (ac_try="$ac_compile"
   20554 case "(($ac_try" in
   20555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20556   *) ac_try_echo=$ac_try;;
   20557 esac
   20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20559   (eval "$ac_compile") 2>conftest.er1
   20560   ac_status=$?
   20561   grep -v '^ *+' conftest.er1 >conftest.err
   20562   rm -f conftest.er1
   20563   cat conftest.err >&5
   20564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20565   (exit $ac_status); } && {
   20566 	 test -z "$ac_c_werror_flag" ||
   20567 	 test ! -s conftest.err
   20568        } && test -s conftest.$ac_objext; then
   20569   ac_cv_prog_cc_g=yes
   20570 else
   20571   echo "$as_me: failed program was:" >&5
   20572 sed 's/^/| /' conftest.$ac_ext >&5
   20573 
   20574 
   20575 fi
   20576 
   20577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20578 fi
   20579 
   20580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20581 fi
   20582 
   20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20584    ac_c_werror_flag=$ac_save_c_werror_flag
   20585 fi
   20586 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20587 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   20588 if test "$ac_test_CFLAGS" = set; then
   20589   CFLAGS=$ac_save_CFLAGS
   20590 elif test $ac_cv_prog_cc_g = yes; then
   20591   if test "$GCC" = yes; then
   20592     CFLAGS="-g -O2"
   20593   else
   20594     CFLAGS="-g"
   20595   fi
   20596 else
   20597   if test "$GCC" = yes; then
   20598     CFLAGS="-O2"
   20599   else
   20600     CFLAGS=
   20601   fi
   20602 fi
   20603 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20604 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   20605 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20606   echo $ECHO_N "(cached) $ECHO_C" >&6
   20607 else
   20608   ac_cv_prog_cc_c89=no
   20609 ac_save_CC=$CC
   20610 cat >conftest.$ac_ext <<_ACEOF
   20611 /* confdefs.h.  */
   20612 _ACEOF
   20613 cat confdefs.h >>conftest.$ac_ext
   20614 cat >>conftest.$ac_ext <<_ACEOF
   20615 /* end confdefs.h.  */
   20616 #include <stdarg.h>
   20617 #include <stdio.h>
   20618 #include <sys/types.h>
   20619 #include <sys/stat.h>
   20620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20621 struct buf { int x; };
   20622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20623 static char *e (p, i)
   20624      char **p;
   20625      int i;
   20626 {
   20627   return p[i];
   20628 }
   20629 static char *f (char * (*g) (char **, int), char **p, ...)
   20630 {
   20631   char *s;
   20632   va_list v;
   20633   va_start (v,p);
   20634   s = g (p, va_arg (v,int));
   20635   va_end (v);
   20636   return s;
   20637 }
   20638 
   20639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20640    function prototypes and stuff, but not '\xHH' hex character constants.
   20641    These don't provoke an error unfortunately, instead are silently treated
   20642    as 'x'.  The following induces an error, until -std is added to get
   20643    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20644    array size at least.  It's necessary to write '\x00'==0 to get something
   20645    that's true only with -std.  */
   20646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20647 
   20648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20649    inside strings and character constants.  */
   20650 #define FOO(x) 'x'
   20651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20652 
   20653 int test (int i, double x);
   20654 struct s1 {int (*f) (int a);};
   20655 struct s2 {int (*f) (double a);};
   20656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20657 int argc;
   20658 char **argv;
   20659 int
   20660 main ()
   20661 {
   20662 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20663   ;
   20664   return 0;
   20665 }
   20666 _ACEOF
   20667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20668 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20669 do
   20670   CC="$ac_save_CC $ac_arg"
   20671   rm -f conftest.$ac_objext
   20672 if { (ac_try="$ac_compile"
   20673 case "(($ac_try" in
   20674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20675   *) ac_try_echo=$ac_try;;
   20676 esac
   20677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20678   (eval "$ac_compile") 2>conftest.er1
   20679   ac_status=$?
   20680   grep -v '^ *+' conftest.er1 >conftest.err
   20681   rm -f conftest.er1
   20682   cat conftest.err >&5
   20683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20684   (exit $ac_status); } && {
   20685 	 test -z "$ac_c_werror_flag" ||
   20686 	 test ! -s conftest.err
   20687        } && test -s conftest.$ac_objext; then
   20688   ac_cv_prog_cc_c89=$ac_arg
   20689 else
   20690   echo "$as_me: failed program was:" >&5
   20691 sed 's/^/| /' conftest.$ac_ext >&5
   20692 
   20693 
   20694 fi
   20695 
   20696 rm -f core conftest.err conftest.$ac_objext
   20697   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20698 done
   20699 rm -f conftest.$ac_ext
   20700 CC=$ac_save_CC
   20701 
   20702 fi
   20703 # AC_CACHE_VAL
   20704 case "x$ac_cv_prog_cc_c89" in
   20705   x)
   20706     { echo "$as_me:$LINENO: result: none needed" >&5
   20707 echo "${ECHO_T}none needed" >&6; } ;;
   20708   xno)
   20709     { echo "$as_me:$LINENO: result: unsupported" >&5
   20710 echo "${ECHO_T}unsupported" >&6; } ;;
   20711   *)
   20712     CC="$CC $ac_cv_prog_cc_c89"
   20713     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20714 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20715 esac
   20716 
   20717 
   20718 ac_ext=c
   20719 ac_cpp='$CPP $CPPFLAGS'
   20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20723 
   20724 depcc="$CC"   am_compiler_list=
   20725 
   20726 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20727 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20728 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20729   echo $ECHO_N "(cached) $ECHO_C" >&6
   20730 else
   20731   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20732   # We make a subdir and do the tests there.  Otherwise we can end up
   20733   # making bogus files that we don't know about and never remove.  For
   20734   # instance it was reported that on HP-UX the gcc test will end up
   20735   # making a dummy file named `D' -- because `-MD' means `put the output
   20736   # in D'.
   20737   mkdir conftest.dir
   20738   # Copy depcomp to subdir because otherwise we won't find it if we're
   20739   # using a relative directory.
   20740   cp "$am_depcomp" conftest.dir
   20741   cd conftest.dir
   20742   # We will build objects and dependencies in a subdirectory because
   20743   # it helps to detect inapplicable dependency modes.  For instance
   20744   # both Tru64's cc and ICC support -MD to output dependencies as a
   20745   # side effect of compilation, but ICC will put the dependencies in
   20746   # the current directory while Tru64 will put them in the object
   20747   # directory.
   20748   mkdir sub
   20749 
   20750   am_cv_CC_dependencies_compiler_type=none
   20751   if test "$am_compiler_list" = ""; then
   20752      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20753   fi
   20754   for depmode in $am_compiler_list; do
   20755     # Setup a source with many dependencies, because some compilers
   20756     # like to wrap large dependency lists on column 80 (with \), and
   20757     # we should not choose a depcomp mode which is confused by this.
   20758     #
   20759     # We need to recreate these files for each test, as the compiler may
   20760     # overwrite some of them when testing with obscure command lines.
   20761     # This happens at least with the AIX C compiler.
   20762     : > sub/conftest.c
   20763     for i in 1 2 3 4 5 6; do
   20764       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20765       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20766       # Solaris 8's {/usr,}/bin/sh.
   20767       touch sub/conftst$i.h
   20768     done
   20769     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20770 
   20771     case $depmode in
   20772     nosideeffect)
   20773       # after this tag, mechanisms are not by side-effect, so they'll
   20774       # only be used when explicitly requested
   20775       if test "x$enable_dependency_tracking" = xyes; then
   20776 	continue
   20777       else
   20778 	break
   20779       fi
   20780       ;;
   20781     none) break ;;
   20782     esac
   20783     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20784     # mode.  It turns out that the SunPro C++ compiler does not properly
   20785     # handle `-M -o', and we need to detect this.
   20786     if depmode=$depmode \
   20787        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20788        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20789        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20790          >/dev/null 2>conftest.err &&
   20791        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20792        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20793        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20794        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20795       # icc doesn't choke on unknown options, it will just issue warnings
   20796       # or remarks (even with -Werror).  So we grep stderr for any message
   20797       # that says an option was ignored or not supported.
   20798       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20799       #   icc: Command line warning: ignoring option '-M'; no argument required
   20800       # The diagnosis changed in icc 8.0:
   20801       #   icc: Command line remark: option '-MP' not supported
   20802       if (grep 'ignoring option' conftest.err ||
   20803           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20804         am_cv_CC_dependencies_compiler_type=$depmode
   20805         break
   20806       fi
   20807     fi
   20808   done
   20809 
   20810   cd ..
   20811   rm -rf conftest.dir
   20812 else
   20813   am_cv_CC_dependencies_compiler_type=none
   20814 fi
   20815 
   20816 fi
   20817 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20818 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20819 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20820 
   20821  if
   20822   test "x$enable_dependency_tracking" != xno \
   20823   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20824   am__fastdepCC_TRUE=
   20825   am__fastdepCC_FALSE='#'
   20826 else
   20827   am__fastdepCC_TRUE='#'
   20828   am__fastdepCC_FALSE=
   20829 fi
   20830 
   20831 
   20832 if test "x$CC" != xcc; then
   20833   { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
   20834 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
   20835 else
   20836   { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
   20837 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
   20838 fi
   20839 set dummy $CC; ac_cc=`echo $2 |
   20840 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   20841 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
   20842   echo $ECHO_N "(cached) $ECHO_C" >&6
   20843 else
   20844   cat >conftest.$ac_ext <<_ACEOF
   20845 /* confdefs.h.  */
   20846 _ACEOF
   20847 cat confdefs.h >>conftest.$ac_ext
   20848 cat >>conftest.$ac_ext <<_ACEOF
   20849 /* end confdefs.h.  */
   20850 
   20851 int
   20852 main ()
   20853 {
   20854 
   20855   ;
   20856   return 0;
   20857 }
   20858 _ACEOF
   20859 # Make sure it works both with $CC and with simple cc.
   20860 # We do the test twice because some compilers refuse to overwrite an
   20861 # existing .o file with -o, though they will create one.
   20862 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   20863 rm -f conftest2.*
   20864 if { (case "(($ac_try" in
   20865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20866   *) ac_try_echo=$ac_try;;
   20867 esac
   20868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20869   (eval "$ac_try") 2>&5
   20870   ac_status=$?
   20871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20872   (exit $ac_status); } &&
   20873    test -f conftest2.$ac_objext && { (case "(($ac_try" in
   20874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20875   *) ac_try_echo=$ac_try;;
   20876 esac
   20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20878   (eval "$ac_try") 2>&5
   20879   ac_status=$?
   20880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20881   (exit $ac_status); };
   20882 then
   20883   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   20884   if test "x$CC" != xcc; then
   20885     # Test first that cc exists at all.
   20886     if { ac_try='cc -c conftest.$ac_ext >&5'
   20887   { (case "(($ac_try" in
   20888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20889   *) ac_try_echo=$ac_try;;
   20890 esac
   20891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20892   (eval "$ac_try") 2>&5
   20893   ac_status=$?
   20894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20895   (exit $ac_status); }; }; then
   20896       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   20897       rm -f conftest2.*
   20898       if { (case "(($ac_try" in
   20899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20900   *) ac_try_echo=$ac_try;;
   20901 esac
   20902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20903   (eval "$ac_try") 2>&5
   20904   ac_status=$?
   20905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20906   (exit $ac_status); } &&
   20907 	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
   20908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20909   *) ac_try_echo=$ac_try;;
   20910 esac
   20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20912   (eval "$ac_try") 2>&5
   20913   ac_status=$?
   20914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20915   (exit $ac_status); };
   20916       then
   20917 	# cc works too.
   20918 	:
   20919       else
   20920 	# cc exists but doesn't like -o.
   20921 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   20922       fi
   20923     fi
   20924   fi
   20925 else
   20926   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   20927 fi
   20928 rm -f core conftest*
   20929 
   20930 fi
   20931 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   20932   { echo "$as_me:$LINENO: result: yes" >&5
   20933 echo "${ECHO_T}yes" >&6; }
   20934 else
   20935   { echo "$as_me:$LINENO: result: no" >&5
   20936 echo "${ECHO_T}no" >&6; }
   20937 
   20938 cat >>confdefs.h <<\_ACEOF
   20939 #define NO_MINUS_C_MINUS_O 1
   20940 _ACEOF
   20941 
   20942 fi
   20943 
   20944 # FIXME: we rely on the cache variable name because
   20945 # there is no other way.
   20946 set dummy $CC
   20947 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   20948 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
   20949    # Losing compiler, so override with the script.
   20950    # FIXME: It is wrong to rewrite CC.
   20951    # But if we don't then we get into trouble of one sort or another.
   20952    # A longer-term fix would be to have automake use am__CC in this case,
   20953    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   20954    CC="$am_aux_dir/compile $CC"
   20955 fi
   20956 
   20957 
   20958 
   20959 # Extract the first word of "intel-gen4asm", so it can be a program name with args.
   20960 set dummy intel-gen4asm; ac_word=$2
   20961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20963 if test "${ac_cv_prog_gen4asm+set}" = set; then
   20964   echo $ECHO_N "(cached) $ECHO_C" >&6
   20965 else
   20966   if test -n "$gen4asm"; then
   20967   ac_cv_prog_gen4asm="$gen4asm" # Let the user override the test.
   20968 else
   20969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20970 for as_dir in $PATH
   20971 do
   20972   IFS=$as_save_IFS
   20973   test -z "$as_dir" && as_dir=.
   20974   for ac_exec_ext in '' $ac_executable_extensions; do
   20975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20976     ac_cv_prog_gen4asm="yes"
   20977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20978     break 2
   20979   fi
   20980 done
   20981 done
   20982 IFS=$as_save_IFS
   20983 
   20984   test -z "$ac_cv_prog_gen4asm" && ac_cv_prog_gen4asm="no"
   20985 fi
   20986 fi
   20987 gen4asm=$ac_cv_prog_gen4asm
   20988 if test -n "$gen4asm"; then
   20989   { echo "$as_me:$LINENO: result: $gen4asm" >&5
   20990 echo "${ECHO_T}$gen4asm" >&6; }
   20991 else
   20992   { echo "$as_me:$LINENO: result: no" >&5
   20993 echo "${ECHO_T}no" >&6; }
   20994 fi
   20995 
   20996 
   20997  if test x$gen4asm = xyes; then
   20998   HAVE_GEN4ASM_TRUE=
   20999   HAVE_GEN4ASM_FALSE='#'
   21000 else
   21001   HAVE_GEN4ASM_TRUE='#'
   21002   HAVE_GEN4ASM_FALSE=
   21003 fi
   21004 
   21005 
   21006 
   21007 for ac_header in sys/mman.h
   21008 do
   21009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   21010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21011   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   21012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   21013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21014   echo $ECHO_N "(cached) $ECHO_C" >&6
   21015 fi
   21016 ac_res=`eval echo '${'$as_ac_Header'}'`
   21017 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21018 echo "${ECHO_T}$ac_res" >&6; }
   21019 else
   21020   # Is the header compilable?
   21021 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   21022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   21023 cat >conftest.$ac_ext <<_ACEOF
   21024 /* confdefs.h.  */
   21025 _ACEOF
   21026 cat confdefs.h >>conftest.$ac_ext
   21027 cat >>conftest.$ac_ext <<_ACEOF
   21028 /* end confdefs.h.  */
   21029 $ac_includes_default
   21030 #include <$ac_header>
   21031 _ACEOF
   21032 rm -f conftest.$ac_objext
   21033 if { (ac_try="$ac_compile"
   21034 case "(($ac_try" in
   21035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21036   *) ac_try_echo=$ac_try;;
   21037 esac
   21038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21039   (eval "$ac_compile") 2>conftest.er1
   21040   ac_status=$?
   21041   grep -v '^ *+' conftest.er1 >conftest.err
   21042   rm -f conftest.er1
   21043   cat conftest.err >&5
   21044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21045   (exit $ac_status); } && {
   21046 	 test -z "$ac_c_werror_flag" ||
   21047 	 test ! -s conftest.err
   21048        } && test -s conftest.$ac_objext; then
   21049   ac_header_compiler=yes
   21050 else
   21051   echo "$as_me: failed program was:" >&5
   21052 sed 's/^/| /' conftest.$ac_ext >&5
   21053 
   21054 	ac_header_compiler=no
   21055 fi
   21056 
   21057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21058 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21059 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21060 
   21061 # Is the header present?
   21062 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   21063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   21064 cat >conftest.$ac_ext <<_ACEOF
   21065 /* confdefs.h.  */
   21066 _ACEOF
   21067 cat confdefs.h >>conftest.$ac_ext
   21068 cat >>conftest.$ac_ext <<_ACEOF
   21069 /* end confdefs.h.  */
   21070 #include <$ac_header>
   21071 _ACEOF
   21072 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21073 case "(($ac_try" in
   21074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21075   *) ac_try_echo=$ac_try;;
   21076 esac
   21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21078   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21079   ac_status=$?
   21080   grep -v '^ *+' conftest.er1 >conftest.err
   21081   rm -f conftest.er1
   21082   cat conftest.err >&5
   21083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21084   (exit $ac_status); } >/dev/null && {
   21085 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21086 	 test ! -s conftest.err
   21087        }; then
   21088   ac_header_preproc=yes
   21089 else
   21090   echo "$as_me: failed program was:" >&5
   21091 sed 's/^/| /' conftest.$ac_ext >&5
   21092 
   21093   ac_header_preproc=no
   21094 fi
   21095 
   21096 rm -f conftest.err conftest.$ac_ext
   21097 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21098 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21099 
   21100 # So?  What about this header?
   21101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21102   yes:no: )
   21103     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   21104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21105     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   21106 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   21107     ac_header_preproc=yes
   21108     ;;
   21109   no:yes:* )
   21110     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   21111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   21112     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   21113 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   21114     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   21115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   21116     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   21117 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   21118     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   21119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   21120     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   21121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   21122     ( cat <<\_ASBOX
   21123 ## ---------------------------------------------------------------------- ##
   21124 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21125 ## ---------------------------------------------------------------------- ##
   21126 _ASBOX
   21127      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21128     ;;
   21129 esac
   21130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   21131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   21132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21133   echo $ECHO_N "(cached) $ECHO_C" >&6
   21134 else
   21135   eval "$as_ac_Header=\$ac_header_preproc"
   21136 fi
   21137 ac_res=`eval echo '${'$as_ac_Header'}'`
   21138 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21139 echo "${ECHO_T}$ac_res" >&6; }
   21140 
   21141 fi
   21142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   21143   cat >>confdefs.h <<_ACEOF
   21144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   21145 _ACEOF
   21146 
   21147 fi
   21148 
   21149 done
   21150 
   21151 
   21152 for ac_func in mprotect
   21153 do
   21154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21155 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   21156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   21157 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21158   echo $ECHO_N "(cached) $ECHO_C" >&6
   21159 else
   21160   cat >conftest.$ac_ext <<_ACEOF
   21161 /* confdefs.h.  */
   21162 _ACEOF
   21163 cat confdefs.h >>conftest.$ac_ext
   21164 cat >>conftest.$ac_ext <<_ACEOF
   21165 /* end confdefs.h.  */
   21166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21168 #define $ac_func innocuous_$ac_func
   21169 
   21170 /* System header to define __stub macros and hopefully few prototypes,
   21171     which can conflict with char $ac_func (); below.
   21172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21173     <limits.h> exists even on freestanding compilers.  */
   21174 
   21175 #ifdef __STDC__
   21176 # include <limits.h>
   21177 #else
   21178 # include <assert.h>
   21179 #endif
   21180 
   21181 #undef $ac_func
   21182 
   21183 /* Override any GCC internal prototype to avoid an error.
   21184    Use char because int might match the return type of a GCC
   21185    builtin and then its argument prototype would still apply.  */
   21186 #ifdef __cplusplus
   21187 extern "C"
   21188 #endif
   21189 char $ac_func ();
   21190 /* The GNU C library defines this for functions which it implements
   21191     to always fail with ENOSYS.  Some functions are actually named
   21192     something starting with __ and the normal name is an alias.  */
   21193 #if defined __stub_$ac_func || defined __stub___$ac_func
   21194 choke me
   21195 #endif
   21196 
   21197 int
   21198 main ()
   21199 {
   21200 return $ac_func ();
   21201   ;
   21202   return 0;
   21203 }
   21204 _ACEOF
   21205 rm -f conftest.$ac_objext conftest$ac_exeext
   21206 if { (ac_try="$ac_link"
   21207 case "(($ac_try" in
   21208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21209   *) ac_try_echo=$ac_try;;
   21210 esac
   21211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21212   (eval "$ac_link") 2>conftest.er1
   21213   ac_status=$?
   21214   grep -v '^ *+' conftest.er1 >conftest.err
   21215   rm -f conftest.er1
   21216   cat conftest.err >&5
   21217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21218   (exit $ac_status); } && {
   21219 	 test -z "$ac_c_werror_flag" ||
   21220 	 test ! -s conftest.err
   21221        } && test -s conftest$ac_exeext &&
   21222        $as_test_x conftest$ac_exeext; then
   21223   eval "$as_ac_var=yes"
   21224 else
   21225   echo "$as_me: failed program was:" >&5
   21226 sed 's/^/| /' conftest.$ac_ext >&5
   21227 
   21228 	eval "$as_ac_var=no"
   21229 fi
   21230 
   21231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21232       conftest$ac_exeext conftest.$ac_ext
   21233 fi
   21234 ac_res=`eval echo '${'$as_ac_var'}'`
   21235 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21236 echo "${ECHO_T}$ac_res" >&6; }
   21237 if test `eval echo '${'$as_ac_var'}'` = yes; then
   21238   cat >>confdefs.h <<_ACEOF
   21239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21240 _ACEOF
   21241 
   21242 fi
   21243 done
   21244 
   21245 
   21246 
   21247 
   21248 
   21249 
   21250 # Check whether --with-xorg-module-dir was given.
   21251 if test "${with_xorg_module_dir+set}" = set; then
   21252   withval=$with_xorg_module_dir; moduledir="$withval"
   21253 else
   21254   moduledir="$libdir/xorg/modules"
   21255 fi
   21256 
   21257 
   21258 # Check whether --enable-dri was given.
   21259 if test "${enable_dri+set}" = set; then
   21260   enableval=$enable_dri; DRI="$enableval"
   21261 else
   21262   DRI=auto
   21263 fi
   21264 
   21265 
   21266 # Check whether --enable-video-debug was given.
   21267 if test "${enable_video_debug+set}" = set; then
   21268   enableval=$enable_video_debug; VIDEO_DEBUG="$enableval"
   21269 else
   21270   VIDEO_DEBUG=no
   21271 fi
   21272 
   21273 
   21274 
   21275 # Check whether --with-xserver-source was given.
   21276 if test "${with_xserver_source+set}" = set; then
   21277   withval=$with_xserver_source;  XSERVER_SOURCE="$withval"
   21278 else
   21279    XSERVER_SOURCE=""
   21280 fi
   21281 
   21282 
   21283 # Check whether --enable-xvmc was given.
   21284 if test "${enable_xvmc+set}" = set; then
   21285   enableval=$enable_xvmc; XVMC="$enableval"
   21286 else
   21287   XVMC=auto
   21288 fi
   21289 
   21290 
   21291 # Checks for extensions
   21292 
   21293 	SAVE_CFLAGS="$CFLAGS"
   21294 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21295 	cat >conftest.$ac_ext <<_ACEOF
   21296 /* confdefs.h.  */
   21297 _ACEOF
   21298 cat confdefs.h >>conftest.$ac_ext
   21299 cat >>conftest.$ac_ext <<_ACEOF
   21300 /* end confdefs.h.  */
   21301 
   21302 #include "xorg-server.h"
   21303 #if !defined XINERAMA
   21304 #error XINERAMA not defined
   21305 #endif
   21306 
   21307 int
   21308 main ()
   21309 {
   21310 
   21311   ;
   21312   return 0;
   21313 }
   21314 _ACEOF
   21315 rm -f conftest.$ac_objext
   21316 if { (ac_try="$ac_compile"
   21317 case "(($ac_try" in
   21318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21319   *) ac_try_echo=$ac_try;;
   21320 esac
   21321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21322   (eval "$ac_compile") 2>conftest.er1
   21323   ac_status=$?
   21324   grep -v '^ *+' conftest.er1 >conftest.err
   21325   rm -f conftest.er1
   21326   cat conftest.err >&5
   21327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21328   (exit $ac_status); } && {
   21329 	 test -z "$ac_c_werror_flag" ||
   21330 	 test ! -s conftest.err
   21331        } && test -s conftest.$ac_objext; then
   21332   _EXT_CHECK=yes
   21333 else
   21334   echo "$as_me: failed program was:" >&5
   21335 sed 's/^/| /' conftest.$ac_ext >&5
   21336 
   21337 	_EXT_CHECK=no
   21338 fi
   21339 
   21340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21341 	CFLAGS="$SAVE_CFLAGS"
   21342 	{ echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   21343 echo $ECHO_N "checking if XINERAMA is defined... $ECHO_C" >&6; }
   21344 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21345 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21346 	if test "$_EXT_CHECK" != no; then
   21347 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   21348 	fi
   21349 
   21350 
   21351 	SAVE_CFLAGS="$CFLAGS"
   21352 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21353 	cat >conftest.$ac_ext <<_ACEOF
   21354 /* confdefs.h.  */
   21355 _ACEOF
   21356 cat confdefs.h >>conftest.$ac_ext
   21357 cat >>conftest.$ac_ext <<_ACEOF
   21358 /* end confdefs.h.  */
   21359 
   21360 #include "xorg-server.h"
   21361 #if !defined RANDR
   21362 #error RANDR not defined
   21363 #endif
   21364 
   21365 int
   21366 main ()
   21367 {
   21368 
   21369   ;
   21370   return 0;
   21371 }
   21372 _ACEOF
   21373 rm -f conftest.$ac_objext
   21374 if { (ac_try="$ac_compile"
   21375 case "(($ac_try" in
   21376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21377   *) ac_try_echo=$ac_try;;
   21378 esac
   21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21380   (eval "$ac_compile") 2>conftest.er1
   21381   ac_status=$?
   21382   grep -v '^ *+' conftest.er1 >conftest.err
   21383   rm -f conftest.er1
   21384   cat conftest.err >&5
   21385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21386   (exit $ac_status); } && {
   21387 	 test -z "$ac_c_werror_flag" ||
   21388 	 test ! -s conftest.err
   21389        } && test -s conftest.$ac_objext; then
   21390   _EXT_CHECK=yes
   21391 else
   21392   echo "$as_me: failed program was:" >&5
   21393 sed 's/^/| /' conftest.$ac_ext >&5
   21394 
   21395 	_EXT_CHECK=no
   21396 fi
   21397 
   21398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21399 	CFLAGS="$SAVE_CFLAGS"
   21400 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   21401 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   21402 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21403 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21404 	if test "$_EXT_CHECK" != no; then
   21405 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   21406 	fi
   21407 
   21408 
   21409 	SAVE_CFLAGS="$CFLAGS"
   21410 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21411 	cat >conftest.$ac_ext <<_ACEOF
   21412 /* confdefs.h.  */
   21413 _ACEOF
   21414 cat confdefs.h >>conftest.$ac_ext
   21415 cat >>conftest.$ac_ext <<_ACEOF
   21416 /* end confdefs.h.  */
   21417 
   21418 #include "xorg-server.h"
   21419 #if !defined RENDER
   21420 #error RENDER not defined
   21421 #endif
   21422 
   21423 int
   21424 main ()
   21425 {
   21426 
   21427   ;
   21428   return 0;
   21429 }
   21430 _ACEOF
   21431 rm -f conftest.$ac_objext
   21432 if { (ac_try="$ac_compile"
   21433 case "(($ac_try" in
   21434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21435   *) ac_try_echo=$ac_try;;
   21436 esac
   21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21438   (eval "$ac_compile") 2>conftest.er1
   21439   ac_status=$?
   21440   grep -v '^ *+' conftest.er1 >conftest.err
   21441   rm -f conftest.er1
   21442   cat conftest.err >&5
   21443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21444   (exit $ac_status); } && {
   21445 	 test -z "$ac_c_werror_flag" ||
   21446 	 test ! -s conftest.err
   21447        } && test -s conftest.$ac_objext; then
   21448   _EXT_CHECK=yes
   21449 else
   21450   echo "$as_me: failed program was:" >&5
   21451 sed 's/^/| /' conftest.$ac_ext >&5
   21452 
   21453 	_EXT_CHECK=no
   21454 fi
   21455 
   21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21457 	CFLAGS="$SAVE_CFLAGS"
   21458 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   21459 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   21460 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21461 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21462 	if test "$_EXT_CHECK" != no; then
   21463 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   21464 	fi
   21465 
   21466 
   21467 	SAVE_CFLAGS="$CFLAGS"
   21468 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21469 	cat >conftest.$ac_ext <<_ACEOF
   21470 /* confdefs.h.  */
   21471 _ACEOF
   21472 cat confdefs.h >>conftest.$ac_ext
   21473 cat >>conftest.$ac_ext <<_ACEOF
   21474 /* end confdefs.h.  */
   21475 
   21476 #include "xorg-server.h"
   21477 #if !defined XF86DRI
   21478 #error XF86DRI not defined
   21479 #endif
   21480 
   21481 int
   21482 main ()
   21483 {
   21484 
   21485   ;
   21486   return 0;
   21487 }
   21488 _ACEOF
   21489 rm -f conftest.$ac_objext
   21490 if { (ac_try="$ac_compile"
   21491 case "(($ac_try" in
   21492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21493   *) ac_try_echo=$ac_try;;
   21494 esac
   21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21496   (eval "$ac_compile") 2>conftest.er1
   21497   ac_status=$?
   21498   grep -v '^ *+' conftest.er1 >conftest.err
   21499   rm -f conftest.er1
   21500   cat conftest.err >&5
   21501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21502   (exit $ac_status); } && {
   21503 	 test -z "$ac_c_werror_flag" ||
   21504 	 test ! -s conftest.err
   21505        } && test -s conftest.$ac_objext; then
   21506   _EXT_CHECK=yes
   21507 else
   21508   echo "$as_me: failed program was:" >&5
   21509 sed 's/^/| /' conftest.$ac_ext >&5
   21510 
   21511 	_EXT_CHECK=no
   21512 fi
   21513 
   21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21515 	CFLAGS="$SAVE_CFLAGS"
   21516 	{ echo "$as_me:$LINENO: checking if XF86DRI is defined" >&5
   21517 echo $ECHO_N "checking if XF86DRI is defined... $ECHO_C" >&6; }
   21518 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21519 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21520 	if test "$_EXT_CHECK" != no; then
   21521 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto x11"
   21522 	fi
   21523 
   21524 
   21525 	SAVE_CFLAGS="$CFLAGS"
   21526 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21527 	cat >conftest.$ac_ext <<_ACEOF
   21528 /* confdefs.h.  */
   21529 _ACEOF
   21530 cat confdefs.h >>conftest.$ac_ext
   21531 cat >>conftest.$ac_ext <<_ACEOF
   21532 /* end confdefs.h.  */
   21533 
   21534 #include "xorg-server.h"
   21535 #if !defined DPMSExtension
   21536 #error DPMSExtension not defined
   21537 #endif
   21538 
   21539 int
   21540 main ()
   21541 {
   21542 
   21543   ;
   21544   return 0;
   21545 }
   21546 _ACEOF
   21547 rm -f conftest.$ac_objext
   21548 if { (ac_try="$ac_compile"
   21549 case "(($ac_try" in
   21550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21551   *) ac_try_echo=$ac_try;;
   21552 esac
   21553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21554   (eval "$ac_compile") 2>conftest.er1
   21555   ac_status=$?
   21556   grep -v '^ *+' conftest.er1 >conftest.err
   21557   rm -f conftest.er1
   21558   cat conftest.err >&5
   21559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21560   (exit $ac_status); } && {
   21561 	 test -z "$ac_c_werror_flag" ||
   21562 	 test ! -s conftest.err
   21563        } && test -s conftest.$ac_objext; then
   21564   _EXT_CHECK=yes
   21565 else
   21566   echo "$as_me: failed program was:" >&5
   21567 sed 's/^/| /' conftest.$ac_ext >&5
   21568 
   21569 	_EXT_CHECK=no
   21570 fi
   21571 
   21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21573 	CFLAGS="$SAVE_CFLAGS"
   21574 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21575 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   21576 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21577 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   21578 	if test "$_EXT_CHECK" != no; then
   21579 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21580 	fi
   21581 
   21582 
   21583 # Checks for pkg-config packages
   21584 
   21585 
   21586 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21587 	if test -n "$ac_tool_prefix"; then
   21588   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21589 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21592 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21593   echo $ECHO_N "(cached) $ECHO_C" >&6
   21594 else
   21595   case $PKG_CONFIG in
   21596   [\\/]* | ?:[\\/]*)
   21597   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21598   ;;
   21599   *)
   21600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21601 for as_dir in $PATH
   21602 do
   21603   IFS=$as_save_IFS
   21604   test -z "$as_dir" && as_dir=.
   21605   for ac_exec_ext in '' $ac_executable_extensions; do
   21606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21607     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21608     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21609     break 2
   21610   fi
   21611 done
   21612 done
   21613 IFS=$as_save_IFS
   21614 
   21615   ;;
   21616 esac
   21617 fi
   21618 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21619 if test -n "$PKG_CONFIG"; then
   21620   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21621 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   21622 else
   21623   { echo "$as_me:$LINENO: result: no" >&5
   21624 echo "${ECHO_T}no" >&6; }
   21625 fi
   21626 
   21627 
   21628 fi
   21629 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21630   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21631   # Extract the first word of "pkg-config", so it can be a program name with args.
   21632 set dummy pkg-config; ac_word=$2
   21633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21635 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21636   echo $ECHO_N "(cached) $ECHO_C" >&6
   21637 else
   21638   case $ac_pt_PKG_CONFIG in
   21639   [\\/]* | ?:[\\/]*)
   21640   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21641   ;;
   21642   *)
   21643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21644 for as_dir in $PATH
   21645 do
   21646   IFS=$as_save_IFS
   21647   test -z "$as_dir" && as_dir=.
   21648   for ac_exec_ext in '' $ac_executable_extensions; do
   21649   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21650     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21651     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21652     break 2
   21653   fi
   21654 done
   21655 done
   21656 IFS=$as_save_IFS
   21657 
   21658   ;;
   21659 esac
   21660 fi
   21661 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21662 if test -n "$ac_pt_PKG_CONFIG"; then
   21663   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21664 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   21665 else
   21666   { echo "$as_me:$LINENO: result: no" >&5
   21667 echo "${ECHO_T}no" >&6; }
   21668 fi
   21669 
   21670   if test "x$ac_pt_PKG_CONFIG" = x; then
   21671     PKG_CONFIG=""
   21672   else
   21673     case $cross_compiling:$ac_tool_warned in
   21674 yes:)
   21675 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   21676 whose name does not start with the host triplet.  If you think this
   21677 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   21678 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   21679 whose name does not start with the host triplet.  If you think this
   21680 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   21681 ac_tool_warned=yes ;;
   21682 esac
   21683     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21684   fi
   21685 else
   21686   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21687 fi
   21688 
   21689 fi
   21690 if test -n "$PKG_CONFIG"; then
   21691 	_pkg_min_version=0.9.0
   21692 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21693 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   21694 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21695 		{ echo "$as_me:$LINENO: result: yes" >&5
   21696 echo "${ECHO_T}yes" >&6; }
   21697 	else
   21698 		{ echo "$as_me:$LINENO: result: no" >&5
   21699 echo "${ECHO_T}no" >&6; }
   21700 		PKG_CONFIG=""
   21701 	fi
   21702 
   21703 fi
   21704 
   21705 pkg_failed=no
   21706 { echo "$as_me:$LINENO: checking for XORG" >&5
   21707 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   21708 
   21709 if test -n "$PKG_CONFIG"; then
   21710     if test -n "$XORG_CFLAGS"; then
   21711         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21712     else
   21713         if test -n "$PKG_CONFIG" && \
   21714     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21715   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   21716   ac_status=$?
   21717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21718   (exit $ac_status); }; then
   21719   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21720 else
   21721   pkg_failed=yes
   21722 fi
   21723     fi
   21724 else
   21725 	pkg_failed=untried
   21726 fi
   21727 if test -n "$PKG_CONFIG"; then
   21728     if test -n "$XORG_LIBS"; then
   21729         pkg_cv_XORG_LIBS="$XORG_LIBS"
   21730     else
   21731         if test -n "$PKG_CONFIG" && \
   21732     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21733   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   21734   ac_status=$?
   21735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21736   (exit $ac_status); }; then
   21737   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21738 else
   21739   pkg_failed=yes
   21740 fi
   21741     fi
   21742 else
   21743 	pkg_failed=untried
   21744 fi
   21745 
   21746 
   21747 
   21748 if test $pkg_failed = yes; then
   21749 
   21750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21751         _pkg_short_errors_supported=yes
   21752 else
   21753         _pkg_short_errors_supported=no
   21754 fi
   21755         if test $_pkg_short_errors_supported = yes; then
   21756 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES"`
   21757         else
   21758 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES"`
   21759         fi
   21760 	# Put the nasty error message in config.log where it belongs
   21761 	echo "$XORG_PKG_ERRORS" >&5
   21762 
   21763 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   21764 
   21765 $XORG_PKG_ERRORS
   21766 
   21767 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21768 installed software in a non-standard prefix.
   21769 
   21770 Alternatively, you may set the environment variables XORG_CFLAGS
   21771 and XORG_LIBS to avoid the need to call pkg-config.
   21772 See the pkg-config man page for more details.
   21773 " >&5
   21774 echo "$as_me: error: Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   21775 
   21776 $XORG_PKG_ERRORS
   21777 
   21778 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21779 installed software in a non-standard prefix.
   21780 
   21781 Alternatively, you may set the environment variables XORG_CFLAGS
   21782 and XORG_LIBS to avoid the need to call pkg-config.
   21783 See the pkg-config man page for more details.
   21784 " >&2;}
   21785    { (exit 1); exit 1; }; }
   21786 elif test $pkg_failed = untried; then
   21787 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21788 is in your PATH or set the PKG_CONFIG environment variable to the full
   21789 path to pkg-config.
   21790 
   21791 Alternatively, you may set the environment variables XORG_CFLAGS
   21792 and XORG_LIBS to avoid the need to call pkg-config.
   21793 See the pkg-config man page for more details.
   21794 
   21795 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21796 See \`config.log' for more details." >&5
   21797 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21798 is in your PATH or set the PKG_CONFIG environment variable to the full
   21799 path to pkg-config.
   21800 
   21801 Alternatively, you may set the environment variables XORG_CFLAGS
   21802 and XORG_LIBS to avoid the need to call pkg-config.
   21803 See the pkg-config man page for more details.
   21804 
   21805 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21806 See \`config.log' for more details." >&2;}
   21807    { (exit 1); exit 1; }; }
   21808 else
   21809 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21810 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21811         { echo "$as_me:$LINENO: result: yes" >&5
   21812 echo "${ECHO_T}yes" >&6; }
   21813 	:
   21814 fi
   21815 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21816 
   21817 # Checks for libraries.
   21818 
   21819 # Checks for header files.
   21820 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21821 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   21822 if test "${ac_cv_header_stdc+set}" = set; then
   21823   echo $ECHO_N "(cached) $ECHO_C" >&6
   21824 else
   21825   cat >conftest.$ac_ext <<_ACEOF
   21826 /* confdefs.h.  */
   21827 _ACEOF
   21828 cat confdefs.h >>conftest.$ac_ext
   21829 cat >>conftest.$ac_ext <<_ACEOF
   21830 /* end confdefs.h.  */
   21831 #include <stdlib.h>
   21832 #include <stdarg.h>
   21833 #include <string.h>
   21834 #include <float.h>
   21835 
   21836 int
   21837 main ()
   21838 {
   21839 
   21840   ;
   21841   return 0;
   21842 }
   21843 _ACEOF
   21844 rm -f conftest.$ac_objext
   21845 if { (ac_try="$ac_compile"
   21846 case "(($ac_try" in
   21847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21848   *) ac_try_echo=$ac_try;;
   21849 esac
   21850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21851   (eval "$ac_compile") 2>conftest.er1
   21852   ac_status=$?
   21853   grep -v '^ *+' conftest.er1 >conftest.err
   21854   rm -f conftest.er1
   21855   cat conftest.err >&5
   21856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21857   (exit $ac_status); } && {
   21858 	 test -z "$ac_c_werror_flag" ||
   21859 	 test ! -s conftest.err
   21860        } && test -s conftest.$ac_objext; then
   21861   ac_cv_header_stdc=yes
   21862 else
   21863   echo "$as_me: failed program was:" >&5
   21864 sed 's/^/| /' conftest.$ac_ext >&5
   21865 
   21866 	ac_cv_header_stdc=no
   21867 fi
   21868 
   21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21870 
   21871 if test $ac_cv_header_stdc = yes; then
   21872   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21873   cat >conftest.$ac_ext <<_ACEOF
   21874 /* confdefs.h.  */
   21875 _ACEOF
   21876 cat confdefs.h >>conftest.$ac_ext
   21877 cat >>conftest.$ac_ext <<_ACEOF
   21878 /* end confdefs.h.  */
   21879 #include <string.h>
   21880 
   21881 _ACEOF
   21882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21883   $EGREP "memchr" >/dev/null 2>&1; then
   21884   :
   21885 else
   21886   ac_cv_header_stdc=no
   21887 fi
   21888 rm -f conftest*
   21889 
   21890 fi
   21891 
   21892 if test $ac_cv_header_stdc = yes; then
   21893   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21894   cat >conftest.$ac_ext <<_ACEOF
   21895 /* confdefs.h.  */
   21896 _ACEOF
   21897 cat confdefs.h >>conftest.$ac_ext
   21898 cat >>conftest.$ac_ext <<_ACEOF
   21899 /* end confdefs.h.  */
   21900 #include <stdlib.h>
   21901 
   21902 _ACEOF
   21903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21904   $EGREP "free" >/dev/null 2>&1; then
   21905   :
   21906 else
   21907   ac_cv_header_stdc=no
   21908 fi
   21909 rm -f conftest*
   21910 
   21911 fi
   21912 
   21913 if test $ac_cv_header_stdc = yes; then
   21914   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21915   if test "$cross_compiling" = yes; then
   21916   :
   21917 else
   21918   cat >conftest.$ac_ext <<_ACEOF
   21919 /* confdefs.h.  */
   21920 _ACEOF
   21921 cat confdefs.h >>conftest.$ac_ext
   21922 cat >>conftest.$ac_ext <<_ACEOF
   21923 /* end confdefs.h.  */
   21924 #include <ctype.h>
   21925 #include <stdlib.h>
   21926 #if ((' ' & 0x0FF) == 0x020)
   21927 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21928 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21929 #else
   21930 # define ISLOWER(c) \
   21931 		   (('a' <= (c) && (c) <= 'i') \
   21932 		     || ('j' <= (c) && (c) <= 'r') \
   21933 		     || ('s' <= (c) && (c) <= 'z'))
   21934 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21935 #endif
   21936 
   21937 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21938 int
   21939 main ()
   21940 {
   21941   int i;
   21942   for (i = 0; i < 256; i++)
   21943     if (XOR (islower (i), ISLOWER (i))
   21944 	|| toupper (i) != TOUPPER (i))
   21945       return 2;
   21946   return 0;
   21947 }
   21948 _ACEOF
   21949 rm -f conftest$ac_exeext
   21950 if { (ac_try="$ac_link"
   21951 case "(($ac_try" in
   21952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21953   *) ac_try_echo=$ac_try;;
   21954 esac
   21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21956   (eval "$ac_link") 2>&5
   21957   ac_status=$?
   21958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21959   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21960   { (case "(($ac_try" in
   21961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21962   *) ac_try_echo=$ac_try;;
   21963 esac
   21964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21965   (eval "$ac_try") 2>&5
   21966   ac_status=$?
   21967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21968   (exit $ac_status); }; }; then
   21969   :
   21970 else
   21971   echo "$as_me: program exited with status $ac_status" >&5
   21972 echo "$as_me: failed program was:" >&5
   21973 sed 's/^/| /' conftest.$ac_ext >&5
   21974 
   21975 ( exit $ac_status )
   21976 ac_cv_header_stdc=no
   21977 fi
   21978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21979 fi
   21980 
   21981 
   21982 fi
   21983 fi
   21984 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21985 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   21986 if test $ac_cv_header_stdc = yes; then
   21987 
   21988 cat >>confdefs.h <<\_ACEOF
   21989 #define STDC_HEADERS 1
   21990 _ACEOF
   21991 
   21992 fi
   21993 
   21994 
   21995 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   21996 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   21997 if test x$DRI = xauto; then
   21998         as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   21999 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   22000 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
   22001 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   22002   echo $ECHO_N "(cached) $ECHO_C" >&6
   22003 else
   22004   test "$cross_compiling" = yes &&
   22005   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22006 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22007    { (exit 1); exit 1; }; }
   22008 if test -r "${sdkdir}/dri.h"; then
   22009   eval "$as_ac_File=yes"
   22010 else
   22011   eval "$as_ac_File=no"
   22012 fi
   22013 fi
   22014 ac_res=`eval echo '${'$as_ac_File'}'`
   22015 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22016 echo "${ECHO_T}$ac_res" >&6; }
   22017 if test `eval echo '${'$as_ac_File'}'` = yes; then
   22018   have_dri_h="yes"
   22019 else
   22020   have_dri_h="no"
   22021 fi
   22022 
   22023         as_ac_File=`echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   22024 { echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   22025 echo $ECHO_N "checking for ${sdkdir}/sarea.h... $ECHO_C" >&6; }
   22026 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   22027   echo $ECHO_N "(cached) $ECHO_C" >&6
   22028 else
   22029   test "$cross_compiling" = yes &&
   22030   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22031 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22032    { (exit 1); exit 1; }; }
   22033 if test -r "${sdkdir}/sarea.h"; then
   22034   eval "$as_ac_File=yes"
   22035 else
   22036   eval "$as_ac_File=no"
   22037 fi
   22038 fi
   22039 ac_res=`eval echo '${'$as_ac_File'}'`
   22040 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22041 echo "${ECHO_T}$ac_res" >&6; }
   22042 if test `eval echo '${'$as_ac_File'}'` = yes; then
   22043   have_sarea_h="yes"
   22044 else
   22045   have_sarea_h="no"
   22046 fi
   22047 
   22048         as_ac_File=`echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   22049 { echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   22050 echo $ECHO_N "checking for ${sdkdir}/dristruct.h... $ECHO_C" >&6; }
   22051 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   22052   echo $ECHO_N "(cached) $ECHO_C" >&6
   22053 else
   22054   test "$cross_compiling" = yes &&
   22055   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22056 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22057    { (exit 1); exit 1; }; }
   22058 if test -r "${sdkdir}/dristruct.h"; then
   22059   eval "$as_ac_File=yes"
   22060 else
   22061   eval "$as_ac_File=no"
   22062 fi
   22063 fi
   22064 ac_res=`eval echo '${'$as_ac_File'}'`
   22065 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22066 echo "${ECHO_T}$ac_res" >&6; }
   22067 if test `eval echo '${'$as_ac_File'}'` = yes; then
   22068   have_dristruct_h="yes"
   22069 else
   22070   have_dristruct_h="no"
   22071 fi
   22072 
   22073 	as_ac_File=`echo "ac_cv_file_${sdkdir}/damage.h" | $as_tr_sh`
   22074 { echo "$as_me:$LINENO: checking for ${sdkdir}/damage.h" >&5
   22075 echo $ECHO_N "checking for ${sdkdir}/damage.h... $ECHO_C" >&6; }
   22076 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   22077   echo $ECHO_N "(cached) $ECHO_C" >&6
   22078 else
   22079   test "$cross_compiling" = yes &&
   22080   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22081 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22082    { (exit 1); exit 1; }; }
   22083 if test -r "${sdkdir}/damage.h"; then
   22084   eval "$as_ac_File=yes"
   22085 else
   22086   eval "$as_ac_File=no"
   22087 fi
   22088 fi
   22089 ac_res=`eval echo '${'$as_ac_File'}'`
   22090 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22091 echo "${ECHO_T}$ac_res" >&6; }
   22092 if test `eval echo '${'$as_ac_File'}'` = yes; then
   22093   have_damage_h="yes"
   22094 else
   22095   have_damage_h="no"
   22096 fi
   22097 
   22098 
   22099         if test "$have_dri_h" = yes -a \
   22100                 "$have_sarea_h" = yes -a \
   22101                 "$have_dristruct_h" = yes; then
   22102                 DRI="yes"
   22103         else
   22104                 DRI="no"
   22105         fi
   22106 fi
   22107 { echo "$as_me:$LINENO: result: $DRI" >&5
   22108 echo "${ECHO_T}$DRI" >&6; }
   22109 
   22110 save_CFLAGS="$CFLAGS"
   22111 CFLAGS="$XORG_CFLAGS"
   22112 { echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   22113 echo $ECHO_N "checking for xf86Modes.h... $ECHO_C" >&6; }
   22114 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   22115   echo $ECHO_N "(cached) $ECHO_C" >&6
   22116 else
   22117   cat >conftest.$ac_ext <<_ACEOF
   22118 /* confdefs.h.  */
   22119 _ACEOF
   22120 cat confdefs.h >>conftest.$ac_ext
   22121 cat >>conftest.$ac_ext <<_ACEOF
   22122 /* end confdefs.h.  */
   22123 #include "xorg-server.h"
   22124 
   22125 #include <xf86Modes.h>
   22126 _ACEOF
   22127 rm -f conftest.$ac_objext
   22128 if { (ac_try="$ac_compile"
   22129 case "(($ac_try" in
   22130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22131   *) ac_try_echo=$ac_try;;
   22132 esac
   22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22134   (eval "$ac_compile") 2>conftest.er1
   22135   ac_status=$?
   22136   grep -v '^ *+' conftest.er1 >conftest.err
   22137   rm -f conftest.er1
   22138   cat conftest.err >&5
   22139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22140   (exit $ac_status); } && {
   22141 	 test -z "$ac_c_werror_flag" ||
   22142 	 test ! -s conftest.err
   22143        } && test -s conftest.$ac_objext; then
   22144   ac_cv_header_xf86Modes_h=yes
   22145 else
   22146   echo "$as_me: failed program was:" >&5
   22147 sed 's/^/| /' conftest.$ac_ext >&5
   22148 
   22149 	ac_cv_header_xf86Modes_h=no
   22150 fi
   22151 
   22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22153 fi
   22154 { echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   22155 echo "${ECHO_T}$ac_cv_header_xf86Modes_h" >&6; }
   22156 if test $ac_cv_header_xf86Modes_h = yes; then
   22157   XMODES=yes
   22158 else
   22159   XMODES=no
   22160 fi
   22161 
   22162 
   22163 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   22164 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   22165 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   22166   echo $ECHO_N "(cached) $ECHO_C" >&6
   22167 else
   22168   cat >conftest.$ac_ext <<_ACEOF
   22169 /* confdefs.h.  */
   22170 _ACEOF
   22171 cat confdefs.h >>conftest.$ac_ext
   22172 cat >>conftest.$ac_ext <<_ACEOF
   22173 /* end confdefs.h.  */
   22174 #include "xorg-server.h"
   22175 
   22176 int
   22177 main ()
   22178 {
   22179 #ifndef XSERVER_LIBPCIACCESS
   22180   (void) XSERVER_LIBPCIACCESS;
   22181 #endif
   22182 
   22183   ;
   22184   return 0;
   22185 }
   22186 _ACEOF
   22187 rm -f conftest.$ac_objext
   22188 if { (ac_try="$ac_compile"
   22189 case "(($ac_try" in
   22190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22191   *) ac_try_echo=$ac_try;;
   22192 esac
   22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22194   (eval "$ac_compile") 2>conftest.er1
   22195   ac_status=$?
   22196   grep -v '^ *+' conftest.er1 >conftest.err
   22197   rm -f conftest.er1
   22198   cat conftest.err >&5
   22199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22200   (exit $ac_status); } && {
   22201 	 test -z "$ac_c_werror_flag" ||
   22202 	 test ! -s conftest.err
   22203        } && test -s conftest.$ac_objext; then
   22204   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   22205 else
   22206   echo "$as_me: failed program was:" >&5
   22207 sed 's/^/| /' conftest.$ac_ext >&5
   22208 
   22209 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   22210 fi
   22211 
   22212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22213 fi
   22214 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   22215 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   22216 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   22217   XSERVER_LIBPCIACCESS=yes
   22218 else
   22219   XSERVER_LIBPCIACCESS=no
   22220 fi
   22221 
   22222 CFLAGS="$save_CFLAGS"
   22223 
   22224 if test x$XSERVER_LIBPCIACCESS = xyes; then
   22225 
   22226 pkg_failed=no
   22227 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   22228 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   22229 
   22230 if test -n "$PKG_CONFIG"; then
   22231     if test -n "$PCIACCESS_CFLAGS"; then
   22232         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   22233     else
   22234         if test -n "$PKG_CONFIG" && \
   22235     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   22236   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   22237   ac_status=$?
   22238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22239   (exit $ac_status); }; then
   22240   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   22241 else
   22242   pkg_failed=yes
   22243 fi
   22244     fi
   22245 else
   22246 	pkg_failed=untried
   22247 fi
   22248 if test -n "$PKG_CONFIG"; then
   22249     if test -n "$PCIACCESS_LIBS"; then
   22250         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   22251     else
   22252         if test -n "$PKG_CONFIG" && \
   22253     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   22254   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   22255   ac_status=$?
   22256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22257   (exit $ac_status); }; then
   22258   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   22259 else
   22260   pkg_failed=yes
   22261 fi
   22262     fi
   22263 else
   22264 	pkg_failed=untried
   22265 fi
   22266 
   22267 
   22268 
   22269 if test $pkg_failed = yes; then
   22270 
   22271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22272         _pkg_short_errors_supported=yes
   22273 else
   22274         _pkg_short_errors_supported=no
   22275 fi
   22276         if test $_pkg_short_errors_supported = yes; then
   22277 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.10"`
   22278         else
   22279 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.10"`
   22280         fi
   22281 	# Put the nasty error message in config.log where it belongs
   22282 	echo "$PCIACCESS_PKG_ERRORS" >&5
   22283 
   22284 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.10) were not met:
   22285 
   22286 $PCIACCESS_PKG_ERRORS
   22287 
   22288 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22289 installed software in a non-standard prefix.
   22290 
   22291 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22292 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22293 See the pkg-config man page for more details.
   22294 " >&5
   22295 echo "$as_me: error: Package requirements (pciaccess >= 0.10) were not met:
   22296 
   22297 $PCIACCESS_PKG_ERRORS
   22298 
   22299 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22300 installed software in a non-standard prefix.
   22301 
   22302 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22303 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22304 See the pkg-config man page for more details.
   22305 " >&2;}
   22306    { (exit 1); exit 1; }; }
   22307 elif test $pkg_failed = untried; then
   22308 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22309 is in your PATH or set the PKG_CONFIG environment variable to the full
   22310 path to pkg-config.
   22311 
   22312 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22313 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22314 See the pkg-config man page for more details.
   22315 
   22316 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22317 See \`config.log' for more details." >&5
   22318 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22319 is in your PATH or set the PKG_CONFIG environment variable to the full
   22320 path to pkg-config.
   22321 
   22322 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22323 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22324 See the pkg-config man page for more details.
   22325 
   22326 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22327 See \`config.log' for more details." >&2;}
   22328    { (exit 1); exit 1; }; }
   22329 else
   22330 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   22331 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   22332         { echo "$as_me:$LINENO: result: yes" >&5
   22333 echo "${ECHO_T}yes" >&6; }
   22334 	:
   22335 fi
   22336 else
   22337 
   22338 pkg_failed=no
   22339 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   22340 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   22341 
   22342 if test -n "$PKG_CONFIG"; then
   22343     if test -n "$PCIACCESS_CFLAGS"; then
   22344         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   22345     else
   22346         if test -n "$PKG_CONFIG" && \
   22347     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   22348   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   22349   ac_status=$?
   22350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22351   (exit $ac_status); }; then
   22352   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   22353 else
   22354   pkg_failed=yes
   22355 fi
   22356     fi
   22357 else
   22358 	pkg_failed=untried
   22359 fi
   22360 if test -n "$PKG_CONFIG"; then
   22361     if test -n "$PCIACCESS_LIBS"; then
   22362         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   22363     else
   22364         if test -n "$PKG_CONFIG" && \
   22365     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   22366   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   22367   ac_status=$?
   22368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22369   (exit $ac_status); }; then
   22370   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   22371 else
   22372   pkg_failed=yes
   22373 fi
   22374     fi
   22375 else
   22376 	pkg_failed=untried
   22377 fi
   22378 
   22379 
   22380 
   22381 if test $pkg_failed = yes; then
   22382 
   22383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22384         _pkg_short_errors_supported=yes
   22385 else
   22386         _pkg_short_errors_supported=no
   22387 fi
   22388         if test $_pkg_short_errors_supported = yes; then
   22389 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.10"`
   22390         else
   22391 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.10"`
   22392         fi
   22393 	# Put the nasty error message in config.log where it belongs
   22394 	echo "$PCIACCESS_PKG_ERRORS" >&5
   22395 
   22396 	{ echo "$as_me:$LINENO: result: no" >&5
   22397 echo "${ECHO_T}no" >&6; }
   22398                 have_libpciaccess=no
   22399 elif test $pkg_failed = untried; then
   22400 	have_libpciaccess=no
   22401 else
   22402 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   22403 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   22404         { echo "$as_me:$LINENO: result: yes" >&5
   22405 echo "${ECHO_T}yes" >&6; }
   22406 	have_libpciaccess=yes
   22407 fi
   22408 fi
   22409  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   22410   XSERVER_LIBPCIACCESS_TRUE=
   22411   XSERVER_LIBPCIACCESS_FALSE='#'
   22412 else
   22413   XSERVER_LIBPCIACCESS_TRUE='#'
   22414   XSERVER_LIBPCIACCESS_FALSE=
   22415 fi
   22416 
   22417  if test "x$XSERVER_LIBPCIACCESS" = xyes -o "x$have_libpciaccess" = xyes; then
   22418   LIBPCIACCESS_TRUE=
   22419   LIBPCIACCESS_FALSE='#'
   22420 else
   22421   LIBPCIACCESS_TRUE='#'
   22422   LIBPCIACCESS_FALSE=
   22423 fi
   22424 
   22425  if test "x$XMODES" = xno; then
   22426   XMODES_TRUE=
   22427   XMODES_FALSE='#'
   22428 else
   22429   XMODES_TRUE='#'
   22430   XMODES_FALSE=
   22431 fi
   22432 
   22433 
   22434 if test "x$XSERVER_SOURCE" = x; then
   22435 	if test -d ../../xserver; then
   22436 		XSERVER_SOURCE="`cd ../../xserver && pwd`"
   22437 	fi
   22438 fi
   22439 
   22440 if test -d "$XSERVER_SOURCE"; then
   22441 	case "$XSERVER_SOURCE" in
   22442 	/*)
   22443 		;;
   22444 	*)
   22445 		XSERVER_SOURCE="`cd $XSERVER_SOURCE && pwd`"
   22446 		;;
   22447 	esac
   22448 	if test -f $srcdir/src/modes/xf86Modes.h; then
   22449 		:
   22450 	else
   22451 		ln -sf $XSERVER_SOURCE/hw/xfree86/modes $srcdir/src/modes
   22452 	fi
   22453 
   22454 	if test -f $srcdir/src/parser/xf86Parser.h; then
   22455 		:
   22456 	else
   22457 		ln -sf $XSERVER_SOURCE/hw/xfree86/parser $srcdir/src/parser
   22458 	fi
   22459 fi
   22460 
   22461 if test "x$XMODES" = xyes; then
   22462 	{ echo "$as_me:$LINENO: X server has new mode code" >&5
   22463 echo "$as_me: X server has new mode code" >&6;}
   22464 
   22465 cat >>confdefs.h <<\_ACEOF
   22466 #define XMODES 1
   22467 _ACEOF
   22468 
   22469 	XMODES_CFLAGS=
   22470 else
   22471 	if test -f $srcdir/src/modes/xf86Modes.h -a -f $srcdir/src/parser/xf86Parser.h; then
   22472 		{ echo "$as_me:$LINENO: X server is missing new mode code, using local copy" >&5
   22473 echo "$as_me: X server is missing new mode code, using local copy" >&6;}
   22474 	else
   22475 		{ { echo "$as_me:$LINENO: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&5
   22476 echo "$as_me: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&2;}
   22477    { (exit 1); exit 1; }; }
   22478 	fi
   22479 	XMODES_CFLAGS='-DXF86_MODES_RENAME -I$(top_srcdir)/src -I$(top_srcdir)/src/modes -I$(top_srcdir)/src/parser'
   22480 fi
   22481 
   22482 
   22483 
   22484 SAVE_CPPFLAGS="$CPPFLAGS"
   22485 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   22486 
   22487 { echo "$as_me:$LINENO: checking whether xf86RotateFreeShadow is declared" >&5
   22488 echo $ECHO_N "checking whether xf86RotateFreeShadow is declared... $ECHO_C" >&6; }
   22489 if test "${ac_cv_have_decl_xf86RotateFreeShadow+set}" = set; then
   22490   echo $ECHO_N "(cached) $ECHO_C" >&6
   22491 else
   22492   cat >conftest.$ac_ext <<_ACEOF
   22493 /* confdefs.h.  */
   22494 _ACEOF
   22495 cat confdefs.h >>conftest.$ac_ext
   22496 cat >>conftest.$ac_ext <<_ACEOF
   22497 /* end confdefs.h.  */
   22498 #include <xorg-server.h>
   22499 	       #include <windowstr.h>
   22500 	       #include <xf86Crtc.h>
   22501 
   22502 int
   22503 main ()
   22504 {
   22505 #ifndef xf86RotateFreeShadow
   22506   (void) xf86RotateFreeShadow;
   22507 #endif
   22508 
   22509   ;
   22510   return 0;
   22511 }
   22512 _ACEOF
   22513 rm -f conftest.$ac_objext
   22514 if { (ac_try="$ac_compile"
   22515 case "(($ac_try" in
   22516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22517   *) ac_try_echo=$ac_try;;
   22518 esac
   22519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22520   (eval "$ac_compile") 2>conftest.er1
   22521   ac_status=$?
   22522   grep -v '^ *+' conftest.er1 >conftest.err
   22523   rm -f conftest.er1
   22524   cat conftest.err >&5
   22525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22526   (exit $ac_status); } && {
   22527 	 test -z "$ac_c_werror_flag" ||
   22528 	 test ! -s conftest.err
   22529        } && test -s conftest.$ac_objext; then
   22530   ac_cv_have_decl_xf86RotateFreeShadow=yes
   22531 else
   22532   echo "$as_me: failed program was:" >&5
   22533 sed 's/^/| /' conftest.$ac_ext >&5
   22534 
   22535 	ac_cv_have_decl_xf86RotateFreeShadow=no
   22536 fi
   22537 
   22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22539 fi
   22540 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86RotateFreeShadow" >&5
   22541 echo "${ECHO_T}$ac_cv_have_decl_xf86RotateFreeShadow" >&6; }
   22542 if test $ac_cv_have_decl_xf86RotateFreeShadow = yes; then
   22543 
   22544 cat >>confdefs.h <<\_ACEOF
   22545 #define HAVE_FREE_SHADOW 1
   22546 _ACEOF
   22547 
   22548 fi
   22549 
   22550 
   22551 CPPFLAGS="$SAVE_CPPFLAGS"
   22552 
   22553 
   22554 WARN_CFLAGS=""
   22555 
   22556 if test "x$GCC" = "xyes"; then
   22557 	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   22558 	-Wmissing-prototypes -Wmissing-declarations \
   22559 	-Wnested-externs -fno-strict-aliasing"
   22560 fi
   22561 
   22562  if test x$DRI = xyes; then
   22563   DRI_TRUE=
   22564   DRI_FALSE='#'
   22565 else
   22566   DRI_TRUE='#'
   22567   DRI_FALSE=
   22568 fi
   22569 
   22570 if test "$DRI" = yes; then
   22571 
   22572 pkg_failed=no
   22573 { echo "$as_me:$LINENO: checking for DRI" >&5
   22574 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   22575 
   22576 if test -n "$PKG_CONFIG"; then
   22577     if test -n "$DRI_CFLAGS"; then
   22578         pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   22579     else
   22580         if test -n "$PKG_CONFIG" && \
   22581     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm xf86driproto glproto\"") >&5
   22582   ($PKG_CONFIG --exists --print-errors "libdrm xf86driproto glproto") 2>&5
   22583   ac_status=$?
   22584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22585   (exit $ac_status); }; then
   22586   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm xf86driproto glproto" 2>/dev/null`
   22587 else
   22588   pkg_failed=yes
   22589 fi
   22590     fi
   22591 else
   22592 	pkg_failed=untried
   22593 fi
   22594 if test -n "$PKG_CONFIG"; then
   22595     if test -n "$DRI_LIBS"; then
   22596         pkg_cv_DRI_LIBS="$DRI_LIBS"
   22597     else
   22598         if test -n "$PKG_CONFIG" && \
   22599     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm xf86driproto glproto\"") >&5
   22600   ($PKG_CONFIG --exists --print-errors "libdrm xf86driproto glproto") 2>&5
   22601   ac_status=$?
   22602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22603   (exit $ac_status); }; then
   22604   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm xf86driproto glproto" 2>/dev/null`
   22605 else
   22606   pkg_failed=yes
   22607 fi
   22608     fi
   22609 else
   22610 	pkg_failed=untried
   22611 fi
   22612 
   22613 
   22614 
   22615 if test $pkg_failed = yes; then
   22616 
   22617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22618         _pkg_short_errors_supported=yes
   22619 else
   22620         _pkg_short_errors_supported=no
   22621 fi
   22622         if test $_pkg_short_errors_supported = yes; then
   22623 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm xf86driproto glproto"`
   22624         else
   22625 	        DRI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm xf86driproto glproto"`
   22626         fi
   22627 	# Put the nasty error message in config.log where it belongs
   22628 	echo "$DRI_PKG_ERRORS" >&5
   22629 
   22630 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm xf86driproto glproto) were not met:
   22631 
   22632 $DRI_PKG_ERRORS
   22633 
   22634 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22635 installed software in a non-standard prefix.
   22636 
   22637 Alternatively, you may set the environment variables DRI_CFLAGS
   22638 and DRI_LIBS to avoid the need to call pkg-config.
   22639 See the pkg-config man page for more details.
   22640 " >&5
   22641 echo "$as_me: error: Package requirements (libdrm xf86driproto glproto) were not met:
   22642 
   22643 $DRI_PKG_ERRORS
   22644 
   22645 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22646 installed software in a non-standard prefix.
   22647 
   22648 Alternatively, you may set the environment variables DRI_CFLAGS
   22649 and DRI_LIBS to avoid the need to call pkg-config.
   22650 See the pkg-config man page for more details.
   22651 " >&2;}
   22652    { (exit 1); exit 1; }; }
   22653 elif test $pkg_failed = untried; then
   22654 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22655 is in your PATH or set the PKG_CONFIG environment variable to the full
   22656 path to pkg-config.
   22657 
   22658 Alternatively, you may set the environment variables DRI_CFLAGS
   22659 and DRI_LIBS to avoid the need to call pkg-config.
   22660 See the pkg-config man page for more details.
   22661 
   22662 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22663 See \`config.log' for more details." >&5
   22664 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22665 is in your PATH or set the PKG_CONFIG environment variable to the full
   22666 path to pkg-config.
   22667 
   22668 Alternatively, you may set the environment variables DRI_CFLAGS
   22669 and DRI_LIBS to avoid the need to call pkg-config.
   22670 See the pkg-config man page for more details.
   22671 
   22672 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22673 See \`config.log' for more details." >&2;}
   22674    { (exit 1); exit 1; }; }
   22675 else
   22676 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   22677 	DRI_LIBS=$pkg_cv_DRI_LIBS
   22678         { echo "$as_me:$LINENO: result: yes" >&5
   22679 echo "${ECHO_T}yes" >&6; }
   22680 	:
   22681 fi
   22682 
   22683 cat >>confdefs.h <<\_ACEOF
   22684 #define XF86DRI 1
   22685 _ACEOF
   22686 
   22687 
   22688 cat >>confdefs.h <<\_ACEOF
   22689 #define XF86DRI_DEVEL 1
   22690 _ACEOF
   22691 
   22692 
   22693 pkg_failed=no
   22694 { echo "$as_me:$LINENO: checking for DRI_MM" >&5
   22695 echo $ECHO_N "checking for DRI_MM... $ECHO_C" >&6; }
   22696 
   22697 if test -n "$PKG_CONFIG"; then
   22698     if test -n "$DRI_MM_CFLAGS"; then
   22699         pkg_cv_DRI_MM_CFLAGS="$DRI_MM_CFLAGS"
   22700     else
   22701         if test -n "$PKG_CONFIG" && \
   22702     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.0\"") >&5
   22703   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.0") 2>&5
   22704   ac_status=$?
   22705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22706   (exit $ac_status); }; then
   22707   pkg_cv_DRI_MM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.0" 2>/dev/null`
   22708 else
   22709   pkg_failed=yes
   22710 fi
   22711     fi
   22712 else
   22713 	pkg_failed=untried
   22714 fi
   22715 if test -n "$PKG_CONFIG"; then
   22716     if test -n "$DRI_MM_LIBS"; then
   22717         pkg_cv_DRI_MM_LIBS="$DRI_MM_LIBS"
   22718     else
   22719         if test -n "$PKG_CONFIG" && \
   22720     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.0\"") >&5
   22721   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.0") 2>&5
   22722   ac_status=$?
   22723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22724   (exit $ac_status); }; then
   22725   pkg_cv_DRI_MM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.0" 2>/dev/null`
   22726 else
   22727   pkg_failed=yes
   22728 fi
   22729     fi
   22730 else
   22731 	pkg_failed=untried
   22732 fi
   22733 
   22734 
   22735 
   22736 if test $pkg_failed = yes; then
   22737 
   22738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22739         _pkg_short_errors_supported=yes
   22740 else
   22741         _pkg_short_errors_supported=no
   22742 fi
   22743         if test $_pkg_short_errors_supported = yes; then
   22744 	        DRI_MM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.4.0"`
   22745         else
   22746 	        DRI_MM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.4.0"`
   22747         fi
   22748 	# Put the nasty error message in config.log where it belongs
   22749 	echo "$DRI_MM_PKG_ERRORS" >&5
   22750 
   22751 	{ echo "$as_me:$LINENO: result: no" >&5
   22752 echo "${ECHO_T}no" >&6; }
   22753                 DRI_MM=no
   22754 elif test $pkg_failed = untried; then
   22755 	DRI_MM=no
   22756 else
   22757 	DRI_MM_CFLAGS=$pkg_cv_DRI_MM_CFLAGS
   22758 	DRI_MM_LIBS=$pkg_cv_DRI_MM_LIBS
   22759         { echo "$as_me:$LINENO: result: yes" >&5
   22760 echo "${ECHO_T}yes" >&6; }
   22761 	DRI_MM=yes
   22762 fi
   22763 	if test "x$DRI_MM" = xyes; then
   22764 
   22765 cat >>confdefs.h <<\_ACEOF
   22766 #define XF86DRI_MM 1
   22767 _ACEOF
   22768 
   22769 	fi
   22770 	if test "$have_damage_h" = yes; then
   22771 
   22772 cat >>confdefs.h <<\_ACEOF
   22773 #define DAMAGE 1
   22774 _ACEOF
   22775 
   22776 	fi
   22777 
   22778 	save_CFLAGS="$CFLAGS"
   22779 	CFLAGS="$XORG_CFLAGS $DRI_CFLAGS"
   22780 	{ echo "$as_me:$LINENO: checking for drm_i915_flip_t" >&5
   22781 echo $ECHO_N "checking for drm_i915_flip_t... $ECHO_C" >&6; }
   22782 if test "${ac_cv_type_drm_i915_flip_t+set}" = set; then
   22783   echo $ECHO_N "(cached) $ECHO_C" >&6
   22784 else
   22785   cat >conftest.$ac_ext <<_ACEOF
   22786 /* confdefs.h.  */
   22787 _ACEOF
   22788 cat confdefs.h >>conftest.$ac_ext
   22789 cat >>conftest.$ac_ext <<_ACEOF
   22790 /* end confdefs.h.  */
   22791 
   22792 #include <inttypes.h>
   22793 #include <i915_drm.h>
   22794 
   22795 
   22796 typedef drm_i915_flip_t ac__type_new_;
   22797 int
   22798 main ()
   22799 {
   22800 if ((ac__type_new_ *) 0)
   22801   return 0;
   22802 if (sizeof (ac__type_new_))
   22803   return 0;
   22804   ;
   22805   return 0;
   22806 }
   22807 _ACEOF
   22808 rm -f conftest.$ac_objext
   22809 if { (ac_try="$ac_compile"
   22810 case "(($ac_try" in
   22811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22812   *) ac_try_echo=$ac_try;;
   22813 esac
   22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22815   (eval "$ac_compile") 2>conftest.er1
   22816   ac_status=$?
   22817   grep -v '^ *+' conftest.er1 >conftest.err
   22818   rm -f conftest.er1
   22819   cat conftest.err >&5
   22820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22821   (exit $ac_status); } && {
   22822 	 test -z "$ac_c_werror_flag" ||
   22823 	 test ! -s conftest.err
   22824        } && test -s conftest.$ac_objext; then
   22825   ac_cv_type_drm_i915_flip_t=yes
   22826 else
   22827   echo "$as_me: failed program was:" >&5
   22828 sed 's/^/| /' conftest.$ac_ext >&5
   22829 
   22830 	ac_cv_type_drm_i915_flip_t=no
   22831 fi
   22832 
   22833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22834 fi
   22835 { echo "$as_me:$LINENO: result: $ac_cv_type_drm_i915_flip_t" >&5
   22836 echo "${ECHO_T}$ac_cv_type_drm_i915_flip_t" >&6; }
   22837 if test $ac_cv_type_drm_i915_flip_t = yes; then
   22838 
   22839 cat >>confdefs.h <<\_ACEOF
   22840 #define HAVE_I915_FLIP 1
   22841 _ACEOF
   22842 
   22843 fi
   22844 
   22845 	CFLAGS="$save_CFLAGS"
   22846 fi
   22847 
   22848  if test x$VIDEO_DEBUG = xyes; then
   22849   VIDEO_DEBUG_TRUE=
   22850   VIDEO_DEBUG_FALSE='#'
   22851 else
   22852   VIDEO_DEBUG_TRUE='#'
   22853   VIDEO_DEBUG_FALSE=
   22854 fi
   22855 
   22856 if test "$VIDEO_DEBUG" = yes; then
   22857 
   22858 cat >>confdefs.h <<\_ACEOF
   22859 #define VIDEO_DEBUG 1
   22860 _ACEOF
   22861 
   22862 fi
   22863 
   22864 if test "$XVMC" = auto; then
   22865 	XVMC="$DRI"
   22866 fi
   22867 if test "$XVMC" = yes && test "$DRI" = no; then
   22868 	{ { echo "$as_me:$LINENO: error: XvMC can't be enabled without DRI" >&5
   22869 echo "$as_me: error: XvMC can't be enabled without DRI" >&2;}
   22870    { (exit 1); exit 1; }; }
   22871 fi
   22872 if test "$XVMC" = yes; then
   22873 
   22874 pkg_failed=no
   22875 { echo "$as_me:$LINENO: checking for XVMCLIB" >&5
   22876 echo $ECHO_N "checking for XVMCLIB... $ECHO_C" >&6; }
   22877 
   22878 if test -n "$PKG_CONFIG"; then
   22879     if test -n "$XVMCLIB_CFLAGS"; then
   22880         pkg_cv_XVMCLIB_CFLAGS="$XVMCLIB_CFLAGS"
   22881     else
   22882         if test -n "$PKG_CONFIG" && \
   22883     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xvmc\"") >&5
   22884   ($PKG_CONFIG --exists --print-errors "xvmc") 2>&5
   22885   ac_status=$?
   22886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22887   (exit $ac_status); }; then
   22888   pkg_cv_XVMCLIB_CFLAGS=`$PKG_CONFIG --cflags "xvmc" 2>/dev/null`
   22889 else
   22890   pkg_failed=yes
   22891 fi
   22892     fi
   22893 else
   22894 	pkg_failed=untried
   22895 fi
   22896 if test -n "$PKG_CONFIG"; then
   22897     if test -n "$XVMCLIB_LIBS"; then
   22898         pkg_cv_XVMCLIB_LIBS="$XVMCLIB_LIBS"
   22899     else
   22900         if test -n "$PKG_CONFIG" && \
   22901     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xvmc\"") >&5
   22902   ($PKG_CONFIG --exists --print-errors "xvmc") 2>&5
   22903   ac_status=$?
   22904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22905   (exit $ac_status); }; then
   22906   pkg_cv_XVMCLIB_LIBS=`$PKG_CONFIG --libs "xvmc" 2>/dev/null`
   22907 else
   22908   pkg_failed=yes
   22909 fi
   22910     fi
   22911 else
   22912 	pkg_failed=untried
   22913 fi
   22914 
   22915 
   22916 
   22917 if test $pkg_failed = yes; then
   22918 
   22919 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22920         _pkg_short_errors_supported=yes
   22921 else
   22922         _pkg_short_errors_supported=no
   22923 fi
   22924         if test $_pkg_short_errors_supported = yes; then
   22925 	        XVMCLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xvmc"`
   22926         else
   22927 	        XVMCLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xvmc"`
   22928         fi
   22929 	# Put the nasty error message in config.log where it belongs
   22930 	echo "$XVMCLIB_PKG_ERRORS" >&5
   22931 
   22932 	{ echo "$as_me:$LINENO: result: no" >&5
   22933 echo "${ECHO_T}no" >&6; }
   22934                 XVMC=no
   22935 elif test $pkg_failed = untried; then
   22936 	XVMC=no
   22937 else
   22938 	XVMCLIB_CFLAGS=$pkg_cv_XVMCLIB_CFLAGS
   22939 	XVMCLIB_LIBS=$pkg_cv_XVMCLIB_LIBS
   22940         { echo "$as_me:$LINENO: result: yes" >&5
   22941 echo "${ECHO_T}yes" >&6; }
   22942 	XVMC=yes
   22943 fi
   22944 fi
   22945 { echo "$as_me:$LINENO: checking whether to include XvMC support" >&5
   22946 echo $ECHO_N "checking whether to include XvMC support... $ECHO_C" >&6; }
   22947 { echo "$as_me:$LINENO: result: $XVMC" >&5
   22948 echo "${ECHO_T}$XVMC" >&6; }
   22949  if test x$XVMC = xyes; then
   22950   XVMC_TRUE=
   22951   XVMC_FALSE='#'
   22952 else
   22953   XVMC_TRUE='#'
   22954   XVMC_FALSE=
   22955 fi
   22956 
   22957 if test "$XVMC" = yes; then
   22958 
   22959 cat >>confdefs.h <<\_ACEOF
   22960 #define ENABLE_XVMC 1
   22961 _ACEOF
   22962 
   22963 
   22964 fi
   22965 
   22966 
   22967 
   22968 
   22969 
   22970 
   22971 
   22972 DRIVER_NAME=intel
   22973 
   22974 
   22975 
   22976 
   22977 	XORG_MACROS_needed_version=1.1.3
   22978 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   22979 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   22980 	{ echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   22981 echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
   22982 	XORG_MACROS_version=1.1.6
   22983 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   22984 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   22985 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   22986 		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   22987 echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   22988    { (exit 1); exit 1; }; }
   22989 	fi
   22990 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   22991 		{ { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
   22992 echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
   22993    { (exit 1); exit 1; }; }
   22994 	fi
   22995 	{ echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   22996 echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
   22997 
   22998 
   22999 
   23000 
   23001 if test x$APP_MAN_SUFFIX = x    ; then
   23002     APP_MAN_SUFFIX=1
   23003 fi
   23004 if test x$APP_MAN_DIR = x    ; then
   23005     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   23006 fi
   23007 
   23008 if test x$LIB_MAN_SUFFIX = x    ; then
   23009     LIB_MAN_SUFFIX=3
   23010 fi
   23011 if test x$LIB_MAN_DIR = x    ; then
   23012     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   23013 fi
   23014 
   23015 if test x$FILE_MAN_SUFFIX = x    ; then
   23016     case $host_os in
   23017 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   23018 	*)		FILE_MAN_SUFFIX=5  ;;
   23019     esac
   23020 fi
   23021 if test x$FILE_MAN_DIR = x    ; then
   23022     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   23023 fi
   23024 
   23025 if test x$MISC_MAN_SUFFIX = x    ; then
   23026     case $host_os in
   23027 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   23028 	*)		MISC_MAN_SUFFIX=7  ;;
   23029     esac
   23030 fi
   23031 if test x$MISC_MAN_DIR = x    ; then
   23032     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   23033 fi
   23034 
   23035 if test x$DRIVER_MAN_SUFFIX = x    ; then
   23036     case $host_os in
   23037 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   23038 	*)		DRIVER_MAN_SUFFIX=4  ;;
   23039     esac
   23040 fi
   23041 if test x$DRIVER_MAN_DIR = x    ; then
   23042     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   23043 fi
   23044 
   23045 if test x$ADMIN_MAN_SUFFIX = x    ; then
   23046     case $host_os in
   23047 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   23048 	*)		ADMIN_MAN_SUFFIX=8  ;;
   23049     esac
   23050 fi
   23051 if test x$ADMIN_MAN_DIR = x    ; then
   23052     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   23053 fi
   23054 
   23055 
   23056 
   23057 
   23058 
   23059 
   23060 
   23061 
   23062 
   23063 
   23064 
   23065 
   23066 
   23067 
   23068 
   23069 
   23070 
   23071 # Check whether --with-release-version was given.
   23072 if test "${with_release_version+set}" = set; then
   23073   withval=$with_release_version; RELEASE_VERSION="$withval"
   23074 else
   23075   RELEASE_VERSION=""
   23076 fi
   23077 
   23078 	if test "x$RELEASE_VERSION" != "x"; then
   23079 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   23080 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   23081 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   23082 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   23083 	fi
   23084 
   23085 cat >>confdefs.h <<_ACEOF
   23086 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   23087 _ACEOF
   23088 
   23089 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   23090 	if test "x$PVM" = "x"; then
   23091 		PVM="0"
   23092 	fi
   23093 
   23094 cat >>confdefs.h <<_ACEOF
   23095 #define PACKAGE_VERSION_MINOR $PVM
   23096 _ACEOF
   23097 
   23098 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   23099 	if test "x$PVP" = "x"; then
   23100 		PVP="0"
   23101 	fi
   23102 
   23103 cat >>confdefs.h <<_ACEOF
   23104 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   23105 _ACEOF
   23106 
   23107 
   23108 
   23109 
   23110 XORG_SGML_PATH=$prefix/share/sgml
   23111 HAVE_DEFS_ENT=
   23112 
   23113 if test x"$cross_compiling" = x"yes" ; then
   23114   HAVE_DEFS_ENT=no
   23115 else
   23116   as_ac_File=`echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   23117 { echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   23118 echo $ECHO_N "checking for $XORG_SGML_PATH/X11/defs.ent... $ECHO_C" >&6; }
   23119 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   23120   echo $ECHO_N "(cached) $ECHO_C" >&6
   23121 else
   23122   test "$cross_compiling" = yes &&
   23123   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   23124 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   23125    { (exit 1); exit 1; }; }
   23126 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   23127   eval "$as_ac_File=yes"
   23128 else
   23129   eval "$as_ac_File=no"
   23130 fi
   23131 fi
   23132 ac_res=`eval echo '${'$as_ac_File'}'`
   23133 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   23134 echo "${ECHO_T}$ac_res" >&6; }
   23135 if test `eval echo '${'$as_ac_File'}'` = yes; then
   23136   HAVE_DEFS_ENT=yes
   23137 fi
   23138 
   23139 fi
   23140 
   23141 # Extract the first word of "linuxdoc", so it can be a program name with args.
   23142 set dummy linuxdoc; ac_word=$2
   23143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   23144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   23145 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   23146   echo $ECHO_N "(cached) $ECHO_C" >&6
   23147 else
   23148   case $LINUXDOC in
   23149   [\\/]* | ?:[\\/]*)
   23150   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   23151   ;;
   23152   *)
   23153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23154 for as_dir in $PATH
   23155 do
   23156   IFS=$as_save_IFS
   23157   test -z "$as_dir" && as_dir=.
   23158   for ac_exec_ext in '' $ac_executable_extensions; do
   23159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   23160     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   23161     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   23162     break 2
   23163   fi
   23164 done
   23165 done
   23166 IFS=$as_save_IFS
   23167 
   23168   ;;
   23169 esac
   23170 fi
   23171 LINUXDOC=$ac_cv_path_LINUXDOC
   23172 if test -n "$LINUXDOC"; then
   23173   { echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   23174 echo "${ECHO_T}$LINUXDOC" >&6; }
   23175 else
   23176   { echo "$as_me:$LINENO: result: no" >&5
   23177 echo "${ECHO_T}no" >&6; }
   23178 fi
   23179 
   23180 
   23181 # Extract the first word of "ps2pdf", so it can be a program name with args.
   23182 set dummy ps2pdf; ac_word=$2
   23183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   23184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   23185 if test "${ac_cv_path_PS2PDF+set}" = set; then
   23186   echo $ECHO_N "(cached) $ECHO_C" >&6
   23187 else
   23188   case $PS2PDF in
   23189   [\\/]* | ?:[\\/]*)
   23190   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   23191   ;;
   23192   *)
   23193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23194 for as_dir in $PATH
   23195 do
   23196   IFS=$as_save_IFS
   23197   test -z "$as_dir" && as_dir=.
   23198   for ac_exec_ext in '' $ac_executable_extensions; do
   23199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   23200     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   23201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   23202     break 2
   23203   fi
   23204 done
   23205 done
   23206 IFS=$as_save_IFS
   23207 
   23208   ;;
   23209 esac
   23210 fi
   23211 PS2PDF=$ac_cv_path_PS2PDF
   23212 if test -n "$PS2PDF"; then
   23213   { echo "$as_me:$LINENO: result: $PS2PDF" >&5
   23214 echo "${ECHO_T}$PS2PDF" >&6; }
   23215 else
   23216   { echo "$as_me:$LINENO: result: no" >&5
   23217 echo "${ECHO_T}no" >&6; }
   23218 fi
   23219 
   23220 
   23221 
   23222 { echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   23223 echo $ECHO_N "checking Whether to build documentation... $ECHO_C" >&6; }
   23224 
   23225 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   23226    BUILDDOC=yes
   23227 else
   23228    BUILDDOC=no
   23229 fi
   23230 
   23231  if test x$BUILDDOC = xyes; then
   23232   BUILD_LINUXDOC_TRUE=
   23233   BUILD_LINUXDOC_FALSE='#'
   23234 else
   23235   BUILD_LINUXDOC_TRUE='#'
   23236   BUILD_LINUXDOC_FALSE=
   23237 fi
   23238 
   23239 
   23240 { echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   23241 echo "${ECHO_T}$BUILDDOC" >&6; }
   23242 
   23243 { echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   23244 echo $ECHO_N "checking Whether to build pdf documentation... $ECHO_C" >&6; }
   23245 
   23246 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   23247    BUILDPDFDOC=yes
   23248 else
   23249    BUILDPDFDOC=no
   23250 fi
   23251 
   23252  if test x$BUILDPDFDOC = xyes; then
   23253   BUILD_PDFDOC_TRUE=
   23254   BUILD_PDFDOC_FALSE='#'
   23255 else
   23256   BUILD_PDFDOC_TRUE='#'
   23257   BUILD_PDFDOC_FALSE=
   23258 fi
   23259 
   23260 
   23261 { echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   23262 echo "${ECHO_T}$BUILDPDFDOC" >&6; }
   23263 
   23264 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   23265 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   23266 MAKE_PDF="$PS2PDF"
   23267 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   23268 
   23269 
   23270 
   23271 
   23272 
   23273 
   23274 
   23275 ac_config_files="$ac_config_files Makefile src/Makefile src/xvmc/Makefile src/bios_reader/Makefile src/ch7017/Makefile src/ch7xxx/Makefile src/ivch/Makefile src/reg_dumper/Makefile src/sil164/Makefile src/tfp410/Makefile man/Makefile"
   23276 
   23277 cat >confcache <<\_ACEOF
   23278 # This file is a shell script that caches the results of configure
   23279 # tests run on this system so they can be shared between configure
   23280 # scripts and configure runs, see configure's option --config-cache.
   23281 # It is not useful on other systems.  If it contains results you don't
   23282 # want to keep, you may remove or edit it.
   23283 #
   23284 # config.status only pays attention to the cache file if you give it
   23285 # the --recheck option to rerun configure.
   23286 #
   23287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   23288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   23289 # following values.
   23290 
   23291 _ACEOF
   23292 
   23293 # The following way of writing the cache mishandles newlines in values,
   23294 # but we know of no workaround that is simple, portable, and efficient.
   23295 # So, we kill variables containing newlines.
   23296 # Ultrix sh set writes to stderr and can't be redirected directly,
   23297 # and sets the high bit in the cache file unless we assign to the vars.
   23298 (
   23299   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23300     eval ac_val=\$$ac_var
   23301     case $ac_val in #(
   23302     *${as_nl}*)
   23303       case $ac_var in #(
   23304       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   23305 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   23306       esac
   23307       case $ac_var in #(
   23308       _ | IFS | as_nl) ;; #(
   23309       *) $as_unset $ac_var ;;
   23310       esac ;;
   23311     esac
   23312   done
   23313 
   23314   (set) 2>&1 |
   23315     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23316     *${as_nl}ac_space=\ *)
   23317       # `set' does not quote correctly, so add quotes (double-quote
   23318       # substitution turns \\\\ into \\, and sed turns \\ into \).
   23319       sed -n \
   23320 	"s/'/'\\\\''/g;
   23321 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23322       ;; #(
   23323     *)
   23324       # `set' quotes correctly as required by POSIX, so do not add quotes.
   23325       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23326       ;;
   23327     esac |
   23328     sort
   23329 ) |
   23330   sed '
   23331      /^ac_cv_env_/b end
   23332      t clear
   23333      :clear
   23334      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   23335      t end
   23336      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23337      :end' >>confcache
   23338 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23339   if test -w "$cache_file"; then
   23340     test "x$cache_file" != "x/dev/null" &&
   23341       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   23342 echo "$as_me: updating cache $cache_file" >&6;}
   23343     cat confcache >$cache_file
   23344   else
   23345     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   23346 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   23347   fi
   23348 fi
   23349 rm -f confcache
   23350 
   23351 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23352 # Let make expand exec_prefix.
   23353 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23354 
   23355 DEFS=-DHAVE_CONFIG_H
   23356 
   23357 ac_libobjs=
   23358 ac_ltlibobjs=
   23359 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23360   # 1. Remove the extension, and $U if already installed.
   23361   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23362   ac_i=`echo "$ac_i" | sed "$ac_script"`
   23363   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23364   #    will be set to the directory where LIBOBJS objects are built.
   23365   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23366   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   23367 done
   23368 LIBOBJS=$ac_libobjs
   23369 
   23370 LTLIBOBJS=$ac_ltlibobjs
   23371 
   23372 
   23373 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   23374   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   23375 Usually this means the macro was only invoked conditionally." >&5
   23376 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   23377 Usually this means the macro was only invoked conditionally." >&2;}
   23378    { (exit 1); exit 1; }; }
   23379 fi
   23380 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23381   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   23382 Usually this means the macro was only invoked conditionally." >&5
   23383 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   23384 Usually this means the macro was only invoked conditionally." >&2;}
   23385    { (exit 1); exit 1; }; }
   23386 fi
   23387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23388   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   23389 Usually this means the macro was only invoked conditionally." >&5
   23390 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   23391 Usually this means the macro was only invoked conditionally." >&2;}
   23392    { (exit 1); exit 1; }; }
   23393 fi
   23394 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   23395   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   23396 Usually this means the macro was only invoked conditionally." >&5
   23397 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   23398 Usually this means the macro was only invoked conditionally." >&2;}
   23399    { (exit 1); exit 1; }; }
   23400 fi
   23401 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23402   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   23403 Usually this means the macro was only invoked conditionally." >&5
   23404 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   23405 Usually this means the macro was only invoked conditionally." >&2;}
   23406    { (exit 1); exit 1; }; }
   23407 fi
   23408 if test -z "${HAVE_GEN4ASM_TRUE}" && test -z "${HAVE_GEN4ASM_FALSE}"; then
   23409   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GEN4ASM\" was never defined.
   23410 Usually this means the macro was only invoked conditionally." >&5
   23411 echo "$as_me: error: conditional \"HAVE_GEN4ASM\" was never defined.
   23412 Usually this means the macro was only invoked conditionally." >&2;}
   23413    { (exit 1); exit 1; }; }
   23414 fi
   23415 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   23416   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   23417 Usually this means the macro was only invoked conditionally." >&5
   23418 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   23419 Usually this means the macro was only invoked conditionally." >&2;}
   23420    { (exit 1); exit 1; }; }
   23421 fi
   23422 if test -z "${LIBPCIACCESS_TRUE}" && test -z "${LIBPCIACCESS_FALSE}"; then
   23423   { { echo "$as_me:$LINENO: error: conditional \"LIBPCIACCESS\" was never defined.
   23424 Usually this means the macro was only invoked conditionally." >&5
   23425 echo "$as_me: error: conditional \"LIBPCIACCESS\" was never defined.
   23426 Usually this means the macro was only invoked conditionally." >&2;}
   23427    { (exit 1); exit 1; }; }
   23428 fi
   23429 if test -z "${XMODES_TRUE}" && test -z "${XMODES_FALSE}"; then
   23430   { { echo "$as_me:$LINENO: error: conditional \"XMODES\" was never defined.
   23431 Usually this means the macro was only invoked conditionally." >&5
   23432 echo "$as_me: error: conditional \"XMODES\" was never defined.
   23433 Usually this means the macro was only invoked conditionally." >&2;}
   23434    { (exit 1); exit 1; }; }
   23435 fi
   23436 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   23437   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   23438 Usually this means the macro was only invoked conditionally." >&5
   23439 echo "$as_me: error: conditional \"DRI\" was never defined.
   23440 Usually this means the macro was only invoked conditionally." >&2;}
   23441    { (exit 1); exit 1; }; }
   23442 fi
   23443 if test -z "${VIDEO_DEBUG_TRUE}" && test -z "${VIDEO_DEBUG_FALSE}"; then
   23444   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_DEBUG\" was never defined.
   23445 Usually this means the macro was only invoked conditionally." >&5
   23446 echo "$as_me: error: conditional \"VIDEO_DEBUG\" was never defined.
   23447 Usually this means the macro was only invoked conditionally." >&2;}
   23448    { (exit 1); exit 1; }; }
   23449 fi
   23450 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
   23451   { { echo "$as_me:$LINENO: error: conditional \"XVMC\" was never defined.
   23452 Usually this means the macro was only invoked conditionally." >&5
   23453 echo "$as_me: error: conditional \"XVMC\" was never defined.
   23454 Usually this means the macro was only invoked conditionally." >&2;}
   23455    { (exit 1); exit 1; }; }
   23456 fi
   23457 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   23458   { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   23459 Usually this means the macro was only invoked conditionally." >&5
   23460 echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   23461 Usually this means the macro was only invoked conditionally." >&2;}
   23462    { (exit 1); exit 1; }; }
   23463 fi
   23464 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   23465   { { echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   23466 Usually this means the macro was only invoked conditionally." >&5
   23467 echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   23468 Usually this means the macro was only invoked conditionally." >&2;}
   23469    { (exit 1); exit 1; }; }
   23470 fi
   23471 
   23472 : ${CONFIG_STATUS=./config.status}
   23473 ac_clean_files_save=$ac_clean_files
   23474 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23475 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   23476 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   23477 cat >$CONFIG_STATUS <<_ACEOF
   23478 #! $SHELL
   23479 # Generated by $as_me.
   23480 # Run this file to recreate the current configuration.
   23481 # Compiler output produced by configure, useful for debugging
   23482 # configure, is in config.log if it exists.
   23483 
   23484 debug=false
   23485 ac_cs_recheck=false
   23486 ac_cs_silent=false
   23487 SHELL=\${CONFIG_SHELL-$SHELL}
   23488 _ACEOF
   23489 
   23490 cat >>$CONFIG_STATUS <<\_ACEOF
   23491 ## --------------------- ##
   23492 ## M4sh Initialization.  ##
   23493 ## --------------------- ##
   23494 
   23495 # Be more Bourne compatible
   23496 DUALCASE=1; export DUALCASE # for MKS sh
   23497 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   23498   emulate sh
   23499   NULLCMD=:
   23500   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   23501   # is contrary to our usage.  Disable this feature.
   23502   alias -g '${1+"$@"}'='"$@"'
   23503   setopt NO_GLOB_SUBST
   23504 else
   23505   case `(set -o) 2>/dev/null` in
   23506   *posix*) set -o posix ;;
   23507 esac
   23508 
   23509 fi
   23510 
   23511 
   23512 
   23513 
   23514 # PATH needs CR
   23515 # Avoid depending upon Character Ranges.
   23516 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23517 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23518 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23519 as_cr_digits='0123456789'
   23520 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23521 
   23522 # The user is always right.
   23523 if test "${PATH_SEPARATOR+set}" != set; then
   23524   echo "#! /bin/sh" >conf$$.sh
   23525   echo  "exit 0"   >>conf$$.sh
   23526   chmod +x conf$$.sh
   23527   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   23528     PATH_SEPARATOR=';'
   23529   else
   23530     PATH_SEPARATOR=:
   23531   fi
   23532   rm -f conf$$.sh
   23533 fi
   23534 
   23535 # Support unset when possible.
   23536 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   23537   as_unset=unset
   23538 else
   23539   as_unset=false
   23540 fi
   23541 
   23542 
   23543 # IFS
   23544 # We need space, tab and new line, in precisely that order.  Quoting is
   23545 # there to prevent editors from complaining about space-tab.
   23546 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   23547 # splitting by setting IFS to empty value.)
   23548 as_nl='
   23549 '
   23550 IFS=" ""	$as_nl"
   23551 
   23552 # Find who we are.  Look in the path if we contain no directory separator.
   23553 case $0 in
   23554   *[\\/]* ) as_myself=$0 ;;
   23555   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23556 for as_dir in $PATH
   23557 do
   23558   IFS=$as_save_IFS
   23559   test -z "$as_dir" && as_dir=.
   23560   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   23561 done
   23562 IFS=$as_save_IFS
   23563 
   23564      ;;
   23565 esac
   23566 # We did not find ourselves, most probably we were run as `sh COMMAND'
   23567 # in which case we are not to be found in the path.
   23568 if test "x$as_myself" = x; then
   23569   as_myself=$0
   23570 fi
   23571 if test ! -f "$as_myself"; then
   23572   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23573   { (exit 1); exit 1; }
   23574 fi
   23575 
   23576 # Work around bugs in pre-3.0 UWIN ksh.
   23577 for as_var in ENV MAIL MAILPATH
   23578 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   23579 done
   23580 PS1='$ '
   23581 PS2='> '
   23582 PS4='+ '
   23583 
   23584 # NLS nuisances.
   23585 for as_var in \
   23586   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   23587   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   23588   LC_TELEPHONE LC_TIME
   23589 do
   23590   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   23591     eval $as_var=C; export $as_var
   23592   else
   23593     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   23594   fi
   23595 done
   23596 
   23597 # Required to use basename.
   23598 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23599    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23600   as_expr=expr
   23601 else
   23602   as_expr=false
   23603 fi
   23604 
   23605 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   23606   as_basename=basename
   23607 else
   23608   as_basename=false
   23609 fi
   23610 
   23611 
   23612 # Name of the executable.
   23613 as_me=`$as_basename -- "$0" ||
   23614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   23615 	 X"$0" : 'X\(//\)$' \| \
   23616 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   23617 echo X/"$0" |
   23618     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23619 	    s//\1/
   23620 	    q
   23621 	  }
   23622 	  /^X\/\(\/\/\)$/{
   23623 	    s//\1/
   23624 	    q
   23625 	  }
   23626 	  /^X\/\(\/\).*/{
   23627 	    s//\1/
   23628 	    q
   23629 	  }
   23630 	  s/.*/./; q'`
   23631 
   23632 # CDPATH.
   23633 $as_unset CDPATH
   23634 
   23635 
   23636 
   23637   as_lineno_1=$LINENO
   23638   as_lineno_2=$LINENO
   23639   test "x$as_lineno_1" != "x$as_lineno_2" &&
   23640   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   23641 
   23642   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   23643   # uniformly replaced by the line number.  The first 'sed' inserts a
   23644   # line-number line after each line using $LINENO; the second 'sed'
   23645   # does the real work.  The second script uses 'N' to pair each
   23646   # line-number line with the line containing $LINENO, and appends
   23647   # trailing '-' during substitution so that $LINENO is not a special
   23648   # case at line end.
   23649   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   23650   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   23651   # E. McMahon (1931-1989) for sed's syntax.  :-)
   23652   sed -n '
   23653     p
   23654     /[$]LINENO/=
   23655   ' <$as_myself |
   23656     sed '
   23657       s/[$]LINENO.*/&-/
   23658       t lineno
   23659       b
   23660       :lineno
   23661       N
   23662       :loop
   23663       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   23664       t loop
   23665       s/-\n.*//
   23666     ' >$as_me.lineno &&
   23667   chmod +x "$as_me.lineno" ||
   23668     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   23669    { (exit 1); exit 1; }; }
   23670 
   23671   # Don't try to exec as it changes $[0], causing all sort of problems
   23672   # (the dirname of $[0] is not the place where we might find the
   23673   # original and so on.  Autoconf is especially sensitive to this).
   23674   . "./$as_me.lineno"
   23675   # Exit status is that of the last command.
   23676   exit
   23677 }
   23678 
   23679 
   23680 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   23681   as_dirname=dirname
   23682 else
   23683   as_dirname=false
   23684 fi
   23685 
   23686 ECHO_C= ECHO_N= ECHO_T=
   23687 case `echo -n x` in
   23688 -n*)
   23689   case `echo 'x\c'` in
   23690   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23691   *)   ECHO_C='\c';;
   23692   esac;;
   23693 *)
   23694   ECHO_N='-n';;
   23695 esac
   23696 
   23697 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23698    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23699   as_expr=expr
   23700 else
   23701   as_expr=false
   23702 fi
   23703 
   23704 rm -f conf$$ conf$$.exe conf$$.file
   23705 if test -d conf$$.dir; then
   23706   rm -f conf$$.dir/conf$$.file
   23707 else
   23708   rm -f conf$$.dir
   23709   mkdir conf$$.dir
   23710 fi
   23711 echo >conf$$.file
   23712 if ln -s conf$$.file conf$$ 2>/dev/null; then
   23713   as_ln_s='ln -s'
   23714   # ... but there are two gotchas:
   23715   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   23716   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   23717   # In both cases, we have to default to `cp -p'.
   23718   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23719     as_ln_s='cp -p'
   23720 elif ln conf$$.file conf$$ 2>/dev/null; then
   23721   as_ln_s=ln
   23722 else
   23723   as_ln_s='cp -p'
   23724 fi
   23725 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23726 rmdir conf$$.dir 2>/dev/null
   23727 
   23728 if mkdir -p . 2>/dev/null; then
   23729   as_mkdir_p=:
   23730 else
   23731   test -d ./-p && rmdir ./-p
   23732   as_mkdir_p=false
   23733 fi
   23734 
   23735 if test -x / >/dev/null 2>&1; then
   23736   as_test_x='test -x'
   23737 else
   23738   if ls -dL / >/dev/null 2>&1; then
   23739     as_ls_L_option=L
   23740   else
   23741     as_ls_L_option=
   23742   fi
   23743   as_test_x='
   23744     eval sh -c '\''
   23745       if test -d "$1"; then
   23746         test -d "$1/.";
   23747       else
   23748 	case $1 in
   23749         -*)set "./$1";;
   23750 	esac;
   23751 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23752 	???[sx]*):;;*)false;;esac;fi
   23753     '\'' sh
   23754   '
   23755 fi
   23756 as_executable_p=$as_test_x
   23757 
   23758 # Sed expression to map a string onto a valid CPP name.
   23759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23760 
   23761 # Sed expression to map a string onto a valid variable name.
   23762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23763 
   23764 
   23765 exec 6>&1
   23766 
   23767 # Save the log message, to keep $[0] and so on meaningful, and to
   23768 # report actual input values of CONFIG_FILES etc. instead of their
   23769 # values after options handling.
   23770 ac_log="
   23771 This file was extended by xf86-video-intel $as_me 2.4.0, which was
   23772 generated by GNU Autoconf 2.61.  Invocation command line was
   23773 
   23774   CONFIG_FILES    = $CONFIG_FILES
   23775   CONFIG_HEADERS  = $CONFIG_HEADERS
   23776   CONFIG_LINKS    = $CONFIG_LINKS
   23777   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23778   $ $0 $@
   23779 
   23780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23781 "
   23782 
   23783 _ACEOF
   23784 
   23785 cat >>$CONFIG_STATUS <<_ACEOF
   23786 # Files that config.status was made for.
   23787 config_files="$ac_config_files"
   23788 config_headers="$ac_config_headers"
   23789 config_commands="$ac_config_commands"
   23790 
   23791 _ACEOF
   23792 
   23793 cat >>$CONFIG_STATUS <<\_ACEOF
   23794 ac_cs_usage="\
   23795 \`$as_me' instantiates files from templates according to the
   23796 current configuration.
   23797 
   23798 Usage: $0 [OPTIONS] [FILE]...
   23799 
   23800   -h, --help       print this help, then exit
   23801   -V, --version    print version number and configuration settings, then exit
   23802   -q, --quiet      do not print progress messages
   23803   -d, --debug      don't remove temporary files
   23804       --recheck    update $as_me by reconfiguring in the same conditions
   23805   --file=FILE[:TEMPLATE]
   23806 		   instantiate the configuration file FILE
   23807   --header=FILE[:TEMPLATE]
   23808 		   instantiate the configuration header FILE
   23809 
   23810 Configuration files:
   23811 $config_files
   23812 
   23813 Configuration headers:
   23814 $config_headers
   23815 
   23816 Configuration commands:
   23817 $config_commands
   23818 
   23819 Report bugs to <bug-autoconf (at] gnu.org>."
   23820 
   23821 _ACEOF
   23822 cat >>$CONFIG_STATUS <<_ACEOF
   23823 ac_cs_version="\\
   23824 xf86-video-intel config.status 2.4.0
   23825 configured by $0, generated by GNU Autoconf 2.61,
   23826   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23827 
   23828 Copyright (C) 2006 Free Software Foundation, Inc.
   23829 This config.status script is free software; the Free Software Foundation
   23830 gives unlimited permission to copy, distribute and modify it."
   23831 
   23832 ac_pwd='$ac_pwd'
   23833 srcdir='$srcdir'
   23834 INSTALL='$INSTALL'
   23835 MKDIR_P='$MKDIR_P'
   23836 _ACEOF
   23837 
   23838 cat >>$CONFIG_STATUS <<\_ACEOF
   23839 # If no file are specified by the user, then we need to provide default
   23840 # value.  By we need to know if files were specified by the user.
   23841 ac_need_defaults=:
   23842 while test $# != 0
   23843 do
   23844   case $1 in
   23845   --*=*)
   23846     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23847     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23848     ac_shift=:
   23849     ;;
   23850   *)
   23851     ac_option=$1
   23852     ac_optarg=$2
   23853     ac_shift=shift
   23854     ;;
   23855   esac
   23856 
   23857   case $ac_option in
   23858   # Handling of the options.
   23859   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23860     ac_cs_recheck=: ;;
   23861   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23862     echo "$ac_cs_version"; exit ;;
   23863   --debug | --debu | --deb | --de | --d | -d )
   23864     debug=: ;;
   23865   --file | --fil | --fi | --f )
   23866     $ac_shift
   23867     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   23868     ac_need_defaults=false;;
   23869   --header | --heade | --head | --hea )
   23870     $ac_shift
   23871     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   23872     ac_need_defaults=false;;
   23873   --he | --h)
   23874     # Conflict between --help and --header
   23875     { echo "$as_me: error: ambiguous option: $1
   23876 Try \`$0 --help' for more information." >&2
   23877    { (exit 1); exit 1; }; };;
   23878   --help | --hel | -h )
   23879     echo "$ac_cs_usage"; exit ;;
   23880   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23881   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23882     ac_cs_silent=: ;;
   23883 
   23884   # This is an error.
   23885   -*) { echo "$as_me: error: unrecognized option: $1
   23886 Try \`$0 --help' for more information." >&2
   23887    { (exit 1); exit 1; }; } ;;
   23888 
   23889   *) ac_config_targets="$ac_config_targets $1"
   23890      ac_need_defaults=false ;;
   23891 
   23892   esac
   23893   shift
   23894 done
   23895 
   23896 ac_configure_extra_args=
   23897 
   23898 if $ac_cs_silent; then
   23899   exec 6>/dev/null
   23900   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23901 fi
   23902 
   23903 _ACEOF
   23904 cat >>$CONFIG_STATUS <<_ACEOF
   23905 if \$ac_cs_recheck; then
   23906   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   23907   CONFIG_SHELL=$SHELL
   23908   export CONFIG_SHELL
   23909   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23910 fi
   23911 
   23912 _ACEOF
   23913 cat >>$CONFIG_STATUS <<\_ACEOF
   23914 exec 5>>config.log
   23915 {
   23916   echo
   23917   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23918 ## Running $as_me. ##
   23919 _ASBOX
   23920   echo "$ac_log"
   23921 } >&5
   23922 
   23923 _ACEOF
   23924 cat >>$CONFIG_STATUS <<_ACEOF
   23925 #
   23926 # INIT-COMMANDS
   23927 #
   23928 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23929 
   23930 _ACEOF
   23931 
   23932 cat >>$CONFIG_STATUS <<\_ACEOF
   23933 
   23934 # Handling of arguments.
   23935 for ac_config_target in $ac_config_targets
   23936 do
   23937   case $ac_config_target in
   23938     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23939     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23940     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23941     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23942     "src/xvmc/Makefile") CONFIG_FILES="$CONFIG_FILES src/xvmc/Makefile" ;;
   23943     "src/bios_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/bios_reader/Makefile" ;;
   23944     "src/ch7017/Makefile") CONFIG_FILES="$CONFIG_FILES src/ch7017/Makefile" ;;
   23945     "src/ch7xxx/Makefile") CONFIG_FILES="$CONFIG_FILES src/ch7xxx/Makefile" ;;
   23946     "src/ivch/Makefile") CONFIG_FILES="$CONFIG_FILES src/ivch/Makefile" ;;
   23947     "src/reg_dumper/Makefile") CONFIG_FILES="$CONFIG_FILES src/reg_dumper/Makefile" ;;
   23948     "src/sil164/Makefile") CONFIG_FILES="$CONFIG_FILES src/sil164/Makefile" ;;
   23949     "src/tfp410/Makefile") CONFIG_FILES="$CONFIG_FILES src/tfp410/Makefile" ;;
   23950     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   23951 
   23952   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23953 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23954    { (exit 1); exit 1; }; };;
   23955   esac
   23956 done
   23957 
   23958 
   23959 # If the user did not use the arguments to specify the items to instantiate,
   23960 # then the envvar interface is used.  Set only those that are not.
   23961 # We use the long form for the default assignment because of an extremely
   23962 # bizarre bug on SunOS 4.1.3.
   23963 if $ac_need_defaults; then
   23964   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23965   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23966   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23967 fi
   23968 
   23969 # Have a temporary directory for convenience.  Make it in the build tree
   23970 # simply because there is no reason against having it here, and in addition,
   23971 # creating and moving files from /tmp can sometimes cause problems.
   23972 # Hook for its removal unless debugging.
   23973 # Note that there is a small window in which the directory will not be cleaned:
   23974 # after its creation but before its name has been assigned to `$tmp'.
   23975 $debug ||
   23976 {
   23977   tmp=
   23978   trap 'exit_status=$?
   23979   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23980 ' 0
   23981   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23982 }
   23983 # Create a (secure) tmp directory for tmp files.
   23984 
   23985 {
   23986   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23987   test -n "$tmp" && test -d "$tmp"
   23988 }  ||
   23989 {
   23990   tmp=./conf$$-$RANDOM
   23991   (umask 077 && mkdir "$tmp")
   23992 } ||
   23993 {
   23994    echo "$me: cannot create a temporary directory in ." >&2
   23995    { (exit 1); exit 1; }
   23996 }
   23997 
   23998 #
   23999 # Set up the sed scripts for CONFIG_FILES section.
   24000 #
   24001 
   24002 # No need to generate the scripts if there are no CONFIG_FILES.
   24003 # This happens for instance when ./config.status config.h
   24004 if test -n "$CONFIG_FILES"; then
   24005 
   24006 _ACEOF
   24007 
   24008 
   24009 
   24010 ac_delim='%!_!# '
   24011 for ac_last_try in false false false false false :; do
   24012   cat >conf$$subs.sed <<_ACEOF
   24013 SHELL!$SHELL$ac_delim
   24014 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   24015 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   24016 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   24017 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   24018 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   24019 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   24020 exec_prefix!$exec_prefix$ac_delim
   24021 prefix!$prefix$ac_delim
   24022 program_transform_name!$program_transform_name$ac_delim
   24023 bindir!$bindir$ac_delim
   24024 sbindir!$sbindir$ac_delim
   24025 libexecdir!$libexecdir$ac_delim
   24026 datarootdir!$datarootdir$ac_delim
   24027 datadir!$datadir$ac_delim
   24028 sysconfdir!$sysconfdir$ac_delim
   24029 sharedstatedir!$sharedstatedir$ac_delim
   24030 localstatedir!$localstatedir$ac_delim
   24031 includedir!$includedir$ac_delim
   24032 oldincludedir!$oldincludedir$ac_delim
   24033 docdir!$docdir$ac_delim
   24034 infodir!$infodir$ac_delim
   24035 htmldir!$htmldir$ac_delim
   24036 dvidir!$dvidir$ac_delim
   24037 pdfdir!$pdfdir$ac_delim
   24038 psdir!$psdir$ac_delim
   24039 libdir!$libdir$ac_delim
   24040 localedir!$localedir$ac_delim
   24041 mandir!$mandir$ac_delim
   24042 DEFS!$DEFS$ac_delim
   24043 ECHO_C!$ECHO_C$ac_delim
   24044 ECHO_N!$ECHO_N$ac_delim
   24045 ECHO_T!$ECHO_T$ac_delim
   24046 LIBS!$LIBS$ac_delim
   24047 build_alias!$build_alias$ac_delim
   24048 host_alias!$host_alias$ac_delim
   24049 target_alias!$target_alias$ac_delim
   24050 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   24051 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   24052 INSTALL_DATA!$INSTALL_DATA$ac_delim
   24053 am__isrc!$am__isrc$ac_delim
   24054 CYGPATH_W!$CYGPATH_W$ac_delim
   24055 PACKAGE!$PACKAGE$ac_delim
   24056 VERSION!$VERSION$ac_delim
   24057 ACLOCAL!$ACLOCAL$ac_delim
   24058 AUTOCONF!$AUTOCONF$ac_delim
   24059 AUTOMAKE!$AUTOMAKE$ac_delim
   24060 AUTOHEADER!$AUTOHEADER$ac_delim
   24061 MAKEINFO!$MAKEINFO$ac_delim
   24062 install_sh!$install_sh$ac_delim
   24063 STRIP!$STRIP$ac_delim
   24064 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   24065 mkdir_p!$mkdir_p$ac_delim
   24066 AWK!$AWK$ac_delim
   24067 SET_MAKE!$SET_MAKE$ac_delim
   24068 am__leading_dot!$am__leading_dot$ac_delim
   24069 AMTAR!$AMTAR$ac_delim
   24070 am__tar!$am__tar$ac_delim
   24071 am__untar!$am__untar$ac_delim
   24072 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   24073 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   24074 MAINT!$MAINT$ac_delim
   24075 build!$build$ac_delim
   24076 build_cpu!$build_cpu$ac_delim
   24077 build_vendor!$build_vendor$ac_delim
   24078 build_os!$build_os$ac_delim
   24079 host!$host$ac_delim
   24080 host_cpu!$host_cpu$ac_delim
   24081 host_vendor!$host_vendor$ac_delim
   24082 host_os!$host_os$ac_delim
   24083 CC!$CC$ac_delim
   24084 CFLAGS!$CFLAGS$ac_delim
   24085 LDFLAGS!$LDFLAGS$ac_delim
   24086 CPPFLAGS!$CPPFLAGS$ac_delim
   24087 ac_ct_CC!$ac_ct_CC$ac_delim
   24088 EXEEXT!$EXEEXT$ac_delim
   24089 OBJEXT!$OBJEXT$ac_delim
   24090 DEPDIR!$DEPDIR$ac_delim
   24091 am__include!$am__include$ac_delim
   24092 am__quote!$am__quote$ac_delim
   24093 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   24094 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   24095 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   24096 CCDEPMODE!$CCDEPMODE$ac_delim
   24097 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   24098 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   24099 SED!$SED$ac_delim
   24100 GREP!$GREP$ac_delim
   24101 EGREP!$EGREP$ac_delim
   24102 LN_S!$LN_S$ac_delim
   24103 ECHO!$ECHO$ac_delim
   24104 AR!$AR$ac_delim
   24105 RANLIB!$RANLIB$ac_delim
   24106 DSYMUTIL!$DSYMUTIL$ac_delim
   24107 NMEDIT!$NMEDIT$ac_delim
   24108 CPP!$CPP$ac_delim
   24109 CXX!$CXX$ac_delim
   24110 _ACEOF
   24111 
   24112   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   24113     break
   24114   elif $ac_last_try; then
   24115     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24116 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24117    { (exit 1); exit 1; }; }
   24118   else
   24119     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24120   fi
   24121 done
   24122 
   24123 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   24124 if test -n "$ac_eof"; then
   24125   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   24126   ac_eof=`expr $ac_eof + 1`
   24127 fi
   24128 
   24129 cat >>$CONFIG_STATUS <<_ACEOF
   24130 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   24131 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24132 _ACEOF
   24133 sed '
   24134 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   24135 s/^/s,@/; s/!/@,|#_!!_#|/
   24136 :n
   24137 t n
   24138 s/'"$ac_delim"'$/,g/; t
   24139 s/$/\\/; p
   24140 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   24141 ' >>$CONFIG_STATUS <conf$$subs.sed
   24142 rm -f conf$$subs.sed
   24143 cat >>$CONFIG_STATUS <<_ACEOF
   24144 CEOF$ac_eof
   24145 _ACEOF
   24146 
   24147 
   24148 ac_delim='%!_!# '
   24149 for ac_last_try in false false false false false :; do
   24150   cat >conf$$subs.sed <<_ACEOF
   24151 CXXFLAGS!$CXXFLAGS$ac_delim
   24152 ac_ct_CXX!$ac_ct_CXX$ac_delim
   24153 CXXDEPMODE!$CXXDEPMODE$ac_delim
   24154 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   24155 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   24156 CXXCPP!$CXXCPP$ac_delim
   24157 F77!$F77$ac_delim
   24158 FFLAGS!$FFLAGS$ac_delim
   24159 ac_ct_F77!$ac_ct_F77$ac_delim
   24160 LIBTOOL!$LIBTOOL$ac_delim
   24161 DOLT_BASH!$DOLT_BASH$ac_delim
   24162 LTCOMPILE!$LTCOMPILE$ac_delim
   24163 LTCXXCOMPILE!$LTCXXCOMPILE$ac_delim
   24164 gen4asm!$gen4asm$ac_delim
   24165 HAVE_GEN4ASM_TRUE!$HAVE_GEN4ASM_TRUE$ac_delim
   24166 HAVE_GEN4ASM_FALSE!$HAVE_GEN4ASM_FALSE$ac_delim
   24167 PKG_CONFIG!$PKG_CONFIG$ac_delim
   24168 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   24169 XORG_LIBS!$XORG_LIBS$ac_delim
   24170 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   24171 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   24172 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   24173 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   24174 LIBPCIACCESS_TRUE!$LIBPCIACCESS_TRUE$ac_delim
   24175 LIBPCIACCESS_FALSE!$LIBPCIACCESS_FALSE$ac_delim
   24176 XMODES_TRUE!$XMODES_TRUE$ac_delim
   24177 XMODES_FALSE!$XMODES_FALSE$ac_delim
   24178 XMODES_CFLAGS!$XMODES_CFLAGS$ac_delim
   24179 DRI_TRUE!$DRI_TRUE$ac_delim
   24180 DRI_FALSE!$DRI_FALSE$ac_delim
   24181 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   24182 DRI_LIBS!$DRI_LIBS$ac_delim
   24183 DRI_MM_CFLAGS!$DRI_MM_CFLAGS$ac_delim
   24184 DRI_MM_LIBS!$DRI_MM_LIBS$ac_delim
   24185 VIDEO_DEBUG_TRUE!$VIDEO_DEBUG_TRUE$ac_delim
   24186 VIDEO_DEBUG_FALSE!$VIDEO_DEBUG_FALSE$ac_delim
   24187 XVMCLIB_CFLAGS!$XVMCLIB_CFLAGS$ac_delim
   24188 XVMCLIB_LIBS!$XVMCLIB_LIBS$ac_delim
   24189 XVMC_TRUE!$XVMC_TRUE$ac_delim
   24190 XVMC_FALSE!$XVMC_FALSE$ac_delim
   24191 WARN_CFLAGS!$WARN_CFLAGS$ac_delim
   24192 moduledir!$moduledir$ac_delim
   24193 DRIVER_NAME!$DRIVER_NAME$ac_delim
   24194 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   24195 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   24196 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   24197 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   24198 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   24199 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   24200 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   24201 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   24202 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   24203 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   24204 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   24205 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   24206 LINUXDOC!$LINUXDOC$ac_delim
   24207 PS2PDF!$PS2PDF$ac_delim
   24208 BUILD_LINUXDOC_TRUE!$BUILD_LINUXDOC_TRUE$ac_delim
   24209 BUILD_LINUXDOC_FALSE!$BUILD_LINUXDOC_FALSE$ac_delim
   24210 BUILD_PDFDOC_TRUE!$BUILD_PDFDOC_TRUE$ac_delim
   24211 BUILD_PDFDOC_FALSE!$BUILD_PDFDOC_FALSE$ac_delim
   24212 MAKE_TEXT!$MAKE_TEXT$ac_delim
   24213 MAKE_PS!$MAKE_PS$ac_delim
   24214 MAKE_PDF!$MAKE_PDF$ac_delim
   24215 MAKE_HTML!$MAKE_HTML$ac_delim
   24216 LIBOBJS!$LIBOBJS$ac_delim
   24217 LTLIBOBJS!$LTLIBOBJS$ac_delim
   24218 _ACEOF
   24219 
   24220   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
   24221     break
   24222   elif $ac_last_try; then
   24223     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24224 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24225    { (exit 1); exit 1; }; }
   24226   else
   24227     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24228   fi
   24229 done
   24230 
   24231 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   24232 if test -n "$ac_eof"; then
   24233   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   24234   ac_eof=`expr $ac_eof + 1`
   24235 fi
   24236 
   24237 cat >>$CONFIG_STATUS <<_ACEOF
   24238 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   24239 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   24240 _ACEOF
   24241 sed '
   24242 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   24243 s/^/s,@/; s/!/@,|#_!!_#|/
   24244 :n
   24245 t n
   24246 s/'"$ac_delim"'$/,g/; t
   24247 s/$/\\/; p
   24248 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   24249 ' >>$CONFIG_STATUS <conf$$subs.sed
   24250 rm -f conf$$subs.sed
   24251 cat >>$CONFIG_STATUS <<_ACEOF
   24252 :end
   24253 s/|#_!!_#|//g
   24254 CEOF$ac_eof
   24255 _ACEOF
   24256 
   24257 
   24258 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   24259 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   24260 # trailing colons and then remove the whole line if VPATH becomes empty
   24261 # (actually we leave an empty line to preserve line numbers).
   24262 if test "x$srcdir" = x.; then
   24263   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   24264 s/:*\$(srcdir):*/:/
   24265 s/:*\${srcdir}:*/:/
   24266 s/:*@srcdir@:*/:/
   24267 s/^\([^=]*=[	 ]*\):*/\1/
   24268 s/:*$//
   24269 s/^[^=]*=[	 ]*$//
   24270 }'
   24271 fi
   24272 
   24273 cat >>$CONFIG_STATUS <<\_ACEOF
   24274 fi # test -n "$CONFIG_FILES"
   24275 
   24276 
   24277 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   24278 do
   24279   case $ac_tag in
   24280   :[FHLC]) ac_mode=$ac_tag; continue;;
   24281   esac
   24282   case $ac_mode$ac_tag in
   24283   :[FHL]*:*);;
   24284   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   24285 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   24286    { (exit 1); exit 1; }; };;
   24287   :[FH]-) ac_tag=-:-;;
   24288   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   24289   esac
   24290   ac_save_IFS=$IFS
   24291   IFS=:
   24292   set x $ac_tag
   24293   IFS=$ac_save_IFS
   24294   shift
   24295   ac_file=$1
   24296   shift
   24297 
   24298   case $ac_mode in
   24299   :L) ac_source=$1;;
   24300   :[FH])
   24301     ac_file_inputs=
   24302     for ac_f
   24303     do
   24304       case $ac_f in
   24305       -) ac_f="$tmp/stdin";;
   24306       *) # Look for the file first in the build tree, then in the source tree
   24307 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   24308 	 # because $ac_f cannot contain `:'.
   24309 	 test -f "$ac_f" ||
   24310 	   case $ac_f in
   24311 	   [\\/$]*) false;;
   24312 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   24313 	   esac ||
   24314 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   24315 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   24316    { (exit 1); exit 1; }; };;
   24317       esac
   24318       ac_file_inputs="$ac_file_inputs $ac_f"
   24319     done
   24320 
   24321     # Let's still pretend it is `configure' which instantiates (i.e., don't
   24322     # use $as_me), people would be surprised to read:
   24323     #    /* config.h.  Generated by config.status.  */
   24324     configure_input="Generated from "`IFS=:
   24325 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   24326     if test x"$ac_file" != x-; then
   24327       configure_input="$ac_file.  $configure_input"
   24328       { echo "$as_me:$LINENO: creating $ac_file" >&5
   24329 echo "$as_me: creating $ac_file" >&6;}
   24330     fi
   24331 
   24332     case $ac_tag in
   24333     *:-:* | *:-) cat >"$tmp/stdin";;
   24334     esac
   24335     ;;
   24336   esac
   24337 
   24338   ac_dir=`$as_dirname -- "$ac_file" ||
   24339 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24340 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   24341 	 X"$ac_file" : 'X\(//\)$' \| \
   24342 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   24343 echo X"$ac_file" |
   24344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24345 	    s//\1/
   24346 	    q
   24347 	  }
   24348 	  /^X\(\/\/\)[^/].*/{
   24349 	    s//\1/
   24350 	    q
   24351 	  }
   24352 	  /^X\(\/\/\)$/{
   24353 	    s//\1/
   24354 	    q
   24355 	  }
   24356 	  /^X\(\/\).*/{
   24357 	    s//\1/
   24358 	    q
   24359 	  }
   24360 	  s/.*/./; q'`
   24361   { as_dir="$ac_dir"
   24362   case $as_dir in #(
   24363   -*) as_dir=./$as_dir;;
   24364   esac
   24365   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24366     as_dirs=
   24367     while :; do
   24368       case $as_dir in #(
   24369       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   24370       *) as_qdir=$as_dir;;
   24371       esac
   24372       as_dirs="'$as_qdir' $as_dirs"
   24373       as_dir=`$as_dirname -- "$as_dir" ||
   24374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24375 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24376 	 X"$as_dir" : 'X\(//\)$' \| \
   24377 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24378 echo X"$as_dir" |
   24379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24380 	    s//\1/
   24381 	    q
   24382 	  }
   24383 	  /^X\(\/\/\)[^/].*/{
   24384 	    s//\1/
   24385 	    q
   24386 	  }
   24387 	  /^X\(\/\/\)$/{
   24388 	    s//\1/
   24389 	    q
   24390 	  }
   24391 	  /^X\(\/\).*/{
   24392 	    s//\1/
   24393 	    q
   24394 	  }
   24395 	  s/.*/./; q'`
   24396       test -d "$as_dir" && break
   24397     done
   24398     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24399   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24400 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24401    { (exit 1); exit 1; }; }; }
   24402   ac_builddir=.
   24403 
   24404 case "$ac_dir" in
   24405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24406 *)
   24407   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   24408   # A ".." for each directory in $ac_dir_suffix.
   24409   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   24410   case $ac_top_builddir_sub in
   24411   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24412   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   24413   esac ;;
   24414 esac
   24415 ac_abs_top_builddir=$ac_pwd
   24416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   24417 # for backward compatibility:
   24418 ac_top_builddir=$ac_top_build_prefix
   24419 
   24420 case $srcdir in
   24421   .)  # We are building in place.
   24422     ac_srcdir=.
   24423     ac_top_srcdir=$ac_top_builddir_sub
   24424     ac_abs_top_srcdir=$ac_pwd ;;
   24425   [\\/]* | ?:[\\/]* )  # Absolute name.
   24426     ac_srcdir=$srcdir$ac_dir_suffix;
   24427     ac_top_srcdir=$srcdir
   24428     ac_abs_top_srcdir=$srcdir ;;
   24429   *) # Relative name.
   24430     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   24431     ac_top_srcdir=$ac_top_build_prefix$srcdir
   24432     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   24433 esac
   24434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   24435 
   24436 
   24437   case $ac_mode in
   24438   :F)
   24439   #
   24440   # CONFIG_FILE
   24441   #
   24442 
   24443   case $INSTALL in
   24444   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   24445   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   24446   esac
   24447   ac_MKDIR_P=$MKDIR_P
   24448   case $MKDIR_P in
   24449   [\\/$]* | ?:[\\/]* ) ;;
   24450   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   24451   esac
   24452 _ACEOF
   24453 
   24454 cat >>$CONFIG_STATUS <<\_ACEOF
   24455 # If the template does not know about datarootdir, expand it.
   24456 # FIXME: This hack should be removed a few years after 2.60.
   24457 ac_datarootdir_hack=; ac_datarootdir_seen=
   24458 
   24459 case `sed -n '/datarootdir/ {
   24460   p
   24461   q
   24462 }
   24463 /@datadir@/p
   24464 /@docdir@/p
   24465 /@infodir@/p
   24466 /@localedir@/p
   24467 /@mandir@/p
   24468 ' $ac_file_inputs` in
   24469 *datarootdir*) ac_datarootdir_seen=yes;;
   24470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   24471   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   24472 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   24473 _ACEOF
   24474 cat >>$CONFIG_STATUS <<_ACEOF
   24475   ac_datarootdir_hack='
   24476   s&@datadir@&$datadir&g
   24477   s&@docdir@&$docdir&g
   24478   s&@infodir@&$infodir&g
   24479   s&@localedir@&$localedir&g
   24480   s&@mandir@&$mandir&g
   24481     s&\\\${datarootdir}&$datarootdir&g' ;;
   24482 esac
   24483 _ACEOF
   24484 
   24485 # Neutralize VPATH when `$srcdir' = `.'.
   24486 # Shell code in configure.ac might set extrasub.
   24487 # FIXME: do we really want to maintain this feature?
   24488 cat >>$CONFIG_STATUS <<_ACEOF
   24489   sed "$ac_vpsub
   24490 $extrasub
   24491 _ACEOF
   24492 cat >>$CONFIG_STATUS <<\_ACEOF
   24493 :t
   24494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24495 s&@configure_input@&$configure_input&;t t
   24496 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24497 s&@srcdir@&$ac_srcdir&;t t
   24498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24499 s&@top_srcdir@&$ac_top_srcdir&;t t
   24500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24501 s&@builddir@&$ac_builddir&;t t
   24502 s&@abs_builddir@&$ac_abs_builddir&;t t
   24503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24504 s&@INSTALL@&$ac_INSTALL&;t t
   24505 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24506 $ac_datarootdir_hack
   24507 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   24508 
   24509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24510   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   24511   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   24512   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24513 which seems to be undefined.  Please make sure it is defined." >&5
   24514 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24515 which seems to be undefined.  Please make sure it is defined." >&2;}
   24516 
   24517   rm -f "$tmp/stdin"
   24518   case $ac_file in
   24519   -) cat "$tmp/out"; rm -f "$tmp/out";;
   24520   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   24521   esac
   24522  ;;
   24523   :H)
   24524   #
   24525   # CONFIG_HEADER
   24526   #
   24527 _ACEOF
   24528 
   24529 # Transform confdefs.h into a sed script `conftest.defines', that
   24530 # substitutes the proper values into config.h.in to produce config.h.
   24531 rm -f conftest.defines conftest.tail
   24532 # First, append a space to every undef/define line, to ease matching.
   24533 echo 's/$/ /' >conftest.defines
   24534 # Then, protect against being on the right side of a sed subst, or in
   24535 # an unquoted here document, in config.status.  If some macros were
   24536 # called several times there might be several #defines for the same
   24537 # symbol, which is useless.  But do not sort them, since the last
   24538 # AC_DEFINE must be honored.
   24539 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24540 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   24541 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   24542 # PARAMS is the parameter list in the macro definition--in most cases, it's
   24543 # just an empty string.
   24544 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   24545 ac_dB='\\)[	 (].*,\\1define\\2'
   24546 ac_dC=' '
   24547 ac_dD=' ,'
   24548 
   24549 uniq confdefs.h |
   24550   sed -n '
   24551 	t rset
   24552 	:rset
   24553 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   24554 	t ok
   24555 	d
   24556 	:ok
   24557 	s/[\\&,]/\\&/g
   24558 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   24559 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   24560   ' >>conftest.defines
   24561 
   24562 # Remove the space that was appended to ease matching.
   24563 # Then replace #undef with comments.  This is necessary, for
   24564 # example, in the case of _POSIX_SOURCE, which is predefined and required
   24565 # on some systems where configure will not decide to define it.
   24566 # (The regexp can be short, since the line contains either #define or #undef.)
   24567 echo 's/ $//
   24568 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   24569 
   24570 # Break up conftest.defines:
   24571 ac_max_sed_lines=50
   24572 
   24573 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   24574 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   24575 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   24576 # et cetera.
   24577 ac_in='$ac_file_inputs'
   24578 ac_out='"$tmp/out1"'
   24579 ac_nxt='"$tmp/out2"'
   24580 
   24581 while :
   24582 do
   24583   # Write a here document:
   24584     cat >>$CONFIG_STATUS <<_ACEOF
   24585     # First, check the format of the line:
   24586     cat >"\$tmp/defines.sed" <<\\CEOF
   24587 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   24588 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   24589 b
   24590 :def
   24591 _ACEOF
   24592   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   24593   echo 'CEOF
   24594     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   24595   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   24596   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   24597   grep . conftest.tail >/dev/null || break
   24598   rm -f conftest.defines
   24599   mv conftest.tail conftest.defines
   24600 done
   24601 rm -f conftest.defines conftest.tail
   24602 
   24603 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   24604 cat >>$CONFIG_STATUS <<\_ACEOF
   24605   if test x"$ac_file" != x-; then
   24606     echo "/* $configure_input  */" >"$tmp/config.h"
   24607     cat "$ac_result" >>"$tmp/config.h"
   24608     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   24609       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   24610 echo "$as_me: $ac_file is unchanged" >&6;}
   24611     else
   24612       rm -f $ac_file
   24613       mv "$tmp/config.h" $ac_file
   24614     fi
   24615   else
   24616     echo "/* $configure_input  */"
   24617     cat "$ac_result"
   24618   fi
   24619   rm -f "$tmp/out12"
   24620 # Compute $ac_file's index in $config_headers.
   24621 _am_arg=$ac_file
   24622 _am_stamp_count=1
   24623 for _am_header in $config_headers :; do
   24624   case $_am_header in
   24625     $_am_arg | $_am_arg:* )
   24626       break ;;
   24627     * )
   24628       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24629   esac
   24630 done
   24631 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24632 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24633 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24634 	 X"$_am_arg" : 'X\(//\)$' \| \
   24635 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24636 echo X"$_am_arg" |
   24637     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24638 	    s//\1/
   24639 	    q
   24640 	  }
   24641 	  /^X\(\/\/\)[^/].*/{
   24642 	    s//\1/
   24643 	    q
   24644 	  }
   24645 	  /^X\(\/\/\)$/{
   24646 	    s//\1/
   24647 	    q
   24648 	  }
   24649 	  /^X\(\/\).*/{
   24650 	    s//\1/
   24651 	    q
   24652 	  }
   24653 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   24654  ;;
   24655 
   24656   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   24657 echo "$as_me: executing $ac_file commands" >&6;}
   24658  ;;
   24659   esac
   24660 
   24661 
   24662   case $ac_file$ac_mode in
   24663     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   24664   # Strip MF so we end up with the name of the file.
   24665   mf=`echo "$mf" | sed -e 's/:.*$//'`
   24666   # Check whether this is an Automake generated Makefile or not.
   24667   # We used to match only the files named `Makefile.in', but
   24668   # some people rename them; so instead we look at the file content.
   24669   # Grep'ing the first line is not enough: some people post-process
   24670   # each Makefile.in and add a new line on top of each file to say so.
   24671   # Grep'ing the whole file is not good either: AIX grep has a line
   24672   # limit of 2048, but all sed's we know have understand at least 4000.
   24673   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   24674     dirpart=`$as_dirname -- "$mf" ||
   24675 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24676 	 X"$mf" : 'X\(//\)[^/]' \| \
   24677 	 X"$mf" : 'X\(//\)$' \| \
   24678 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   24679 echo X"$mf" |
   24680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24681 	    s//\1/
   24682 	    q
   24683 	  }
   24684 	  /^X\(\/\/\)[^/].*/{
   24685 	    s//\1/
   24686 	    q
   24687 	  }
   24688 	  /^X\(\/\/\)$/{
   24689 	    s//\1/
   24690 	    q
   24691 	  }
   24692 	  /^X\(\/\).*/{
   24693 	    s//\1/
   24694 	    q
   24695 	  }
   24696 	  s/.*/./; q'`
   24697   else
   24698     continue
   24699   fi
   24700   # Extract the definition of DEPDIR, am__include, and am__quote
   24701   # from the Makefile without running `make'.
   24702   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   24703   test -z "$DEPDIR" && continue
   24704   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   24705   test -z "am__include" && continue
   24706   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   24707   # When using ansi2knr, U may be empty or an underscore; expand it
   24708   U=`sed -n 's/^U = //p' < "$mf"`
   24709   # Find all dependency output files, they are included files with
   24710   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   24711   # simplest approach to changing $(DEPDIR) to its actual value in the
   24712   # expansion.
   24713   for file in `sed -n "
   24714     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   24715        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   24716     # Make sure the directory exists.
   24717     test -f "$dirpart/$file" && continue
   24718     fdir=`$as_dirname -- "$file" ||
   24719 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24720 	 X"$file" : 'X\(//\)[^/]' \| \
   24721 	 X"$file" : 'X\(//\)$' \| \
   24722 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   24723 echo X"$file" |
   24724     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24725 	    s//\1/
   24726 	    q
   24727 	  }
   24728 	  /^X\(\/\/\)[^/].*/{
   24729 	    s//\1/
   24730 	    q
   24731 	  }
   24732 	  /^X\(\/\/\)$/{
   24733 	    s//\1/
   24734 	    q
   24735 	  }
   24736 	  /^X\(\/\).*/{
   24737 	    s//\1/
   24738 	    q
   24739 	  }
   24740 	  s/.*/./; q'`
   24741     { as_dir=$dirpart/$fdir
   24742   case $as_dir in #(
   24743   -*) as_dir=./$as_dir;;
   24744   esac
   24745   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24746     as_dirs=
   24747     while :; do
   24748       case $as_dir in #(
   24749       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   24750       *) as_qdir=$as_dir;;
   24751       esac
   24752       as_dirs="'$as_qdir' $as_dirs"
   24753       as_dir=`$as_dirname -- "$as_dir" ||
   24754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24755 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24756 	 X"$as_dir" : 'X\(//\)$' \| \
   24757 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24758 echo X"$as_dir" |
   24759     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24760 	    s//\1/
   24761 	    q
   24762 	  }
   24763 	  /^X\(\/\/\)[^/].*/{
   24764 	    s//\1/
   24765 	    q
   24766 	  }
   24767 	  /^X\(\/\/\)$/{
   24768 	    s//\1/
   24769 	    q
   24770 	  }
   24771 	  /^X\(\/\).*/{
   24772 	    s//\1/
   24773 	    q
   24774 	  }
   24775 	  s/.*/./; q'`
   24776       test -d "$as_dir" && break
   24777     done
   24778     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24779   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24780 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24781    { (exit 1); exit 1; }; }; }
   24782     # echo "creating $dirpart/$file"
   24783     echo '# dummy' > "$dirpart/$file"
   24784   done
   24785 done
   24786  ;;
   24787 
   24788   esac
   24789 done # for ac_tag
   24790 
   24791 
   24792 { (exit 0); exit 0; }
   24793 _ACEOF
   24794 chmod +x $CONFIG_STATUS
   24795 ac_clean_files=$ac_clean_files_save
   24796 
   24797 
   24798 # configure is writing to config.log, and then calls config.status.
   24799 # config.status does its own redirection, appending to config.log.
   24800 # Unfortunately, on DOS this fails, as config.log is still kept open
   24801 # by configure, so config.status won't be able to write to it; its
   24802 # output is simply discarded.  So we exec the FD to /dev/null,
   24803 # effectively closing config.log, so it can be properly (re)opened and
   24804 # appended to by config.status.  When coming back to configure, we
   24805 # need to make the FD available again.
   24806 if test "$no_create" != yes; then
   24807   ac_cs_success=:
   24808   ac_config_status_args=
   24809   test "$silent" = yes &&
   24810     ac_config_status_args="$ac_config_status_args --quiet"
   24811   exec 5>/dev/null
   24812   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24813   exec 5>>config.log
   24814   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24815   # would make configure fail if this is the last instruction.
   24816   $ac_cs_success || { (exit 1); exit 1; }
   24817 fi
   24818 
   24819