Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1.2.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-trident 1.3.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='xf86-video-trident'
    752 PACKAGE_TARNAME='xf86-video-trident'
    753 PACKAGE_VERSION='1.3.3'
    754 PACKAGE_STRING='xf86-video-trident 1.3.3'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 ac_unique_file="Makefile.am"
    758 # Factoring default headers for most tests.
    759 ac_includes_default="\
    760 #include <stdio.h>
    761 #ifdef HAVE_SYS_TYPES_H
    762 # include <sys/types.h>
    763 #endif
    764 #ifdef HAVE_SYS_STAT_H
    765 # include <sys/stat.h>
    766 #endif
    767 #ifdef STDC_HEADERS
    768 # include <stdlib.h>
    769 # include <stddef.h>
    770 #else
    771 # ifdef HAVE_STDLIB_H
    772 #  include <stdlib.h>
    773 # endif
    774 #endif
    775 #ifdef HAVE_STRING_H
    776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    777 #  include <memory.h>
    778 # endif
    779 # include <string.h>
    780 #endif
    781 #ifdef HAVE_STRINGS_H
    782 # include <strings.h>
    783 #endif
    784 #ifdef HAVE_INTTYPES_H
    785 # include <inttypes.h>
    786 #endif
    787 #ifdef HAVE_STDINT_H
    788 # include <stdint.h>
    789 #endif
    790 #ifdef HAVE_UNISTD_H
    791 # include <unistd.h>
    792 #endif"
    793 
    794 ac_subst_vars='am__EXEEXT_FALSE
    795 am__EXEEXT_TRUE
    796 LTLIBOBJS
    797 LIBOBJS
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 DRIVER_NAME
    811 moduledir
    812 XSERVER_LIBPCIACCESS_FALSE
    813 XSERVER_LIBPCIACCESS_TRUE
    814 PCIACCESS_LIBS
    815 PCIACCESS_CFLAGS
    816 HAVE_XEXTPROTO_71_FALSE
    817 HAVE_XEXTPROTO_71_TRUE
    818 XEXT_LIBS
    819 XEXT_CFLAGS
    820 XORG_LIBS
    821 XORG_CFLAGS
    822 PKG_CONFIG
    823 LIBTOOL
    824 ac_ct_F77
    825 FFLAGS
    826 F77
    827 CXXCPP
    828 am__fastdepCXX_FALSE
    829 am__fastdepCXX_TRUE
    830 CXXDEPMODE
    831 ac_ct_CXX
    832 CXXFLAGS
    833 CXX
    834 CPP
    835 NMEDIT
    836 DSYMUTIL
    837 RANLIB
    838 AR
    839 ECHO
    840 LN_S
    841 EGREP
    842 GREP
    843 SED
    844 am__fastdepCC_FALSE
    845 am__fastdepCC_TRUE
    846 CCDEPMODE
    847 AMDEPBACKSLASH
    848 AMDEP_FALSE
    849 AMDEP_TRUE
    850 am__quote
    851 am__include
    852 DEPDIR
    853 OBJEXT
    854 EXEEXT
    855 ac_ct_CC
    856 CPPFLAGS
    857 LDFLAGS
    858 CFLAGS
    859 CC
    860 host_os
    861 host_vendor
    862 host_cpu
    863 host
    864 build_os
    865 build_vendor
    866 build_cpu
    867 build
    868 MAINT
    869 MAINTAINER_MODE_FALSE
    870 MAINTAINER_MODE_TRUE
    871 am__untar
    872 am__tar
    873 AMTAR
    874 am__leading_dot
    875 SET_MAKE
    876 AWK
    877 mkdir_p
    878 MKDIR_P
    879 INSTALL_STRIP_PROGRAM
    880 STRIP
    881 install_sh
    882 MAKEINFO
    883 AUTOHEADER
    884 AUTOMAKE
    885 AUTOCONF
    886 ACLOCAL
    887 VERSION
    888 PACKAGE
    889 CYGPATH_W
    890 am__isrc
    891 INSTALL_DATA
    892 INSTALL_SCRIPT
    893 INSTALL_PROGRAM
    894 target_alias
    895 host_alias
    896 build_alias
    897 LIBS
    898 ECHO_T
    899 ECHO_N
    900 ECHO_C
    901 DEFS
    902 mandir
    903 localedir
    904 libdir
    905 psdir
    906 pdfdir
    907 dvidir
    908 htmldir
    909 infodir
    910 docdir
    911 oldincludedir
    912 includedir
    913 localstatedir
    914 sharedstatedir
    915 sysconfdir
    916 datadir
    917 datarootdir
    918 libexecdir
    919 sbindir
    920 bindir
    921 program_transform_name
    922 prefix
    923 exec_prefix
    924 PACKAGE_BUGREPORT
    925 PACKAGE_STRING
    926 PACKAGE_VERSION
    927 PACKAGE_TARNAME
    928 PACKAGE_NAME
    929 PATH_SEPARATOR
    930 SHELL'
    931 ac_subst_files=''
    932 ac_user_opts='
    933 enable_option_checking
    934 enable_maintainer_mode
    935 enable_static
    936 enable_shared
    937 enable_fast_install
    938 enable_dependency_tracking
    939 with_gnu_ld
    940 enable_libtool_lock
    941 with_pic
    942 with_tags
    943 with_xorg_module_dir
    944 with_release_version
    945 '
    946       ac_precious_vars='build_alias
    947 host_alias
    948 target_alias
    949 CC
    950 CFLAGS
    951 LDFLAGS
    952 LIBS
    953 CPPFLAGS
    954 CPP
    955 CXX
    956 CXXFLAGS
    957 CCC
    958 CXXCPP
    959 F77
    960 FFLAGS
    961 PKG_CONFIG
    962 XORG_CFLAGS
    963 XORG_LIBS
    964 XEXT_CFLAGS
    965 XEXT_LIBS
    966 PCIACCESS_CFLAGS
    967 PCIACCESS_LIBS'
    968 
    969 
    970 # Initialize some variables set by options.
    971 ac_init_help=
    972 ac_init_version=false
    973 ac_unrecognized_opts=
    974 ac_unrecognized_sep=
    975 # The variables have the same names as the options, with
    976 # dashes changed to underlines.
    977 cache_file=/dev/null
    978 exec_prefix=NONE
    979 no_create=
    980 no_recursion=
    981 prefix=NONE
    982 program_prefix=NONE
    983 program_suffix=NONE
    984 program_transform_name=s,x,x,
    985 silent=
    986 site=
    987 srcdir=
    988 verbose=
    989 x_includes=NONE
    990 x_libraries=NONE
    991 
    992 # Installation directory options.
    993 # These are left unexpanded so users can "make install exec_prefix=/foo"
    994 # and all the variables that are supposed to be based on exec_prefix
    995 # by default will actually change.
    996 # Use braces instead of parens because sh, perl, etc. also accept them.
    997 # (The list follows the same order as the GNU Coding Standards.)
    998 bindir='${exec_prefix}/bin'
    999 sbindir='${exec_prefix}/sbin'
   1000 libexecdir='${exec_prefix}/libexec'
   1001 datarootdir='${prefix}/share'
   1002 datadir='${datarootdir}'
   1003 sysconfdir='${prefix}/etc'
   1004 sharedstatedir='${prefix}/com'
   1005 localstatedir='${prefix}/var'
   1006 includedir='${prefix}/include'
   1007 oldincludedir='/usr/include'
   1008 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1009 infodir='${datarootdir}/info'
   1010 htmldir='${docdir}'
   1011 dvidir='${docdir}'
   1012 pdfdir='${docdir}'
   1013 psdir='${docdir}'
   1014 libdir='${exec_prefix}/lib'
   1015 localedir='${datarootdir}/locale'
   1016 mandir='${datarootdir}/man'
   1017 
   1018 ac_prev=
   1019 ac_dashdash=
   1020 for ac_option
   1021 do
   1022   # If the previous option needs an argument, assign it.
   1023   if test -n "$ac_prev"; then
   1024     eval $ac_prev=\$ac_option
   1025     ac_prev=
   1026     continue
   1027   fi
   1028 
   1029   case $ac_option in
   1030   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1031   *)	ac_optarg=yes ;;
   1032   esac
   1033 
   1034   # Accept the important Cygnus configure options, so we can diagnose typos.
   1035 
   1036   case $ac_dashdash$ac_option in
   1037   --)
   1038     ac_dashdash=yes ;;
   1039 
   1040   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1041     ac_prev=bindir ;;
   1042   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1043     bindir=$ac_optarg ;;
   1044 
   1045   -build | --build | --buil | --bui | --bu)
   1046     ac_prev=build_alias ;;
   1047   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1048     build_alias=$ac_optarg ;;
   1049 
   1050   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1051   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1052     ac_prev=cache_file ;;
   1053   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1054   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1055     cache_file=$ac_optarg ;;
   1056 
   1057   --config-cache | -C)
   1058     cache_file=config.cache ;;
   1059 
   1060   -datadir | --datadir | --datadi | --datad)
   1061     ac_prev=datadir ;;
   1062   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1063     datadir=$ac_optarg ;;
   1064 
   1065   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1066   | --dataroo | --dataro | --datar)
   1067     ac_prev=datarootdir ;;
   1068   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1069   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1070     datarootdir=$ac_optarg ;;
   1071 
   1072   -disable-* | --disable-*)
   1073     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1074     # Reject names that are not valid shell variable names.
   1075     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1076       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1077    { (exit 1); exit 1; }; }
   1078     ac_useropt_orig=$ac_useropt
   1079     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1080     case $ac_user_opts in
   1081       *"
   1082 "enable_$ac_useropt"
   1083 "*) ;;
   1084       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1085 	 ac_unrecognized_sep=', ';;
   1086     esac
   1087     eval enable_$ac_useropt=no ;;
   1088 
   1089   -docdir | --docdir | --docdi | --doc | --do)
   1090     ac_prev=docdir ;;
   1091   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1092     docdir=$ac_optarg ;;
   1093 
   1094   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1095     ac_prev=dvidir ;;
   1096   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1097     dvidir=$ac_optarg ;;
   1098 
   1099   -enable-* | --enable-*)
   1100     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1101     # Reject names that are not valid shell variable names.
   1102     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1103       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1104    { (exit 1); exit 1; }; }
   1105     ac_useropt_orig=$ac_useropt
   1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1107     case $ac_user_opts in
   1108       *"
   1109 "enable_$ac_useropt"
   1110 "*) ;;
   1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1112 	 ac_unrecognized_sep=', ';;
   1113     esac
   1114     eval enable_$ac_useropt=\$ac_optarg ;;
   1115 
   1116   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1117   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1118   | --exec | --exe | --ex)
   1119     ac_prev=exec_prefix ;;
   1120   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1121   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1122   | --exec=* | --exe=* | --ex=*)
   1123     exec_prefix=$ac_optarg ;;
   1124 
   1125   -gas | --gas | --ga | --g)
   1126     # Obsolete; use --with-gas.
   1127     with_gas=yes ;;
   1128 
   1129   -help | --help | --hel | --he | -h)
   1130     ac_init_help=long ;;
   1131   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1132     ac_init_help=recursive ;;
   1133   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1134     ac_init_help=short ;;
   1135 
   1136   -host | --host | --hos | --ho)
   1137     ac_prev=host_alias ;;
   1138   -host=* | --host=* | --hos=* | --ho=*)
   1139     host_alias=$ac_optarg ;;
   1140 
   1141   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1142     ac_prev=htmldir ;;
   1143   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1144   | --ht=*)
   1145     htmldir=$ac_optarg ;;
   1146 
   1147   -includedir | --includedir | --includedi | --included | --include \
   1148   | --includ | --inclu | --incl | --inc)
   1149     ac_prev=includedir ;;
   1150   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1151   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1152     includedir=$ac_optarg ;;
   1153 
   1154   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1155     ac_prev=infodir ;;
   1156   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1157     infodir=$ac_optarg ;;
   1158 
   1159   -libdir | --libdir | --libdi | --libd)
   1160     ac_prev=libdir ;;
   1161   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1162     libdir=$ac_optarg ;;
   1163 
   1164   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1165   | --libexe | --libex | --libe)
   1166     ac_prev=libexecdir ;;
   1167   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1168   | --libexe=* | --libex=* | --libe=*)
   1169     libexecdir=$ac_optarg ;;
   1170 
   1171   -localedir | --localedir | --localedi | --localed | --locale)
   1172     ac_prev=localedir ;;
   1173   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1174     localedir=$ac_optarg ;;
   1175 
   1176   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1177   | --localstate | --localstat | --localsta | --localst | --locals)
   1178     ac_prev=localstatedir ;;
   1179   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1180   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1181     localstatedir=$ac_optarg ;;
   1182 
   1183   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1184     ac_prev=mandir ;;
   1185   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1186     mandir=$ac_optarg ;;
   1187 
   1188   -nfp | --nfp | --nf)
   1189     # Obsolete; use --without-fp.
   1190     with_fp=no ;;
   1191 
   1192   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1193   | --no-cr | --no-c | -n)
   1194     no_create=yes ;;
   1195 
   1196   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1197   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1198     no_recursion=yes ;;
   1199 
   1200   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1201   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1202   | --oldin | --oldi | --old | --ol | --o)
   1203     ac_prev=oldincludedir ;;
   1204   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1205   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1206   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1207     oldincludedir=$ac_optarg ;;
   1208 
   1209   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1210     ac_prev=prefix ;;
   1211   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1212     prefix=$ac_optarg ;;
   1213 
   1214   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1215   | --program-pre | --program-pr | --program-p)
   1216     ac_prev=program_prefix ;;
   1217   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1218   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1219     program_prefix=$ac_optarg ;;
   1220 
   1221   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1222   | --program-suf | --program-su | --program-s)
   1223     ac_prev=program_suffix ;;
   1224   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1225   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1226     program_suffix=$ac_optarg ;;
   1227 
   1228   -program-transform-name | --program-transform-name \
   1229   | --program-transform-nam | --program-transform-na \
   1230   | --program-transform-n | --program-transform- \
   1231   | --program-transform | --program-transfor \
   1232   | --program-transfo | --program-transf \
   1233   | --program-trans | --program-tran \
   1234   | --progr-tra | --program-tr | --program-t)
   1235     ac_prev=program_transform_name ;;
   1236   -program-transform-name=* | --program-transform-name=* \
   1237   | --program-transform-nam=* | --program-transform-na=* \
   1238   | --program-transform-n=* | --program-transform-=* \
   1239   | --program-transform=* | --program-transfor=* \
   1240   | --program-transfo=* | --program-transf=* \
   1241   | --program-trans=* | --program-tran=* \
   1242   | --progr-tra=* | --program-tr=* | --program-t=*)
   1243     program_transform_name=$ac_optarg ;;
   1244 
   1245   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1246     ac_prev=pdfdir ;;
   1247   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1248     pdfdir=$ac_optarg ;;
   1249 
   1250   -psdir | --psdir | --psdi | --psd | --ps)
   1251     ac_prev=psdir ;;
   1252   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1253     psdir=$ac_optarg ;;
   1254 
   1255   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1256   | -silent | --silent | --silen | --sile | --sil)
   1257     silent=yes ;;
   1258 
   1259   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1260     ac_prev=sbindir ;;
   1261   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1262   | --sbi=* | --sb=*)
   1263     sbindir=$ac_optarg ;;
   1264 
   1265   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1266   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1267   | --sharedst | --shareds | --shared | --share | --shar \
   1268   | --sha | --sh)
   1269     ac_prev=sharedstatedir ;;
   1270   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1271   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1272   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1273   | --sha=* | --sh=*)
   1274     sharedstatedir=$ac_optarg ;;
   1275 
   1276   -site | --site | --sit)
   1277     ac_prev=site ;;
   1278   -site=* | --site=* | --sit=*)
   1279     site=$ac_optarg ;;
   1280 
   1281   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1282     ac_prev=srcdir ;;
   1283   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1284     srcdir=$ac_optarg ;;
   1285 
   1286   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1287   | --syscon | --sysco | --sysc | --sys | --sy)
   1288     ac_prev=sysconfdir ;;
   1289   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1290   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1291     sysconfdir=$ac_optarg ;;
   1292 
   1293   -target | --target | --targe | --targ | --tar | --ta | --t)
   1294     ac_prev=target_alias ;;
   1295   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1296     target_alias=$ac_optarg ;;
   1297 
   1298   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1299     verbose=yes ;;
   1300 
   1301   -version | --version | --versio | --versi | --vers | -V)
   1302     ac_init_version=: ;;
   1303 
   1304   -with-* | --with-*)
   1305     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1306     # Reject names that are not valid shell variable names.
   1307     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1308       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1309    { (exit 1); exit 1; }; }
   1310     ac_useropt_orig=$ac_useropt
   1311     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1312     case $ac_user_opts in
   1313       *"
   1314 "with_$ac_useropt"
   1315 "*) ;;
   1316       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1317 	 ac_unrecognized_sep=', ';;
   1318     esac
   1319     eval with_$ac_useropt=\$ac_optarg ;;
   1320 
   1321   -without-* | --without-*)
   1322     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1323     # Reject names that are not valid shell variable names.
   1324     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1325       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1326    { (exit 1); exit 1; }; }
   1327     ac_useropt_orig=$ac_useropt
   1328     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1329     case $ac_user_opts in
   1330       *"
   1331 "with_$ac_useropt"
   1332 "*) ;;
   1333       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1334 	 ac_unrecognized_sep=', ';;
   1335     esac
   1336     eval with_$ac_useropt=no ;;
   1337 
   1338   --x)
   1339     # Obsolete; use --with-x.
   1340     with_x=yes ;;
   1341 
   1342   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1343   | --x-incl | --x-inc | --x-in | --x-i)
   1344     ac_prev=x_includes ;;
   1345   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1346   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1347     x_includes=$ac_optarg ;;
   1348 
   1349   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1350   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1351     ac_prev=x_libraries ;;
   1352   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1353   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1354     x_libraries=$ac_optarg ;;
   1355 
   1356   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1357 Try \`$0 --help' for more information." >&2
   1358    { (exit 1); exit 1; }; }
   1359     ;;
   1360 
   1361   *=*)
   1362     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1363     # Reject names that are not valid shell variable names.
   1364     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1365       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1366    { (exit 1); exit 1; }; }
   1367     eval $ac_envvar=\$ac_optarg
   1368     export $ac_envvar ;;
   1369 
   1370   *)
   1371     # FIXME: should be removed in autoconf 3.0.
   1372     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1373     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1374       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1375     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1376     ;;
   1377 
   1378   esac
   1379 done
   1380 
   1381 if test -n "$ac_prev"; then
   1382   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1383   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1384    { (exit 1); exit 1; }; }
   1385 fi
   1386 
   1387 if test -n "$ac_unrecognized_opts"; then
   1388   case $enable_option_checking in
   1389     no) ;;
   1390     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1391    { (exit 1); exit 1; }; } ;;
   1392     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1393   esac
   1394 fi
   1395 
   1396 # Check all directory arguments for consistency.
   1397 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1398 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1399 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1400 		libdir localedir mandir
   1401 do
   1402   eval ac_val=\$$ac_var
   1403   # Remove trailing slashes.
   1404   case $ac_val in
   1405     */ )
   1406       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1407       eval $ac_var=\$ac_val;;
   1408   esac
   1409   # Be sure to have absolute directory names.
   1410   case $ac_val in
   1411     [\\/$]* | ?:[\\/]* )  continue;;
   1412     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1413   esac
   1414   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1415    { (exit 1); exit 1; }; }
   1416 done
   1417 
   1418 # There might be people who depend on the old broken behavior: `$host'
   1419 # used to hold the argument of --host etc.
   1420 # FIXME: To remove some day.
   1421 build=$build_alias
   1422 host=$host_alias
   1423 target=$target_alias
   1424 
   1425 # FIXME: To remove some day.
   1426 if test "x$host_alias" != x; then
   1427   if test "x$build_alias" = x; then
   1428     cross_compiling=maybe
   1429     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1430     If a cross compiler is detected then cross compile mode will be used." >&2
   1431   elif test "x$build_alias" != "x$host_alias"; then
   1432     cross_compiling=yes
   1433   fi
   1434 fi
   1435 
   1436 ac_tool_prefix=
   1437 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1438 
   1439 test "$silent" = yes && exec 6>/dev/null
   1440 
   1441 
   1442 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1443 ac_ls_di=`ls -di .` &&
   1444 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1445   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1446    { (exit 1); exit 1; }; }
   1447 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1448   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1449    { (exit 1); exit 1; }; }
   1450 
   1451 
   1452 # Find the source files, if location was not specified.
   1453 if test -z "$srcdir"; then
   1454   ac_srcdir_defaulted=yes
   1455   # Try the directory containing this script, then the parent directory.
   1456   ac_confdir=`$as_dirname -- "$as_myself" ||
   1457 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1458 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1459 	 X"$as_myself" : 'X\(//\)$' \| \
   1460 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1461 $as_echo X"$as_myself" |
   1462     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1463 	    s//\1/
   1464 	    q
   1465 	  }
   1466 	  /^X\(\/\/\)[^/].*/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  /^X\(\/\/\)$/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\).*/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  s/.*/./; q'`
   1479   srcdir=$ac_confdir
   1480   if test ! -r "$srcdir/$ac_unique_file"; then
   1481     srcdir=..
   1482   fi
   1483 else
   1484   ac_srcdir_defaulted=no
   1485 fi
   1486 if test ! -r "$srcdir/$ac_unique_file"; then
   1487   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1488   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1489    { (exit 1); exit 1; }; }
   1490 fi
   1491 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1492 ac_abs_confdir=`(
   1493 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1494    { (exit 1); exit 1; }; }
   1495 	pwd)`
   1496 # When building in place, set srcdir=.
   1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1498   srcdir=.
   1499 fi
   1500 # Remove unnecessary trailing slashes from srcdir.
   1501 # Double slashes in file names in object file debugging info
   1502 # mess up M-x gdb in Emacs.
   1503 case $srcdir in
   1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1505 esac
   1506 for ac_var in $ac_precious_vars; do
   1507   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1508   eval ac_env_${ac_var}_value=\$${ac_var}
   1509   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1510   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1511 done
   1512 
   1513 #
   1514 # Report the --help message.
   1515 #
   1516 if test "$ac_init_help" = "long"; then
   1517   # Omit some internal or obsolete options to make the list less imposing.
   1518   # This message is too long to be a string in the A/UX 3.1 sh.
   1519   cat <<_ACEOF
   1520 \`configure' configures xf86-video-trident 1.3.3 to adapt to many kinds of systems.
   1521 
   1522 Usage: $0 [OPTION]... [VAR=VALUE]...
   1523 
   1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1525 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1526 
   1527 Defaults for the options are specified in brackets.
   1528 
   1529 Configuration:
   1530   -h, --help              display this help and exit
   1531       --help=short        display options specific to this package
   1532       --help=recursive    display the short help of all the included packages
   1533   -V, --version           display version information and exit
   1534   -q, --quiet, --silent   do not print \`checking...' messages
   1535       --cache-file=FILE   cache test results in FILE [disabled]
   1536   -C, --config-cache      alias for \`--cache-file=config.cache'
   1537   -n, --no-create         do not create output files
   1538       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1539 
   1540 Installation directories:
   1541   --prefix=PREFIX         install architecture-independent files in PREFIX
   1542                           [$ac_default_prefix]
   1543   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1544                           [PREFIX]
   1545 
   1546 By default, \`make install' will install all the files in
   1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1549 for instance \`--prefix=\$HOME'.
   1550 
   1551 For better control, use the options below.
   1552 
   1553 Fine tuning of the installation directories:
   1554   --bindir=DIR            user executables [EPREFIX/bin]
   1555   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1556   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1557   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1558   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1559   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1560   --libdir=DIR            object code libraries [EPREFIX/lib]
   1561   --includedir=DIR        C header files [PREFIX/include]
   1562   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1563   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1564   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1565   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1566   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1567   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1568   --docdir=DIR            documentation root
   1569                           [DATAROOTDIR/doc/xf86-video-trident]
   1570   --htmldir=DIR           html documentation [DOCDIR]
   1571   --dvidir=DIR            dvi documentation [DOCDIR]
   1572   --pdfdir=DIR            pdf documentation [DOCDIR]
   1573   --psdir=DIR             ps documentation [DOCDIR]
   1574 _ACEOF
   1575 
   1576   cat <<\_ACEOF
   1577 
   1578 Program names:
   1579   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1580   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1581   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1582 
   1583 System types:
   1584   --build=BUILD     configure for building on BUILD [guessed]
   1585   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1586 _ACEOF
   1587 fi
   1588 
   1589 if test -n "$ac_init_help"; then
   1590   case $ac_init_help in
   1591      short | recursive ) echo "Configuration of xf86-video-trident 1.3.3:";;
   1592    esac
   1593   cat <<\_ACEOF
   1594 
   1595 Optional Features:
   1596   --disable-option-checking  ignore unrecognized --enable/--with options
   1597   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1598   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1599   --enable-maintainer-mode  enable make rules and dependencies not useful
   1600 			  (and sometimes confusing) to the casual installer
   1601   --enable-static[=PKGS]  build static libraries [default=no]
   1602   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1603   --enable-fast-install[=PKGS]
   1604                           optimize for fast installation [default=yes]
   1605   --disable-dependency-tracking  speeds up one-time build
   1606   --enable-dependency-tracking   do not reject slow dependency extractors
   1607   --disable-libtool-lock  avoid locking (might break parallel builds)
   1608 
   1609 Optional Packages:
   1610   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1611   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1612   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1613   --with-pic              try to use only PIC/non-PIC objects [default=use
   1614                           both]
   1615   --with-tags[=TAGS]      include additional configurations [automatic]
   1616   --with-xorg-module-dir=DIR
   1617                           Default xorg module directory
   1618                           [default=$libdir/xorg/modules]
   1619   --with-release-version=STRING
   1620                           Use release version string in package name
   1621 
   1622 Some influential environment variables:
   1623   CC          C compiler command
   1624   CFLAGS      C compiler flags
   1625   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1626               nonstandard directory <lib dir>
   1627   LIBS        libraries to pass to the linker, e.g. -l<library>
   1628   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1629               you have headers in a nonstandard directory <include dir>
   1630   CPP         C preprocessor
   1631   CXX         C++ compiler command
   1632   CXXFLAGS    C++ compiler flags
   1633   CXXCPP      C++ preprocessor
   1634   F77         Fortran 77 compiler command
   1635   FFLAGS      Fortran 77 compiler flags
   1636   PKG_CONFIG  path to pkg-config utility
   1637   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1638   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1639   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1640   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1641   PCIACCESS_CFLAGS
   1642               C compiler flags for PCIACCESS, overriding pkg-config
   1643   PCIACCESS_LIBS
   1644               linker flags for PCIACCESS, overriding pkg-config
   1645 
   1646 Use these variables to override the choices made by `configure' or to help
   1647 it to find libraries and programs with nonstandard names/locations.
   1648 
   1649 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1650 _ACEOF
   1651 ac_status=$?
   1652 fi
   1653 
   1654 if test "$ac_init_help" = "recursive"; then
   1655   # If there are subdirs, report their specific --help.
   1656   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1657     test -d "$ac_dir" ||
   1658       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1659       continue
   1660     ac_builddir=.
   1661 
   1662 case "$ac_dir" in
   1663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1664 *)
   1665   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1666   # A ".." for each directory in $ac_dir_suffix.
   1667   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1668   case $ac_top_builddir_sub in
   1669   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1670   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1671   esac ;;
   1672 esac
   1673 ac_abs_top_builddir=$ac_pwd
   1674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1675 # for backward compatibility:
   1676 ac_top_builddir=$ac_top_build_prefix
   1677 
   1678 case $srcdir in
   1679   .)  # We are building in place.
   1680     ac_srcdir=.
   1681     ac_top_srcdir=$ac_top_builddir_sub
   1682     ac_abs_top_srcdir=$ac_pwd ;;
   1683   [\\/]* | ?:[\\/]* )  # Absolute name.
   1684     ac_srcdir=$srcdir$ac_dir_suffix;
   1685     ac_top_srcdir=$srcdir
   1686     ac_abs_top_srcdir=$srcdir ;;
   1687   *) # Relative name.
   1688     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1689     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1690     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1691 esac
   1692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1693 
   1694     cd "$ac_dir" || { ac_status=$?; continue; }
   1695     # Check for guested configure.
   1696     if test -f "$ac_srcdir/configure.gnu"; then
   1697       echo &&
   1698       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1699     elif test -f "$ac_srcdir/configure"; then
   1700       echo &&
   1701       $SHELL "$ac_srcdir/configure" --help=recursive
   1702     else
   1703       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1704     fi || ac_status=$?
   1705     cd "$ac_pwd" || { ac_status=$?; break; }
   1706   done
   1707 fi
   1708 
   1709 test -n "$ac_init_help" && exit $ac_status
   1710 if $ac_init_version; then
   1711   cat <<\_ACEOF
   1712 xf86-video-trident configure 1.3.3
   1713 generated by GNU Autoconf 2.63
   1714 
   1715 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1716 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1717 This configure script is free software; the Free Software Foundation
   1718 gives unlimited permission to copy, distribute and modify it.
   1719 _ACEOF
   1720   exit
   1721 fi
   1722 cat >config.log <<_ACEOF
   1723 This file contains any messages produced by compilers while
   1724 running configure, to aid debugging if configure makes a mistake.
   1725 
   1726 It was created by xf86-video-trident $as_me 1.3.3, which was
   1727 generated by GNU Autoconf 2.63.  Invocation command line was
   1728 
   1729   $ $0 $@
   1730 
   1731 _ACEOF
   1732 exec 5>>config.log
   1733 {
   1734 cat <<_ASUNAME
   1735 ## --------- ##
   1736 ## Platform. ##
   1737 ## --------- ##
   1738 
   1739 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1740 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1741 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1742 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1743 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1744 
   1745 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1746 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1747 
   1748 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1749 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1750 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1751 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1752 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1753 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1754 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1755 
   1756 _ASUNAME
   1757 
   1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1759 for as_dir in $PATH
   1760 do
   1761   IFS=$as_save_IFS
   1762   test -z "$as_dir" && as_dir=.
   1763   $as_echo "PATH: $as_dir"
   1764 done
   1765 IFS=$as_save_IFS
   1766 
   1767 } >&5
   1768 
   1769 cat >&5 <<_ACEOF
   1770 
   1771 
   1772 ## ----------- ##
   1773 ## Core tests. ##
   1774 ## ----------- ##
   1775 
   1776 _ACEOF
   1777 
   1778 
   1779 # Keep a trace of the command line.
   1780 # Strip out --no-create and --no-recursion so they do not pile up.
   1781 # Strip out --silent because we don't want to record it for future runs.
   1782 # Also quote any args containing shell meta-characters.
   1783 # Make two passes to allow for proper duplicate-argument suppression.
   1784 ac_configure_args=
   1785 ac_configure_args0=
   1786 ac_configure_args1=
   1787 ac_must_keep_next=false
   1788 for ac_pass in 1 2
   1789 do
   1790   for ac_arg
   1791   do
   1792     case $ac_arg in
   1793     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1794     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1795     | -silent | --silent | --silen | --sile | --sil)
   1796       continue ;;
   1797     *\'*)
   1798       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1799     esac
   1800     case $ac_pass in
   1801     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1802     2)
   1803       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1804       if test $ac_must_keep_next = true; then
   1805 	ac_must_keep_next=false # Got value, back to normal.
   1806       else
   1807 	case $ac_arg in
   1808 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1809 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1810 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1811 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1812 	    case "$ac_configure_args0 " in
   1813 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1814 	    esac
   1815 	    ;;
   1816 	  -* ) ac_must_keep_next=true ;;
   1817 	esac
   1818       fi
   1819       ac_configure_args="$ac_configure_args '$ac_arg'"
   1820       ;;
   1821     esac
   1822   done
   1823 done
   1824 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1825 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1826 
   1827 # When interrupted or exit'd, cleanup temporary files, and complete
   1828 # config.log.  We remove comments because anyway the quotes in there
   1829 # would cause problems or look ugly.
   1830 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1831 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1832 trap 'exit_status=$?
   1833   # Save into config.log some information that might help in debugging.
   1834   {
   1835     echo
   1836 
   1837     cat <<\_ASBOX
   1838 ## ---------------- ##
   1839 ## Cache variables. ##
   1840 ## ---------------- ##
   1841 _ASBOX
   1842     echo
   1843     # The following way of writing the cache mishandles newlines in values,
   1844 (
   1845   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1846     eval ac_val=\$$ac_var
   1847     case $ac_val in #(
   1848     *${as_nl}*)
   1849       case $ac_var in #(
   1850       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1852       esac
   1853       case $ac_var in #(
   1854       _ | IFS | as_nl) ;; #(
   1855       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1856       *) $as_unset $ac_var ;;
   1857       esac ;;
   1858     esac
   1859   done
   1860   (set) 2>&1 |
   1861     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1862     *${as_nl}ac_space=\ *)
   1863       sed -n \
   1864 	"s/'\''/'\''\\\\'\'''\''/g;
   1865 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1866       ;; #(
   1867     *)
   1868       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1869       ;;
   1870     esac |
   1871     sort
   1872 )
   1873     echo
   1874 
   1875     cat <<\_ASBOX
   1876 ## ----------------- ##
   1877 ## Output variables. ##
   1878 ## ----------------- ##
   1879 _ASBOX
   1880     echo
   1881     for ac_var in $ac_subst_vars
   1882     do
   1883       eval ac_val=\$$ac_var
   1884       case $ac_val in
   1885       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1886       esac
   1887       $as_echo "$ac_var='\''$ac_val'\''"
   1888     done | sort
   1889     echo
   1890 
   1891     if test -n "$ac_subst_files"; then
   1892       cat <<\_ASBOX
   1893 ## ------------------- ##
   1894 ## File substitutions. ##
   1895 ## ------------------- ##
   1896 _ASBOX
   1897       echo
   1898       for ac_var in $ac_subst_files
   1899       do
   1900 	eval ac_val=\$$ac_var
   1901 	case $ac_val in
   1902 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1903 	esac
   1904 	$as_echo "$ac_var='\''$ac_val'\''"
   1905       done | sort
   1906       echo
   1907     fi
   1908 
   1909     if test -s confdefs.h; then
   1910       cat <<\_ASBOX
   1911 ## ----------- ##
   1912 ## confdefs.h. ##
   1913 ## ----------- ##
   1914 _ASBOX
   1915       echo
   1916       cat confdefs.h
   1917       echo
   1918     fi
   1919     test "$ac_signal" != 0 &&
   1920       $as_echo "$as_me: caught signal $ac_signal"
   1921     $as_echo "$as_me: exit $exit_status"
   1922   } >&5
   1923   rm -f core *.core core.conftest.* &&
   1924     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1925     exit $exit_status
   1926 ' 0
   1927 for ac_signal in 1 2 13 15; do
   1928   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1929 done
   1930 ac_signal=0
   1931 
   1932 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1933 rm -f -r conftest* confdefs.h
   1934 
   1935 # Predefined preprocessor variables.
   1936 
   1937 cat >>confdefs.h <<_ACEOF
   1938 #define PACKAGE_NAME "$PACKAGE_NAME"
   1939 _ACEOF
   1940 
   1941 
   1942 cat >>confdefs.h <<_ACEOF
   1943 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1944 _ACEOF
   1945 
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1949 _ACEOF
   1950 
   1951 
   1952 cat >>confdefs.h <<_ACEOF
   1953 #define PACKAGE_STRING "$PACKAGE_STRING"
   1954 _ACEOF
   1955 
   1956 
   1957 cat >>confdefs.h <<_ACEOF
   1958 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1959 _ACEOF
   1960 
   1961 
   1962 # Let the site file select an alternate cache file if it wants to.
   1963 # Prefer an explicitly selected file to automatically selected ones.
   1964 ac_site_file1=NONE
   1965 ac_site_file2=NONE
   1966 if test -n "$CONFIG_SITE"; then
   1967   ac_site_file1=$CONFIG_SITE
   1968 elif test "x$prefix" != xNONE; then
   1969   ac_site_file1=$prefix/share/config.site
   1970   ac_site_file2=$prefix/etc/config.site
   1971 else
   1972   ac_site_file1=$ac_default_prefix/share/config.site
   1973   ac_site_file2=$ac_default_prefix/etc/config.site
   1974 fi
   1975 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1976 do
   1977   test "x$ac_site_file" = xNONE && continue
   1978   if test -r "$ac_site_file"; then
   1979     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1980 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1981     sed 's/^/| /' "$ac_site_file" >&5
   1982     . "$ac_site_file"
   1983   fi
   1984 done
   1985 
   1986 if test -r "$cache_file"; then
   1987   # Some versions of bash will fail to source /dev/null (special
   1988   # files actually), so we avoid doing that.
   1989   if test -f "$cache_file"; then
   1990     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1991 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1992     case $cache_file in
   1993       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1994       *)                      . "./$cache_file";;
   1995     esac
   1996   fi
   1997 else
   1998   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1999 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2000   >$cache_file
   2001 fi
   2002 
   2003 # Check that the precious variables saved in the cache have kept the same
   2004 # value.
   2005 ac_cache_corrupted=false
   2006 for ac_var in $ac_precious_vars; do
   2007   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2008   eval ac_new_set=\$ac_env_${ac_var}_set
   2009   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2010   eval ac_new_val=\$ac_env_${ac_var}_value
   2011   case $ac_old_set,$ac_new_set in
   2012     set,)
   2013       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2014 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2015       ac_cache_corrupted=: ;;
   2016     ,set)
   2017       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2018 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2019       ac_cache_corrupted=: ;;
   2020     ,);;
   2021     *)
   2022       if test "x$ac_old_val" != "x$ac_new_val"; then
   2023 	# differences in whitespace do not lead to failure.
   2024 	ac_old_val_w=`echo x $ac_old_val`
   2025 	ac_new_val_w=`echo x $ac_new_val`
   2026 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2027 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2028 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2029 	  ac_cache_corrupted=:
   2030 	else
   2031 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2032 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2033 	  eval $ac_var=\$ac_old_val
   2034 	fi
   2035 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2036 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2037 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2038 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2039       fi;;
   2040   esac
   2041   # Pass precious variables to config.status.
   2042   if test "$ac_new_set" = set; then
   2043     case $ac_new_val in
   2044     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2045     *) ac_arg=$ac_var=$ac_new_val ;;
   2046     esac
   2047     case " $ac_configure_args " in
   2048       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2049       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2050     esac
   2051   fi
   2052 done
   2053 if $ac_cache_corrupted; then
   2054   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2056   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2057 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2058   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2059 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2060    { (exit 1); exit 1; }; }
   2061 fi
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 ac_ext=c
   2088 ac_cpp='$CPP $CPPFLAGS'
   2089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2092 
   2093 
   2094 
   2095 
   2096 ac_config_headers="$ac_config_headers config.h"
   2097 
   2098 ac_aux_dir=
   2099 for ac_dir in . "$srcdir"/.; do
   2100   if test -f "$ac_dir/install-sh"; then
   2101     ac_aux_dir=$ac_dir
   2102     ac_install_sh="$ac_aux_dir/install-sh -c"
   2103     break
   2104   elif test -f "$ac_dir/install.sh"; then
   2105     ac_aux_dir=$ac_dir
   2106     ac_install_sh="$ac_aux_dir/install.sh -c"
   2107     break
   2108   elif test -f "$ac_dir/shtool"; then
   2109     ac_aux_dir=$ac_dir
   2110     ac_install_sh="$ac_aux_dir/shtool install -c"
   2111     break
   2112   fi
   2113 done
   2114 if test -z "$ac_aux_dir"; then
   2115   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2116 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2117    { (exit 1); exit 1; }; }
   2118 fi
   2119 
   2120 # These three variables are undocumented and unsupported,
   2121 # and are intended to be withdrawn in a future Autoconf release.
   2122 # They can cause serious problems if a builder's source tree is in a directory
   2123 # whose full name contains unusual characters.
   2124 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2125 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2126 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2127 
   2128 
   2129 
   2130 am__api_version='1.11'
   2131 
   2132 # Find a good install program.  We prefer a C program (faster),
   2133 # so one script is as good as another.  But avoid the broken or
   2134 # incompatible versions:
   2135 # SysV /etc/install, /usr/sbin/install
   2136 # SunOS /usr/etc/install
   2137 # IRIX /sbin/install
   2138 # AIX /bin/install
   2139 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2140 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2141 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2142 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2143 # OS/2's system install, which has a completely different semantic
   2144 # ./install, which can be erroneously created by make from ./install.sh.
   2145 # Reject install programs that cannot install multiple files.
   2146 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2147 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2148 if test -z "$INSTALL"; then
   2149 if test "${ac_cv_path_install+set}" = set; then
   2150   $as_echo_n "(cached) " >&6
   2151 else
   2152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2153 for as_dir in $PATH
   2154 do
   2155   IFS=$as_save_IFS
   2156   test -z "$as_dir" && as_dir=.
   2157   # Account for people who put trailing slashes in PATH elements.
   2158 case $as_dir/ in
   2159   ./ | .// | /cC/* | \
   2160   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2161   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2162   /usr/ucb/* ) ;;
   2163   *)
   2164     # OSF1 and SCO ODT 3.0 have their own names for install.
   2165     # Don't use installbsd from OSF since it installs stuff as root
   2166     # by default.
   2167     for ac_prog in ginstall scoinst install; do
   2168       for ac_exec_ext in '' $ac_executable_extensions; do
   2169 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2170 	  if test $ac_prog = install &&
   2171 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2172 	    # AIX install.  It has an incompatible calling convention.
   2173 	    :
   2174 	  elif test $ac_prog = install &&
   2175 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2176 	    # program-specific install script used by HP pwplus--don't use.
   2177 	    :
   2178 	  else
   2179 	    rm -rf conftest.one conftest.two conftest.dir
   2180 	    echo one > conftest.one
   2181 	    echo two > conftest.two
   2182 	    mkdir conftest.dir
   2183 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2184 	      test -s conftest.one && test -s conftest.two &&
   2185 	      test -s conftest.dir/conftest.one &&
   2186 	      test -s conftest.dir/conftest.two
   2187 	    then
   2188 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2189 	      break 3
   2190 	    fi
   2191 	  fi
   2192 	fi
   2193       done
   2194     done
   2195     ;;
   2196 esac
   2197 
   2198 done
   2199 IFS=$as_save_IFS
   2200 
   2201 rm -rf conftest.one conftest.two conftest.dir
   2202 
   2203 fi
   2204   if test "${ac_cv_path_install+set}" = set; then
   2205     INSTALL=$ac_cv_path_install
   2206   else
   2207     # As a last resort, use the slow shell script.  Don't cache a
   2208     # value for INSTALL within a source directory, because that will
   2209     # break other packages using the cache if that directory is
   2210     # removed, or if the value is a relative name.
   2211     INSTALL=$ac_install_sh
   2212   fi
   2213 fi
   2214 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2215 $as_echo "$INSTALL" >&6; }
   2216 
   2217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2218 # It thinks the first close brace ends the variable substitution.
   2219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2220 
   2221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2222 
   2223 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2224 
   2225 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2226 $as_echo_n "checking whether build environment is sane... " >&6; }
   2227 # Just in case
   2228 sleep 1
   2229 echo timestamp > conftest.file
   2230 # Reject unsafe characters in $srcdir or the absolute working directory
   2231 # name.  Accept space and tab only in the latter.
   2232 am_lf='
   2233 '
   2234 case `pwd` in
   2235   *[\\\"\#\$\&\'\`$am_lf]*)
   2236     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2237 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2238    { (exit 1); exit 1; }; };;
   2239 esac
   2240 case $srcdir in
   2241   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2242     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2243 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2244    { (exit 1); exit 1; }; };;
   2245 esac
   2246 
   2247 # Do `set' in a subshell so we don't clobber the current shell's
   2248 # arguments.  Must try -L first in case configure is actually a
   2249 # symlink; some systems play weird games with the mod time of symlinks
   2250 # (eg FreeBSD returns the mod time of the symlink's containing
   2251 # directory).
   2252 if (
   2253    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2254    if test "$*" = "X"; then
   2255       # -L didn't work.
   2256       set X `ls -t "$srcdir/configure" conftest.file`
   2257    fi
   2258    rm -f conftest.file
   2259    if test "$*" != "X $srcdir/configure conftest.file" \
   2260       && test "$*" != "X conftest.file $srcdir/configure"; then
   2261 
   2262       # If neither matched, then we have a broken ls.  This can happen
   2263       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2264       # broken ls alias from the environment.  This has actually
   2265       # happened.  Such a system could not be considered "sane".
   2266       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2267 alias in your environment" >&5
   2268 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2269 alias in your environment" >&2;}
   2270    { (exit 1); exit 1; }; }
   2271    fi
   2272 
   2273    test "$2" = conftest.file
   2274    )
   2275 then
   2276    # Ok.
   2277    :
   2278 else
   2279    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2280 Check your system clock" >&5
   2281 $as_echo "$as_me: error: newly created file is older than distributed files!
   2282 Check your system clock" >&2;}
   2283    { (exit 1); exit 1; }; }
   2284 fi
   2285 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2286 $as_echo "yes" >&6; }
   2287 test "$program_prefix" != NONE &&
   2288   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2289 # Use a double $ so make ignores it.
   2290 test "$program_suffix" != NONE &&
   2291   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2292 # Double any \ or $.
   2293 # By default was `s,x,x', remove it if useless.
   2294 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2295 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2296 
   2297 # expand $ac_aux_dir to an absolute path
   2298 am_aux_dir=`cd $ac_aux_dir && pwd`
   2299 
   2300 if test x"${MISSING+set}" != xset; then
   2301   case $am_aux_dir in
   2302   *\ * | *\	*)
   2303     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2304   *)
   2305     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2306   esac
   2307 fi
   2308 # Use eval to expand $SHELL
   2309 if eval "$MISSING --run true"; then
   2310   am_missing_run="$MISSING --run "
   2311 else
   2312   am_missing_run=
   2313   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2314 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2315 fi
   2316 
   2317 if test x"${install_sh}" != xset; then
   2318   case $am_aux_dir in
   2319   *\ * | *\	*)
   2320     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2321   *)
   2322     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2323   esac
   2324 fi
   2325 
   2326 # Installed binaries are usually stripped using `strip' when the user
   2327 # run `make install-strip'.  However `strip' might not be the right
   2328 # tool to use in cross-compilation environments, therefore Automake
   2329 # will honor the `STRIP' environment variable to overrule this program.
   2330 if test "$cross_compiling" != no; then
   2331   if test -n "$ac_tool_prefix"; then
   2332   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2333 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2335 $as_echo_n "checking for $ac_word... " >&6; }
   2336 if test "${ac_cv_prog_STRIP+set}" = set; then
   2337   $as_echo_n "(cached) " >&6
   2338 else
   2339   if test -n "$STRIP"; then
   2340   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2341 else
   2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2343 for as_dir in $PATH
   2344 do
   2345   IFS=$as_save_IFS
   2346   test -z "$as_dir" && as_dir=.
   2347   for ac_exec_ext in '' $ac_executable_extensions; do
   2348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2349     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2350     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2351     break 2
   2352   fi
   2353 done
   2354 done
   2355 IFS=$as_save_IFS
   2356 
   2357 fi
   2358 fi
   2359 STRIP=$ac_cv_prog_STRIP
   2360 if test -n "$STRIP"; then
   2361   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2362 $as_echo "$STRIP" >&6; }
   2363 else
   2364   { $as_echo "$as_me:$LINENO: result: no" >&5
   2365 $as_echo "no" >&6; }
   2366 fi
   2367 
   2368 
   2369 fi
   2370 if test -z "$ac_cv_prog_STRIP"; then
   2371   ac_ct_STRIP=$STRIP
   2372   # Extract the first word of "strip", so it can be a program name with args.
   2373 set dummy strip; ac_word=$2
   2374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2375 $as_echo_n "checking for $ac_word... " >&6; }
   2376 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2377   $as_echo_n "(cached) " >&6
   2378 else
   2379   if test -n "$ac_ct_STRIP"; then
   2380   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2381 else
   2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2383 for as_dir in $PATH
   2384 do
   2385   IFS=$as_save_IFS
   2386   test -z "$as_dir" && as_dir=.
   2387   for ac_exec_ext in '' $ac_executable_extensions; do
   2388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2389     ac_cv_prog_ac_ct_STRIP="strip"
   2390     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2391     break 2
   2392   fi
   2393 done
   2394 done
   2395 IFS=$as_save_IFS
   2396 
   2397 fi
   2398 fi
   2399 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2400 if test -n "$ac_ct_STRIP"; then
   2401   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2402 $as_echo "$ac_ct_STRIP" >&6; }
   2403 else
   2404   { $as_echo "$as_me:$LINENO: result: no" >&5
   2405 $as_echo "no" >&6; }
   2406 fi
   2407 
   2408   if test "x$ac_ct_STRIP" = x; then
   2409     STRIP=":"
   2410   else
   2411     case $cross_compiling:$ac_tool_warned in
   2412 yes:)
   2413 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2415 ac_tool_warned=yes ;;
   2416 esac
   2417     STRIP=$ac_ct_STRIP
   2418   fi
   2419 else
   2420   STRIP="$ac_cv_prog_STRIP"
   2421 fi
   2422 
   2423 fi
   2424 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2425 
   2426 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2427 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2428 if test -z "$MKDIR_P"; then
   2429   if test "${ac_cv_path_mkdir+set}" = set; then
   2430   $as_echo_n "(cached) " >&6
   2431 else
   2432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437   for ac_prog in mkdir gmkdir; do
   2438 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2439 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2440 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2441 	     'mkdir (GNU coreutils) '* | \
   2442 	     'mkdir (coreutils) '* | \
   2443 	     'mkdir (fileutils) '4.1*)
   2444 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2445 	       break 3;;
   2446 	   esac
   2447 	 done
   2448        done
   2449 done
   2450 IFS=$as_save_IFS
   2451 
   2452 fi
   2453 
   2454   if test "${ac_cv_path_mkdir+set}" = set; then
   2455     MKDIR_P="$ac_cv_path_mkdir -p"
   2456   else
   2457     # As a last resort, use the slow shell script.  Don't cache a
   2458     # value for MKDIR_P within a source directory, because that will
   2459     # break other packages using the cache if that directory is
   2460     # removed, or if the value is a relative name.
   2461     test -d ./--version && rmdir ./--version
   2462     MKDIR_P="$ac_install_sh -d"
   2463   fi
   2464 fi
   2465 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2466 $as_echo "$MKDIR_P" >&6; }
   2467 
   2468 mkdir_p="$MKDIR_P"
   2469 case $mkdir_p in
   2470   [\\/$]* | ?:[\\/]*) ;;
   2471   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2472 esac
   2473 
   2474 for ac_prog in gawk mawk nawk awk
   2475 do
   2476   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2477 set dummy $ac_prog; ac_word=$2
   2478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2479 $as_echo_n "checking for $ac_word... " >&6; }
   2480 if test "${ac_cv_prog_AWK+set}" = set; then
   2481   $as_echo_n "(cached) " >&6
   2482 else
   2483   if test -n "$AWK"; then
   2484   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2485 else
   2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2487 for as_dir in $PATH
   2488 do
   2489   IFS=$as_save_IFS
   2490   test -z "$as_dir" && as_dir=.
   2491   for ac_exec_ext in '' $ac_executable_extensions; do
   2492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2493     ac_cv_prog_AWK="$ac_prog"
   2494     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2495     break 2
   2496   fi
   2497 done
   2498 done
   2499 IFS=$as_save_IFS
   2500 
   2501 fi
   2502 fi
   2503 AWK=$ac_cv_prog_AWK
   2504 if test -n "$AWK"; then
   2505   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2506 $as_echo "$AWK" >&6; }
   2507 else
   2508   { $as_echo "$as_me:$LINENO: result: no" >&5
   2509 $as_echo "no" >&6; }
   2510 fi
   2511 
   2512 
   2513   test -n "$AWK" && break
   2514 done
   2515 
   2516 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2517 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2518 set x ${MAKE-make}
   2519 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2520 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2521   $as_echo_n "(cached) " >&6
   2522 else
   2523   cat >conftest.make <<\_ACEOF
   2524 SHELL = /bin/sh
   2525 all:
   2526 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2527 _ACEOF
   2528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2529 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2530   *@@@%%%=?*=@@@%%%*)
   2531     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2532   *)
   2533     eval ac_cv_prog_make_${ac_make}_set=no;;
   2534 esac
   2535 rm -f conftest.make
   2536 fi
   2537 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2538   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2539 $as_echo "yes" >&6; }
   2540   SET_MAKE=
   2541 else
   2542   { $as_echo "$as_me:$LINENO: result: no" >&5
   2543 $as_echo "no" >&6; }
   2544   SET_MAKE="MAKE=${MAKE-make}"
   2545 fi
   2546 
   2547 rm -rf .tst 2>/dev/null
   2548 mkdir .tst 2>/dev/null
   2549 if test -d .tst; then
   2550   am__leading_dot=.
   2551 else
   2552   am__leading_dot=_
   2553 fi
   2554 rmdir .tst 2>/dev/null
   2555 
   2556 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2557   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2558   # is not polluted with repeated "-I."
   2559   am__isrc=' -I$(srcdir)'
   2560   # test to see if srcdir already configured
   2561   if test -f $srcdir/config.status; then
   2562     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2563 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2564    { (exit 1); exit 1; }; }
   2565   fi
   2566 fi
   2567 
   2568 # test whether we have cygpath
   2569 if test -z "$CYGPATH_W"; then
   2570   if (cygpath --version) >/dev/null 2>/dev/null; then
   2571     CYGPATH_W='cygpath -w'
   2572   else
   2573     CYGPATH_W=echo
   2574   fi
   2575 fi
   2576 
   2577 
   2578 # Define the identity of the package.
   2579  PACKAGE='xf86-video-trident'
   2580  VERSION='1.3.3'
   2581 
   2582 
   2583 cat >>confdefs.h <<_ACEOF
   2584 #define PACKAGE "$PACKAGE"
   2585 _ACEOF
   2586 
   2587 
   2588 cat >>confdefs.h <<_ACEOF
   2589 #define VERSION "$VERSION"
   2590 _ACEOF
   2591 
   2592 # Some tools Automake needs.
   2593 
   2594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2595 
   2596 
   2597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2598 
   2599 
   2600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2601 
   2602 
   2603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2604 
   2605 
   2606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2607 
   2608 # We need awk for the "check" target.  The system "awk" is bad on
   2609 # some platforms.
   2610 # Always define AMTAR for backward compatibility.
   2611 
   2612 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2613 
   2614 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2615 
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 
   2622 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2623 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2624     # Check whether --enable-maintainer-mode was given.
   2625 if test "${enable_maintainer_mode+set}" = set; then
   2626   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2627 else
   2628   USE_MAINTAINER_MODE=no
   2629 fi
   2630 
   2631   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2632 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2633    if test $USE_MAINTAINER_MODE = yes; then
   2634   MAINTAINER_MODE_TRUE=
   2635   MAINTAINER_MODE_FALSE='#'
   2636 else
   2637   MAINTAINER_MODE_TRUE='#'
   2638   MAINTAINER_MODE_FALSE=
   2639 fi
   2640 
   2641   MAINT=$MAINTAINER_MODE_TRUE
   2642 
   2643 
   2644 
   2645 # Checks for programs.
   2646 # Check whether --enable-static was given.
   2647 if test "${enable_static+set}" = set; then
   2648   enableval=$enable_static; p=${PACKAGE-default}
   2649     case $enableval in
   2650     yes) enable_static=yes ;;
   2651     no) enable_static=no ;;
   2652     *)
   2653      enable_static=no
   2654       # Look at the argument we got.  We use all the common list separators.
   2655       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2656       for pkg in $enableval; do
   2657 	IFS="$lt_save_ifs"
   2658 	if test "X$pkg" = "X$p"; then
   2659 	  enable_static=yes
   2660 	fi
   2661       done
   2662       IFS="$lt_save_ifs"
   2663       ;;
   2664     esac
   2665 else
   2666   enable_static=no
   2667 fi
   2668 
   2669 
   2670 
   2671 # Check whether --enable-shared was given.
   2672 if test "${enable_shared+set}" = set; then
   2673   enableval=$enable_shared; p=${PACKAGE-default}
   2674     case $enableval in
   2675     yes) enable_shared=yes ;;
   2676     no) enable_shared=no ;;
   2677     *)
   2678       enable_shared=no
   2679       # Look at the argument we got.  We use all the common list separators.
   2680       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2681       for pkg in $enableval; do
   2682 	IFS="$lt_save_ifs"
   2683 	if test "X$pkg" = "X$p"; then
   2684 	  enable_shared=yes
   2685 	fi
   2686       done
   2687       IFS="$lt_save_ifs"
   2688       ;;
   2689     esac
   2690 else
   2691   enable_shared=yes
   2692 fi
   2693 
   2694 
   2695 # Check whether --enable-fast-install was given.
   2696 if test "${enable_fast_install+set}" = set; then
   2697   enableval=$enable_fast_install; p=${PACKAGE-default}
   2698     case $enableval in
   2699     yes) enable_fast_install=yes ;;
   2700     no) enable_fast_install=no ;;
   2701     *)
   2702       enable_fast_install=no
   2703       # Look at the argument we got.  We use all the common list separators.
   2704       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2705       for pkg in $enableval; do
   2706 	IFS="$lt_save_ifs"
   2707 	if test "X$pkg" = "X$p"; then
   2708 	  enable_fast_install=yes
   2709 	fi
   2710       done
   2711       IFS="$lt_save_ifs"
   2712       ;;
   2713     esac
   2714 else
   2715   enable_fast_install=yes
   2716 fi
   2717 
   2718 
   2719 # Make sure we can run config.sub.
   2720 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2721   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2722 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2723    { (exit 1); exit 1; }; }
   2724 
   2725 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2726 $as_echo_n "checking build system type... " >&6; }
   2727 if test "${ac_cv_build+set}" = set; then
   2728   $as_echo_n "(cached) " >&6
   2729 else
   2730   ac_build_alias=$build_alias
   2731 test "x$ac_build_alias" = x &&
   2732   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2733 test "x$ac_build_alias" = x &&
   2734   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2735 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2736    { (exit 1); exit 1; }; }
   2737 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2738   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2739 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2740    { (exit 1); exit 1; }; }
   2741 
   2742 fi
   2743 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2744 $as_echo "$ac_cv_build" >&6; }
   2745 case $ac_cv_build in
   2746 *-*-*) ;;
   2747 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2748 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2749    { (exit 1); exit 1; }; };;
   2750 esac
   2751 build=$ac_cv_build
   2752 ac_save_IFS=$IFS; IFS='-'
   2753 set x $ac_cv_build
   2754 shift
   2755 build_cpu=$1
   2756 build_vendor=$2
   2757 shift; shift
   2758 # Remember, the first character of IFS is used to create $*,
   2759 # except with old shells:
   2760 build_os=$*
   2761 IFS=$ac_save_IFS
   2762 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2763 
   2764 
   2765 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2766 $as_echo_n "checking host system type... " >&6; }
   2767 if test "${ac_cv_host+set}" = set; then
   2768   $as_echo_n "(cached) " >&6
   2769 else
   2770   if test "x$host_alias" = x; then
   2771   ac_cv_host=$ac_cv_build
   2772 else
   2773   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2774     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2775 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2776    { (exit 1); exit 1; }; }
   2777 fi
   2778 
   2779 fi
   2780 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2781 $as_echo "$ac_cv_host" >&6; }
   2782 case $ac_cv_host in
   2783 *-*-*) ;;
   2784 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2785 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2786    { (exit 1); exit 1; }; };;
   2787 esac
   2788 host=$ac_cv_host
   2789 ac_save_IFS=$IFS; IFS='-'
   2790 set x $ac_cv_host
   2791 shift
   2792 host_cpu=$1
   2793 host_vendor=$2
   2794 shift; shift
   2795 # Remember, the first character of IFS is used to create $*,
   2796 # except with old shells:
   2797 host_os=$*
   2798 IFS=$ac_save_IFS
   2799 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2800 
   2801 
   2802 DEPDIR="${am__leading_dot}deps"
   2803 
   2804 ac_config_commands="$ac_config_commands depfiles"
   2805 
   2806 
   2807 am_make=${MAKE-make}
   2808 cat > confinc << 'END'
   2809 am__doit:
   2810 	@echo this is the am__doit target
   2811 .PHONY: am__doit
   2812 END
   2813 # If we don't find an include directive, just comment out the code.
   2814 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2815 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2816 am__include="#"
   2817 am__quote=
   2818 _am_result=none
   2819 # First try GNU make style include.
   2820 echo "include confinc" > confmf
   2821 # Ignore all kinds of additional output from `make'.
   2822 case `$am_make -s -f confmf 2> /dev/null` in #(
   2823 *the\ am__doit\ target*)
   2824   am__include=include
   2825   am__quote=
   2826   _am_result=GNU
   2827   ;;
   2828 esac
   2829 # Now try BSD make style include.
   2830 if test "$am__include" = "#"; then
   2831    echo '.include "confinc"' > confmf
   2832    case `$am_make -s -f confmf 2> /dev/null` in #(
   2833    *the\ am__doit\ target*)
   2834      am__include=.include
   2835      am__quote="\""
   2836      _am_result=BSD
   2837      ;;
   2838    esac
   2839 fi
   2840 
   2841 
   2842 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2843 $as_echo "$_am_result" >&6; }
   2844 rm -f confinc confmf
   2845 
   2846 # Check whether --enable-dependency-tracking was given.
   2847 if test "${enable_dependency_tracking+set}" = set; then
   2848   enableval=$enable_dependency_tracking;
   2849 fi
   2850 
   2851 if test "x$enable_dependency_tracking" != xno; then
   2852   am_depcomp="$ac_aux_dir/depcomp"
   2853   AMDEPBACKSLASH='\'
   2854 fi
   2855  if test "x$enable_dependency_tracking" != xno; then
   2856   AMDEP_TRUE=
   2857   AMDEP_FALSE='#'
   2858 else
   2859   AMDEP_TRUE='#'
   2860   AMDEP_FALSE=
   2861 fi
   2862 
   2863 
   2864 ac_ext=c
   2865 ac_cpp='$CPP $CPPFLAGS'
   2866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2869 if test -n "$ac_tool_prefix"; then
   2870   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2871 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2872 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2873 $as_echo_n "checking for $ac_word... " >&6; }
   2874 if test "${ac_cv_prog_CC+set}" = set; then
   2875   $as_echo_n "(cached) " >&6
   2876 else
   2877   if test -n "$CC"; then
   2878   ac_cv_prog_CC="$CC" # Let the user override the test.
   2879 else
   2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2881 for as_dir in $PATH
   2882 do
   2883   IFS=$as_save_IFS
   2884   test -z "$as_dir" && as_dir=.
   2885   for ac_exec_ext in '' $ac_executable_extensions; do
   2886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2887     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2888     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2889     break 2
   2890   fi
   2891 done
   2892 done
   2893 IFS=$as_save_IFS
   2894 
   2895 fi
   2896 fi
   2897 CC=$ac_cv_prog_CC
   2898 if test -n "$CC"; then
   2899   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2900 $as_echo "$CC" >&6; }
   2901 else
   2902   { $as_echo "$as_me:$LINENO: result: no" >&5
   2903 $as_echo "no" >&6; }
   2904 fi
   2905 
   2906 
   2907 fi
   2908 if test -z "$ac_cv_prog_CC"; then
   2909   ac_ct_CC=$CC
   2910   # Extract the first word of "gcc", so it can be a program name with args.
   2911 set dummy gcc; ac_word=$2
   2912 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2913 $as_echo_n "checking for $ac_word... " >&6; }
   2914 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2915   $as_echo_n "(cached) " >&6
   2916 else
   2917   if test -n "$ac_ct_CC"; then
   2918   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2919 else
   2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2921 for as_dir in $PATH
   2922 do
   2923   IFS=$as_save_IFS
   2924   test -z "$as_dir" && as_dir=.
   2925   for ac_exec_ext in '' $ac_executable_extensions; do
   2926   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2927     ac_cv_prog_ac_ct_CC="gcc"
   2928     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2929     break 2
   2930   fi
   2931 done
   2932 done
   2933 IFS=$as_save_IFS
   2934 
   2935 fi
   2936 fi
   2937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2938 if test -n "$ac_ct_CC"; then
   2939   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2940 $as_echo "$ac_ct_CC" >&6; }
   2941 else
   2942   { $as_echo "$as_me:$LINENO: result: no" >&5
   2943 $as_echo "no" >&6; }
   2944 fi
   2945 
   2946   if test "x$ac_ct_CC" = x; then
   2947     CC=""
   2948   else
   2949     case $cross_compiling:$ac_tool_warned in
   2950 yes:)
   2951 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2953 ac_tool_warned=yes ;;
   2954 esac
   2955     CC=$ac_ct_CC
   2956   fi
   2957 else
   2958   CC="$ac_cv_prog_CC"
   2959 fi
   2960 
   2961 if test -z "$CC"; then
   2962           if test -n "$ac_tool_prefix"; then
   2963     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2964 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2965 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2966 $as_echo_n "checking for $ac_word... " >&6; }
   2967 if test "${ac_cv_prog_CC+set}" = set; then
   2968   $as_echo_n "(cached) " >&6
   2969 else
   2970   if test -n "$CC"; then
   2971   ac_cv_prog_CC="$CC" # Let the user override the test.
   2972 else
   2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2974 for as_dir in $PATH
   2975 do
   2976   IFS=$as_save_IFS
   2977   test -z "$as_dir" && as_dir=.
   2978   for ac_exec_ext in '' $ac_executable_extensions; do
   2979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2980     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2981     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2982     break 2
   2983   fi
   2984 done
   2985 done
   2986 IFS=$as_save_IFS
   2987 
   2988 fi
   2989 fi
   2990 CC=$ac_cv_prog_CC
   2991 if test -n "$CC"; then
   2992   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2993 $as_echo "$CC" >&6; }
   2994 else
   2995   { $as_echo "$as_me:$LINENO: result: no" >&5
   2996 $as_echo "no" >&6; }
   2997 fi
   2998 
   2999 
   3000   fi
   3001 fi
   3002 if test -z "$CC"; then
   3003   # Extract the first word of "cc", so it can be a program name with args.
   3004 set dummy cc; ac_word=$2
   3005 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3006 $as_echo_n "checking for $ac_word... " >&6; }
   3007 if test "${ac_cv_prog_CC+set}" = set; then
   3008   $as_echo_n "(cached) " >&6
   3009 else
   3010   if test -n "$CC"; then
   3011   ac_cv_prog_CC="$CC" # Let the user override the test.
   3012 else
   3013   ac_prog_rejected=no
   3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3015 for as_dir in $PATH
   3016 do
   3017   IFS=$as_save_IFS
   3018   test -z "$as_dir" && as_dir=.
   3019   for ac_exec_ext in '' $ac_executable_extensions; do
   3020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3021     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3022        ac_prog_rejected=yes
   3023        continue
   3024      fi
   3025     ac_cv_prog_CC="cc"
   3026     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3027     break 2
   3028   fi
   3029 done
   3030 done
   3031 IFS=$as_save_IFS
   3032 
   3033 if test $ac_prog_rejected = yes; then
   3034   # We found a bogon in the path, so make sure we never use it.
   3035   set dummy $ac_cv_prog_CC
   3036   shift
   3037   if test $# != 0; then
   3038     # We chose a different compiler from the bogus one.
   3039     # However, it has the same basename, so the bogon will be chosen
   3040     # first if we set CC to just the basename; use the full file name.
   3041     shift
   3042     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3043   fi
   3044 fi
   3045 fi
   3046 fi
   3047 CC=$ac_cv_prog_CC
   3048 if test -n "$CC"; then
   3049   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3050 $as_echo "$CC" >&6; }
   3051 else
   3052   { $as_echo "$as_me:$LINENO: result: no" >&5
   3053 $as_echo "no" >&6; }
   3054 fi
   3055 
   3056 
   3057 fi
   3058 if test -z "$CC"; then
   3059   if test -n "$ac_tool_prefix"; then
   3060   for ac_prog in cl.exe
   3061   do
   3062     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3064 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3065 $as_echo_n "checking for $ac_word... " >&6; }
   3066 if test "${ac_cv_prog_CC+set}" = set; then
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   if test -n "$CC"; then
   3070   ac_cv_prog_CC="$CC" # Let the user override the test.
   3071 else
   3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3073 for as_dir in $PATH
   3074 do
   3075   IFS=$as_save_IFS
   3076   test -z "$as_dir" && as_dir=.
   3077   for ac_exec_ext in '' $ac_executable_extensions; do
   3078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3079     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3080     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3081     break 2
   3082   fi
   3083 done
   3084 done
   3085 IFS=$as_save_IFS
   3086 
   3087 fi
   3088 fi
   3089 CC=$ac_cv_prog_CC
   3090 if test -n "$CC"; then
   3091   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3092 $as_echo "$CC" >&6; }
   3093 else
   3094   { $as_echo "$as_me:$LINENO: result: no" >&5
   3095 $as_echo "no" >&6; }
   3096 fi
   3097 
   3098 
   3099     test -n "$CC" && break
   3100   done
   3101 fi
   3102 if test -z "$CC"; then
   3103   ac_ct_CC=$CC
   3104   for ac_prog in cl.exe
   3105 do
   3106   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3107 set dummy $ac_prog; ac_word=$2
   3108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3109 $as_echo_n "checking for $ac_word... " >&6; }
   3110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3111   $as_echo_n "(cached) " >&6
   3112 else
   3113   if test -n "$ac_ct_CC"; then
   3114   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3115 else
   3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3117 for as_dir in $PATH
   3118 do
   3119   IFS=$as_save_IFS
   3120   test -z "$as_dir" && as_dir=.
   3121   for ac_exec_ext in '' $ac_executable_extensions; do
   3122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3123     ac_cv_prog_ac_ct_CC="$ac_prog"
   3124     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3125     break 2
   3126   fi
   3127 done
   3128 done
   3129 IFS=$as_save_IFS
   3130 
   3131 fi
   3132 fi
   3133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3134 if test -n "$ac_ct_CC"; then
   3135   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3136 $as_echo "$ac_ct_CC" >&6; }
   3137 else
   3138   { $as_echo "$as_me:$LINENO: result: no" >&5
   3139 $as_echo "no" >&6; }
   3140 fi
   3141 
   3142 
   3143   test -n "$ac_ct_CC" && break
   3144 done
   3145 
   3146   if test "x$ac_ct_CC" = x; then
   3147     CC=""
   3148   else
   3149     case $cross_compiling:$ac_tool_warned in
   3150 yes:)
   3151 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3153 ac_tool_warned=yes ;;
   3154 esac
   3155     CC=$ac_ct_CC
   3156   fi
   3157 fi
   3158 
   3159 fi
   3160 
   3161 
   3162 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3164 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3165 See \`config.log' for more details." >&5
   3166 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3167 See \`config.log' for more details." >&2;}
   3168    { (exit 1); exit 1; }; }; }
   3169 
   3170 # Provide some information about the compiler.
   3171 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3172 set X $ac_compile
   3173 ac_compiler=$2
   3174 { (ac_try="$ac_compiler --version >&5"
   3175 case "(($ac_try" in
   3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3177   *) ac_try_echo=$ac_try;;
   3178 esac
   3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3180 $as_echo "$ac_try_echo") >&5
   3181   (eval "$ac_compiler --version >&5") 2>&5
   3182   ac_status=$?
   3183   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3184   (exit $ac_status); }
   3185 { (ac_try="$ac_compiler -v >&5"
   3186 case "(($ac_try" in
   3187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3188   *) ac_try_echo=$ac_try;;
   3189 esac
   3190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3191 $as_echo "$ac_try_echo") >&5
   3192   (eval "$ac_compiler -v >&5") 2>&5
   3193   ac_status=$?
   3194   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3195   (exit $ac_status); }
   3196 { (ac_try="$ac_compiler -V >&5"
   3197 case "(($ac_try" in
   3198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3199   *) ac_try_echo=$ac_try;;
   3200 esac
   3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3202 $as_echo "$ac_try_echo") >&5
   3203   (eval "$ac_compiler -V >&5") 2>&5
   3204   ac_status=$?
   3205   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3206   (exit $ac_status); }
   3207 
   3208 cat >conftest.$ac_ext <<_ACEOF
   3209 /* confdefs.h.  */
   3210 _ACEOF
   3211 cat confdefs.h >>conftest.$ac_ext
   3212 cat >>conftest.$ac_ext <<_ACEOF
   3213 /* end confdefs.h.  */
   3214 
   3215 int
   3216 main ()
   3217 {
   3218 
   3219   ;
   3220   return 0;
   3221 }
   3222 _ACEOF
   3223 ac_clean_files_save=$ac_clean_files
   3224 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3225 # Try to create an executable without -o first, disregard a.out.
   3226 # It will help us diagnose broken compilers, and finding out an intuition
   3227 # of exeext.
   3228 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3229 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3230 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3231 
   3232 # The possible output files:
   3233 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3234 
   3235 ac_rmfiles=
   3236 for ac_file in $ac_files
   3237 do
   3238   case $ac_file in
   3239     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3240     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3241   esac
   3242 done
   3243 rm -f $ac_rmfiles
   3244 
   3245 if { (ac_try="$ac_link_default"
   3246 case "(($ac_try" in
   3247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3248   *) ac_try_echo=$ac_try;;
   3249 esac
   3250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3251 $as_echo "$ac_try_echo") >&5
   3252   (eval "$ac_link_default") 2>&5
   3253   ac_status=$?
   3254   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3255   (exit $ac_status); }; then
   3256   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3257 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3258 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3259 # so that the user can short-circuit this test for compilers unknown to
   3260 # Autoconf.
   3261 for ac_file in $ac_files ''
   3262 do
   3263   test -f "$ac_file" || continue
   3264   case $ac_file in
   3265     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3266 	;;
   3267     [ab].out )
   3268 	# We found the default executable, but exeext='' is most
   3269 	# certainly right.
   3270 	break;;
   3271     *.* )
   3272         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3273 	then :; else
   3274 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3275 	fi
   3276 	# We set ac_cv_exeext here because the later test for it is not
   3277 	# safe: cross compilers may not add the suffix if given an `-o'
   3278 	# argument, so we may need to know it at that point already.
   3279 	# Even if this section looks crufty: it has the advantage of
   3280 	# actually working.
   3281 	break;;
   3282     * )
   3283 	break;;
   3284   esac
   3285 done
   3286 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3287 
   3288 else
   3289   ac_file=''
   3290 fi
   3291 
   3292 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3293 $as_echo "$ac_file" >&6; }
   3294 if test -z "$ac_file"; then
   3295   $as_echo "$as_me: failed program was:" >&5
   3296 sed 's/^/| /' conftest.$ac_ext >&5
   3297 
   3298 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3300 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3301 See \`config.log' for more details." >&5
   3302 $as_echo "$as_me: error: C compiler cannot create executables
   3303 See \`config.log' for more details." >&2;}
   3304    { (exit 77); exit 77; }; }; }
   3305 fi
   3306 
   3307 ac_exeext=$ac_cv_exeext
   3308 
   3309 # Check that the compiler produces executables we can run.  If not, either
   3310 # the compiler is broken, or we cross compile.
   3311 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3312 $as_echo_n "checking whether the C compiler works... " >&6; }
   3313 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3314 # If not cross compiling, check that we can run a simple program.
   3315 if test "$cross_compiling" != yes; then
   3316   if { ac_try='./$ac_file'
   3317   { (case "(($ac_try" in
   3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3319   *) ac_try_echo=$ac_try;;
   3320 esac
   3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3322 $as_echo "$ac_try_echo") >&5
   3323   (eval "$ac_try") 2>&5
   3324   ac_status=$?
   3325   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3326   (exit $ac_status); }; }; then
   3327     cross_compiling=no
   3328   else
   3329     if test "$cross_compiling" = maybe; then
   3330 	cross_compiling=yes
   3331     else
   3332 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3334 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3335 If you meant to cross compile, use \`--host'.
   3336 See \`config.log' for more details." >&5
   3337 $as_echo "$as_me: error: cannot run C compiled programs.
   3338 If you meant to cross compile, use \`--host'.
   3339 See \`config.log' for more details." >&2;}
   3340    { (exit 1); exit 1; }; }; }
   3341     fi
   3342   fi
   3343 fi
   3344 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3345 $as_echo "yes" >&6; }
   3346 
   3347 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3348 ac_clean_files=$ac_clean_files_save
   3349 # Check that the compiler produces executables we can run.  If not, either
   3350 # the compiler is broken, or we cross compile.
   3351 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3352 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3353 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3354 $as_echo "$cross_compiling" >&6; }
   3355 
   3356 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3357 $as_echo_n "checking for suffix of executables... " >&6; }
   3358 if { (ac_try="$ac_link"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo") >&5
   3365   (eval "$ac_link") 2>&5
   3366   ac_status=$?
   3367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3368   (exit $ac_status); }; then
   3369   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3370 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3371 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3372 # `rm'.
   3373 for ac_file in conftest.exe conftest conftest.*; do
   3374   test -f "$ac_file" || continue
   3375   case $ac_file in
   3376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3377     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3378 	  break;;
   3379     * ) break;;
   3380   esac
   3381 done
   3382 else
   3383   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3385 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3386 See \`config.log' for more details." >&5
   3387 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3388 See \`config.log' for more details." >&2;}
   3389    { (exit 1); exit 1; }; }; }
   3390 fi
   3391 
   3392 rm -f conftest$ac_cv_exeext
   3393 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3394 $as_echo "$ac_cv_exeext" >&6; }
   3395 
   3396 rm -f conftest.$ac_ext
   3397 EXEEXT=$ac_cv_exeext
   3398 ac_exeext=$EXEEXT
   3399 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3400 $as_echo_n "checking for suffix of object files... " >&6; }
   3401 if test "${ac_cv_objext+set}" = set; then
   3402   $as_echo_n "(cached) " >&6
   3403 else
   3404   cat >conftest.$ac_ext <<_ACEOF
   3405 /* confdefs.h.  */
   3406 _ACEOF
   3407 cat confdefs.h >>conftest.$ac_ext
   3408 cat >>conftest.$ac_ext <<_ACEOF
   3409 /* end confdefs.h.  */
   3410 
   3411 int
   3412 main ()
   3413 {
   3414 
   3415   ;
   3416   return 0;
   3417 }
   3418 _ACEOF
   3419 rm -f conftest.o conftest.obj
   3420 if { (ac_try="$ac_compile"
   3421 case "(($ac_try" in
   3422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3423   *) ac_try_echo=$ac_try;;
   3424 esac
   3425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3426 $as_echo "$ac_try_echo") >&5
   3427   (eval "$ac_compile") 2>&5
   3428   ac_status=$?
   3429   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3430   (exit $ac_status); }; then
   3431   for ac_file in conftest.o conftest.obj conftest.*; do
   3432   test -f "$ac_file" || continue;
   3433   case $ac_file in
   3434     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3435     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3436        break;;
   3437   esac
   3438 done
   3439 else
   3440   $as_echo "$as_me: failed program was:" >&5
   3441 sed 's/^/| /' conftest.$ac_ext >&5
   3442 
   3443 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3445 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3446 See \`config.log' for more details." >&5
   3447 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3448 See \`config.log' for more details." >&2;}
   3449    { (exit 1); exit 1; }; }; }
   3450 fi
   3451 
   3452 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3453 fi
   3454 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3455 $as_echo "$ac_cv_objext" >&6; }
   3456 OBJEXT=$ac_cv_objext
   3457 ac_objext=$OBJEXT
   3458 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3459 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3460 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3461   $as_echo_n "(cached) " >&6
   3462 else
   3463   cat >conftest.$ac_ext <<_ACEOF
   3464 /* confdefs.h.  */
   3465 _ACEOF
   3466 cat confdefs.h >>conftest.$ac_ext
   3467 cat >>conftest.$ac_ext <<_ACEOF
   3468 /* end confdefs.h.  */
   3469 
   3470 int
   3471 main ()
   3472 {
   3473 #ifndef __GNUC__
   3474        choke me
   3475 #endif
   3476 
   3477   ;
   3478   return 0;
   3479 }
   3480 _ACEOF
   3481 rm -f conftest.$ac_objext
   3482 if { (ac_try="$ac_compile"
   3483 case "(($ac_try" in
   3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3485   *) ac_try_echo=$ac_try;;
   3486 esac
   3487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3488 $as_echo "$ac_try_echo") >&5
   3489   (eval "$ac_compile") 2>conftest.er1
   3490   ac_status=$?
   3491   grep -v '^ *+' conftest.er1 >conftest.err
   3492   rm -f conftest.er1
   3493   cat conftest.err >&5
   3494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3495   (exit $ac_status); } && {
   3496 	 test -z "$ac_c_werror_flag" ||
   3497 	 test ! -s conftest.err
   3498        } && test -s conftest.$ac_objext; then
   3499   ac_compiler_gnu=yes
   3500 else
   3501   $as_echo "$as_me: failed program was:" >&5
   3502 sed 's/^/| /' conftest.$ac_ext >&5
   3503 
   3504 	ac_compiler_gnu=no
   3505 fi
   3506 
   3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3508 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3509 
   3510 fi
   3511 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3512 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3513 if test $ac_compiler_gnu = yes; then
   3514   GCC=yes
   3515 else
   3516   GCC=
   3517 fi
   3518 ac_test_CFLAGS=${CFLAGS+set}
   3519 ac_save_CFLAGS=$CFLAGS
   3520 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3521 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3522 if test "${ac_cv_prog_cc_g+set}" = set; then
   3523   $as_echo_n "(cached) " >&6
   3524 else
   3525   ac_save_c_werror_flag=$ac_c_werror_flag
   3526    ac_c_werror_flag=yes
   3527    ac_cv_prog_cc_g=no
   3528    CFLAGS="-g"
   3529    cat >conftest.$ac_ext <<_ACEOF
   3530 /* confdefs.h.  */
   3531 _ACEOF
   3532 cat confdefs.h >>conftest.$ac_ext
   3533 cat >>conftest.$ac_ext <<_ACEOF
   3534 /* end confdefs.h.  */
   3535 
   3536 int
   3537 main ()
   3538 {
   3539 
   3540   ;
   3541   return 0;
   3542 }
   3543 _ACEOF
   3544 rm -f conftest.$ac_objext
   3545 if { (ac_try="$ac_compile"
   3546 case "(($ac_try" in
   3547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3548   *) ac_try_echo=$ac_try;;
   3549 esac
   3550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3551 $as_echo "$ac_try_echo") >&5
   3552   (eval "$ac_compile") 2>conftest.er1
   3553   ac_status=$?
   3554   grep -v '^ *+' conftest.er1 >conftest.err
   3555   rm -f conftest.er1
   3556   cat conftest.err >&5
   3557   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3558   (exit $ac_status); } && {
   3559 	 test -z "$ac_c_werror_flag" ||
   3560 	 test ! -s conftest.err
   3561        } && test -s conftest.$ac_objext; then
   3562   ac_cv_prog_cc_g=yes
   3563 else
   3564   $as_echo "$as_me: failed program was:" >&5
   3565 sed 's/^/| /' conftest.$ac_ext >&5
   3566 
   3567 	CFLAGS=""
   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 
   3575 int
   3576 main ()
   3577 {
   3578 
   3579   ;
   3580   return 0;
   3581 }
   3582 _ACEOF
   3583 rm -f conftest.$ac_objext
   3584 if { (ac_try="$ac_compile"
   3585 case "(($ac_try" in
   3586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3587   *) ac_try_echo=$ac_try;;
   3588 esac
   3589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3590 $as_echo "$ac_try_echo") >&5
   3591   (eval "$ac_compile") 2>conftest.er1
   3592   ac_status=$?
   3593   grep -v '^ *+' conftest.er1 >conftest.err
   3594   rm -f conftest.er1
   3595   cat conftest.err >&5
   3596   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3597   (exit $ac_status); } && {
   3598 	 test -z "$ac_c_werror_flag" ||
   3599 	 test ! -s conftest.err
   3600        } && test -s conftest.$ac_objext; then
   3601   :
   3602 else
   3603   $as_echo "$as_me: failed program was:" >&5
   3604 sed 's/^/| /' conftest.$ac_ext >&5
   3605 
   3606 	ac_c_werror_flag=$ac_save_c_werror_flag
   3607 	 CFLAGS="-g"
   3608 	 cat >conftest.$ac_ext <<_ACEOF
   3609 /* confdefs.h.  */
   3610 _ACEOF
   3611 cat confdefs.h >>conftest.$ac_ext
   3612 cat >>conftest.$ac_ext <<_ACEOF
   3613 /* end confdefs.h.  */
   3614 
   3615 int
   3616 main ()
   3617 {
   3618 
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 rm -f conftest.$ac_objext
   3624 if { (ac_try="$ac_compile"
   3625 case "(($ac_try" in
   3626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3627   *) ac_try_echo=$ac_try;;
   3628 esac
   3629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3630 $as_echo "$ac_try_echo") >&5
   3631   (eval "$ac_compile") 2>conftest.er1
   3632   ac_status=$?
   3633   grep -v '^ *+' conftest.er1 >conftest.err
   3634   rm -f conftest.er1
   3635   cat conftest.err >&5
   3636   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3637   (exit $ac_status); } && {
   3638 	 test -z "$ac_c_werror_flag" ||
   3639 	 test ! -s conftest.err
   3640        } && test -s conftest.$ac_objext; then
   3641   ac_cv_prog_cc_g=yes
   3642 else
   3643   $as_echo "$as_me: failed program was:" >&5
   3644 sed 's/^/| /' conftest.$ac_ext >&5
   3645 
   3646 
   3647 fi
   3648 
   3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3650 fi
   3651 
   3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3653 fi
   3654 
   3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3656    ac_c_werror_flag=$ac_save_c_werror_flag
   3657 fi
   3658 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3659 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3660 if test "$ac_test_CFLAGS" = set; then
   3661   CFLAGS=$ac_save_CFLAGS
   3662 elif test $ac_cv_prog_cc_g = yes; then
   3663   if test "$GCC" = yes; then
   3664     CFLAGS="-g -O2"
   3665   else
   3666     CFLAGS="-g"
   3667   fi
   3668 else
   3669   if test "$GCC" = yes; then
   3670     CFLAGS="-O2"
   3671   else
   3672     CFLAGS=
   3673   fi
   3674 fi
   3675 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3676 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3677 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3678   $as_echo_n "(cached) " >&6
   3679 else
   3680   ac_cv_prog_cc_c89=no
   3681 ac_save_CC=$CC
   3682 cat >conftest.$ac_ext <<_ACEOF
   3683 /* confdefs.h.  */
   3684 _ACEOF
   3685 cat confdefs.h >>conftest.$ac_ext
   3686 cat >>conftest.$ac_ext <<_ACEOF
   3687 /* end confdefs.h.  */
   3688 #include <stdarg.h>
   3689 #include <stdio.h>
   3690 #include <sys/types.h>
   3691 #include <sys/stat.h>
   3692 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3693 struct buf { int x; };
   3694 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3695 static char *e (p, i)
   3696      char **p;
   3697      int i;
   3698 {
   3699   return p[i];
   3700 }
   3701 static char *f (char * (*g) (char **, int), char **p, ...)
   3702 {
   3703   char *s;
   3704   va_list v;
   3705   va_start (v,p);
   3706   s = g (p, va_arg (v,int));
   3707   va_end (v);
   3708   return s;
   3709 }
   3710 
   3711 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3712    function prototypes and stuff, but not '\xHH' hex character constants.
   3713    These don't provoke an error unfortunately, instead are silently treated
   3714    as 'x'.  The following induces an error, until -std is added to get
   3715    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3716    array size at least.  It's necessary to write '\x00'==0 to get something
   3717    that's true only with -std.  */
   3718 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3719 
   3720 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3721    inside strings and character constants.  */
   3722 #define FOO(x) 'x'
   3723 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3724 
   3725 int test (int i, double x);
   3726 struct s1 {int (*f) (int a);};
   3727 struct s2 {int (*f) (double a);};
   3728 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3729 int argc;
   3730 char **argv;
   3731 int
   3732 main ()
   3733 {
   3734 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3735   ;
   3736   return 0;
   3737 }
   3738 _ACEOF
   3739 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3740 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3741 do
   3742   CC="$ac_save_CC $ac_arg"
   3743   rm -f conftest.$ac_objext
   3744 if { (ac_try="$ac_compile"
   3745 case "(($ac_try" in
   3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3747   *) ac_try_echo=$ac_try;;
   3748 esac
   3749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3750 $as_echo "$ac_try_echo") >&5
   3751   (eval "$ac_compile") 2>conftest.er1
   3752   ac_status=$?
   3753   grep -v '^ *+' conftest.er1 >conftest.err
   3754   rm -f conftest.er1
   3755   cat conftest.err >&5
   3756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3757   (exit $ac_status); } && {
   3758 	 test -z "$ac_c_werror_flag" ||
   3759 	 test ! -s conftest.err
   3760        } && test -s conftest.$ac_objext; then
   3761   ac_cv_prog_cc_c89=$ac_arg
   3762 else
   3763   $as_echo "$as_me: failed program was:" >&5
   3764 sed 's/^/| /' conftest.$ac_ext >&5
   3765 
   3766 
   3767 fi
   3768 
   3769 rm -f core conftest.err conftest.$ac_objext
   3770   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3771 done
   3772 rm -f conftest.$ac_ext
   3773 CC=$ac_save_CC
   3774 
   3775 fi
   3776 # AC_CACHE_VAL
   3777 case "x$ac_cv_prog_cc_c89" in
   3778   x)
   3779     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3780 $as_echo "none needed" >&6; } ;;
   3781   xno)
   3782     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3783 $as_echo "unsupported" >&6; } ;;
   3784   *)
   3785     CC="$CC $ac_cv_prog_cc_c89"
   3786     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3787 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3788 esac
   3789 
   3790 
   3791 ac_ext=c
   3792 ac_cpp='$CPP $CPPFLAGS'
   3793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3796 
   3797 depcc="$CC"   am_compiler_list=
   3798 
   3799 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3800 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3801 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3802   $as_echo_n "(cached) " >&6
   3803 else
   3804   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3805   # We make a subdir and do the tests there.  Otherwise we can end up
   3806   # making bogus files that we don't know about and never remove.  For
   3807   # instance it was reported that on HP-UX the gcc test will end up
   3808   # making a dummy file named `D' -- because `-MD' means `put the output
   3809   # in D'.
   3810   mkdir conftest.dir
   3811   # Copy depcomp to subdir because otherwise we won't find it if we're
   3812   # using a relative directory.
   3813   cp "$am_depcomp" conftest.dir
   3814   cd conftest.dir
   3815   # We will build objects and dependencies in a subdirectory because
   3816   # it helps to detect inapplicable dependency modes.  For instance
   3817   # both Tru64's cc and ICC support -MD to output dependencies as a
   3818   # side effect of compilation, but ICC will put the dependencies in
   3819   # the current directory while Tru64 will put them in the object
   3820   # directory.
   3821   mkdir sub
   3822 
   3823   am_cv_CC_dependencies_compiler_type=none
   3824   if test "$am_compiler_list" = ""; then
   3825      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3826   fi
   3827   am__universal=false
   3828   case " $depcc " in #(
   3829      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3830      esac
   3831 
   3832   for depmode in $am_compiler_list; do
   3833     # Setup a source with many dependencies, because some compilers
   3834     # like to wrap large dependency lists on column 80 (with \), and
   3835     # we should not choose a depcomp mode which is confused by this.
   3836     #
   3837     # We need to recreate these files for each test, as the compiler may
   3838     # overwrite some of them when testing with obscure command lines.
   3839     # This happens at least with the AIX C compiler.
   3840     : > sub/conftest.c
   3841     for i in 1 2 3 4 5 6; do
   3842       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3843       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3844       # Solaris 8's {/usr,}/bin/sh.
   3845       touch sub/conftst$i.h
   3846     done
   3847     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3848 
   3849     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3850     # mode.  It turns out that the SunPro C++ compiler does not properly
   3851     # handle `-M -o', and we need to detect this.  Also, some Intel
   3852     # versions had trouble with output in subdirs
   3853     am__obj=sub/conftest.${OBJEXT-o}
   3854     am__minus_obj="-o $am__obj"
   3855     case $depmode in
   3856     gcc)
   3857       # This depmode causes a compiler race in universal mode.
   3858       test "$am__universal" = false || continue
   3859       ;;
   3860     nosideeffect)
   3861       # after this tag, mechanisms are not by side-effect, so they'll
   3862       # only be used when explicitly requested
   3863       if test "x$enable_dependency_tracking" = xyes; then
   3864 	continue
   3865       else
   3866 	break
   3867       fi
   3868       ;;
   3869     msvisualcpp | msvcmsys)
   3870       # This compiler won't grok `-c -o', but also, the minuso test has
   3871       # not run yet.  These depmodes are late enough in the game, and
   3872       # so weak that their functioning should not be impacted.
   3873       am__obj=conftest.${OBJEXT-o}
   3874       am__minus_obj=
   3875       ;;
   3876     none) break ;;
   3877     esac
   3878     if depmode=$depmode \
   3879        source=sub/conftest.c object=$am__obj \
   3880        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3881        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3882          >/dev/null 2>conftest.err &&
   3883        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3884        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3885        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3886        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3887       # icc doesn't choke on unknown options, it will just issue warnings
   3888       # or remarks (even with -Werror).  So we grep stderr for any message
   3889       # that says an option was ignored or not supported.
   3890       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3891       #   icc: Command line warning: ignoring option '-M'; no argument required
   3892       # The diagnosis changed in icc 8.0:
   3893       #   icc: Command line remark: option '-MP' not supported
   3894       if (grep 'ignoring option' conftest.err ||
   3895           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3896         am_cv_CC_dependencies_compiler_type=$depmode
   3897         break
   3898       fi
   3899     fi
   3900   done
   3901 
   3902   cd ..
   3903   rm -rf conftest.dir
   3904 else
   3905   am_cv_CC_dependencies_compiler_type=none
   3906 fi
   3907 
   3908 fi
   3909 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3910 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3911 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3912 
   3913  if
   3914   test "x$enable_dependency_tracking" != xno \
   3915   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3916   am__fastdepCC_TRUE=
   3917   am__fastdepCC_FALSE='#'
   3918 else
   3919   am__fastdepCC_TRUE='#'
   3920   am__fastdepCC_FALSE=
   3921 fi
   3922 
   3923 
   3924 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3925 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3926 if test "${lt_cv_path_SED+set}" = set; then
   3927   $as_echo_n "(cached) " >&6
   3928 else
   3929   # Loop through the user's path and test for sed and gsed.
   3930 # Then use that list of sed's as ones to test for truncation.
   3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3932 for as_dir in $PATH
   3933 do
   3934   IFS=$as_save_IFS
   3935   test -z "$as_dir" && as_dir=.
   3936   for lt_ac_prog in sed gsed; do
   3937     for ac_exec_ext in '' $ac_executable_extensions; do
   3938       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3939         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3940       fi
   3941     done
   3942   done
   3943 done
   3944 IFS=$as_save_IFS
   3945 lt_ac_max=0
   3946 lt_ac_count=0
   3947 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3948 # along with /bin/sed that truncates output.
   3949 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3950   test ! -f $lt_ac_sed && continue
   3951   cat /dev/null > conftest.in
   3952   lt_ac_count=0
   3953   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3954   # Check for GNU sed and select it if it is found.
   3955   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3956     lt_cv_path_SED=$lt_ac_sed
   3957     break
   3958   fi
   3959   while true; do
   3960     cat conftest.in conftest.in >conftest.tmp
   3961     mv conftest.tmp conftest.in
   3962     cp conftest.in conftest.nl
   3963     echo >>conftest.nl
   3964     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3965     cmp -s conftest.out conftest.nl || break
   3966     # 10000 chars as input seems more than enough
   3967     test $lt_ac_count -gt 10 && break
   3968     lt_ac_count=`expr $lt_ac_count + 1`
   3969     if test $lt_ac_count -gt $lt_ac_max; then
   3970       lt_ac_max=$lt_ac_count
   3971       lt_cv_path_SED=$lt_ac_sed
   3972     fi
   3973   done
   3974 done
   3975 
   3976 fi
   3977 
   3978 SED=$lt_cv_path_SED
   3979 
   3980 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3981 $as_echo "$SED" >&6; }
   3982 
   3983 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3984 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3985 if test "${ac_cv_path_GREP+set}" = set; then
   3986   $as_echo_n "(cached) " >&6
   3987 else
   3988   if test -z "$GREP"; then
   3989   ac_path_GREP_found=false
   3990   # Loop through the user's path and test for each of PROGNAME-LIST
   3991   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3992 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3993 do
   3994   IFS=$as_save_IFS
   3995   test -z "$as_dir" && as_dir=.
   3996   for ac_prog in grep ggrep; do
   3997     for ac_exec_ext in '' $ac_executable_extensions; do
   3998       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3999       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4000 # Check for GNU ac_path_GREP and select it if it is found.
   4001   # Check for GNU $ac_path_GREP
   4002 case `"$ac_path_GREP" --version 2>&1` in
   4003 *GNU*)
   4004   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4005 *)
   4006   ac_count=0
   4007   $as_echo_n 0123456789 >"conftest.in"
   4008   while :
   4009   do
   4010     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4011     mv "conftest.tmp" "conftest.in"
   4012     cp "conftest.in" "conftest.nl"
   4013     $as_echo 'GREP' >> "conftest.nl"
   4014     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4015     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4016     ac_count=`expr $ac_count + 1`
   4017     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4018       # Best one so far, save it but keep looking for a better one
   4019       ac_cv_path_GREP="$ac_path_GREP"
   4020       ac_path_GREP_max=$ac_count
   4021     fi
   4022     # 10*(2^10) chars as input seems more than enough
   4023     test $ac_count -gt 10 && break
   4024   done
   4025   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4026 esac
   4027 
   4028       $ac_path_GREP_found && break 3
   4029     done
   4030   done
   4031 done
   4032 IFS=$as_save_IFS
   4033   if test -z "$ac_cv_path_GREP"; then
   4034     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4035 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4036    { (exit 1); exit 1; }; }
   4037   fi
   4038 else
   4039   ac_cv_path_GREP=$GREP
   4040 fi
   4041 
   4042 fi
   4043 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4044 $as_echo "$ac_cv_path_GREP" >&6; }
   4045  GREP="$ac_cv_path_GREP"
   4046 
   4047 
   4048 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4049 $as_echo_n "checking for egrep... " >&6; }
   4050 if test "${ac_cv_path_EGREP+set}" = set; then
   4051   $as_echo_n "(cached) " >&6
   4052 else
   4053   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4054    then ac_cv_path_EGREP="$GREP -E"
   4055    else
   4056      if test -z "$EGREP"; then
   4057   ac_path_EGREP_found=false
   4058   # Loop through the user's path and test for each of PROGNAME-LIST
   4059   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4060 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4061 do
   4062   IFS=$as_save_IFS
   4063   test -z "$as_dir" && as_dir=.
   4064   for ac_prog in egrep; do
   4065     for ac_exec_ext in '' $ac_executable_extensions; do
   4066       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4067       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4068 # Check for GNU ac_path_EGREP and select it if it is found.
   4069   # Check for GNU $ac_path_EGREP
   4070 case `"$ac_path_EGREP" --version 2>&1` in
   4071 *GNU*)
   4072   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4073 *)
   4074   ac_count=0
   4075   $as_echo_n 0123456789 >"conftest.in"
   4076   while :
   4077   do
   4078     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4079     mv "conftest.tmp" "conftest.in"
   4080     cp "conftest.in" "conftest.nl"
   4081     $as_echo 'EGREP' >> "conftest.nl"
   4082     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4083     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4084     ac_count=`expr $ac_count + 1`
   4085     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4086       # Best one so far, save it but keep looking for a better one
   4087       ac_cv_path_EGREP="$ac_path_EGREP"
   4088       ac_path_EGREP_max=$ac_count
   4089     fi
   4090     # 10*(2^10) chars as input seems more than enough
   4091     test $ac_count -gt 10 && break
   4092   done
   4093   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4094 esac
   4095 
   4096       $ac_path_EGREP_found && break 3
   4097     done
   4098   done
   4099 done
   4100 IFS=$as_save_IFS
   4101   if test -z "$ac_cv_path_EGREP"; then
   4102     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4103 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4104    { (exit 1); exit 1; }; }
   4105   fi
   4106 else
   4107   ac_cv_path_EGREP=$EGREP
   4108 fi
   4109 
   4110    fi
   4111 fi
   4112 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4113 $as_echo "$ac_cv_path_EGREP" >&6; }
   4114  EGREP="$ac_cv_path_EGREP"
   4115 
   4116 
   4117 
   4118 # Check whether --with-gnu-ld was given.
   4119 if test "${with_gnu_ld+set}" = set; then
   4120   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4121 else
   4122   with_gnu_ld=no
   4123 fi
   4124 
   4125 ac_prog=ld
   4126 if test "$GCC" = yes; then
   4127   # Check if gcc -print-prog-name=ld gives a path.
   4128   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4129 $as_echo_n "checking for ld used by $CC... " >&6; }
   4130   case $host in
   4131   *-*-mingw*)
   4132     # gcc leaves a trailing carriage return which upsets mingw
   4133     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4134   *)
   4135     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4136   esac
   4137   case $ac_prog in
   4138     # Accept absolute paths.
   4139     [\\/]* | ?:[\\/]*)
   4140       re_direlt='/[^/][^/]*/\.\./'
   4141       # Canonicalize the pathname of ld
   4142       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4143       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4144 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4145       done
   4146       test -z "$LD" && LD="$ac_prog"
   4147       ;;
   4148   "")
   4149     # If it fails, then pretend we aren't using GCC.
   4150     ac_prog=ld
   4151     ;;
   4152   *)
   4153     # If it is relative, then search for the first ld in PATH.
   4154     with_gnu_ld=unknown
   4155     ;;
   4156   esac
   4157 elif test "$with_gnu_ld" = yes; then
   4158   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4159 $as_echo_n "checking for GNU ld... " >&6; }
   4160 else
   4161   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4162 $as_echo_n "checking for non-GNU ld... " >&6; }
   4163 fi
   4164 if test "${lt_cv_path_LD+set}" = set; then
   4165   $as_echo_n "(cached) " >&6
   4166 else
   4167   if test -z "$LD"; then
   4168   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4169   for ac_dir in $PATH; do
   4170     IFS="$lt_save_ifs"
   4171     test -z "$ac_dir" && ac_dir=.
   4172     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4173       lt_cv_path_LD="$ac_dir/$ac_prog"
   4174       # Check to see if the program is GNU ld.  I'd rather use --version,
   4175       # but apparently some variants of GNU ld only accept -v.
   4176       # Break only if it was the GNU/non-GNU ld that we prefer.
   4177       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4178       *GNU* | *'with BFD'*)
   4179 	test "$with_gnu_ld" != no && break
   4180 	;;
   4181       *)
   4182 	test "$with_gnu_ld" != yes && break
   4183 	;;
   4184       esac
   4185     fi
   4186   done
   4187   IFS="$lt_save_ifs"
   4188 else
   4189   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4190 fi
   4191 fi
   4192 
   4193 LD="$lt_cv_path_LD"
   4194 if test -n "$LD"; then
   4195   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4196 $as_echo "$LD" >&6; }
   4197 else
   4198   { $as_echo "$as_me:$LINENO: result: no" >&5
   4199 $as_echo "no" >&6; }
   4200 fi
   4201 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4202 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4203    { (exit 1); exit 1; }; }
   4204 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4205 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4206 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4207   $as_echo_n "(cached) " >&6
   4208 else
   4209   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4210 case `$LD -v 2>&1 </dev/null` in
   4211 *GNU* | *'with BFD'*)
   4212   lt_cv_prog_gnu_ld=yes
   4213   ;;
   4214 *)
   4215   lt_cv_prog_gnu_ld=no
   4216   ;;
   4217 esac
   4218 fi
   4219 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4220 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4221 with_gnu_ld=$lt_cv_prog_gnu_ld
   4222 
   4223 
   4224 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4225 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4226 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4227   $as_echo_n "(cached) " >&6
   4228 else
   4229   lt_cv_ld_reload_flag='-r'
   4230 fi
   4231 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4232 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4233 reload_flag=$lt_cv_ld_reload_flag
   4234 case $reload_flag in
   4235 "" | " "*) ;;
   4236 *) reload_flag=" $reload_flag" ;;
   4237 esac
   4238 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4239 case $host_os in
   4240   darwin*)
   4241     if test "$GCC" = yes; then
   4242       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4243     else
   4244       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4245     fi
   4246     ;;
   4247 esac
   4248 
   4249 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4250 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4251 if test "${lt_cv_path_NM+set}" = set; then
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   if test -n "$NM"; then
   4255   # Let the user override the test.
   4256   lt_cv_path_NM="$NM"
   4257 else
   4258   lt_nm_to_check="${ac_tool_prefix}nm"
   4259   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4260     lt_nm_to_check="$lt_nm_to_check nm"
   4261   fi
   4262   for lt_tmp_nm in $lt_nm_to_check; do
   4263     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4264     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4265       IFS="$lt_save_ifs"
   4266       test -z "$ac_dir" && ac_dir=.
   4267       tmp_nm="$ac_dir/$lt_tmp_nm"
   4268       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4269 	# Check to see if the nm accepts a BSD-compat flag.
   4270 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4271 	#   nm: unknown option "B" ignored
   4272 	# Tru64's nm complains that /dev/null is an invalid object file
   4273 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4274 	*/dev/null* | *'Invalid file or object type'*)
   4275 	  lt_cv_path_NM="$tmp_nm -B"
   4276 	  break
   4277 	  ;;
   4278 	*)
   4279 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4280 	  */dev/null*)
   4281 	    lt_cv_path_NM="$tmp_nm -p"
   4282 	    break
   4283 	    ;;
   4284 	  *)
   4285 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4286 	    continue # so that we can try to find one that supports BSD flags
   4287 	    ;;
   4288 	  esac
   4289 	  ;;
   4290 	esac
   4291       fi
   4292     done
   4293     IFS="$lt_save_ifs"
   4294   done
   4295   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4296 fi
   4297 fi
   4298 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4299 $as_echo "$lt_cv_path_NM" >&6; }
   4300 NM="$lt_cv_path_NM"
   4301 
   4302 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4303 $as_echo_n "checking whether ln -s works... " >&6; }
   4304 LN_S=$as_ln_s
   4305 if test "$LN_S" = "ln -s"; then
   4306   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4307 $as_echo "yes" >&6; }
   4308 else
   4309   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4310 $as_echo "no, using $LN_S" >&6; }
   4311 fi
   4312 
   4313 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4314 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4315 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4316   $as_echo_n "(cached) " >&6
   4317 else
   4318   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4319 lt_cv_file_magic_test_file=
   4320 lt_cv_deplibs_check_method='unknown'
   4321 # Need to set the preceding variable on all platforms that support
   4322 # interlibrary dependencies.
   4323 # 'none' -- dependencies not supported.
   4324 # `unknown' -- same as none, but documents that we really don't know.
   4325 # 'pass_all' -- all dependencies passed with no checks.
   4326 # 'test_compile' -- check by making test program.
   4327 # 'file_magic [[regex]]' -- check by looking for files in library path
   4328 # which responds to the $file_magic_cmd with a given extended regex.
   4329 # If you have `file' or equivalent on your system and you're not sure
   4330 # whether `pass_all' will *always* work, you probably want this one.
   4331 
   4332 case $host_os in
   4333 aix[4-9]*)
   4334   lt_cv_deplibs_check_method=pass_all
   4335   ;;
   4336 
   4337 beos*)
   4338   lt_cv_deplibs_check_method=pass_all
   4339   ;;
   4340 
   4341 bsdi[45]*)
   4342   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4343   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4344   lt_cv_file_magic_test_file=/shlib/libc.so
   4345   ;;
   4346 
   4347 cygwin*)
   4348   # func_win32_libid is a shell function defined in ltmain.sh
   4349   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4350   lt_cv_file_magic_cmd='func_win32_libid'
   4351   ;;
   4352 
   4353 mingw* | pw32*)
   4354   # Base MSYS/MinGW do not provide the 'file' command needed by
   4355   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4356   # unless we find 'file', for example because we are cross-compiling.
   4357   if ( file / ) >/dev/null 2>&1; then
   4358     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4359     lt_cv_file_magic_cmd='func_win32_libid'
   4360   else
   4361     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4362     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4363   fi
   4364   ;;
   4365 
   4366 darwin* | rhapsody*)
   4367   lt_cv_deplibs_check_method=pass_all
   4368   ;;
   4369 
   4370 freebsd* | dragonfly*)
   4371   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4372     case $host_cpu in
   4373     i*86 )
   4374       # Not sure whether the presence of OpenBSD here was a mistake.
   4375       # Let's accept both of them until this is cleared up.
   4376       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4377       lt_cv_file_magic_cmd=/usr/bin/file
   4378       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4379       ;;
   4380     esac
   4381   else
   4382     lt_cv_deplibs_check_method=pass_all
   4383   fi
   4384   ;;
   4385 
   4386 gnu*)
   4387   lt_cv_deplibs_check_method=pass_all
   4388   ;;
   4389 
   4390 hpux10.20* | hpux11*)
   4391   lt_cv_file_magic_cmd=/usr/bin/file
   4392   case $host_cpu in
   4393   ia64*)
   4394     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4395     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4396     ;;
   4397   hppa*64*)
   4398     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]'
   4399     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4400     ;;
   4401   *)
   4402     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4403     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4404     ;;
   4405   esac
   4406   ;;
   4407 
   4408 interix[3-9]*)
   4409   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4410   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4411   ;;
   4412 
   4413 irix5* | irix6* | nonstopux*)
   4414   case $LD in
   4415   *-32|*"-32 ") libmagic=32-bit;;
   4416   *-n32|*"-n32 ") libmagic=N32;;
   4417   *-64|*"-64 ") libmagic=64-bit;;
   4418   *) libmagic=never-match;;
   4419   esac
   4420   lt_cv_deplibs_check_method=pass_all
   4421   ;;
   4422 
   4423 # This must be Linux ELF.
   4424 linux* | k*bsd*-gnu)
   4425   lt_cv_deplibs_check_method=pass_all
   4426   ;;
   4427 
   4428 netbsd*)
   4429   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4430     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4431   else
   4432     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4433   fi
   4434   ;;
   4435 
   4436 newos6*)
   4437   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4438   lt_cv_file_magic_cmd=/usr/bin/file
   4439   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4440   ;;
   4441 
   4442 nto-qnx*)
   4443   lt_cv_deplibs_check_method=unknown
   4444   ;;
   4445 
   4446 openbsd*)
   4447   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4448     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4449   else
   4450     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4451   fi
   4452   ;;
   4453 
   4454 osf3* | osf4* | osf5*)
   4455   lt_cv_deplibs_check_method=pass_all
   4456   ;;
   4457 
   4458 rdos*)
   4459   lt_cv_deplibs_check_method=pass_all
   4460   ;;
   4461 
   4462 solaris*)
   4463   lt_cv_deplibs_check_method=pass_all
   4464   ;;
   4465 
   4466 sysv4 | sysv4.3*)
   4467   case $host_vendor in
   4468   motorola)
   4469     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]'
   4470     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4471     ;;
   4472   ncr)
   4473     lt_cv_deplibs_check_method=pass_all
   4474     ;;
   4475   sequent)
   4476     lt_cv_file_magic_cmd='/bin/file'
   4477     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4478     ;;
   4479   sni)
   4480     lt_cv_file_magic_cmd='/bin/file'
   4481     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4482     lt_cv_file_magic_test_file=/lib/libc.so
   4483     ;;
   4484   siemens)
   4485     lt_cv_deplibs_check_method=pass_all
   4486     ;;
   4487   pc)
   4488     lt_cv_deplibs_check_method=pass_all
   4489     ;;
   4490   esac
   4491   ;;
   4492 
   4493 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4494   lt_cv_deplibs_check_method=pass_all
   4495   ;;
   4496 esac
   4497 
   4498 fi
   4499 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4500 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4501 file_magic_cmd=$lt_cv_file_magic_cmd
   4502 deplibs_check_method=$lt_cv_deplibs_check_method
   4503 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4504 
   4505 
   4506 
   4507 
   4508 # If no C compiler was specified, use CC.
   4509 LTCC=${LTCC-"$CC"}
   4510 
   4511 # If no C compiler flags were specified, use CFLAGS.
   4512 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4513 
   4514 # Allow CC to be a program name with arguments.
   4515 compiler=$CC
   4516 
   4517 
   4518 # Check whether --enable-libtool-lock was given.
   4519 if test "${enable_libtool_lock+set}" = set; then
   4520   enableval=$enable_libtool_lock;
   4521 fi
   4522 
   4523 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4524 
   4525 # Some flags need to be propagated to the compiler or linker for good
   4526 # libtool support.
   4527 case $host in
   4528 ia64-*-hpux*)
   4529   # Find out which ABI we are using.
   4530   echo 'int i;' > conftest.$ac_ext
   4531   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4532   (eval $ac_compile) 2>&5
   4533   ac_status=$?
   4534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4535   (exit $ac_status); }; then
   4536     case `/usr/bin/file conftest.$ac_objext` in
   4537     *ELF-32*)
   4538       HPUX_IA64_MODE="32"
   4539       ;;
   4540     *ELF-64*)
   4541       HPUX_IA64_MODE="64"
   4542       ;;
   4543     esac
   4544   fi
   4545   rm -rf conftest*
   4546   ;;
   4547 *-*-irix6*)
   4548   # Find out which ABI we are using.
   4549   echo '#line 4549 "configure"' > conftest.$ac_ext
   4550   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4551   (eval $ac_compile) 2>&5
   4552   ac_status=$?
   4553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4554   (exit $ac_status); }; then
   4555    if test "$lt_cv_prog_gnu_ld" = yes; then
   4556     case `/usr/bin/file conftest.$ac_objext` in
   4557     *32-bit*)
   4558       LD="${LD-ld} -melf32bsmip"
   4559       ;;
   4560     *N32*)
   4561       LD="${LD-ld} -melf32bmipn32"
   4562       ;;
   4563     *64-bit*)
   4564       LD="${LD-ld} -melf64bmip"
   4565       ;;
   4566     esac
   4567    else
   4568     case `/usr/bin/file conftest.$ac_objext` in
   4569     *32-bit*)
   4570       LD="${LD-ld} -32"
   4571       ;;
   4572     *N32*)
   4573       LD="${LD-ld} -n32"
   4574       ;;
   4575     *64-bit*)
   4576       LD="${LD-ld} -64"
   4577       ;;
   4578     esac
   4579    fi
   4580   fi
   4581   rm -rf conftest*
   4582   ;;
   4583 
   4584 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4585 s390*-*linux*|sparc*-*linux*)
   4586   # Find out which ABI we are using.
   4587   echo 'int i;' > conftest.$ac_ext
   4588   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4589   (eval $ac_compile) 2>&5
   4590   ac_status=$?
   4591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4592   (exit $ac_status); }; then
   4593     case `/usr/bin/file conftest.o` in
   4594     *32-bit*)
   4595       case $host in
   4596         x86_64-*kfreebsd*-gnu)
   4597           LD="${LD-ld} -m elf_i386_fbsd"
   4598           ;;
   4599         x86_64-*linux*)
   4600           LD="${LD-ld} -m elf_i386"
   4601           ;;
   4602         ppc64-*linux*|powerpc64-*linux*)
   4603           LD="${LD-ld} -m elf32ppclinux"
   4604           ;;
   4605         s390x-*linux*)
   4606           LD="${LD-ld} -m elf_s390"
   4607           ;;
   4608         sparc64-*linux*)
   4609           LD="${LD-ld} -m elf32_sparc"
   4610           ;;
   4611       esac
   4612       ;;
   4613     *64-bit*)
   4614       libsuff=64
   4615       case $host in
   4616         x86_64-*kfreebsd*-gnu)
   4617           LD="${LD-ld} -m elf_x86_64_fbsd"
   4618           ;;
   4619         x86_64-*linux*)
   4620           LD="${LD-ld} -m elf_x86_64"
   4621           ;;
   4622         ppc*-*linux*|powerpc*-*linux*)
   4623           LD="${LD-ld} -m elf64ppc"
   4624           ;;
   4625         s390*-*linux*)
   4626           LD="${LD-ld} -m elf64_s390"
   4627           ;;
   4628         sparc*-*linux*)
   4629           LD="${LD-ld} -m elf64_sparc"
   4630           ;;
   4631       esac
   4632       ;;
   4633     esac
   4634   fi
   4635   rm -rf conftest*
   4636   ;;
   4637 
   4638 *-*-sco3.2v5*)
   4639   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4640   SAVE_CFLAGS="$CFLAGS"
   4641   CFLAGS="$CFLAGS -belf"
   4642   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4643 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4644 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4645   $as_echo_n "(cached) " >&6
   4646 else
   4647   ac_ext=c
   4648 ac_cpp='$CPP $CPPFLAGS'
   4649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4652 
   4653      cat >conftest.$ac_ext <<_ACEOF
   4654 /* confdefs.h.  */
   4655 _ACEOF
   4656 cat confdefs.h >>conftest.$ac_ext
   4657 cat >>conftest.$ac_ext <<_ACEOF
   4658 /* end confdefs.h.  */
   4659 
   4660 int
   4661 main ()
   4662 {
   4663 
   4664   ;
   4665   return 0;
   4666 }
   4667 _ACEOF
   4668 rm -f conftest.$ac_objext conftest$ac_exeext
   4669 if { (ac_try="$ac_link"
   4670 case "(($ac_try" in
   4671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4672   *) ac_try_echo=$ac_try;;
   4673 esac
   4674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4675 $as_echo "$ac_try_echo") >&5
   4676   (eval "$ac_link") 2>conftest.er1
   4677   ac_status=$?
   4678   grep -v '^ *+' conftest.er1 >conftest.err
   4679   rm -f conftest.er1
   4680   cat conftest.err >&5
   4681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4682   (exit $ac_status); } && {
   4683 	 test -z "$ac_c_werror_flag" ||
   4684 	 test ! -s conftest.err
   4685        } && test -s conftest$ac_exeext && {
   4686 	 test "$cross_compiling" = yes ||
   4687 	 $as_test_x conftest$ac_exeext
   4688        }; then
   4689   lt_cv_cc_needs_belf=yes
   4690 else
   4691   $as_echo "$as_me: failed program was:" >&5
   4692 sed 's/^/| /' conftest.$ac_ext >&5
   4693 
   4694 	lt_cv_cc_needs_belf=no
   4695 fi
   4696 
   4697 rm -rf conftest.dSYM
   4698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4699       conftest$ac_exeext conftest.$ac_ext
   4700      ac_ext=c
   4701 ac_cpp='$CPP $CPPFLAGS'
   4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4705 
   4706 fi
   4707 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4708 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4709   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4710     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4711     CFLAGS="$SAVE_CFLAGS"
   4712   fi
   4713   ;;
   4714 sparc*-*solaris*)
   4715   # Find out which ABI we are using.
   4716   echo 'int i;' > conftest.$ac_ext
   4717   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4718   (eval $ac_compile) 2>&5
   4719   ac_status=$?
   4720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4721   (exit $ac_status); }; then
   4722     case `/usr/bin/file conftest.o` in
   4723     *64-bit*)
   4724       case $lt_cv_prog_gnu_ld in
   4725       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4726       *)
   4727         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4728 	  LD="${LD-ld} -64"
   4729 	fi
   4730 	;;
   4731       esac
   4732       ;;
   4733     esac
   4734   fi
   4735   rm -rf conftest*
   4736   ;;
   4737 
   4738 
   4739 esac
   4740 
   4741 need_locks="$enable_libtool_lock"
   4742 
   4743 
   4744 ac_ext=c
   4745 ac_cpp='$CPP $CPPFLAGS'
   4746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4749 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4750 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4751 # On Suns, sometimes $CPP names a directory.
   4752 if test -n "$CPP" && test -d "$CPP"; then
   4753   CPP=
   4754 fi
   4755 if test -z "$CPP"; then
   4756   if test "${ac_cv_prog_CPP+set}" = set; then
   4757   $as_echo_n "(cached) " >&6
   4758 else
   4759       # Double quotes because CPP needs to be expanded
   4760     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4761     do
   4762       ac_preproc_ok=false
   4763 for ac_c_preproc_warn_flag in '' yes
   4764 do
   4765   # Use a header file that comes with gcc, so configuring glibc
   4766   # with a fresh cross-compiler works.
   4767   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4768   # <limits.h> exists even on freestanding compilers.
   4769   # On the NeXT, cc -E runs the code through the compiler's parser,
   4770   # not just through cpp. "Syntax error" is here to catch this case.
   4771   cat >conftest.$ac_ext <<_ACEOF
   4772 /* confdefs.h.  */
   4773 _ACEOF
   4774 cat confdefs.h >>conftest.$ac_ext
   4775 cat >>conftest.$ac_ext <<_ACEOF
   4776 /* end confdefs.h.  */
   4777 #ifdef __STDC__
   4778 # include <limits.h>
   4779 #else
   4780 # include <assert.h>
   4781 #endif
   4782 		     Syntax error
   4783 _ACEOF
   4784 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4785 case "(($ac_try" in
   4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4787   *) ac_try_echo=$ac_try;;
   4788 esac
   4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4790 $as_echo "$ac_try_echo") >&5
   4791   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4792   ac_status=$?
   4793   grep -v '^ *+' conftest.er1 >conftest.err
   4794   rm -f conftest.er1
   4795   cat conftest.err >&5
   4796   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4797   (exit $ac_status); } >/dev/null && {
   4798 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4799 	 test ! -s conftest.err
   4800        }; then
   4801   :
   4802 else
   4803   $as_echo "$as_me: failed program was:" >&5
   4804 sed 's/^/| /' conftest.$ac_ext >&5
   4805 
   4806   # Broken: fails on valid input.
   4807 continue
   4808 fi
   4809 
   4810 rm -f conftest.err conftest.$ac_ext
   4811 
   4812   # OK, works on sane cases.  Now check whether nonexistent headers
   4813   # can be detected and how.
   4814   cat >conftest.$ac_ext <<_ACEOF
   4815 /* confdefs.h.  */
   4816 _ACEOF
   4817 cat confdefs.h >>conftest.$ac_ext
   4818 cat >>conftest.$ac_ext <<_ACEOF
   4819 /* end confdefs.h.  */
   4820 #include <ac_nonexistent.h>
   4821 _ACEOF
   4822 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4823 case "(($ac_try" in
   4824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4825   *) ac_try_echo=$ac_try;;
   4826 esac
   4827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4828 $as_echo "$ac_try_echo") >&5
   4829   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4830   ac_status=$?
   4831   grep -v '^ *+' conftest.er1 >conftest.err
   4832   rm -f conftest.er1
   4833   cat conftest.err >&5
   4834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4835   (exit $ac_status); } >/dev/null && {
   4836 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4837 	 test ! -s conftest.err
   4838        }; then
   4839   # Broken: success on invalid input.
   4840 continue
   4841 else
   4842   $as_echo "$as_me: failed program was:" >&5
   4843 sed 's/^/| /' conftest.$ac_ext >&5
   4844 
   4845   # Passes both tests.
   4846 ac_preproc_ok=:
   4847 break
   4848 fi
   4849 
   4850 rm -f conftest.err conftest.$ac_ext
   4851 
   4852 done
   4853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4854 rm -f conftest.err conftest.$ac_ext
   4855 if $ac_preproc_ok; then
   4856   break
   4857 fi
   4858 
   4859     done
   4860     ac_cv_prog_CPP=$CPP
   4861 
   4862 fi
   4863   CPP=$ac_cv_prog_CPP
   4864 else
   4865   ac_cv_prog_CPP=$CPP
   4866 fi
   4867 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4868 $as_echo "$CPP" >&6; }
   4869 ac_preproc_ok=false
   4870 for ac_c_preproc_warn_flag in '' yes
   4871 do
   4872   # Use a header file that comes with gcc, so configuring glibc
   4873   # with a fresh cross-compiler works.
   4874   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4875   # <limits.h> exists even on freestanding compilers.
   4876   # On the NeXT, cc -E runs the code through the compiler's parser,
   4877   # not just through cpp. "Syntax error" is here to catch this case.
   4878   cat >conftest.$ac_ext <<_ACEOF
   4879 /* confdefs.h.  */
   4880 _ACEOF
   4881 cat confdefs.h >>conftest.$ac_ext
   4882 cat >>conftest.$ac_ext <<_ACEOF
   4883 /* end confdefs.h.  */
   4884 #ifdef __STDC__
   4885 # include <limits.h>
   4886 #else
   4887 # include <assert.h>
   4888 #endif
   4889 		     Syntax error
   4890 _ACEOF
   4891 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4892 case "(($ac_try" in
   4893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4894   *) ac_try_echo=$ac_try;;
   4895 esac
   4896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4897 $as_echo "$ac_try_echo") >&5
   4898   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4899   ac_status=$?
   4900   grep -v '^ *+' conftest.er1 >conftest.err
   4901   rm -f conftest.er1
   4902   cat conftest.err >&5
   4903   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4904   (exit $ac_status); } >/dev/null && {
   4905 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4906 	 test ! -s conftest.err
   4907        }; then
   4908   :
   4909 else
   4910   $as_echo "$as_me: failed program was:" >&5
   4911 sed 's/^/| /' conftest.$ac_ext >&5
   4912 
   4913   # Broken: fails on valid input.
   4914 continue
   4915 fi
   4916 
   4917 rm -f conftest.err conftest.$ac_ext
   4918 
   4919   # OK, works on sane cases.  Now check whether nonexistent headers
   4920   # can be detected and how.
   4921   cat >conftest.$ac_ext <<_ACEOF
   4922 /* confdefs.h.  */
   4923 _ACEOF
   4924 cat confdefs.h >>conftest.$ac_ext
   4925 cat >>conftest.$ac_ext <<_ACEOF
   4926 /* end confdefs.h.  */
   4927 #include <ac_nonexistent.h>
   4928 _ACEOF
   4929 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4930 case "(($ac_try" in
   4931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4932   *) ac_try_echo=$ac_try;;
   4933 esac
   4934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4935 $as_echo "$ac_try_echo") >&5
   4936   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4937   ac_status=$?
   4938   grep -v '^ *+' conftest.er1 >conftest.err
   4939   rm -f conftest.er1
   4940   cat conftest.err >&5
   4941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4942   (exit $ac_status); } >/dev/null && {
   4943 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4944 	 test ! -s conftest.err
   4945        }; then
   4946   # Broken: success on invalid input.
   4947 continue
   4948 else
   4949   $as_echo "$as_me: failed program was:" >&5
   4950 sed 's/^/| /' conftest.$ac_ext >&5
   4951 
   4952   # Passes both tests.
   4953 ac_preproc_ok=:
   4954 break
   4955 fi
   4956 
   4957 rm -f conftest.err conftest.$ac_ext
   4958 
   4959 done
   4960 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4961 rm -f conftest.err conftest.$ac_ext
   4962 if $ac_preproc_ok; then
   4963   :
   4964 else
   4965   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4967 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4968 See \`config.log' for more details." >&5
   4969 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4970 See \`config.log' for more details." >&2;}
   4971    { (exit 1); exit 1; }; }; }
   4972 fi
   4973 
   4974 ac_ext=c
   4975 ac_cpp='$CPP $CPPFLAGS'
   4976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4979 
   4980 
   4981 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4982 $as_echo_n "checking for ANSI C header files... " >&6; }
   4983 if test "${ac_cv_header_stdc+set}" = set; then
   4984   $as_echo_n "(cached) " >&6
   4985 else
   4986   cat >conftest.$ac_ext <<_ACEOF
   4987 /* confdefs.h.  */
   4988 _ACEOF
   4989 cat confdefs.h >>conftest.$ac_ext
   4990 cat >>conftest.$ac_ext <<_ACEOF
   4991 /* end confdefs.h.  */
   4992 #include <stdlib.h>
   4993 #include <stdarg.h>
   4994 #include <string.h>
   4995 #include <float.h>
   4996 
   4997 int
   4998 main ()
   4999 {
   5000 
   5001   ;
   5002   return 0;
   5003 }
   5004 _ACEOF
   5005 rm -f conftest.$ac_objext
   5006 if { (ac_try="$ac_compile"
   5007 case "(($ac_try" in
   5008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5009   *) ac_try_echo=$ac_try;;
   5010 esac
   5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5012 $as_echo "$ac_try_echo") >&5
   5013   (eval "$ac_compile") 2>conftest.er1
   5014   ac_status=$?
   5015   grep -v '^ *+' conftest.er1 >conftest.err
   5016   rm -f conftest.er1
   5017   cat conftest.err >&5
   5018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5019   (exit $ac_status); } && {
   5020 	 test -z "$ac_c_werror_flag" ||
   5021 	 test ! -s conftest.err
   5022        } && test -s conftest.$ac_objext; then
   5023   ac_cv_header_stdc=yes
   5024 else
   5025   $as_echo "$as_me: failed program was:" >&5
   5026 sed 's/^/| /' conftest.$ac_ext >&5
   5027 
   5028 	ac_cv_header_stdc=no
   5029 fi
   5030 
   5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5032 
   5033 if test $ac_cv_header_stdc = yes; then
   5034   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5035   cat >conftest.$ac_ext <<_ACEOF
   5036 /* confdefs.h.  */
   5037 _ACEOF
   5038 cat confdefs.h >>conftest.$ac_ext
   5039 cat >>conftest.$ac_ext <<_ACEOF
   5040 /* end confdefs.h.  */
   5041 #include <string.h>
   5042 
   5043 _ACEOF
   5044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5045   $EGREP "memchr" >/dev/null 2>&1; then
   5046   :
   5047 else
   5048   ac_cv_header_stdc=no
   5049 fi
   5050 rm -f conftest*
   5051 
   5052 fi
   5053 
   5054 if test $ac_cv_header_stdc = yes; then
   5055   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5056   cat >conftest.$ac_ext <<_ACEOF
   5057 /* confdefs.h.  */
   5058 _ACEOF
   5059 cat confdefs.h >>conftest.$ac_ext
   5060 cat >>conftest.$ac_ext <<_ACEOF
   5061 /* end confdefs.h.  */
   5062 #include <stdlib.h>
   5063 
   5064 _ACEOF
   5065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5066   $EGREP "free" >/dev/null 2>&1; then
   5067   :
   5068 else
   5069   ac_cv_header_stdc=no
   5070 fi
   5071 rm -f conftest*
   5072 
   5073 fi
   5074 
   5075 if test $ac_cv_header_stdc = yes; then
   5076   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5077   if test "$cross_compiling" = yes; then
   5078   :
   5079 else
   5080   cat >conftest.$ac_ext <<_ACEOF
   5081 /* confdefs.h.  */
   5082 _ACEOF
   5083 cat confdefs.h >>conftest.$ac_ext
   5084 cat >>conftest.$ac_ext <<_ACEOF
   5085 /* end confdefs.h.  */
   5086 #include <ctype.h>
   5087 #include <stdlib.h>
   5088 #if ((' ' & 0x0FF) == 0x020)
   5089 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5090 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5091 #else
   5092 # define ISLOWER(c) \
   5093 		   (('a' <= (c) && (c) <= 'i') \
   5094 		     || ('j' <= (c) && (c) <= 'r') \
   5095 		     || ('s' <= (c) && (c) <= 'z'))
   5096 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5097 #endif
   5098 
   5099 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5100 int
   5101 main ()
   5102 {
   5103   int i;
   5104   for (i = 0; i < 256; i++)
   5105     if (XOR (islower (i), ISLOWER (i))
   5106 	|| toupper (i) != TOUPPER (i))
   5107       return 2;
   5108   return 0;
   5109 }
   5110 _ACEOF
   5111 rm -f conftest$ac_exeext
   5112 if { (ac_try="$ac_link"
   5113 case "(($ac_try" in
   5114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5115   *) ac_try_echo=$ac_try;;
   5116 esac
   5117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5118 $as_echo "$ac_try_echo") >&5
   5119   (eval "$ac_link") 2>&5
   5120   ac_status=$?
   5121   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5122   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5123   { (case "(($ac_try" in
   5124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5125   *) ac_try_echo=$ac_try;;
   5126 esac
   5127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5128 $as_echo "$ac_try_echo") >&5
   5129   (eval "$ac_try") 2>&5
   5130   ac_status=$?
   5131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5132   (exit $ac_status); }; }; then
   5133   :
   5134 else
   5135   $as_echo "$as_me: program exited with status $ac_status" >&5
   5136 $as_echo "$as_me: failed program was:" >&5
   5137 sed 's/^/| /' conftest.$ac_ext >&5
   5138 
   5139 ( exit $ac_status )
   5140 ac_cv_header_stdc=no
   5141 fi
   5142 rm -rf conftest.dSYM
   5143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5144 fi
   5145 
   5146 
   5147 fi
   5148 fi
   5149 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5150 $as_echo "$ac_cv_header_stdc" >&6; }
   5151 if test $ac_cv_header_stdc = yes; then
   5152 
   5153 cat >>confdefs.h <<\_ACEOF
   5154 #define STDC_HEADERS 1
   5155 _ACEOF
   5156 
   5157 fi
   5158 
   5159 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5170 		  inttypes.h stdint.h unistd.h
   5171 do
   5172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5174 $as_echo_n "checking for $ac_header... " >&6; }
   5175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5176   $as_echo_n "(cached) " >&6
   5177 else
   5178   cat >conftest.$ac_ext <<_ACEOF
   5179 /* confdefs.h.  */
   5180 _ACEOF
   5181 cat confdefs.h >>conftest.$ac_ext
   5182 cat >>conftest.$ac_ext <<_ACEOF
   5183 /* end confdefs.h.  */
   5184 $ac_includes_default
   5185 
   5186 #include <$ac_header>
   5187 _ACEOF
   5188 rm -f conftest.$ac_objext
   5189 if { (ac_try="$ac_compile"
   5190 case "(($ac_try" in
   5191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5192   *) ac_try_echo=$ac_try;;
   5193 esac
   5194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5195 $as_echo "$ac_try_echo") >&5
   5196   (eval "$ac_compile") 2>conftest.er1
   5197   ac_status=$?
   5198   grep -v '^ *+' conftest.er1 >conftest.err
   5199   rm -f conftest.er1
   5200   cat conftest.err >&5
   5201   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5202   (exit $ac_status); } && {
   5203 	 test -z "$ac_c_werror_flag" ||
   5204 	 test ! -s conftest.err
   5205        } && test -s conftest.$ac_objext; then
   5206   eval "$as_ac_Header=yes"
   5207 else
   5208   $as_echo "$as_me: failed program was:" >&5
   5209 sed 's/^/| /' conftest.$ac_ext >&5
   5210 
   5211 	eval "$as_ac_Header=no"
   5212 fi
   5213 
   5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5215 fi
   5216 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5217 		 $as_echo "$as_val"'`
   5218 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5219 $as_echo "$ac_res" >&6; }
   5220 as_val=`eval 'as_val=${'$as_ac_Header'}
   5221 		 $as_echo "$as_val"'`
   5222    if test "x$as_val" = x""yes; then
   5223   cat >>confdefs.h <<_ACEOF
   5224 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5225 _ACEOF
   5226 
   5227 fi
   5228 
   5229 done
   5230 
   5231 
   5232 
   5233 for ac_header in dlfcn.h
   5234 do
   5235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5237   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5238 $as_echo_n "checking for $ac_header... " >&6; }
   5239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5240   $as_echo_n "(cached) " >&6
   5241 fi
   5242 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5243 		 $as_echo "$as_val"'`
   5244 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5245 $as_echo "$ac_res" >&6; }
   5246 else
   5247   # Is the header compilable?
   5248 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5249 $as_echo_n "checking $ac_header usability... " >&6; }
   5250 cat >conftest.$ac_ext <<_ACEOF
   5251 /* confdefs.h.  */
   5252 _ACEOF
   5253 cat confdefs.h >>conftest.$ac_ext
   5254 cat >>conftest.$ac_ext <<_ACEOF
   5255 /* end confdefs.h.  */
   5256 $ac_includes_default
   5257 #include <$ac_header>
   5258 _ACEOF
   5259 rm -f conftest.$ac_objext
   5260 if { (ac_try="$ac_compile"
   5261 case "(($ac_try" in
   5262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5263   *) ac_try_echo=$ac_try;;
   5264 esac
   5265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5266 $as_echo "$ac_try_echo") >&5
   5267   (eval "$ac_compile") 2>conftest.er1
   5268   ac_status=$?
   5269   grep -v '^ *+' conftest.er1 >conftest.err
   5270   rm -f conftest.er1
   5271   cat conftest.err >&5
   5272   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5273   (exit $ac_status); } && {
   5274 	 test -z "$ac_c_werror_flag" ||
   5275 	 test ! -s conftest.err
   5276        } && test -s conftest.$ac_objext; then
   5277   ac_header_compiler=yes
   5278 else
   5279   $as_echo "$as_me: failed program was:" >&5
   5280 sed 's/^/| /' conftest.$ac_ext >&5
   5281 
   5282 	ac_header_compiler=no
   5283 fi
   5284 
   5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5286 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5287 $as_echo "$ac_header_compiler" >&6; }
   5288 
   5289 # Is the header present?
   5290 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5291 $as_echo_n "checking $ac_header presence... " >&6; }
   5292 cat >conftest.$ac_ext <<_ACEOF
   5293 /* confdefs.h.  */
   5294 _ACEOF
   5295 cat confdefs.h >>conftest.$ac_ext
   5296 cat >>conftest.$ac_ext <<_ACEOF
   5297 /* end confdefs.h.  */
   5298 #include <$ac_header>
   5299 _ACEOF
   5300 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5301 case "(($ac_try" in
   5302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5303   *) ac_try_echo=$ac_try;;
   5304 esac
   5305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5306 $as_echo "$ac_try_echo") >&5
   5307   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5308   ac_status=$?
   5309   grep -v '^ *+' conftest.er1 >conftest.err
   5310   rm -f conftest.er1
   5311   cat conftest.err >&5
   5312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5313   (exit $ac_status); } >/dev/null && {
   5314 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5315 	 test ! -s conftest.err
   5316        }; then
   5317   ac_header_preproc=yes
   5318 else
   5319   $as_echo "$as_me: failed program was:" >&5
   5320 sed 's/^/| /' conftest.$ac_ext >&5
   5321 
   5322   ac_header_preproc=no
   5323 fi
   5324 
   5325 rm -f conftest.err conftest.$ac_ext
   5326 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5327 $as_echo "$ac_header_preproc" >&6; }
   5328 
   5329 # So?  What about this header?
   5330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5331   yes:no: )
   5332     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5333 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5334     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5335 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5336     ac_header_preproc=yes
   5337     ;;
   5338   no:yes:* )
   5339     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5340 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5341     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5342 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5343     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5344 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5345     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5346 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5347     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5348 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5349     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5350 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5351     ( cat <<\_ASBOX
   5352 ## ---------------------------------------------------------------------- ##
   5353 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5354 ## ---------------------------------------------------------------------- ##
   5355 _ASBOX
   5356      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5357     ;;
   5358 esac
   5359 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5360 $as_echo_n "checking for $ac_header... " >&6; }
   5361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5362   $as_echo_n "(cached) " >&6
   5363 else
   5364   eval "$as_ac_Header=\$ac_header_preproc"
   5365 fi
   5366 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5367 		 $as_echo "$as_val"'`
   5368 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5369 $as_echo "$ac_res" >&6; }
   5370 
   5371 fi
   5372 as_val=`eval 'as_val=${'$as_ac_Header'}
   5373 		 $as_echo "$as_val"'`
   5374    if test "x$as_val" = x""yes; then
   5375   cat >>confdefs.h <<_ACEOF
   5376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5377 _ACEOF
   5378 
   5379 fi
   5380 
   5381 done
   5382 
   5383 ac_ext=cpp
   5384 ac_cpp='$CXXCPP $CPPFLAGS'
   5385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5388 if test -z "$CXX"; then
   5389   if test -n "$CCC"; then
   5390     CXX=$CCC
   5391   else
   5392     if test -n "$ac_tool_prefix"; then
   5393   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5394   do
   5395     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5396 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5398 $as_echo_n "checking for $ac_word... " >&6; }
   5399 if test "${ac_cv_prog_CXX+set}" = set; then
   5400   $as_echo_n "(cached) " >&6
   5401 else
   5402   if test -n "$CXX"; then
   5403   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5404 else
   5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5406 for as_dir in $PATH
   5407 do
   5408   IFS=$as_save_IFS
   5409   test -z "$as_dir" && as_dir=.
   5410   for ac_exec_ext in '' $ac_executable_extensions; do
   5411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5412     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5413     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5414     break 2
   5415   fi
   5416 done
   5417 done
   5418 IFS=$as_save_IFS
   5419 
   5420 fi
   5421 fi
   5422 CXX=$ac_cv_prog_CXX
   5423 if test -n "$CXX"; then
   5424   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5425 $as_echo "$CXX" >&6; }
   5426 else
   5427   { $as_echo "$as_me:$LINENO: result: no" >&5
   5428 $as_echo "no" >&6; }
   5429 fi
   5430 
   5431 
   5432     test -n "$CXX" && break
   5433   done
   5434 fi
   5435 if test -z "$CXX"; then
   5436   ac_ct_CXX=$CXX
   5437   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5438 do
   5439   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5440 set dummy $ac_prog; ac_word=$2
   5441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5442 $as_echo_n "checking for $ac_word... " >&6; }
   5443 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5444   $as_echo_n "(cached) " >&6
   5445 else
   5446   if test -n "$ac_ct_CXX"; then
   5447   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5448 else
   5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5450 for as_dir in $PATH
   5451 do
   5452   IFS=$as_save_IFS
   5453   test -z "$as_dir" && as_dir=.
   5454   for ac_exec_ext in '' $ac_executable_extensions; do
   5455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5456     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5457     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5458     break 2
   5459   fi
   5460 done
   5461 done
   5462 IFS=$as_save_IFS
   5463 
   5464 fi
   5465 fi
   5466 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5467 if test -n "$ac_ct_CXX"; then
   5468   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5469 $as_echo "$ac_ct_CXX" >&6; }
   5470 else
   5471   { $as_echo "$as_me:$LINENO: result: no" >&5
   5472 $as_echo "no" >&6; }
   5473 fi
   5474 
   5475 
   5476   test -n "$ac_ct_CXX" && break
   5477 done
   5478 
   5479   if test "x$ac_ct_CXX" = x; then
   5480     CXX="g++"
   5481   else
   5482     case $cross_compiling:$ac_tool_warned in
   5483 yes:)
   5484 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5486 ac_tool_warned=yes ;;
   5487 esac
   5488     CXX=$ac_ct_CXX
   5489   fi
   5490 fi
   5491 
   5492   fi
   5493 fi
   5494 # Provide some information about the compiler.
   5495 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5496 set X $ac_compile
   5497 ac_compiler=$2
   5498 { (ac_try="$ac_compiler --version >&5"
   5499 case "(($ac_try" in
   5500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5501   *) ac_try_echo=$ac_try;;
   5502 esac
   5503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5504 $as_echo "$ac_try_echo") >&5
   5505   (eval "$ac_compiler --version >&5") 2>&5
   5506   ac_status=$?
   5507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5508   (exit $ac_status); }
   5509 { (ac_try="$ac_compiler -v >&5"
   5510 case "(($ac_try" in
   5511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5512   *) ac_try_echo=$ac_try;;
   5513 esac
   5514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5515 $as_echo "$ac_try_echo") >&5
   5516   (eval "$ac_compiler -v >&5") 2>&5
   5517   ac_status=$?
   5518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5519   (exit $ac_status); }
   5520 { (ac_try="$ac_compiler -V >&5"
   5521 case "(($ac_try" in
   5522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5523   *) ac_try_echo=$ac_try;;
   5524 esac
   5525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5526 $as_echo "$ac_try_echo") >&5
   5527   (eval "$ac_compiler -V >&5") 2>&5
   5528   ac_status=$?
   5529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5530   (exit $ac_status); }
   5531 
   5532 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5533 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5534 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   cat >conftest.$ac_ext <<_ACEOF
   5538 /* confdefs.h.  */
   5539 _ACEOF
   5540 cat confdefs.h >>conftest.$ac_ext
   5541 cat >>conftest.$ac_ext <<_ACEOF
   5542 /* end confdefs.h.  */
   5543 
   5544 int
   5545 main ()
   5546 {
   5547 #ifndef __GNUC__
   5548        choke me
   5549 #endif
   5550 
   5551   ;
   5552   return 0;
   5553 }
   5554 _ACEOF
   5555 rm -f conftest.$ac_objext
   5556 if { (ac_try="$ac_compile"
   5557 case "(($ac_try" in
   5558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5559   *) ac_try_echo=$ac_try;;
   5560 esac
   5561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5562 $as_echo "$ac_try_echo") >&5
   5563   (eval "$ac_compile") 2>conftest.er1
   5564   ac_status=$?
   5565   grep -v '^ *+' conftest.er1 >conftest.err
   5566   rm -f conftest.er1
   5567   cat conftest.err >&5
   5568   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5569   (exit $ac_status); } && {
   5570 	 test -z "$ac_cxx_werror_flag" ||
   5571 	 test ! -s conftest.err
   5572        } && test -s conftest.$ac_objext; then
   5573   ac_compiler_gnu=yes
   5574 else
   5575   $as_echo "$as_me: failed program was:" >&5
   5576 sed 's/^/| /' conftest.$ac_ext >&5
   5577 
   5578 	ac_compiler_gnu=no
   5579 fi
   5580 
   5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5582 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5583 
   5584 fi
   5585 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5586 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5587 if test $ac_compiler_gnu = yes; then
   5588   GXX=yes
   5589 else
   5590   GXX=
   5591 fi
   5592 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5593 ac_save_CXXFLAGS=$CXXFLAGS
   5594 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5595 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5596 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5597   $as_echo_n "(cached) " >&6
   5598 else
   5599   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5600    ac_cxx_werror_flag=yes
   5601    ac_cv_prog_cxx_g=no
   5602    CXXFLAGS="-g"
   5603    cat >conftest.$ac_ext <<_ACEOF
   5604 /* confdefs.h.  */
   5605 _ACEOF
   5606 cat confdefs.h >>conftest.$ac_ext
   5607 cat >>conftest.$ac_ext <<_ACEOF
   5608 /* end confdefs.h.  */
   5609 
   5610 int
   5611 main ()
   5612 {
   5613 
   5614   ;
   5615   return 0;
   5616 }
   5617 _ACEOF
   5618 rm -f conftest.$ac_objext
   5619 if { (ac_try="$ac_compile"
   5620 case "(($ac_try" in
   5621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5622   *) ac_try_echo=$ac_try;;
   5623 esac
   5624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5625 $as_echo "$ac_try_echo") >&5
   5626   (eval "$ac_compile") 2>conftest.er1
   5627   ac_status=$?
   5628   grep -v '^ *+' conftest.er1 >conftest.err
   5629   rm -f conftest.er1
   5630   cat conftest.err >&5
   5631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5632   (exit $ac_status); } && {
   5633 	 test -z "$ac_cxx_werror_flag" ||
   5634 	 test ! -s conftest.err
   5635        } && test -s conftest.$ac_objext; then
   5636   ac_cv_prog_cxx_g=yes
   5637 else
   5638   $as_echo "$as_me: failed program was:" >&5
   5639 sed 's/^/| /' conftest.$ac_ext >&5
   5640 
   5641 	CXXFLAGS=""
   5642       cat >conftest.$ac_ext <<_ACEOF
   5643 /* confdefs.h.  */
   5644 _ACEOF
   5645 cat confdefs.h >>conftest.$ac_ext
   5646 cat >>conftest.$ac_ext <<_ACEOF
   5647 /* end confdefs.h.  */
   5648 
   5649 int
   5650 main ()
   5651 {
   5652 
   5653   ;
   5654   return 0;
   5655 }
   5656 _ACEOF
   5657 rm -f conftest.$ac_objext
   5658 if { (ac_try="$ac_compile"
   5659 case "(($ac_try" in
   5660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5661   *) ac_try_echo=$ac_try;;
   5662 esac
   5663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5664 $as_echo "$ac_try_echo") >&5
   5665   (eval "$ac_compile") 2>conftest.er1
   5666   ac_status=$?
   5667   grep -v '^ *+' conftest.er1 >conftest.err
   5668   rm -f conftest.er1
   5669   cat conftest.err >&5
   5670   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5671   (exit $ac_status); } && {
   5672 	 test -z "$ac_cxx_werror_flag" ||
   5673 	 test ! -s conftest.err
   5674        } && test -s conftest.$ac_objext; then
   5675   :
   5676 else
   5677   $as_echo "$as_me: failed program was:" >&5
   5678 sed 's/^/| /' conftest.$ac_ext >&5
   5679 
   5680 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5681 	 CXXFLAGS="-g"
   5682 	 cat >conftest.$ac_ext <<_ACEOF
   5683 /* confdefs.h.  */
   5684 _ACEOF
   5685 cat confdefs.h >>conftest.$ac_ext
   5686 cat >>conftest.$ac_ext <<_ACEOF
   5687 /* end confdefs.h.  */
   5688 
   5689 int
   5690 main ()
   5691 {
   5692 
   5693   ;
   5694   return 0;
   5695 }
   5696 _ACEOF
   5697 rm -f conftest.$ac_objext
   5698 if { (ac_try="$ac_compile"
   5699 case "(($ac_try" in
   5700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5701   *) ac_try_echo=$ac_try;;
   5702 esac
   5703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5704 $as_echo "$ac_try_echo") >&5
   5705   (eval "$ac_compile") 2>conftest.er1
   5706   ac_status=$?
   5707   grep -v '^ *+' conftest.er1 >conftest.err
   5708   rm -f conftest.er1
   5709   cat conftest.err >&5
   5710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5711   (exit $ac_status); } && {
   5712 	 test -z "$ac_cxx_werror_flag" ||
   5713 	 test ! -s conftest.err
   5714        } && test -s conftest.$ac_objext; then
   5715   ac_cv_prog_cxx_g=yes
   5716 else
   5717   $as_echo "$as_me: failed program was:" >&5
   5718 sed 's/^/| /' conftest.$ac_ext >&5
   5719 
   5720 
   5721 fi
   5722 
   5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5724 fi
   5725 
   5726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5727 fi
   5728 
   5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5730    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5731 fi
   5732 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5733 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5734 if test "$ac_test_CXXFLAGS" = set; then
   5735   CXXFLAGS=$ac_save_CXXFLAGS
   5736 elif test $ac_cv_prog_cxx_g = yes; then
   5737   if test "$GXX" = yes; then
   5738     CXXFLAGS="-g -O2"
   5739   else
   5740     CXXFLAGS="-g"
   5741   fi
   5742 else
   5743   if test "$GXX" = yes; then
   5744     CXXFLAGS="-O2"
   5745   else
   5746     CXXFLAGS=
   5747   fi
   5748 fi
   5749 ac_ext=cpp
   5750 ac_cpp='$CXXCPP $CPPFLAGS'
   5751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5754 
   5755 depcc="$CXX"  am_compiler_list=
   5756 
   5757 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5758 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5759 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5760   $as_echo_n "(cached) " >&6
   5761 else
   5762   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5763   # We make a subdir and do the tests there.  Otherwise we can end up
   5764   # making bogus files that we don't know about and never remove.  For
   5765   # instance it was reported that on HP-UX the gcc test will end up
   5766   # making a dummy file named `D' -- because `-MD' means `put the output
   5767   # in D'.
   5768   mkdir conftest.dir
   5769   # Copy depcomp to subdir because otherwise we won't find it if we're
   5770   # using a relative directory.
   5771   cp "$am_depcomp" conftest.dir
   5772   cd conftest.dir
   5773   # We will build objects and dependencies in a subdirectory because
   5774   # it helps to detect inapplicable dependency modes.  For instance
   5775   # both Tru64's cc and ICC support -MD to output dependencies as a
   5776   # side effect of compilation, but ICC will put the dependencies in
   5777   # the current directory while Tru64 will put them in the object
   5778   # directory.
   5779   mkdir sub
   5780 
   5781   am_cv_CXX_dependencies_compiler_type=none
   5782   if test "$am_compiler_list" = ""; then
   5783      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5784   fi
   5785   am__universal=false
   5786   case " $depcc " in #(
   5787      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5788      esac
   5789 
   5790   for depmode in $am_compiler_list; do
   5791     # Setup a source with many dependencies, because some compilers
   5792     # like to wrap large dependency lists on column 80 (with \), and
   5793     # we should not choose a depcomp mode which is confused by this.
   5794     #
   5795     # We need to recreate these files for each test, as the compiler may
   5796     # overwrite some of them when testing with obscure command lines.
   5797     # This happens at least with the AIX C compiler.
   5798     : > sub/conftest.c
   5799     for i in 1 2 3 4 5 6; do
   5800       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5801       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5802       # Solaris 8's {/usr,}/bin/sh.
   5803       touch sub/conftst$i.h
   5804     done
   5805     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5806 
   5807     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5808     # mode.  It turns out that the SunPro C++ compiler does not properly
   5809     # handle `-M -o', and we need to detect this.  Also, some Intel
   5810     # versions had trouble with output in subdirs
   5811     am__obj=sub/conftest.${OBJEXT-o}
   5812     am__minus_obj="-o $am__obj"
   5813     case $depmode in
   5814     gcc)
   5815       # This depmode causes a compiler race in universal mode.
   5816       test "$am__universal" = false || continue
   5817       ;;
   5818     nosideeffect)
   5819       # after this tag, mechanisms are not by side-effect, so they'll
   5820       # only be used when explicitly requested
   5821       if test "x$enable_dependency_tracking" = xyes; then
   5822 	continue
   5823       else
   5824 	break
   5825       fi
   5826       ;;
   5827     msvisualcpp | msvcmsys)
   5828       # This compiler won't grok `-c -o', but also, the minuso test has
   5829       # not run yet.  These depmodes are late enough in the game, and
   5830       # so weak that their functioning should not be impacted.
   5831       am__obj=conftest.${OBJEXT-o}
   5832       am__minus_obj=
   5833       ;;
   5834     none) break ;;
   5835     esac
   5836     if depmode=$depmode \
   5837        source=sub/conftest.c object=$am__obj \
   5838        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5839        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5840          >/dev/null 2>conftest.err &&
   5841        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5842        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5843        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5844        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5845       # icc doesn't choke on unknown options, it will just issue warnings
   5846       # or remarks (even with -Werror).  So we grep stderr for any message
   5847       # that says an option was ignored or not supported.
   5848       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5849       #   icc: Command line warning: ignoring option '-M'; no argument required
   5850       # The diagnosis changed in icc 8.0:
   5851       #   icc: Command line remark: option '-MP' not supported
   5852       if (grep 'ignoring option' conftest.err ||
   5853           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5854         am_cv_CXX_dependencies_compiler_type=$depmode
   5855         break
   5856       fi
   5857     fi
   5858   done
   5859 
   5860   cd ..
   5861   rm -rf conftest.dir
   5862 else
   5863   am_cv_CXX_dependencies_compiler_type=none
   5864 fi
   5865 
   5866 fi
   5867 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5868 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5869 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5870 
   5871  if
   5872   test "x$enable_dependency_tracking" != xno \
   5873   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5874   am__fastdepCXX_TRUE=
   5875   am__fastdepCXX_FALSE='#'
   5876 else
   5877   am__fastdepCXX_TRUE='#'
   5878   am__fastdepCXX_FALSE=
   5879 fi
   5880 
   5881 
   5882 
   5883 
   5884 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5885     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5886     (test "X$CXX" != "Xg++"))) ; then
   5887   ac_ext=cpp
   5888 ac_cpp='$CXXCPP $CPPFLAGS'
   5889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5892 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5893 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5894 if test -z "$CXXCPP"; then
   5895   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5896   $as_echo_n "(cached) " >&6
   5897 else
   5898       # Double quotes because CXXCPP needs to be expanded
   5899     for CXXCPP in "$CXX -E" "/lib/cpp"
   5900     do
   5901       ac_preproc_ok=false
   5902 for ac_cxx_preproc_warn_flag in '' yes
   5903 do
   5904   # Use a header file that comes with gcc, so configuring glibc
   5905   # with a fresh cross-compiler works.
   5906   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5907   # <limits.h> exists even on freestanding compilers.
   5908   # On the NeXT, cc -E runs the code through the compiler's parser,
   5909   # not just through cpp. "Syntax error" is here to catch this case.
   5910   cat >conftest.$ac_ext <<_ACEOF
   5911 /* confdefs.h.  */
   5912 _ACEOF
   5913 cat confdefs.h >>conftest.$ac_ext
   5914 cat >>conftest.$ac_ext <<_ACEOF
   5915 /* end confdefs.h.  */
   5916 #ifdef __STDC__
   5917 # include <limits.h>
   5918 #else
   5919 # include <assert.h>
   5920 #endif
   5921 		     Syntax error
   5922 _ACEOF
   5923 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5924 case "(($ac_try" in
   5925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5926   *) ac_try_echo=$ac_try;;
   5927 esac
   5928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5929 $as_echo "$ac_try_echo") >&5
   5930   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5931   ac_status=$?
   5932   grep -v '^ *+' conftest.er1 >conftest.err
   5933   rm -f conftest.er1
   5934   cat conftest.err >&5
   5935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5936   (exit $ac_status); } >/dev/null && {
   5937 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5938 	 test ! -s conftest.err
   5939        }; then
   5940   :
   5941 else
   5942   $as_echo "$as_me: failed program was:" >&5
   5943 sed 's/^/| /' conftest.$ac_ext >&5
   5944 
   5945   # Broken: fails on valid input.
   5946 continue
   5947 fi
   5948 
   5949 rm -f conftest.err conftest.$ac_ext
   5950 
   5951   # OK, works on sane cases.  Now check whether nonexistent headers
   5952   # can be detected and how.
   5953   cat >conftest.$ac_ext <<_ACEOF
   5954 /* confdefs.h.  */
   5955 _ACEOF
   5956 cat confdefs.h >>conftest.$ac_ext
   5957 cat >>conftest.$ac_ext <<_ACEOF
   5958 /* end confdefs.h.  */
   5959 #include <ac_nonexistent.h>
   5960 _ACEOF
   5961 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5962 case "(($ac_try" in
   5963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5964   *) ac_try_echo=$ac_try;;
   5965 esac
   5966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5967 $as_echo "$ac_try_echo") >&5
   5968   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5969   ac_status=$?
   5970   grep -v '^ *+' conftest.er1 >conftest.err
   5971   rm -f conftest.er1
   5972   cat conftest.err >&5
   5973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5974   (exit $ac_status); } >/dev/null && {
   5975 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5976 	 test ! -s conftest.err
   5977        }; then
   5978   # Broken: success on invalid input.
   5979 continue
   5980 else
   5981   $as_echo "$as_me: failed program was:" >&5
   5982 sed 's/^/| /' conftest.$ac_ext >&5
   5983 
   5984   # Passes both tests.
   5985 ac_preproc_ok=:
   5986 break
   5987 fi
   5988 
   5989 rm -f conftest.err conftest.$ac_ext
   5990 
   5991 done
   5992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5993 rm -f conftest.err conftest.$ac_ext
   5994 if $ac_preproc_ok; then
   5995   break
   5996 fi
   5997 
   5998     done
   5999     ac_cv_prog_CXXCPP=$CXXCPP
   6000 
   6001 fi
   6002   CXXCPP=$ac_cv_prog_CXXCPP
   6003 else
   6004   ac_cv_prog_CXXCPP=$CXXCPP
   6005 fi
   6006 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6007 $as_echo "$CXXCPP" >&6; }
   6008 ac_preproc_ok=false
   6009 for ac_cxx_preproc_warn_flag in '' yes
   6010 do
   6011   # Use a header file that comes with gcc, so configuring glibc
   6012   # with a fresh cross-compiler works.
   6013   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6014   # <limits.h> exists even on freestanding compilers.
   6015   # On the NeXT, cc -E runs the code through the compiler's parser,
   6016   # not just through cpp. "Syntax error" is here to catch this case.
   6017   cat >conftest.$ac_ext <<_ACEOF
   6018 /* confdefs.h.  */
   6019 _ACEOF
   6020 cat confdefs.h >>conftest.$ac_ext
   6021 cat >>conftest.$ac_ext <<_ACEOF
   6022 /* end confdefs.h.  */
   6023 #ifdef __STDC__
   6024 # include <limits.h>
   6025 #else
   6026 # include <assert.h>
   6027 #endif
   6028 		     Syntax error
   6029 _ACEOF
   6030 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6031 case "(($ac_try" in
   6032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6033   *) ac_try_echo=$ac_try;;
   6034 esac
   6035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6036 $as_echo "$ac_try_echo") >&5
   6037   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6038   ac_status=$?
   6039   grep -v '^ *+' conftest.er1 >conftest.err
   6040   rm -f conftest.er1
   6041   cat conftest.err >&5
   6042   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6043   (exit $ac_status); } >/dev/null && {
   6044 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6045 	 test ! -s conftest.err
   6046        }; then
   6047   :
   6048 else
   6049   $as_echo "$as_me: failed program was:" >&5
   6050 sed 's/^/| /' conftest.$ac_ext >&5
   6051 
   6052   # Broken: fails on valid input.
   6053 continue
   6054 fi
   6055 
   6056 rm -f conftest.err conftest.$ac_ext
   6057 
   6058   # OK, works on sane cases.  Now check whether nonexistent headers
   6059   # can be detected and how.
   6060   cat >conftest.$ac_ext <<_ACEOF
   6061 /* confdefs.h.  */
   6062 _ACEOF
   6063 cat confdefs.h >>conftest.$ac_ext
   6064 cat >>conftest.$ac_ext <<_ACEOF
   6065 /* end confdefs.h.  */
   6066 #include <ac_nonexistent.h>
   6067 _ACEOF
   6068 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6069 case "(($ac_try" in
   6070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6071   *) ac_try_echo=$ac_try;;
   6072 esac
   6073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6074 $as_echo "$ac_try_echo") >&5
   6075   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6076   ac_status=$?
   6077   grep -v '^ *+' conftest.er1 >conftest.err
   6078   rm -f conftest.er1
   6079   cat conftest.err >&5
   6080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6081   (exit $ac_status); } >/dev/null && {
   6082 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6083 	 test ! -s conftest.err
   6084        }; then
   6085   # Broken: success on invalid input.
   6086 continue
   6087 else
   6088   $as_echo "$as_me: failed program was:" >&5
   6089 sed 's/^/| /' conftest.$ac_ext >&5
   6090 
   6091   # Passes both tests.
   6092 ac_preproc_ok=:
   6093 break
   6094 fi
   6095 
   6096 rm -f conftest.err conftest.$ac_ext
   6097 
   6098 done
   6099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6100 rm -f conftest.err conftest.$ac_ext
   6101 if $ac_preproc_ok; then
   6102   :
   6103 else
   6104   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6106 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6107 See \`config.log' for more details." >&5
   6108 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6109 See \`config.log' for more details." >&2;}
   6110    { (exit 1); exit 1; }; }; }
   6111 fi
   6112 
   6113 ac_ext=cpp
   6114 ac_cpp='$CXXCPP $CPPFLAGS'
   6115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6118 
   6119 fi
   6120 
   6121 
   6122 ac_ext=f
   6123 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6124 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6125 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6126 if test -n "$ac_tool_prefix"; then
   6127   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
   6128   do
   6129     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6132 $as_echo_n "checking for $ac_word... " >&6; }
   6133 if test "${ac_cv_prog_F77+set}" = set; then
   6134   $as_echo_n "(cached) " >&6
   6135 else
   6136   if test -n "$F77"; then
   6137   ac_cv_prog_F77="$F77" # Let the user override the test.
   6138 else
   6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6140 for as_dir in $PATH
   6141 do
   6142   IFS=$as_save_IFS
   6143   test -z "$as_dir" && as_dir=.
   6144   for ac_exec_ext in '' $ac_executable_extensions; do
   6145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6146     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6147     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6148     break 2
   6149   fi
   6150 done
   6151 done
   6152 IFS=$as_save_IFS
   6153 
   6154 fi
   6155 fi
   6156 F77=$ac_cv_prog_F77
   6157 if test -n "$F77"; then
   6158   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6159 $as_echo "$F77" >&6; }
   6160 else
   6161   { $as_echo "$as_me:$LINENO: result: no" >&5
   6162 $as_echo "no" >&6; }
   6163 fi
   6164 
   6165 
   6166     test -n "$F77" && break
   6167   done
   6168 fi
   6169 if test -z "$F77"; then
   6170   ac_ct_F77=$F77
   6171   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
   6172 do
   6173   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6174 set dummy $ac_prog; ac_word=$2
   6175 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6176 $as_echo_n "checking for $ac_word... " >&6; }
   6177 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6178   $as_echo_n "(cached) " >&6
   6179 else
   6180   if test -n "$ac_ct_F77"; then
   6181   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6182 else
   6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6184 for as_dir in $PATH
   6185 do
   6186   IFS=$as_save_IFS
   6187   test -z "$as_dir" && as_dir=.
   6188   for ac_exec_ext in '' $ac_executable_extensions; do
   6189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6190     ac_cv_prog_ac_ct_F77="$ac_prog"
   6191     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6192     break 2
   6193   fi
   6194 done
   6195 done
   6196 IFS=$as_save_IFS
   6197 
   6198 fi
   6199 fi
   6200 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6201 if test -n "$ac_ct_F77"; then
   6202   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6203 $as_echo "$ac_ct_F77" >&6; }
   6204 else
   6205   { $as_echo "$as_me:$LINENO: result: no" >&5
   6206 $as_echo "no" >&6; }
   6207 fi
   6208 
   6209 
   6210   test -n "$ac_ct_F77" && break
   6211 done
   6212 
   6213   if test "x$ac_ct_F77" = x; then
   6214     F77=""
   6215   else
   6216     case $cross_compiling:$ac_tool_warned in
   6217 yes:)
   6218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6220 ac_tool_warned=yes ;;
   6221 esac
   6222     F77=$ac_ct_F77
   6223   fi
   6224 fi
   6225 
   6226 
   6227 # Provide some information about the compiler.
   6228 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6229 set X $ac_compile
   6230 ac_compiler=$2
   6231 { (ac_try="$ac_compiler --version >&5"
   6232 case "(($ac_try" in
   6233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6234   *) ac_try_echo=$ac_try;;
   6235 esac
   6236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6237 $as_echo "$ac_try_echo") >&5
   6238   (eval "$ac_compiler --version >&5") 2>&5
   6239   ac_status=$?
   6240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6241   (exit $ac_status); }
   6242 { (ac_try="$ac_compiler -v >&5"
   6243 case "(($ac_try" in
   6244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6245   *) ac_try_echo=$ac_try;;
   6246 esac
   6247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6248 $as_echo "$ac_try_echo") >&5
   6249   (eval "$ac_compiler -v >&5") 2>&5
   6250   ac_status=$?
   6251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6252   (exit $ac_status); }
   6253 { (ac_try="$ac_compiler -V >&5"
   6254 case "(($ac_try" in
   6255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6256   *) ac_try_echo=$ac_try;;
   6257 esac
   6258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6259 $as_echo "$ac_try_echo") >&5
   6260   (eval "$ac_compiler -V >&5") 2>&5
   6261   ac_status=$?
   6262   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6263   (exit $ac_status); }
   6264 rm -f a.out
   6265 
   6266 # If we don't use `.F' as extension, the preprocessor is not run on the
   6267 # input file.  (Note that this only needs to work for GNU compilers.)
   6268 ac_save_ext=$ac_ext
   6269 ac_ext=F
   6270 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6271 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6272 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6273   $as_echo_n "(cached) " >&6
   6274 else
   6275   cat >conftest.$ac_ext <<_ACEOF
   6276       program main
   6277 #ifndef __GNUC__
   6278        choke me
   6279 #endif
   6280 
   6281       end
   6282 _ACEOF
   6283 rm -f conftest.$ac_objext
   6284 if { (ac_try="$ac_compile"
   6285 case "(($ac_try" in
   6286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6287   *) ac_try_echo=$ac_try;;
   6288 esac
   6289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6290 $as_echo "$ac_try_echo") >&5
   6291   (eval "$ac_compile") 2>conftest.er1
   6292   ac_status=$?
   6293   grep -v '^ *+' conftest.er1 >conftest.err
   6294   rm -f conftest.er1
   6295   cat conftest.err >&5
   6296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6297   (exit $ac_status); } && {
   6298 	 test -z "$ac_f77_werror_flag" ||
   6299 	 test ! -s conftest.err
   6300        } && test -s conftest.$ac_objext; then
   6301   ac_compiler_gnu=yes
   6302 else
   6303   $as_echo "$as_me: failed program was:" >&5
   6304 sed 's/^/| /' conftest.$ac_ext >&5
   6305 
   6306 	ac_compiler_gnu=no
   6307 fi
   6308 
   6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6310 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6311 
   6312 fi
   6313 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6314 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6315 ac_ext=$ac_save_ext
   6316 ac_test_FFLAGS=${FFLAGS+set}
   6317 ac_save_FFLAGS=$FFLAGS
   6318 FFLAGS=
   6319 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6320 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6321 if test "${ac_cv_prog_f77_g+set}" = set; then
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   FFLAGS=-g
   6325 cat >conftest.$ac_ext <<_ACEOF
   6326       program main
   6327 
   6328       end
   6329 _ACEOF
   6330 rm -f conftest.$ac_objext
   6331 if { (ac_try="$ac_compile"
   6332 case "(($ac_try" in
   6333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6334   *) ac_try_echo=$ac_try;;
   6335 esac
   6336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6337 $as_echo "$ac_try_echo") >&5
   6338   (eval "$ac_compile") 2>conftest.er1
   6339   ac_status=$?
   6340   grep -v '^ *+' conftest.er1 >conftest.err
   6341   rm -f conftest.er1
   6342   cat conftest.err >&5
   6343   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6344   (exit $ac_status); } && {
   6345 	 test -z "$ac_f77_werror_flag" ||
   6346 	 test ! -s conftest.err
   6347        } && test -s conftest.$ac_objext; then
   6348   ac_cv_prog_f77_g=yes
   6349 else
   6350   $as_echo "$as_me: failed program was:" >&5
   6351 sed 's/^/| /' conftest.$ac_ext >&5
   6352 
   6353 	ac_cv_prog_f77_g=no
   6354 fi
   6355 
   6356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6357 
   6358 fi
   6359 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6360 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6361 if test "$ac_test_FFLAGS" = set; then
   6362   FFLAGS=$ac_save_FFLAGS
   6363 elif test $ac_cv_prog_f77_g = yes; then
   6364   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6365     FFLAGS="-g -O2"
   6366   else
   6367     FFLAGS="-g"
   6368   fi
   6369 else
   6370   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6371     FFLAGS="-O2"
   6372   else
   6373     FFLAGS=
   6374   fi
   6375 fi
   6376 
   6377 if test $ac_compiler_gnu = yes; then
   6378   G77=yes
   6379 else
   6380   G77=
   6381 fi
   6382 ac_ext=c
   6383 ac_cpp='$CPP $CPPFLAGS'
   6384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6387 
   6388 
   6389 
   6390 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6391 # find the maximum length of command line arguments
   6392 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6393 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6394 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397     i=0
   6398   teststring="ABCD"
   6399 
   6400   case $build_os in
   6401   msdosdjgpp*)
   6402     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6403     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6404     # during glob expansion).  Even if it were fixed, the result of this
   6405     # check would be larger than it should be.
   6406     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6407     ;;
   6408 
   6409   gnu*)
   6410     # Under GNU Hurd, this test is not required because there is
   6411     # no limit to the length of command line arguments.
   6412     # Libtool will interpret -1 as no limit whatsoever
   6413     lt_cv_sys_max_cmd_len=-1;
   6414     ;;
   6415 
   6416   cygwin* | mingw*)
   6417     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6418     # about 5 minutes as the teststring grows exponentially.
   6419     # Worse, since 9x/ME are not pre-emptively multitasking,
   6420     # you end up with a "frozen" computer, even though with patience
   6421     # the test eventually succeeds (with a max line length of 256k).
   6422     # Instead, let's just punt: use the minimum linelength reported by
   6423     # all of the supported platforms: 8192 (on NT/2K/XP).
   6424     lt_cv_sys_max_cmd_len=8192;
   6425     ;;
   6426 
   6427   amigaos*)
   6428     # On AmigaOS with pdksh, this test takes hours, literally.
   6429     # So we just punt and use a minimum line length of 8192.
   6430     lt_cv_sys_max_cmd_len=8192;
   6431     ;;
   6432 
   6433   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6434     # This has been around since 386BSD, at least.  Likely further.
   6435     if test -x /sbin/sysctl; then
   6436       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6437     elif test -x /usr/sbin/sysctl; then
   6438       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6439     else
   6440       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6441     fi
   6442     # And add a safety zone
   6443     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6444     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6445     ;;
   6446 
   6447   interix*)
   6448     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6449     lt_cv_sys_max_cmd_len=196608
   6450     ;;
   6451 
   6452   osf*)
   6453     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6454     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6455     # nice to cause kernel panics so lets avoid the loop below.
   6456     # First set a reasonable default.
   6457     lt_cv_sys_max_cmd_len=16384
   6458     #
   6459     if test -x /sbin/sysconfig; then
   6460       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6461         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6462       esac
   6463     fi
   6464     ;;
   6465   sco3.2v5*)
   6466     lt_cv_sys_max_cmd_len=102400
   6467     ;;
   6468   sysv5* | sco5v6* | sysv4.2uw2*)
   6469     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6470     if test -n "$kargmax"; then
   6471       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6472     else
   6473       lt_cv_sys_max_cmd_len=32768
   6474     fi
   6475     ;;
   6476   *)
   6477     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6478     if test -n "$lt_cv_sys_max_cmd_len"; then
   6479       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6480       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6481     else
   6482       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6483       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6484 	       = "XX$teststring") >/dev/null 2>&1 &&
   6485 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6486 	      lt_cv_sys_max_cmd_len=$new_result &&
   6487 	      test $i != 17 # 1/2 MB should be enough
   6488       do
   6489         i=`expr $i + 1`
   6490         teststring=$teststring$teststring
   6491       done
   6492       teststring=
   6493       # Add a significant safety factor because C++ compilers can tack on massive
   6494       # amounts of additional arguments before passing them to the linker.
   6495       # It appears as though 1/2 is a usable value.
   6496       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6497     fi
   6498     ;;
   6499   esac
   6500 
   6501 fi
   6502 
   6503 if test -n $lt_cv_sys_max_cmd_len ; then
   6504   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6505 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6506 else
   6507   { $as_echo "$as_me:$LINENO: result: none" >&5
   6508 $as_echo "none" >&6; }
   6509 fi
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6516 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6517 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6518 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6519   $as_echo_n "(cached) " >&6
   6520 else
   6521 
   6522 # These are sane defaults that work on at least a few old systems.
   6523 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6524 
   6525 # Character class describing NM global symbol codes.
   6526 symcode='[BCDEGRST]'
   6527 
   6528 # Regexp to match symbols that can be accessed directly from C.
   6529 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6530 
   6531 # Transform an extracted symbol line into a proper C declaration
   6532 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6533 
   6534 # Transform an extracted symbol line into symbol name and symbol address
   6535 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'"
   6536 
   6537 # Define system-specific variables.
   6538 case $host_os in
   6539 aix*)
   6540   symcode='[BCDT]'
   6541   ;;
   6542 cygwin* | mingw* | pw32*)
   6543   symcode='[ABCDGISTW]'
   6544   ;;
   6545 hpux*) # Its linker distinguishes data from code symbols
   6546   if test "$host_cpu" = ia64; then
   6547     symcode='[ABCDEGRST]'
   6548   fi
   6549   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6550   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'"
   6551   ;;
   6552 linux* | k*bsd*-gnu)
   6553   if test "$host_cpu" = ia64; then
   6554     symcode='[ABCDGIRSTW]'
   6555     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6556     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6557   fi
   6558   ;;
   6559 irix* | nonstopux*)
   6560   symcode='[BCDEGRST]'
   6561   ;;
   6562 osf*)
   6563   symcode='[BCDEGQRST]'
   6564   ;;
   6565 solaris*)
   6566   symcode='[BDRT]'
   6567   ;;
   6568 sco3.2v5*)
   6569   symcode='[DT]'
   6570   ;;
   6571 sysv4.2uw2*)
   6572   symcode='[DT]'
   6573   ;;
   6574 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6575   symcode='[ABDT]'
   6576   ;;
   6577 sysv4)
   6578   symcode='[DFNSTU]'
   6579   ;;
   6580 esac
   6581 
   6582 # Handle CRLF in mingw tool chain
   6583 opt_cr=
   6584 case $build_os in
   6585 mingw*)
   6586   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6587   ;;
   6588 esac
   6589 
   6590 # If we're using GNU nm, then use its standard symbol codes.
   6591 case `$NM -V 2>&1` in
   6592 *GNU* | *'with BFD'*)
   6593   symcode='[ABCDGIRSTW]' ;;
   6594 esac
   6595 
   6596 # Try without a prefix undercore, then with it.
   6597 for ac_symprfx in "" "_"; do
   6598 
   6599   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6600   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6601 
   6602   # Write the raw and C identifiers.
   6603   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6604 
   6605   # Check to see that the pipe works correctly.
   6606   pipe_works=no
   6607 
   6608   rm -f conftest*
   6609   cat > conftest.$ac_ext <<EOF
   6610 #ifdef __cplusplus
   6611 extern "C" {
   6612 #endif
   6613 char nm_test_var;
   6614 void nm_test_func(){}
   6615 #ifdef __cplusplus
   6616 }
   6617 #endif
   6618 int main(){nm_test_var='a';nm_test_func();return(0);}
   6619 EOF
   6620 
   6621   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6622   (eval $ac_compile) 2>&5
   6623   ac_status=$?
   6624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6625   (exit $ac_status); }; then
   6626     # Now try to grab the symbols.
   6627     nlist=conftest.nm
   6628     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6629   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6630   ac_status=$?
   6631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6632   (exit $ac_status); } && test -s "$nlist"; then
   6633       # Try sorting and uniquifying the output.
   6634       if sort "$nlist" | uniq > "$nlist"T; then
   6635 	mv -f "$nlist"T "$nlist"
   6636       else
   6637 	rm -f "$nlist"T
   6638       fi
   6639 
   6640       # Make sure that we snagged all the symbols we need.
   6641       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6642 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6643 	  cat <<EOF > conftest.$ac_ext
   6644 #ifdef __cplusplus
   6645 extern "C" {
   6646 #endif
   6647 
   6648 EOF
   6649 	  # Now generate the symbol file.
   6650 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6651 
   6652 	  cat <<EOF >> conftest.$ac_ext
   6653 #if defined (__STDC__) && __STDC__
   6654 # define lt_ptr_t void *
   6655 #else
   6656 # define lt_ptr_t char *
   6657 # define const
   6658 #endif
   6659 
   6660 /* The mapping between symbol names and symbols. */
   6661 const struct {
   6662   const char *name;
   6663   lt_ptr_t address;
   6664 }
   6665 lt_preloaded_symbols[] =
   6666 {
   6667 EOF
   6668 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6669 	  cat <<\EOF >> conftest.$ac_ext
   6670   {0, (lt_ptr_t) 0}
   6671 };
   6672 
   6673 #ifdef __cplusplus
   6674 }
   6675 #endif
   6676 EOF
   6677 	  # Now try linking the two files.
   6678 	  mv conftest.$ac_objext conftstm.$ac_objext
   6679 	  lt_save_LIBS="$LIBS"
   6680 	  lt_save_CFLAGS="$CFLAGS"
   6681 	  LIBS="conftstm.$ac_objext"
   6682 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6683 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6684   (eval $ac_link) 2>&5
   6685   ac_status=$?
   6686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6687   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6688 	    pipe_works=yes
   6689 	  fi
   6690 	  LIBS="$lt_save_LIBS"
   6691 	  CFLAGS="$lt_save_CFLAGS"
   6692 	else
   6693 	  echo "cannot find nm_test_func in $nlist" >&5
   6694 	fi
   6695       else
   6696 	echo "cannot find nm_test_var in $nlist" >&5
   6697       fi
   6698     else
   6699       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6700     fi
   6701   else
   6702     echo "$progname: failed program was:" >&5
   6703     cat conftest.$ac_ext >&5
   6704   fi
   6705   rm -rf conftest* conftst*
   6706 
   6707   # Do not use the global_symbol_pipe unless it works.
   6708   if test "$pipe_works" = yes; then
   6709     break
   6710   else
   6711     lt_cv_sys_global_symbol_pipe=
   6712   fi
   6713 done
   6714 
   6715 fi
   6716 
   6717 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6718   lt_cv_sys_global_symbol_to_cdecl=
   6719 fi
   6720 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6721   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6722 $as_echo "failed" >&6; }
   6723 else
   6724   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6725 $as_echo "ok" >&6; }
   6726 fi
   6727 
   6728 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6729 $as_echo_n "checking for objdir... " >&6; }
   6730 if test "${lt_cv_objdir+set}" = set; then
   6731   $as_echo_n "(cached) " >&6
   6732 else
   6733   rm -f .libs 2>/dev/null
   6734 mkdir .libs 2>/dev/null
   6735 if test -d .libs; then
   6736   lt_cv_objdir=.libs
   6737 else
   6738   # MS-DOS does not allow filenames that begin with a dot.
   6739   lt_cv_objdir=_libs
   6740 fi
   6741 rmdir .libs 2>/dev/null
   6742 fi
   6743 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6744 $as_echo "$lt_cv_objdir" >&6; }
   6745 objdir=$lt_cv_objdir
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 case $host_os in
   6752 aix3*)
   6753   # AIX sometimes has problems with the GCC collect2 program.  For some
   6754   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6755   # vanish in a puff of smoke.
   6756   if test "X${COLLECT_NAMES+set}" != Xset; then
   6757     COLLECT_NAMES=
   6758     export COLLECT_NAMES
   6759   fi
   6760   ;;
   6761 esac
   6762 
   6763 # Sed substitution that helps us do robust quoting.  It backslashifies
   6764 # metacharacters that are still active within double-quoted strings.
   6765 Xsed='sed -e 1s/^X//'
   6766 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6767 
   6768 # Same as above, but do not quote variable references.
   6769 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6770 
   6771 # Sed substitution to delay expansion of an escaped shell variable in a
   6772 # double_quote_subst'ed string.
   6773 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6774 
   6775 # Sed substitution to avoid accidental globbing in evaled expressions
   6776 no_glob_subst='s/\*/\\\*/g'
   6777 
   6778 # Constants:
   6779 rm="rm -f"
   6780 
   6781 # Global variables:
   6782 default_ofile=libtool
   6783 can_build_shared=yes
   6784 
   6785 # All known linkers require a `.a' archive for static linking (except MSVC,
   6786 # which needs '.lib').
   6787 libext=a
   6788 ltmain="$ac_aux_dir/ltmain.sh"
   6789 ofile="$default_ofile"
   6790 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6791 
   6792 if test -n "$ac_tool_prefix"; then
   6793   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6794 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6795 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6796 $as_echo_n "checking for $ac_word... " >&6; }
   6797 if test "${ac_cv_prog_AR+set}" = set; then
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   if test -n "$AR"; then
   6801   ac_cv_prog_AR="$AR" # Let the user override the test.
   6802 else
   6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6804 for as_dir in $PATH
   6805 do
   6806   IFS=$as_save_IFS
   6807   test -z "$as_dir" && as_dir=.
   6808   for ac_exec_ext in '' $ac_executable_extensions; do
   6809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6810     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6811     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6812     break 2
   6813   fi
   6814 done
   6815 done
   6816 IFS=$as_save_IFS
   6817 
   6818 fi
   6819 fi
   6820 AR=$ac_cv_prog_AR
   6821 if test -n "$AR"; then
   6822   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6823 $as_echo "$AR" >&6; }
   6824 else
   6825   { $as_echo "$as_me:$LINENO: result: no" >&5
   6826 $as_echo "no" >&6; }
   6827 fi
   6828 
   6829 
   6830 fi
   6831 if test -z "$ac_cv_prog_AR"; then
   6832   ac_ct_AR=$AR
   6833   # Extract the first word of "ar", so it can be a program name with args.
   6834 set dummy ar; ac_word=$2
   6835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6836 $as_echo_n "checking for $ac_word... " >&6; }
   6837 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6838   $as_echo_n "(cached) " >&6
   6839 else
   6840   if test -n "$ac_ct_AR"; then
   6841   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6842 else
   6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6844 for as_dir in $PATH
   6845 do
   6846   IFS=$as_save_IFS
   6847   test -z "$as_dir" && as_dir=.
   6848   for ac_exec_ext in '' $ac_executable_extensions; do
   6849   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6850     ac_cv_prog_ac_ct_AR="ar"
   6851     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6852     break 2
   6853   fi
   6854 done
   6855 done
   6856 IFS=$as_save_IFS
   6857 
   6858 fi
   6859 fi
   6860 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6861 if test -n "$ac_ct_AR"; then
   6862   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6863 $as_echo "$ac_ct_AR" >&6; }
   6864 else
   6865   { $as_echo "$as_me:$LINENO: result: no" >&5
   6866 $as_echo "no" >&6; }
   6867 fi
   6868 
   6869   if test "x$ac_ct_AR" = x; then
   6870     AR="false"
   6871   else
   6872     case $cross_compiling:$ac_tool_warned in
   6873 yes:)
   6874 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6876 ac_tool_warned=yes ;;
   6877 esac
   6878     AR=$ac_ct_AR
   6879   fi
   6880 else
   6881   AR="$ac_cv_prog_AR"
   6882 fi
   6883 
   6884 if test -n "$ac_tool_prefix"; then
   6885   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6888 $as_echo_n "checking for $ac_word... " >&6; }
   6889 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6890   $as_echo_n "(cached) " >&6
   6891 else
   6892   if test -n "$RANLIB"; then
   6893   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6894 else
   6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6896 for as_dir in $PATH
   6897 do
   6898   IFS=$as_save_IFS
   6899   test -z "$as_dir" && as_dir=.
   6900   for ac_exec_ext in '' $ac_executable_extensions; do
   6901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6902     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6903     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6904     break 2
   6905   fi
   6906 done
   6907 done
   6908 IFS=$as_save_IFS
   6909 
   6910 fi
   6911 fi
   6912 RANLIB=$ac_cv_prog_RANLIB
   6913 if test -n "$RANLIB"; then
   6914   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6915 $as_echo "$RANLIB" >&6; }
   6916 else
   6917   { $as_echo "$as_me:$LINENO: result: no" >&5
   6918 $as_echo "no" >&6; }
   6919 fi
   6920 
   6921 
   6922 fi
   6923 if test -z "$ac_cv_prog_RANLIB"; then
   6924   ac_ct_RANLIB=$RANLIB
   6925   # Extract the first word of "ranlib", so it can be a program name with args.
   6926 set dummy ranlib; ac_word=$2
   6927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6928 $as_echo_n "checking for $ac_word... " >&6; }
   6929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6930   $as_echo_n "(cached) " >&6
   6931 else
   6932   if test -n "$ac_ct_RANLIB"; then
   6933   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6934 else
   6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6936 for as_dir in $PATH
   6937 do
   6938   IFS=$as_save_IFS
   6939   test -z "$as_dir" && as_dir=.
   6940   for ac_exec_ext in '' $ac_executable_extensions; do
   6941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6942     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6943     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6944     break 2
   6945   fi
   6946 done
   6947 done
   6948 IFS=$as_save_IFS
   6949 
   6950 fi
   6951 fi
   6952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6953 if test -n "$ac_ct_RANLIB"; then
   6954   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6955 $as_echo "$ac_ct_RANLIB" >&6; }
   6956 else
   6957   { $as_echo "$as_me:$LINENO: result: no" >&5
   6958 $as_echo "no" >&6; }
   6959 fi
   6960 
   6961   if test "x$ac_ct_RANLIB" = x; then
   6962     RANLIB=":"
   6963   else
   6964     case $cross_compiling:$ac_tool_warned in
   6965 yes:)
   6966 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6968 ac_tool_warned=yes ;;
   6969 esac
   6970     RANLIB=$ac_ct_RANLIB
   6971   fi
   6972 else
   6973   RANLIB="$ac_cv_prog_RANLIB"
   6974 fi
   6975 
   6976 if test -n "$ac_tool_prefix"; then
   6977   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6978 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6979 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6980 $as_echo_n "checking for $ac_word... " >&6; }
   6981 if test "${ac_cv_prog_STRIP+set}" = set; then
   6982   $as_echo_n "(cached) " >&6
   6983 else
   6984   if test -n "$STRIP"; then
   6985   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6986 else
   6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6988 for as_dir in $PATH
   6989 do
   6990   IFS=$as_save_IFS
   6991   test -z "$as_dir" && as_dir=.
   6992   for ac_exec_ext in '' $ac_executable_extensions; do
   6993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6994     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6995     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6996     break 2
   6997   fi
   6998 done
   6999 done
   7000 IFS=$as_save_IFS
   7001 
   7002 fi
   7003 fi
   7004 STRIP=$ac_cv_prog_STRIP
   7005 if test -n "$STRIP"; then
   7006   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7007 $as_echo "$STRIP" >&6; }
   7008 else
   7009   { $as_echo "$as_me:$LINENO: result: no" >&5
   7010 $as_echo "no" >&6; }
   7011 fi
   7012 
   7013 
   7014 fi
   7015 if test -z "$ac_cv_prog_STRIP"; then
   7016   ac_ct_STRIP=$STRIP
   7017   # Extract the first word of "strip", so it can be a program name with args.
   7018 set dummy strip; ac_word=$2
   7019 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7020 $as_echo_n "checking for $ac_word... " >&6; }
   7021 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7022   $as_echo_n "(cached) " >&6
   7023 else
   7024   if test -n "$ac_ct_STRIP"; then
   7025   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7026 else
   7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7028 for as_dir in $PATH
   7029 do
   7030   IFS=$as_save_IFS
   7031   test -z "$as_dir" && as_dir=.
   7032   for ac_exec_ext in '' $ac_executable_extensions; do
   7033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7034     ac_cv_prog_ac_ct_STRIP="strip"
   7035     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7036     break 2
   7037   fi
   7038 done
   7039 done
   7040 IFS=$as_save_IFS
   7041 
   7042 fi
   7043 fi
   7044 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7045 if test -n "$ac_ct_STRIP"; then
   7046   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7047 $as_echo "$ac_ct_STRIP" >&6; }
   7048 else
   7049   { $as_echo "$as_me:$LINENO: result: no" >&5
   7050 $as_echo "no" >&6; }
   7051 fi
   7052 
   7053   if test "x$ac_ct_STRIP" = x; then
   7054     STRIP=":"
   7055   else
   7056     case $cross_compiling:$ac_tool_warned in
   7057 yes:)
   7058 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7060 ac_tool_warned=yes ;;
   7061 esac
   7062     STRIP=$ac_ct_STRIP
   7063   fi
   7064 else
   7065   STRIP="$ac_cv_prog_STRIP"
   7066 fi
   7067 
   7068 
   7069 old_CC="$CC"
   7070 old_CFLAGS="$CFLAGS"
   7071 
   7072 # Set sane defaults for various variables
   7073 test -z "$AR" && AR=ar
   7074 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7075 test -z "$AS" && AS=as
   7076 test -z "$CC" && CC=cc
   7077 test -z "$LTCC" && LTCC=$CC
   7078 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7079 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7080 test -z "$LD" && LD=ld
   7081 test -z "$LN_S" && LN_S="ln -s"
   7082 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7083 test -z "$NM" && NM=nm
   7084 test -z "$SED" && SED=sed
   7085 test -z "$OBJDUMP" && OBJDUMP=objdump
   7086 test -z "$RANLIB" && RANLIB=:
   7087 test -z "$STRIP" && STRIP=:
   7088 test -z "$ac_objext" && ac_objext=o
   7089 
   7090 # Determine commands to create old-style static archives.
   7091 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7092 old_postinstall_cmds='chmod 644 $oldlib'
   7093 old_postuninstall_cmds=
   7094 
   7095 if test -n "$RANLIB"; then
   7096   case $host_os in
   7097   openbsd*)
   7098     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7099     ;;
   7100   *)
   7101     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7102     ;;
   7103   esac
   7104   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7105 fi
   7106 
   7107 for cc_temp in $compiler""; do
   7108   case $cc_temp in
   7109     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7110     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7111     \-*) ;;
   7112     *) break;;
   7113   esac
   7114 done
   7115 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7116 
   7117 
   7118 # Only perform the check for file, if the check method requires it
   7119 case $deplibs_check_method in
   7120 file_magic*)
   7121   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7122     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7123 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7124 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7125   $as_echo_n "(cached) " >&6
   7126 else
   7127   case $MAGIC_CMD in
   7128 [\\/*] |  ?:[\\/]*)
   7129   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7130   ;;
   7131 *)
   7132   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7133   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7134   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7135   for ac_dir in $ac_dummy; do
   7136     IFS="$lt_save_ifs"
   7137     test -z "$ac_dir" && ac_dir=.
   7138     if test -f $ac_dir/${ac_tool_prefix}file; then
   7139       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7140       if test -n "$file_magic_test_file"; then
   7141 	case $deplibs_check_method in
   7142 	"file_magic "*)
   7143 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7144 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7145 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7146 	    $EGREP "$file_magic_regex" > /dev/null; then
   7147 	    :
   7148 	  else
   7149 	    cat <<EOF 1>&2
   7150 
   7151 *** Warning: the command libtool uses to detect shared libraries,
   7152 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7153 *** The result is that libtool may fail to recognize shared libraries
   7154 *** as such.  This will affect the creation of libtool libraries that
   7155 *** depend on shared libraries, but programs linked with such libtool
   7156 *** libraries will work regardless of this problem.  Nevertheless, you
   7157 *** may want to report the problem to your system manager and/or to
   7158 *** bug-libtool@gnu.org
   7159 
   7160 EOF
   7161 	  fi ;;
   7162 	esac
   7163       fi
   7164       break
   7165     fi
   7166   done
   7167   IFS="$lt_save_ifs"
   7168   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7169   ;;
   7170 esac
   7171 fi
   7172 
   7173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7174 if test -n "$MAGIC_CMD"; then
   7175   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7176 $as_echo "$MAGIC_CMD" >&6; }
   7177 else
   7178   { $as_echo "$as_me:$LINENO: result: no" >&5
   7179 $as_echo "no" >&6; }
   7180 fi
   7181 
   7182 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7183   if test -n "$ac_tool_prefix"; then
   7184     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7185 $as_echo_n "checking for file... " >&6; }
   7186 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7187   $as_echo_n "(cached) " >&6
   7188 else
   7189   case $MAGIC_CMD in
   7190 [\\/*] |  ?:[\\/]*)
   7191   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7192   ;;
   7193 *)
   7194   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7195   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7196   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7197   for ac_dir in $ac_dummy; do
   7198     IFS="$lt_save_ifs"
   7199     test -z "$ac_dir" && ac_dir=.
   7200     if test -f $ac_dir/file; then
   7201       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7202       if test -n "$file_magic_test_file"; then
   7203 	case $deplibs_check_method in
   7204 	"file_magic "*)
   7205 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7206 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7207 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7208 	    $EGREP "$file_magic_regex" > /dev/null; then
   7209 	    :
   7210 	  else
   7211 	    cat <<EOF 1>&2
   7212 
   7213 *** Warning: the command libtool uses to detect shared libraries,
   7214 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7215 *** The result is that libtool may fail to recognize shared libraries
   7216 *** as such.  This will affect the creation of libtool libraries that
   7217 *** depend on shared libraries, but programs linked with such libtool
   7218 *** libraries will work regardless of this problem.  Nevertheless, you
   7219 *** may want to report the problem to your system manager and/or to
   7220 *** bug-libtool@gnu.org
   7221 
   7222 EOF
   7223 	  fi ;;
   7224 	esac
   7225       fi
   7226       break
   7227     fi
   7228   done
   7229   IFS="$lt_save_ifs"
   7230   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7231   ;;
   7232 esac
   7233 fi
   7234 
   7235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7236 if test -n "$MAGIC_CMD"; then
   7237   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7238 $as_echo "$MAGIC_CMD" >&6; }
   7239 else
   7240   { $as_echo "$as_me:$LINENO: result: no" >&5
   7241 $as_echo "no" >&6; }
   7242 fi
   7243 
   7244   else
   7245     MAGIC_CMD=:
   7246   fi
   7247 fi
   7248 
   7249   fi
   7250   ;;
   7251 esac
   7252 
   7253 
   7254   case $host_os in
   7255     rhapsody* | darwin*)
   7256     if test -n "$ac_tool_prefix"; then
   7257   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7258 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7260 $as_echo_n "checking for $ac_word... " >&6; }
   7261 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7262   $as_echo_n "(cached) " >&6
   7263 else
   7264   if test -n "$DSYMUTIL"; then
   7265   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7266 else
   7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7268 for as_dir in $PATH
   7269 do
   7270   IFS=$as_save_IFS
   7271   test -z "$as_dir" && as_dir=.
   7272   for ac_exec_ext in '' $ac_executable_extensions; do
   7273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7274     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7275     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7276     break 2
   7277   fi
   7278 done
   7279 done
   7280 IFS=$as_save_IFS
   7281 
   7282 fi
   7283 fi
   7284 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7285 if test -n "$DSYMUTIL"; then
   7286   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7287 $as_echo "$DSYMUTIL" >&6; }
   7288 else
   7289   { $as_echo "$as_me:$LINENO: result: no" >&5
   7290 $as_echo "no" >&6; }
   7291 fi
   7292 
   7293 
   7294 fi
   7295 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7296   ac_ct_DSYMUTIL=$DSYMUTIL
   7297   # Extract the first word of "dsymutil", so it can be a program name with args.
   7298 set dummy dsymutil; ac_word=$2
   7299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7300 $as_echo_n "checking for $ac_word... " >&6; }
   7301 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7302   $as_echo_n "(cached) " >&6
   7303 else
   7304   if test -n "$ac_ct_DSYMUTIL"; then
   7305   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7306 else
   7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7308 for as_dir in $PATH
   7309 do
   7310   IFS=$as_save_IFS
   7311   test -z "$as_dir" && as_dir=.
   7312   for ac_exec_ext in '' $ac_executable_extensions; do
   7313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7314     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7315     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7316     break 2
   7317   fi
   7318 done
   7319 done
   7320 IFS=$as_save_IFS
   7321 
   7322 fi
   7323 fi
   7324 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7325 if test -n "$ac_ct_DSYMUTIL"; then
   7326   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7327 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7328 else
   7329   { $as_echo "$as_me:$LINENO: result: no" >&5
   7330 $as_echo "no" >&6; }
   7331 fi
   7332 
   7333   if test "x$ac_ct_DSYMUTIL" = x; then
   7334     DSYMUTIL=":"
   7335   else
   7336     case $cross_compiling:$ac_tool_warned in
   7337 yes:)
   7338 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7340 ac_tool_warned=yes ;;
   7341 esac
   7342     DSYMUTIL=$ac_ct_DSYMUTIL
   7343   fi
   7344 else
   7345   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7346 fi
   7347 
   7348     if test -n "$ac_tool_prefix"; then
   7349   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7350 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7352 $as_echo_n "checking for $ac_word... " >&6; }
   7353 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7354   $as_echo_n "(cached) " >&6
   7355 else
   7356   if test -n "$NMEDIT"; then
   7357   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7358 else
   7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7360 for as_dir in $PATH
   7361 do
   7362   IFS=$as_save_IFS
   7363   test -z "$as_dir" && as_dir=.
   7364   for ac_exec_ext in '' $ac_executable_extensions; do
   7365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7366     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7367     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7368     break 2
   7369   fi
   7370 done
   7371 done
   7372 IFS=$as_save_IFS
   7373 
   7374 fi
   7375 fi
   7376 NMEDIT=$ac_cv_prog_NMEDIT
   7377 if test -n "$NMEDIT"; then
   7378   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7379 $as_echo "$NMEDIT" >&6; }
   7380 else
   7381   { $as_echo "$as_me:$LINENO: result: no" >&5
   7382 $as_echo "no" >&6; }
   7383 fi
   7384 
   7385 
   7386 fi
   7387 if test -z "$ac_cv_prog_NMEDIT"; then
   7388   ac_ct_NMEDIT=$NMEDIT
   7389   # Extract the first word of "nmedit", so it can be a program name with args.
   7390 set dummy nmedit; ac_word=$2
   7391 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7392 $as_echo_n "checking for $ac_word... " >&6; }
   7393 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   if test -n "$ac_ct_NMEDIT"; then
   7397   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7398 else
   7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7400 for as_dir in $PATH
   7401 do
   7402   IFS=$as_save_IFS
   7403   test -z "$as_dir" && as_dir=.
   7404   for ac_exec_ext in '' $ac_executable_extensions; do
   7405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7406     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7407     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7408     break 2
   7409   fi
   7410 done
   7411 done
   7412 IFS=$as_save_IFS
   7413 
   7414 fi
   7415 fi
   7416 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7417 if test -n "$ac_ct_NMEDIT"; then
   7418   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7419 $as_echo "$ac_ct_NMEDIT" >&6; }
   7420 else
   7421   { $as_echo "$as_me:$LINENO: result: no" >&5
   7422 $as_echo "no" >&6; }
   7423 fi
   7424 
   7425   if test "x$ac_ct_NMEDIT" = x; then
   7426     NMEDIT=":"
   7427   else
   7428     case $cross_compiling:$ac_tool_warned in
   7429 yes:)
   7430 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7432 ac_tool_warned=yes ;;
   7433 esac
   7434     NMEDIT=$ac_ct_NMEDIT
   7435   fi
   7436 else
   7437   NMEDIT="$ac_cv_prog_NMEDIT"
   7438 fi
   7439 
   7440 
   7441     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7442 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7443 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7444   $as_echo_n "(cached) " >&6
   7445 else
   7446   lt_cv_apple_cc_single_mod=no
   7447       if test -z "${LT_MULTI_MODULE}"; then
   7448    # By default we will add the -single_module flag. You can override
   7449    # by either setting the environment variable LT_MULTI_MODULE
   7450    # non-empty at configure time, or by adding -multi_module to the
   7451    # link flags.
   7452    echo "int foo(void){return 1;}" > conftest.c
   7453    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7454      -dynamiclib ${wl}-single_module conftest.c
   7455    if test -f libconftest.dylib; then
   7456      lt_cv_apple_cc_single_mod=yes
   7457      rm -rf libconftest.dylib*
   7458    fi
   7459    rm conftest.c
   7460       fi
   7461 fi
   7462 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7463 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7464     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7465 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7466 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7467   $as_echo_n "(cached) " >&6
   7468 else
   7469   lt_cv_ld_exported_symbols_list=no
   7470       save_LDFLAGS=$LDFLAGS
   7471       echo "_main" > conftest.sym
   7472       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7473       cat >conftest.$ac_ext <<_ACEOF
   7474 /* confdefs.h.  */
   7475 _ACEOF
   7476 cat confdefs.h >>conftest.$ac_ext
   7477 cat >>conftest.$ac_ext <<_ACEOF
   7478 /* end confdefs.h.  */
   7479 
   7480 int
   7481 main ()
   7482 {
   7483 
   7484   ;
   7485   return 0;
   7486 }
   7487 _ACEOF
   7488 rm -f conftest.$ac_objext conftest$ac_exeext
   7489 if { (ac_try="$ac_link"
   7490 case "(($ac_try" in
   7491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7492   *) ac_try_echo=$ac_try;;
   7493 esac
   7494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7495 $as_echo "$ac_try_echo") >&5
   7496   (eval "$ac_link") 2>conftest.er1
   7497   ac_status=$?
   7498   grep -v '^ *+' conftest.er1 >conftest.err
   7499   rm -f conftest.er1
   7500   cat conftest.err >&5
   7501   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7502   (exit $ac_status); } && {
   7503 	 test -z "$ac_c_werror_flag" ||
   7504 	 test ! -s conftest.err
   7505        } && test -s conftest$ac_exeext && {
   7506 	 test "$cross_compiling" = yes ||
   7507 	 $as_test_x conftest$ac_exeext
   7508        }; then
   7509   lt_cv_ld_exported_symbols_list=yes
   7510 else
   7511   $as_echo "$as_me: failed program was:" >&5
   7512 sed 's/^/| /' conftest.$ac_ext >&5
   7513 
   7514 	lt_cv_ld_exported_symbols_list=no
   7515 fi
   7516 
   7517 rm -rf conftest.dSYM
   7518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7519       conftest$ac_exeext conftest.$ac_ext
   7520    LDFLAGS="$save_LDFLAGS"
   7521 
   7522 fi
   7523 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7525     case $host_os in
   7526     rhapsody* | darwin1.[0123])
   7527       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7528     darwin1.*)
   7529      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7530     darwin*)
   7531       # if running on 10.5 or later, the deployment target defaults
   7532       # to the OS version, if on x86, and 10.4, the deployment
   7533       # target defaults to 10.4. Don't you love it?
   7534       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7535    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7536      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7537    10.[012]*)
   7538      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7539    10.*)
   7540      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7541       esac
   7542     ;;
   7543   esac
   7544     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7545       _lt_dar_single_mod='$single_module'
   7546     fi
   7547     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7548       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7549     else
   7550       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7551     fi
   7552     if test "$DSYMUTIL" != ":"; then
   7553       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7554     else
   7555       _lt_dsymutil=
   7556     fi
   7557     ;;
   7558   esac
   7559 
   7560 
   7561 enable_dlopen=no
   7562 enable_win32_dll=no
   7563 
   7564 # Check whether --enable-libtool-lock was given.
   7565 if test "${enable_libtool_lock+set}" = set; then
   7566   enableval=$enable_libtool_lock;
   7567 fi
   7568 
   7569 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7570 
   7571 
   7572 # Check whether --with-pic was given.
   7573 if test "${with_pic+set}" = set; then
   7574   withval=$with_pic; pic_mode="$withval"
   7575 else
   7576   pic_mode=default
   7577 fi
   7578 
   7579 test -z "$pic_mode" && pic_mode=default
   7580 
   7581 # Use C for the default configuration in the libtool script
   7582 tagname=
   7583 lt_save_CC="$CC"
   7584 ac_ext=c
   7585 ac_cpp='$CPP $CPPFLAGS'
   7586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7589 
   7590 
   7591 # Source file extension for C test sources.
   7592 ac_ext=c
   7593 
   7594 # Object file extension for compiled C test sources.
   7595 objext=o
   7596 objext=$objext
   7597 
   7598 # Code to be used in simple compile tests
   7599 lt_simple_compile_test_code="int some_variable = 0;"
   7600 
   7601 # Code to be used in simple link tests
   7602 lt_simple_link_test_code='int main(){return(0);}'
   7603 
   7604 
   7605 # If no C compiler was specified, use CC.
   7606 LTCC=${LTCC-"$CC"}
   7607 
   7608 # If no C compiler flags were specified, use CFLAGS.
   7609 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7610 
   7611 # Allow CC to be a program name with arguments.
   7612 compiler=$CC
   7613 
   7614 
   7615 # save warnings/boilerplate of simple test code
   7616 ac_outfile=conftest.$ac_objext
   7617 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7618 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7619 _lt_compiler_boilerplate=`cat conftest.err`
   7620 $rm conftest*
   7621 
   7622 ac_outfile=conftest.$ac_objext
   7623 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7624 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7625 _lt_linker_boilerplate=`cat conftest.err`
   7626 $rm -r conftest*
   7627 
   7628 
   7629 
   7630 lt_prog_compiler_no_builtin_flag=
   7631 
   7632 if test "$GCC" = yes; then
   7633   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7634 
   7635 
   7636 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7637 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7638 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7639   $as_echo_n "(cached) " >&6
   7640 else
   7641   lt_cv_prog_compiler_rtti_exceptions=no
   7642   ac_outfile=conftest.$ac_objext
   7643    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7644    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7645    # Insert the option either (1) after the last *FLAGS variable, or
   7646    # (2) before a word containing "conftest.", or (3) at the end.
   7647    # Note that $ac_compile itself does not contain backslashes and begins
   7648    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7649    # The option is referenced via a variable to avoid confusing sed.
   7650    lt_compile=`echo "$ac_compile" | $SED \
   7651    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7652    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7653    -e 's:$: $lt_compiler_flag:'`
   7654    (eval echo "\"\$as_me:7654: $lt_compile\"" >&5)
   7655    (eval "$lt_compile" 2>conftest.err)
   7656    ac_status=$?
   7657    cat conftest.err >&5
   7658    echo "$as_me:7658: \$? = $ac_status" >&5
   7659    if (exit $ac_status) && test -s "$ac_outfile"; then
   7660      # The compiler can only warn and ignore the option if not recognized
   7661      # So say no if there are warnings other than the usual output.
   7662      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7663      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7664      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7665        lt_cv_prog_compiler_rtti_exceptions=yes
   7666      fi
   7667    fi
   7668    $rm conftest*
   7669 
   7670 fi
   7671 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7672 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7673 
   7674 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7675     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7676 else
   7677     :
   7678 fi
   7679 
   7680 fi
   7681 
   7682 lt_prog_compiler_wl=
   7683 lt_prog_compiler_pic=
   7684 lt_prog_compiler_static=
   7685 
   7686 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7687 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7688 
   7689   if test "$GCC" = yes; then
   7690     lt_prog_compiler_wl='-Wl,'
   7691     lt_prog_compiler_static='-static'
   7692 
   7693     case $host_os in
   7694       aix*)
   7695       # All AIX code is PIC.
   7696       if test "$host_cpu" = ia64; then
   7697 	# AIX 5 now supports IA64 processor
   7698 	lt_prog_compiler_static='-Bstatic'
   7699       fi
   7700       ;;
   7701 
   7702     amigaos*)
   7703       # FIXME: we need at least 68020 code to build shared libraries, but
   7704       # adding the `-m68020' flag to GCC prevents building anything better,
   7705       # like `-m68040'.
   7706       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7707       ;;
   7708 
   7709     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7710       # PIC is the default for these OSes.
   7711       ;;
   7712 
   7713     mingw* | cygwin* | pw32* | os2*)
   7714       # This hack is so that the source file can tell whether it is being
   7715       # built for inclusion in a dll (and should export symbols for example).
   7716       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7717       # (--disable-auto-import) libraries
   7718       lt_prog_compiler_pic='-DDLL_EXPORT'
   7719       ;;
   7720 
   7721     darwin* | rhapsody*)
   7722       # PIC is the default on this platform
   7723       # Common symbols not allowed in MH_DYLIB files
   7724       lt_prog_compiler_pic='-fno-common'
   7725       ;;
   7726 
   7727     interix[3-9]*)
   7728       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7729       # Instead, we relocate shared libraries at runtime.
   7730       ;;
   7731 
   7732     msdosdjgpp*)
   7733       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7734       # on systems that don't support them.
   7735       lt_prog_compiler_can_build_shared=no
   7736       enable_shared=no
   7737       ;;
   7738 
   7739     sysv4*MP*)
   7740       if test -d /usr/nec; then
   7741 	lt_prog_compiler_pic=-Kconform_pic
   7742       fi
   7743       ;;
   7744 
   7745     hpux*)
   7746       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7747       # not for PA HP-UX.
   7748       case $host_cpu in
   7749       hppa*64*|ia64*)
   7750 	# +Z the default
   7751 	;;
   7752       *)
   7753 	lt_prog_compiler_pic='-fPIC'
   7754 	;;
   7755       esac
   7756       ;;
   7757 
   7758     *)
   7759       lt_prog_compiler_pic='-fPIC'
   7760       ;;
   7761     esac
   7762   else
   7763     # PORTME Check for flag to pass linker flags through the system compiler.
   7764     case $host_os in
   7765     aix*)
   7766       lt_prog_compiler_wl='-Wl,'
   7767       if test "$host_cpu" = ia64; then
   7768 	# AIX 5 now supports IA64 processor
   7769 	lt_prog_compiler_static='-Bstatic'
   7770       else
   7771 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7772       fi
   7773       ;;
   7774       darwin*)
   7775         # PIC is the default on this platform
   7776         # Common symbols not allowed in MH_DYLIB files
   7777        case $cc_basename in
   7778          xlc*)
   7779          lt_prog_compiler_pic='-qnocommon'
   7780          lt_prog_compiler_wl='-Wl,'
   7781          ;;
   7782        esac
   7783        ;;
   7784 
   7785     mingw* | cygwin* | pw32* | os2*)
   7786       # This hack is so that the source file can tell whether it is being
   7787       # built for inclusion in a dll (and should export symbols for example).
   7788       lt_prog_compiler_pic='-DDLL_EXPORT'
   7789       ;;
   7790 
   7791     hpux9* | hpux10* | hpux11*)
   7792       lt_prog_compiler_wl='-Wl,'
   7793       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7794       # not for PA HP-UX.
   7795       case $host_cpu in
   7796       hppa*64*|ia64*)
   7797 	# +Z the default
   7798 	;;
   7799       *)
   7800 	lt_prog_compiler_pic='+Z'
   7801 	;;
   7802       esac
   7803       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7804       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7805       ;;
   7806 
   7807     irix5* | irix6* | nonstopux*)
   7808       lt_prog_compiler_wl='-Wl,'
   7809       # PIC (with -KPIC) is the default.
   7810       lt_prog_compiler_static='-non_shared'
   7811       ;;
   7812 
   7813     newsos6)
   7814       lt_prog_compiler_pic='-KPIC'
   7815       lt_prog_compiler_static='-Bstatic'
   7816       ;;
   7817 
   7818     linux* | k*bsd*-gnu)
   7819       case $cc_basename in
   7820       icc* | ecc*)
   7821 	lt_prog_compiler_wl='-Wl,'
   7822 	lt_prog_compiler_pic='-KPIC'
   7823 	lt_prog_compiler_static='-static'
   7824         ;;
   7825       pgcc* | pgf77* | pgf90* | pgf95*)
   7826         # Portland Group compilers (*not* the Pentium gcc compiler,
   7827 	# which looks to be a dead project)
   7828 	lt_prog_compiler_wl='-Wl,'
   7829 	lt_prog_compiler_pic='-fpic'
   7830 	lt_prog_compiler_static='-Bstatic'
   7831         ;;
   7832       ccc*)
   7833         lt_prog_compiler_wl='-Wl,'
   7834         # All Alpha code is PIC.
   7835         lt_prog_compiler_static='-non_shared'
   7836         ;;
   7837       *)
   7838         case `$CC -V 2>&1 | sed 5q` in
   7839 	*Sun\ C*)
   7840 	  # Sun C 5.9
   7841 	  lt_prog_compiler_pic='-KPIC'
   7842 	  lt_prog_compiler_static='-Bstatic'
   7843 	  lt_prog_compiler_wl='-Wl,'
   7844 	  ;;
   7845 	*Sun\ F*)
   7846 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7847 	  lt_prog_compiler_pic='-KPIC'
   7848 	  lt_prog_compiler_static='-Bstatic'
   7849 	  lt_prog_compiler_wl=''
   7850 	  ;;
   7851 	esac
   7852 	;;
   7853       esac
   7854       ;;
   7855 
   7856     osf3* | osf4* | osf5*)
   7857       lt_prog_compiler_wl='-Wl,'
   7858       # All OSF/1 code is PIC.
   7859       lt_prog_compiler_static='-non_shared'
   7860       ;;
   7861 
   7862     rdos*)
   7863       lt_prog_compiler_static='-non_shared'
   7864       ;;
   7865 
   7866     solaris*)
   7867       lt_prog_compiler_pic='-KPIC'
   7868       lt_prog_compiler_static='-Bstatic'
   7869       case $cc_basename in
   7870       f77* | f90* | f95*)
   7871 	lt_prog_compiler_wl='-Qoption ld ';;
   7872       *)
   7873 	lt_prog_compiler_wl='-Wl,';;
   7874       esac
   7875       ;;
   7876 
   7877     sunos4*)
   7878       lt_prog_compiler_wl='-Qoption ld '
   7879       lt_prog_compiler_pic='-PIC'
   7880       lt_prog_compiler_static='-Bstatic'
   7881       ;;
   7882 
   7883     sysv4 | sysv4.2uw2* | sysv4.3*)
   7884       lt_prog_compiler_wl='-Wl,'
   7885       lt_prog_compiler_pic='-KPIC'
   7886       lt_prog_compiler_static='-Bstatic'
   7887       ;;
   7888 
   7889     sysv4*MP*)
   7890       if test -d /usr/nec ;then
   7891 	lt_prog_compiler_pic='-Kconform_pic'
   7892 	lt_prog_compiler_static='-Bstatic'
   7893       fi
   7894       ;;
   7895 
   7896     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7897       lt_prog_compiler_wl='-Wl,'
   7898       lt_prog_compiler_pic='-KPIC'
   7899       lt_prog_compiler_static='-Bstatic'
   7900       ;;
   7901 
   7902     unicos*)
   7903       lt_prog_compiler_wl='-Wl,'
   7904       lt_prog_compiler_can_build_shared=no
   7905       ;;
   7906 
   7907     uts4*)
   7908       lt_prog_compiler_pic='-pic'
   7909       lt_prog_compiler_static='-Bstatic'
   7910       ;;
   7911 
   7912     *)
   7913       lt_prog_compiler_can_build_shared=no
   7914       ;;
   7915     esac
   7916   fi
   7917 
   7918 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7919 $as_echo "$lt_prog_compiler_pic" >&6; }
   7920 
   7921 #
   7922 # Check to make sure the PIC flag actually works.
   7923 #
   7924 if test -n "$lt_prog_compiler_pic"; then
   7925 
   7926 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7927 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7928 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7929   $as_echo_n "(cached) " >&6
   7930 else
   7931   lt_cv_prog_compiler_pic_works=no
   7932   ac_outfile=conftest.$ac_objext
   7933    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7934    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7935    # Insert the option either (1) after the last *FLAGS variable, or
   7936    # (2) before a word containing "conftest.", or (3) at the end.
   7937    # Note that $ac_compile itself does not contain backslashes and begins
   7938    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7939    # The option is referenced via a variable to avoid confusing sed.
   7940    lt_compile=`echo "$ac_compile" | $SED \
   7941    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7942    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7943    -e 's:$: $lt_compiler_flag:'`
   7944    (eval echo "\"\$as_me:7944: $lt_compile\"" >&5)
   7945    (eval "$lt_compile" 2>conftest.err)
   7946    ac_status=$?
   7947    cat conftest.err >&5
   7948    echo "$as_me:7948: \$? = $ac_status" >&5
   7949    if (exit $ac_status) && test -s "$ac_outfile"; then
   7950      # The compiler can only warn and ignore the option if not recognized
   7951      # So say no if there are warnings other than the usual output.
   7952      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7953      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7954      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7955        lt_cv_prog_compiler_pic_works=yes
   7956      fi
   7957    fi
   7958    $rm conftest*
   7959 
   7960 fi
   7961 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7962 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7963 
   7964 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7965     case $lt_prog_compiler_pic in
   7966      "" | " "*) ;;
   7967      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7968      esac
   7969 else
   7970     lt_prog_compiler_pic=
   7971      lt_prog_compiler_can_build_shared=no
   7972 fi
   7973 
   7974 fi
   7975 case $host_os in
   7976   # For platforms which do not support PIC, -DPIC is meaningless:
   7977   *djgpp*)
   7978     lt_prog_compiler_pic=
   7979     ;;
   7980   *)
   7981     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7982     ;;
   7983 esac
   7984 
   7985 #
   7986 # Check to make sure the static flag actually works.
   7987 #
   7988 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7989 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7990 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7991 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7992   $as_echo_n "(cached) " >&6
   7993 else
   7994   lt_cv_prog_compiler_static_works=no
   7995    save_LDFLAGS="$LDFLAGS"
   7996    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7997    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7998    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7999      # The linker can only warn and ignore the option if not recognized
   8000      # So say no if there are warnings
   8001      if test -s conftest.err; then
   8002        # Append any errors to the config.log.
   8003        cat conftest.err 1>&5
   8004        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8005        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8006        if diff conftest.exp conftest.er2 >/dev/null; then
   8007          lt_cv_prog_compiler_static_works=yes
   8008        fi
   8009      else
   8010        lt_cv_prog_compiler_static_works=yes
   8011      fi
   8012    fi
   8013    $rm -r conftest*
   8014    LDFLAGS="$save_LDFLAGS"
   8015 
   8016 fi
   8017 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8018 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8019 
   8020 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8021     :
   8022 else
   8023     lt_prog_compiler_static=
   8024 fi
   8025 
   8026 
   8027 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8028 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8029 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8030   $as_echo_n "(cached) " >&6
   8031 else
   8032   lt_cv_prog_compiler_c_o=no
   8033    $rm -r conftest 2>/dev/null
   8034    mkdir conftest
   8035    cd conftest
   8036    mkdir out
   8037    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8038 
   8039    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8040    # Insert the option either (1) after the last *FLAGS variable, or
   8041    # (2) before a word containing "conftest.", or (3) at the end.
   8042    # Note that $ac_compile itself does not contain backslashes and begins
   8043    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8044    lt_compile=`echo "$ac_compile" | $SED \
   8045    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8046    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8047    -e 's:$: $lt_compiler_flag:'`
   8048    (eval echo "\"\$as_me:8048: $lt_compile\"" >&5)
   8049    (eval "$lt_compile" 2>out/conftest.err)
   8050    ac_status=$?
   8051    cat out/conftest.err >&5
   8052    echo "$as_me:8052: \$? = $ac_status" >&5
   8053    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8054    then
   8055      # The compiler can only warn and ignore the option if not recognized
   8056      # So say no if there are warnings
   8057      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8058      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8059      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8060        lt_cv_prog_compiler_c_o=yes
   8061      fi
   8062    fi
   8063    chmod u+w . 2>&5
   8064    $rm conftest*
   8065    # SGI C++ compiler will create directory out/ii_files/ for
   8066    # template instantiation
   8067    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8068    $rm out/* && rmdir out
   8069    cd ..
   8070    rmdir conftest
   8071    $rm conftest*
   8072 
   8073 fi
   8074 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8075 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8076 
   8077 
   8078 hard_links="nottested"
   8079 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8080   # do not overwrite the value of need_locks provided by the user
   8081   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8082 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8083   hard_links=yes
   8084   $rm conftest*
   8085   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8086   touch conftest.a
   8087   ln conftest.a conftest.b 2>&5 || hard_links=no
   8088   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8089   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8090 $as_echo "$hard_links" >&6; }
   8091   if test "$hard_links" = no; then
   8092     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8093 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8094     need_locks=warn
   8095   fi
   8096 else
   8097   need_locks=no
   8098 fi
   8099 
   8100 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8101 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8102 
   8103   runpath_var=
   8104   allow_undefined_flag=
   8105   enable_shared_with_static_runtimes=no
   8106   archive_cmds=
   8107   archive_expsym_cmds=
   8108   old_archive_From_new_cmds=
   8109   old_archive_from_expsyms_cmds=
   8110   export_dynamic_flag_spec=
   8111   whole_archive_flag_spec=
   8112   thread_safe_flag_spec=
   8113   hardcode_libdir_flag_spec=
   8114   hardcode_libdir_flag_spec_ld=
   8115   hardcode_libdir_separator=
   8116   hardcode_direct=no
   8117   hardcode_minus_L=no
   8118   hardcode_shlibpath_var=unsupported
   8119   link_all_deplibs=unknown
   8120   hardcode_automatic=no
   8121   module_cmds=
   8122   module_expsym_cmds=
   8123   always_export_symbols=no
   8124   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8125   # include_expsyms should be a list of space-separated symbols to be *always*
   8126   # included in the symbol list
   8127   include_expsyms=
   8128   # exclude_expsyms can be an extended regexp of symbols to exclude
   8129   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8130   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8131   # as well as any symbol that contains `d'.
   8132   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8133   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8134   # platforms (ab)use it in PIC code, but their linkers get confused if
   8135   # the symbol is explicitly referenced.  Since portable code cannot
   8136   # rely on this symbol name, it's probably fine to never include it in
   8137   # preloaded symbol tables.
   8138   # Exclude shared library initialization/finalization symbols.
   8139   extract_expsyms_cmds=
   8140   # Just being paranoid about ensuring that cc_basename is set.
   8141   for cc_temp in $compiler""; do
   8142   case $cc_temp in
   8143     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8144     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8145     \-*) ;;
   8146     *) break;;
   8147   esac
   8148 done
   8149 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8150 
   8151   case $host_os in
   8152   cygwin* | mingw* | pw32*)
   8153     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8154     # When not using gcc, we currently assume that we are using
   8155     # Microsoft Visual C++.
   8156     if test "$GCC" != yes; then
   8157       with_gnu_ld=no
   8158     fi
   8159     ;;
   8160   interix*)
   8161     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8162     with_gnu_ld=yes
   8163     ;;
   8164   openbsd*)
   8165     with_gnu_ld=no
   8166     ;;
   8167   esac
   8168 
   8169   ld_shlibs=yes
   8170   if test "$with_gnu_ld" = yes; then
   8171     # If archive_cmds runs LD, not CC, wlarc should be empty
   8172     wlarc='${wl}'
   8173 
   8174     # Set some defaults for GNU ld with shared library support. These
   8175     # are reset later if shared libraries are not supported. Putting them
   8176     # here allows them to be overridden if necessary.
   8177     runpath_var=LD_RUN_PATH
   8178     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8179     export_dynamic_flag_spec='${wl}--export-dynamic'
   8180     # ancient GNU ld didn't support --whole-archive et. al.
   8181     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8182 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8183       else
   8184   	whole_archive_flag_spec=
   8185     fi
   8186     supports_anon_versioning=no
   8187     case `$LD -v 2>/dev/null` in
   8188       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8189       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8190       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8191       *\ 2.11.*) ;; # other 2.11 versions
   8192       *) supports_anon_versioning=yes ;;
   8193     esac
   8194 
   8195     # See if GNU ld supports shared libraries.
   8196     case $host_os in
   8197     aix[3-9]*)
   8198       # On AIX/PPC, the GNU linker is very broken
   8199       if test "$host_cpu" != ia64; then
   8200 	ld_shlibs=no
   8201 	cat <<EOF 1>&2
   8202 
   8203 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8204 *** to be unable to reliably create shared libraries on AIX.
   8205 *** Therefore, libtool is disabling shared libraries support.  If you
   8206 *** really care for shared libraries, you may want to modify your PATH
   8207 *** so that a non-GNU linker is found, and then restart.
   8208 
   8209 EOF
   8210       fi
   8211       ;;
   8212 
   8213     amigaos*)
   8214       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)'
   8215       hardcode_libdir_flag_spec='-L$libdir'
   8216       hardcode_minus_L=yes
   8217 
   8218       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8219       # that the semantics of dynamic libraries on AmigaOS, at least up
   8220       # to version 4, is to share data among multiple programs linked
   8221       # with the same dynamic library.  Since this doesn't match the
   8222       # behavior of shared libraries on other platforms, we can't use
   8223       # them.
   8224       ld_shlibs=no
   8225       ;;
   8226 
   8227     beos*)
   8228       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8229 	allow_undefined_flag=unsupported
   8230 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8231 	# support --undefined.  This deserves some investigation.  FIXME
   8232 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8233       else
   8234 	ld_shlibs=no
   8235       fi
   8236       ;;
   8237 
   8238     cygwin* | mingw* | pw32*)
   8239       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8240       # as there is no search path for DLLs.
   8241       hardcode_libdir_flag_spec='-L$libdir'
   8242       allow_undefined_flag=unsupported
   8243       always_export_symbols=no
   8244       enable_shared_with_static_runtimes=yes
   8245       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8246 
   8247       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8248         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8249 	# If the export-symbols file already is a .def file (1st line
   8250 	# is EXPORTS), use it as is; otherwise, prepend...
   8251 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8252 	  cp $export_symbols $output_objdir/$soname.def;
   8253 	else
   8254 	  echo EXPORTS > $output_objdir/$soname.def;
   8255 	  cat $export_symbols >> $output_objdir/$soname.def;
   8256 	fi~
   8257 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8258       else
   8259 	ld_shlibs=no
   8260       fi
   8261       ;;
   8262 
   8263     interix[3-9]*)
   8264       hardcode_direct=no
   8265       hardcode_shlibpath_var=no
   8266       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8267       export_dynamic_flag_spec='${wl}-E'
   8268       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8269       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8270       # default) and relocated if they conflict, which is a slow very memory
   8271       # consuming and fragmenting process.  To avoid this, we pick a random,
   8272       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8273       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8274       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8275       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'
   8276       ;;
   8277 
   8278     gnu* | linux* | k*bsd*-gnu)
   8279       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8280 	tmp_addflag=
   8281 	case $cc_basename,$host_cpu in
   8282 	pgcc*)				# Portland Group C compiler
   8283 	  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'
   8284 	  tmp_addflag=' $pic_flag'
   8285 	  ;;
   8286 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8287 	  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'
   8288 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8289 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8290 	  tmp_addflag=' -i_dynamic' ;;
   8291 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8292 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8293 	ifc* | ifort*)			# Intel Fortran compiler
   8294 	  tmp_addflag=' -nofor_main' ;;
   8295 	esac
   8296 	case `$CC -V 2>&1 | sed 5q` in
   8297 	*Sun\ C*)			# Sun C 5.9
   8298 	  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'
   8299 	  tmp_sharedflag='-G' ;;
   8300 	*Sun\ F*)			# Sun Fortran 8.3
   8301 	  tmp_sharedflag='-G' ;;
   8302 	*)
   8303 	  tmp_sharedflag='-shared' ;;
   8304 	esac
   8305 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8306 
   8307 	if test $supports_anon_versioning = yes; then
   8308 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8309   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8310   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8311 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8312 	fi
   8313       else
   8314 	ld_shlibs=no
   8315       fi
   8316       ;;
   8317 
   8318     netbsd*)
   8319       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8320 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8321 	wlarc=
   8322       else
   8323 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8324 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8325       fi
   8326       ;;
   8327 
   8328     solaris*)
   8329       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8330 	ld_shlibs=no
   8331 	cat <<EOF 1>&2
   8332 
   8333 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8334 *** create shared libraries on Solaris systems.  Therefore, libtool
   8335 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8336 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8337 *** your PATH or compiler configuration so that the native linker is
   8338 *** used, and then restart.
   8339 
   8340 EOF
   8341       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8342 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8343 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8344       else
   8345 	ld_shlibs=no
   8346       fi
   8347       ;;
   8348 
   8349     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8350       case `$LD -v 2>&1` in
   8351         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8352 	ld_shlibs=no
   8353 	cat <<_LT_EOF 1>&2
   8354 
   8355 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8356 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8357 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8358 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8359 *** your PATH or compiler configuration so that the native linker is
   8360 *** used, and then restart.
   8361 
   8362 _LT_EOF
   8363 	;;
   8364 	*)
   8365 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8366 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8367 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8368 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8369 	  else
   8370 	    ld_shlibs=no
   8371 	  fi
   8372 	;;
   8373       esac
   8374       ;;
   8375 
   8376     sunos4*)
   8377       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8378       wlarc=
   8379       hardcode_direct=yes
   8380       hardcode_shlibpath_var=no
   8381       ;;
   8382 
   8383     *)
   8384       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8385 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8386 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8387       else
   8388 	ld_shlibs=no
   8389       fi
   8390       ;;
   8391     esac
   8392 
   8393     if test "$ld_shlibs" = no; then
   8394       runpath_var=
   8395       hardcode_libdir_flag_spec=
   8396       export_dynamic_flag_spec=
   8397       whole_archive_flag_spec=
   8398     fi
   8399   else
   8400     # PORTME fill in a description of your system's linker (not GNU ld)
   8401     case $host_os in
   8402     aix3*)
   8403       allow_undefined_flag=unsupported
   8404       always_export_symbols=yes
   8405       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'
   8406       # Note: this linker hardcodes the directories in LIBPATH if there
   8407       # are no directories specified by -L.
   8408       hardcode_minus_L=yes
   8409       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8410 	# Neither direct hardcoding nor static linking is supported with a
   8411 	# broken collect2.
   8412 	hardcode_direct=unsupported
   8413       fi
   8414       ;;
   8415 
   8416     aix[4-9]*)
   8417       if test "$host_cpu" = ia64; then
   8418 	# On IA64, the linker does run time linking by default, so we don't
   8419 	# have to do anything special.
   8420 	aix_use_runtimelinking=no
   8421 	exp_sym_flag='-Bexport'
   8422 	no_entry_flag=""
   8423       else
   8424 	# If we're using GNU nm, then we don't want the "-C" option.
   8425 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8426 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8427 	  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'
   8428 	else
   8429 	  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'
   8430 	fi
   8431 	aix_use_runtimelinking=no
   8432 
   8433 	# Test if we are trying to use run time linking or normal
   8434 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8435 	# need to do runtime linking.
   8436 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8437 	  for ld_flag in $LDFLAGS; do
   8438   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8439   	    aix_use_runtimelinking=yes
   8440   	    break
   8441   	  fi
   8442 	  done
   8443 	  ;;
   8444 	esac
   8445 
   8446 	exp_sym_flag='-bexport'
   8447 	no_entry_flag='-bnoentry'
   8448       fi
   8449 
   8450       # When large executables or shared objects are built, AIX ld can
   8451       # have problems creating the table of contents.  If linking a library
   8452       # or program results in "error TOC overflow" add -mminimal-toc to
   8453       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8454       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8455 
   8456       archive_cmds=''
   8457       hardcode_direct=yes
   8458       hardcode_libdir_separator=':'
   8459       link_all_deplibs=yes
   8460 
   8461       if test "$GCC" = yes; then
   8462 	case $host_os in aix4.[012]|aix4.[012].*)
   8463 	# We only want to do this on AIX 4.2 and lower, the check
   8464 	# below for broken collect2 doesn't work under 4.3+
   8465 	  collect2name=`${CC} -print-prog-name=collect2`
   8466 	  if test -f "$collect2name" && \
   8467   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8468 	  then
   8469   	  # We have reworked collect2
   8470   	  :
   8471 	  else
   8472   	  # We have old collect2
   8473   	  hardcode_direct=unsupported
   8474   	  # It fails to find uninstalled libraries when the uninstalled
   8475   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8476   	  # to unsupported forces relinking
   8477   	  hardcode_minus_L=yes
   8478   	  hardcode_libdir_flag_spec='-L$libdir'
   8479   	  hardcode_libdir_separator=
   8480 	  fi
   8481 	  ;;
   8482 	esac
   8483 	shared_flag='-shared'
   8484 	if test "$aix_use_runtimelinking" = yes; then
   8485 	  shared_flag="$shared_flag "'${wl}-G'
   8486 	fi
   8487       else
   8488 	# not using gcc
   8489 	if test "$host_cpu" = ia64; then
   8490   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8491   	# chokes on -Wl,-G. The following line is correct:
   8492 	  shared_flag='-G'
   8493 	else
   8494 	  if test "$aix_use_runtimelinking" = yes; then
   8495 	    shared_flag='${wl}-G'
   8496 	  else
   8497 	    shared_flag='${wl}-bM:SRE'
   8498 	  fi
   8499 	fi
   8500       fi
   8501 
   8502       # It seems that -bexpall does not export symbols beginning with
   8503       # underscore (_), so it is better to generate a list of symbols to export.
   8504       always_export_symbols=yes
   8505       if test "$aix_use_runtimelinking" = yes; then
   8506 	# Warning - without using the other runtime loading flags (-brtl),
   8507 	# -berok will link without error, but may produce a broken library.
   8508 	allow_undefined_flag='-berok'
   8509        # Determine the default libpath from the value encoded in an empty executable.
   8510        cat >conftest.$ac_ext <<_ACEOF
   8511 /* confdefs.h.  */
   8512 _ACEOF
   8513 cat confdefs.h >>conftest.$ac_ext
   8514 cat >>conftest.$ac_ext <<_ACEOF
   8515 /* end confdefs.h.  */
   8516 
   8517 int
   8518 main ()
   8519 {
   8520 
   8521   ;
   8522   return 0;
   8523 }
   8524 _ACEOF
   8525 rm -f conftest.$ac_objext conftest$ac_exeext
   8526 if { (ac_try="$ac_link"
   8527 case "(($ac_try" in
   8528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8529   *) ac_try_echo=$ac_try;;
   8530 esac
   8531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8532 $as_echo "$ac_try_echo") >&5
   8533   (eval "$ac_link") 2>conftest.er1
   8534   ac_status=$?
   8535   grep -v '^ *+' conftest.er1 >conftest.err
   8536   rm -f conftest.er1
   8537   cat conftest.err >&5
   8538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8539   (exit $ac_status); } && {
   8540 	 test -z "$ac_c_werror_flag" ||
   8541 	 test ! -s conftest.err
   8542        } && test -s conftest$ac_exeext && {
   8543 	 test "$cross_compiling" = yes ||
   8544 	 $as_test_x conftest$ac_exeext
   8545        }; then
   8546 
   8547 lt_aix_libpath_sed='
   8548     /Import File Strings/,/^$/ {
   8549 	/^0/ {
   8550 	    s/^0  *\(.*\)$/\1/
   8551 	    p
   8552 	}
   8553     }'
   8554 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8555 # Check for a 64-bit object if we didn't find anything.
   8556 if test -z "$aix_libpath"; then
   8557   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8558 fi
   8559 else
   8560   $as_echo "$as_me: failed program was:" >&5
   8561 sed 's/^/| /' conftest.$ac_ext >&5
   8562 
   8563 
   8564 fi
   8565 
   8566 rm -rf conftest.dSYM
   8567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8568       conftest$ac_exeext conftest.$ac_ext
   8569 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8570 
   8571        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8572 	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"
   8573        else
   8574 	if test "$host_cpu" = ia64; then
   8575 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8576 	  allow_undefined_flag="-z nodefs"
   8577 	  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"
   8578 	else
   8579 	 # Determine the default libpath from the value encoded in an empty executable.
   8580 	 cat >conftest.$ac_ext <<_ACEOF
   8581 /* confdefs.h.  */
   8582 _ACEOF
   8583 cat confdefs.h >>conftest.$ac_ext
   8584 cat >>conftest.$ac_ext <<_ACEOF
   8585 /* end confdefs.h.  */
   8586 
   8587 int
   8588 main ()
   8589 {
   8590 
   8591   ;
   8592   return 0;
   8593 }
   8594 _ACEOF
   8595 rm -f conftest.$ac_objext conftest$ac_exeext
   8596 if { (ac_try="$ac_link"
   8597 case "(($ac_try" in
   8598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8599   *) ac_try_echo=$ac_try;;
   8600 esac
   8601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8602 $as_echo "$ac_try_echo") >&5
   8603   (eval "$ac_link") 2>conftest.er1
   8604   ac_status=$?
   8605   grep -v '^ *+' conftest.er1 >conftest.err
   8606   rm -f conftest.er1
   8607   cat conftest.err >&5
   8608   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8609   (exit $ac_status); } && {
   8610 	 test -z "$ac_c_werror_flag" ||
   8611 	 test ! -s conftest.err
   8612        } && test -s conftest$ac_exeext && {
   8613 	 test "$cross_compiling" = yes ||
   8614 	 $as_test_x conftest$ac_exeext
   8615        }; then
   8616 
   8617 lt_aix_libpath_sed='
   8618     /Import File Strings/,/^$/ {
   8619 	/^0/ {
   8620 	    s/^0  *\(.*\)$/\1/
   8621 	    p
   8622 	}
   8623     }'
   8624 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8625 # Check for a 64-bit object if we didn't find anything.
   8626 if test -z "$aix_libpath"; then
   8627   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8628 fi
   8629 else
   8630   $as_echo "$as_me: failed program was:" >&5
   8631 sed 's/^/| /' conftest.$ac_ext >&5
   8632 
   8633 
   8634 fi
   8635 
   8636 rm -rf conftest.dSYM
   8637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8638       conftest$ac_exeext conftest.$ac_ext
   8639 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8640 
   8641 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8642 	  # Warning - without using the other run time loading flags,
   8643 	  # -berok will link without error, but may produce a broken library.
   8644 	  no_undefined_flag=' ${wl}-bernotok'
   8645 	  allow_undefined_flag=' ${wl}-berok'
   8646 	  # Exported symbols can be pulled into shared objects from archives
   8647 	  whole_archive_flag_spec='$convenience'
   8648 	  archive_cmds_need_lc=yes
   8649 	  # This is similar to how AIX traditionally builds its shared libraries.
   8650 	  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'
   8651 	fi
   8652       fi
   8653       ;;
   8654 
   8655     amigaos*)
   8656       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)'
   8657       hardcode_libdir_flag_spec='-L$libdir'
   8658       hardcode_minus_L=yes
   8659       # see comment about different semantics on the GNU ld section
   8660       ld_shlibs=no
   8661       ;;
   8662 
   8663     bsdi[45]*)
   8664       export_dynamic_flag_spec=-rdynamic
   8665       ;;
   8666 
   8667     cygwin* | mingw* | pw32*)
   8668       # When not using gcc, we currently assume that we are using
   8669       # Microsoft Visual C++.
   8670       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8671       # no search path for DLLs.
   8672       hardcode_libdir_flag_spec=' '
   8673       allow_undefined_flag=unsupported
   8674       # Tell ltmain to make .lib files, not .a files.
   8675       libext=lib
   8676       # Tell ltmain to make .dll files, not .so files.
   8677       shrext_cmds=".dll"
   8678       # FIXME: Setting linknames here is a bad hack.
   8679       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8680       # The linker will automatically build a .lib file if we build a DLL.
   8681       old_archive_From_new_cmds='true'
   8682       # FIXME: Should let the user specify the lib program.
   8683       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8684       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8685       enable_shared_with_static_runtimes=yes
   8686       ;;
   8687 
   8688     darwin* | rhapsody*)
   8689       case $host_os in
   8690         rhapsody* | darwin1.[012])
   8691          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8692          ;;
   8693        *) # Darwin 1.3 on
   8694          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8695            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8696          else
   8697            case ${MACOSX_DEPLOYMENT_TARGET} in
   8698              10.[012])
   8699                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8700                ;;
   8701              10.*)
   8702                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8703                ;;
   8704            esac
   8705          fi
   8706          ;;
   8707       esac
   8708       archive_cmds_need_lc=no
   8709       hardcode_direct=no
   8710       hardcode_automatic=yes
   8711       hardcode_shlibpath_var=unsupported
   8712       whole_archive_flag_spec=''
   8713       link_all_deplibs=yes
   8714     if test "$GCC" = yes ; then
   8715     	output_verbose_link_cmd='echo'
   8716         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8717         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8718         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}"
   8719         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}"
   8720     else
   8721       case $cc_basename in
   8722         xlc*)
   8723          output_verbose_link_cmd='echo'
   8724          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8725          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8726           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8727          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}'
   8728           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}'
   8729           ;;
   8730        *)
   8731          ld_shlibs=no
   8732           ;;
   8733       esac
   8734     fi
   8735       ;;
   8736 
   8737     dgux*)
   8738       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8739       hardcode_libdir_flag_spec='-L$libdir'
   8740       hardcode_shlibpath_var=no
   8741       ;;
   8742 
   8743     freebsd1*)
   8744       ld_shlibs=no
   8745       ;;
   8746 
   8747     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8748     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8749     # does not break anything, and helps significantly (at the cost of a little
   8750     # extra space).
   8751     freebsd2.2*)
   8752       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8753       hardcode_libdir_flag_spec='-R$libdir'
   8754       hardcode_direct=yes
   8755       hardcode_shlibpath_var=no
   8756       ;;
   8757 
   8758     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8759     freebsd2*)
   8760       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8761       hardcode_direct=yes
   8762       hardcode_minus_L=yes
   8763       hardcode_shlibpath_var=no
   8764       ;;
   8765 
   8766     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8767     freebsd* | dragonfly*)
   8768       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8769       hardcode_libdir_flag_spec='-R$libdir'
   8770       hardcode_direct=yes
   8771       hardcode_shlibpath_var=no
   8772       ;;
   8773 
   8774     hpux9*)
   8775       if test "$GCC" = yes; then
   8776 	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'
   8777       else
   8778 	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'
   8779       fi
   8780       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8781       hardcode_libdir_separator=:
   8782       hardcode_direct=yes
   8783 
   8784       # hardcode_minus_L: Not really in the search PATH,
   8785       # but as the default location of the library.
   8786       hardcode_minus_L=yes
   8787       export_dynamic_flag_spec='${wl}-E'
   8788       ;;
   8789 
   8790     hpux10*)
   8791       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8792 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8793       else
   8794 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8795       fi
   8796       if test "$with_gnu_ld" = no; then
   8797 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8798 	hardcode_libdir_separator=:
   8799 
   8800 	hardcode_direct=yes
   8801 	export_dynamic_flag_spec='${wl}-E'
   8802 
   8803 	# hardcode_minus_L: Not really in the search PATH,
   8804 	# but as the default location of the library.
   8805 	hardcode_minus_L=yes
   8806       fi
   8807       ;;
   8808 
   8809     hpux11*)
   8810       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8811 	case $host_cpu in
   8812 	hppa*64*)
   8813 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8814 	  ;;
   8815 	ia64*)
   8816 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8817 	  ;;
   8818 	*)
   8819 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8820 	  ;;
   8821 	esac
   8822       else
   8823 	case $host_cpu in
   8824 	hppa*64*)
   8825 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8826 	  ;;
   8827 	ia64*)
   8828 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8829 	  ;;
   8830 	*)
   8831 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8832 	  ;;
   8833 	esac
   8834       fi
   8835       if test "$with_gnu_ld" = no; then
   8836 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8837 	hardcode_libdir_separator=:
   8838 
   8839 	case $host_cpu in
   8840 	hppa*64*|ia64*)
   8841 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8842 	  hardcode_direct=no
   8843 	  hardcode_shlibpath_var=no
   8844 	  ;;
   8845 	*)
   8846 	  hardcode_direct=yes
   8847 	  export_dynamic_flag_spec='${wl}-E'
   8848 
   8849 	  # hardcode_minus_L: Not really in the search PATH,
   8850 	  # but as the default location of the library.
   8851 	  hardcode_minus_L=yes
   8852 	  ;;
   8853 	esac
   8854       fi
   8855       ;;
   8856 
   8857     irix5* | irix6* | nonstopux*)
   8858       if test "$GCC" = yes; then
   8859 	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'
   8860       else
   8861 	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'
   8862 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8863       fi
   8864       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8865       hardcode_libdir_separator=:
   8866       link_all_deplibs=yes
   8867       ;;
   8868 
   8869     netbsd*)
   8870       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8871 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8872       else
   8873 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8874       fi
   8875       hardcode_libdir_flag_spec='-R$libdir'
   8876       hardcode_direct=yes
   8877       hardcode_shlibpath_var=no
   8878       ;;
   8879 
   8880     newsos6)
   8881       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8882       hardcode_direct=yes
   8883       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8884       hardcode_libdir_separator=:
   8885       hardcode_shlibpath_var=no
   8886       ;;
   8887 
   8888     openbsd*)
   8889       if test -f /usr/libexec/ld.so; then
   8890 	hardcode_direct=yes
   8891 	hardcode_shlibpath_var=no
   8892 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8893 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8894 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8895 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8896 	  export_dynamic_flag_spec='${wl}-E'
   8897 	else
   8898 	  case $host_os in
   8899 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8900 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8901 	     hardcode_libdir_flag_spec='-R$libdir'
   8902 	     ;;
   8903 	   *)
   8904 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8905 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8906 	     ;;
   8907 	  esac
   8908         fi
   8909       else
   8910 	ld_shlibs=no
   8911       fi
   8912       ;;
   8913 
   8914     os2*)
   8915       hardcode_libdir_flag_spec='-L$libdir'
   8916       hardcode_minus_L=yes
   8917       allow_undefined_flag=unsupported
   8918       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'
   8919       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8920       ;;
   8921 
   8922     osf3*)
   8923       if test "$GCC" = yes; then
   8924 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8925 	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'
   8926       else
   8927 	allow_undefined_flag=' -expect_unresolved \*'
   8928 	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'
   8929       fi
   8930       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8931       hardcode_libdir_separator=:
   8932       ;;
   8933 
   8934     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8935       if test "$GCC" = yes; then
   8936 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8937 	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'
   8938 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8939       else
   8940 	allow_undefined_flag=' -expect_unresolved \*'
   8941 	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'
   8942 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8943 	$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'
   8944 
   8945 	# Both c and cxx compiler support -rpath directly
   8946 	hardcode_libdir_flag_spec='-rpath $libdir'
   8947       fi
   8948       hardcode_libdir_separator=:
   8949       ;;
   8950 
   8951     solaris*)
   8952       no_undefined_flag=' -z text'
   8953       if test "$GCC" = yes; then
   8954 	wlarc='${wl}'
   8955 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8956 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8957 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8958       else
   8959 	wlarc=''
   8960 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8961 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8962   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8963       fi
   8964       hardcode_libdir_flag_spec='-R$libdir'
   8965       hardcode_shlibpath_var=no
   8966       case $host_os in
   8967       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8968       *)
   8969 	# The compiler driver will combine and reorder linker options,
   8970 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8971 	# but is careful enough not to reorder.
   8972  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8973 	if test "$GCC" = yes; then
   8974 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8975 	else
   8976 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8977 	fi
   8978 	;;
   8979       esac
   8980       link_all_deplibs=yes
   8981       ;;
   8982 
   8983     sunos4*)
   8984       if test "x$host_vendor" = xsequent; then
   8985 	# Use $CC to link under sequent, because it throws in some extra .o
   8986 	# files that make .init and .fini sections work.
   8987 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8988       else
   8989 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8990       fi
   8991       hardcode_libdir_flag_spec='-L$libdir'
   8992       hardcode_direct=yes
   8993       hardcode_minus_L=yes
   8994       hardcode_shlibpath_var=no
   8995       ;;
   8996 
   8997     sysv4)
   8998       case $host_vendor in
   8999 	sni)
   9000 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9001 	  hardcode_direct=yes # is this really true???
   9002 	;;
   9003 	siemens)
   9004 	  ## LD is ld it makes a PLAMLIB
   9005 	  ## CC just makes a GrossModule.
   9006 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9007 	  reload_cmds='$CC -r -o $output$reload_objs'
   9008 	  hardcode_direct=no
   9009         ;;
   9010 	motorola)
   9011 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9012 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9013 	;;
   9014       esac
   9015       runpath_var='LD_RUN_PATH'
   9016       hardcode_shlibpath_var=no
   9017       ;;
   9018 
   9019     sysv4.3*)
   9020       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9021       hardcode_shlibpath_var=no
   9022       export_dynamic_flag_spec='-Bexport'
   9023       ;;
   9024 
   9025     sysv4*MP*)
   9026       if test -d /usr/nec; then
   9027 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9028 	hardcode_shlibpath_var=no
   9029 	runpath_var=LD_RUN_PATH
   9030 	hardcode_runpath_var=yes
   9031 	ld_shlibs=yes
   9032       fi
   9033       ;;
   9034 
   9035     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9036       no_undefined_flag='${wl}-z,text'
   9037       archive_cmds_need_lc=no
   9038       hardcode_shlibpath_var=no
   9039       runpath_var='LD_RUN_PATH'
   9040 
   9041       if test "$GCC" = yes; then
   9042 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9043 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9044       else
   9045 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9046 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9047       fi
   9048       ;;
   9049 
   9050     sysv5* | sco3.2v5* | sco5v6*)
   9051       # Note: We can NOT use -z defs as we might desire, because we do not
   9052       # link with -lc, and that would cause any symbols used from libc to
   9053       # always be unresolved, which means just about no library would
   9054       # ever link correctly.  If we're not using GNU ld we use -z text
   9055       # though, which does catch some bad symbols but isn't as heavy-handed
   9056       # as -z defs.
   9057       no_undefined_flag='${wl}-z,text'
   9058       allow_undefined_flag='${wl}-z,nodefs'
   9059       archive_cmds_need_lc=no
   9060       hardcode_shlibpath_var=no
   9061       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9062       hardcode_libdir_separator=':'
   9063       link_all_deplibs=yes
   9064       export_dynamic_flag_spec='${wl}-Bexport'
   9065       runpath_var='LD_RUN_PATH'
   9066 
   9067       if test "$GCC" = yes; then
   9068 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9069 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070       else
   9071 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9072 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9073       fi
   9074       ;;
   9075 
   9076     uts4*)
   9077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9078       hardcode_libdir_flag_spec='-L$libdir'
   9079       hardcode_shlibpath_var=no
   9080       ;;
   9081 
   9082     *)
   9083       ld_shlibs=no
   9084       ;;
   9085     esac
   9086   fi
   9087 
   9088 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9089 $as_echo "$ld_shlibs" >&6; }
   9090 test "$ld_shlibs" = no && can_build_shared=no
   9091 
   9092 #
   9093 # Do we need to explicitly link libc?
   9094 #
   9095 case "x$archive_cmds_need_lc" in
   9096 x|xyes)
   9097   # Assume -lc should be added
   9098   archive_cmds_need_lc=yes
   9099 
   9100   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9101     case $archive_cmds in
   9102     *'~'*)
   9103       # FIXME: we may have to deal with multi-command sequences.
   9104       ;;
   9105     '$CC '*)
   9106       # Test whether the compiler implicitly links with -lc since on some
   9107       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9108       # to ld, don't add -lc before -lgcc.
   9109       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9110 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9111       $rm conftest*
   9112       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9113 
   9114       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9115   (eval $ac_compile) 2>&5
   9116   ac_status=$?
   9117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9118   (exit $ac_status); } 2>conftest.err; then
   9119         soname=conftest
   9120         lib=conftest
   9121         libobjs=conftest.$ac_objext
   9122         deplibs=
   9123         wl=$lt_prog_compiler_wl
   9124 	pic_flag=$lt_prog_compiler_pic
   9125         compiler_flags=-v
   9126         linker_flags=-v
   9127         verstring=
   9128         output_objdir=.
   9129         libname=conftest
   9130         lt_save_allow_undefined_flag=$allow_undefined_flag
   9131         allow_undefined_flag=
   9132         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9133   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9134   ac_status=$?
   9135   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9136   (exit $ac_status); }
   9137         then
   9138 	  archive_cmds_need_lc=no
   9139         else
   9140 	  archive_cmds_need_lc=yes
   9141         fi
   9142         allow_undefined_flag=$lt_save_allow_undefined_flag
   9143       else
   9144         cat conftest.err 1>&5
   9145       fi
   9146       $rm conftest*
   9147       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9148 $as_echo "$archive_cmds_need_lc" >&6; }
   9149       ;;
   9150     esac
   9151   fi
   9152   ;;
   9153 esac
   9154 
   9155 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9156 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9157 library_names_spec=
   9158 libname_spec='lib$name'
   9159 soname_spec=
   9160 shrext_cmds=".so"
   9161 postinstall_cmds=
   9162 postuninstall_cmds=
   9163 finish_cmds=
   9164 finish_eval=
   9165 shlibpath_var=
   9166 shlibpath_overrides_runpath=unknown
   9167 version_type=none
   9168 dynamic_linker="$host_os ld.so"
   9169 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9170 
   9171 if test "$GCC" = yes; then
   9172   case $host_os in
   9173     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9174     *) lt_awk_arg="/^libraries:/" ;;
   9175   esac
   9176   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9177   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9178     # if the path contains ";" then we assume it to be the separator
   9179     # otherwise default to the standard path separator (i.e. ":") - it is
   9180     # assumed that no part of a normal pathname contains ";" but that should
   9181     # okay in the real world where ";" in dirpaths is itself problematic.
   9182     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9183   else
   9184     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9185   fi
   9186   # Ok, now we have the path, separated by spaces, we can step through it
   9187   # and add multilib dir if necessary.
   9188   lt_tmp_lt_search_path_spec=
   9189   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9190   for lt_sys_path in $lt_search_path_spec; do
   9191     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9192       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9193     else
   9194       test -d "$lt_sys_path" && \
   9195 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9196     fi
   9197   done
   9198   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9199 BEGIN {RS=" "; FS="/|\n";} {
   9200   lt_foo="";
   9201   lt_count=0;
   9202   for (lt_i = NF; lt_i > 0; lt_i--) {
   9203     if ($lt_i != "" && $lt_i != ".") {
   9204       if ($lt_i == "..") {
   9205         lt_count++;
   9206       } else {
   9207         if (lt_count == 0) {
   9208           lt_foo="/" $lt_i lt_foo;
   9209         } else {
   9210           lt_count--;
   9211         }
   9212       }
   9213     }
   9214   }
   9215   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9216   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9217 }'`
   9218   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9219 else
   9220   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9221 fi
   9222 need_lib_prefix=unknown
   9223 hardcode_into_libs=no
   9224 
   9225 # when you set need_version to no, make sure it does not cause -set_version
   9226 # flags to be left without arguments
   9227 need_version=unknown
   9228 
   9229 case $host_os in
   9230 aix3*)
   9231   version_type=linux
   9232   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9233   shlibpath_var=LIBPATH
   9234 
   9235   # AIX 3 has no versioning support, so we append a major version to the name.
   9236   soname_spec='${libname}${release}${shared_ext}$major'
   9237   ;;
   9238 
   9239 aix[4-9]*)
   9240   version_type=linux
   9241   need_lib_prefix=no
   9242   need_version=no
   9243   hardcode_into_libs=yes
   9244   if test "$host_cpu" = ia64; then
   9245     # AIX 5 supports IA64
   9246     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9247     shlibpath_var=LD_LIBRARY_PATH
   9248   else
   9249     # With GCC up to 2.95.x, collect2 would create an import file
   9250     # for dependence libraries.  The import file would start with
   9251     # the line `#! .'.  This would cause the generated library to
   9252     # depend on `.', always an invalid library.  This was fixed in
   9253     # development snapshots of GCC prior to 3.0.
   9254     case $host_os in
   9255       aix4 | aix4.[01] | aix4.[01].*)
   9256       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9257 	   echo ' yes '
   9258 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9259 	:
   9260       else
   9261 	can_build_shared=no
   9262       fi
   9263       ;;
   9264     esac
   9265     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9266     # soname into executable. Probably we can add versioning support to
   9267     # collect2, so additional links can be useful in future.
   9268     if test "$aix_use_runtimelinking" = yes; then
   9269       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9270       # instead of lib<name>.a to let people know that these are not
   9271       # typical AIX shared libraries.
   9272       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9273     else
   9274       # We preserve .a as extension for shared libraries through AIX4.2
   9275       # and later when we are not doing run time linking.
   9276       library_names_spec='${libname}${release}.a $libname.a'
   9277       soname_spec='${libname}${release}${shared_ext}$major'
   9278     fi
   9279     shlibpath_var=LIBPATH
   9280   fi
   9281   ;;
   9282 
   9283 amigaos*)
   9284   library_names_spec='$libname.ixlibrary $libname.a'
   9285   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9286   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'
   9287   ;;
   9288 
   9289 beos*)
   9290   library_names_spec='${libname}${shared_ext}'
   9291   dynamic_linker="$host_os ld.so"
   9292   shlibpath_var=LIBRARY_PATH
   9293   ;;
   9294 
   9295 bsdi[45]*)
   9296   version_type=linux
   9297   need_version=no
   9298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9299   soname_spec='${libname}${release}${shared_ext}$major'
   9300   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9301   shlibpath_var=LD_LIBRARY_PATH
   9302   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9303   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9304   # the default ld.so.conf also contains /usr/contrib/lib and
   9305   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9306   # libtool to hard-code these into programs
   9307   ;;
   9308 
   9309 cygwin* | mingw* | pw32*)
   9310   version_type=windows
   9311   shrext_cmds=".dll"
   9312   need_version=no
   9313   need_lib_prefix=no
   9314 
   9315   case $GCC,$host_os in
   9316   yes,cygwin* | yes,mingw* | yes,pw32*)
   9317     library_names_spec='$libname.dll.a'
   9318     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9319     postinstall_cmds='base_file=`basename \${file}`~
   9320       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9321       dldir=$destdir/`dirname \$dlpath`~
   9322       test -d \$dldir || mkdir -p \$dldir~
   9323       $install_prog $dir/$dlname \$dldir/$dlname~
   9324       chmod a+x \$dldir/$dlname'
   9325     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9326       dlpath=$dir/\$dldll~
   9327        $rm \$dlpath'
   9328     shlibpath_overrides_runpath=yes
   9329 
   9330     case $host_os in
   9331     cygwin*)
   9332       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9333       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9334       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9335       ;;
   9336     mingw*)
   9337       # MinGW DLLs use traditional 'lib' prefix
   9338       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9339       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9340       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9341         # It is most probably a Windows format PATH printed by
   9342         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9343         # path with ; separators, and with drive letters. We can handle the
   9344         # drive letters (cygwin fileutils understands them), so leave them,
   9345         # especially as we might pass files found there to a mingw objdump,
   9346         # which wouldn't understand a cygwinified path. Ahh.
   9347         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9348       else
   9349         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9350       fi
   9351       ;;
   9352     pw32*)
   9353       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9354       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9355       ;;
   9356     esac
   9357     ;;
   9358 
   9359   *)
   9360     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9361     ;;
   9362   esac
   9363   dynamic_linker='Win32 ld.exe'
   9364   # FIXME: first we should search . and the directory the executable is in
   9365   shlibpath_var=PATH
   9366   ;;
   9367 
   9368 darwin* | rhapsody*)
   9369   dynamic_linker="$host_os dyld"
   9370   version_type=darwin
   9371   need_lib_prefix=no
   9372   need_version=no
   9373   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9374   soname_spec='${libname}${release}${major}$shared_ext'
   9375   shlibpath_overrides_runpath=yes
   9376   shlibpath_var=DYLD_LIBRARY_PATH
   9377   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9378 
   9379   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9380   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9381   ;;
   9382 
   9383 dgux*)
   9384   version_type=linux
   9385   need_lib_prefix=no
   9386   need_version=no
   9387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9388   soname_spec='${libname}${release}${shared_ext}$major'
   9389   shlibpath_var=LD_LIBRARY_PATH
   9390   ;;
   9391 
   9392 freebsd1*)
   9393   dynamic_linker=no
   9394   ;;
   9395 
   9396 freebsd* | dragonfly*)
   9397   # DragonFly does not have aout.  When/if they implement a new
   9398   # versioning mechanism, adjust this.
   9399   if test -x /usr/bin/objformat; then
   9400     objformat=`/usr/bin/objformat`
   9401   else
   9402     case $host_os in
   9403     freebsd[123]*) objformat=aout ;;
   9404     *) objformat=elf ;;
   9405     esac
   9406   fi
   9407   version_type=freebsd-$objformat
   9408   case $version_type in
   9409     freebsd-elf*)
   9410       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9411       need_version=no
   9412       need_lib_prefix=no
   9413       ;;
   9414     freebsd-*)
   9415       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9416       need_version=yes
   9417       ;;
   9418   esac
   9419   shlibpath_var=LD_LIBRARY_PATH
   9420   case $host_os in
   9421   freebsd2*)
   9422     shlibpath_overrides_runpath=yes
   9423     ;;
   9424   freebsd3.[01]* | freebsdelf3.[01]*)
   9425     shlibpath_overrides_runpath=yes
   9426     hardcode_into_libs=yes
   9427     ;;
   9428   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9429   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9430     shlibpath_overrides_runpath=no
   9431     hardcode_into_libs=yes
   9432     ;;
   9433   *) # from 4.6 on, and DragonFly
   9434     shlibpath_overrides_runpath=yes
   9435     hardcode_into_libs=yes
   9436     ;;
   9437   esac
   9438   ;;
   9439 
   9440 gnu*)
   9441   version_type=linux
   9442   need_lib_prefix=no
   9443   need_version=no
   9444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9445   soname_spec='${libname}${release}${shared_ext}$major'
   9446   shlibpath_var=LD_LIBRARY_PATH
   9447   hardcode_into_libs=yes
   9448   ;;
   9449 
   9450 hpux9* | hpux10* | hpux11*)
   9451   # Give a soname corresponding to the major version so that dld.sl refuses to
   9452   # link against other versions.
   9453   version_type=sunos
   9454   need_lib_prefix=no
   9455   need_version=no
   9456   case $host_cpu in
   9457   ia64*)
   9458     shrext_cmds='.so'
   9459     hardcode_into_libs=yes
   9460     dynamic_linker="$host_os dld.so"
   9461     shlibpath_var=LD_LIBRARY_PATH
   9462     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9463     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9464     soname_spec='${libname}${release}${shared_ext}$major'
   9465     if test "X$HPUX_IA64_MODE" = X32; then
   9466       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9467     else
   9468       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9469     fi
   9470     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9471     ;;
   9472    hppa*64*)
   9473      shrext_cmds='.sl'
   9474      hardcode_into_libs=yes
   9475      dynamic_linker="$host_os dld.sl"
   9476      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9477      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9478      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9479      soname_spec='${libname}${release}${shared_ext}$major'
   9480      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9481      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9482      ;;
   9483    *)
   9484     shrext_cmds='.sl'
   9485     dynamic_linker="$host_os dld.sl"
   9486     shlibpath_var=SHLIB_PATH
   9487     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9488     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9489     soname_spec='${libname}${release}${shared_ext}$major'
   9490     ;;
   9491   esac
   9492   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9493   postinstall_cmds='chmod 555 $lib'
   9494   ;;
   9495 
   9496 interix[3-9]*)
   9497   version_type=linux
   9498   need_lib_prefix=no
   9499   need_version=no
   9500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9501   soname_spec='${libname}${release}${shared_ext}$major'
   9502   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9503   shlibpath_var=LD_LIBRARY_PATH
   9504   shlibpath_overrides_runpath=no
   9505   hardcode_into_libs=yes
   9506   ;;
   9507 
   9508 irix5* | irix6* | nonstopux*)
   9509   case $host_os in
   9510     nonstopux*) version_type=nonstopux ;;
   9511     *)
   9512 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9513 		version_type=linux
   9514 	else
   9515 		version_type=irix
   9516 	fi ;;
   9517   esac
   9518   need_lib_prefix=no
   9519   need_version=no
   9520   soname_spec='${libname}${release}${shared_ext}$major'
   9521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9522   case $host_os in
   9523   irix5* | nonstopux*)
   9524     libsuff= shlibsuff=
   9525     ;;
   9526   *)
   9527     case $LD in # libtool.m4 will add one of these switches to LD
   9528     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9529       libsuff= shlibsuff= libmagic=32-bit;;
   9530     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9531       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9532     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9533       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9534     *) libsuff= shlibsuff= libmagic=never-match;;
   9535     esac
   9536     ;;
   9537   esac
   9538   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9539   shlibpath_overrides_runpath=no
   9540   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9541   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9542   hardcode_into_libs=yes
   9543   ;;
   9544 
   9545 # No shared lib support for Linux oldld, aout, or coff.
   9546 linux*oldld* | linux*aout* | linux*coff*)
   9547   dynamic_linker=no
   9548   ;;
   9549 
   9550 # This must be Linux ELF.
   9551 linux* | k*bsd*-gnu)
   9552   version_type=linux
   9553   need_lib_prefix=no
   9554   need_version=no
   9555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9556   soname_spec='${libname}${release}${shared_ext}$major'
   9557   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9558   shlibpath_var=LD_LIBRARY_PATH
   9559   shlibpath_overrides_runpath=no
   9560   # This implies no fast_install, which is unacceptable.
   9561   # Some rework will be needed to allow for fast_install
   9562   # before this can be enabled.
   9563   hardcode_into_libs=yes
   9564   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9565   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9566 
   9567   # Append ld.so.conf contents to the search path
   9568   if test -f /etc/ld.so.conf; then
   9569     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' ' '`
   9570     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9571   fi
   9572 
   9573   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9574   # powerpc, because MkLinux only supported shared libraries with the
   9575   # GNU dynamic linker.  Since this was broken with cross compilers,
   9576   # most powerpc-linux boxes support dynamic linking these days and
   9577   # people can always --disable-shared, the test was removed, and we
   9578   # assume the GNU/Linux dynamic linker is in use.
   9579   dynamic_linker='GNU/Linux ld.so'
   9580   ;;
   9581 
   9582 netbsd*)
   9583   version_type=sunos
   9584   need_lib_prefix=no
   9585   need_version=no
   9586   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9587     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9588     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9589     dynamic_linker='NetBSD (a.out) ld.so'
   9590   else
   9591     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9592     soname_spec='${libname}${release}${shared_ext}$major'
   9593     dynamic_linker='NetBSD ld.elf_so'
   9594   fi
   9595   shlibpath_var=LD_LIBRARY_PATH
   9596   shlibpath_overrides_runpath=yes
   9597   hardcode_into_libs=yes
   9598   ;;
   9599 
   9600 newsos6)
   9601   version_type=linux
   9602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9603   shlibpath_var=LD_LIBRARY_PATH
   9604   shlibpath_overrides_runpath=yes
   9605   ;;
   9606 
   9607 nto-qnx*)
   9608   version_type=linux
   9609   need_lib_prefix=no
   9610   need_version=no
   9611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9612   soname_spec='${libname}${release}${shared_ext}$major'
   9613   shlibpath_var=LD_LIBRARY_PATH
   9614   shlibpath_overrides_runpath=yes
   9615   ;;
   9616 
   9617 openbsd*)
   9618   version_type=sunos
   9619   sys_lib_dlsearch_path_spec="/usr/lib"
   9620   need_lib_prefix=no
   9621   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9622   case $host_os in
   9623     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9624     *)                         need_version=no  ;;
   9625   esac
   9626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9627   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9628   shlibpath_var=LD_LIBRARY_PATH
   9629   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9630     case $host_os in
   9631       openbsd2.[89] | openbsd2.[89].*)
   9632 	shlibpath_overrides_runpath=no
   9633 	;;
   9634       *)
   9635 	shlibpath_overrides_runpath=yes
   9636 	;;
   9637       esac
   9638   else
   9639     shlibpath_overrides_runpath=yes
   9640   fi
   9641   ;;
   9642 
   9643 os2*)
   9644   libname_spec='$name'
   9645   shrext_cmds=".dll"
   9646   need_lib_prefix=no
   9647   library_names_spec='$libname${shared_ext} $libname.a'
   9648   dynamic_linker='OS/2 ld.exe'
   9649   shlibpath_var=LIBPATH
   9650   ;;
   9651 
   9652 osf3* | osf4* | osf5*)
   9653   version_type=osf
   9654   need_lib_prefix=no
   9655   need_version=no
   9656   soname_spec='${libname}${release}${shared_ext}$major'
   9657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9658   shlibpath_var=LD_LIBRARY_PATH
   9659   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9660   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9661   ;;
   9662 
   9663 rdos*)
   9664   dynamic_linker=no
   9665   ;;
   9666 
   9667 solaris*)
   9668   version_type=linux
   9669   need_lib_prefix=no
   9670   need_version=no
   9671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9672   soname_spec='${libname}${release}${shared_ext}$major'
   9673   shlibpath_var=LD_LIBRARY_PATH
   9674   shlibpath_overrides_runpath=yes
   9675   hardcode_into_libs=yes
   9676   # ldd complains unless libraries are executable
   9677   postinstall_cmds='chmod +x $lib'
   9678   ;;
   9679 
   9680 sunos4*)
   9681   version_type=sunos
   9682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9683   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9684   shlibpath_var=LD_LIBRARY_PATH
   9685   shlibpath_overrides_runpath=yes
   9686   if test "$with_gnu_ld" = yes; then
   9687     need_lib_prefix=no
   9688   fi
   9689   need_version=yes
   9690   ;;
   9691 
   9692 sysv4 | sysv4.3*)
   9693   version_type=linux
   9694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9695   soname_spec='${libname}${release}${shared_ext}$major'
   9696   shlibpath_var=LD_LIBRARY_PATH
   9697   case $host_vendor in
   9698     sni)
   9699       shlibpath_overrides_runpath=no
   9700       need_lib_prefix=no
   9701       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9702       runpath_var=LD_RUN_PATH
   9703       ;;
   9704     siemens)
   9705       need_lib_prefix=no
   9706       ;;
   9707     motorola)
   9708       need_lib_prefix=no
   9709       need_version=no
   9710       shlibpath_overrides_runpath=no
   9711       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9712       ;;
   9713   esac
   9714   ;;
   9715 
   9716 sysv4*MP*)
   9717   if test -d /usr/nec ;then
   9718     version_type=linux
   9719     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9720     soname_spec='$libname${shared_ext}.$major'
   9721     shlibpath_var=LD_LIBRARY_PATH
   9722   fi
   9723   ;;
   9724 
   9725 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9726   version_type=freebsd-elf
   9727   need_lib_prefix=no
   9728   need_version=no
   9729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9730   soname_spec='${libname}${release}${shared_ext}$major'
   9731   shlibpath_var=LD_LIBRARY_PATH
   9732   hardcode_into_libs=yes
   9733   if test "$with_gnu_ld" = yes; then
   9734     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9735     shlibpath_overrides_runpath=no
   9736   else
   9737     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9738     shlibpath_overrides_runpath=yes
   9739     case $host_os in
   9740       sco3.2v5*)
   9741         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9742 	;;
   9743     esac
   9744   fi
   9745   sys_lib_dlsearch_path_spec='/usr/lib'
   9746   ;;
   9747 
   9748 uts4*)
   9749   version_type=linux
   9750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9751   soname_spec='${libname}${release}${shared_ext}$major'
   9752   shlibpath_var=LD_LIBRARY_PATH
   9753   ;;
   9754 
   9755 *)
   9756   dynamic_linker=no
   9757   ;;
   9758 esac
   9759 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9760 $as_echo "$dynamic_linker" >&6; }
   9761 test "$dynamic_linker" = no && can_build_shared=no
   9762 
   9763 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9764   $as_echo_n "(cached) " >&6
   9765 else
   9766   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9767 fi
   9768 
   9769 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9770 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9771   $as_echo_n "(cached) " >&6
   9772 else
   9773   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9774 fi
   9775 
   9776 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9777 
   9778 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9779 if test "$GCC" = yes; then
   9780   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9781 fi
   9782 
   9783 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9784 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9785 hardcode_action=
   9786 if test -n "$hardcode_libdir_flag_spec" || \
   9787    test -n "$runpath_var" || \
   9788    test "X$hardcode_automatic" = "Xyes" ; then
   9789 
   9790   # We can hardcode non-existant directories.
   9791   if test "$hardcode_direct" != no &&
   9792      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9793      # have to relink, otherwise we might link with an installed library
   9794      # when we should be linking with a yet-to-be-installed one
   9795      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9796      test "$hardcode_minus_L" != no; then
   9797     # Linking always hardcodes the temporary library directory.
   9798     hardcode_action=relink
   9799   else
   9800     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9801     hardcode_action=immediate
   9802   fi
   9803 else
   9804   # We cannot hardcode anything, or else we can only hardcode existing
   9805   # directories.
   9806   hardcode_action=unsupported
   9807 fi
   9808 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9809 $as_echo "$hardcode_action" >&6; }
   9810 
   9811 if test "$hardcode_action" = relink; then
   9812   # Fast installation is not supported
   9813   enable_fast_install=no
   9814 elif test "$shlibpath_overrides_runpath" = yes ||
   9815      test "$enable_shared" = no; then
   9816   # Fast installation is not necessary
   9817   enable_fast_install=needless
   9818 fi
   9819 
   9820 striplib=
   9821 old_striplib=
   9822 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9823 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9824 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9825   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9826   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9827   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9828 $as_echo "yes" >&6; }
   9829 else
   9830 # FIXME - insert some real tests, host_os isn't really good enough
   9831   case $host_os in
   9832    darwin*)
   9833        if test -n "$STRIP" ; then
   9834          striplib="$STRIP -x"
   9835          old_striplib="$STRIP -S"
   9836          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9837 $as_echo "yes" >&6; }
   9838        else
   9839   { $as_echo "$as_me:$LINENO: result: no" >&5
   9840 $as_echo "no" >&6; }
   9841 fi
   9842        ;;
   9843    *)
   9844   { $as_echo "$as_me:$LINENO: result: no" >&5
   9845 $as_echo "no" >&6; }
   9846     ;;
   9847   esac
   9848 fi
   9849 
   9850 if test "x$enable_dlopen" != xyes; then
   9851   enable_dlopen=unknown
   9852   enable_dlopen_self=unknown
   9853   enable_dlopen_self_static=unknown
   9854 else
   9855   lt_cv_dlopen=no
   9856   lt_cv_dlopen_libs=
   9857 
   9858   case $host_os in
   9859   beos*)
   9860     lt_cv_dlopen="load_add_on"
   9861     lt_cv_dlopen_libs=
   9862     lt_cv_dlopen_self=yes
   9863     ;;
   9864 
   9865   mingw* | pw32*)
   9866     lt_cv_dlopen="LoadLibrary"
   9867     lt_cv_dlopen_libs=
   9868    ;;
   9869 
   9870   cygwin*)
   9871     lt_cv_dlopen="dlopen"
   9872     lt_cv_dlopen_libs=
   9873    ;;
   9874 
   9875   darwin*)
   9876   # if libdl is installed we need to link against it
   9877     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9878 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9879 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9880   $as_echo_n "(cached) " >&6
   9881 else
   9882   ac_check_lib_save_LIBS=$LIBS
   9883 LIBS="-ldl  $LIBS"
   9884 cat >conftest.$ac_ext <<_ACEOF
   9885 /* confdefs.h.  */
   9886 _ACEOF
   9887 cat confdefs.h >>conftest.$ac_ext
   9888 cat >>conftest.$ac_ext <<_ACEOF
   9889 /* end confdefs.h.  */
   9890 
   9891 /* Override any GCC internal prototype to avoid an error.
   9892    Use char because int might match the return type of a GCC
   9893    builtin and then its argument prototype would still apply.  */
   9894 #ifdef __cplusplus
   9895 extern "C"
   9896 #endif
   9897 char dlopen ();
   9898 int
   9899 main ()
   9900 {
   9901 return dlopen ();
   9902   ;
   9903   return 0;
   9904 }
   9905 _ACEOF
   9906 rm -f conftest.$ac_objext conftest$ac_exeext
   9907 if { (ac_try="$ac_link"
   9908 case "(($ac_try" in
   9909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9910   *) ac_try_echo=$ac_try;;
   9911 esac
   9912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9913 $as_echo "$ac_try_echo") >&5
   9914   (eval "$ac_link") 2>conftest.er1
   9915   ac_status=$?
   9916   grep -v '^ *+' conftest.er1 >conftest.err
   9917   rm -f conftest.er1
   9918   cat conftest.err >&5
   9919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9920   (exit $ac_status); } && {
   9921 	 test -z "$ac_c_werror_flag" ||
   9922 	 test ! -s conftest.err
   9923        } && test -s conftest$ac_exeext && {
   9924 	 test "$cross_compiling" = yes ||
   9925 	 $as_test_x conftest$ac_exeext
   9926        }; then
   9927   ac_cv_lib_dl_dlopen=yes
   9928 else
   9929   $as_echo "$as_me: failed program was:" >&5
   9930 sed 's/^/| /' conftest.$ac_ext >&5
   9931 
   9932 	ac_cv_lib_dl_dlopen=no
   9933 fi
   9934 
   9935 rm -rf conftest.dSYM
   9936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9937       conftest$ac_exeext conftest.$ac_ext
   9938 LIBS=$ac_check_lib_save_LIBS
   9939 fi
   9940 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9941 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9942 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9943   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9944 else
   9945 
   9946     lt_cv_dlopen="dyld"
   9947     lt_cv_dlopen_libs=
   9948     lt_cv_dlopen_self=yes
   9949 
   9950 fi
   9951 
   9952    ;;
   9953 
   9954   *)
   9955     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9956 $as_echo_n "checking for shl_load... " >&6; }
   9957 if test "${ac_cv_func_shl_load+set}" = set; then
   9958   $as_echo_n "(cached) " >&6
   9959 else
   9960   cat >conftest.$ac_ext <<_ACEOF
   9961 /* confdefs.h.  */
   9962 _ACEOF
   9963 cat confdefs.h >>conftest.$ac_ext
   9964 cat >>conftest.$ac_ext <<_ACEOF
   9965 /* end confdefs.h.  */
   9966 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9968 #define shl_load innocuous_shl_load
   9969 
   9970 /* System header to define __stub macros and hopefully few prototypes,
   9971     which can conflict with char shl_load (); below.
   9972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9973     <limits.h> exists even on freestanding compilers.  */
   9974 
   9975 #ifdef __STDC__
   9976 # include <limits.h>
   9977 #else
   9978 # include <assert.h>
   9979 #endif
   9980 
   9981 #undef shl_load
   9982 
   9983 /* Override any GCC internal prototype to avoid an error.
   9984    Use char because int might match the return type of a GCC
   9985    builtin and then its argument prototype would still apply.  */
   9986 #ifdef __cplusplus
   9987 extern "C"
   9988 #endif
   9989 char shl_load ();
   9990 /* The GNU C library defines this for functions which it implements
   9991     to always fail with ENOSYS.  Some functions are actually named
   9992     something starting with __ and the normal name is an alias.  */
   9993 #if defined __stub_shl_load || defined __stub___shl_load
   9994 choke me
   9995 #endif
   9996 
   9997 int
   9998 main ()
   9999 {
   10000 return shl_load ();
   10001   ;
   10002   return 0;
   10003 }
   10004 _ACEOF
   10005 rm -f conftest.$ac_objext conftest$ac_exeext
   10006 if { (ac_try="$ac_link"
   10007 case "(($ac_try" in
   10008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10009   *) ac_try_echo=$ac_try;;
   10010 esac
   10011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10012 $as_echo "$ac_try_echo") >&5
   10013   (eval "$ac_link") 2>conftest.er1
   10014   ac_status=$?
   10015   grep -v '^ *+' conftest.er1 >conftest.err
   10016   rm -f conftest.er1
   10017   cat conftest.err >&5
   10018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10019   (exit $ac_status); } && {
   10020 	 test -z "$ac_c_werror_flag" ||
   10021 	 test ! -s conftest.err
   10022        } && test -s conftest$ac_exeext && {
   10023 	 test "$cross_compiling" = yes ||
   10024 	 $as_test_x conftest$ac_exeext
   10025        }; then
   10026   ac_cv_func_shl_load=yes
   10027 else
   10028   $as_echo "$as_me: failed program was:" >&5
   10029 sed 's/^/| /' conftest.$ac_ext >&5
   10030 
   10031 	ac_cv_func_shl_load=no
   10032 fi
   10033 
   10034 rm -rf conftest.dSYM
   10035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10036       conftest$ac_exeext conftest.$ac_ext
   10037 fi
   10038 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10039 $as_echo "$ac_cv_func_shl_load" >&6; }
   10040 if test "x$ac_cv_func_shl_load" = x""yes; then
   10041   lt_cv_dlopen="shl_load"
   10042 else
   10043   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10044 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10045 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10046   $as_echo_n "(cached) " >&6
   10047 else
   10048   ac_check_lib_save_LIBS=$LIBS
   10049 LIBS="-ldld  $LIBS"
   10050 cat >conftest.$ac_ext <<_ACEOF
   10051 /* confdefs.h.  */
   10052 _ACEOF
   10053 cat confdefs.h >>conftest.$ac_ext
   10054 cat >>conftest.$ac_ext <<_ACEOF
   10055 /* end confdefs.h.  */
   10056 
   10057 /* Override any GCC internal prototype to avoid an error.
   10058    Use char because int might match the return type of a GCC
   10059    builtin and then its argument prototype would still apply.  */
   10060 #ifdef __cplusplus
   10061 extern "C"
   10062 #endif
   10063 char shl_load ();
   10064 int
   10065 main ()
   10066 {
   10067 return shl_load ();
   10068   ;
   10069   return 0;
   10070 }
   10071 _ACEOF
   10072 rm -f conftest.$ac_objext conftest$ac_exeext
   10073 if { (ac_try="$ac_link"
   10074 case "(($ac_try" in
   10075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10076   *) ac_try_echo=$ac_try;;
   10077 esac
   10078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10079 $as_echo "$ac_try_echo") >&5
   10080   (eval "$ac_link") 2>conftest.er1
   10081   ac_status=$?
   10082   grep -v '^ *+' conftest.er1 >conftest.err
   10083   rm -f conftest.er1
   10084   cat conftest.err >&5
   10085   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10086   (exit $ac_status); } && {
   10087 	 test -z "$ac_c_werror_flag" ||
   10088 	 test ! -s conftest.err
   10089        } && test -s conftest$ac_exeext && {
   10090 	 test "$cross_compiling" = yes ||
   10091 	 $as_test_x conftest$ac_exeext
   10092        }; then
   10093   ac_cv_lib_dld_shl_load=yes
   10094 else
   10095   $as_echo "$as_me: failed program was:" >&5
   10096 sed 's/^/| /' conftest.$ac_ext >&5
   10097 
   10098 	ac_cv_lib_dld_shl_load=no
   10099 fi
   10100 
   10101 rm -rf conftest.dSYM
   10102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10103       conftest$ac_exeext conftest.$ac_ext
   10104 LIBS=$ac_check_lib_save_LIBS
   10105 fi
   10106 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10107 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10108 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10109   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10110 else
   10111   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10112 $as_echo_n "checking for dlopen... " >&6; }
   10113 if test "${ac_cv_func_dlopen+set}" = set; then
   10114   $as_echo_n "(cached) " >&6
   10115 else
   10116   cat >conftest.$ac_ext <<_ACEOF
   10117 /* confdefs.h.  */
   10118 _ACEOF
   10119 cat confdefs.h >>conftest.$ac_ext
   10120 cat >>conftest.$ac_ext <<_ACEOF
   10121 /* end confdefs.h.  */
   10122 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10124 #define dlopen innocuous_dlopen
   10125 
   10126 /* System header to define __stub macros and hopefully few prototypes,
   10127     which can conflict with char dlopen (); below.
   10128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10129     <limits.h> exists even on freestanding compilers.  */
   10130 
   10131 #ifdef __STDC__
   10132 # include <limits.h>
   10133 #else
   10134 # include <assert.h>
   10135 #endif
   10136 
   10137 #undef dlopen
   10138 
   10139 /* Override any GCC internal prototype to avoid an error.
   10140    Use char because int might match the return type of a GCC
   10141    builtin and then its argument prototype would still apply.  */
   10142 #ifdef __cplusplus
   10143 extern "C"
   10144 #endif
   10145 char dlopen ();
   10146 /* The GNU C library defines this for functions which it implements
   10147     to always fail with ENOSYS.  Some functions are actually named
   10148     something starting with __ and the normal name is an alias.  */
   10149 #if defined __stub_dlopen || defined __stub___dlopen
   10150 choke me
   10151 #endif
   10152 
   10153 int
   10154 main ()
   10155 {
   10156 return dlopen ();
   10157   ;
   10158   return 0;
   10159 }
   10160 _ACEOF
   10161 rm -f conftest.$ac_objext conftest$ac_exeext
   10162 if { (ac_try="$ac_link"
   10163 case "(($ac_try" in
   10164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10165   *) ac_try_echo=$ac_try;;
   10166 esac
   10167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10168 $as_echo "$ac_try_echo") >&5
   10169   (eval "$ac_link") 2>conftest.er1
   10170   ac_status=$?
   10171   grep -v '^ *+' conftest.er1 >conftest.err
   10172   rm -f conftest.er1
   10173   cat conftest.err >&5
   10174   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10175   (exit $ac_status); } && {
   10176 	 test -z "$ac_c_werror_flag" ||
   10177 	 test ! -s conftest.err
   10178        } && test -s conftest$ac_exeext && {
   10179 	 test "$cross_compiling" = yes ||
   10180 	 $as_test_x conftest$ac_exeext
   10181        }; then
   10182   ac_cv_func_dlopen=yes
   10183 else
   10184   $as_echo "$as_me: failed program was:" >&5
   10185 sed 's/^/| /' conftest.$ac_ext >&5
   10186 
   10187 	ac_cv_func_dlopen=no
   10188 fi
   10189 
   10190 rm -rf conftest.dSYM
   10191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10192       conftest$ac_exeext conftest.$ac_ext
   10193 fi
   10194 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10195 $as_echo "$ac_cv_func_dlopen" >&6; }
   10196 if test "x$ac_cv_func_dlopen" = x""yes; then
   10197   lt_cv_dlopen="dlopen"
   10198 else
   10199   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10200 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10201 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10202   $as_echo_n "(cached) " >&6
   10203 else
   10204   ac_check_lib_save_LIBS=$LIBS
   10205 LIBS="-ldl  $LIBS"
   10206 cat >conftest.$ac_ext <<_ACEOF
   10207 /* confdefs.h.  */
   10208 _ACEOF
   10209 cat confdefs.h >>conftest.$ac_ext
   10210 cat >>conftest.$ac_ext <<_ACEOF
   10211 /* end confdefs.h.  */
   10212 
   10213 /* Override any GCC internal prototype to avoid an error.
   10214    Use char because int might match the return type of a GCC
   10215    builtin and then its argument prototype would still apply.  */
   10216 #ifdef __cplusplus
   10217 extern "C"
   10218 #endif
   10219 char dlopen ();
   10220 int
   10221 main ()
   10222 {
   10223 return dlopen ();
   10224   ;
   10225   return 0;
   10226 }
   10227 _ACEOF
   10228 rm -f conftest.$ac_objext conftest$ac_exeext
   10229 if { (ac_try="$ac_link"
   10230 case "(($ac_try" in
   10231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10232   *) ac_try_echo=$ac_try;;
   10233 esac
   10234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10235 $as_echo "$ac_try_echo") >&5
   10236   (eval "$ac_link") 2>conftest.er1
   10237   ac_status=$?
   10238   grep -v '^ *+' conftest.er1 >conftest.err
   10239   rm -f conftest.er1
   10240   cat conftest.err >&5
   10241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10242   (exit $ac_status); } && {
   10243 	 test -z "$ac_c_werror_flag" ||
   10244 	 test ! -s conftest.err
   10245        } && test -s conftest$ac_exeext && {
   10246 	 test "$cross_compiling" = yes ||
   10247 	 $as_test_x conftest$ac_exeext
   10248        }; then
   10249   ac_cv_lib_dl_dlopen=yes
   10250 else
   10251   $as_echo "$as_me: failed program was:" >&5
   10252 sed 's/^/| /' conftest.$ac_ext >&5
   10253 
   10254 	ac_cv_lib_dl_dlopen=no
   10255 fi
   10256 
   10257 rm -rf conftest.dSYM
   10258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10259       conftest$ac_exeext conftest.$ac_ext
   10260 LIBS=$ac_check_lib_save_LIBS
   10261 fi
   10262 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10264 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10265   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10266 else
   10267   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10268 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10269 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10270   $as_echo_n "(cached) " >&6
   10271 else
   10272   ac_check_lib_save_LIBS=$LIBS
   10273 LIBS="-lsvld  $LIBS"
   10274 cat >conftest.$ac_ext <<_ACEOF
   10275 /* confdefs.h.  */
   10276 _ACEOF
   10277 cat confdefs.h >>conftest.$ac_ext
   10278 cat >>conftest.$ac_ext <<_ACEOF
   10279 /* end confdefs.h.  */
   10280 
   10281 /* Override any GCC internal prototype to avoid an error.
   10282    Use char because int might match the return type of a GCC
   10283    builtin and then its argument prototype would still apply.  */
   10284 #ifdef __cplusplus
   10285 extern "C"
   10286 #endif
   10287 char dlopen ();
   10288 int
   10289 main ()
   10290 {
   10291 return dlopen ();
   10292   ;
   10293   return 0;
   10294 }
   10295 _ACEOF
   10296 rm -f conftest.$ac_objext conftest$ac_exeext
   10297 if { (ac_try="$ac_link"
   10298 case "(($ac_try" in
   10299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10300   *) ac_try_echo=$ac_try;;
   10301 esac
   10302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10303 $as_echo "$ac_try_echo") >&5
   10304   (eval "$ac_link") 2>conftest.er1
   10305   ac_status=$?
   10306   grep -v '^ *+' conftest.er1 >conftest.err
   10307   rm -f conftest.er1
   10308   cat conftest.err >&5
   10309   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10310   (exit $ac_status); } && {
   10311 	 test -z "$ac_c_werror_flag" ||
   10312 	 test ! -s conftest.err
   10313        } && test -s conftest$ac_exeext && {
   10314 	 test "$cross_compiling" = yes ||
   10315 	 $as_test_x conftest$ac_exeext
   10316        }; then
   10317   ac_cv_lib_svld_dlopen=yes
   10318 else
   10319   $as_echo "$as_me: failed program was:" >&5
   10320 sed 's/^/| /' conftest.$ac_ext >&5
   10321 
   10322 	ac_cv_lib_svld_dlopen=no
   10323 fi
   10324 
   10325 rm -rf conftest.dSYM
   10326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10327       conftest$ac_exeext conftest.$ac_ext
   10328 LIBS=$ac_check_lib_save_LIBS
   10329 fi
   10330 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10331 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10332 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10333   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10334 else
   10335   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10336 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10337 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10338   $as_echo_n "(cached) " >&6
   10339 else
   10340   ac_check_lib_save_LIBS=$LIBS
   10341 LIBS="-ldld  $LIBS"
   10342 cat >conftest.$ac_ext <<_ACEOF
   10343 /* confdefs.h.  */
   10344 _ACEOF
   10345 cat confdefs.h >>conftest.$ac_ext
   10346 cat >>conftest.$ac_ext <<_ACEOF
   10347 /* end confdefs.h.  */
   10348 
   10349 /* Override any GCC internal prototype to avoid an error.
   10350    Use char because int might match the return type of a GCC
   10351    builtin and then its argument prototype would still apply.  */
   10352 #ifdef __cplusplus
   10353 extern "C"
   10354 #endif
   10355 char dld_link ();
   10356 int
   10357 main ()
   10358 {
   10359 return dld_link ();
   10360   ;
   10361   return 0;
   10362 }
   10363 _ACEOF
   10364 rm -f conftest.$ac_objext conftest$ac_exeext
   10365 if { (ac_try="$ac_link"
   10366 case "(($ac_try" in
   10367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10368   *) ac_try_echo=$ac_try;;
   10369 esac
   10370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10371 $as_echo "$ac_try_echo") >&5
   10372   (eval "$ac_link") 2>conftest.er1
   10373   ac_status=$?
   10374   grep -v '^ *+' conftest.er1 >conftest.err
   10375   rm -f conftest.er1
   10376   cat conftest.err >&5
   10377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10378   (exit $ac_status); } && {
   10379 	 test -z "$ac_c_werror_flag" ||
   10380 	 test ! -s conftest.err
   10381        } && test -s conftest$ac_exeext && {
   10382 	 test "$cross_compiling" = yes ||
   10383 	 $as_test_x conftest$ac_exeext
   10384        }; then
   10385   ac_cv_lib_dld_dld_link=yes
   10386 else
   10387   $as_echo "$as_me: failed program was:" >&5
   10388 sed 's/^/| /' conftest.$ac_ext >&5
   10389 
   10390 	ac_cv_lib_dld_dld_link=no
   10391 fi
   10392 
   10393 rm -rf conftest.dSYM
   10394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10395       conftest$ac_exeext conftest.$ac_ext
   10396 LIBS=$ac_check_lib_save_LIBS
   10397 fi
   10398 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10399 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10400 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10401   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10402 fi
   10403 
   10404 
   10405 fi
   10406 
   10407 
   10408 fi
   10409 
   10410 
   10411 fi
   10412 
   10413 
   10414 fi
   10415 
   10416 
   10417 fi
   10418 
   10419     ;;
   10420   esac
   10421 
   10422   if test "x$lt_cv_dlopen" != xno; then
   10423     enable_dlopen=yes
   10424   else
   10425     enable_dlopen=no
   10426   fi
   10427 
   10428   case $lt_cv_dlopen in
   10429   dlopen)
   10430     save_CPPFLAGS="$CPPFLAGS"
   10431     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10432 
   10433     save_LDFLAGS="$LDFLAGS"
   10434     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10435 
   10436     save_LIBS="$LIBS"
   10437     LIBS="$lt_cv_dlopen_libs $LIBS"
   10438 
   10439     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10440 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10441 if test "${lt_cv_dlopen_self+set}" = set; then
   10442   $as_echo_n "(cached) " >&6
   10443 else
   10444   	  if test "$cross_compiling" = yes; then :
   10445   lt_cv_dlopen_self=cross
   10446 else
   10447   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10448   lt_status=$lt_dlunknown
   10449   cat > conftest.$ac_ext <<EOF
   10450 #line 10450 "configure"
   10451 #include "confdefs.h"
   10452 
   10453 #if HAVE_DLFCN_H
   10454 #include <dlfcn.h>
   10455 #endif
   10456 
   10457 #include <stdio.h>
   10458 
   10459 #ifdef RTLD_GLOBAL
   10460 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10461 #else
   10462 #  ifdef DL_GLOBAL
   10463 #    define LT_DLGLOBAL		DL_GLOBAL
   10464 #  else
   10465 #    define LT_DLGLOBAL		0
   10466 #  endif
   10467 #endif
   10468 
   10469 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10470    find out it does not work in some platform. */
   10471 #ifndef LT_DLLAZY_OR_NOW
   10472 #  ifdef RTLD_LAZY
   10473 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10474 #  else
   10475 #    ifdef DL_LAZY
   10476 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10477 #    else
   10478 #      ifdef RTLD_NOW
   10479 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10480 #      else
   10481 #        ifdef DL_NOW
   10482 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10483 #        else
   10484 #          define LT_DLLAZY_OR_NOW	0
   10485 #        endif
   10486 #      endif
   10487 #    endif
   10488 #  endif
   10489 #endif
   10490 
   10491 #ifdef __cplusplus
   10492 extern "C" void exit (int);
   10493 #endif
   10494 
   10495 void fnord() { int i=42;}
   10496 int main ()
   10497 {
   10498   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10499   int status = $lt_dlunknown;
   10500 
   10501   if (self)
   10502     {
   10503       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10504       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10505       /* dlclose (self); */
   10506     }
   10507   else
   10508     puts (dlerror ());
   10509 
   10510     exit (status);
   10511 }
   10512 EOF
   10513   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10514   (eval $ac_link) 2>&5
   10515   ac_status=$?
   10516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10517   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10518     (./conftest; exit; ) >&5 2>/dev/null
   10519     lt_status=$?
   10520     case x$lt_status in
   10521       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10522       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10523       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10524     esac
   10525   else :
   10526     # compilation failed
   10527     lt_cv_dlopen_self=no
   10528   fi
   10529 fi
   10530 rm -fr conftest*
   10531 
   10532 
   10533 fi
   10534 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10535 $as_echo "$lt_cv_dlopen_self" >&6; }
   10536 
   10537     if test "x$lt_cv_dlopen_self" = xyes; then
   10538       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10539       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10540 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10541 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10542   $as_echo_n "(cached) " >&6
   10543 else
   10544   	  if test "$cross_compiling" = yes; then :
   10545   lt_cv_dlopen_self_static=cross
   10546 else
   10547   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10548   lt_status=$lt_dlunknown
   10549   cat > conftest.$ac_ext <<EOF
   10550 #line 10550 "configure"
   10551 #include "confdefs.h"
   10552 
   10553 #if HAVE_DLFCN_H
   10554 #include <dlfcn.h>
   10555 #endif
   10556 
   10557 #include <stdio.h>
   10558 
   10559 #ifdef RTLD_GLOBAL
   10560 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10561 #else
   10562 #  ifdef DL_GLOBAL
   10563 #    define LT_DLGLOBAL		DL_GLOBAL
   10564 #  else
   10565 #    define LT_DLGLOBAL		0
   10566 #  endif
   10567 #endif
   10568 
   10569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10570    find out it does not work in some platform. */
   10571 #ifndef LT_DLLAZY_OR_NOW
   10572 #  ifdef RTLD_LAZY
   10573 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10574 #  else
   10575 #    ifdef DL_LAZY
   10576 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10577 #    else
   10578 #      ifdef RTLD_NOW
   10579 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10580 #      else
   10581 #        ifdef DL_NOW
   10582 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10583 #        else
   10584 #          define LT_DLLAZY_OR_NOW	0
   10585 #        endif
   10586 #      endif
   10587 #    endif
   10588 #  endif
   10589 #endif
   10590 
   10591 #ifdef __cplusplus
   10592 extern "C" void exit (int);
   10593 #endif
   10594 
   10595 void fnord() { int i=42;}
   10596 int main ()
   10597 {
   10598   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10599   int status = $lt_dlunknown;
   10600 
   10601   if (self)
   10602     {
   10603       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10604       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10605       /* dlclose (self); */
   10606     }
   10607   else
   10608     puts (dlerror ());
   10609 
   10610     exit (status);
   10611 }
   10612 EOF
   10613   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10614   (eval $ac_link) 2>&5
   10615   ac_status=$?
   10616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10617   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10618     (./conftest; exit; ) >&5 2>/dev/null
   10619     lt_status=$?
   10620     case x$lt_status in
   10621       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10622       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10623       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10624     esac
   10625   else :
   10626     # compilation failed
   10627     lt_cv_dlopen_self_static=no
   10628   fi
   10629 fi
   10630 rm -fr conftest*
   10631 
   10632 
   10633 fi
   10634 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10635 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10636     fi
   10637 
   10638     CPPFLAGS="$save_CPPFLAGS"
   10639     LDFLAGS="$save_LDFLAGS"
   10640     LIBS="$save_LIBS"
   10641     ;;
   10642   esac
   10643 
   10644   case $lt_cv_dlopen_self in
   10645   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10646   *) enable_dlopen_self=unknown ;;
   10647   esac
   10648 
   10649   case $lt_cv_dlopen_self_static in
   10650   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10651   *) enable_dlopen_self_static=unknown ;;
   10652   esac
   10653 fi
   10654 
   10655 
   10656 # Report which library types will actually be built
   10657 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10658 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10659 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10660 $as_echo "$can_build_shared" >&6; }
   10661 
   10662 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10663 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10664 test "$can_build_shared" = "no" && enable_shared=no
   10665 
   10666 # On AIX, shared libraries and static libraries use the same namespace, and
   10667 # are all built from PIC.
   10668 case $host_os in
   10669 aix3*)
   10670   test "$enable_shared" = yes && enable_static=no
   10671   if test -n "$RANLIB"; then
   10672     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10673     postinstall_cmds='$RANLIB $lib'
   10674   fi
   10675   ;;
   10676 
   10677 aix[4-9]*)
   10678   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10679     test "$enable_shared" = yes && enable_static=no
   10680   fi
   10681     ;;
   10682 esac
   10683 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10684 $as_echo "$enable_shared" >&6; }
   10685 
   10686 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10687 $as_echo_n "checking whether to build static libraries... " >&6; }
   10688 # Make sure either enable_shared or enable_static is yes.
   10689 test "$enable_shared" = yes || enable_static=yes
   10690 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10691 $as_echo "$enable_static" >&6; }
   10692 
   10693 # The else clause should only fire when bootstrapping the
   10694 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10695 # with your package, and you will get complaints that there are
   10696 # no rules to generate ltmain.sh.
   10697 if test -f "$ltmain"; then
   10698   # See if we are running on zsh, and set the options which allow our commands through
   10699   # without removal of \ escapes.
   10700   if test -n "${ZSH_VERSION+set}" ; then
   10701     setopt NO_GLOB_SUBST
   10702   fi
   10703   # Now quote all the things that may contain metacharacters while being
   10704   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10705   # variables and quote the copies for generation of the libtool script.
   10706   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10707     SED SHELL STRIP \
   10708     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10709     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10710     deplibs_check_method reload_flag reload_cmds need_locks \
   10711     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10712     lt_cv_sys_global_symbol_to_c_name_address \
   10713     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10714     old_postinstall_cmds old_postuninstall_cmds \
   10715     compiler \
   10716     CC \
   10717     LD \
   10718     lt_prog_compiler_wl \
   10719     lt_prog_compiler_pic \
   10720     lt_prog_compiler_static \
   10721     lt_prog_compiler_no_builtin_flag \
   10722     export_dynamic_flag_spec \
   10723     thread_safe_flag_spec \
   10724     whole_archive_flag_spec \
   10725     enable_shared_with_static_runtimes \
   10726     old_archive_cmds \
   10727     old_archive_from_new_cmds \
   10728     predep_objects \
   10729     postdep_objects \
   10730     predeps \
   10731     postdeps \
   10732     compiler_lib_search_path \
   10733     compiler_lib_search_dirs \
   10734     archive_cmds \
   10735     archive_expsym_cmds \
   10736     postinstall_cmds \
   10737     postuninstall_cmds \
   10738     old_archive_from_expsyms_cmds \
   10739     allow_undefined_flag \
   10740     no_undefined_flag \
   10741     export_symbols_cmds \
   10742     hardcode_libdir_flag_spec \
   10743     hardcode_libdir_flag_spec_ld \
   10744     hardcode_libdir_separator \
   10745     hardcode_automatic \
   10746     module_cmds \
   10747     module_expsym_cmds \
   10748     lt_cv_prog_compiler_c_o \
   10749     fix_srcfile_path \
   10750     exclude_expsyms \
   10751     include_expsyms; do
   10752 
   10753     case $var in
   10754     old_archive_cmds | \
   10755     old_archive_from_new_cmds | \
   10756     archive_cmds | \
   10757     archive_expsym_cmds | \
   10758     module_cmds | \
   10759     module_expsym_cmds | \
   10760     old_archive_from_expsyms_cmds | \
   10761     export_symbols_cmds | \
   10762     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10763     postinstall_cmds | postuninstall_cmds | \
   10764     old_postinstall_cmds | old_postuninstall_cmds | \
   10765     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10766       # Double-quote double-evaled strings.
   10767       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10768       ;;
   10769     *)
   10770       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10771       ;;
   10772     esac
   10773   done
   10774 
   10775   case $lt_echo in
   10776   *'\$0 --fallback-echo"')
   10777     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10778     ;;
   10779   esac
   10780 
   10781 cfgfile="${ofile}T"
   10782   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10783   $rm -f "$cfgfile"
   10784   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10785 $as_echo "$as_me: creating $ofile" >&6;}
   10786 
   10787   cat <<__EOF__ >> "$cfgfile"
   10788 #! $SHELL
   10789 
   10790 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10791 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10792 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10793 #
   10794 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10795 # Free Software Foundation, Inc.
   10796 #
   10797 # This file is part of GNU Libtool:
   10798 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10799 #
   10800 # This program is free software; you can redistribute it and/or modify
   10801 # it under the terms of the GNU General Public License as published by
   10802 # the Free Software Foundation; either version 2 of the License, or
   10803 # (at your option) any later version.
   10804 #
   10805 # This program is distributed in the hope that it will be useful, but
   10806 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10807 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10808 # General Public License for more details.
   10809 #
   10810 # You should have received a copy of the GNU General Public License
   10811 # along with this program; if not, write to the Free Software
   10812 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10813 #
   10814 # As a special exception to the GNU General Public License, if you
   10815 # distribute this file as part of a program that contains a
   10816 # configuration script generated by Autoconf, you may include it under
   10817 # the same distribution terms that you use for the rest of that program.
   10818 
   10819 # A sed program that does not truncate output.
   10820 SED=$lt_SED
   10821 
   10822 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10823 Xsed="$SED -e 1s/^X//"
   10824 
   10825 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10826 # if CDPATH is set.
   10827 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10828 
   10829 # The names of the tagged configurations supported by this script.
   10830 available_tags=
   10831 
   10832 # ### BEGIN LIBTOOL CONFIG
   10833 
   10834 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10835 
   10836 # Shell to use when invoking shell scripts.
   10837 SHELL=$lt_SHELL
   10838 
   10839 # Whether or not to build shared libraries.
   10840 build_libtool_libs=$enable_shared
   10841 
   10842 # Whether or not to build static libraries.
   10843 build_old_libs=$enable_static
   10844 
   10845 # Whether or not to add -lc for building shared libraries.
   10846 build_libtool_need_lc=$archive_cmds_need_lc
   10847 
   10848 # Whether or not to disallow shared libs when runtime libs are static
   10849 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10850 
   10851 # Whether or not to optimize for fast installation.
   10852 fast_install=$enable_fast_install
   10853 
   10854 # The host system.
   10855 host_alias=$host_alias
   10856 host=$host
   10857 host_os=$host_os
   10858 
   10859 # The build system.
   10860 build_alias=$build_alias
   10861 build=$build
   10862 build_os=$build_os
   10863 
   10864 # An echo program that does not interpret backslashes.
   10865 echo=$lt_echo
   10866 
   10867 # The archiver.
   10868 AR=$lt_AR
   10869 AR_FLAGS=$lt_AR_FLAGS
   10870 
   10871 # A C compiler.
   10872 LTCC=$lt_LTCC
   10873 
   10874 # LTCC compiler flags.
   10875 LTCFLAGS=$lt_LTCFLAGS
   10876 
   10877 # A language-specific compiler.
   10878 CC=$lt_compiler
   10879 
   10880 # Is the compiler the GNU C compiler?
   10881 with_gcc=$GCC
   10882 
   10883 # An ERE matcher.
   10884 EGREP=$lt_EGREP
   10885 
   10886 # The linker used to build libraries.
   10887 LD=$lt_LD
   10888 
   10889 # Whether we need hard or soft links.
   10890 LN_S=$lt_LN_S
   10891 
   10892 # A BSD-compatible nm program.
   10893 NM=$lt_NM
   10894 
   10895 # A symbol stripping program
   10896 STRIP=$lt_STRIP
   10897 
   10898 # Used to examine libraries when file_magic_cmd begins "file"
   10899 MAGIC_CMD=$MAGIC_CMD
   10900 
   10901 # Used on cygwin: DLL creation program.
   10902 DLLTOOL="$DLLTOOL"
   10903 
   10904 # Used on cygwin: object dumper.
   10905 OBJDUMP="$OBJDUMP"
   10906 
   10907 # Used on cygwin: assembler.
   10908 AS="$AS"
   10909 
   10910 # The name of the directory that contains temporary libtool files.
   10911 objdir=$objdir
   10912 
   10913 # How to create reloadable object files.
   10914 reload_flag=$lt_reload_flag
   10915 reload_cmds=$lt_reload_cmds
   10916 
   10917 # How to pass a linker flag through the compiler.
   10918 wl=$lt_lt_prog_compiler_wl
   10919 
   10920 # Object file suffix (normally "o").
   10921 objext="$ac_objext"
   10922 
   10923 # Old archive suffix (normally "a").
   10924 libext="$libext"
   10925 
   10926 # Shared library suffix (normally ".so").
   10927 shrext_cmds='$shrext_cmds'
   10928 
   10929 # Executable file suffix (normally "").
   10930 exeext="$exeext"
   10931 
   10932 # Additional compiler flags for building library objects.
   10933 pic_flag=$lt_lt_prog_compiler_pic
   10934 pic_mode=$pic_mode
   10935 
   10936 # What is the maximum length of a command?
   10937 max_cmd_len=$lt_cv_sys_max_cmd_len
   10938 
   10939 # Does compiler simultaneously support -c and -o options?
   10940 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10941 
   10942 # Must we lock files when doing compilation?
   10943 need_locks=$lt_need_locks
   10944 
   10945 # Do we need the lib prefix for modules?
   10946 need_lib_prefix=$need_lib_prefix
   10947 
   10948 # Do we need a version for libraries?
   10949 need_version=$need_version
   10950 
   10951 # Whether dlopen is supported.
   10952 dlopen_support=$enable_dlopen
   10953 
   10954 # Whether dlopen of programs is supported.
   10955 dlopen_self=$enable_dlopen_self
   10956 
   10957 # Whether dlopen of statically linked programs is supported.
   10958 dlopen_self_static=$enable_dlopen_self_static
   10959 
   10960 # Compiler flag to prevent dynamic linking.
   10961 link_static_flag=$lt_lt_prog_compiler_static
   10962 
   10963 # Compiler flag to turn off builtin functions.
   10964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10965 
   10966 # Compiler flag to allow reflexive dlopens.
   10967 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10968 
   10969 # Compiler flag to generate shared objects directly from archives.
   10970 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10971 
   10972 # Compiler flag to generate thread-safe objects.
   10973 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10974 
   10975 # Library versioning type.
   10976 version_type=$version_type
   10977 
   10978 # Format of library name prefix.
   10979 libname_spec=$lt_libname_spec
   10980 
   10981 # List of archive names.  First name is the real one, the rest are links.
   10982 # The last name is the one that the linker finds with -lNAME.
   10983 library_names_spec=$lt_library_names_spec
   10984 
   10985 # The coded name of the library, if different from the real name.
   10986 soname_spec=$lt_soname_spec
   10987 
   10988 # Commands used to build and install an old-style archive.
   10989 RANLIB=$lt_RANLIB
   10990 old_archive_cmds=$lt_old_archive_cmds
   10991 old_postinstall_cmds=$lt_old_postinstall_cmds
   10992 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10993 
   10994 # Create an old-style archive from a shared archive.
   10995 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10996 
   10997 # Create a temporary old-style archive to link instead of a shared archive.
   10998 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10999 
   11000 # Commands used to build and install a shared archive.
   11001 archive_cmds=$lt_archive_cmds
   11002 archive_expsym_cmds=$lt_archive_expsym_cmds
   11003 postinstall_cmds=$lt_postinstall_cmds
   11004 postuninstall_cmds=$lt_postuninstall_cmds
   11005 
   11006 # Commands used to build a loadable module (assumed same as above if empty)
   11007 module_cmds=$lt_module_cmds
   11008 module_expsym_cmds=$lt_module_expsym_cmds
   11009 
   11010 # Commands to strip libraries.
   11011 old_striplib=$lt_old_striplib
   11012 striplib=$lt_striplib
   11013 
   11014 # Dependencies to place before the objects being linked to create a
   11015 # shared library.
   11016 predep_objects=$lt_predep_objects
   11017 
   11018 # Dependencies to place after the objects being linked to create a
   11019 # shared library.
   11020 postdep_objects=$lt_postdep_objects
   11021 
   11022 # Dependencies to place before the objects being linked to create a
   11023 # shared library.
   11024 predeps=$lt_predeps
   11025 
   11026 # Dependencies to place after the objects being linked to create a
   11027 # shared library.
   11028 postdeps=$lt_postdeps
   11029 
   11030 # The directories searched by this compiler when creating a shared
   11031 # library
   11032 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11033 
   11034 # The library search path used internally by the compiler when linking
   11035 # a shared library.
   11036 compiler_lib_search_path=$lt_compiler_lib_search_path
   11037 
   11038 # Method to check whether dependent libraries are shared objects.
   11039 deplibs_check_method=$lt_deplibs_check_method
   11040 
   11041 # Command to use when deplibs_check_method == file_magic.
   11042 file_magic_cmd=$lt_file_magic_cmd
   11043 
   11044 # Flag that allows shared libraries with undefined symbols to be built.
   11045 allow_undefined_flag=$lt_allow_undefined_flag
   11046 
   11047 # Flag that forces no undefined symbols.
   11048 no_undefined_flag=$lt_no_undefined_flag
   11049 
   11050 # Commands used to finish a libtool library installation in a directory.
   11051 finish_cmds=$lt_finish_cmds
   11052 
   11053 # Same as above, but a single script fragment to be evaled but not shown.
   11054 finish_eval=$lt_finish_eval
   11055 
   11056 # Take the output of nm and produce a listing of raw symbols and C names.
   11057 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11058 
   11059 # Transform the output of nm in a proper C declaration
   11060 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11061 
   11062 # Transform the output of nm in a C name address pair
   11063 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11064 
   11065 # This is the shared library runtime path variable.
   11066 runpath_var=$runpath_var
   11067 
   11068 # This is the shared library path variable.
   11069 shlibpath_var=$shlibpath_var
   11070 
   11071 # Is shlibpath searched before the hard-coded library search path?
   11072 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11073 
   11074 # How to hardcode a shared library path into an executable.
   11075 hardcode_action=$hardcode_action
   11076 
   11077 # Whether we should hardcode library paths into libraries.
   11078 hardcode_into_libs=$hardcode_into_libs
   11079 
   11080 # Flag to hardcode \$libdir into a binary during linking.
   11081 # This must work even if \$libdir does not exist.
   11082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11083 
   11084 # If ld is used when linking, flag to hardcode \$libdir into
   11085 # a binary during linking. This must work even if \$libdir does
   11086 # not exist.
   11087 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11088 
   11089 # Whether we need a single -rpath flag with a separated argument.
   11090 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11091 
   11092 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11093 # resulting binary.
   11094 hardcode_direct=$hardcode_direct
   11095 
   11096 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11097 # resulting binary.
   11098 hardcode_minus_L=$hardcode_minus_L
   11099 
   11100 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11101 # the resulting binary.
   11102 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11103 
   11104 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11105 # and all subsequent libraries and executables linked against it.
   11106 hardcode_automatic=$hardcode_automatic
   11107 
   11108 # Variables whose values should be saved in libtool wrapper scripts and
   11109 # restored at relink time.
   11110 variables_saved_for_relink="$variables_saved_for_relink"
   11111 
   11112 # Whether libtool must link a program against all its dependency libraries.
   11113 link_all_deplibs=$link_all_deplibs
   11114 
   11115 # Compile-time system search path for libraries
   11116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11117 
   11118 # Run-time system search path for libraries
   11119 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11120 
   11121 # Fix the shell variable \$srcfile for the compiler.
   11122 fix_srcfile_path=$lt_fix_srcfile_path
   11123 
   11124 # Set to yes if exported symbols are required.
   11125 always_export_symbols=$always_export_symbols
   11126 
   11127 # The commands to list exported symbols.
   11128 export_symbols_cmds=$lt_export_symbols_cmds
   11129 
   11130 # The commands to extract the exported symbol list from a shared archive.
   11131 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11132 
   11133 # Symbols that should not be listed in the preloaded symbols.
   11134 exclude_expsyms=$lt_exclude_expsyms
   11135 
   11136 # Symbols that must always be exported.
   11137 include_expsyms=$lt_include_expsyms
   11138 
   11139 # ### END LIBTOOL CONFIG
   11140 
   11141 __EOF__
   11142 
   11143 
   11144   case $host_os in
   11145   aix3*)
   11146     cat <<\EOF >> "$cfgfile"
   11147 
   11148 # AIX sometimes has problems with the GCC collect2 program.  For some
   11149 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11150 # vanish in a puff of smoke.
   11151 if test "X${COLLECT_NAMES+set}" != Xset; then
   11152   COLLECT_NAMES=
   11153   export COLLECT_NAMES
   11154 fi
   11155 EOF
   11156     ;;
   11157   esac
   11158 
   11159   # We use sed instead of cat because bash on DJGPP gets confused if
   11160   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11161   # text mode, it properly converts lines to CR/LF.  This bash problem
   11162   # is reportedly fixed, but why not run on old versions too?
   11163   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11164 
   11165   mv -f "$cfgfile" "$ofile" || \
   11166     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11167   chmod +x "$ofile"
   11168 
   11169 else
   11170   # If there is no Makefile yet, we rely on a make rule to execute
   11171   # `config.status --recheck' to rerun these tests and create the
   11172   # libtool script then.
   11173   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11174   if test -f "$ltmain_in"; then
   11175     test -f Makefile && make "$ltmain"
   11176   fi
   11177 fi
   11178 
   11179 
   11180 ac_ext=c
   11181 ac_cpp='$CPP $CPPFLAGS'
   11182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11185 
   11186 CC="$lt_save_CC"
   11187 
   11188 
   11189 # Check whether --with-tags was given.
   11190 if test "${with_tags+set}" = set; then
   11191   withval=$with_tags; tagnames="$withval"
   11192 fi
   11193 
   11194 
   11195 if test -f "$ltmain" && test -n "$tagnames"; then
   11196   if test ! -f "${ofile}"; then
   11197     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11198 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11199   fi
   11200 
   11201   if test -z "$LTCC"; then
   11202     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11203     if test -z "$LTCC"; then
   11204       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11205 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11206     else
   11207       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11208 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11209     fi
   11210   fi
   11211   if test -z "$LTCFLAGS"; then
   11212     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11213   fi
   11214 
   11215   # Extract list of available tagged configurations in $ofile.
   11216   # Note that this assumes the entire list is on one line.
   11217   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11218 
   11219   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11220   for tagname in $tagnames; do
   11221     IFS="$lt_save_ifs"
   11222     # Check whether tagname contains only valid characters
   11223     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11224     "") ;;
   11225     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11226 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11227    { (exit 1); exit 1; }; }
   11228 	;;
   11229     esac
   11230 
   11231     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11232     then
   11233       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11234 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11235    { (exit 1); exit 1; }; }
   11236     fi
   11237 
   11238     # Update the list of available tags.
   11239     if test -n "$tagname"; then
   11240       echo appending configuration tag \"$tagname\" to $ofile
   11241 
   11242       case $tagname in
   11243       CXX)
   11244 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11245 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11246 	    (test "X$CXX" != "Xg++"))) ; then
   11247 	  ac_ext=cpp
   11248 ac_cpp='$CXXCPP $CPPFLAGS'
   11249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11252 
   11253 
   11254 
   11255 
   11256 archive_cmds_need_lc_CXX=no
   11257 allow_undefined_flag_CXX=
   11258 always_export_symbols_CXX=no
   11259 archive_expsym_cmds_CXX=
   11260 export_dynamic_flag_spec_CXX=
   11261 hardcode_direct_CXX=no
   11262 hardcode_libdir_flag_spec_CXX=
   11263 hardcode_libdir_flag_spec_ld_CXX=
   11264 hardcode_libdir_separator_CXX=
   11265 hardcode_minus_L_CXX=no
   11266 hardcode_shlibpath_var_CXX=unsupported
   11267 hardcode_automatic_CXX=no
   11268 module_cmds_CXX=
   11269 module_expsym_cmds_CXX=
   11270 link_all_deplibs_CXX=unknown
   11271 old_archive_cmds_CXX=$old_archive_cmds
   11272 no_undefined_flag_CXX=
   11273 whole_archive_flag_spec_CXX=
   11274 enable_shared_with_static_runtimes_CXX=no
   11275 
   11276 # Dependencies to place before and after the object being linked:
   11277 predep_objects_CXX=
   11278 postdep_objects_CXX=
   11279 predeps_CXX=
   11280 postdeps_CXX=
   11281 compiler_lib_search_path_CXX=
   11282 compiler_lib_search_dirs_CXX=
   11283 
   11284 # Source file extension for C++ test sources.
   11285 ac_ext=cpp
   11286 
   11287 # Object file extension for compiled C++ test sources.
   11288 objext=o
   11289 objext_CXX=$objext
   11290 
   11291 # Code to be used in simple compile tests
   11292 lt_simple_compile_test_code="int some_variable = 0;"
   11293 
   11294 # Code to be used in simple link tests
   11295 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11296 
   11297 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11298 
   11299 # If no C compiler was specified, use CC.
   11300 LTCC=${LTCC-"$CC"}
   11301 
   11302 # If no C compiler flags were specified, use CFLAGS.
   11303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11304 
   11305 # Allow CC to be a program name with arguments.
   11306 compiler=$CC
   11307 
   11308 
   11309 # save warnings/boilerplate of simple test code
   11310 ac_outfile=conftest.$ac_objext
   11311 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11312 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11313 _lt_compiler_boilerplate=`cat conftest.err`
   11314 $rm conftest*
   11315 
   11316 ac_outfile=conftest.$ac_objext
   11317 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11318 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11319 _lt_linker_boilerplate=`cat conftest.err`
   11320 $rm -r conftest*
   11321 
   11322 
   11323 # Allow CC to be a program name with arguments.
   11324 lt_save_CC=$CC
   11325 lt_save_LD=$LD
   11326 lt_save_GCC=$GCC
   11327 GCC=$GXX
   11328 lt_save_with_gnu_ld=$with_gnu_ld
   11329 lt_save_path_LD=$lt_cv_path_LD
   11330 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11331   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11332 else
   11333   $as_unset lt_cv_prog_gnu_ld
   11334 fi
   11335 if test -n "${lt_cv_path_LDCXX+set}"; then
   11336   lt_cv_path_LD=$lt_cv_path_LDCXX
   11337 else
   11338   $as_unset lt_cv_path_LD
   11339 fi
   11340 test -z "${LDCXX+set}" || LD=$LDCXX
   11341 CC=${CXX-"c++"}
   11342 compiler=$CC
   11343 compiler_CXX=$CC
   11344 for cc_temp in $compiler""; do
   11345   case $cc_temp in
   11346     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11347     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11348     \-*) ;;
   11349     *) break;;
   11350   esac
   11351 done
   11352 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11353 
   11354 
   11355 # We don't want -fno-exception wen compiling C++ code, so set the
   11356 # no_builtin_flag separately
   11357 if test "$GXX" = yes; then
   11358   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11359 else
   11360   lt_prog_compiler_no_builtin_flag_CXX=
   11361 fi
   11362 
   11363 if test "$GXX" = yes; then
   11364   # Set up default GNU C++ configuration
   11365 
   11366 
   11367 # Check whether --with-gnu-ld was given.
   11368 if test "${with_gnu_ld+set}" = set; then
   11369   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11370 else
   11371   with_gnu_ld=no
   11372 fi
   11373 
   11374 ac_prog=ld
   11375 if test "$GCC" = yes; then
   11376   # Check if gcc -print-prog-name=ld gives a path.
   11377   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11378 $as_echo_n "checking for ld used by $CC... " >&6; }
   11379   case $host in
   11380   *-*-mingw*)
   11381     # gcc leaves a trailing carriage return which upsets mingw
   11382     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11383   *)
   11384     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11385   esac
   11386   case $ac_prog in
   11387     # Accept absolute paths.
   11388     [\\/]* | ?:[\\/]*)
   11389       re_direlt='/[^/][^/]*/\.\./'
   11390       # Canonicalize the pathname of ld
   11391       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11392       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11393 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11394       done
   11395       test -z "$LD" && LD="$ac_prog"
   11396       ;;
   11397   "")
   11398     # If it fails, then pretend we aren't using GCC.
   11399     ac_prog=ld
   11400     ;;
   11401   *)
   11402     # If it is relative, then search for the first ld in PATH.
   11403     with_gnu_ld=unknown
   11404     ;;
   11405   esac
   11406 elif test "$with_gnu_ld" = yes; then
   11407   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11408 $as_echo_n "checking for GNU ld... " >&6; }
   11409 else
   11410   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11411 $as_echo_n "checking for non-GNU ld... " >&6; }
   11412 fi
   11413 if test "${lt_cv_path_LD+set}" = set; then
   11414   $as_echo_n "(cached) " >&6
   11415 else
   11416   if test -z "$LD"; then
   11417   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11418   for ac_dir in $PATH; do
   11419     IFS="$lt_save_ifs"
   11420     test -z "$ac_dir" && ac_dir=.
   11421     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11422       lt_cv_path_LD="$ac_dir/$ac_prog"
   11423       # Check to see if the program is GNU ld.  I'd rather use --version,
   11424       # but apparently some variants of GNU ld only accept -v.
   11425       # Break only if it was the GNU/non-GNU ld that we prefer.
   11426       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11427       *GNU* | *'with BFD'*)
   11428 	test "$with_gnu_ld" != no && break
   11429 	;;
   11430       *)
   11431 	test "$with_gnu_ld" != yes && break
   11432 	;;
   11433       esac
   11434     fi
   11435   done
   11436   IFS="$lt_save_ifs"
   11437 else
   11438   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11439 fi
   11440 fi
   11441 
   11442 LD="$lt_cv_path_LD"
   11443 if test -n "$LD"; then
   11444   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11445 $as_echo "$LD" >&6; }
   11446 else
   11447   { $as_echo "$as_me:$LINENO: result: no" >&5
   11448 $as_echo "no" >&6; }
   11449 fi
   11450 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11451 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11452    { (exit 1); exit 1; }; }
   11453 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11455 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11456   $as_echo_n "(cached) " >&6
   11457 else
   11458   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11459 case `$LD -v 2>&1 </dev/null` in
   11460 *GNU* | *'with BFD'*)
   11461   lt_cv_prog_gnu_ld=yes
   11462   ;;
   11463 *)
   11464   lt_cv_prog_gnu_ld=no
   11465   ;;
   11466 esac
   11467 fi
   11468 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11470 with_gnu_ld=$lt_cv_prog_gnu_ld
   11471 
   11472 
   11473 
   11474   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11475   # archiving commands below assume that GNU ld is being used.
   11476   if test "$with_gnu_ld" = yes; then
   11477     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11478     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'
   11479 
   11480     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11481     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11482 
   11483     # If archive_cmds runs LD, not CC, wlarc should be empty
   11484     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11485     #     investigate it a little bit more. (MM)
   11486     wlarc='${wl}'
   11487 
   11488     # ancient GNU ld didn't support --whole-archive et. al.
   11489     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11490 	grep 'no-whole-archive' > /dev/null; then
   11491       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11492     else
   11493       whole_archive_flag_spec_CXX=
   11494     fi
   11495   else
   11496     with_gnu_ld=no
   11497     wlarc=
   11498 
   11499     # A generic and very simple default shared library creation
   11500     # command for GNU C++ for the case where it uses the native
   11501     # linker, instead of GNU ld.  If possible, this setting should
   11502     # overridden to take advantage of the native linker features on
   11503     # the platform it is being used on.
   11504     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11505   fi
   11506 
   11507   # Commands to make compiler produce verbose output that lists
   11508   # what "hidden" libraries, object files and flags are used when
   11509   # linking a shared library.
   11510   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11511 
   11512 else
   11513   GXX=no
   11514   with_gnu_ld=no
   11515   wlarc=
   11516 fi
   11517 
   11518 # PORTME: fill in a description of your system's C++ link characteristics
   11519 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11520 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11521 ld_shlibs_CXX=yes
   11522 case $host_os in
   11523   aix3*)
   11524     # FIXME: insert proper C++ library support
   11525     ld_shlibs_CXX=no
   11526     ;;
   11527   aix[4-9]*)
   11528     if test "$host_cpu" = ia64; then
   11529       # On IA64, the linker does run time linking by default, so we don't
   11530       # have to do anything special.
   11531       aix_use_runtimelinking=no
   11532       exp_sym_flag='-Bexport'
   11533       no_entry_flag=""
   11534     else
   11535       aix_use_runtimelinking=no
   11536 
   11537       # Test if we are trying to use run time linking or normal
   11538       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11539       # need to do runtime linking.
   11540       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11541 	for ld_flag in $LDFLAGS; do
   11542 	  case $ld_flag in
   11543 	  *-brtl*)
   11544 	    aix_use_runtimelinking=yes
   11545 	    break
   11546 	    ;;
   11547 	  esac
   11548 	done
   11549 	;;
   11550       esac
   11551 
   11552       exp_sym_flag='-bexport'
   11553       no_entry_flag='-bnoentry'
   11554     fi
   11555 
   11556     # When large executables or shared objects are built, AIX ld can
   11557     # have problems creating the table of contents.  If linking a library
   11558     # or program results in "error TOC overflow" add -mminimal-toc to
   11559     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11560     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11561 
   11562     archive_cmds_CXX=''
   11563     hardcode_direct_CXX=yes
   11564     hardcode_libdir_separator_CXX=':'
   11565     link_all_deplibs_CXX=yes
   11566 
   11567     if test "$GXX" = yes; then
   11568       case $host_os in aix4.[012]|aix4.[012].*)
   11569       # We only want to do this on AIX 4.2 and lower, the check
   11570       # below for broken collect2 doesn't work under 4.3+
   11571 	collect2name=`${CC} -print-prog-name=collect2`
   11572 	if test -f "$collect2name" && \
   11573 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11574 	then
   11575 	  # We have reworked collect2
   11576 	  :
   11577 	else
   11578 	  # We have old collect2
   11579 	  hardcode_direct_CXX=unsupported
   11580 	  # It fails to find uninstalled libraries when the uninstalled
   11581 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11582 	  # to unsupported forces relinking
   11583 	  hardcode_minus_L_CXX=yes
   11584 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11585 	  hardcode_libdir_separator_CXX=
   11586 	fi
   11587 	;;
   11588       esac
   11589       shared_flag='-shared'
   11590       if test "$aix_use_runtimelinking" = yes; then
   11591 	shared_flag="$shared_flag "'${wl}-G'
   11592       fi
   11593     else
   11594       # not using gcc
   11595       if test "$host_cpu" = ia64; then
   11596 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11597 	# chokes on -Wl,-G. The following line is correct:
   11598 	shared_flag='-G'
   11599       else
   11600 	if test "$aix_use_runtimelinking" = yes; then
   11601 	  shared_flag='${wl}-G'
   11602 	else
   11603 	  shared_flag='${wl}-bM:SRE'
   11604 	fi
   11605       fi
   11606     fi
   11607 
   11608     # It seems that -bexpall does not export symbols beginning with
   11609     # underscore (_), so it is better to generate a list of symbols to export.
   11610     always_export_symbols_CXX=yes
   11611     if test "$aix_use_runtimelinking" = yes; then
   11612       # Warning - without using the other runtime loading flags (-brtl),
   11613       # -berok will link without error, but may produce a broken library.
   11614       allow_undefined_flag_CXX='-berok'
   11615       # Determine the default libpath from the value encoded in an empty executable.
   11616       cat >conftest.$ac_ext <<_ACEOF
   11617 /* confdefs.h.  */
   11618 _ACEOF
   11619 cat confdefs.h >>conftest.$ac_ext
   11620 cat >>conftest.$ac_ext <<_ACEOF
   11621 /* end confdefs.h.  */
   11622 
   11623 int
   11624 main ()
   11625 {
   11626 
   11627   ;
   11628   return 0;
   11629 }
   11630 _ACEOF
   11631 rm -f conftest.$ac_objext conftest$ac_exeext
   11632 if { (ac_try="$ac_link"
   11633 case "(($ac_try" in
   11634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11635   *) ac_try_echo=$ac_try;;
   11636 esac
   11637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11638 $as_echo "$ac_try_echo") >&5
   11639   (eval "$ac_link") 2>conftest.er1
   11640   ac_status=$?
   11641   grep -v '^ *+' conftest.er1 >conftest.err
   11642   rm -f conftest.er1
   11643   cat conftest.err >&5
   11644   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11645   (exit $ac_status); } && {
   11646 	 test -z "$ac_cxx_werror_flag" ||
   11647 	 test ! -s conftest.err
   11648        } && test -s conftest$ac_exeext && {
   11649 	 test "$cross_compiling" = yes ||
   11650 	 $as_test_x conftest$ac_exeext
   11651        }; then
   11652 
   11653 lt_aix_libpath_sed='
   11654     /Import File Strings/,/^$/ {
   11655 	/^0/ {
   11656 	    s/^0  *\(.*\)$/\1/
   11657 	    p
   11658 	}
   11659     }'
   11660 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11661 # Check for a 64-bit object if we didn't find anything.
   11662 if test -z "$aix_libpath"; then
   11663   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11664 fi
   11665 else
   11666   $as_echo "$as_me: failed program was:" >&5
   11667 sed 's/^/| /' conftest.$ac_ext >&5
   11668 
   11669 
   11670 fi
   11671 
   11672 rm -rf conftest.dSYM
   11673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11674       conftest$ac_exeext conftest.$ac_ext
   11675 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11676 
   11677       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11678 
   11679       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"
   11680      else
   11681       if test "$host_cpu" = ia64; then
   11682 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11683 	allow_undefined_flag_CXX="-z nodefs"
   11684 	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"
   11685       else
   11686 	# Determine the default libpath from the value encoded in an empty executable.
   11687 	cat >conftest.$ac_ext <<_ACEOF
   11688 /* confdefs.h.  */
   11689 _ACEOF
   11690 cat confdefs.h >>conftest.$ac_ext
   11691 cat >>conftest.$ac_ext <<_ACEOF
   11692 /* end confdefs.h.  */
   11693 
   11694 int
   11695 main ()
   11696 {
   11697 
   11698   ;
   11699   return 0;
   11700 }
   11701 _ACEOF
   11702 rm -f conftest.$ac_objext conftest$ac_exeext
   11703 if { (ac_try="$ac_link"
   11704 case "(($ac_try" in
   11705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11706   *) ac_try_echo=$ac_try;;
   11707 esac
   11708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11709 $as_echo "$ac_try_echo") >&5
   11710   (eval "$ac_link") 2>conftest.er1
   11711   ac_status=$?
   11712   grep -v '^ *+' conftest.er1 >conftest.err
   11713   rm -f conftest.er1
   11714   cat conftest.err >&5
   11715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11716   (exit $ac_status); } && {
   11717 	 test -z "$ac_cxx_werror_flag" ||
   11718 	 test ! -s conftest.err
   11719        } && test -s conftest$ac_exeext && {
   11720 	 test "$cross_compiling" = yes ||
   11721 	 $as_test_x conftest$ac_exeext
   11722        }; then
   11723 
   11724 lt_aix_libpath_sed='
   11725     /Import File Strings/,/^$/ {
   11726 	/^0/ {
   11727 	    s/^0  *\(.*\)$/\1/
   11728 	    p
   11729 	}
   11730     }'
   11731 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11732 # Check for a 64-bit object if we didn't find anything.
   11733 if test -z "$aix_libpath"; then
   11734   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11735 fi
   11736 else
   11737   $as_echo "$as_me: failed program was:" >&5
   11738 sed 's/^/| /' conftest.$ac_ext >&5
   11739 
   11740 
   11741 fi
   11742 
   11743 rm -rf conftest.dSYM
   11744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11745       conftest$ac_exeext conftest.$ac_ext
   11746 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11747 
   11748 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11749 	# Warning - without using the other run time loading flags,
   11750 	# -berok will link without error, but may produce a broken library.
   11751 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11752 	allow_undefined_flag_CXX=' ${wl}-berok'
   11753 	# Exported symbols can be pulled into shared objects from archives
   11754 	whole_archive_flag_spec_CXX='$convenience'
   11755 	archive_cmds_need_lc_CXX=yes
   11756 	# This is similar to how AIX traditionally builds its shared libraries.
   11757 	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'
   11758       fi
   11759     fi
   11760     ;;
   11761 
   11762   beos*)
   11763     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11764       allow_undefined_flag_CXX=unsupported
   11765       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11766       # support --undefined.  This deserves some investigation.  FIXME
   11767       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11768     else
   11769       ld_shlibs_CXX=no
   11770     fi
   11771     ;;
   11772 
   11773   chorus*)
   11774     case $cc_basename in
   11775       *)
   11776 	# FIXME: insert proper C++ library support
   11777 	ld_shlibs_CXX=no
   11778 	;;
   11779     esac
   11780     ;;
   11781 
   11782   cygwin* | mingw* | pw32*)
   11783     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11784     # as there is no search path for DLLs.
   11785     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11786     allow_undefined_flag_CXX=unsupported
   11787     always_export_symbols_CXX=no
   11788     enable_shared_with_static_runtimes_CXX=yes
   11789 
   11790     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11791       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'
   11792       # If the export-symbols file already is a .def file (1st line
   11793       # is EXPORTS), use it as is; otherwise, prepend...
   11794       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11795 	cp $export_symbols $output_objdir/$soname.def;
   11796       else
   11797 	echo EXPORTS > $output_objdir/$soname.def;
   11798 	cat $export_symbols >> $output_objdir/$soname.def;
   11799       fi~
   11800       $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'
   11801     else
   11802       ld_shlibs_CXX=no
   11803     fi
   11804   ;;
   11805       darwin* | rhapsody*)
   11806       archive_cmds_need_lc_CXX=no
   11807       hardcode_direct_CXX=no
   11808       hardcode_automatic_CXX=yes
   11809       hardcode_shlibpath_var_CXX=unsupported
   11810       whole_archive_flag_spec_CXX=''
   11811       link_all_deplibs_CXX=yes
   11812       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11813       if test "$GXX" = yes ; then
   11814       output_verbose_link_cmd='echo'
   11815       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}"
   11816       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11817       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}"
   11818       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}"
   11819       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11820         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}"
   11821         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}"
   11822       fi
   11823       else
   11824       case $cc_basename in
   11825         xlc*)
   11826          output_verbose_link_cmd='echo'
   11827           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'
   11828           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11829           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11830           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}'
   11831           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}'
   11832           ;;
   11833        *)
   11834          ld_shlibs_CXX=no
   11835           ;;
   11836       esac
   11837       fi
   11838         ;;
   11839 
   11840   dgux*)
   11841     case $cc_basename in
   11842       ec++*)
   11843 	# FIXME: insert proper C++ library support
   11844 	ld_shlibs_CXX=no
   11845 	;;
   11846       ghcx*)
   11847 	# Green Hills C++ Compiler
   11848 	# FIXME: insert proper C++ library support
   11849 	ld_shlibs_CXX=no
   11850 	;;
   11851       *)
   11852 	# FIXME: insert proper C++ library support
   11853 	ld_shlibs_CXX=no
   11854 	;;
   11855     esac
   11856     ;;
   11857   freebsd[12]*)
   11858     # C++ shared libraries reported to be fairly broken before switch to ELF
   11859     ld_shlibs_CXX=no
   11860     ;;
   11861   freebsd-elf*)
   11862     archive_cmds_need_lc_CXX=no
   11863     ;;
   11864   freebsd* | dragonfly*)
   11865     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11866     # conventions
   11867     ld_shlibs_CXX=yes
   11868     ;;
   11869   gnu*)
   11870     ;;
   11871   hpux9*)
   11872     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11873     hardcode_libdir_separator_CXX=:
   11874     export_dynamic_flag_spec_CXX='${wl}-E'
   11875     hardcode_direct_CXX=yes
   11876     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11877 				# but as the default
   11878 				# location of the library.
   11879 
   11880     case $cc_basename in
   11881     CC*)
   11882       # FIXME: insert proper C++ library support
   11883       ld_shlibs_CXX=no
   11884       ;;
   11885     aCC*)
   11886       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'
   11887       # Commands to make compiler produce verbose output that lists
   11888       # what "hidden" libraries, object files and flags are used when
   11889       # linking a shared library.
   11890       #
   11891       # There doesn't appear to be a way to prevent this compiler from
   11892       # explicitly linking system object files so we need to strip them
   11893       # from the output so that they don't get included in the library
   11894       # dependencies.
   11895       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'
   11896       ;;
   11897     *)
   11898       if test "$GXX" = yes; then
   11899         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'
   11900       else
   11901         # FIXME: insert proper C++ library support
   11902         ld_shlibs_CXX=no
   11903       fi
   11904       ;;
   11905     esac
   11906     ;;
   11907   hpux10*|hpux11*)
   11908     if test $with_gnu_ld = no; then
   11909       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11910       hardcode_libdir_separator_CXX=:
   11911 
   11912       case $host_cpu in
   11913       hppa*64*|ia64*) ;;
   11914       *)
   11915 	export_dynamic_flag_spec_CXX='${wl}-E'
   11916         ;;
   11917       esac
   11918     fi
   11919     case $host_cpu in
   11920     hppa*64*|ia64*)
   11921       hardcode_direct_CXX=no
   11922       hardcode_shlibpath_var_CXX=no
   11923       ;;
   11924     *)
   11925       hardcode_direct_CXX=yes
   11926       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11927 					      # but as the default
   11928 					      # location of the library.
   11929       ;;
   11930     esac
   11931 
   11932     case $cc_basename in
   11933       CC*)
   11934 	# FIXME: insert proper C++ library support
   11935 	ld_shlibs_CXX=no
   11936 	;;
   11937       aCC*)
   11938 	case $host_cpu in
   11939 	hppa*64*)
   11940 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11941 	  ;;
   11942 	ia64*)
   11943 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11944 	  ;;
   11945 	*)
   11946 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11947 	  ;;
   11948 	esac
   11949 	# Commands to make compiler produce verbose output that lists
   11950 	# what "hidden" libraries, object files and flags are used when
   11951 	# linking a shared library.
   11952 	#
   11953 	# There doesn't appear to be a way to prevent this compiler from
   11954 	# explicitly linking system object files so we need to strip them
   11955 	# from the output so that they don't get included in the library
   11956 	# dependencies.
   11957 	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'
   11958 	;;
   11959       *)
   11960 	if test "$GXX" = yes; then
   11961 	  if test $with_gnu_ld = no; then
   11962 	    case $host_cpu in
   11963 	    hppa*64*)
   11964 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11965 	      ;;
   11966 	    ia64*)
   11967 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11968 	      ;;
   11969 	    *)
   11970 	      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'
   11971 	      ;;
   11972 	    esac
   11973 	  fi
   11974 	else
   11975 	  # FIXME: insert proper C++ library support
   11976 	  ld_shlibs_CXX=no
   11977 	fi
   11978 	;;
   11979     esac
   11980     ;;
   11981   interix[3-9]*)
   11982     hardcode_direct_CXX=no
   11983     hardcode_shlibpath_var_CXX=no
   11984     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11985     export_dynamic_flag_spec_CXX='${wl}-E'
   11986     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11987     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11988     # default) and relocated if they conflict, which is a slow very memory
   11989     # consuming and fragmenting process.  To avoid this, we pick a random,
   11990     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11991     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11992     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'
   11993     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'
   11994     ;;
   11995   irix5* | irix6*)
   11996     case $cc_basename in
   11997       CC*)
   11998 	# SGI C++
   11999 	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'
   12000 
   12001 	# Archives containing C++ object files must be created using
   12002 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12003 	# necessary to make sure instantiated templates are included
   12004 	# in the archive.
   12005 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12006 	;;
   12007       *)
   12008 	if test "$GXX" = yes; then
   12009 	  if test "$with_gnu_ld" = no; then
   12010 	    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'
   12011 	  else
   12012 	    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'
   12013 	  fi
   12014 	fi
   12015 	link_all_deplibs_CXX=yes
   12016 	;;
   12017     esac
   12018     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12019     hardcode_libdir_separator_CXX=:
   12020     ;;
   12021   linux* | k*bsd*-gnu)
   12022     case $cc_basename in
   12023       KCC*)
   12024 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12025 
   12026 	# KCC will only create a shared library if the output file
   12027 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12028 	# to its proper name (with version) after linking.
   12029 	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'
   12030 	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'
   12031 	# Commands to make compiler produce verbose output that lists
   12032 	# what "hidden" libraries, object files and flags are used when
   12033 	# linking a shared library.
   12034 	#
   12035 	# There doesn't appear to be a way to prevent this compiler from
   12036 	# explicitly linking system object files so we need to strip them
   12037 	# from the output so that they don't get included in the library
   12038 	# dependencies.
   12039 	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'
   12040 
   12041 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12042 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12043 
   12044 	# Archives containing C++ object files must be created using
   12045 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12046 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12047 	;;
   12048       icpc*)
   12049 	# Intel C++
   12050 	with_gnu_ld=yes
   12051 	# version 8.0 and above of icpc choke on multiply defined symbols
   12052 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12053 	# earlier do not add the objects themselves.
   12054 	case `$CC -V 2>&1` in
   12055 	*"Version 7."*)
   12056   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12057   	  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'
   12058 	  ;;
   12059 	*)  # Version 8.0 or newer
   12060 	  tmp_idyn=
   12061 	  case $host_cpu in
   12062 	    ia64*) tmp_idyn=' -i_dynamic';;
   12063 	  esac
   12064   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12065 	  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'
   12066 	  ;;
   12067 	esac
   12068 	archive_cmds_need_lc_CXX=no
   12069 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12070 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12071 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12072 	;;
   12073       pgCC* | pgcpp*)
   12074         # Portland Group C++ compiler
   12075 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12076   	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'
   12077 
   12078 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12079 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12080 	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'
   12081         ;;
   12082       cxx*)
   12083 	# Compaq C++
   12084 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12085 	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'
   12086 
   12087 	runpath_var=LD_RUN_PATH
   12088 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12089 	hardcode_libdir_separator_CXX=:
   12090 
   12091 	# Commands to make compiler produce verbose output that lists
   12092 	# what "hidden" libraries, object files and flags are used when
   12093 	# linking a shared library.
   12094 	#
   12095 	# There doesn't appear to be a way to prevent this compiler from
   12096 	# explicitly linking system object files so we need to strip them
   12097 	# from the output so that they don't get included in the library
   12098 	# dependencies.
   12099 	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'
   12100 	;;
   12101       *)
   12102 	case `$CC -V 2>&1 | sed 5q` in
   12103 	*Sun\ C*)
   12104 	  # Sun C++ 5.9
   12105 	  no_undefined_flag_CXX=' -zdefs'
   12106 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12107 	  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'
   12108 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12109 	  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'
   12110 
   12111 	  # Not sure whether something based on
   12112 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12113 	  # would be better.
   12114 	  output_verbose_link_cmd='echo'
   12115 
   12116 	  # Archives containing C++ object files must be created using
   12117 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12118 	  # necessary to make sure instantiated templates are included
   12119 	  # in the archive.
   12120 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12121 	  ;;
   12122 	esac
   12123 	;;
   12124     esac
   12125     ;;
   12126   lynxos*)
   12127     # FIXME: insert proper C++ library support
   12128     ld_shlibs_CXX=no
   12129     ;;
   12130   m88k*)
   12131     # FIXME: insert proper C++ library support
   12132     ld_shlibs_CXX=no
   12133     ;;
   12134   mvs*)
   12135     case $cc_basename in
   12136       cxx*)
   12137 	# FIXME: insert proper C++ library support
   12138 	ld_shlibs_CXX=no
   12139 	;;
   12140       *)
   12141 	# FIXME: insert proper C++ library support
   12142 	ld_shlibs_CXX=no
   12143 	;;
   12144     esac
   12145     ;;
   12146   netbsd*)
   12147     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12148       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12149       wlarc=
   12150       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12151       hardcode_direct_CXX=yes
   12152       hardcode_shlibpath_var_CXX=no
   12153     fi
   12154     # Workaround some broken pre-1.5 toolchains
   12155     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12156     ;;
   12157   openbsd2*)
   12158     # C++ shared libraries are fairly broken
   12159     ld_shlibs_CXX=no
   12160     ;;
   12161   openbsd*)
   12162     if test -f /usr/libexec/ld.so; then
   12163       hardcode_direct_CXX=yes
   12164       hardcode_shlibpath_var_CXX=no
   12165       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12166       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12167       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12168 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12169 	export_dynamic_flag_spec_CXX='${wl}-E'
   12170 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12171       fi
   12172       output_verbose_link_cmd='echo'
   12173     else
   12174       ld_shlibs_CXX=no
   12175     fi
   12176     ;;
   12177   osf3*)
   12178     case $cc_basename in
   12179       KCC*)
   12180 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12181 
   12182 	# KCC will only create a shared library if the output file
   12183 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12184 	# to its proper name (with version) after linking.
   12185 	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'
   12186 
   12187 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12188 	hardcode_libdir_separator_CXX=:
   12189 
   12190 	# Archives containing C++ object files must be created using
   12191 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12192 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12193 
   12194 	;;
   12195       RCC*)
   12196 	# Rational C++ 2.4.1
   12197 	# FIXME: insert proper C++ library support
   12198 	ld_shlibs_CXX=no
   12199 	;;
   12200       cxx*)
   12201 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12202 	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'
   12203 
   12204 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12205 	hardcode_libdir_separator_CXX=:
   12206 
   12207 	# Commands to make compiler produce verbose output that lists
   12208 	# what "hidden" libraries, object files and flags are used when
   12209 	# linking a shared library.
   12210 	#
   12211 	# There doesn't appear to be a way to prevent this compiler from
   12212 	# explicitly linking system object files so we need to strip them
   12213 	# from the output so that they don't get included in the library
   12214 	# dependencies.
   12215 	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'
   12216 	;;
   12217       *)
   12218 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12219 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12220 	  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'
   12221 
   12222 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12223 	  hardcode_libdir_separator_CXX=:
   12224 
   12225 	  # Commands to make compiler produce verbose output that lists
   12226 	  # what "hidden" libraries, object files and flags are used when
   12227 	  # linking a shared library.
   12228 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12229 
   12230 	else
   12231 	  # FIXME: insert proper C++ library support
   12232 	  ld_shlibs_CXX=no
   12233 	fi
   12234 	;;
   12235     esac
   12236     ;;
   12237   osf4* | osf5*)
   12238     case $cc_basename in
   12239       KCC*)
   12240 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12241 
   12242 	# KCC will only create a shared library if the output file
   12243 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12244 	# to its proper name (with version) after linking.
   12245 	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'
   12246 
   12247 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12248 	hardcode_libdir_separator_CXX=:
   12249 
   12250 	# Archives containing C++ object files must be created using
   12251 	# the KAI C++ compiler.
   12252 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12253 	;;
   12254       RCC*)
   12255 	# Rational C++ 2.4.1
   12256 	# FIXME: insert proper C++ library support
   12257 	ld_shlibs_CXX=no
   12258 	;;
   12259       cxx*)
   12260 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12261 	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'
   12262 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12263 	  echo "-hidden">> $lib.exp~
   12264 	  $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~
   12265 	  $rm $lib.exp'
   12266 
   12267 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12268 	hardcode_libdir_separator_CXX=:
   12269 
   12270 	# Commands to make compiler produce verbose output that lists
   12271 	# what "hidden" libraries, object files and flags are used when
   12272 	# linking a shared library.
   12273 	#
   12274 	# There doesn't appear to be a way to prevent this compiler from
   12275 	# explicitly linking system object files so we need to strip them
   12276 	# from the output so that they don't get included in the library
   12277 	# dependencies.
   12278 	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'
   12279 	;;
   12280       *)
   12281 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12282 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12283 	 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'
   12284 
   12285 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12286 	  hardcode_libdir_separator_CXX=:
   12287 
   12288 	  # Commands to make compiler produce verbose output that lists
   12289 	  # what "hidden" libraries, object files and flags are used when
   12290 	  # linking a shared library.
   12291 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12292 
   12293 	else
   12294 	  # FIXME: insert proper C++ library support
   12295 	  ld_shlibs_CXX=no
   12296 	fi
   12297 	;;
   12298     esac
   12299     ;;
   12300   psos*)
   12301     # FIXME: insert proper C++ library support
   12302     ld_shlibs_CXX=no
   12303     ;;
   12304   sunos4*)
   12305     case $cc_basename in
   12306       CC*)
   12307 	# Sun C++ 4.x
   12308 	# FIXME: insert proper C++ library support
   12309 	ld_shlibs_CXX=no
   12310 	;;
   12311       lcc*)
   12312 	# Lucid
   12313 	# FIXME: insert proper C++ library support
   12314 	ld_shlibs_CXX=no
   12315 	;;
   12316       *)
   12317 	# FIXME: insert proper C++ library support
   12318 	ld_shlibs_CXX=no
   12319 	;;
   12320     esac
   12321     ;;
   12322   solaris*)
   12323     case $cc_basename in
   12324       CC*)
   12325 	# Sun C++ 4.2, 5.x and Centerline C++
   12326         archive_cmds_need_lc_CXX=yes
   12327 	no_undefined_flag_CXX=' -zdefs'
   12328 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12329 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12330 	$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'
   12331 
   12332 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12333 	hardcode_shlibpath_var_CXX=no
   12334 	case $host_os in
   12335 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12336 	  *)
   12337 	    # The compiler driver will combine and reorder linker options,
   12338 	    # but understands `-z linker_flag'.
   12339 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12340 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12341 	    ;;
   12342 	esac
   12343 	link_all_deplibs_CXX=yes
   12344 
   12345 	output_verbose_link_cmd='echo'
   12346 
   12347 	# Archives containing C++ object files must be created using
   12348 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12349 	# necessary to make sure instantiated templates are included
   12350 	# in the archive.
   12351 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12352 	;;
   12353       gcx*)
   12354 	# Green Hills C++ Compiler
   12355 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12356 
   12357 	# The C++ compiler must be used to create the archive.
   12358 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12359 	;;
   12360       *)
   12361 	# GNU C++ compiler with Solaris linker
   12362 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12363 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12364 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12365 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12366 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12367 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12368 
   12369 	    # Commands to make compiler produce verbose output that lists
   12370 	    # what "hidden" libraries, object files and flags are used when
   12371 	    # linking a shared library.
   12372 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12373 	  else
   12374 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12375 	    # platform.
   12376 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12377 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12378 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12379 
   12380 	    # Commands to make compiler produce verbose output that lists
   12381 	    # what "hidden" libraries, object files and flags are used when
   12382 	    # linking a shared library.
   12383 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12384 	  fi
   12385 
   12386 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12387 	  case $host_os in
   12388 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12389 	  *)
   12390 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12391 	    ;;
   12392 	  esac
   12393 	fi
   12394 	;;
   12395     esac
   12396     ;;
   12397   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12398     no_undefined_flag_CXX='${wl}-z,text'
   12399     archive_cmds_need_lc_CXX=no
   12400     hardcode_shlibpath_var_CXX=no
   12401     runpath_var='LD_RUN_PATH'
   12402 
   12403     case $cc_basename in
   12404       CC*)
   12405 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12406 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12407 	;;
   12408       *)
   12409 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12410 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12411 	;;
   12412     esac
   12413     ;;
   12414   sysv5* | sco3.2v5* | sco5v6*)
   12415     # Note: We can NOT use -z defs as we might desire, because we do not
   12416     # link with -lc, and that would cause any symbols used from libc to
   12417     # always be unresolved, which means just about no library would
   12418     # ever link correctly.  If we're not using GNU ld we use -z text
   12419     # though, which does catch some bad symbols but isn't as heavy-handed
   12420     # as -z defs.
   12421     # For security reasons, it is highly recommended that you always
   12422     # use absolute paths for naming shared libraries, and exclude the
   12423     # DT_RUNPATH tag from executables and libraries.  But doing so
   12424     # requires that you compile everything twice, which is a pain.
   12425     # So that behaviour is only enabled if SCOABSPATH is set to a
   12426     # non-empty value in the environment.  Most likely only useful for
   12427     # creating official distributions of packages.
   12428     # This is a hack until libtool officially supports absolute path
   12429     # names for shared libraries.
   12430     no_undefined_flag_CXX='${wl}-z,text'
   12431     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12432     archive_cmds_need_lc_CXX=no
   12433     hardcode_shlibpath_var_CXX=no
   12434     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12435     hardcode_libdir_separator_CXX=':'
   12436     link_all_deplibs_CXX=yes
   12437     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12438     runpath_var='LD_RUN_PATH'
   12439 
   12440     case $cc_basename in
   12441       CC*)
   12442 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12443 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12444 	;;
   12445       *)
   12446 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12447 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12448 	;;
   12449     esac
   12450     ;;
   12451   tandem*)
   12452     case $cc_basename in
   12453       NCC*)
   12454 	# NonStop-UX NCC 3.20
   12455 	# FIXME: insert proper C++ library support
   12456 	ld_shlibs_CXX=no
   12457 	;;
   12458       *)
   12459 	# FIXME: insert proper C++ library support
   12460 	ld_shlibs_CXX=no
   12461 	;;
   12462     esac
   12463     ;;
   12464   vxworks*)
   12465     # FIXME: insert proper C++ library support
   12466     ld_shlibs_CXX=no
   12467     ;;
   12468   *)
   12469     # FIXME: insert proper C++ library support
   12470     ld_shlibs_CXX=no
   12471     ;;
   12472 esac
   12473 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12474 $as_echo "$ld_shlibs_CXX" >&6; }
   12475 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12476 
   12477 GCC_CXX="$GXX"
   12478 LD_CXX="$LD"
   12479 
   12480 cat > conftest.$ac_ext <<EOF
   12481 class Foo
   12482 {
   12483 public:
   12484   Foo (void) { a = 0; }
   12485 private:
   12486   int a;
   12487 };
   12488 EOF
   12489 
   12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12491   (eval $ac_compile) 2>&5
   12492   ac_status=$?
   12493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12494   (exit $ac_status); }; then
   12495   # Parse the compiler output and extract the necessary
   12496   # objects, libraries and library flags.
   12497 
   12498   # Sentinel used to keep track of whether or not we are before
   12499   # the conftest object file.
   12500   pre_test_object_deps_done=no
   12501 
   12502   # The `*' in the case matches for architectures that use `case' in
   12503   # $output_verbose_cmd can trigger glob expansion during the loop
   12504   # eval without this substitution.
   12505   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12506 
   12507   for p in `eval $output_verbose_link_cmd`; do
   12508     case $p in
   12509 
   12510     -L* | -R* | -l*)
   12511        # Some compilers place space between "-{L,R}" and the path.
   12512        # Remove the space.
   12513        if test $p = "-L" \
   12514 	  || test $p = "-R"; then
   12515 	 prev=$p
   12516 	 continue
   12517        else
   12518 	 prev=
   12519        fi
   12520 
   12521        if test "$pre_test_object_deps_done" = no; then
   12522 	 case $p in
   12523 	 -L* | -R*)
   12524 	   # Internal compiler library paths should come after those
   12525 	   # provided the user.  The postdeps already come after the
   12526 	   # user supplied libs so there is no need to process them.
   12527 	   if test -z "$compiler_lib_search_path_CXX"; then
   12528 	     compiler_lib_search_path_CXX="${prev}${p}"
   12529 	   else
   12530 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12531 	   fi
   12532 	   ;;
   12533 	 # The "-l" case would never come before the object being
   12534 	 # linked, so don't bother handling this case.
   12535 	 esac
   12536        else
   12537 	 if test -z "$postdeps_CXX"; then
   12538 	   postdeps_CXX="${prev}${p}"
   12539 	 else
   12540 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12541 	 fi
   12542        fi
   12543        ;;
   12544 
   12545     *.$objext)
   12546        # This assumes that the test object file only shows up
   12547        # once in the compiler output.
   12548        if test "$p" = "conftest.$objext"; then
   12549 	 pre_test_object_deps_done=yes
   12550 	 continue
   12551        fi
   12552 
   12553        if test "$pre_test_object_deps_done" = no; then
   12554 	 if test -z "$predep_objects_CXX"; then
   12555 	   predep_objects_CXX="$p"
   12556 	 else
   12557 	   predep_objects_CXX="$predep_objects_CXX $p"
   12558 	 fi
   12559        else
   12560 	 if test -z "$postdep_objects_CXX"; then
   12561 	   postdep_objects_CXX="$p"
   12562 	 else
   12563 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12564 	 fi
   12565        fi
   12566        ;;
   12567 
   12568     *) ;; # Ignore the rest.
   12569 
   12570     esac
   12571   done
   12572 
   12573   # Clean up.
   12574   rm -f a.out a.exe
   12575 else
   12576   echo "libtool.m4: error: problem compiling CXX test program"
   12577 fi
   12578 
   12579 $rm -f confest.$objext
   12580 
   12581 compiler_lib_search_dirs_CXX=
   12582 if test -n "$compiler_lib_search_path_CXX"; then
   12583   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12584 fi
   12585 
   12586 # PORTME: override above test on systems where it is broken
   12587 case $host_os in
   12588 interix[3-9]*)
   12589   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12590   # hack all around it, let's just trust "g++" to DTRT.
   12591   predep_objects_CXX=
   12592   postdep_objects_CXX=
   12593   postdeps_CXX=
   12594   ;;
   12595 
   12596 linux*)
   12597   case `$CC -V 2>&1 | sed 5q` in
   12598   *Sun\ C*)
   12599     # Sun C++ 5.9
   12600     #
   12601     # The more standards-conforming stlport4 library is
   12602     # incompatible with the Cstd library. Avoid specifying
   12603     # it if it's in CXXFLAGS. Ignore libCrun as
   12604     # -library=stlport4 depends on it.
   12605     case " $CXX $CXXFLAGS " in
   12606     *" -library=stlport4 "*)
   12607       solaris_use_stlport4=yes
   12608       ;;
   12609     esac
   12610     if test "$solaris_use_stlport4" != yes; then
   12611       postdeps_CXX='-library=Cstd -library=Crun'
   12612     fi
   12613     ;;
   12614   esac
   12615   ;;
   12616 
   12617 solaris*)
   12618   case $cc_basename in
   12619   CC*)
   12620     # The more standards-conforming stlport4 library is
   12621     # incompatible with the Cstd library. Avoid specifying
   12622     # it if it's in CXXFLAGS. Ignore libCrun as
   12623     # -library=stlport4 depends on it.
   12624     case " $CXX $CXXFLAGS " in
   12625     *" -library=stlport4 "*)
   12626       solaris_use_stlport4=yes
   12627       ;;
   12628     esac
   12629 
   12630     # Adding this requires a known-good setup of shared libraries for
   12631     # Sun compiler versions before 5.6, else PIC objects from an old
   12632     # archive will be linked into the output, leading to subtle bugs.
   12633     if test "$solaris_use_stlport4" != yes; then
   12634       postdeps_CXX='-library=Cstd -library=Crun'
   12635     fi
   12636     ;;
   12637   esac
   12638   ;;
   12639 esac
   12640 
   12641 case " $postdeps_CXX " in
   12642 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12643 esac
   12644 
   12645 lt_prog_compiler_wl_CXX=
   12646 lt_prog_compiler_pic_CXX=
   12647 lt_prog_compiler_static_CXX=
   12648 
   12649 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12650 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12651 
   12652   # C++ specific cases for pic, static, wl, etc.
   12653   if test "$GXX" = yes; then
   12654     lt_prog_compiler_wl_CXX='-Wl,'
   12655     lt_prog_compiler_static_CXX='-static'
   12656 
   12657     case $host_os in
   12658     aix*)
   12659       # All AIX code is PIC.
   12660       if test "$host_cpu" = ia64; then
   12661 	# AIX 5 now supports IA64 processor
   12662 	lt_prog_compiler_static_CXX='-Bstatic'
   12663       fi
   12664       ;;
   12665     amigaos*)
   12666       # FIXME: we need at least 68020 code to build shared libraries, but
   12667       # adding the `-m68020' flag to GCC prevents building anything better,
   12668       # like `-m68040'.
   12669       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12670       ;;
   12671     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12672       # PIC is the default for these OSes.
   12673       ;;
   12674     mingw* | cygwin* | os2* | pw32*)
   12675       # This hack is so that the source file can tell whether it is being
   12676       # built for inclusion in a dll (and should export symbols for example).
   12677       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12678       # (--disable-auto-import) libraries
   12679       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12680       ;;
   12681     darwin* | rhapsody*)
   12682       # PIC is the default on this platform
   12683       # Common symbols not allowed in MH_DYLIB files
   12684       lt_prog_compiler_pic_CXX='-fno-common'
   12685       ;;
   12686     *djgpp*)
   12687       # DJGPP does not support shared libraries at all
   12688       lt_prog_compiler_pic_CXX=
   12689       ;;
   12690     interix[3-9]*)
   12691       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12692       # Instead, we relocate shared libraries at runtime.
   12693       ;;
   12694     sysv4*MP*)
   12695       if test -d /usr/nec; then
   12696 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12697       fi
   12698       ;;
   12699     hpux*)
   12700       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12701       # not for PA HP-UX.
   12702       case $host_cpu in
   12703       hppa*64*|ia64*)
   12704 	;;
   12705       *)
   12706 	lt_prog_compiler_pic_CXX='-fPIC'
   12707 	;;
   12708       esac
   12709       ;;
   12710     *)
   12711       lt_prog_compiler_pic_CXX='-fPIC'
   12712       ;;
   12713     esac
   12714   else
   12715     case $host_os in
   12716       aix[4-9]*)
   12717 	# All AIX code is PIC.
   12718 	if test "$host_cpu" = ia64; then
   12719 	  # AIX 5 now supports IA64 processor
   12720 	  lt_prog_compiler_static_CXX='-Bstatic'
   12721 	else
   12722 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12723 	fi
   12724 	;;
   12725       chorus*)
   12726 	case $cc_basename in
   12727 	cxch68*)
   12728 	  # Green Hills C++ Compiler
   12729 	  # _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"
   12730 	  ;;
   12731 	esac
   12732 	;;
   12733        darwin*)
   12734          # PIC is the default on this platform
   12735          # Common symbols not allowed in MH_DYLIB files
   12736          case $cc_basename in
   12737            xlc*)
   12738            lt_prog_compiler_pic_CXX='-qnocommon'
   12739            lt_prog_compiler_wl_CXX='-Wl,'
   12740            ;;
   12741          esac
   12742        ;;
   12743       dgux*)
   12744 	case $cc_basename in
   12745 	  ec++*)
   12746 	    lt_prog_compiler_pic_CXX='-KPIC'
   12747 	    ;;
   12748 	  ghcx*)
   12749 	    # Green Hills C++ Compiler
   12750 	    lt_prog_compiler_pic_CXX='-pic'
   12751 	    ;;
   12752 	  *)
   12753 	    ;;
   12754 	esac
   12755 	;;
   12756       freebsd* | dragonfly*)
   12757 	# FreeBSD uses GNU C++
   12758 	;;
   12759       hpux9* | hpux10* | hpux11*)
   12760 	case $cc_basename in
   12761 	  CC*)
   12762 	    lt_prog_compiler_wl_CXX='-Wl,'
   12763 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12764 	    if test "$host_cpu" != ia64; then
   12765 	      lt_prog_compiler_pic_CXX='+Z'
   12766 	    fi
   12767 	    ;;
   12768 	  aCC*)
   12769 	    lt_prog_compiler_wl_CXX='-Wl,'
   12770 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12771 	    case $host_cpu in
   12772 	    hppa*64*|ia64*)
   12773 	      # +Z the default
   12774 	      ;;
   12775 	    *)
   12776 	      lt_prog_compiler_pic_CXX='+Z'
   12777 	      ;;
   12778 	    esac
   12779 	    ;;
   12780 	  *)
   12781 	    ;;
   12782 	esac
   12783 	;;
   12784       interix*)
   12785 	# This is c89, which is MS Visual C++ (no shared libs)
   12786 	# Anyone wants to do a port?
   12787 	;;
   12788       irix5* | irix6* | nonstopux*)
   12789 	case $cc_basename in
   12790 	  CC*)
   12791 	    lt_prog_compiler_wl_CXX='-Wl,'
   12792 	    lt_prog_compiler_static_CXX='-non_shared'
   12793 	    # CC pic flag -KPIC is the default.
   12794 	    ;;
   12795 	  *)
   12796 	    ;;
   12797 	esac
   12798 	;;
   12799       linux* | k*bsd*-gnu)
   12800 	case $cc_basename in
   12801 	  KCC*)
   12802 	    # KAI C++ Compiler
   12803 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12804 	    lt_prog_compiler_pic_CXX='-fPIC'
   12805 	    ;;
   12806 	  icpc* | ecpc*)
   12807 	    # Intel C++
   12808 	    lt_prog_compiler_wl_CXX='-Wl,'
   12809 	    lt_prog_compiler_pic_CXX='-KPIC'
   12810 	    lt_prog_compiler_static_CXX='-static'
   12811 	    ;;
   12812 	  pgCC* | pgcpp*)
   12813 	    # Portland Group C++ compiler.
   12814 	    lt_prog_compiler_wl_CXX='-Wl,'
   12815 	    lt_prog_compiler_pic_CXX='-fpic'
   12816 	    lt_prog_compiler_static_CXX='-Bstatic'
   12817 	    ;;
   12818 	  cxx*)
   12819 	    # Compaq C++
   12820 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12821 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12822 	    lt_prog_compiler_pic_CXX=
   12823 	    lt_prog_compiler_static_CXX='-non_shared'
   12824 	    ;;
   12825 	  *)
   12826 	    case `$CC -V 2>&1 | sed 5q` in
   12827 	    *Sun\ C*)
   12828 	      # Sun C++ 5.9
   12829 	      lt_prog_compiler_pic_CXX='-KPIC'
   12830 	      lt_prog_compiler_static_CXX='-Bstatic'
   12831 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12832 	      ;;
   12833 	    esac
   12834 	    ;;
   12835 	esac
   12836 	;;
   12837       lynxos*)
   12838 	;;
   12839       m88k*)
   12840 	;;
   12841       mvs*)
   12842 	case $cc_basename in
   12843 	  cxx*)
   12844 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12845 	    ;;
   12846 	  *)
   12847 	    ;;
   12848 	esac
   12849 	;;
   12850       netbsd*)
   12851 	;;
   12852       osf3* | osf4* | osf5*)
   12853 	case $cc_basename in
   12854 	  KCC*)
   12855 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12856 	    ;;
   12857 	  RCC*)
   12858 	    # Rational C++ 2.4.1
   12859 	    lt_prog_compiler_pic_CXX='-pic'
   12860 	    ;;
   12861 	  cxx*)
   12862 	    # Digital/Compaq C++
   12863 	    lt_prog_compiler_wl_CXX='-Wl,'
   12864 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12865 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12866 	    lt_prog_compiler_pic_CXX=
   12867 	    lt_prog_compiler_static_CXX='-non_shared'
   12868 	    ;;
   12869 	  *)
   12870 	    ;;
   12871 	esac
   12872 	;;
   12873       psos*)
   12874 	;;
   12875       solaris*)
   12876 	case $cc_basename in
   12877 	  CC*)
   12878 	    # Sun C++ 4.2, 5.x and Centerline C++
   12879 	    lt_prog_compiler_pic_CXX='-KPIC'
   12880 	    lt_prog_compiler_static_CXX='-Bstatic'
   12881 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12882 	    ;;
   12883 	  gcx*)
   12884 	    # Green Hills C++ Compiler
   12885 	    lt_prog_compiler_pic_CXX='-PIC'
   12886 	    ;;
   12887 	  *)
   12888 	    ;;
   12889 	esac
   12890 	;;
   12891       sunos4*)
   12892 	case $cc_basename in
   12893 	  CC*)
   12894 	    # Sun C++ 4.x
   12895 	    lt_prog_compiler_pic_CXX='-pic'
   12896 	    lt_prog_compiler_static_CXX='-Bstatic'
   12897 	    ;;
   12898 	  lcc*)
   12899 	    # Lucid
   12900 	    lt_prog_compiler_pic_CXX='-pic'
   12901 	    ;;
   12902 	  *)
   12903 	    ;;
   12904 	esac
   12905 	;;
   12906       tandem*)
   12907 	case $cc_basename in
   12908 	  NCC*)
   12909 	    # NonStop-UX NCC 3.20
   12910 	    lt_prog_compiler_pic_CXX='-KPIC'
   12911 	    ;;
   12912 	  *)
   12913 	    ;;
   12914 	esac
   12915 	;;
   12916       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12917 	case $cc_basename in
   12918 	  CC*)
   12919 	    lt_prog_compiler_wl_CXX='-Wl,'
   12920 	    lt_prog_compiler_pic_CXX='-KPIC'
   12921 	    lt_prog_compiler_static_CXX='-Bstatic'
   12922 	    ;;
   12923 	esac
   12924 	;;
   12925       vxworks*)
   12926 	;;
   12927       *)
   12928 	lt_prog_compiler_can_build_shared_CXX=no
   12929 	;;
   12930     esac
   12931   fi
   12932 
   12933 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12934 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12935 
   12936 #
   12937 # Check to make sure the PIC flag actually works.
   12938 #
   12939 if test -n "$lt_prog_compiler_pic_CXX"; then
   12940 
   12941 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12942 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12943 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12944   $as_echo_n "(cached) " >&6
   12945 else
   12946   lt_cv_prog_compiler_pic_works_CXX=no
   12947   ac_outfile=conftest.$ac_objext
   12948    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12949    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12950    # Insert the option either (1) after the last *FLAGS variable, or
   12951    # (2) before a word containing "conftest.", or (3) at the end.
   12952    # Note that $ac_compile itself does not contain backslashes and begins
   12953    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12954    # The option is referenced via a variable to avoid confusing sed.
   12955    lt_compile=`echo "$ac_compile" | $SED \
   12956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12958    -e 's:$: $lt_compiler_flag:'`
   12959    (eval echo "\"\$as_me:12959: $lt_compile\"" >&5)
   12960    (eval "$lt_compile" 2>conftest.err)
   12961    ac_status=$?
   12962    cat conftest.err >&5
   12963    echo "$as_me:12963: \$? = $ac_status" >&5
   12964    if (exit $ac_status) && test -s "$ac_outfile"; then
   12965      # The compiler can only warn and ignore the option if not recognized
   12966      # So say no if there are warnings other than the usual output.
   12967      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12968      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12969      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12970        lt_cv_prog_compiler_pic_works_CXX=yes
   12971      fi
   12972    fi
   12973    $rm conftest*
   12974 
   12975 fi
   12976 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12977 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12978 
   12979 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12980     case $lt_prog_compiler_pic_CXX in
   12981      "" | " "*) ;;
   12982      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12983      esac
   12984 else
   12985     lt_prog_compiler_pic_CXX=
   12986      lt_prog_compiler_can_build_shared_CXX=no
   12987 fi
   12988 
   12989 fi
   12990 case $host_os in
   12991   # For platforms which do not support PIC, -DPIC is meaningless:
   12992   *djgpp*)
   12993     lt_prog_compiler_pic_CXX=
   12994     ;;
   12995   *)
   12996     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12997     ;;
   12998 esac
   12999 
   13000 #
   13001 # Check to make sure the static flag actually works.
   13002 #
   13003 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13004 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13005 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13006 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13007   $as_echo_n "(cached) " >&6
   13008 else
   13009   lt_cv_prog_compiler_static_works_CXX=no
   13010    save_LDFLAGS="$LDFLAGS"
   13011    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13012    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13013    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13014      # The linker can only warn and ignore the option if not recognized
   13015      # So say no if there are warnings
   13016      if test -s conftest.err; then
   13017        # Append any errors to the config.log.
   13018        cat conftest.err 1>&5
   13019        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13020        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13021        if diff conftest.exp conftest.er2 >/dev/null; then
   13022          lt_cv_prog_compiler_static_works_CXX=yes
   13023        fi
   13024      else
   13025        lt_cv_prog_compiler_static_works_CXX=yes
   13026      fi
   13027    fi
   13028    $rm -r conftest*
   13029    LDFLAGS="$save_LDFLAGS"
   13030 
   13031 fi
   13032 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13033 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13034 
   13035 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13036     :
   13037 else
   13038     lt_prog_compiler_static_CXX=
   13039 fi
   13040 
   13041 
   13042 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13043 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13044 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13045   $as_echo_n "(cached) " >&6
   13046 else
   13047   lt_cv_prog_compiler_c_o_CXX=no
   13048    $rm -r conftest 2>/dev/null
   13049    mkdir conftest
   13050    cd conftest
   13051    mkdir out
   13052    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13053 
   13054    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13055    # Insert the option either (1) after the last *FLAGS variable, or
   13056    # (2) before a word containing "conftest.", or (3) at the end.
   13057    # Note that $ac_compile itself does not contain backslashes and begins
   13058    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13059    lt_compile=`echo "$ac_compile" | $SED \
   13060    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13061    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13062    -e 's:$: $lt_compiler_flag:'`
   13063    (eval echo "\"\$as_me:13063: $lt_compile\"" >&5)
   13064    (eval "$lt_compile" 2>out/conftest.err)
   13065    ac_status=$?
   13066    cat out/conftest.err >&5
   13067    echo "$as_me:13067: \$? = $ac_status" >&5
   13068    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13069    then
   13070      # The compiler can only warn and ignore the option if not recognized
   13071      # So say no if there are warnings
   13072      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13073      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13074      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13075        lt_cv_prog_compiler_c_o_CXX=yes
   13076      fi
   13077    fi
   13078    chmod u+w . 2>&5
   13079    $rm conftest*
   13080    # SGI C++ compiler will create directory out/ii_files/ for
   13081    # template instantiation
   13082    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13083    $rm out/* && rmdir out
   13084    cd ..
   13085    rmdir conftest
   13086    $rm conftest*
   13087 
   13088 fi
   13089 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13090 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13091 
   13092 
   13093 hard_links="nottested"
   13094 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13095   # do not overwrite the value of need_locks provided by the user
   13096   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13097 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13098   hard_links=yes
   13099   $rm conftest*
   13100   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13101   touch conftest.a
   13102   ln conftest.a conftest.b 2>&5 || hard_links=no
   13103   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13104   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13105 $as_echo "$hard_links" >&6; }
   13106   if test "$hard_links" = no; then
   13107     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13108 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13109     need_locks=warn
   13110   fi
   13111 else
   13112   need_locks=no
   13113 fi
   13114 
   13115 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13117 
   13118   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13119   case $host_os in
   13120   aix[4-9]*)
   13121     # If we're using GNU nm, then we don't want the "-C" option.
   13122     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13123     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13124       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'
   13125     else
   13126       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'
   13127     fi
   13128     ;;
   13129   pw32*)
   13130     export_symbols_cmds_CXX="$ltdll_cmds"
   13131   ;;
   13132   cygwin* | mingw*)
   13133     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'
   13134   ;;
   13135   *)
   13136     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13137   ;;
   13138   esac
   13139   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13140 
   13141 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13142 $as_echo "$ld_shlibs_CXX" >&6; }
   13143 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13144 
   13145 #
   13146 # Do we need to explicitly link libc?
   13147 #
   13148 case "x$archive_cmds_need_lc_CXX" in
   13149 x|xyes)
   13150   # Assume -lc should be added
   13151   archive_cmds_need_lc_CXX=yes
   13152 
   13153   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13154     case $archive_cmds_CXX in
   13155     *'~'*)
   13156       # FIXME: we may have to deal with multi-command sequences.
   13157       ;;
   13158     '$CC '*)
   13159       # Test whether the compiler implicitly links with -lc since on some
   13160       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13161       # to ld, don't add -lc before -lgcc.
   13162       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13163 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13164       $rm conftest*
   13165       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13166 
   13167       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13168   (eval $ac_compile) 2>&5
   13169   ac_status=$?
   13170   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13171   (exit $ac_status); } 2>conftest.err; then
   13172         soname=conftest
   13173         lib=conftest
   13174         libobjs=conftest.$ac_objext
   13175         deplibs=
   13176         wl=$lt_prog_compiler_wl_CXX
   13177 	pic_flag=$lt_prog_compiler_pic_CXX
   13178         compiler_flags=-v
   13179         linker_flags=-v
   13180         verstring=
   13181         output_objdir=.
   13182         libname=conftest
   13183         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13184         allow_undefined_flag_CXX=
   13185         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13186   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13187   ac_status=$?
   13188   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13189   (exit $ac_status); }
   13190         then
   13191 	  archive_cmds_need_lc_CXX=no
   13192         else
   13193 	  archive_cmds_need_lc_CXX=yes
   13194         fi
   13195         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13196       else
   13197         cat conftest.err 1>&5
   13198       fi
   13199       $rm conftest*
   13200       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13201 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13202       ;;
   13203     esac
   13204   fi
   13205   ;;
   13206 esac
   13207 
   13208 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13209 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13210 library_names_spec=
   13211 libname_spec='lib$name'
   13212 soname_spec=
   13213 shrext_cmds=".so"
   13214 postinstall_cmds=
   13215 postuninstall_cmds=
   13216 finish_cmds=
   13217 finish_eval=
   13218 shlibpath_var=
   13219 shlibpath_overrides_runpath=unknown
   13220 version_type=none
   13221 dynamic_linker="$host_os ld.so"
   13222 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13223 
   13224 need_lib_prefix=unknown
   13225 hardcode_into_libs=no
   13226 
   13227 # when you set need_version to no, make sure it does not cause -set_version
   13228 # flags to be left without arguments
   13229 need_version=unknown
   13230 
   13231 case $host_os in
   13232 aix3*)
   13233   version_type=linux
   13234   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13235   shlibpath_var=LIBPATH
   13236 
   13237   # AIX 3 has no versioning support, so we append a major version to the name.
   13238   soname_spec='${libname}${release}${shared_ext}$major'
   13239   ;;
   13240 
   13241 aix[4-9]*)
   13242   version_type=linux
   13243   need_lib_prefix=no
   13244   need_version=no
   13245   hardcode_into_libs=yes
   13246   if test "$host_cpu" = ia64; then
   13247     # AIX 5 supports IA64
   13248     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13249     shlibpath_var=LD_LIBRARY_PATH
   13250   else
   13251     # With GCC up to 2.95.x, collect2 would create an import file
   13252     # for dependence libraries.  The import file would start with
   13253     # the line `#! .'.  This would cause the generated library to
   13254     # depend on `.', always an invalid library.  This was fixed in
   13255     # development snapshots of GCC prior to 3.0.
   13256     case $host_os in
   13257       aix4 | aix4.[01] | aix4.[01].*)
   13258       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13259 	   echo ' yes '
   13260 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13261 	:
   13262       else
   13263 	can_build_shared=no
   13264       fi
   13265       ;;
   13266     esac
   13267     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13268     # soname into executable. Probably we can add versioning support to
   13269     # collect2, so additional links can be useful in future.
   13270     if test "$aix_use_runtimelinking" = yes; then
   13271       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13272       # instead of lib<name>.a to let people know that these are not
   13273       # typical AIX shared libraries.
   13274       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13275     else
   13276       # We preserve .a as extension for shared libraries through AIX4.2
   13277       # and later when we are not doing run time linking.
   13278       library_names_spec='${libname}${release}.a $libname.a'
   13279       soname_spec='${libname}${release}${shared_ext}$major'
   13280     fi
   13281     shlibpath_var=LIBPATH
   13282   fi
   13283   ;;
   13284 
   13285 amigaos*)
   13286   library_names_spec='$libname.ixlibrary $libname.a'
   13287   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13288   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'
   13289   ;;
   13290 
   13291 beos*)
   13292   library_names_spec='${libname}${shared_ext}'
   13293   dynamic_linker="$host_os ld.so"
   13294   shlibpath_var=LIBRARY_PATH
   13295   ;;
   13296 
   13297 bsdi[45]*)
   13298   version_type=linux
   13299   need_version=no
   13300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13301   soname_spec='${libname}${release}${shared_ext}$major'
   13302   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13303   shlibpath_var=LD_LIBRARY_PATH
   13304   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13305   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13306   # the default ld.so.conf also contains /usr/contrib/lib and
   13307   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13308   # libtool to hard-code these into programs
   13309   ;;
   13310 
   13311 cygwin* | mingw* | pw32*)
   13312   version_type=windows
   13313   shrext_cmds=".dll"
   13314   need_version=no
   13315   need_lib_prefix=no
   13316 
   13317   case $GCC,$host_os in
   13318   yes,cygwin* | yes,mingw* | yes,pw32*)
   13319     library_names_spec='$libname.dll.a'
   13320     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13321     postinstall_cmds='base_file=`basename \${file}`~
   13322       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13323       dldir=$destdir/`dirname \$dlpath`~
   13324       test -d \$dldir || mkdir -p \$dldir~
   13325       $install_prog $dir/$dlname \$dldir/$dlname~
   13326       chmod a+x \$dldir/$dlname'
   13327     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13328       dlpath=$dir/\$dldll~
   13329        $rm \$dlpath'
   13330     shlibpath_overrides_runpath=yes
   13331 
   13332     case $host_os in
   13333     cygwin*)
   13334       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13335       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13336       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13337       ;;
   13338     mingw*)
   13339       # MinGW DLLs use traditional 'lib' prefix
   13340       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13341       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13342       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13343         # It is most probably a Windows format PATH printed by
   13344         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13345         # path with ; separators, and with drive letters. We can handle the
   13346         # drive letters (cygwin fileutils understands them), so leave them,
   13347         # especially as we might pass files found there to a mingw objdump,
   13348         # which wouldn't understand a cygwinified path. Ahh.
   13349         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13350       else
   13351         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13352       fi
   13353       ;;
   13354     pw32*)
   13355       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13356       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13357       ;;
   13358     esac
   13359     ;;
   13360 
   13361   *)
   13362     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13363     ;;
   13364   esac
   13365   dynamic_linker='Win32 ld.exe'
   13366   # FIXME: first we should search . and the directory the executable is in
   13367   shlibpath_var=PATH
   13368   ;;
   13369 
   13370 darwin* | rhapsody*)
   13371   dynamic_linker="$host_os dyld"
   13372   version_type=darwin
   13373   need_lib_prefix=no
   13374   need_version=no
   13375   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13376   soname_spec='${libname}${release}${major}$shared_ext'
   13377   shlibpath_overrides_runpath=yes
   13378   shlibpath_var=DYLD_LIBRARY_PATH
   13379   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13380 
   13381   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13382   ;;
   13383 
   13384 dgux*)
   13385   version_type=linux
   13386   need_lib_prefix=no
   13387   need_version=no
   13388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13389   soname_spec='${libname}${release}${shared_ext}$major'
   13390   shlibpath_var=LD_LIBRARY_PATH
   13391   ;;
   13392 
   13393 freebsd1*)
   13394   dynamic_linker=no
   13395   ;;
   13396 
   13397 freebsd* | dragonfly*)
   13398   # DragonFly does not have aout.  When/if they implement a new
   13399   # versioning mechanism, adjust this.
   13400   if test -x /usr/bin/objformat; then
   13401     objformat=`/usr/bin/objformat`
   13402   else
   13403     case $host_os in
   13404     freebsd[123]*) objformat=aout ;;
   13405     *) objformat=elf ;;
   13406     esac
   13407   fi
   13408   version_type=freebsd-$objformat
   13409   case $version_type in
   13410     freebsd-elf*)
   13411       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13412       need_version=no
   13413       need_lib_prefix=no
   13414       ;;
   13415     freebsd-*)
   13416       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13417       need_version=yes
   13418       ;;
   13419   esac
   13420   shlibpath_var=LD_LIBRARY_PATH
   13421   case $host_os in
   13422   freebsd2*)
   13423     shlibpath_overrides_runpath=yes
   13424     ;;
   13425   freebsd3.[01]* | freebsdelf3.[01]*)
   13426     shlibpath_overrides_runpath=yes
   13427     hardcode_into_libs=yes
   13428     ;;
   13429   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13430   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13431     shlibpath_overrides_runpath=no
   13432     hardcode_into_libs=yes
   13433     ;;
   13434   *) # from 4.6 on, and DragonFly
   13435     shlibpath_overrides_runpath=yes
   13436     hardcode_into_libs=yes
   13437     ;;
   13438   esac
   13439   ;;
   13440 
   13441 gnu*)
   13442   version_type=linux
   13443   need_lib_prefix=no
   13444   need_version=no
   13445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13446   soname_spec='${libname}${release}${shared_ext}$major'
   13447   shlibpath_var=LD_LIBRARY_PATH
   13448   hardcode_into_libs=yes
   13449   ;;
   13450 
   13451 hpux9* | hpux10* | hpux11*)
   13452   # Give a soname corresponding to the major version so that dld.sl refuses to
   13453   # link against other versions.
   13454   version_type=sunos
   13455   need_lib_prefix=no
   13456   need_version=no
   13457   case $host_cpu in
   13458   ia64*)
   13459     shrext_cmds='.so'
   13460     hardcode_into_libs=yes
   13461     dynamic_linker="$host_os dld.so"
   13462     shlibpath_var=LD_LIBRARY_PATH
   13463     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13465     soname_spec='${libname}${release}${shared_ext}$major'
   13466     if test "X$HPUX_IA64_MODE" = X32; then
   13467       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13468     else
   13469       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13470     fi
   13471     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13472     ;;
   13473    hppa*64*)
   13474      shrext_cmds='.sl'
   13475      hardcode_into_libs=yes
   13476      dynamic_linker="$host_os dld.sl"
   13477      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13478      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13479      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13480      soname_spec='${libname}${release}${shared_ext}$major'
   13481      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13482      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13483      ;;
   13484    *)
   13485     shrext_cmds='.sl'
   13486     dynamic_linker="$host_os dld.sl"
   13487     shlibpath_var=SHLIB_PATH
   13488     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13490     soname_spec='${libname}${release}${shared_ext}$major'
   13491     ;;
   13492   esac
   13493   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13494   postinstall_cmds='chmod 555 $lib'
   13495   ;;
   13496 
   13497 interix[3-9]*)
   13498   version_type=linux
   13499   need_lib_prefix=no
   13500   need_version=no
   13501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13502   soname_spec='${libname}${release}${shared_ext}$major'
   13503   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13504   shlibpath_var=LD_LIBRARY_PATH
   13505   shlibpath_overrides_runpath=no
   13506   hardcode_into_libs=yes
   13507   ;;
   13508 
   13509 irix5* | irix6* | nonstopux*)
   13510   case $host_os in
   13511     nonstopux*) version_type=nonstopux ;;
   13512     *)
   13513 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13514 		version_type=linux
   13515 	else
   13516 		version_type=irix
   13517 	fi ;;
   13518   esac
   13519   need_lib_prefix=no
   13520   need_version=no
   13521   soname_spec='${libname}${release}${shared_ext}$major'
   13522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13523   case $host_os in
   13524   irix5* | nonstopux*)
   13525     libsuff= shlibsuff=
   13526     ;;
   13527   *)
   13528     case $LD in # libtool.m4 will add one of these switches to LD
   13529     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13530       libsuff= shlibsuff= libmagic=32-bit;;
   13531     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13532       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13533     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13534       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13535     *) libsuff= shlibsuff= libmagic=never-match;;
   13536     esac
   13537     ;;
   13538   esac
   13539   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13540   shlibpath_overrides_runpath=no
   13541   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13542   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13543   hardcode_into_libs=yes
   13544   ;;
   13545 
   13546 # No shared lib support for Linux oldld, aout, or coff.
   13547 linux*oldld* | linux*aout* | linux*coff*)
   13548   dynamic_linker=no
   13549   ;;
   13550 
   13551 # This must be Linux ELF.
   13552 linux* | k*bsd*-gnu)
   13553   version_type=linux
   13554   need_lib_prefix=no
   13555   need_version=no
   13556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13557   soname_spec='${libname}${release}${shared_ext}$major'
   13558   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13559   shlibpath_var=LD_LIBRARY_PATH
   13560   shlibpath_overrides_runpath=no
   13561   # This implies no fast_install, which is unacceptable.
   13562   # Some rework will be needed to allow for fast_install
   13563   # before this can be enabled.
   13564   hardcode_into_libs=yes
   13565   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13566   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13567 
   13568   # Append ld.so.conf contents to the search path
   13569   if test -f /etc/ld.so.conf; then
   13570     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' ' '`
   13571     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13572   fi
   13573 
   13574   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13575   # powerpc, because MkLinux only supported shared libraries with the
   13576   # GNU dynamic linker.  Since this was broken with cross compilers,
   13577   # most powerpc-linux boxes support dynamic linking these days and
   13578   # people can always --disable-shared, the test was removed, and we
   13579   # assume the GNU/Linux dynamic linker is in use.
   13580   dynamic_linker='GNU/Linux ld.so'
   13581   ;;
   13582 
   13583 netbsd*)
   13584   version_type=sunos
   13585   need_lib_prefix=no
   13586   need_version=no
   13587   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13588     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13589     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13590     dynamic_linker='NetBSD (a.out) ld.so'
   13591   else
   13592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13593     soname_spec='${libname}${release}${shared_ext}$major'
   13594     dynamic_linker='NetBSD ld.elf_so'
   13595   fi
   13596   shlibpath_var=LD_LIBRARY_PATH
   13597   shlibpath_overrides_runpath=yes
   13598   hardcode_into_libs=yes
   13599   ;;
   13600 
   13601 newsos6)
   13602   version_type=linux
   13603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13604   shlibpath_var=LD_LIBRARY_PATH
   13605   shlibpath_overrides_runpath=yes
   13606   ;;
   13607 
   13608 nto-qnx*)
   13609   version_type=linux
   13610   need_lib_prefix=no
   13611   need_version=no
   13612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13613   soname_spec='${libname}${release}${shared_ext}$major'
   13614   shlibpath_var=LD_LIBRARY_PATH
   13615   shlibpath_overrides_runpath=yes
   13616   ;;
   13617 
   13618 openbsd*)
   13619   version_type=sunos
   13620   sys_lib_dlsearch_path_spec="/usr/lib"
   13621   need_lib_prefix=no
   13622   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13623   case $host_os in
   13624     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13625     *)                         need_version=no  ;;
   13626   esac
   13627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13628   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13629   shlibpath_var=LD_LIBRARY_PATH
   13630   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13631     case $host_os in
   13632       openbsd2.[89] | openbsd2.[89].*)
   13633 	shlibpath_overrides_runpath=no
   13634 	;;
   13635       *)
   13636 	shlibpath_overrides_runpath=yes
   13637 	;;
   13638       esac
   13639   else
   13640     shlibpath_overrides_runpath=yes
   13641   fi
   13642   ;;
   13643 
   13644 os2*)
   13645   libname_spec='$name'
   13646   shrext_cmds=".dll"
   13647   need_lib_prefix=no
   13648   library_names_spec='$libname${shared_ext} $libname.a'
   13649   dynamic_linker='OS/2 ld.exe'
   13650   shlibpath_var=LIBPATH
   13651   ;;
   13652 
   13653 osf3* | osf4* | osf5*)
   13654   version_type=osf
   13655   need_lib_prefix=no
   13656   need_version=no
   13657   soname_spec='${libname}${release}${shared_ext}$major'
   13658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13659   shlibpath_var=LD_LIBRARY_PATH
   13660   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13661   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13662   ;;
   13663 
   13664 rdos*)
   13665   dynamic_linker=no
   13666   ;;
   13667 
   13668 solaris*)
   13669   version_type=linux
   13670   need_lib_prefix=no
   13671   need_version=no
   13672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13673   soname_spec='${libname}${release}${shared_ext}$major'
   13674   shlibpath_var=LD_LIBRARY_PATH
   13675   shlibpath_overrides_runpath=yes
   13676   hardcode_into_libs=yes
   13677   # ldd complains unless libraries are executable
   13678   postinstall_cmds='chmod +x $lib'
   13679   ;;
   13680 
   13681 sunos4*)
   13682   version_type=sunos
   13683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13684   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13685   shlibpath_var=LD_LIBRARY_PATH
   13686   shlibpath_overrides_runpath=yes
   13687   if test "$with_gnu_ld" = yes; then
   13688     need_lib_prefix=no
   13689   fi
   13690   need_version=yes
   13691   ;;
   13692 
   13693 sysv4 | sysv4.3*)
   13694   version_type=linux
   13695   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13696   soname_spec='${libname}${release}${shared_ext}$major'
   13697   shlibpath_var=LD_LIBRARY_PATH
   13698   case $host_vendor in
   13699     sni)
   13700       shlibpath_overrides_runpath=no
   13701       need_lib_prefix=no
   13702       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13703       runpath_var=LD_RUN_PATH
   13704       ;;
   13705     siemens)
   13706       need_lib_prefix=no
   13707       ;;
   13708     motorola)
   13709       need_lib_prefix=no
   13710       need_version=no
   13711       shlibpath_overrides_runpath=no
   13712       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13713       ;;
   13714   esac
   13715   ;;
   13716 
   13717 sysv4*MP*)
   13718   if test -d /usr/nec ;then
   13719     version_type=linux
   13720     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13721     soname_spec='$libname${shared_ext}.$major'
   13722     shlibpath_var=LD_LIBRARY_PATH
   13723   fi
   13724   ;;
   13725 
   13726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13727   version_type=freebsd-elf
   13728   need_lib_prefix=no
   13729   need_version=no
   13730   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13731   soname_spec='${libname}${release}${shared_ext}$major'
   13732   shlibpath_var=LD_LIBRARY_PATH
   13733   hardcode_into_libs=yes
   13734   if test "$with_gnu_ld" = yes; then
   13735     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13736     shlibpath_overrides_runpath=no
   13737   else
   13738     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13739     shlibpath_overrides_runpath=yes
   13740     case $host_os in
   13741       sco3.2v5*)
   13742         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13743 	;;
   13744     esac
   13745   fi
   13746   sys_lib_dlsearch_path_spec='/usr/lib'
   13747   ;;
   13748 
   13749 uts4*)
   13750   version_type=linux
   13751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13752   soname_spec='${libname}${release}${shared_ext}$major'
   13753   shlibpath_var=LD_LIBRARY_PATH
   13754   ;;
   13755 
   13756 *)
   13757   dynamic_linker=no
   13758   ;;
   13759 esac
   13760 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13761 $as_echo "$dynamic_linker" >&6; }
   13762 test "$dynamic_linker" = no && can_build_shared=no
   13763 
   13764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13765   $as_echo_n "(cached) " >&6
   13766 else
   13767   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13768 fi
   13769 
   13770 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13771 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13772   $as_echo_n "(cached) " >&6
   13773 else
   13774   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13775 fi
   13776 
   13777 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13778 
   13779 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13780 if test "$GCC" = yes; then
   13781   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13782 fi
   13783 
   13784 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13786 hardcode_action_CXX=
   13787 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13788    test -n "$runpath_var_CXX" || \
   13789    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13790 
   13791   # We can hardcode non-existant directories.
   13792   if test "$hardcode_direct_CXX" != no &&
   13793      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13794      # have to relink, otherwise we might link with an installed library
   13795      # when we should be linking with a yet-to-be-installed one
   13796      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13797      test "$hardcode_minus_L_CXX" != no; then
   13798     # Linking always hardcodes the temporary library directory.
   13799     hardcode_action_CXX=relink
   13800   else
   13801     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13802     hardcode_action_CXX=immediate
   13803   fi
   13804 else
   13805   # We cannot hardcode anything, or else we can only hardcode existing
   13806   # directories.
   13807   hardcode_action_CXX=unsupported
   13808 fi
   13809 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13810 $as_echo "$hardcode_action_CXX" >&6; }
   13811 
   13812 if test "$hardcode_action_CXX" = relink; then
   13813   # Fast installation is not supported
   13814   enable_fast_install=no
   13815 elif test "$shlibpath_overrides_runpath" = yes ||
   13816      test "$enable_shared" = no; then
   13817   # Fast installation is not necessary
   13818   enable_fast_install=needless
   13819 fi
   13820 
   13821 
   13822 # The else clause should only fire when bootstrapping the
   13823 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13824 # with your package, and you will get complaints that there are
   13825 # no rules to generate ltmain.sh.
   13826 if test -f "$ltmain"; then
   13827   # See if we are running on zsh, and set the options which allow our commands through
   13828   # without removal of \ escapes.
   13829   if test -n "${ZSH_VERSION+set}" ; then
   13830     setopt NO_GLOB_SUBST
   13831   fi
   13832   # Now quote all the things that may contain metacharacters while being
   13833   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13834   # variables and quote the copies for generation of the libtool script.
   13835   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13836     SED SHELL STRIP \
   13837     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13838     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13839     deplibs_check_method reload_flag reload_cmds need_locks \
   13840     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13841     lt_cv_sys_global_symbol_to_c_name_address \
   13842     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13843     old_postinstall_cmds old_postuninstall_cmds \
   13844     compiler_CXX \
   13845     CC_CXX \
   13846     LD_CXX \
   13847     lt_prog_compiler_wl_CXX \
   13848     lt_prog_compiler_pic_CXX \
   13849     lt_prog_compiler_static_CXX \
   13850     lt_prog_compiler_no_builtin_flag_CXX \
   13851     export_dynamic_flag_spec_CXX \
   13852     thread_safe_flag_spec_CXX \
   13853     whole_archive_flag_spec_CXX \
   13854     enable_shared_with_static_runtimes_CXX \
   13855     old_archive_cmds_CXX \
   13856     old_archive_from_new_cmds_CXX \
   13857     predep_objects_CXX \
   13858     postdep_objects_CXX \
   13859     predeps_CXX \
   13860     postdeps_CXX \
   13861     compiler_lib_search_path_CXX \
   13862     compiler_lib_search_dirs_CXX \
   13863     archive_cmds_CXX \
   13864     archive_expsym_cmds_CXX \
   13865     postinstall_cmds_CXX \
   13866     postuninstall_cmds_CXX \
   13867     old_archive_from_expsyms_cmds_CXX \
   13868     allow_undefined_flag_CXX \
   13869     no_undefined_flag_CXX \
   13870     export_symbols_cmds_CXX \
   13871     hardcode_libdir_flag_spec_CXX \
   13872     hardcode_libdir_flag_spec_ld_CXX \
   13873     hardcode_libdir_separator_CXX \
   13874     hardcode_automatic_CXX \
   13875     module_cmds_CXX \
   13876     module_expsym_cmds_CXX \
   13877     lt_cv_prog_compiler_c_o_CXX \
   13878     fix_srcfile_path_CXX \
   13879     exclude_expsyms_CXX \
   13880     include_expsyms_CXX; do
   13881 
   13882     case $var in
   13883     old_archive_cmds_CXX | \
   13884     old_archive_from_new_cmds_CXX | \
   13885     archive_cmds_CXX | \
   13886     archive_expsym_cmds_CXX | \
   13887     module_cmds_CXX | \
   13888     module_expsym_cmds_CXX | \
   13889     old_archive_from_expsyms_cmds_CXX | \
   13890     export_symbols_cmds_CXX | \
   13891     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13892     postinstall_cmds | postuninstall_cmds | \
   13893     old_postinstall_cmds | old_postuninstall_cmds | \
   13894     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13895       # Double-quote double-evaled strings.
   13896       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13897       ;;
   13898     *)
   13899       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13900       ;;
   13901     esac
   13902   done
   13903 
   13904   case $lt_echo in
   13905   *'\$0 --fallback-echo"')
   13906     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13907     ;;
   13908   esac
   13909 
   13910 cfgfile="$ofile"
   13911 
   13912   cat <<__EOF__ >> "$cfgfile"
   13913 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13914 
   13915 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13916 
   13917 # Shell to use when invoking shell scripts.
   13918 SHELL=$lt_SHELL
   13919 
   13920 # Whether or not to build shared libraries.
   13921 build_libtool_libs=$enable_shared
   13922 
   13923 # Whether or not to build static libraries.
   13924 build_old_libs=$enable_static
   13925 
   13926 # Whether or not to add -lc for building shared libraries.
   13927 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13928 
   13929 # Whether or not to disallow shared libs when runtime libs are static
   13930 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13931 
   13932 # Whether or not to optimize for fast installation.
   13933 fast_install=$enable_fast_install
   13934 
   13935 # The host system.
   13936 host_alias=$host_alias
   13937 host=$host
   13938 host_os=$host_os
   13939 
   13940 # The build system.
   13941 build_alias=$build_alias
   13942 build=$build
   13943 build_os=$build_os
   13944 
   13945 # An echo program that does not interpret backslashes.
   13946 echo=$lt_echo
   13947 
   13948 # The archiver.
   13949 AR=$lt_AR
   13950 AR_FLAGS=$lt_AR_FLAGS
   13951 
   13952 # A C compiler.
   13953 LTCC=$lt_LTCC
   13954 
   13955 # LTCC compiler flags.
   13956 LTCFLAGS=$lt_LTCFLAGS
   13957 
   13958 # A language-specific compiler.
   13959 CC=$lt_compiler_CXX
   13960 
   13961 # Is the compiler the GNU C compiler?
   13962 with_gcc=$GCC_CXX
   13963 
   13964 # An ERE matcher.
   13965 EGREP=$lt_EGREP
   13966 
   13967 # The linker used to build libraries.
   13968 LD=$lt_LD_CXX
   13969 
   13970 # Whether we need hard or soft links.
   13971 LN_S=$lt_LN_S
   13972 
   13973 # A BSD-compatible nm program.
   13974 NM=$lt_NM
   13975 
   13976 # A symbol stripping program
   13977 STRIP=$lt_STRIP
   13978 
   13979 # Used to examine libraries when file_magic_cmd begins "file"
   13980 MAGIC_CMD=$MAGIC_CMD
   13981 
   13982 # Used on cygwin: DLL creation program.
   13983 DLLTOOL="$DLLTOOL"
   13984 
   13985 # Used on cygwin: object dumper.
   13986 OBJDUMP="$OBJDUMP"
   13987 
   13988 # Used on cygwin: assembler.
   13989 AS="$AS"
   13990 
   13991 # The name of the directory that contains temporary libtool files.
   13992 objdir=$objdir
   13993 
   13994 # How to create reloadable object files.
   13995 reload_flag=$lt_reload_flag
   13996 reload_cmds=$lt_reload_cmds
   13997 
   13998 # How to pass a linker flag through the compiler.
   13999 wl=$lt_lt_prog_compiler_wl_CXX
   14000 
   14001 # Object file suffix (normally "o").
   14002 objext="$ac_objext"
   14003 
   14004 # Old archive suffix (normally "a").
   14005 libext="$libext"
   14006 
   14007 # Shared library suffix (normally ".so").
   14008 shrext_cmds='$shrext_cmds'
   14009 
   14010 # Executable file suffix (normally "").
   14011 exeext="$exeext"
   14012 
   14013 # Additional compiler flags for building library objects.
   14014 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14015 pic_mode=$pic_mode
   14016 
   14017 # What is the maximum length of a command?
   14018 max_cmd_len=$lt_cv_sys_max_cmd_len
   14019 
   14020 # Does compiler simultaneously support -c and -o options?
   14021 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14022 
   14023 # Must we lock files when doing compilation?
   14024 need_locks=$lt_need_locks
   14025 
   14026 # Do we need the lib prefix for modules?
   14027 need_lib_prefix=$need_lib_prefix
   14028 
   14029 # Do we need a version for libraries?
   14030 need_version=$need_version
   14031 
   14032 # Whether dlopen is supported.
   14033 dlopen_support=$enable_dlopen
   14034 
   14035 # Whether dlopen of programs is supported.
   14036 dlopen_self=$enable_dlopen_self
   14037 
   14038 # Whether dlopen of statically linked programs is supported.
   14039 dlopen_self_static=$enable_dlopen_self_static
   14040 
   14041 # Compiler flag to prevent dynamic linking.
   14042 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14043 
   14044 # Compiler flag to turn off builtin functions.
   14045 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14046 
   14047 # Compiler flag to allow reflexive dlopens.
   14048 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14049 
   14050 # Compiler flag to generate shared objects directly from archives.
   14051 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14052 
   14053 # Compiler flag to generate thread-safe objects.
   14054 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14055 
   14056 # Library versioning type.
   14057 version_type=$version_type
   14058 
   14059 # Format of library name prefix.
   14060 libname_spec=$lt_libname_spec
   14061 
   14062 # List of archive names.  First name is the real one, the rest are links.
   14063 # The last name is the one that the linker finds with -lNAME.
   14064 library_names_spec=$lt_library_names_spec
   14065 
   14066 # The coded name of the library, if different from the real name.
   14067 soname_spec=$lt_soname_spec
   14068 
   14069 # Commands used to build and install an old-style archive.
   14070 RANLIB=$lt_RANLIB
   14071 old_archive_cmds=$lt_old_archive_cmds_CXX
   14072 old_postinstall_cmds=$lt_old_postinstall_cmds
   14073 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14074 
   14075 # Create an old-style archive from a shared archive.
   14076 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14077 
   14078 # Create a temporary old-style archive to link instead of a shared archive.
   14079 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14080 
   14081 # Commands used to build and install a shared archive.
   14082 archive_cmds=$lt_archive_cmds_CXX
   14083 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14084 postinstall_cmds=$lt_postinstall_cmds
   14085 postuninstall_cmds=$lt_postuninstall_cmds
   14086 
   14087 # Commands used to build a loadable module (assumed same as above if empty)
   14088 module_cmds=$lt_module_cmds_CXX
   14089 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14090 
   14091 # Commands to strip libraries.
   14092 old_striplib=$lt_old_striplib
   14093 striplib=$lt_striplib
   14094 
   14095 # Dependencies to place before the objects being linked to create a
   14096 # shared library.
   14097 predep_objects=$lt_predep_objects_CXX
   14098 
   14099 # Dependencies to place after the objects being linked to create a
   14100 # shared library.
   14101 postdep_objects=$lt_postdep_objects_CXX
   14102 
   14103 # Dependencies to place before the objects being linked to create a
   14104 # shared library.
   14105 predeps=$lt_predeps_CXX
   14106 
   14107 # Dependencies to place after the objects being linked to create a
   14108 # shared library.
   14109 postdeps=$lt_postdeps_CXX
   14110 
   14111 # The directories searched by this compiler when creating a shared
   14112 # library
   14113 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14114 
   14115 # The library search path used internally by the compiler when linking
   14116 # a shared library.
   14117 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14118 
   14119 # Method to check whether dependent libraries are shared objects.
   14120 deplibs_check_method=$lt_deplibs_check_method
   14121 
   14122 # Command to use when deplibs_check_method == file_magic.
   14123 file_magic_cmd=$lt_file_magic_cmd
   14124 
   14125 # Flag that allows shared libraries with undefined symbols to be built.
   14126 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14127 
   14128 # Flag that forces no undefined symbols.
   14129 no_undefined_flag=$lt_no_undefined_flag_CXX
   14130 
   14131 # Commands used to finish a libtool library installation in a directory.
   14132 finish_cmds=$lt_finish_cmds
   14133 
   14134 # Same as above, but a single script fragment to be evaled but not shown.
   14135 finish_eval=$lt_finish_eval
   14136 
   14137 # Take the output of nm and produce a listing of raw symbols and C names.
   14138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14139 
   14140 # Transform the output of nm in a proper C declaration
   14141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14142 
   14143 # Transform the output of nm in a C name address pair
   14144 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14145 
   14146 # This is the shared library runtime path variable.
   14147 runpath_var=$runpath_var
   14148 
   14149 # This is the shared library path variable.
   14150 shlibpath_var=$shlibpath_var
   14151 
   14152 # Is shlibpath searched before the hard-coded library search path?
   14153 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14154 
   14155 # How to hardcode a shared library path into an executable.
   14156 hardcode_action=$hardcode_action_CXX
   14157 
   14158 # Whether we should hardcode library paths into libraries.
   14159 hardcode_into_libs=$hardcode_into_libs
   14160 
   14161 # Flag to hardcode \$libdir into a binary during linking.
   14162 # This must work even if \$libdir does not exist.
   14163 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14164 
   14165 # If ld is used when linking, flag to hardcode \$libdir into
   14166 # a binary during linking. This must work even if \$libdir does
   14167 # not exist.
   14168 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14169 
   14170 # Whether we need a single -rpath flag with a separated argument.
   14171 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14172 
   14173 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14174 # resulting binary.
   14175 hardcode_direct=$hardcode_direct_CXX
   14176 
   14177 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14178 # resulting binary.
   14179 hardcode_minus_L=$hardcode_minus_L_CXX
   14180 
   14181 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14182 # the resulting binary.
   14183 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14184 
   14185 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14186 # and all subsequent libraries and executables linked against it.
   14187 hardcode_automatic=$hardcode_automatic_CXX
   14188 
   14189 # Variables whose values should be saved in libtool wrapper scripts and
   14190 # restored at relink time.
   14191 variables_saved_for_relink="$variables_saved_for_relink"
   14192 
   14193 # Whether libtool must link a program against all its dependency libraries.
   14194 link_all_deplibs=$link_all_deplibs_CXX
   14195 
   14196 # Compile-time system search path for libraries
   14197 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14198 
   14199 # Run-time system search path for libraries
   14200 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14201 
   14202 # Fix the shell variable \$srcfile for the compiler.
   14203 fix_srcfile_path=$lt_fix_srcfile_path
   14204 
   14205 # Set to yes if exported symbols are required.
   14206 always_export_symbols=$always_export_symbols_CXX
   14207 
   14208 # The commands to list exported symbols.
   14209 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14210 
   14211 # The commands to extract the exported symbol list from a shared archive.
   14212 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14213 
   14214 # Symbols that should not be listed in the preloaded symbols.
   14215 exclude_expsyms=$lt_exclude_expsyms_CXX
   14216 
   14217 # Symbols that must always be exported.
   14218 include_expsyms=$lt_include_expsyms_CXX
   14219 
   14220 # ### END LIBTOOL TAG CONFIG: $tagname
   14221 
   14222 __EOF__
   14223 
   14224 
   14225 else
   14226   # If there is no Makefile yet, we rely on a make rule to execute
   14227   # `config.status --recheck' to rerun these tests and create the
   14228   # libtool script then.
   14229   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14230   if test -f "$ltmain_in"; then
   14231     test -f Makefile && make "$ltmain"
   14232   fi
   14233 fi
   14234 
   14235 
   14236 ac_ext=c
   14237 ac_cpp='$CPP $CPPFLAGS'
   14238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14241 
   14242 CC=$lt_save_CC
   14243 LDCXX=$LD
   14244 LD=$lt_save_LD
   14245 GCC=$lt_save_GCC
   14246 with_gnu_ldcxx=$with_gnu_ld
   14247 with_gnu_ld=$lt_save_with_gnu_ld
   14248 lt_cv_path_LDCXX=$lt_cv_path_LD
   14249 lt_cv_path_LD=$lt_save_path_LD
   14250 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14251 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14252 
   14253 	else
   14254 	  tagname=""
   14255 	fi
   14256 	;;
   14257 
   14258       F77)
   14259 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14260 
   14261 ac_ext=f
   14262 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14263 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14264 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14265 
   14266 
   14267 archive_cmds_need_lc_F77=no
   14268 allow_undefined_flag_F77=
   14269 always_export_symbols_F77=no
   14270 archive_expsym_cmds_F77=
   14271 export_dynamic_flag_spec_F77=
   14272 hardcode_direct_F77=no
   14273 hardcode_libdir_flag_spec_F77=
   14274 hardcode_libdir_flag_spec_ld_F77=
   14275 hardcode_libdir_separator_F77=
   14276 hardcode_minus_L_F77=no
   14277 hardcode_automatic_F77=no
   14278 module_cmds_F77=
   14279 module_expsym_cmds_F77=
   14280 link_all_deplibs_F77=unknown
   14281 old_archive_cmds_F77=$old_archive_cmds
   14282 no_undefined_flag_F77=
   14283 whole_archive_flag_spec_F77=
   14284 enable_shared_with_static_runtimes_F77=no
   14285 
   14286 # Source file extension for f77 test sources.
   14287 ac_ext=f
   14288 
   14289 # Object file extension for compiled f77 test sources.
   14290 objext=o
   14291 objext_F77=$objext
   14292 
   14293 # Code to be used in simple compile tests
   14294 lt_simple_compile_test_code="\
   14295       subroutine t
   14296       return
   14297       end
   14298 "
   14299 
   14300 # Code to be used in simple link tests
   14301 lt_simple_link_test_code="\
   14302       program t
   14303       end
   14304 "
   14305 
   14306 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14307 
   14308 # If no C compiler was specified, use CC.
   14309 LTCC=${LTCC-"$CC"}
   14310 
   14311 # If no C compiler flags were specified, use CFLAGS.
   14312 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14313 
   14314 # Allow CC to be a program name with arguments.
   14315 compiler=$CC
   14316 
   14317 
   14318 # save warnings/boilerplate of simple test code
   14319 ac_outfile=conftest.$ac_objext
   14320 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14321 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14322 _lt_compiler_boilerplate=`cat conftest.err`
   14323 $rm conftest*
   14324 
   14325 ac_outfile=conftest.$ac_objext
   14326 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14327 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14328 _lt_linker_boilerplate=`cat conftest.err`
   14329 $rm -r conftest*
   14330 
   14331 
   14332 # Allow CC to be a program name with arguments.
   14333 lt_save_CC="$CC"
   14334 CC=${F77-"f77"}
   14335 compiler=$CC
   14336 compiler_F77=$CC
   14337 for cc_temp in $compiler""; do
   14338   case $cc_temp in
   14339     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14340     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14341     \-*) ;;
   14342     *) break;;
   14343   esac
   14344 done
   14345 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14346 
   14347 
   14348 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14349 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14350 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14351 $as_echo "$can_build_shared" >&6; }
   14352 
   14353 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14354 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14355 test "$can_build_shared" = "no" && enable_shared=no
   14356 
   14357 # On AIX, shared libraries and static libraries use the same namespace, and
   14358 # are all built from PIC.
   14359 case $host_os in
   14360 aix3*)
   14361   test "$enable_shared" = yes && enable_static=no
   14362   if test -n "$RANLIB"; then
   14363     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14364     postinstall_cmds='$RANLIB $lib'
   14365   fi
   14366   ;;
   14367 aix[4-9]*)
   14368   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14369     test "$enable_shared" = yes && enable_static=no
   14370   fi
   14371   ;;
   14372 esac
   14373 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14374 $as_echo "$enable_shared" >&6; }
   14375 
   14376 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14377 $as_echo_n "checking whether to build static libraries... " >&6; }
   14378 # Make sure either enable_shared or enable_static is yes.
   14379 test "$enable_shared" = yes || enable_static=yes
   14380 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14381 $as_echo "$enable_static" >&6; }
   14382 
   14383 GCC_F77="$G77"
   14384 LD_F77="$LD"
   14385 
   14386 lt_prog_compiler_wl_F77=
   14387 lt_prog_compiler_pic_F77=
   14388 lt_prog_compiler_static_F77=
   14389 
   14390 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14391 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14392 
   14393   if test "$GCC" = yes; then
   14394     lt_prog_compiler_wl_F77='-Wl,'
   14395     lt_prog_compiler_static_F77='-static'
   14396 
   14397     case $host_os in
   14398       aix*)
   14399       # All AIX code is PIC.
   14400       if test "$host_cpu" = ia64; then
   14401 	# AIX 5 now supports IA64 processor
   14402 	lt_prog_compiler_static_F77='-Bstatic'
   14403       fi
   14404       ;;
   14405 
   14406     amigaos*)
   14407       # FIXME: we need at least 68020 code to build shared libraries, but
   14408       # adding the `-m68020' flag to GCC prevents building anything better,
   14409       # like `-m68040'.
   14410       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14411       ;;
   14412 
   14413     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14414       # PIC is the default for these OSes.
   14415       ;;
   14416 
   14417     mingw* | cygwin* | pw32* | os2*)
   14418       # This hack is so that the source file can tell whether it is being
   14419       # built for inclusion in a dll (and should export symbols for example).
   14420       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14421       # (--disable-auto-import) libraries
   14422       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14423       ;;
   14424 
   14425     darwin* | rhapsody*)
   14426       # PIC is the default on this platform
   14427       # Common symbols not allowed in MH_DYLIB files
   14428       lt_prog_compiler_pic_F77='-fno-common'
   14429       ;;
   14430 
   14431     interix[3-9]*)
   14432       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14433       # Instead, we relocate shared libraries at runtime.
   14434       ;;
   14435 
   14436     msdosdjgpp*)
   14437       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14438       # on systems that don't support them.
   14439       lt_prog_compiler_can_build_shared_F77=no
   14440       enable_shared=no
   14441       ;;
   14442 
   14443     sysv4*MP*)
   14444       if test -d /usr/nec; then
   14445 	lt_prog_compiler_pic_F77=-Kconform_pic
   14446       fi
   14447       ;;
   14448 
   14449     hpux*)
   14450       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14451       # not for PA HP-UX.
   14452       case $host_cpu in
   14453       hppa*64*|ia64*)
   14454 	# +Z the default
   14455 	;;
   14456       *)
   14457 	lt_prog_compiler_pic_F77='-fPIC'
   14458 	;;
   14459       esac
   14460       ;;
   14461 
   14462     *)
   14463       lt_prog_compiler_pic_F77='-fPIC'
   14464       ;;
   14465     esac
   14466   else
   14467     # PORTME Check for flag to pass linker flags through the system compiler.
   14468     case $host_os in
   14469     aix*)
   14470       lt_prog_compiler_wl_F77='-Wl,'
   14471       if test "$host_cpu" = ia64; then
   14472 	# AIX 5 now supports IA64 processor
   14473 	lt_prog_compiler_static_F77='-Bstatic'
   14474       else
   14475 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14476       fi
   14477       ;;
   14478       darwin*)
   14479         # PIC is the default on this platform
   14480         # Common symbols not allowed in MH_DYLIB files
   14481        case $cc_basename in
   14482          xlc*)
   14483          lt_prog_compiler_pic_F77='-qnocommon'
   14484          lt_prog_compiler_wl_F77='-Wl,'
   14485          ;;
   14486        esac
   14487        ;;
   14488 
   14489     mingw* | cygwin* | pw32* | os2*)
   14490       # This hack is so that the source file can tell whether it is being
   14491       # built for inclusion in a dll (and should export symbols for example).
   14492       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14493       ;;
   14494 
   14495     hpux9* | hpux10* | hpux11*)
   14496       lt_prog_compiler_wl_F77='-Wl,'
   14497       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14498       # not for PA HP-UX.
   14499       case $host_cpu in
   14500       hppa*64*|ia64*)
   14501 	# +Z the default
   14502 	;;
   14503       *)
   14504 	lt_prog_compiler_pic_F77='+Z'
   14505 	;;
   14506       esac
   14507       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14508       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14509       ;;
   14510 
   14511     irix5* | irix6* | nonstopux*)
   14512       lt_prog_compiler_wl_F77='-Wl,'
   14513       # PIC (with -KPIC) is the default.
   14514       lt_prog_compiler_static_F77='-non_shared'
   14515       ;;
   14516 
   14517     newsos6)
   14518       lt_prog_compiler_pic_F77='-KPIC'
   14519       lt_prog_compiler_static_F77='-Bstatic'
   14520       ;;
   14521 
   14522     linux* | k*bsd*-gnu)
   14523       case $cc_basename in
   14524       icc* | ecc*)
   14525 	lt_prog_compiler_wl_F77='-Wl,'
   14526 	lt_prog_compiler_pic_F77='-KPIC'
   14527 	lt_prog_compiler_static_F77='-static'
   14528         ;;
   14529       pgcc* | pgf77* | pgf90* | pgf95*)
   14530         # Portland Group compilers (*not* the Pentium gcc compiler,
   14531 	# which looks to be a dead project)
   14532 	lt_prog_compiler_wl_F77='-Wl,'
   14533 	lt_prog_compiler_pic_F77='-fpic'
   14534 	lt_prog_compiler_static_F77='-Bstatic'
   14535         ;;
   14536       ccc*)
   14537         lt_prog_compiler_wl_F77='-Wl,'
   14538         # All Alpha code is PIC.
   14539         lt_prog_compiler_static_F77='-non_shared'
   14540         ;;
   14541       *)
   14542         case `$CC -V 2>&1 | sed 5q` in
   14543 	*Sun\ C*)
   14544 	  # Sun C 5.9
   14545 	  lt_prog_compiler_pic_F77='-KPIC'
   14546 	  lt_prog_compiler_static_F77='-Bstatic'
   14547 	  lt_prog_compiler_wl_F77='-Wl,'
   14548 	  ;;
   14549 	*Sun\ F*)
   14550 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14551 	  lt_prog_compiler_pic_F77='-KPIC'
   14552 	  lt_prog_compiler_static_F77='-Bstatic'
   14553 	  lt_prog_compiler_wl_F77=''
   14554 	  ;;
   14555 	esac
   14556 	;;
   14557       esac
   14558       ;;
   14559 
   14560     osf3* | osf4* | osf5*)
   14561       lt_prog_compiler_wl_F77='-Wl,'
   14562       # All OSF/1 code is PIC.
   14563       lt_prog_compiler_static_F77='-non_shared'
   14564       ;;
   14565 
   14566     rdos*)
   14567       lt_prog_compiler_static_F77='-non_shared'
   14568       ;;
   14569 
   14570     solaris*)
   14571       lt_prog_compiler_pic_F77='-KPIC'
   14572       lt_prog_compiler_static_F77='-Bstatic'
   14573       case $cc_basename in
   14574       f77* | f90* | f95*)
   14575 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14576       *)
   14577 	lt_prog_compiler_wl_F77='-Wl,';;
   14578       esac
   14579       ;;
   14580 
   14581     sunos4*)
   14582       lt_prog_compiler_wl_F77='-Qoption ld '
   14583       lt_prog_compiler_pic_F77='-PIC'
   14584       lt_prog_compiler_static_F77='-Bstatic'
   14585       ;;
   14586 
   14587     sysv4 | sysv4.2uw2* | sysv4.3*)
   14588       lt_prog_compiler_wl_F77='-Wl,'
   14589       lt_prog_compiler_pic_F77='-KPIC'
   14590       lt_prog_compiler_static_F77='-Bstatic'
   14591       ;;
   14592 
   14593     sysv4*MP*)
   14594       if test -d /usr/nec ;then
   14595 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14596 	lt_prog_compiler_static_F77='-Bstatic'
   14597       fi
   14598       ;;
   14599 
   14600     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14601       lt_prog_compiler_wl_F77='-Wl,'
   14602       lt_prog_compiler_pic_F77='-KPIC'
   14603       lt_prog_compiler_static_F77='-Bstatic'
   14604       ;;
   14605 
   14606     unicos*)
   14607       lt_prog_compiler_wl_F77='-Wl,'
   14608       lt_prog_compiler_can_build_shared_F77=no
   14609       ;;
   14610 
   14611     uts4*)
   14612       lt_prog_compiler_pic_F77='-pic'
   14613       lt_prog_compiler_static_F77='-Bstatic'
   14614       ;;
   14615 
   14616     *)
   14617       lt_prog_compiler_can_build_shared_F77=no
   14618       ;;
   14619     esac
   14620   fi
   14621 
   14622 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14623 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14624 
   14625 #
   14626 # Check to make sure the PIC flag actually works.
   14627 #
   14628 if test -n "$lt_prog_compiler_pic_F77"; then
   14629 
   14630 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14631 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14632 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14633   $as_echo_n "(cached) " >&6
   14634 else
   14635   lt_cv_prog_compiler_pic_works_F77=no
   14636   ac_outfile=conftest.$ac_objext
   14637    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14638    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14639    # Insert the option either (1) after the last *FLAGS variable, or
   14640    # (2) before a word containing "conftest.", or (3) at the end.
   14641    # Note that $ac_compile itself does not contain backslashes and begins
   14642    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14643    # The option is referenced via a variable to avoid confusing sed.
   14644    lt_compile=`echo "$ac_compile" | $SED \
   14645    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14646    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14647    -e 's:$: $lt_compiler_flag:'`
   14648    (eval echo "\"\$as_me:14648: $lt_compile\"" >&5)
   14649    (eval "$lt_compile" 2>conftest.err)
   14650    ac_status=$?
   14651    cat conftest.err >&5
   14652    echo "$as_me:14652: \$? = $ac_status" >&5
   14653    if (exit $ac_status) && test -s "$ac_outfile"; then
   14654      # The compiler can only warn and ignore the option if not recognized
   14655      # So say no if there are warnings other than the usual output.
   14656      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14657      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14658      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14659        lt_cv_prog_compiler_pic_works_F77=yes
   14660      fi
   14661    fi
   14662    $rm conftest*
   14663 
   14664 fi
   14665 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14666 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14667 
   14668 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14669     case $lt_prog_compiler_pic_F77 in
   14670      "" | " "*) ;;
   14671      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14672      esac
   14673 else
   14674     lt_prog_compiler_pic_F77=
   14675      lt_prog_compiler_can_build_shared_F77=no
   14676 fi
   14677 
   14678 fi
   14679 case $host_os in
   14680   # For platforms which do not support PIC, -DPIC is meaningless:
   14681   *djgpp*)
   14682     lt_prog_compiler_pic_F77=
   14683     ;;
   14684   *)
   14685     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14686     ;;
   14687 esac
   14688 
   14689 #
   14690 # Check to make sure the static flag actually works.
   14691 #
   14692 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14693 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14694 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14695 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14696   $as_echo_n "(cached) " >&6
   14697 else
   14698   lt_cv_prog_compiler_static_works_F77=no
   14699    save_LDFLAGS="$LDFLAGS"
   14700    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14701    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14702    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14703      # The linker can only warn and ignore the option if not recognized
   14704      # So say no if there are warnings
   14705      if test -s conftest.err; then
   14706        # Append any errors to the config.log.
   14707        cat conftest.err 1>&5
   14708        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14709        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14710        if diff conftest.exp conftest.er2 >/dev/null; then
   14711          lt_cv_prog_compiler_static_works_F77=yes
   14712        fi
   14713      else
   14714        lt_cv_prog_compiler_static_works_F77=yes
   14715      fi
   14716    fi
   14717    $rm -r conftest*
   14718    LDFLAGS="$save_LDFLAGS"
   14719 
   14720 fi
   14721 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14722 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14723 
   14724 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14725     :
   14726 else
   14727     lt_prog_compiler_static_F77=
   14728 fi
   14729 
   14730 
   14731 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14733 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14734   $as_echo_n "(cached) " >&6
   14735 else
   14736   lt_cv_prog_compiler_c_o_F77=no
   14737    $rm -r conftest 2>/dev/null
   14738    mkdir conftest
   14739    cd conftest
   14740    mkdir out
   14741    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14742 
   14743    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14744    # Insert the option either (1) after the last *FLAGS variable, or
   14745    # (2) before a word containing "conftest.", or (3) at the end.
   14746    # Note that $ac_compile itself does not contain backslashes and begins
   14747    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14748    lt_compile=`echo "$ac_compile" | $SED \
   14749    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14750    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14751    -e 's:$: $lt_compiler_flag:'`
   14752    (eval echo "\"\$as_me:14752: $lt_compile\"" >&5)
   14753    (eval "$lt_compile" 2>out/conftest.err)
   14754    ac_status=$?
   14755    cat out/conftest.err >&5
   14756    echo "$as_me:14756: \$? = $ac_status" >&5
   14757    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14758    then
   14759      # The compiler can only warn and ignore the option if not recognized
   14760      # So say no if there are warnings
   14761      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14762      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14763      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14764        lt_cv_prog_compiler_c_o_F77=yes
   14765      fi
   14766    fi
   14767    chmod u+w . 2>&5
   14768    $rm conftest*
   14769    # SGI C++ compiler will create directory out/ii_files/ for
   14770    # template instantiation
   14771    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14772    $rm out/* && rmdir out
   14773    cd ..
   14774    rmdir conftest
   14775    $rm conftest*
   14776 
   14777 fi
   14778 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14779 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14780 
   14781 
   14782 hard_links="nottested"
   14783 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14784   # do not overwrite the value of need_locks provided by the user
   14785   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14786 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14787   hard_links=yes
   14788   $rm conftest*
   14789   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14790   touch conftest.a
   14791   ln conftest.a conftest.b 2>&5 || hard_links=no
   14792   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14793   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14794 $as_echo "$hard_links" >&6; }
   14795   if test "$hard_links" = no; then
   14796     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14797 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14798     need_locks=warn
   14799   fi
   14800 else
   14801   need_locks=no
   14802 fi
   14803 
   14804 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14805 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14806 
   14807   runpath_var=
   14808   allow_undefined_flag_F77=
   14809   enable_shared_with_static_runtimes_F77=no
   14810   archive_cmds_F77=
   14811   archive_expsym_cmds_F77=
   14812   old_archive_From_new_cmds_F77=
   14813   old_archive_from_expsyms_cmds_F77=
   14814   export_dynamic_flag_spec_F77=
   14815   whole_archive_flag_spec_F77=
   14816   thread_safe_flag_spec_F77=
   14817   hardcode_libdir_flag_spec_F77=
   14818   hardcode_libdir_flag_spec_ld_F77=
   14819   hardcode_libdir_separator_F77=
   14820   hardcode_direct_F77=no
   14821   hardcode_minus_L_F77=no
   14822   hardcode_shlibpath_var_F77=unsupported
   14823   link_all_deplibs_F77=unknown
   14824   hardcode_automatic_F77=no
   14825   module_cmds_F77=
   14826   module_expsym_cmds_F77=
   14827   always_export_symbols_F77=no
   14828   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14829   # include_expsyms should be a list of space-separated symbols to be *always*
   14830   # included in the symbol list
   14831   include_expsyms_F77=
   14832   # exclude_expsyms can be an extended regexp of symbols to exclude
   14833   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14834   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14835   # as well as any symbol that contains `d'.
   14836   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14837   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14838   # platforms (ab)use it in PIC code, but their linkers get confused if
   14839   # the symbol is explicitly referenced.  Since portable code cannot
   14840   # rely on this symbol name, it's probably fine to never include it in
   14841   # preloaded symbol tables.
   14842   # Exclude shared library initialization/finalization symbols.
   14843   extract_expsyms_cmds=
   14844   # Just being paranoid about ensuring that cc_basename is set.
   14845   for cc_temp in $compiler""; do
   14846   case $cc_temp in
   14847     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14848     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14849     \-*) ;;
   14850     *) break;;
   14851   esac
   14852 done
   14853 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14854 
   14855   case $host_os in
   14856   cygwin* | mingw* | pw32*)
   14857     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14858     # When not using gcc, we currently assume that we are using
   14859     # Microsoft Visual C++.
   14860     if test "$GCC" != yes; then
   14861       with_gnu_ld=no
   14862     fi
   14863     ;;
   14864   interix*)
   14865     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14866     with_gnu_ld=yes
   14867     ;;
   14868   openbsd*)
   14869     with_gnu_ld=no
   14870     ;;
   14871   esac
   14872 
   14873   ld_shlibs_F77=yes
   14874   if test "$with_gnu_ld" = yes; then
   14875     # If archive_cmds runs LD, not CC, wlarc should be empty
   14876     wlarc='${wl}'
   14877 
   14878     # Set some defaults for GNU ld with shared library support. These
   14879     # are reset later if shared libraries are not supported. Putting them
   14880     # here allows them to be overridden if necessary.
   14881     runpath_var=LD_RUN_PATH
   14882     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14883     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14884     # ancient GNU ld didn't support --whole-archive et. al.
   14885     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14886 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14887       else
   14888   	whole_archive_flag_spec_F77=
   14889     fi
   14890     supports_anon_versioning=no
   14891     case `$LD -v 2>/dev/null` in
   14892       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14893       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14894       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14895       *\ 2.11.*) ;; # other 2.11 versions
   14896       *) supports_anon_versioning=yes ;;
   14897     esac
   14898 
   14899     # See if GNU ld supports shared libraries.
   14900     case $host_os in
   14901     aix[3-9]*)
   14902       # On AIX/PPC, the GNU linker is very broken
   14903       if test "$host_cpu" != ia64; then
   14904 	ld_shlibs_F77=no
   14905 	cat <<EOF 1>&2
   14906 
   14907 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14908 *** to be unable to reliably create shared libraries on AIX.
   14909 *** Therefore, libtool is disabling shared libraries support.  If you
   14910 *** really care for shared libraries, you may want to modify your PATH
   14911 *** so that a non-GNU linker is found, and then restart.
   14912 
   14913 EOF
   14914       fi
   14915       ;;
   14916 
   14917     amigaos*)
   14918       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)'
   14919       hardcode_libdir_flag_spec_F77='-L$libdir'
   14920       hardcode_minus_L_F77=yes
   14921 
   14922       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14923       # that the semantics of dynamic libraries on AmigaOS, at least up
   14924       # to version 4, is to share data among multiple programs linked
   14925       # with the same dynamic library.  Since this doesn't match the
   14926       # behavior of shared libraries on other platforms, we can't use
   14927       # them.
   14928       ld_shlibs_F77=no
   14929       ;;
   14930 
   14931     beos*)
   14932       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14933 	allow_undefined_flag_F77=unsupported
   14934 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14935 	# support --undefined.  This deserves some investigation.  FIXME
   14936 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14937       else
   14938 	ld_shlibs_F77=no
   14939       fi
   14940       ;;
   14941 
   14942     cygwin* | mingw* | pw32*)
   14943       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14944       # as there is no search path for DLLs.
   14945       hardcode_libdir_flag_spec_F77='-L$libdir'
   14946       allow_undefined_flag_F77=unsupported
   14947       always_export_symbols_F77=no
   14948       enable_shared_with_static_runtimes_F77=yes
   14949       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14950 
   14951       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14952         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14953 	# If the export-symbols file already is a .def file (1st line
   14954 	# is EXPORTS), use it as is; otherwise, prepend...
   14955 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14956 	  cp $export_symbols $output_objdir/$soname.def;
   14957 	else
   14958 	  echo EXPORTS > $output_objdir/$soname.def;
   14959 	  cat $export_symbols >> $output_objdir/$soname.def;
   14960 	fi~
   14961 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14962       else
   14963 	ld_shlibs_F77=no
   14964       fi
   14965       ;;
   14966 
   14967     interix[3-9]*)
   14968       hardcode_direct_F77=no
   14969       hardcode_shlibpath_var_F77=no
   14970       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14971       export_dynamic_flag_spec_F77='${wl}-E'
   14972       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14973       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14974       # default) and relocated if they conflict, which is a slow very memory
   14975       # consuming and fragmenting process.  To avoid this, we pick a random,
   14976       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14977       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14978       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'
   14979       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'
   14980       ;;
   14981 
   14982     gnu* | linux* | k*bsd*-gnu)
   14983       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14984 	tmp_addflag=
   14985 	case $cc_basename,$host_cpu in
   14986 	pgcc*)				# Portland Group C compiler
   14987 	  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'
   14988 	  tmp_addflag=' $pic_flag'
   14989 	  ;;
   14990 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14991 	  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'
   14992 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14993 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14994 	  tmp_addflag=' -i_dynamic' ;;
   14995 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14996 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14997 	ifc* | ifort*)			# Intel Fortran compiler
   14998 	  tmp_addflag=' -nofor_main' ;;
   14999 	esac
   15000 	case `$CC -V 2>&1 | sed 5q` in
   15001 	*Sun\ C*)			# Sun C 5.9
   15002 	  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'
   15003 	  tmp_sharedflag='-G' ;;
   15004 	*Sun\ F*)			# Sun Fortran 8.3
   15005 	  tmp_sharedflag='-G' ;;
   15006 	*)
   15007 	  tmp_sharedflag='-shared' ;;
   15008 	esac
   15009 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15010 
   15011 	if test $supports_anon_versioning = yes; then
   15012 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15013   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15014   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15015 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15016 	fi
   15017       else
   15018 	ld_shlibs_F77=no
   15019       fi
   15020       ;;
   15021 
   15022     netbsd*)
   15023       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15024 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15025 	wlarc=
   15026       else
   15027 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15028 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15029       fi
   15030       ;;
   15031 
   15032     solaris*)
   15033       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15034 	ld_shlibs_F77=no
   15035 	cat <<EOF 1>&2
   15036 
   15037 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15038 *** create shared libraries on Solaris systems.  Therefore, libtool
   15039 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15040 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15041 *** your PATH or compiler configuration so that the native linker is
   15042 *** used, and then restart.
   15043 
   15044 EOF
   15045       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15046 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15047 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15048       else
   15049 	ld_shlibs_F77=no
   15050       fi
   15051       ;;
   15052 
   15053     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15054       case `$LD -v 2>&1` in
   15055         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15056 	ld_shlibs_F77=no
   15057 	cat <<_LT_EOF 1>&2
   15058 
   15059 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15060 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15061 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15062 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15063 *** your PATH or compiler configuration so that the native linker is
   15064 *** used, and then restart.
   15065 
   15066 _LT_EOF
   15067 	;;
   15068 	*)
   15069 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15070 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15071 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15072 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15073 	  else
   15074 	    ld_shlibs_F77=no
   15075 	  fi
   15076 	;;
   15077       esac
   15078       ;;
   15079 
   15080     sunos4*)
   15081       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15082       wlarc=
   15083       hardcode_direct_F77=yes
   15084       hardcode_shlibpath_var_F77=no
   15085       ;;
   15086 
   15087     *)
   15088       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15089 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15090 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15091       else
   15092 	ld_shlibs_F77=no
   15093       fi
   15094       ;;
   15095     esac
   15096 
   15097     if test "$ld_shlibs_F77" = no; then
   15098       runpath_var=
   15099       hardcode_libdir_flag_spec_F77=
   15100       export_dynamic_flag_spec_F77=
   15101       whole_archive_flag_spec_F77=
   15102     fi
   15103   else
   15104     # PORTME fill in a description of your system's linker (not GNU ld)
   15105     case $host_os in
   15106     aix3*)
   15107       allow_undefined_flag_F77=unsupported
   15108       always_export_symbols_F77=yes
   15109       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'
   15110       # Note: this linker hardcodes the directories in LIBPATH if there
   15111       # are no directories specified by -L.
   15112       hardcode_minus_L_F77=yes
   15113       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15114 	# Neither direct hardcoding nor static linking is supported with a
   15115 	# broken collect2.
   15116 	hardcode_direct_F77=unsupported
   15117       fi
   15118       ;;
   15119 
   15120     aix[4-9]*)
   15121       if test "$host_cpu" = ia64; then
   15122 	# On IA64, the linker does run time linking by default, so we don't
   15123 	# have to do anything special.
   15124 	aix_use_runtimelinking=no
   15125 	exp_sym_flag='-Bexport'
   15126 	no_entry_flag=""
   15127       else
   15128 	# If we're using GNU nm, then we don't want the "-C" option.
   15129 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15130 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15131 	  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'
   15132 	else
   15133 	  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'
   15134 	fi
   15135 	aix_use_runtimelinking=no
   15136 
   15137 	# Test if we are trying to use run time linking or normal
   15138 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15139 	# need to do runtime linking.
   15140 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15141 	  for ld_flag in $LDFLAGS; do
   15142   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15143   	    aix_use_runtimelinking=yes
   15144   	    break
   15145   	  fi
   15146 	  done
   15147 	  ;;
   15148 	esac
   15149 
   15150 	exp_sym_flag='-bexport'
   15151 	no_entry_flag='-bnoentry'
   15152       fi
   15153 
   15154       # When large executables or shared objects are built, AIX ld can
   15155       # have problems creating the table of contents.  If linking a library
   15156       # or program results in "error TOC overflow" add -mminimal-toc to
   15157       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15158       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15159 
   15160       archive_cmds_F77=''
   15161       hardcode_direct_F77=yes
   15162       hardcode_libdir_separator_F77=':'
   15163       link_all_deplibs_F77=yes
   15164 
   15165       if test "$GCC" = yes; then
   15166 	case $host_os in aix4.[012]|aix4.[012].*)
   15167 	# We only want to do this on AIX 4.2 and lower, the check
   15168 	# below for broken collect2 doesn't work under 4.3+
   15169 	  collect2name=`${CC} -print-prog-name=collect2`
   15170 	  if test -f "$collect2name" && \
   15171   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15172 	  then
   15173   	  # We have reworked collect2
   15174   	  :
   15175 	  else
   15176   	  # We have old collect2
   15177   	  hardcode_direct_F77=unsupported
   15178   	  # It fails to find uninstalled libraries when the uninstalled
   15179   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15180   	  # to unsupported forces relinking
   15181   	  hardcode_minus_L_F77=yes
   15182   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15183   	  hardcode_libdir_separator_F77=
   15184 	  fi
   15185 	  ;;
   15186 	esac
   15187 	shared_flag='-shared'
   15188 	if test "$aix_use_runtimelinking" = yes; then
   15189 	  shared_flag="$shared_flag "'${wl}-G'
   15190 	fi
   15191       else
   15192 	# not using gcc
   15193 	if test "$host_cpu" = ia64; then
   15194   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15195   	# chokes on -Wl,-G. The following line is correct:
   15196 	  shared_flag='-G'
   15197 	else
   15198 	  if test "$aix_use_runtimelinking" = yes; then
   15199 	    shared_flag='${wl}-G'
   15200 	  else
   15201 	    shared_flag='${wl}-bM:SRE'
   15202 	  fi
   15203 	fi
   15204       fi
   15205 
   15206       # It seems that -bexpall does not export symbols beginning with
   15207       # underscore (_), so it is better to generate a list of symbols to export.
   15208       always_export_symbols_F77=yes
   15209       if test "$aix_use_runtimelinking" = yes; then
   15210 	# Warning - without using the other runtime loading flags (-brtl),
   15211 	# -berok will link without error, but may produce a broken library.
   15212 	allow_undefined_flag_F77='-berok'
   15213        # Determine the default libpath from the value encoded in an empty executable.
   15214        cat >conftest.$ac_ext <<_ACEOF
   15215       program main
   15216 
   15217       end
   15218 _ACEOF
   15219 rm -f conftest.$ac_objext conftest$ac_exeext
   15220 if { (ac_try="$ac_link"
   15221 case "(($ac_try" in
   15222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15223   *) ac_try_echo=$ac_try;;
   15224 esac
   15225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15226 $as_echo "$ac_try_echo") >&5
   15227   (eval "$ac_link") 2>conftest.er1
   15228   ac_status=$?
   15229   grep -v '^ *+' conftest.er1 >conftest.err
   15230   rm -f conftest.er1
   15231   cat conftest.err >&5
   15232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15233   (exit $ac_status); } && {
   15234 	 test -z "$ac_f77_werror_flag" ||
   15235 	 test ! -s conftest.err
   15236        } && test -s conftest$ac_exeext && {
   15237 	 test "$cross_compiling" = yes ||
   15238 	 $as_test_x conftest$ac_exeext
   15239        }; then
   15240 
   15241 lt_aix_libpath_sed='
   15242     /Import File Strings/,/^$/ {
   15243 	/^0/ {
   15244 	    s/^0  *\(.*\)$/\1/
   15245 	    p
   15246 	}
   15247     }'
   15248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15249 # Check for a 64-bit object if we didn't find anything.
   15250 if test -z "$aix_libpath"; then
   15251   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15252 fi
   15253 else
   15254   $as_echo "$as_me: failed program was:" >&5
   15255 sed 's/^/| /' conftest.$ac_ext >&5
   15256 
   15257 
   15258 fi
   15259 
   15260 rm -rf conftest.dSYM
   15261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15262       conftest$ac_exeext conftest.$ac_ext
   15263 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15264 
   15265        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15266 	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"
   15267        else
   15268 	if test "$host_cpu" = ia64; then
   15269 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15270 	  allow_undefined_flag_F77="-z nodefs"
   15271 	  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"
   15272 	else
   15273 	 # Determine the default libpath from the value encoded in an empty executable.
   15274 	 cat >conftest.$ac_ext <<_ACEOF
   15275       program main
   15276 
   15277       end
   15278 _ACEOF
   15279 rm -f conftest.$ac_objext conftest$ac_exeext
   15280 if { (ac_try="$ac_link"
   15281 case "(($ac_try" in
   15282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15283   *) ac_try_echo=$ac_try;;
   15284 esac
   15285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15286 $as_echo "$ac_try_echo") >&5
   15287   (eval "$ac_link") 2>conftest.er1
   15288   ac_status=$?
   15289   grep -v '^ *+' conftest.er1 >conftest.err
   15290   rm -f conftest.er1
   15291   cat conftest.err >&5
   15292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15293   (exit $ac_status); } && {
   15294 	 test -z "$ac_f77_werror_flag" ||
   15295 	 test ! -s conftest.err
   15296        } && test -s conftest$ac_exeext && {
   15297 	 test "$cross_compiling" = yes ||
   15298 	 $as_test_x conftest$ac_exeext
   15299        }; then
   15300 
   15301 lt_aix_libpath_sed='
   15302     /Import File Strings/,/^$/ {
   15303 	/^0/ {
   15304 	    s/^0  *\(.*\)$/\1/
   15305 	    p
   15306 	}
   15307     }'
   15308 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15309 # Check for a 64-bit object if we didn't find anything.
   15310 if test -z "$aix_libpath"; then
   15311   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15312 fi
   15313 else
   15314   $as_echo "$as_me: failed program was:" >&5
   15315 sed 's/^/| /' conftest.$ac_ext >&5
   15316 
   15317 
   15318 fi
   15319 
   15320 rm -rf conftest.dSYM
   15321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15322       conftest$ac_exeext conftest.$ac_ext
   15323 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15324 
   15325 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15326 	  # Warning - without using the other run time loading flags,
   15327 	  # -berok will link without error, but may produce a broken library.
   15328 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15329 	  allow_undefined_flag_F77=' ${wl}-berok'
   15330 	  # Exported symbols can be pulled into shared objects from archives
   15331 	  whole_archive_flag_spec_F77='$convenience'
   15332 	  archive_cmds_need_lc_F77=yes
   15333 	  # This is similar to how AIX traditionally builds its shared libraries.
   15334 	  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'
   15335 	fi
   15336       fi
   15337       ;;
   15338 
   15339     amigaos*)
   15340       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)'
   15341       hardcode_libdir_flag_spec_F77='-L$libdir'
   15342       hardcode_minus_L_F77=yes
   15343       # see comment about different semantics on the GNU ld section
   15344       ld_shlibs_F77=no
   15345       ;;
   15346 
   15347     bsdi[45]*)
   15348       export_dynamic_flag_spec_F77=-rdynamic
   15349       ;;
   15350 
   15351     cygwin* | mingw* | pw32*)
   15352       # When not using gcc, we currently assume that we are using
   15353       # Microsoft Visual C++.
   15354       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15355       # no search path for DLLs.
   15356       hardcode_libdir_flag_spec_F77=' '
   15357       allow_undefined_flag_F77=unsupported
   15358       # Tell ltmain to make .lib files, not .a files.
   15359       libext=lib
   15360       # Tell ltmain to make .dll files, not .so files.
   15361       shrext_cmds=".dll"
   15362       # FIXME: Setting linknames here is a bad hack.
   15363       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15364       # The linker will automatically build a .lib file if we build a DLL.
   15365       old_archive_From_new_cmds_F77='true'
   15366       # FIXME: Should let the user specify the lib program.
   15367       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15368       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15369       enable_shared_with_static_runtimes_F77=yes
   15370       ;;
   15371 
   15372     darwin* | rhapsody*)
   15373       case $host_os in
   15374         rhapsody* | darwin1.[012])
   15375          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15376          ;;
   15377        *) # Darwin 1.3 on
   15378          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15379            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15380          else
   15381            case ${MACOSX_DEPLOYMENT_TARGET} in
   15382              10.[012])
   15383                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15384                ;;
   15385              10.*)
   15386                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15387                ;;
   15388            esac
   15389          fi
   15390          ;;
   15391       esac
   15392       archive_cmds_need_lc_F77=no
   15393       hardcode_direct_F77=no
   15394       hardcode_automatic_F77=yes
   15395       hardcode_shlibpath_var_F77=unsupported
   15396       whole_archive_flag_spec_F77=''
   15397       link_all_deplibs_F77=yes
   15398     if test "$GCC" = yes ; then
   15399     	output_verbose_link_cmd='echo'
   15400         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}"
   15401         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15402         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}"
   15403         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}"
   15404     else
   15405       case $cc_basename in
   15406         xlc*)
   15407          output_verbose_link_cmd='echo'
   15408          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15409          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15410           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15411          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}'
   15412           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}'
   15413           ;;
   15414        *)
   15415          ld_shlibs_F77=no
   15416           ;;
   15417       esac
   15418     fi
   15419       ;;
   15420 
   15421     dgux*)
   15422       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15423       hardcode_libdir_flag_spec_F77='-L$libdir'
   15424       hardcode_shlibpath_var_F77=no
   15425       ;;
   15426 
   15427     freebsd1*)
   15428       ld_shlibs_F77=no
   15429       ;;
   15430 
   15431     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15432     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15433     # does not break anything, and helps significantly (at the cost of a little
   15434     # extra space).
   15435     freebsd2.2*)
   15436       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15437       hardcode_libdir_flag_spec_F77='-R$libdir'
   15438       hardcode_direct_F77=yes
   15439       hardcode_shlibpath_var_F77=no
   15440       ;;
   15441 
   15442     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15443     freebsd2*)
   15444       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15445       hardcode_direct_F77=yes
   15446       hardcode_minus_L_F77=yes
   15447       hardcode_shlibpath_var_F77=no
   15448       ;;
   15449 
   15450     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15451     freebsd* | dragonfly*)
   15452       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15453       hardcode_libdir_flag_spec_F77='-R$libdir'
   15454       hardcode_direct_F77=yes
   15455       hardcode_shlibpath_var_F77=no
   15456       ;;
   15457 
   15458     hpux9*)
   15459       if test "$GCC" = yes; then
   15460 	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'
   15461       else
   15462 	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'
   15463       fi
   15464       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15465       hardcode_libdir_separator_F77=:
   15466       hardcode_direct_F77=yes
   15467 
   15468       # hardcode_minus_L: Not really in the search PATH,
   15469       # but as the default location of the library.
   15470       hardcode_minus_L_F77=yes
   15471       export_dynamic_flag_spec_F77='${wl}-E'
   15472       ;;
   15473 
   15474     hpux10*)
   15475       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15476 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15477       else
   15478 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15479       fi
   15480       if test "$with_gnu_ld" = no; then
   15481 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15482 	hardcode_libdir_separator_F77=:
   15483 
   15484 	hardcode_direct_F77=yes
   15485 	export_dynamic_flag_spec_F77='${wl}-E'
   15486 
   15487 	# hardcode_minus_L: Not really in the search PATH,
   15488 	# but as the default location of the library.
   15489 	hardcode_minus_L_F77=yes
   15490       fi
   15491       ;;
   15492 
   15493     hpux11*)
   15494       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15495 	case $host_cpu in
   15496 	hppa*64*)
   15497 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15498 	  ;;
   15499 	ia64*)
   15500 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15501 	  ;;
   15502 	*)
   15503 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15504 	  ;;
   15505 	esac
   15506       else
   15507 	case $host_cpu in
   15508 	hppa*64*)
   15509 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15510 	  ;;
   15511 	ia64*)
   15512 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15513 	  ;;
   15514 	*)
   15515 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15516 	  ;;
   15517 	esac
   15518       fi
   15519       if test "$with_gnu_ld" = no; then
   15520 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15521 	hardcode_libdir_separator_F77=:
   15522 
   15523 	case $host_cpu in
   15524 	hppa*64*|ia64*)
   15525 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15526 	  hardcode_direct_F77=no
   15527 	  hardcode_shlibpath_var_F77=no
   15528 	  ;;
   15529 	*)
   15530 	  hardcode_direct_F77=yes
   15531 	  export_dynamic_flag_spec_F77='${wl}-E'
   15532 
   15533 	  # hardcode_minus_L: Not really in the search PATH,
   15534 	  # but as the default location of the library.
   15535 	  hardcode_minus_L_F77=yes
   15536 	  ;;
   15537 	esac
   15538       fi
   15539       ;;
   15540 
   15541     irix5* | irix6* | nonstopux*)
   15542       if test "$GCC" = yes; then
   15543 	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'
   15544       else
   15545 	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'
   15546 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15547       fi
   15548       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15549       hardcode_libdir_separator_F77=:
   15550       link_all_deplibs_F77=yes
   15551       ;;
   15552 
   15553     netbsd*)
   15554       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15555 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15556       else
   15557 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15558       fi
   15559       hardcode_libdir_flag_spec_F77='-R$libdir'
   15560       hardcode_direct_F77=yes
   15561       hardcode_shlibpath_var_F77=no
   15562       ;;
   15563 
   15564     newsos6)
   15565       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15566       hardcode_direct_F77=yes
   15567       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15568       hardcode_libdir_separator_F77=:
   15569       hardcode_shlibpath_var_F77=no
   15570       ;;
   15571 
   15572     openbsd*)
   15573       if test -f /usr/libexec/ld.so; then
   15574 	hardcode_direct_F77=yes
   15575 	hardcode_shlibpath_var_F77=no
   15576 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15577 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15578 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15579 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15580 	  export_dynamic_flag_spec_F77='${wl}-E'
   15581 	else
   15582 	  case $host_os in
   15583 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15584 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15585 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15586 	     ;;
   15587 	   *)
   15588 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15589 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15590 	     ;;
   15591 	  esac
   15592         fi
   15593       else
   15594 	ld_shlibs_F77=no
   15595       fi
   15596       ;;
   15597 
   15598     os2*)
   15599       hardcode_libdir_flag_spec_F77='-L$libdir'
   15600       hardcode_minus_L_F77=yes
   15601       allow_undefined_flag_F77=unsupported
   15602       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'
   15603       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15604       ;;
   15605 
   15606     osf3*)
   15607       if test "$GCC" = yes; then
   15608 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15609 	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'
   15610       else
   15611 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15612 	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'
   15613       fi
   15614       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15615       hardcode_libdir_separator_F77=:
   15616       ;;
   15617 
   15618     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15619       if test "$GCC" = yes; then
   15620 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15621 	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'
   15622 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15623       else
   15624 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15625 	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'
   15626 	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~
   15627 	$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'
   15628 
   15629 	# Both c and cxx compiler support -rpath directly
   15630 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15631       fi
   15632       hardcode_libdir_separator_F77=:
   15633       ;;
   15634 
   15635     solaris*)
   15636       no_undefined_flag_F77=' -z text'
   15637       if test "$GCC" = yes; then
   15638 	wlarc='${wl}'
   15639 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15640 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15641 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15642       else
   15643 	wlarc=''
   15644 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15645 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15646   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15647       fi
   15648       hardcode_libdir_flag_spec_F77='-R$libdir'
   15649       hardcode_shlibpath_var_F77=no
   15650       case $host_os in
   15651       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15652       *)
   15653 	# The compiler driver will combine and reorder linker options,
   15654 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15655 	# but is careful enough not to reorder.
   15656  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15657 	if test "$GCC" = yes; then
   15658 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15659 	else
   15660 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15661 	fi
   15662 	;;
   15663       esac
   15664       link_all_deplibs_F77=yes
   15665       ;;
   15666 
   15667     sunos4*)
   15668       if test "x$host_vendor" = xsequent; then
   15669 	# Use $CC to link under sequent, because it throws in some extra .o
   15670 	# files that make .init and .fini sections work.
   15671 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15672       else
   15673 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15674       fi
   15675       hardcode_libdir_flag_spec_F77='-L$libdir'
   15676       hardcode_direct_F77=yes
   15677       hardcode_minus_L_F77=yes
   15678       hardcode_shlibpath_var_F77=no
   15679       ;;
   15680 
   15681     sysv4)
   15682       case $host_vendor in
   15683 	sni)
   15684 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15685 	  hardcode_direct_F77=yes # is this really true???
   15686 	;;
   15687 	siemens)
   15688 	  ## LD is ld it makes a PLAMLIB
   15689 	  ## CC just makes a GrossModule.
   15690 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15691 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15692 	  hardcode_direct_F77=no
   15693         ;;
   15694 	motorola)
   15695 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15696 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15697 	;;
   15698       esac
   15699       runpath_var='LD_RUN_PATH'
   15700       hardcode_shlibpath_var_F77=no
   15701       ;;
   15702 
   15703     sysv4.3*)
   15704       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15705       hardcode_shlibpath_var_F77=no
   15706       export_dynamic_flag_spec_F77='-Bexport'
   15707       ;;
   15708 
   15709     sysv4*MP*)
   15710       if test -d /usr/nec; then
   15711 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15712 	hardcode_shlibpath_var_F77=no
   15713 	runpath_var=LD_RUN_PATH
   15714 	hardcode_runpath_var=yes
   15715 	ld_shlibs_F77=yes
   15716       fi
   15717       ;;
   15718 
   15719     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15720       no_undefined_flag_F77='${wl}-z,text'
   15721       archive_cmds_need_lc_F77=no
   15722       hardcode_shlibpath_var_F77=no
   15723       runpath_var='LD_RUN_PATH'
   15724 
   15725       if test "$GCC" = yes; then
   15726 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15727 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15728       else
   15729 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15730 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15731       fi
   15732       ;;
   15733 
   15734     sysv5* | sco3.2v5* | sco5v6*)
   15735       # Note: We can NOT use -z defs as we might desire, because we do not
   15736       # link with -lc, and that would cause any symbols used from libc to
   15737       # always be unresolved, which means just about no library would
   15738       # ever link correctly.  If we're not using GNU ld we use -z text
   15739       # though, which does catch some bad symbols but isn't as heavy-handed
   15740       # as -z defs.
   15741       no_undefined_flag_F77='${wl}-z,text'
   15742       allow_undefined_flag_F77='${wl}-z,nodefs'
   15743       archive_cmds_need_lc_F77=no
   15744       hardcode_shlibpath_var_F77=no
   15745       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15746       hardcode_libdir_separator_F77=':'
   15747       link_all_deplibs_F77=yes
   15748       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15749       runpath_var='LD_RUN_PATH'
   15750 
   15751       if test "$GCC" = yes; then
   15752 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15753 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15754       else
   15755 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15756 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15757       fi
   15758       ;;
   15759 
   15760     uts4*)
   15761       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15762       hardcode_libdir_flag_spec_F77='-L$libdir'
   15763       hardcode_shlibpath_var_F77=no
   15764       ;;
   15765 
   15766     *)
   15767       ld_shlibs_F77=no
   15768       ;;
   15769     esac
   15770   fi
   15771 
   15772 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15773 $as_echo "$ld_shlibs_F77" >&6; }
   15774 test "$ld_shlibs_F77" = no && can_build_shared=no
   15775 
   15776 #
   15777 # Do we need to explicitly link libc?
   15778 #
   15779 case "x$archive_cmds_need_lc_F77" in
   15780 x|xyes)
   15781   # Assume -lc should be added
   15782   archive_cmds_need_lc_F77=yes
   15783 
   15784   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15785     case $archive_cmds_F77 in
   15786     *'~'*)
   15787       # FIXME: we may have to deal with multi-command sequences.
   15788       ;;
   15789     '$CC '*)
   15790       # Test whether the compiler implicitly links with -lc since on some
   15791       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15792       # to ld, don't add -lc before -lgcc.
   15793       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15794 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15795       $rm conftest*
   15796       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15797 
   15798       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15799   (eval $ac_compile) 2>&5
   15800   ac_status=$?
   15801   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15802   (exit $ac_status); } 2>conftest.err; then
   15803         soname=conftest
   15804         lib=conftest
   15805         libobjs=conftest.$ac_objext
   15806         deplibs=
   15807         wl=$lt_prog_compiler_wl_F77
   15808 	pic_flag=$lt_prog_compiler_pic_F77
   15809         compiler_flags=-v
   15810         linker_flags=-v
   15811         verstring=
   15812         output_objdir=.
   15813         libname=conftest
   15814         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15815         allow_undefined_flag_F77=
   15816         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15817   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15818   ac_status=$?
   15819   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15820   (exit $ac_status); }
   15821         then
   15822 	  archive_cmds_need_lc_F77=no
   15823         else
   15824 	  archive_cmds_need_lc_F77=yes
   15825         fi
   15826         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15827       else
   15828         cat conftest.err 1>&5
   15829       fi
   15830       $rm conftest*
   15831       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15832 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15833       ;;
   15834     esac
   15835   fi
   15836   ;;
   15837 esac
   15838 
   15839 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15840 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15841 library_names_spec=
   15842 libname_spec='lib$name'
   15843 soname_spec=
   15844 shrext_cmds=".so"
   15845 postinstall_cmds=
   15846 postuninstall_cmds=
   15847 finish_cmds=
   15848 finish_eval=
   15849 shlibpath_var=
   15850 shlibpath_overrides_runpath=unknown
   15851 version_type=none
   15852 dynamic_linker="$host_os ld.so"
   15853 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15854 
   15855 need_lib_prefix=unknown
   15856 hardcode_into_libs=no
   15857 
   15858 # when you set need_version to no, make sure it does not cause -set_version
   15859 # flags to be left without arguments
   15860 need_version=unknown
   15861 
   15862 case $host_os in
   15863 aix3*)
   15864   version_type=linux
   15865   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15866   shlibpath_var=LIBPATH
   15867 
   15868   # AIX 3 has no versioning support, so we append a major version to the name.
   15869   soname_spec='${libname}${release}${shared_ext}$major'
   15870   ;;
   15871 
   15872 aix[4-9]*)
   15873   version_type=linux
   15874   need_lib_prefix=no
   15875   need_version=no
   15876   hardcode_into_libs=yes
   15877   if test "$host_cpu" = ia64; then
   15878     # AIX 5 supports IA64
   15879     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15880     shlibpath_var=LD_LIBRARY_PATH
   15881   else
   15882     # With GCC up to 2.95.x, collect2 would create an import file
   15883     # for dependence libraries.  The import file would start with
   15884     # the line `#! .'.  This would cause the generated library to
   15885     # depend on `.', always an invalid library.  This was fixed in
   15886     # development snapshots of GCC prior to 3.0.
   15887     case $host_os in
   15888       aix4 | aix4.[01] | aix4.[01].*)
   15889       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15890 	   echo ' yes '
   15891 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15892 	:
   15893       else
   15894 	can_build_shared=no
   15895       fi
   15896       ;;
   15897     esac
   15898     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15899     # soname into executable. Probably we can add versioning support to
   15900     # collect2, so additional links can be useful in future.
   15901     if test "$aix_use_runtimelinking" = yes; then
   15902       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15903       # instead of lib<name>.a to let people know that these are not
   15904       # typical AIX shared libraries.
   15905       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15906     else
   15907       # We preserve .a as extension for shared libraries through AIX4.2
   15908       # and later when we are not doing run time linking.
   15909       library_names_spec='${libname}${release}.a $libname.a'
   15910       soname_spec='${libname}${release}${shared_ext}$major'
   15911     fi
   15912     shlibpath_var=LIBPATH
   15913   fi
   15914   ;;
   15915 
   15916 amigaos*)
   15917   library_names_spec='$libname.ixlibrary $libname.a'
   15918   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15919   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'
   15920   ;;
   15921 
   15922 beos*)
   15923   library_names_spec='${libname}${shared_ext}'
   15924   dynamic_linker="$host_os ld.so"
   15925   shlibpath_var=LIBRARY_PATH
   15926   ;;
   15927 
   15928 bsdi[45]*)
   15929   version_type=linux
   15930   need_version=no
   15931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15932   soname_spec='${libname}${release}${shared_ext}$major'
   15933   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15934   shlibpath_var=LD_LIBRARY_PATH
   15935   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15936   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15937   # the default ld.so.conf also contains /usr/contrib/lib and
   15938   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15939   # libtool to hard-code these into programs
   15940   ;;
   15941 
   15942 cygwin* | mingw* | pw32*)
   15943   version_type=windows
   15944   shrext_cmds=".dll"
   15945   need_version=no
   15946   need_lib_prefix=no
   15947 
   15948   case $GCC,$host_os in
   15949   yes,cygwin* | yes,mingw* | yes,pw32*)
   15950     library_names_spec='$libname.dll.a'
   15951     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15952     postinstall_cmds='base_file=`basename \${file}`~
   15953       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15954       dldir=$destdir/`dirname \$dlpath`~
   15955       test -d \$dldir || mkdir -p \$dldir~
   15956       $install_prog $dir/$dlname \$dldir/$dlname~
   15957       chmod a+x \$dldir/$dlname'
   15958     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15959       dlpath=$dir/\$dldll~
   15960        $rm \$dlpath'
   15961     shlibpath_overrides_runpath=yes
   15962 
   15963     case $host_os in
   15964     cygwin*)
   15965       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15966       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15967       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15968       ;;
   15969     mingw*)
   15970       # MinGW DLLs use traditional 'lib' prefix
   15971       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15972       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15973       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15974         # It is most probably a Windows format PATH printed by
   15975         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15976         # path with ; separators, and with drive letters. We can handle the
   15977         # drive letters (cygwin fileutils understands them), so leave them,
   15978         # especially as we might pass files found there to a mingw objdump,
   15979         # which wouldn't understand a cygwinified path. Ahh.
   15980         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15981       else
   15982         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15983       fi
   15984       ;;
   15985     pw32*)
   15986       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15987       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15988       ;;
   15989     esac
   15990     ;;
   15991 
   15992   *)
   15993     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15994     ;;
   15995   esac
   15996   dynamic_linker='Win32 ld.exe'
   15997   # FIXME: first we should search . and the directory the executable is in
   15998   shlibpath_var=PATH
   15999   ;;
   16000 
   16001 darwin* | rhapsody*)
   16002   dynamic_linker="$host_os dyld"
   16003   version_type=darwin
   16004   need_lib_prefix=no
   16005   need_version=no
   16006   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16007   soname_spec='${libname}${release}${major}$shared_ext'
   16008   shlibpath_overrides_runpath=yes
   16009   shlibpath_var=DYLD_LIBRARY_PATH
   16010   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16011 
   16012   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16013   ;;
   16014 
   16015 dgux*)
   16016   version_type=linux
   16017   need_lib_prefix=no
   16018   need_version=no
   16019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16020   soname_spec='${libname}${release}${shared_ext}$major'
   16021   shlibpath_var=LD_LIBRARY_PATH
   16022   ;;
   16023 
   16024 freebsd1*)
   16025   dynamic_linker=no
   16026   ;;
   16027 
   16028 freebsd* | dragonfly*)
   16029   # DragonFly does not have aout.  When/if they implement a new
   16030   # versioning mechanism, adjust this.
   16031   if test -x /usr/bin/objformat; then
   16032     objformat=`/usr/bin/objformat`
   16033   else
   16034     case $host_os in
   16035     freebsd[123]*) objformat=aout ;;
   16036     *) objformat=elf ;;
   16037     esac
   16038   fi
   16039   version_type=freebsd-$objformat
   16040   case $version_type in
   16041     freebsd-elf*)
   16042       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16043       need_version=no
   16044       need_lib_prefix=no
   16045       ;;
   16046     freebsd-*)
   16047       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16048       need_version=yes
   16049       ;;
   16050   esac
   16051   shlibpath_var=LD_LIBRARY_PATH
   16052   case $host_os in
   16053   freebsd2*)
   16054     shlibpath_overrides_runpath=yes
   16055     ;;
   16056   freebsd3.[01]* | freebsdelf3.[01]*)
   16057     shlibpath_overrides_runpath=yes
   16058     hardcode_into_libs=yes
   16059     ;;
   16060   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16061   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16062     shlibpath_overrides_runpath=no
   16063     hardcode_into_libs=yes
   16064     ;;
   16065   *) # from 4.6 on, and DragonFly
   16066     shlibpath_overrides_runpath=yes
   16067     hardcode_into_libs=yes
   16068     ;;
   16069   esac
   16070   ;;
   16071 
   16072 gnu*)
   16073   version_type=linux
   16074   need_lib_prefix=no
   16075   need_version=no
   16076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16077   soname_spec='${libname}${release}${shared_ext}$major'
   16078   shlibpath_var=LD_LIBRARY_PATH
   16079   hardcode_into_libs=yes
   16080   ;;
   16081 
   16082 hpux9* | hpux10* | hpux11*)
   16083   # Give a soname corresponding to the major version so that dld.sl refuses to
   16084   # link against other versions.
   16085   version_type=sunos
   16086   need_lib_prefix=no
   16087   need_version=no
   16088   case $host_cpu in
   16089   ia64*)
   16090     shrext_cmds='.so'
   16091     hardcode_into_libs=yes
   16092     dynamic_linker="$host_os dld.so"
   16093     shlibpath_var=LD_LIBRARY_PATH
   16094     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16095     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16096     soname_spec='${libname}${release}${shared_ext}$major'
   16097     if test "X$HPUX_IA64_MODE" = X32; then
   16098       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16099     else
   16100       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16101     fi
   16102     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16103     ;;
   16104    hppa*64*)
   16105      shrext_cmds='.sl'
   16106      hardcode_into_libs=yes
   16107      dynamic_linker="$host_os dld.sl"
   16108      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16109      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16110      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16111      soname_spec='${libname}${release}${shared_ext}$major'
   16112      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16113      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16114      ;;
   16115    *)
   16116     shrext_cmds='.sl'
   16117     dynamic_linker="$host_os dld.sl"
   16118     shlibpath_var=SHLIB_PATH
   16119     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16120     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16121     soname_spec='${libname}${release}${shared_ext}$major'
   16122     ;;
   16123   esac
   16124   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16125   postinstall_cmds='chmod 555 $lib'
   16126   ;;
   16127 
   16128 interix[3-9]*)
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16135   shlibpath_var=LD_LIBRARY_PATH
   16136   shlibpath_overrides_runpath=no
   16137   hardcode_into_libs=yes
   16138   ;;
   16139 
   16140 irix5* | irix6* | nonstopux*)
   16141   case $host_os in
   16142     nonstopux*) version_type=nonstopux ;;
   16143     *)
   16144 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16145 		version_type=linux
   16146 	else
   16147 		version_type=irix
   16148 	fi ;;
   16149   esac
   16150   need_lib_prefix=no
   16151   need_version=no
   16152   soname_spec='${libname}${release}${shared_ext}$major'
   16153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16154   case $host_os in
   16155   irix5* | nonstopux*)
   16156     libsuff= shlibsuff=
   16157     ;;
   16158   *)
   16159     case $LD in # libtool.m4 will add one of these switches to LD
   16160     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16161       libsuff= shlibsuff= libmagic=32-bit;;
   16162     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16163       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16164     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16165       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16166     *) libsuff= shlibsuff= libmagic=never-match;;
   16167     esac
   16168     ;;
   16169   esac
   16170   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16171   shlibpath_overrides_runpath=no
   16172   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16173   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16174   hardcode_into_libs=yes
   16175   ;;
   16176 
   16177 # No shared lib support for Linux oldld, aout, or coff.
   16178 linux*oldld* | linux*aout* | linux*coff*)
   16179   dynamic_linker=no
   16180   ;;
   16181 
   16182 # This must be Linux ELF.
   16183 linux* | k*bsd*-gnu)
   16184   version_type=linux
   16185   need_lib_prefix=no
   16186   need_version=no
   16187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16188   soname_spec='${libname}${release}${shared_ext}$major'
   16189   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16190   shlibpath_var=LD_LIBRARY_PATH
   16191   shlibpath_overrides_runpath=no
   16192   # This implies no fast_install, which is unacceptable.
   16193   # Some rework will be needed to allow for fast_install
   16194   # before this can be enabled.
   16195   hardcode_into_libs=yes
   16196   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16197   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16198 
   16199   # Append ld.so.conf contents to the search path
   16200   if test -f /etc/ld.so.conf; then
   16201     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16202     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16203   fi
   16204 
   16205   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16206   # powerpc, because MkLinux only supported shared libraries with the
   16207   # GNU dynamic linker.  Since this was broken with cross compilers,
   16208   # most powerpc-linux boxes support dynamic linking these days and
   16209   # people can always --disable-shared, the test was removed, and we
   16210   # assume the GNU/Linux dynamic linker is in use.
   16211   dynamic_linker='GNU/Linux ld.so'
   16212   ;;
   16213 
   16214 netbsd*)
   16215   version_type=sunos
   16216   need_lib_prefix=no
   16217   need_version=no
   16218   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16219     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16220     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16221     dynamic_linker='NetBSD (a.out) ld.so'
   16222   else
   16223     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16224     soname_spec='${libname}${release}${shared_ext}$major'
   16225     dynamic_linker='NetBSD ld.elf_so'
   16226   fi
   16227   shlibpath_var=LD_LIBRARY_PATH
   16228   shlibpath_overrides_runpath=yes
   16229   hardcode_into_libs=yes
   16230   ;;
   16231 
   16232 newsos6)
   16233   version_type=linux
   16234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16235   shlibpath_var=LD_LIBRARY_PATH
   16236   shlibpath_overrides_runpath=yes
   16237   ;;
   16238 
   16239 nto-qnx*)
   16240   version_type=linux
   16241   need_lib_prefix=no
   16242   need_version=no
   16243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16244   soname_spec='${libname}${release}${shared_ext}$major'
   16245   shlibpath_var=LD_LIBRARY_PATH
   16246   shlibpath_overrides_runpath=yes
   16247   ;;
   16248 
   16249 openbsd*)
   16250   version_type=sunos
   16251   sys_lib_dlsearch_path_spec="/usr/lib"
   16252   need_lib_prefix=no
   16253   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16254   case $host_os in
   16255     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16256     *)                         need_version=no  ;;
   16257   esac
   16258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16259   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16260   shlibpath_var=LD_LIBRARY_PATH
   16261   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16262     case $host_os in
   16263       openbsd2.[89] | openbsd2.[89].*)
   16264 	shlibpath_overrides_runpath=no
   16265 	;;
   16266       *)
   16267 	shlibpath_overrides_runpath=yes
   16268 	;;
   16269       esac
   16270   else
   16271     shlibpath_overrides_runpath=yes
   16272   fi
   16273   ;;
   16274 
   16275 os2*)
   16276   libname_spec='$name'
   16277   shrext_cmds=".dll"
   16278   need_lib_prefix=no
   16279   library_names_spec='$libname${shared_ext} $libname.a'
   16280   dynamic_linker='OS/2 ld.exe'
   16281   shlibpath_var=LIBPATH
   16282   ;;
   16283 
   16284 osf3* | osf4* | osf5*)
   16285   version_type=osf
   16286   need_lib_prefix=no
   16287   need_version=no
   16288   soname_spec='${libname}${release}${shared_ext}$major'
   16289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16290   shlibpath_var=LD_LIBRARY_PATH
   16291   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16292   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16293   ;;
   16294 
   16295 rdos*)
   16296   dynamic_linker=no
   16297   ;;
   16298 
   16299 solaris*)
   16300   version_type=linux
   16301   need_lib_prefix=no
   16302   need_version=no
   16303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16304   soname_spec='${libname}${release}${shared_ext}$major'
   16305   shlibpath_var=LD_LIBRARY_PATH
   16306   shlibpath_overrides_runpath=yes
   16307   hardcode_into_libs=yes
   16308   # ldd complains unless libraries are executable
   16309   postinstall_cmds='chmod +x $lib'
   16310   ;;
   16311 
   16312 sunos4*)
   16313   version_type=sunos
   16314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16315   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16316   shlibpath_var=LD_LIBRARY_PATH
   16317   shlibpath_overrides_runpath=yes
   16318   if test "$with_gnu_ld" = yes; then
   16319     need_lib_prefix=no
   16320   fi
   16321   need_version=yes
   16322   ;;
   16323 
   16324 sysv4 | sysv4.3*)
   16325   version_type=linux
   16326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16327   soname_spec='${libname}${release}${shared_ext}$major'
   16328   shlibpath_var=LD_LIBRARY_PATH
   16329   case $host_vendor in
   16330     sni)
   16331       shlibpath_overrides_runpath=no
   16332       need_lib_prefix=no
   16333       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16334       runpath_var=LD_RUN_PATH
   16335       ;;
   16336     siemens)
   16337       need_lib_prefix=no
   16338       ;;
   16339     motorola)
   16340       need_lib_prefix=no
   16341       need_version=no
   16342       shlibpath_overrides_runpath=no
   16343       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16344       ;;
   16345   esac
   16346   ;;
   16347 
   16348 sysv4*MP*)
   16349   if test -d /usr/nec ;then
   16350     version_type=linux
   16351     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16352     soname_spec='$libname${shared_ext}.$major'
   16353     shlibpath_var=LD_LIBRARY_PATH
   16354   fi
   16355   ;;
   16356 
   16357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16358   version_type=freebsd-elf
   16359   need_lib_prefix=no
   16360   need_version=no
   16361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16362   soname_spec='${libname}${release}${shared_ext}$major'
   16363   shlibpath_var=LD_LIBRARY_PATH
   16364   hardcode_into_libs=yes
   16365   if test "$with_gnu_ld" = yes; then
   16366     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16367     shlibpath_overrides_runpath=no
   16368   else
   16369     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16370     shlibpath_overrides_runpath=yes
   16371     case $host_os in
   16372       sco3.2v5*)
   16373         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16374 	;;
   16375     esac
   16376   fi
   16377   sys_lib_dlsearch_path_spec='/usr/lib'
   16378   ;;
   16379 
   16380 uts4*)
   16381   version_type=linux
   16382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16383   soname_spec='${libname}${release}${shared_ext}$major'
   16384   shlibpath_var=LD_LIBRARY_PATH
   16385   ;;
   16386 
   16387 *)
   16388   dynamic_linker=no
   16389   ;;
   16390 esac
   16391 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16392 $as_echo "$dynamic_linker" >&6; }
   16393 test "$dynamic_linker" = no && can_build_shared=no
   16394 
   16395 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16396   $as_echo_n "(cached) " >&6
   16397 else
   16398   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16399 fi
   16400 
   16401 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16402 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16403   $as_echo_n "(cached) " >&6
   16404 else
   16405   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16406 fi
   16407 
   16408 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16409 
   16410 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16411 if test "$GCC" = yes; then
   16412   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16413 fi
   16414 
   16415 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16416 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16417 hardcode_action_F77=
   16418 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16419    test -n "$runpath_var_F77" || \
   16420    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16421 
   16422   # We can hardcode non-existant directories.
   16423   if test "$hardcode_direct_F77" != no &&
   16424      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16425      # have to relink, otherwise we might link with an installed library
   16426      # when we should be linking with a yet-to-be-installed one
   16427      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16428      test "$hardcode_minus_L_F77" != no; then
   16429     # Linking always hardcodes the temporary library directory.
   16430     hardcode_action_F77=relink
   16431   else
   16432     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16433     hardcode_action_F77=immediate
   16434   fi
   16435 else
   16436   # We cannot hardcode anything, or else we can only hardcode existing
   16437   # directories.
   16438   hardcode_action_F77=unsupported
   16439 fi
   16440 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16441 $as_echo "$hardcode_action_F77" >&6; }
   16442 
   16443 if test "$hardcode_action_F77" = relink; then
   16444   # Fast installation is not supported
   16445   enable_fast_install=no
   16446 elif test "$shlibpath_overrides_runpath" = yes ||
   16447      test "$enable_shared" = no; then
   16448   # Fast installation is not necessary
   16449   enable_fast_install=needless
   16450 fi
   16451 
   16452 
   16453 # The else clause should only fire when bootstrapping the
   16454 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16455 # with your package, and you will get complaints that there are
   16456 # no rules to generate ltmain.sh.
   16457 if test -f "$ltmain"; then
   16458   # See if we are running on zsh, and set the options which allow our commands through
   16459   # without removal of \ escapes.
   16460   if test -n "${ZSH_VERSION+set}" ; then
   16461     setopt NO_GLOB_SUBST
   16462   fi
   16463   # Now quote all the things that may contain metacharacters while being
   16464   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16465   # variables and quote the copies for generation of the libtool script.
   16466   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16467     SED SHELL STRIP \
   16468     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16469     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16470     deplibs_check_method reload_flag reload_cmds need_locks \
   16471     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16472     lt_cv_sys_global_symbol_to_c_name_address \
   16473     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16474     old_postinstall_cmds old_postuninstall_cmds \
   16475     compiler_F77 \
   16476     CC_F77 \
   16477     LD_F77 \
   16478     lt_prog_compiler_wl_F77 \
   16479     lt_prog_compiler_pic_F77 \
   16480     lt_prog_compiler_static_F77 \
   16481     lt_prog_compiler_no_builtin_flag_F77 \
   16482     export_dynamic_flag_spec_F77 \
   16483     thread_safe_flag_spec_F77 \
   16484     whole_archive_flag_spec_F77 \
   16485     enable_shared_with_static_runtimes_F77 \
   16486     old_archive_cmds_F77 \
   16487     old_archive_from_new_cmds_F77 \
   16488     predep_objects_F77 \
   16489     postdep_objects_F77 \
   16490     predeps_F77 \
   16491     postdeps_F77 \
   16492     compiler_lib_search_path_F77 \
   16493     compiler_lib_search_dirs_F77 \
   16494     archive_cmds_F77 \
   16495     archive_expsym_cmds_F77 \
   16496     postinstall_cmds_F77 \
   16497     postuninstall_cmds_F77 \
   16498     old_archive_from_expsyms_cmds_F77 \
   16499     allow_undefined_flag_F77 \
   16500     no_undefined_flag_F77 \
   16501     export_symbols_cmds_F77 \
   16502     hardcode_libdir_flag_spec_F77 \
   16503     hardcode_libdir_flag_spec_ld_F77 \
   16504     hardcode_libdir_separator_F77 \
   16505     hardcode_automatic_F77 \
   16506     module_cmds_F77 \
   16507     module_expsym_cmds_F77 \
   16508     lt_cv_prog_compiler_c_o_F77 \
   16509     fix_srcfile_path_F77 \
   16510     exclude_expsyms_F77 \
   16511     include_expsyms_F77; do
   16512 
   16513     case $var in
   16514     old_archive_cmds_F77 | \
   16515     old_archive_from_new_cmds_F77 | \
   16516     archive_cmds_F77 | \
   16517     archive_expsym_cmds_F77 | \
   16518     module_cmds_F77 | \
   16519     module_expsym_cmds_F77 | \
   16520     old_archive_from_expsyms_cmds_F77 | \
   16521     export_symbols_cmds_F77 | \
   16522     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16523     postinstall_cmds | postuninstall_cmds | \
   16524     old_postinstall_cmds | old_postuninstall_cmds | \
   16525     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16526       # Double-quote double-evaled strings.
   16527       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16528       ;;
   16529     *)
   16530       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16531       ;;
   16532     esac
   16533   done
   16534 
   16535   case $lt_echo in
   16536   *'\$0 --fallback-echo"')
   16537     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16538     ;;
   16539   esac
   16540 
   16541 cfgfile="$ofile"
   16542 
   16543   cat <<__EOF__ >> "$cfgfile"
   16544 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16545 
   16546 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16547 
   16548 # Shell to use when invoking shell scripts.
   16549 SHELL=$lt_SHELL
   16550 
   16551 # Whether or not to build shared libraries.
   16552 build_libtool_libs=$enable_shared
   16553 
   16554 # Whether or not to build static libraries.
   16555 build_old_libs=$enable_static
   16556 
   16557 # Whether or not to add -lc for building shared libraries.
   16558 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16559 
   16560 # Whether or not to disallow shared libs when runtime libs are static
   16561 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16562 
   16563 # Whether or not to optimize for fast installation.
   16564 fast_install=$enable_fast_install
   16565 
   16566 # The host system.
   16567 host_alias=$host_alias
   16568 host=$host
   16569 host_os=$host_os
   16570 
   16571 # The build system.
   16572 build_alias=$build_alias
   16573 build=$build
   16574 build_os=$build_os
   16575 
   16576 # An echo program that does not interpret backslashes.
   16577 echo=$lt_echo
   16578 
   16579 # The archiver.
   16580 AR=$lt_AR
   16581 AR_FLAGS=$lt_AR_FLAGS
   16582 
   16583 # A C compiler.
   16584 LTCC=$lt_LTCC
   16585 
   16586 # LTCC compiler flags.
   16587 LTCFLAGS=$lt_LTCFLAGS
   16588 
   16589 # A language-specific compiler.
   16590 CC=$lt_compiler_F77
   16591 
   16592 # Is the compiler the GNU C compiler?
   16593 with_gcc=$GCC_F77
   16594 
   16595 # An ERE matcher.
   16596 EGREP=$lt_EGREP
   16597 
   16598 # The linker used to build libraries.
   16599 LD=$lt_LD_F77
   16600 
   16601 # Whether we need hard or soft links.
   16602 LN_S=$lt_LN_S
   16603 
   16604 # A BSD-compatible nm program.
   16605 NM=$lt_NM
   16606 
   16607 # A symbol stripping program
   16608 STRIP=$lt_STRIP
   16609 
   16610 # Used to examine libraries when file_magic_cmd begins "file"
   16611 MAGIC_CMD=$MAGIC_CMD
   16612 
   16613 # Used on cygwin: DLL creation program.
   16614 DLLTOOL="$DLLTOOL"
   16615 
   16616 # Used on cygwin: object dumper.
   16617 OBJDUMP="$OBJDUMP"
   16618 
   16619 # Used on cygwin: assembler.
   16620 AS="$AS"
   16621 
   16622 # The name of the directory that contains temporary libtool files.
   16623 objdir=$objdir
   16624 
   16625 # How to create reloadable object files.
   16626 reload_flag=$lt_reload_flag
   16627 reload_cmds=$lt_reload_cmds
   16628 
   16629 # How to pass a linker flag through the compiler.
   16630 wl=$lt_lt_prog_compiler_wl_F77
   16631 
   16632 # Object file suffix (normally "o").
   16633 objext="$ac_objext"
   16634 
   16635 # Old archive suffix (normally "a").
   16636 libext="$libext"
   16637 
   16638 # Shared library suffix (normally ".so").
   16639 shrext_cmds='$shrext_cmds'
   16640 
   16641 # Executable file suffix (normally "").
   16642 exeext="$exeext"
   16643 
   16644 # Additional compiler flags for building library objects.
   16645 pic_flag=$lt_lt_prog_compiler_pic_F77
   16646 pic_mode=$pic_mode
   16647 
   16648 # What is the maximum length of a command?
   16649 max_cmd_len=$lt_cv_sys_max_cmd_len
   16650 
   16651 # Does compiler simultaneously support -c and -o options?
   16652 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16653 
   16654 # Must we lock files when doing compilation?
   16655 need_locks=$lt_need_locks
   16656 
   16657 # Do we need the lib prefix for modules?
   16658 need_lib_prefix=$need_lib_prefix
   16659 
   16660 # Do we need a version for libraries?
   16661 need_version=$need_version
   16662 
   16663 # Whether dlopen is supported.
   16664 dlopen_support=$enable_dlopen
   16665 
   16666 # Whether dlopen of programs is supported.
   16667 dlopen_self=$enable_dlopen_self
   16668 
   16669 # Whether dlopen of statically linked programs is supported.
   16670 dlopen_self_static=$enable_dlopen_self_static
   16671 
   16672 # Compiler flag to prevent dynamic linking.
   16673 link_static_flag=$lt_lt_prog_compiler_static_F77
   16674 
   16675 # Compiler flag to turn off builtin functions.
   16676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16677 
   16678 # Compiler flag to allow reflexive dlopens.
   16679 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16680 
   16681 # Compiler flag to generate shared objects directly from archives.
   16682 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16683 
   16684 # Compiler flag to generate thread-safe objects.
   16685 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16686 
   16687 # Library versioning type.
   16688 version_type=$version_type
   16689 
   16690 # Format of library name prefix.
   16691 libname_spec=$lt_libname_spec
   16692 
   16693 # List of archive names.  First name is the real one, the rest are links.
   16694 # The last name is the one that the linker finds with -lNAME.
   16695 library_names_spec=$lt_library_names_spec
   16696 
   16697 # The coded name of the library, if different from the real name.
   16698 soname_spec=$lt_soname_spec
   16699 
   16700 # Commands used to build and install an old-style archive.
   16701 RANLIB=$lt_RANLIB
   16702 old_archive_cmds=$lt_old_archive_cmds_F77
   16703 old_postinstall_cmds=$lt_old_postinstall_cmds
   16704 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16705 
   16706 # Create an old-style archive from a shared archive.
   16707 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16708 
   16709 # Create a temporary old-style archive to link instead of a shared archive.
   16710 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16711 
   16712 # Commands used to build and install a shared archive.
   16713 archive_cmds=$lt_archive_cmds_F77
   16714 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16715 postinstall_cmds=$lt_postinstall_cmds
   16716 postuninstall_cmds=$lt_postuninstall_cmds
   16717 
   16718 # Commands used to build a loadable module (assumed same as above if empty)
   16719 module_cmds=$lt_module_cmds_F77
   16720 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16721 
   16722 # Commands to strip libraries.
   16723 old_striplib=$lt_old_striplib
   16724 striplib=$lt_striplib
   16725 
   16726 # Dependencies to place before the objects being linked to create a
   16727 # shared library.
   16728 predep_objects=$lt_predep_objects_F77
   16729 
   16730 # Dependencies to place after the objects being linked to create a
   16731 # shared library.
   16732 postdep_objects=$lt_postdep_objects_F77
   16733 
   16734 # Dependencies to place before the objects being linked to create a
   16735 # shared library.
   16736 predeps=$lt_predeps_F77
   16737 
   16738 # Dependencies to place after the objects being linked to create a
   16739 # shared library.
   16740 postdeps=$lt_postdeps_F77
   16741 
   16742 # The directories searched by this compiler when creating a shared
   16743 # library
   16744 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16745 
   16746 # The library search path used internally by the compiler when linking
   16747 # a shared library.
   16748 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16749 
   16750 # Method to check whether dependent libraries are shared objects.
   16751 deplibs_check_method=$lt_deplibs_check_method
   16752 
   16753 # Command to use when deplibs_check_method == file_magic.
   16754 file_magic_cmd=$lt_file_magic_cmd
   16755 
   16756 # Flag that allows shared libraries with undefined symbols to be built.
   16757 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16758 
   16759 # Flag that forces no undefined symbols.
   16760 no_undefined_flag=$lt_no_undefined_flag_F77
   16761 
   16762 # Commands used to finish a libtool library installation in a directory.
   16763 finish_cmds=$lt_finish_cmds
   16764 
   16765 # Same as above, but a single script fragment to be evaled but not shown.
   16766 finish_eval=$lt_finish_eval
   16767 
   16768 # Take the output of nm and produce a listing of raw symbols and C names.
   16769 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16770 
   16771 # Transform the output of nm in a proper C declaration
   16772 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16773 
   16774 # Transform the output of nm in a C name address pair
   16775 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16776 
   16777 # This is the shared library runtime path variable.
   16778 runpath_var=$runpath_var
   16779 
   16780 # This is the shared library path variable.
   16781 shlibpath_var=$shlibpath_var
   16782 
   16783 # Is shlibpath searched before the hard-coded library search path?
   16784 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16785 
   16786 # How to hardcode a shared library path into an executable.
   16787 hardcode_action=$hardcode_action_F77
   16788 
   16789 # Whether we should hardcode library paths into libraries.
   16790 hardcode_into_libs=$hardcode_into_libs
   16791 
   16792 # Flag to hardcode \$libdir into a binary during linking.
   16793 # This must work even if \$libdir does not exist.
   16794 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16795 
   16796 # If ld is used when linking, flag to hardcode \$libdir into
   16797 # a binary during linking. This must work even if \$libdir does
   16798 # not exist.
   16799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16800 
   16801 # Whether we need a single -rpath flag with a separated argument.
   16802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16803 
   16804 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16805 # resulting binary.
   16806 hardcode_direct=$hardcode_direct_F77
   16807 
   16808 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16809 # resulting binary.
   16810 hardcode_minus_L=$hardcode_minus_L_F77
   16811 
   16812 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16813 # the resulting binary.
   16814 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16815 
   16816 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16817 # and all subsequent libraries and executables linked against it.
   16818 hardcode_automatic=$hardcode_automatic_F77
   16819 
   16820 # Variables whose values should be saved in libtool wrapper scripts and
   16821 # restored at relink time.
   16822 variables_saved_for_relink="$variables_saved_for_relink"
   16823 
   16824 # Whether libtool must link a program against all its dependency libraries.
   16825 link_all_deplibs=$link_all_deplibs_F77
   16826 
   16827 # Compile-time system search path for libraries
   16828 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16829 
   16830 # Run-time system search path for libraries
   16831 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16832 
   16833 # Fix the shell variable \$srcfile for the compiler.
   16834 fix_srcfile_path=$lt_fix_srcfile_path
   16835 
   16836 # Set to yes if exported symbols are required.
   16837 always_export_symbols=$always_export_symbols_F77
   16838 
   16839 # The commands to list exported symbols.
   16840 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16841 
   16842 # The commands to extract the exported symbol list from a shared archive.
   16843 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16844 
   16845 # Symbols that should not be listed in the preloaded symbols.
   16846 exclude_expsyms=$lt_exclude_expsyms_F77
   16847 
   16848 # Symbols that must always be exported.
   16849 include_expsyms=$lt_include_expsyms_F77
   16850 
   16851 # ### END LIBTOOL TAG CONFIG: $tagname
   16852 
   16853 __EOF__
   16854 
   16855 
   16856 else
   16857   # If there is no Makefile yet, we rely on a make rule to execute
   16858   # `config.status --recheck' to rerun these tests and create the
   16859   # libtool script then.
   16860   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16861   if test -f "$ltmain_in"; then
   16862     test -f Makefile && make "$ltmain"
   16863   fi
   16864 fi
   16865 
   16866 
   16867 ac_ext=c
   16868 ac_cpp='$CPP $CPPFLAGS'
   16869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16872 
   16873 CC="$lt_save_CC"
   16874 
   16875 	else
   16876 	  tagname=""
   16877 	fi
   16878 	;;
   16879 
   16880       GCJ)
   16881 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16882 
   16883 
   16884 # Source file extension for Java test sources.
   16885 ac_ext=java
   16886 
   16887 # Object file extension for compiled Java test sources.
   16888 objext=o
   16889 objext_GCJ=$objext
   16890 
   16891 # Code to be used in simple compile tests
   16892 lt_simple_compile_test_code="class foo {}"
   16893 
   16894 # Code to be used in simple link tests
   16895 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16896 
   16897 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16898 
   16899 # If no C compiler was specified, use CC.
   16900 LTCC=${LTCC-"$CC"}
   16901 
   16902 # If no C compiler flags were specified, use CFLAGS.
   16903 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16904 
   16905 # Allow CC to be a program name with arguments.
   16906 compiler=$CC
   16907 
   16908 
   16909 # save warnings/boilerplate of simple test code
   16910 ac_outfile=conftest.$ac_objext
   16911 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16912 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16913 _lt_compiler_boilerplate=`cat conftest.err`
   16914 $rm conftest*
   16915 
   16916 ac_outfile=conftest.$ac_objext
   16917 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16918 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16919 _lt_linker_boilerplate=`cat conftest.err`
   16920 $rm -r conftest*
   16921 
   16922 
   16923 # Allow CC to be a program name with arguments.
   16924 lt_save_CC="$CC"
   16925 CC=${GCJ-"gcj"}
   16926 compiler=$CC
   16927 compiler_GCJ=$CC
   16928 for cc_temp in $compiler""; do
   16929   case $cc_temp in
   16930     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16931     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16932     \-*) ;;
   16933     *) break;;
   16934   esac
   16935 done
   16936 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16937 
   16938 
   16939 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16940 archive_cmds_need_lc_GCJ=no
   16941 
   16942 old_archive_cmds_GCJ=$old_archive_cmds
   16943 
   16944 
   16945 lt_prog_compiler_no_builtin_flag_GCJ=
   16946 
   16947 if test "$GCC" = yes; then
   16948   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16949 
   16950 
   16951 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16952 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16953 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16954   $as_echo_n "(cached) " >&6
   16955 else
   16956   lt_cv_prog_compiler_rtti_exceptions=no
   16957   ac_outfile=conftest.$ac_objext
   16958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16959    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16960    # Insert the option either (1) after the last *FLAGS variable, or
   16961    # (2) before a word containing "conftest.", or (3) at the end.
   16962    # Note that $ac_compile itself does not contain backslashes and begins
   16963    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16964    # The option is referenced via a variable to avoid confusing sed.
   16965    lt_compile=`echo "$ac_compile" | $SED \
   16966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16968    -e 's:$: $lt_compiler_flag:'`
   16969    (eval echo "\"\$as_me:16969: $lt_compile\"" >&5)
   16970    (eval "$lt_compile" 2>conftest.err)
   16971    ac_status=$?
   16972    cat conftest.err >&5
   16973    echo "$as_me:16973: \$? = $ac_status" >&5
   16974    if (exit $ac_status) && test -s "$ac_outfile"; then
   16975      # The compiler can only warn and ignore the option if not recognized
   16976      # So say no if there are warnings other than the usual output.
   16977      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16978      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16979      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16980        lt_cv_prog_compiler_rtti_exceptions=yes
   16981      fi
   16982    fi
   16983    $rm conftest*
   16984 
   16985 fi
   16986 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16987 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16988 
   16989 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16990     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16991 else
   16992     :
   16993 fi
   16994 
   16995 fi
   16996 
   16997 lt_prog_compiler_wl_GCJ=
   16998 lt_prog_compiler_pic_GCJ=
   16999 lt_prog_compiler_static_GCJ=
   17000 
   17001 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17002 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17003 
   17004   if test "$GCC" = yes; then
   17005     lt_prog_compiler_wl_GCJ='-Wl,'
   17006     lt_prog_compiler_static_GCJ='-static'
   17007 
   17008     case $host_os in
   17009       aix*)
   17010       # All AIX code is PIC.
   17011       if test "$host_cpu" = ia64; then
   17012 	# AIX 5 now supports IA64 processor
   17013 	lt_prog_compiler_static_GCJ='-Bstatic'
   17014       fi
   17015       ;;
   17016 
   17017     amigaos*)
   17018       # FIXME: we need at least 68020 code to build shared libraries, but
   17019       # adding the `-m68020' flag to GCC prevents building anything better,
   17020       # like `-m68040'.
   17021       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17022       ;;
   17023 
   17024     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17025       # PIC is the default for these OSes.
   17026       ;;
   17027 
   17028     mingw* | cygwin* | pw32* | os2*)
   17029       # This hack is so that the source file can tell whether it is being
   17030       # built for inclusion in a dll (and should export symbols for example).
   17031       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17032       # (--disable-auto-import) libraries
   17033 
   17034       ;;
   17035 
   17036     darwin* | rhapsody*)
   17037       # PIC is the default on this platform
   17038       # Common symbols not allowed in MH_DYLIB files
   17039       lt_prog_compiler_pic_GCJ='-fno-common'
   17040       ;;
   17041 
   17042     interix[3-9]*)
   17043       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17044       # Instead, we relocate shared libraries at runtime.
   17045       ;;
   17046 
   17047     msdosdjgpp*)
   17048       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17049       # on systems that don't support them.
   17050       lt_prog_compiler_can_build_shared_GCJ=no
   17051       enable_shared=no
   17052       ;;
   17053 
   17054     sysv4*MP*)
   17055       if test -d /usr/nec; then
   17056 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17057       fi
   17058       ;;
   17059 
   17060     hpux*)
   17061       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17062       # not for PA HP-UX.
   17063       case $host_cpu in
   17064       hppa*64*|ia64*)
   17065 	# +Z the default
   17066 	;;
   17067       *)
   17068 	lt_prog_compiler_pic_GCJ='-fPIC'
   17069 	;;
   17070       esac
   17071       ;;
   17072 
   17073     *)
   17074       lt_prog_compiler_pic_GCJ='-fPIC'
   17075       ;;
   17076     esac
   17077   else
   17078     # PORTME Check for flag to pass linker flags through the system compiler.
   17079     case $host_os in
   17080     aix*)
   17081       lt_prog_compiler_wl_GCJ='-Wl,'
   17082       if test "$host_cpu" = ia64; then
   17083 	# AIX 5 now supports IA64 processor
   17084 	lt_prog_compiler_static_GCJ='-Bstatic'
   17085       else
   17086 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17087       fi
   17088       ;;
   17089       darwin*)
   17090         # PIC is the default on this platform
   17091         # Common symbols not allowed in MH_DYLIB files
   17092        case $cc_basename in
   17093          xlc*)
   17094          lt_prog_compiler_pic_GCJ='-qnocommon'
   17095          lt_prog_compiler_wl_GCJ='-Wl,'
   17096          ;;
   17097        esac
   17098        ;;
   17099 
   17100     mingw* | cygwin* | pw32* | os2*)
   17101       # This hack is so that the source file can tell whether it is being
   17102       # built for inclusion in a dll (and should export symbols for example).
   17103 
   17104       ;;
   17105 
   17106     hpux9* | hpux10* | hpux11*)
   17107       lt_prog_compiler_wl_GCJ='-Wl,'
   17108       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17109       # not for PA HP-UX.
   17110       case $host_cpu in
   17111       hppa*64*|ia64*)
   17112 	# +Z the default
   17113 	;;
   17114       *)
   17115 	lt_prog_compiler_pic_GCJ='+Z'
   17116 	;;
   17117       esac
   17118       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17119       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17120       ;;
   17121 
   17122     irix5* | irix6* | nonstopux*)
   17123       lt_prog_compiler_wl_GCJ='-Wl,'
   17124       # PIC (with -KPIC) is the default.
   17125       lt_prog_compiler_static_GCJ='-non_shared'
   17126       ;;
   17127 
   17128     newsos6)
   17129       lt_prog_compiler_pic_GCJ='-KPIC'
   17130       lt_prog_compiler_static_GCJ='-Bstatic'
   17131       ;;
   17132 
   17133     linux* | k*bsd*-gnu)
   17134       case $cc_basename in
   17135       icc* | ecc*)
   17136 	lt_prog_compiler_wl_GCJ='-Wl,'
   17137 	lt_prog_compiler_pic_GCJ='-KPIC'
   17138 	lt_prog_compiler_static_GCJ='-static'
   17139         ;;
   17140       pgcc* | pgf77* | pgf90* | pgf95*)
   17141         # Portland Group compilers (*not* the Pentium gcc compiler,
   17142 	# which looks to be a dead project)
   17143 	lt_prog_compiler_wl_GCJ='-Wl,'
   17144 	lt_prog_compiler_pic_GCJ='-fpic'
   17145 	lt_prog_compiler_static_GCJ='-Bstatic'
   17146         ;;
   17147       ccc*)
   17148         lt_prog_compiler_wl_GCJ='-Wl,'
   17149         # All Alpha code is PIC.
   17150         lt_prog_compiler_static_GCJ='-non_shared'
   17151         ;;
   17152       *)
   17153         case `$CC -V 2>&1 | sed 5q` in
   17154 	*Sun\ C*)
   17155 	  # Sun C 5.9
   17156 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17157 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17158 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17159 	  ;;
   17160 	*Sun\ F*)
   17161 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17162 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17163 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17164 	  lt_prog_compiler_wl_GCJ=''
   17165 	  ;;
   17166 	esac
   17167 	;;
   17168       esac
   17169       ;;
   17170 
   17171     osf3* | osf4* | osf5*)
   17172       lt_prog_compiler_wl_GCJ='-Wl,'
   17173       # All OSF/1 code is PIC.
   17174       lt_prog_compiler_static_GCJ='-non_shared'
   17175       ;;
   17176 
   17177     rdos*)
   17178       lt_prog_compiler_static_GCJ='-non_shared'
   17179       ;;
   17180 
   17181     solaris*)
   17182       lt_prog_compiler_pic_GCJ='-KPIC'
   17183       lt_prog_compiler_static_GCJ='-Bstatic'
   17184       case $cc_basename in
   17185       f77* | f90* | f95*)
   17186 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17187       *)
   17188 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17189       esac
   17190       ;;
   17191 
   17192     sunos4*)
   17193       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17194       lt_prog_compiler_pic_GCJ='-PIC'
   17195       lt_prog_compiler_static_GCJ='-Bstatic'
   17196       ;;
   17197 
   17198     sysv4 | sysv4.2uw2* | sysv4.3*)
   17199       lt_prog_compiler_wl_GCJ='-Wl,'
   17200       lt_prog_compiler_pic_GCJ='-KPIC'
   17201       lt_prog_compiler_static_GCJ='-Bstatic'
   17202       ;;
   17203 
   17204     sysv4*MP*)
   17205       if test -d /usr/nec ;then
   17206 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17207 	lt_prog_compiler_static_GCJ='-Bstatic'
   17208       fi
   17209       ;;
   17210 
   17211     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17212       lt_prog_compiler_wl_GCJ='-Wl,'
   17213       lt_prog_compiler_pic_GCJ='-KPIC'
   17214       lt_prog_compiler_static_GCJ='-Bstatic'
   17215       ;;
   17216 
   17217     unicos*)
   17218       lt_prog_compiler_wl_GCJ='-Wl,'
   17219       lt_prog_compiler_can_build_shared_GCJ=no
   17220       ;;
   17221 
   17222     uts4*)
   17223       lt_prog_compiler_pic_GCJ='-pic'
   17224       lt_prog_compiler_static_GCJ='-Bstatic'
   17225       ;;
   17226 
   17227     *)
   17228       lt_prog_compiler_can_build_shared_GCJ=no
   17229       ;;
   17230     esac
   17231   fi
   17232 
   17233 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17234 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17235 
   17236 #
   17237 # Check to make sure the PIC flag actually works.
   17238 #
   17239 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17240 
   17241 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17242 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17243 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17244   $as_echo_n "(cached) " >&6
   17245 else
   17246   lt_cv_prog_compiler_pic_works_GCJ=no
   17247   ac_outfile=conftest.$ac_objext
   17248    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17249    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17250    # Insert the option either (1) after the last *FLAGS variable, or
   17251    # (2) before a word containing "conftest.", or (3) at the end.
   17252    # Note that $ac_compile itself does not contain backslashes and begins
   17253    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17254    # The option is referenced via a variable to avoid confusing sed.
   17255    lt_compile=`echo "$ac_compile" | $SED \
   17256    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17257    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17258    -e 's:$: $lt_compiler_flag:'`
   17259    (eval echo "\"\$as_me:17259: $lt_compile\"" >&5)
   17260    (eval "$lt_compile" 2>conftest.err)
   17261    ac_status=$?
   17262    cat conftest.err >&5
   17263    echo "$as_me:17263: \$? = $ac_status" >&5
   17264    if (exit $ac_status) && test -s "$ac_outfile"; then
   17265      # The compiler can only warn and ignore the option if not recognized
   17266      # So say no if there are warnings other than the usual output.
   17267      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17268      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17269      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17270        lt_cv_prog_compiler_pic_works_GCJ=yes
   17271      fi
   17272    fi
   17273    $rm conftest*
   17274 
   17275 fi
   17276 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17277 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17278 
   17279 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17280     case $lt_prog_compiler_pic_GCJ in
   17281      "" | " "*) ;;
   17282      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17283      esac
   17284 else
   17285     lt_prog_compiler_pic_GCJ=
   17286      lt_prog_compiler_can_build_shared_GCJ=no
   17287 fi
   17288 
   17289 fi
   17290 case $host_os in
   17291   # For platforms which do not support PIC, -DPIC is meaningless:
   17292   *djgpp*)
   17293     lt_prog_compiler_pic_GCJ=
   17294     ;;
   17295   *)
   17296     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17297     ;;
   17298 esac
   17299 
   17300 #
   17301 # Check to make sure the static flag actually works.
   17302 #
   17303 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17304 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17305 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17306 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17307   $as_echo_n "(cached) " >&6
   17308 else
   17309   lt_cv_prog_compiler_static_works_GCJ=no
   17310    save_LDFLAGS="$LDFLAGS"
   17311    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17312    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17313    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17314      # The linker can only warn and ignore the option if not recognized
   17315      # So say no if there are warnings
   17316      if test -s conftest.err; then
   17317        # Append any errors to the config.log.
   17318        cat conftest.err 1>&5
   17319        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17320        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17321        if diff conftest.exp conftest.er2 >/dev/null; then
   17322          lt_cv_prog_compiler_static_works_GCJ=yes
   17323        fi
   17324      else
   17325        lt_cv_prog_compiler_static_works_GCJ=yes
   17326      fi
   17327    fi
   17328    $rm -r conftest*
   17329    LDFLAGS="$save_LDFLAGS"
   17330 
   17331 fi
   17332 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17333 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17334 
   17335 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17336     :
   17337 else
   17338     lt_prog_compiler_static_GCJ=
   17339 fi
   17340 
   17341 
   17342 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17344 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17345   $as_echo_n "(cached) " >&6
   17346 else
   17347   lt_cv_prog_compiler_c_o_GCJ=no
   17348    $rm -r conftest 2>/dev/null
   17349    mkdir conftest
   17350    cd conftest
   17351    mkdir out
   17352    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17353 
   17354    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17355    # Insert the option either (1) after the last *FLAGS variable, or
   17356    # (2) before a word containing "conftest.", or (3) at the end.
   17357    # Note that $ac_compile itself does not contain backslashes and begins
   17358    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17359    lt_compile=`echo "$ac_compile" | $SED \
   17360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17362    -e 's:$: $lt_compiler_flag:'`
   17363    (eval echo "\"\$as_me:17363: $lt_compile\"" >&5)
   17364    (eval "$lt_compile" 2>out/conftest.err)
   17365    ac_status=$?
   17366    cat out/conftest.err >&5
   17367    echo "$as_me:17367: \$? = $ac_status" >&5
   17368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17369    then
   17370      # The compiler can only warn and ignore the option if not recognized
   17371      # So say no if there are warnings
   17372      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17375        lt_cv_prog_compiler_c_o_GCJ=yes
   17376      fi
   17377    fi
   17378    chmod u+w . 2>&5
   17379    $rm conftest*
   17380    # SGI C++ compiler will create directory out/ii_files/ for
   17381    # template instantiation
   17382    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17383    $rm out/* && rmdir out
   17384    cd ..
   17385    rmdir conftest
   17386    $rm conftest*
   17387 
   17388 fi
   17389 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17390 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17391 
   17392 
   17393 hard_links="nottested"
   17394 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17395   # do not overwrite the value of need_locks provided by the user
   17396   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17397 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17398   hard_links=yes
   17399   $rm conftest*
   17400   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17401   touch conftest.a
   17402   ln conftest.a conftest.b 2>&5 || hard_links=no
   17403   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17404   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17405 $as_echo "$hard_links" >&6; }
   17406   if test "$hard_links" = no; then
   17407     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17408 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17409     need_locks=warn
   17410   fi
   17411 else
   17412   need_locks=no
   17413 fi
   17414 
   17415 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17416 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17417 
   17418   runpath_var=
   17419   allow_undefined_flag_GCJ=
   17420   enable_shared_with_static_runtimes_GCJ=no
   17421   archive_cmds_GCJ=
   17422   archive_expsym_cmds_GCJ=
   17423   old_archive_From_new_cmds_GCJ=
   17424   old_archive_from_expsyms_cmds_GCJ=
   17425   export_dynamic_flag_spec_GCJ=
   17426   whole_archive_flag_spec_GCJ=
   17427   thread_safe_flag_spec_GCJ=
   17428   hardcode_libdir_flag_spec_GCJ=
   17429   hardcode_libdir_flag_spec_ld_GCJ=
   17430   hardcode_libdir_separator_GCJ=
   17431   hardcode_direct_GCJ=no
   17432   hardcode_minus_L_GCJ=no
   17433   hardcode_shlibpath_var_GCJ=unsupported
   17434   link_all_deplibs_GCJ=unknown
   17435   hardcode_automatic_GCJ=no
   17436   module_cmds_GCJ=
   17437   module_expsym_cmds_GCJ=
   17438   always_export_symbols_GCJ=no
   17439   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17440   # include_expsyms should be a list of space-separated symbols to be *always*
   17441   # included in the symbol list
   17442   include_expsyms_GCJ=
   17443   # exclude_expsyms can be an extended regexp of symbols to exclude
   17444   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17445   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17446   # as well as any symbol that contains `d'.
   17447   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17448   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17449   # platforms (ab)use it in PIC code, but their linkers get confused if
   17450   # the symbol is explicitly referenced.  Since portable code cannot
   17451   # rely on this symbol name, it's probably fine to never include it in
   17452   # preloaded symbol tables.
   17453   # Exclude shared library initialization/finalization symbols.
   17454   extract_expsyms_cmds=
   17455   # Just being paranoid about ensuring that cc_basename is set.
   17456   for cc_temp in $compiler""; do
   17457   case $cc_temp in
   17458     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17459     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17460     \-*) ;;
   17461     *) break;;
   17462   esac
   17463 done
   17464 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17465 
   17466   case $host_os in
   17467   cygwin* | mingw* | pw32*)
   17468     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17469     # When not using gcc, we currently assume that we are using
   17470     # Microsoft Visual C++.
   17471     if test "$GCC" != yes; then
   17472       with_gnu_ld=no
   17473     fi
   17474     ;;
   17475   interix*)
   17476     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17477     with_gnu_ld=yes
   17478     ;;
   17479   openbsd*)
   17480     with_gnu_ld=no
   17481     ;;
   17482   esac
   17483 
   17484   ld_shlibs_GCJ=yes
   17485   if test "$with_gnu_ld" = yes; then
   17486     # If archive_cmds runs LD, not CC, wlarc should be empty
   17487     wlarc='${wl}'
   17488 
   17489     # Set some defaults for GNU ld with shared library support. These
   17490     # are reset later if shared libraries are not supported. Putting them
   17491     # here allows them to be overridden if necessary.
   17492     runpath_var=LD_RUN_PATH
   17493     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17494     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17495     # ancient GNU ld didn't support --whole-archive et. al.
   17496     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17497 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17498       else
   17499   	whole_archive_flag_spec_GCJ=
   17500     fi
   17501     supports_anon_versioning=no
   17502     case `$LD -v 2>/dev/null` in
   17503       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17504       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17505       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17506       *\ 2.11.*) ;; # other 2.11 versions
   17507       *) supports_anon_versioning=yes ;;
   17508     esac
   17509 
   17510     # See if GNU ld supports shared libraries.
   17511     case $host_os in
   17512     aix[3-9]*)
   17513       # On AIX/PPC, the GNU linker is very broken
   17514       if test "$host_cpu" != ia64; then
   17515 	ld_shlibs_GCJ=no
   17516 	cat <<EOF 1>&2
   17517 
   17518 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17519 *** to be unable to reliably create shared libraries on AIX.
   17520 *** Therefore, libtool is disabling shared libraries support.  If you
   17521 *** really care for shared libraries, you may want to modify your PATH
   17522 *** so that a non-GNU linker is found, and then restart.
   17523 
   17524 EOF
   17525       fi
   17526       ;;
   17527 
   17528     amigaos*)
   17529       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   17530       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17531       hardcode_minus_L_GCJ=yes
   17532 
   17533       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17534       # that the semantics of dynamic libraries on AmigaOS, at least up
   17535       # to version 4, is to share data among multiple programs linked
   17536       # with the same dynamic library.  Since this doesn't match the
   17537       # behavior of shared libraries on other platforms, we can't use
   17538       # them.
   17539       ld_shlibs_GCJ=no
   17540       ;;
   17541 
   17542     beos*)
   17543       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17544 	allow_undefined_flag_GCJ=unsupported
   17545 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17546 	# support --undefined.  This deserves some investigation.  FIXME
   17547 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17548       else
   17549 	ld_shlibs_GCJ=no
   17550       fi
   17551       ;;
   17552 
   17553     cygwin* | mingw* | pw32*)
   17554       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17555       # as there is no search path for DLLs.
   17556       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17557       allow_undefined_flag_GCJ=unsupported
   17558       always_export_symbols_GCJ=no
   17559       enable_shared_with_static_runtimes_GCJ=yes
   17560       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17561 
   17562       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17563         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17564 	# If the export-symbols file already is a .def file (1st line
   17565 	# is EXPORTS), use it as is; otherwise, prepend...
   17566 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17567 	  cp $export_symbols $output_objdir/$soname.def;
   17568 	else
   17569 	  echo EXPORTS > $output_objdir/$soname.def;
   17570 	  cat $export_symbols >> $output_objdir/$soname.def;
   17571 	fi~
   17572 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17573       else
   17574 	ld_shlibs_GCJ=no
   17575       fi
   17576       ;;
   17577 
   17578     interix[3-9]*)
   17579       hardcode_direct_GCJ=no
   17580       hardcode_shlibpath_var_GCJ=no
   17581       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17582       export_dynamic_flag_spec_GCJ='${wl}-E'
   17583       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17584       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17585       # default) and relocated if they conflict, which is a slow very memory
   17586       # consuming and fragmenting process.  To avoid this, we pick a random,
   17587       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17588       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17589       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17590       archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17591       ;;
   17592 
   17593     gnu* | linux* | k*bsd*-gnu)
   17594       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17595 	tmp_addflag=
   17596 	case $cc_basename,$host_cpu in
   17597 	pgcc*)				# Portland Group C compiler
   17598 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17599 	  tmp_addflag=' $pic_flag'
   17600 	  ;;
   17601 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17602 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17603 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17604 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17605 	  tmp_addflag=' -i_dynamic' ;;
   17606 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17607 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17608 	ifc* | ifort*)			# Intel Fortran compiler
   17609 	  tmp_addflag=' -nofor_main' ;;
   17610 	esac
   17611 	case `$CC -V 2>&1 | sed 5q` in
   17612 	*Sun\ C*)			# Sun C 5.9
   17613 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17614 	  tmp_sharedflag='-G' ;;
   17615 	*Sun\ F*)			# Sun Fortran 8.3
   17616 	  tmp_sharedflag='-G' ;;
   17617 	*)
   17618 	  tmp_sharedflag='-shared' ;;
   17619 	esac
   17620 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17621 
   17622 	if test $supports_anon_versioning = yes; then
   17623 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17624   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17625   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17626 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17627 	fi
   17628       else
   17629 	ld_shlibs_GCJ=no
   17630       fi
   17631       ;;
   17632 
   17633     netbsd*)
   17634       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17635 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17636 	wlarc=
   17637       else
   17638 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17639 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17640       fi
   17641       ;;
   17642 
   17643     solaris*)
   17644       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17645 	ld_shlibs_GCJ=no
   17646 	cat <<EOF 1>&2
   17647 
   17648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17649 *** create shared libraries on Solaris systems.  Therefore, libtool
   17650 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17651 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17652 *** your PATH or compiler configuration so that the native linker is
   17653 *** used, and then restart.
   17654 
   17655 EOF
   17656       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17657 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17658 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17659       else
   17660 	ld_shlibs_GCJ=no
   17661       fi
   17662       ;;
   17663 
   17664     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17665       case `$LD -v 2>&1` in
   17666         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17667 	ld_shlibs_GCJ=no
   17668 	cat <<_LT_EOF 1>&2
   17669 
   17670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17671 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17672 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17673 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17674 *** your PATH or compiler configuration so that the native linker is
   17675 *** used, and then restart.
   17676 
   17677 _LT_EOF
   17678 	;;
   17679 	*)
   17680 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17681 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17682 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17683 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17684 	  else
   17685 	    ld_shlibs_GCJ=no
   17686 	  fi
   17687 	;;
   17688       esac
   17689       ;;
   17690 
   17691     sunos4*)
   17692       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17693       wlarc=
   17694       hardcode_direct_GCJ=yes
   17695       hardcode_shlibpath_var_GCJ=no
   17696       ;;
   17697 
   17698     *)
   17699       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17700 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17701 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17702       else
   17703 	ld_shlibs_GCJ=no
   17704       fi
   17705       ;;
   17706     esac
   17707 
   17708     if test "$ld_shlibs_GCJ" = no; then
   17709       runpath_var=
   17710       hardcode_libdir_flag_spec_GCJ=
   17711       export_dynamic_flag_spec_GCJ=
   17712       whole_archive_flag_spec_GCJ=
   17713     fi
   17714   else
   17715     # PORTME fill in a description of your system's linker (not GNU ld)
   17716     case $host_os in
   17717     aix3*)
   17718       allow_undefined_flag_GCJ=unsupported
   17719       always_export_symbols_GCJ=yes
   17720       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   17721       # Note: this linker hardcodes the directories in LIBPATH if there
   17722       # are no directories specified by -L.
   17723       hardcode_minus_L_GCJ=yes
   17724       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17725 	# Neither direct hardcoding nor static linking is supported with a
   17726 	# broken collect2.
   17727 	hardcode_direct_GCJ=unsupported
   17728       fi
   17729       ;;
   17730 
   17731     aix[4-9]*)
   17732       if test "$host_cpu" = ia64; then
   17733 	# On IA64, the linker does run time linking by default, so we don't
   17734 	# have to do anything special.
   17735 	aix_use_runtimelinking=no
   17736 	exp_sym_flag='-Bexport'
   17737 	no_entry_flag=""
   17738       else
   17739 	# If we're using GNU nm, then we don't want the "-C" option.
   17740 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17741 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17742 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17743 	else
   17744 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   17745 	fi
   17746 	aix_use_runtimelinking=no
   17747 
   17748 	# Test if we are trying to use run time linking or normal
   17749 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17750 	# need to do runtime linking.
   17751 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17752 	  for ld_flag in $LDFLAGS; do
   17753   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17754   	    aix_use_runtimelinking=yes
   17755   	    break
   17756   	  fi
   17757 	  done
   17758 	  ;;
   17759 	esac
   17760 
   17761 	exp_sym_flag='-bexport'
   17762 	no_entry_flag='-bnoentry'
   17763       fi
   17764 
   17765       # When large executables or shared objects are built, AIX ld can
   17766       # have problems creating the table of contents.  If linking a library
   17767       # or program results in "error TOC overflow" add -mminimal-toc to
   17768       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17769       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17770 
   17771       archive_cmds_GCJ=''
   17772       hardcode_direct_GCJ=yes
   17773       hardcode_libdir_separator_GCJ=':'
   17774       link_all_deplibs_GCJ=yes
   17775 
   17776       if test "$GCC" = yes; then
   17777 	case $host_os in aix4.[012]|aix4.[012].*)
   17778 	# We only want to do this on AIX 4.2 and lower, the check
   17779 	# below for broken collect2 doesn't work under 4.3+
   17780 	  collect2name=`${CC} -print-prog-name=collect2`
   17781 	  if test -f "$collect2name" && \
   17782   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17783 	  then
   17784   	  # We have reworked collect2
   17785   	  :
   17786 	  else
   17787   	  # We have old collect2
   17788   	  hardcode_direct_GCJ=unsupported
   17789   	  # It fails to find uninstalled libraries when the uninstalled
   17790   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17791   	  # to unsupported forces relinking
   17792   	  hardcode_minus_L_GCJ=yes
   17793   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17794   	  hardcode_libdir_separator_GCJ=
   17795 	  fi
   17796 	  ;;
   17797 	esac
   17798 	shared_flag='-shared'
   17799 	if test "$aix_use_runtimelinking" = yes; then
   17800 	  shared_flag="$shared_flag "'${wl}-G'
   17801 	fi
   17802       else
   17803 	# not using gcc
   17804 	if test "$host_cpu" = ia64; then
   17805   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17806   	# chokes on -Wl,-G. The following line is correct:
   17807 	  shared_flag='-G'
   17808 	else
   17809 	  if test "$aix_use_runtimelinking" = yes; then
   17810 	    shared_flag='${wl}-G'
   17811 	  else
   17812 	    shared_flag='${wl}-bM:SRE'
   17813 	  fi
   17814 	fi
   17815       fi
   17816 
   17817       # It seems that -bexpall does not export symbols beginning with
   17818       # underscore (_), so it is better to generate a list of symbols to export.
   17819       always_export_symbols_GCJ=yes
   17820       if test "$aix_use_runtimelinking" = yes; then
   17821 	# Warning - without using the other runtime loading flags (-brtl),
   17822 	# -berok will link without error, but may produce a broken library.
   17823 	allow_undefined_flag_GCJ='-berok'
   17824        # Determine the default libpath from the value encoded in an empty executable.
   17825        cat >conftest.$ac_ext <<_ACEOF
   17826 /* confdefs.h.  */
   17827 _ACEOF
   17828 cat confdefs.h >>conftest.$ac_ext
   17829 cat >>conftest.$ac_ext <<_ACEOF
   17830 /* end confdefs.h.  */
   17831 
   17832 int
   17833 main ()
   17834 {
   17835 
   17836   ;
   17837   return 0;
   17838 }
   17839 _ACEOF
   17840 rm -f conftest.$ac_objext conftest$ac_exeext
   17841 if { (ac_try="$ac_link"
   17842 case "(($ac_try" in
   17843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17844   *) ac_try_echo=$ac_try;;
   17845 esac
   17846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17847 $as_echo "$ac_try_echo") >&5
   17848   (eval "$ac_link") 2>conftest.er1
   17849   ac_status=$?
   17850   grep -v '^ *+' conftest.er1 >conftest.err
   17851   rm -f conftest.er1
   17852   cat conftest.err >&5
   17853   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17854   (exit $ac_status); } && {
   17855 	 test -z "$ac_c_werror_flag" ||
   17856 	 test ! -s conftest.err
   17857        } && test -s conftest$ac_exeext && {
   17858 	 test "$cross_compiling" = yes ||
   17859 	 $as_test_x conftest$ac_exeext
   17860        }; then
   17861 
   17862 lt_aix_libpath_sed='
   17863     /Import File Strings/,/^$/ {
   17864 	/^0/ {
   17865 	    s/^0  *\(.*\)$/\1/
   17866 	    p
   17867 	}
   17868     }'
   17869 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17870 # Check for a 64-bit object if we didn't find anything.
   17871 if test -z "$aix_libpath"; then
   17872   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17873 fi
   17874 else
   17875   $as_echo "$as_me: failed program was:" >&5
   17876 sed 's/^/| /' conftest.$ac_ext >&5
   17877 
   17878 
   17879 fi
   17880 
   17881 rm -rf conftest.dSYM
   17882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17883       conftest$ac_exeext conftest.$ac_ext
   17884 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17885 
   17886        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17887 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   17888        else
   17889 	if test "$host_cpu" = ia64; then
   17890 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17891 	  allow_undefined_flag_GCJ="-z nodefs"
   17892 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   17893 	else
   17894 	 # Determine the default libpath from the value encoded in an empty executable.
   17895 	 cat >conftest.$ac_ext <<_ACEOF
   17896 /* confdefs.h.  */
   17897 _ACEOF
   17898 cat confdefs.h >>conftest.$ac_ext
   17899 cat >>conftest.$ac_ext <<_ACEOF
   17900 /* end confdefs.h.  */
   17901 
   17902 int
   17903 main ()
   17904 {
   17905 
   17906   ;
   17907   return 0;
   17908 }
   17909 _ACEOF
   17910 rm -f conftest.$ac_objext conftest$ac_exeext
   17911 if { (ac_try="$ac_link"
   17912 case "(($ac_try" in
   17913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17914   *) ac_try_echo=$ac_try;;
   17915 esac
   17916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17917 $as_echo "$ac_try_echo") >&5
   17918   (eval "$ac_link") 2>conftest.er1
   17919   ac_status=$?
   17920   grep -v '^ *+' conftest.er1 >conftest.err
   17921   rm -f conftest.er1
   17922   cat conftest.err >&5
   17923   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17924   (exit $ac_status); } && {
   17925 	 test -z "$ac_c_werror_flag" ||
   17926 	 test ! -s conftest.err
   17927        } && test -s conftest$ac_exeext && {
   17928 	 test "$cross_compiling" = yes ||
   17929 	 $as_test_x conftest$ac_exeext
   17930        }; then
   17931 
   17932 lt_aix_libpath_sed='
   17933     /Import File Strings/,/^$/ {
   17934 	/^0/ {
   17935 	    s/^0  *\(.*\)$/\1/
   17936 	    p
   17937 	}
   17938     }'
   17939 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17940 # Check for a 64-bit object if we didn't find anything.
   17941 if test -z "$aix_libpath"; then
   17942   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17943 fi
   17944 else
   17945   $as_echo "$as_me: failed program was:" >&5
   17946 sed 's/^/| /' conftest.$ac_ext >&5
   17947 
   17948 
   17949 fi
   17950 
   17951 rm -rf conftest.dSYM
   17952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17953       conftest$ac_exeext conftest.$ac_ext
   17954 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17955 
   17956 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17957 	  # Warning - without using the other run time loading flags,
   17958 	  # -berok will link without error, but may produce a broken library.
   17959 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17960 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17961 	  # Exported symbols can be pulled into shared objects from archives
   17962 	  whole_archive_flag_spec_GCJ='$convenience'
   17963 	  archive_cmds_need_lc_GCJ=yes
   17964 	  # This is similar to how AIX traditionally builds its shared libraries.
   17965 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   17966 	fi
   17967       fi
   17968       ;;
   17969 
   17970     amigaos*)
   17971       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   17972       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17973       hardcode_minus_L_GCJ=yes
   17974       # see comment about different semantics on the GNU ld section
   17975       ld_shlibs_GCJ=no
   17976       ;;
   17977 
   17978     bsdi[45]*)
   17979       export_dynamic_flag_spec_GCJ=-rdynamic
   17980       ;;
   17981 
   17982     cygwin* | mingw* | pw32*)
   17983       # When not using gcc, we currently assume that we are using
   17984       # Microsoft Visual C++.
   17985       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17986       # no search path for DLLs.
   17987       hardcode_libdir_flag_spec_GCJ=' '
   17988       allow_undefined_flag_GCJ=unsupported
   17989       # Tell ltmain to make .lib files, not .a files.
   17990       libext=lib
   17991       # Tell ltmain to make .dll files, not .so files.
   17992       shrext_cmds=".dll"
   17993       # FIXME: Setting linknames here is a bad hack.
   17994       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17995       # The linker will automatically build a .lib file if we build a DLL.
   17996       old_archive_From_new_cmds_GCJ='true'
   17997       # FIXME: Should let the user specify the lib program.
   17998       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17999       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18000       enable_shared_with_static_runtimes_GCJ=yes
   18001       ;;
   18002 
   18003     darwin* | rhapsody*)
   18004       case $host_os in
   18005         rhapsody* | darwin1.[012])
   18006          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18007          ;;
   18008        *) # Darwin 1.3 on
   18009          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18010            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18011          else
   18012            case ${MACOSX_DEPLOYMENT_TARGET} in
   18013              10.[012])
   18014                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18015                ;;
   18016              10.*)
   18017                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18018                ;;
   18019            esac
   18020          fi
   18021          ;;
   18022       esac
   18023       archive_cmds_need_lc_GCJ=no
   18024       hardcode_direct_GCJ=no
   18025       hardcode_automatic_GCJ=yes
   18026       hardcode_shlibpath_var_GCJ=unsupported
   18027       whole_archive_flag_spec_GCJ=''
   18028       link_all_deplibs_GCJ=yes
   18029     if test "$GCC" = yes ; then
   18030     	output_verbose_link_cmd='echo'
   18031         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   18032         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18033         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   18034         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   18035     else
   18036       case $cc_basename in
   18037         xlc*)
   18038          output_verbose_link_cmd='echo'
   18039          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18040          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18041           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18042          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18043           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18044           ;;
   18045        *)
   18046          ld_shlibs_GCJ=no
   18047           ;;
   18048       esac
   18049     fi
   18050       ;;
   18051 
   18052     dgux*)
   18053       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18054       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18055       hardcode_shlibpath_var_GCJ=no
   18056       ;;
   18057 
   18058     freebsd1*)
   18059       ld_shlibs_GCJ=no
   18060       ;;
   18061 
   18062     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18063     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18064     # does not break anything, and helps significantly (at the cost of a little
   18065     # extra space).
   18066     freebsd2.2*)
   18067       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18068       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18069       hardcode_direct_GCJ=yes
   18070       hardcode_shlibpath_var_GCJ=no
   18071       ;;
   18072 
   18073     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18074     freebsd2*)
   18075       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18076       hardcode_direct_GCJ=yes
   18077       hardcode_minus_L_GCJ=yes
   18078       hardcode_shlibpath_var_GCJ=no
   18079       ;;
   18080 
   18081     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18082     freebsd* | dragonfly*)
   18083       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18084       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18085       hardcode_direct_GCJ=yes
   18086       hardcode_shlibpath_var_GCJ=no
   18087       ;;
   18088 
   18089     hpux9*)
   18090       if test "$GCC" = yes; then
   18091 	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   18092       else
   18093 	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   18094       fi
   18095       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18096       hardcode_libdir_separator_GCJ=:
   18097       hardcode_direct_GCJ=yes
   18098 
   18099       # hardcode_minus_L: Not really in the search PATH,
   18100       # but as the default location of the library.
   18101       hardcode_minus_L_GCJ=yes
   18102       export_dynamic_flag_spec_GCJ='${wl}-E'
   18103       ;;
   18104 
   18105     hpux10*)
   18106       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18107 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18108       else
   18109 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18110       fi
   18111       if test "$with_gnu_ld" = no; then
   18112 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18113 	hardcode_libdir_separator_GCJ=:
   18114 
   18115 	hardcode_direct_GCJ=yes
   18116 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18117 
   18118 	# hardcode_minus_L: Not really in the search PATH,
   18119 	# but as the default location of the library.
   18120 	hardcode_minus_L_GCJ=yes
   18121       fi
   18122       ;;
   18123 
   18124     hpux11*)
   18125       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18126 	case $host_cpu in
   18127 	hppa*64*)
   18128 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18129 	  ;;
   18130 	ia64*)
   18131 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18132 	  ;;
   18133 	*)
   18134 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18135 	  ;;
   18136 	esac
   18137       else
   18138 	case $host_cpu in
   18139 	hppa*64*)
   18140 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18141 	  ;;
   18142 	ia64*)
   18143 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18144 	  ;;
   18145 	*)
   18146 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18147 	  ;;
   18148 	esac
   18149       fi
   18150       if test "$with_gnu_ld" = no; then
   18151 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18152 	hardcode_libdir_separator_GCJ=:
   18153 
   18154 	case $host_cpu in
   18155 	hppa*64*|ia64*)
   18156 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18157 	  hardcode_direct_GCJ=no
   18158 	  hardcode_shlibpath_var_GCJ=no
   18159 	  ;;
   18160 	*)
   18161 	  hardcode_direct_GCJ=yes
   18162 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18163 
   18164 	  # hardcode_minus_L: Not really in the search PATH,
   18165 	  # but as the default location of the library.
   18166 	  hardcode_minus_L_GCJ=yes
   18167 	  ;;
   18168 	esac
   18169       fi
   18170       ;;
   18171 
   18172     irix5* | irix6* | nonstopux*)
   18173       if test "$GCC" = yes; then
   18174 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18175       else
   18176 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18177 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18178       fi
   18179       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18180       hardcode_libdir_separator_GCJ=:
   18181       link_all_deplibs_GCJ=yes
   18182       ;;
   18183 
   18184     netbsd*)
   18185       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18186 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18187       else
   18188 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18189       fi
   18190       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18191       hardcode_direct_GCJ=yes
   18192       hardcode_shlibpath_var_GCJ=no
   18193       ;;
   18194 
   18195     newsos6)
   18196       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18197       hardcode_direct_GCJ=yes
   18198       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18199       hardcode_libdir_separator_GCJ=:
   18200       hardcode_shlibpath_var_GCJ=no
   18201       ;;
   18202 
   18203     openbsd*)
   18204       if test -f /usr/libexec/ld.so; then
   18205 	hardcode_direct_GCJ=yes
   18206 	hardcode_shlibpath_var_GCJ=no
   18207 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18208 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18209 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18210 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18211 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18212 	else
   18213 	  case $host_os in
   18214 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18215 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18216 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18217 	     ;;
   18218 	   *)
   18219 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18220 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18221 	     ;;
   18222 	  esac
   18223         fi
   18224       else
   18225 	ld_shlibs_GCJ=no
   18226       fi
   18227       ;;
   18228 
   18229     os2*)
   18230       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18231       hardcode_minus_L_GCJ=yes
   18232       allow_undefined_flag_GCJ=unsupported
   18233       archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   18234       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18235       ;;
   18236 
   18237     osf3*)
   18238       if test "$GCC" = yes; then
   18239 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18240 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18241       else
   18242 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18243 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18244       fi
   18245       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18246       hardcode_libdir_separator_GCJ=:
   18247       ;;
   18248 
   18249     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18250       if test "$GCC" = yes; then
   18251 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18252 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18253 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18254       else
   18255 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18256 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   18257 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   18258 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   18259 
   18260 	# Both c and cxx compiler support -rpath directly
   18261 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18262       fi
   18263       hardcode_libdir_separator_GCJ=:
   18264       ;;
   18265 
   18266     solaris*)
   18267       no_undefined_flag_GCJ=' -z text'
   18268       if test "$GCC" = yes; then
   18269 	wlarc='${wl}'
   18270 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18271 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18272 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18273       else
   18274 	wlarc=''
   18275 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18276 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18277   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18278       fi
   18279       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18280       hardcode_shlibpath_var_GCJ=no
   18281       case $host_os in
   18282       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18283       *)
   18284 	# The compiler driver will combine and reorder linker options,
   18285 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18286 	# but is careful enough not to reorder.
   18287  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18288 	if test "$GCC" = yes; then
   18289 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18290 	else
   18291 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18292 	fi
   18293 	;;
   18294       esac
   18295       link_all_deplibs_GCJ=yes
   18296       ;;
   18297 
   18298     sunos4*)
   18299       if test "x$host_vendor" = xsequent; then
   18300 	# Use $CC to link under sequent, because it throws in some extra .o
   18301 	# files that make .init and .fini sections work.
   18302 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18303       else
   18304 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18305       fi
   18306       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18307       hardcode_direct_GCJ=yes
   18308       hardcode_minus_L_GCJ=yes
   18309       hardcode_shlibpath_var_GCJ=no
   18310       ;;
   18311 
   18312     sysv4)
   18313       case $host_vendor in
   18314 	sni)
   18315 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18316 	  hardcode_direct_GCJ=yes # is this really true???
   18317 	;;
   18318 	siemens)
   18319 	  ## LD is ld it makes a PLAMLIB
   18320 	  ## CC just makes a GrossModule.
   18321 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18322 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18323 	  hardcode_direct_GCJ=no
   18324         ;;
   18325 	motorola)
   18326 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18327 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18328 	;;
   18329       esac
   18330       runpath_var='LD_RUN_PATH'
   18331       hardcode_shlibpath_var_GCJ=no
   18332       ;;
   18333 
   18334     sysv4.3*)
   18335       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18336       hardcode_shlibpath_var_GCJ=no
   18337       export_dynamic_flag_spec_GCJ='-Bexport'
   18338       ;;
   18339 
   18340     sysv4*MP*)
   18341       if test -d /usr/nec; then
   18342 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18343 	hardcode_shlibpath_var_GCJ=no
   18344 	runpath_var=LD_RUN_PATH
   18345 	hardcode_runpath_var=yes
   18346 	ld_shlibs_GCJ=yes
   18347       fi
   18348       ;;
   18349 
   18350     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18351       no_undefined_flag_GCJ='${wl}-z,text'
   18352       archive_cmds_need_lc_GCJ=no
   18353       hardcode_shlibpath_var_GCJ=no
   18354       runpath_var='LD_RUN_PATH'
   18355 
   18356       if test "$GCC" = yes; then
   18357 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18358 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18359       else
   18360 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18361 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18362       fi
   18363       ;;
   18364 
   18365     sysv5* | sco3.2v5* | sco5v6*)
   18366       # Note: We can NOT use -z defs as we might desire, because we do not
   18367       # link with -lc, and that would cause any symbols used from libc to
   18368       # always be unresolved, which means just about no library would
   18369       # ever link correctly.  If we're not using GNU ld we use -z text
   18370       # though, which does catch some bad symbols but isn't as heavy-handed
   18371       # as -z defs.
   18372       no_undefined_flag_GCJ='${wl}-z,text'
   18373       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18374       archive_cmds_need_lc_GCJ=no
   18375       hardcode_shlibpath_var_GCJ=no
   18376       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18377       hardcode_libdir_separator_GCJ=':'
   18378       link_all_deplibs_GCJ=yes
   18379       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18380       runpath_var='LD_RUN_PATH'
   18381 
   18382       if test "$GCC" = yes; then
   18383 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18384 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18385       else
   18386 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18387 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18388       fi
   18389       ;;
   18390 
   18391     uts4*)
   18392       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18393       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18394       hardcode_shlibpath_var_GCJ=no
   18395       ;;
   18396 
   18397     *)
   18398       ld_shlibs_GCJ=no
   18399       ;;
   18400     esac
   18401   fi
   18402 
   18403 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18404 $as_echo "$ld_shlibs_GCJ" >&6; }
   18405 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18406 
   18407 #
   18408 # Do we need to explicitly link libc?
   18409 #
   18410 case "x$archive_cmds_need_lc_GCJ" in
   18411 x|xyes)
   18412   # Assume -lc should be added
   18413   archive_cmds_need_lc_GCJ=yes
   18414 
   18415   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18416     case $archive_cmds_GCJ in
   18417     *'~'*)
   18418       # FIXME: we may have to deal with multi-command sequences.
   18419       ;;
   18420     '$CC '*)
   18421       # Test whether the compiler implicitly links with -lc since on some
   18422       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18423       # to ld, don't add -lc before -lgcc.
   18424       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18425 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18426       $rm conftest*
   18427       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18428 
   18429       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18430   (eval $ac_compile) 2>&5
   18431   ac_status=$?
   18432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18433   (exit $ac_status); } 2>conftest.err; then
   18434         soname=conftest
   18435         lib=conftest
   18436         libobjs=conftest.$ac_objext
   18437         deplibs=
   18438         wl=$lt_prog_compiler_wl_GCJ
   18439 	pic_flag=$lt_prog_compiler_pic_GCJ
   18440         compiler_flags=-v
   18441         linker_flags=-v
   18442         verstring=
   18443         output_objdir=.
   18444         libname=conftest
   18445         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18446         allow_undefined_flag_GCJ=
   18447         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18448   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18449   ac_status=$?
   18450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18451   (exit $ac_status); }
   18452         then
   18453 	  archive_cmds_need_lc_GCJ=no
   18454         else
   18455 	  archive_cmds_need_lc_GCJ=yes
   18456         fi
   18457         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18458       else
   18459         cat conftest.err 1>&5
   18460       fi
   18461       $rm conftest*
   18462       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18463 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18464       ;;
   18465     esac
   18466   fi
   18467   ;;
   18468 esac
   18469 
   18470 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18472 library_names_spec=
   18473 libname_spec='lib$name'
   18474 soname_spec=
   18475 shrext_cmds=".so"
   18476 postinstall_cmds=
   18477 postuninstall_cmds=
   18478 finish_cmds=
   18479 finish_eval=
   18480 shlibpath_var=
   18481 shlibpath_overrides_runpath=unknown
   18482 version_type=none
   18483 dynamic_linker="$host_os ld.so"
   18484 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18485 
   18486 need_lib_prefix=unknown
   18487 hardcode_into_libs=no
   18488 
   18489 # when you set need_version to no, make sure it does not cause -set_version
   18490 # flags to be left without arguments
   18491 need_version=unknown
   18492 
   18493 case $host_os in
   18494 aix3*)
   18495   version_type=linux
   18496   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18497   shlibpath_var=LIBPATH
   18498 
   18499   # AIX 3 has no versioning support, so we append a major version to the name.
   18500   soname_spec='${libname}${release}${shared_ext}$major'
   18501   ;;
   18502 
   18503 aix[4-9]*)
   18504   version_type=linux
   18505   need_lib_prefix=no
   18506   need_version=no
   18507   hardcode_into_libs=yes
   18508   if test "$host_cpu" = ia64; then
   18509     # AIX 5 supports IA64
   18510     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18511     shlibpath_var=LD_LIBRARY_PATH
   18512   else
   18513     # With GCC up to 2.95.x, collect2 would create an import file
   18514     # for dependence libraries.  The import file would start with
   18515     # the line `#! .'.  This would cause the generated library to
   18516     # depend on `.', always an invalid library.  This was fixed in
   18517     # development snapshots of GCC prior to 3.0.
   18518     case $host_os in
   18519       aix4 | aix4.[01] | aix4.[01].*)
   18520       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18521 	   echo ' yes '
   18522 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18523 	:
   18524       else
   18525 	can_build_shared=no
   18526       fi
   18527       ;;
   18528     esac
   18529     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18530     # soname into executable. Probably we can add versioning support to
   18531     # collect2, so additional links can be useful in future.
   18532     if test "$aix_use_runtimelinking" = yes; then
   18533       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18534       # instead of lib<name>.a to let people know that these are not
   18535       # typical AIX shared libraries.
   18536       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18537     else
   18538       # We preserve .a as extension for shared libraries through AIX4.2
   18539       # and later when we are not doing run time linking.
   18540       library_names_spec='${libname}${release}.a $libname.a'
   18541       soname_spec='${libname}${release}${shared_ext}$major'
   18542     fi
   18543     shlibpath_var=LIBPATH
   18544   fi
   18545   ;;
   18546 
   18547 amigaos*)
   18548   library_names_spec='$libname.ixlibrary $libname.a'
   18549   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18550   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   18551   ;;
   18552 
   18553 beos*)
   18554   library_names_spec='${libname}${shared_ext}'
   18555   dynamic_linker="$host_os ld.so"
   18556   shlibpath_var=LIBRARY_PATH
   18557   ;;
   18558 
   18559 bsdi[45]*)
   18560   version_type=linux
   18561   need_version=no
   18562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18563   soname_spec='${libname}${release}${shared_ext}$major'
   18564   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18565   shlibpath_var=LD_LIBRARY_PATH
   18566   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18567   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18568   # the default ld.so.conf also contains /usr/contrib/lib and
   18569   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18570   # libtool to hard-code these into programs
   18571   ;;
   18572 
   18573 cygwin* | mingw* | pw32*)
   18574   version_type=windows
   18575   shrext_cmds=".dll"
   18576   need_version=no
   18577   need_lib_prefix=no
   18578 
   18579   case $GCC,$host_os in
   18580   yes,cygwin* | yes,mingw* | yes,pw32*)
   18581     library_names_spec='$libname.dll.a'
   18582     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18583     postinstall_cmds='base_file=`basename \${file}`~
   18584       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18585       dldir=$destdir/`dirname \$dlpath`~
   18586       test -d \$dldir || mkdir -p \$dldir~
   18587       $install_prog $dir/$dlname \$dldir/$dlname~
   18588       chmod a+x \$dldir/$dlname'
   18589     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18590       dlpath=$dir/\$dldll~
   18591        $rm \$dlpath'
   18592     shlibpath_overrides_runpath=yes
   18593 
   18594     case $host_os in
   18595     cygwin*)
   18596       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18597       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18598       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18599       ;;
   18600     mingw*)
   18601       # MinGW DLLs use traditional 'lib' prefix
   18602       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18603       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18604       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18605         # It is most probably a Windows format PATH printed by
   18606         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18607         # path with ; separators, and with drive letters. We can handle the
   18608         # drive letters (cygwin fileutils understands them), so leave them,
   18609         # especially as we might pass files found there to a mingw objdump,
   18610         # which wouldn't understand a cygwinified path. Ahh.
   18611         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18612       else
   18613         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18614       fi
   18615       ;;
   18616     pw32*)
   18617       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18618       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18619       ;;
   18620     esac
   18621     ;;
   18622 
   18623   *)
   18624     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18625     ;;
   18626   esac
   18627   dynamic_linker='Win32 ld.exe'
   18628   # FIXME: first we should search . and the directory the executable is in
   18629   shlibpath_var=PATH
   18630   ;;
   18631 
   18632 darwin* | rhapsody*)
   18633   dynamic_linker="$host_os dyld"
   18634   version_type=darwin
   18635   need_lib_prefix=no
   18636   need_version=no
   18637   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18638   soname_spec='${libname}${release}${major}$shared_ext'
   18639   shlibpath_overrides_runpath=yes
   18640   shlibpath_var=DYLD_LIBRARY_PATH
   18641   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18642 
   18643   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18644   ;;
   18645 
   18646 dgux*)
   18647   version_type=linux
   18648   need_lib_prefix=no
   18649   need_version=no
   18650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18651   soname_spec='${libname}${release}${shared_ext}$major'
   18652   shlibpath_var=LD_LIBRARY_PATH
   18653   ;;
   18654 
   18655 freebsd1*)
   18656   dynamic_linker=no
   18657   ;;
   18658 
   18659 freebsd* | dragonfly*)
   18660   # DragonFly does not have aout.  When/if they implement a new
   18661   # versioning mechanism, adjust this.
   18662   if test -x /usr/bin/objformat; then
   18663     objformat=`/usr/bin/objformat`
   18664   else
   18665     case $host_os in
   18666     freebsd[123]*) objformat=aout ;;
   18667     *) objformat=elf ;;
   18668     esac
   18669   fi
   18670   version_type=freebsd-$objformat
   18671   case $version_type in
   18672     freebsd-elf*)
   18673       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18674       need_version=no
   18675       need_lib_prefix=no
   18676       ;;
   18677     freebsd-*)
   18678       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18679       need_version=yes
   18680       ;;
   18681   esac
   18682   shlibpath_var=LD_LIBRARY_PATH
   18683   case $host_os in
   18684   freebsd2*)
   18685     shlibpath_overrides_runpath=yes
   18686     ;;
   18687   freebsd3.[01]* | freebsdelf3.[01]*)
   18688     shlibpath_overrides_runpath=yes
   18689     hardcode_into_libs=yes
   18690     ;;
   18691   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18692   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18693     shlibpath_overrides_runpath=no
   18694     hardcode_into_libs=yes
   18695     ;;
   18696   *) # from 4.6 on, and DragonFly
   18697     shlibpath_overrides_runpath=yes
   18698     hardcode_into_libs=yes
   18699     ;;
   18700   esac
   18701   ;;
   18702 
   18703 gnu*)
   18704   version_type=linux
   18705   need_lib_prefix=no
   18706   need_version=no
   18707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18708   soname_spec='${libname}${release}${shared_ext}$major'
   18709   shlibpath_var=LD_LIBRARY_PATH
   18710   hardcode_into_libs=yes
   18711   ;;
   18712 
   18713 hpux9* | hpux10* | hpux11*)
   18714   # Give a soname corresponding to the major version so that dld.sl refuses to
   18715   # link against other versions.
   18716   version_type=sunos
   18717   need_lib_prefix=no
   18718   need_version=no
   18719   case $host_cpu in
   18720   ia64*)
   18721     shrext_cmds='.so'
   18722     hardcode_into_libs=yes
   18723     dynamic_linker="$host_os dld.so"
   18724     shlibpath_var=LD_LIBRARY_PATH
   18725     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18726     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18727     soname_spec='${libname}${release}${shared_ext}$major'
   18728     if test "X$HPUX_IA64_MODE" = X32; then
   18729       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18730     else
   18731       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18732     fi
   18733     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18734     ;;
   18735    hppa*64*)
   18736      shrext_cmds='.sl'
   18737      hardcode_into_libs=yes
   18738      dynamic_linker="$host_os dld.sl"
   18739      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18740      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18741      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18742      soname_spec='${libname}${release}${shared_ext}$major'
   18743      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18744      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18745      ;;
   18746    *)
   18747     shrext_cmds='.sl'
   18748     dynamic_linker="$host_os dld.sl"
   18749     shlibpath_var=SHLIB_PATH
   18750     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18751     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18752     soname_spec='${libname}${release}${shared_ext}$major'
   18753     ;;
   18754   esac
   18755   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18756   postinstall_cmds='chmod 555 $lib'
   18757   ;;
   18758 
   18759 interix[3-9]*)
   18760   version_type=linux
   18761   need_lib_prefix=no
   18762   need_version=no
   18763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18764   soname_spec='${libname}${release}${shared_ext}$major'
   18765   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18766   shlibpath_var=LD_LIBRARY_PATH
   18767   shlibpath_overrides_runpath=no
   18768   hardcode_into_libs=yes
   18769   ;;
   18770 
   18771 irix5* | irix6* | nonstopux*)
   18772   case $host_os in
   18773     nonstopux*) version_type=nonstopux ;;
   18774     *)
   18775 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18776 		version_type=linux
   18777 	else
   18778 		version_type=irix
   18779 	fi ;;
   18780   esac
   18781   need_lib_prefix=no
   18782   need_version=no
   18783   soname_spec='${libname}${release}${shared_ext}$major'
   18784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18785   case $host_os in
   18786   irix5* | nonstopux*)
   18787     libsuff= shlibsuff=
   18788     ;;
   18789   *)
   18790     case $LD in # libtool.m4 will add one of these switches to LD
   18791     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18792       libsuff= shlibsuff= libmagic=32-bit;;
   18793     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18794       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18795     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18796       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18797     *) libsuff= shlibsuff= libmagic=never-match;;
   18798     esac
   18799     ;;
   18800   esac
   18801   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18802   shlibpath_overrides_runpath=no
   18803   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18804   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18805   hardcode_into_libs=yes
   18806   ;;
   18807 
   18808 # No shared lib support for Linux oldld, aout, or coff.
   18809 linux*oldld* | linux*aout* | linux*coff*)
   18810   dynamic_linker=no
   18811   ;;
   18812 
   18813 # This must be Linux ELF.
   18814 linux* | k*bsd*-gnu)
   18815   version_type=linux
   18816   need_lib_prefix=no
   18817   need_version=no
   18818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18819   soname_spec='${libname}${release}${shared_ext}$major'
   18820   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18821   shlibpath_var=LD_LIBRARY_PATH
   18822   shlibpath_overrides_runpath=no
   18823   # This implies no fast_install, which is unacceptable.
   18824   # Some rework will be needed to allow for fast_install
   18825   # before this can be enabled.
   18826   hardcode_into_libs=yes
   18827   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18828   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18829 
   18830   # Append ld.so.conf contents to the search path
   18831   if test -f /etc/ld.so.conf; then
   18832     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' ' '`
   18833     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18834   fi
   18835 
   18836   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18837   # powerpc, because MkLinux only supported shared libraries with the
   18838   # GNU dynamic linker.  Since this was broken with cross compilers,
   18839   # most powerpc-linux boxes support dynamic linking these days and
   18840   # people can always --disable-shared, the test was removed, and we
   18841   # assume the GNU/Linux dynamic linker is in use.
   18842   dynamic_linker='GNU/Linux ld.so'
   18843   ;;
   18844 
   18845 netbsd*)
   18846   version_type=sunos
   18847   need_lib_prefix=no
   18848   need_version=no
   18849   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18850     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18851     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18852     dynamic_linker='NetBSD (a.out) ld.so'
   18853   else
   18854     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18855     soname_spec='${libname}${release}${shared_ext}$major'
   18856     dynamic_linker='NetBSD ld.elf_so'
   18857   fi
   18858   shlibpath_var=LD_LIBRARY_PATH
   18859   shlibpath_overrides_runpath=yes
   18860   hardcode_into_libs=yes
   18861   ;;
   18862 
   18863 newsos6)
   18864   version_type=linux
   18865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18866   shlibpath_var=LD_LIBRARY_PATH
   18867   shlibpath_overrides_runpath=yes
   18868   ;;
   18869 
   18870 nto-qnx*)
   18871   version_type=linux
   18872   need_lib_prefix=no
   18873   need_version=no
   18874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18875   soname_spec='${libname}${release}${shared_ext}$major'
   18876   shlibpath_var=LD_LIBRARY_PATH
   18877   shlibpath_overrides_runpath=yes
   18878   ;;
   18879 
   18880 openbsd*)
   18881   version_type=sunos
   18882   sys_lib_dlsearch_path_spec="/usr/lib"
   18883   need_lib_prefix=no
   18884   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18885   case $host_os in
   18886     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18887     *)                         need_version=no  ;;
   18888   esac
   18889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18890   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18891   shlibpath_var=LD_LIBRARY_PATH
   18892   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18893     case $host_os in
   18894       openbsd2.[89] | openbsd2.[89].*)
   18895 	shlibpath_overrides_runpath=no
   18896 	;;
   18897       *)
   18898 	shlibpath_overrides_runpath=yes
   18899 	;;
   18900       esac
   18901   else
   18902     shlibpath_overrides_runpath=yes
   18903   fi
   18904   ;;
   18905 
   18906 os2*)
   18907   libname_spec='$name'
   18908   shrext_cmds=".dll"
   18909   need_lib_prefix=no
   18910   library_names_spec='$libname${shared_ext} $libname.a'
   18911   dynamic_linker='OS/2 ld.exe'
   18912   shlibpath_var=LIBPATH
   18913   ;;
   18914 
   18915 osf3* | osf4* | osf5*)
   18916   version_type=osf
   18917   need_lib_prefix=no
   18918   need_version=no
   18919   soname_spec='${libname}${release}${shared_ext}$major'
   18920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18921   shlibpath_var=LD_LIBRARY_PATH
   18922   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18923   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18924   ;;
   18925 
   18926 rdos*)
   18927   dynamic_linker=no
   18928   ;;
   18929 
   18930 solaris*)
   18931   version_type=linux
   18932   need_lib_prefix=no
   18933   need_version=no
   18934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18935   soname_spec='${libname}${release}${shared_ext}$major'
   18936   shlibpath_var=LD_LIBRARY_PATH
   18937   shlibpath_overrides_runpath=yes
   18938   hardcode_into_libs=yes
   18939   # ldd complains unless libraries are executable
   18940   postinstall_cmds='chmod +x $lib'
   18941   ;;
   18942 
   18943 sunos4*)
   18944   version_type=sunos
   18945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18946   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18947   shlibpath_var=LD_LIBRARY_PATH
   18948   shlibpath_overrides_runpath=yes
   18949   if test "$with_gnu_ld" = yes; then
   18950     need_lib_prefix=no
   18951   fi
   18952   need_version=yes
   18953   ;;
   18954 
   18955 sysv4 | sysv4.3*)
   18956   version_type=linux
   18957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18958   soname_spec='${libname}${release}${shared_ext}$major'
   18959   shlibpath_var=LD_LIBRARY_PATH
   18960   case $host_vendor in
   18961     sni)
   18962       shlibpath_overrides_runpath=no
   18963       need_lib_prefix=no
   18964       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18965       runpath_var=LD_RUN_PATH
   18966       ;;
   18967     siemens)
   18968       need_lib_prefix=no
   18969       ;;
   18970     motorola)
   18971       need_lib_prefix=no
   18972       need_version=no
   18973       shlibpath_overrides_runpath=no
   18974       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18975       ;;
   18976   esac
   18977   ;;
   18978 
   18979 sysv4*MP*)
   18980   if test -d /usr/nec ;then
   18981     version_type=linux
   18982     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18983     soname_spec='$libname${shared_ext}.$major'
   18984     shlibpath_var=LD_LIBRARY_PATH
   18985   fi
   18986   ;;
   18987 
   18988 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18989   version_type=freebsd-elf
   18990   need_lib_prefix=no
   18991   need_version=no
   18992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18993   soname_spec='${libname}${release}${shared_ext}$major'
   18994   shlibpath_var=LD_LIBRARY_PATH
   18995   hardcode_into_libs=yes
   18996   if test "$with_gnu_ld" = yes; then
   18997     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18998     shlibpath_overrides_runpath=no
   18999   else
   19000     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19001     shlibpath_overrides_runpath=yes
   19002     case $host_os in
   19003       sco3.2v5*)
   19004         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19005 	;;
   19006     esac
   19007   fi
   19008   sys_lib_dlsearch_path_spec='/usr/lib'
   19009   ;;
   19010 
   19011 uts4*)
   19012   version_type=linux
   19013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19014   soname_spec='${libname}${release}${shared_ext}$major'
   19015   shlibpath_var=LD_LIBRARY_PATH
   19016   ;;
   19017 
   19018 *)
   19019   dynamic_linker=no
   19020   ;;
   19021 esac
   19022 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19023 $as_echo "$dynamic_linker" >&6; }
   19024 test "$dynamic_linker" = no && can_build_shared=no
   19025 
   19026 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19027   $as_echo_n "(cached) " >&6
   19028 else
   19029   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19030 fi
   19031 
   19032 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19033 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19034   $as_echo_n "(cached) " >&6
   19035 else
   19036   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19037 fi
   19038 
   19039 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19040 
   19041 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19042 if test "$GCC" = yes; then
   19043   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19044 fi
   19045 
   19046 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19047 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19048 hardcode_action_GCJ=
   19049 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19050    test -n "$runpath_var_GCJ" || \
   19051    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19052 
   19053   # We can hardcode non-existant directories.
   19054   if test "$hardcode_direct_GCJ" != no &&
   19055      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19056      # have to relink, otherwise we might link with an installed library
   19057      # when we should be linking with a yet-to-be-installed one
   19058      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19059      test "$hardcode_minus_L_GCJ" != no; then
   19060     # Linking always hardcodes the temporary library directory.
   19061     hardcode_action_GCJ=relink
   19062   else
   19063     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19064     hardcode_action_GCJ=immediate
   19065   fi
   19066 else
   19067   # We cannot hardcode anything, or else we can only hardcode existing
   19068   # directories.
   19069   hardcode_action_GCJ=unsupported
   19070 fi
   19071 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19072 $as_echo "$hardcode_action_GCJ" >&6; }
   19073 
   19074 if test "$hardcode_action_GCJ" = relink; then
   19075   # Fast installation is not supported
   19076   enable_fast_install=no
   19077 elif test "$shlibpath_overrides_runpath" = yes ||
   19078      test "$enable_shared" = no; then
   19079   # Fast installation is not necessary
   19080   enable_fast_install=needless
   19081 fi
   19082 
   19083 
   19084 # The else clause should only fire when bootstrapping the
   19085 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19086 # with your package, and you will get complaints that there are
   19087 # no rules to generate ltmain.sh.
   19088 if test -f "$ltmain"; then
   19089   # See if we are running on zsh, and set the options which allow our commands through
   19090   # without removal of \ escapes.
   19091   if test -n "${ZSH_VERSION+set}" ; then
   19092     setopt NO_GLOB_SUBST
   19093   fi
   19094   # Now quote all the things that may contain metacharacters while being
   19095   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19096   # variables and quote the copies for generation of the libtool script.
   19097   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19098     SED SHELL STRIP \
   19099     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19100     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19101     deplibs_check_method reload_flag reload_cmds need_locks \
   19102     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19103     lt_cv_sys_global_symbol_to_c_name_address \
   19104     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19105     old_postinstall_cmds old_postuninstall_cmds \
   19106     compiler_GCJ \
   19107     CC_GCJ \
   19108     LD_GCJ \
   19109     lt_prog_compiler_wl_GCJ \
   19110     lt_prog_compiler_pic_GCJ \
   19111     lt_prog_compiler_static_GCJ \
   19112     lt_prog_compiler_no_builtin_flag_GCJ \
   19113     export_dynamic_flag_spec_GCJ \
   19114     thread_safe_flag_spec_GCJ \
   19115     whole_archive_flag_spec_GCJ \
   19116     enable_shared_with_static_runtimes_GCJ \
   19117     old_archive_cmds_GCJ \
   19118     old_archive_from_new_cmds_GCJ \
   19119     predep_objects_GCJ \
   19120     postdep_objects_GCJ \
   19121     predeps_GCJ \
   19122     postdeps_GCJ \
   19123     compiler_lib_search_path_GCJ \
   19124     compiler_lib_search_dirs_GCJ \
   19125     archive_cmds_GCJ \
   19126     archive_expsym_cmds_GCJ \
   19127     postinstall_cmds_GCJ \
   19128     postuninstall_cmds_GCJ \
   19129     old_archive_from_expsyms_cmds_GCJ \
   19130     allow_undefined_flag_GCJ \
   19131     no_undefined_flag_GCJ \
   19132     export_symbols_cmds_GCJ \
   19133     hardcode_libdir_flag_spec_GCJ \
   19134     hardcode_libdir_flag_spec_ld_GCJ \
   19135     hardcode_libdir_separator_GCJ \
   19136     hardcode_automatic_GCJ \
   19137     module_cmds_GCJ \
   19138     module_expsym_cmds_GCJ \
   19139     lt_cv_prog_compiler_c_o_GCJ \
   19140     fix_srcfile_path_GCJ \
   19141     exclude_expsyms_GCJ \
   19142     include_expsyms_GCJ; do
   19143 
   19144     case $var in
   19145     old_archive_cmds_GCJ | \
   19146     old_archive_from_new_cmds_GCJ | \
   19147     archive_cmds_GCJ | \
   19148     archive_expsym_cmds_GCJ | \
   19149     module_cmds_GCJ | \
   19150     module_expsym_cmds_GCJ | \
   19151     old_archive_from_expsyms_cmds_GCJ | \
   19152     export_symbols_cmds_GCJ | \
   19153     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19154     postinstall_cmds | postuninstall_cmds | \
   19155     old_postinstall_cmds | old_postuninstall_cmds | \
   19156     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19157       # Double-quote double-evaled strings.
   19158       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19159       ;;
   19160     *)
   19161       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19162       ;;
   19163     esac
   19164   done
   19165 
   19166   case $lt_echo in
   19167   *'\$0 --fallback-echo"')
   19168     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19169     ;;
   19170   esac
   19171 
   19172 cfgfile="$ofile"
   19173 
   19174   cat <<__EOF__ >> "$cfgfile"
   19175 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19176 
   19177 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19178 
   19179 # Shell to use when invoking shell scripts.
   19180 SHELL=$lt_SHELL
   19181 
   19182 # Whether or not to build shared libraries.
   19183 build_libtool_libs=$enable_shared
   19184 
   19185 # Whether or not to build static libraries.
   19186 build_old_libs=$enable_static
   19187 
   19188 # Whether or not to add -lc for building shared libraries.
   19189 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19190 
   19191 # Whether or not to disallow shared libs when runtime libs are static
   19192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19193 
   19194 # Whether or not to optimize for fast installation.
   19195 fast_install=$enable_fast_install
   19196 
   19197 # The host system.
   19198 host_alias=$host_alias
   19199 host=$host
   19200 host_os=$host_os
   19201 
   19202 # The build system.
   19203 build_alias=$build_alias
   19204 build=$build
   19205 build_os=$build_os
   19206 
   19207 # An echo program that does not interpret backslashes.
   19208 echo=$lt_echo
   19209 
   19210 # The archiver.
   19211 AR=$lt_AR
   19212 AR_FLAGS=$lt_AR_FLAGS
   19213 
   19214 # A C compiler.
   19215 LTCC=$lt_LTCC
   19216 
   19217 # LTCC compiler flags.
   19218 LTCFLAGS=$lt_LTCFLAGS
   19219 
   19220 # A language-specific compiler.
   19221 CC=$lt_compiler_GCJ
   19222 
   19223 # Is the compiler the GNU C compiler?
   19224 with_gcc=$GCC_GCJ
   19225 
   19226 # An ERE matcher.
   19227 EGREP=$lt_EGREP
   19228 
   19229 # The linker used to build libraries.
   19230 LD=$lt_LD_GCJ
   19231 
   19232 # Whether we need hard or soft links.
   19233 LN_S=$lt_LN_S
   19234 
   19235 # A BSD-compatible nm program.
   19236 NM=$lt_NM
   19237 
   19238 # A symbol stripping program
   19239 STRIP=$lt_STRIP
   19240 
   19241 # Used to examine libraries when file_magic_cmd begins "file"
   19242 MAGIC_CMD=$MAGIC_CMD
   19243 
   19244 # Used on cygwin: DLL creation program.
   19245 DLLTOOL="$DLLTOOL"
   19246 
   19247 # Used on cygwin: object dumper.
   19248 OBJDUMP="$OBJDUMP"
   19249 
   19250 # Used on cygwin: assembler.
   19251 AS="$AS"
   19252 
   19253 # The name of the directory that contains temporary libtool files.
   19254 objdir=$objdir
   19255 
   19256 # How to create reloadable object files.
   19257 reload_flag=$lt_reload_flag
   19258 reload_cmds=$lt_reload_cmds
   19259 
   19260 # How to pass a linker flag through the compiler.
   19261 wl=$lt_lt_prog_compiler_wl_GCJ
   19262 
   19263 # Object file suffix (normally "o").
   19264 objext="$ac_objext"
   19265 
   19266 # Old archive suffix (normally "a").
   19267 libext="$libext"
   19268 
   19269 # Shared library suffix (normally ".so").
   19270 shrext_cmds='$shrext_cmds'
   19271 
   19272 # Executable file suffix (normally "").
   19273 exeext="$exeext"
   19274 
   19275 # Additional compiler flags for building library objects.
   19276 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19277 pic_mode=$pic_mode
   19278 
   19279 # What is the maximum length of a command?
   19280 max_cmd_len=$lt_cv_sys_max_cmd_len
   19281 
   19282 # Does compiler simultaneously support -c and -o options?
   19283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19284 
   19285 # Must we lock files when doing compilation?
   19286 need_locks=$lt_need_locks
   19287 
   19288 # Do we need the lib prefix for modules?
   19289 need_lib_prefix=$need_lib_prefix
   19290 
   19291 # Do we need a version for libraries?
   19292 need_version=$need_version
   19293 
   19294 # Whether dlopen is supported.
   19295 dlopen_support=$enable_dlopen
   19296 
   19297 # Whether dlopen of programs is supported.
   19298 dlopen_self=$enable_dlopen_self
   19299 
   19300 # Whether dlopen of statically linked programs is supported.
   19301 dlopen_self_static=$enable_dlopen_self_static
   19302 
   19303 # Compiler flag to prevent dynamic linking.
   19304 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19305 
   19306 # Compiler flag to turn off builtin functions.
   19307 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19308 
   19309 # Compiler flag to allow reflexive dlopens.
   19310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19311 
   19312 # Compiler flag to generate shared objects directly from archives.
   19313 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19314 
   19315 # Compiler flag to generate thread-safe objects.
   19316 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19317 
   19318 # Library versioning type.
   19319 version_type=$version_type
   19320 
   19321 # Format of library name prefix.
   19322 libname_spec=$lt_libname_spec
   19323 
   19324 # List of archive names.  First name is the real one, the rest are links.
   19325 # The last name is the one that the linker finds with -lNAME.
   19326 library_names_spec=$lt_library_names_spec
   19327 
   19328 # The coded name of the library, if different from the real name.
   19329 soname_spec=$lt_soname_spec
   19330 
   19331 # Commands used to build and install an old-style archive.
   19332 RANLIB=$lt_RANLIB
   19333 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19334 old_postinstall_cmds=$lt_old_postinstall_cmds
   19335 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19336 
   19337 # Create an old-style archive from a shared archive.
   19338 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19339 
   19340 # Create a temporary old-style archive to link instead of a shared archive.
   19341 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19342 
   19343 # Commands used to build and install a shared archive.
   19344 archive_cmds=$lt_archive_cmds_GCJ
   19345 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19346 postinstall_cmds=$lt_postinstall_cmds
   19347 postuninstall_cmds=$lt_postuninstall_cmds
   19348 
   19349 # Commands used to build a loadable module (assumed same as above if empty)
   19350 module_cmds=$lt_module_cmds_GCJ
   19351 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19352 
   19353 # Commands to strip libraries.
   19354 old_striplib=$lt_old_striplib
   19355 striplib=$lt_striplib
   19356 
   19357 # Dependencies to place before the objects being linked to create a
   19358 # shared library.
   19359 predep_objects=$lt_predep_objects_GCJ
   19360 
   19361 # Dependencies to place after the objects being linked to create a
   19362 # shared library.
   19363 postdep_objects=$lt_postdep_objects_GCJ
   19364 
   19365 # Dependencies to place before the objects being linked to create a
   19366 # shared library.
   19367 predeps=$lt_predeps_GCJ
   19368 
   19369 # Dependencies to place after the objects being linked to create a
   19370 # shared library.
   19371 postdeps=$lt_postdeps_GCJ
   19372 
   19373 # The directories searched by this compiler when creating a shared
   19374 # library
   19375 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19376 
   19377 # The library search path used internally by the compiler when linking
   19378 # a shared library.
   19379 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19380 
   19381 # Method to check whether dependent libraries are shared objects.
   19382 deplibs_check_method=$lt_deplibs_check_method
   19383 
   19384 # Command to use when deplibs_check_method == file_magic.
   19385 file_magic_cmd=$lt_file_magic_cmd
   19386 
   19387 # Flag that allows shared libraries with undefined symbols to be built.
   19388 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19389 
   19390 # Flag that forces no undefined symbols.
   19391 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19392 
   19393 # Commands used to finish a libtool library installation in a directory.
   19394 finish_cmds=$lt_finish_cmds
   19395 
   19396 # Same as above, but a single script fragment to be evaled but not shown.
   19397 finish_eval=$lt_finish_eval
   19398 
   19399 # Take the output of nm and produce a listing of raw symbols and C names.
   19400 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19401 
   19402 # Transform the output of nm in a proper C declaration
   19403 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19404 
   19405 # Transform the output of nm in a C name address pair
   19406 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19407 
   19408 # This is the shared library runtime path variable.
   19409 runpath_var=$runpath_var
   19410 
   19411 # This is the shared library path variable.
   19412 shlibpath_var=$shlibpath_var
   19413 
   19414 # Is shlibpath searched before the hard-coded library search path?
   19415 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19416 
   19417 # How to hardcode a shared library path into an executable.
   19418 hardcode_action=$hardcode_action_GCJ
   19419 
   19420 # Whether we should hardcode library paths into libraries.
   19421 hardcode_into_libs=$hardcode_into_libs
   19422 
   19423 # Flag to hardcode \$libdir into a binary during linking.
   19424 # This must work even if \$libdir does not exist.
   19425 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19426 
   19427 # If ld is used when linking, flag to hardcode \$libdir into
   19428 # a binary during linking. This must work even if \$libdir does
   19429 # not exist.
   19430 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19431 
   19432 # Whether we need a single -rpath flag with a separated argument.
   19433 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19434 
   19435 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19436 # resulting binary.
   19437 hardcode_direct=$hardcode_direct_GCJ
   19438 
   19439 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19440 # resulting binary.
   19441 hardcode_minus_L=$hardcode_minus_L_GCJ
   19442 
   19443 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19444 # the resulting binary.
   19445 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19446 
   19447 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19448 # and all subsequent libraries and executables linked against it.
   19449 hardcode_automatic=$hardcode_automatic_GCJ
   19450 
   19451 # Variables whose values should be saved in libtool wrapper scripts and
   19452 # restored at relink time.
   19453 variables_saved_for_relink="$variables_saved_for_relink"
   19454 
   19455 # Whether libtool must link a program against all its dependency libraries.
   19456 link_all_deplibs=$link_all_deplibs_GCJ
   19457 
   19458 # Compile-time system search path for libraries
   19459 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19460 
   19461 # Run-time system search path for libraries
   19462 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19463 
   19464 # Fix the shell variable \$srcfile for the compiler.
   19465 fix_srcfile_path=$lt_fix_srcfile_path
   19466 
   19467 # Set to yes if exported symbols are required.
   19468 always_export_symbols=$always_export_symbols_GCJ
   19469 
   19470 # The commands to list exported symbols.
   19471 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19472 
   19473 # The commands to extract the exported symbol list from a shared archive.
   19474 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19475 
   19476 # Symbols that should not be listed in the preloaded symbols.
   19477 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19478 
   19479 # Symbols that must always be exported.
   19480 include_expsyms=$lt_include_expsyms_GCJ
   19481 
   19482 # ### END LIBTOOL TAG CONFIG: $tagname
   19483 
   19484 __EOF__
   19485 
   19486 
   19487 else
   19488   # If there is no Makefile yet, we rely on a make rule to execute
   19489   # `config.status --recheck' to rerun these tests and create the
   19490   # libtool script then.
   19491   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19492   if test -f "$ltmain_in"; then
   19493     test -f Makefile && make "$ltmain"
   19494   fi
   19495 fi
   19496 
   19497 
   19498 ac_ext=c
   19499 ac_cpp='$CPP $CPPFLAGS'
   19500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19503 
   19504 CC="$lt_save_CC"
   19505 
   19506 	else
   19507 	  tagname=""
   19508 	fi
   19509 	;;
   19510 
   19511       RC)
   19512 
   19513 
   19514 # Source file extension for RC test sources.
   19515 ac_ext=rc
   19516 
   19517 # Object file extension for compiled RC test sources.
   19518 objext=o
   19519 objext_RC=$objext
   19520 
   19521 # Code to be used in simple compile tests
   19522 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19523 
   19524 # Code to be used in simple link tests
   19525 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19526 
   19527 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19528 
   19529 # If no C compiler was specified, use CC.
   19530 LTCC=${LTCC-"$CC"}
   19531 
   19532 # If no C compiler flags were specified, use CFLAGS.
   19533 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19534 
   19535 # Allow CC to be a program name with arguments.
   19536 compiler=$CC
   19537 
   19538 
   19539 # save warnings/boilerplate of simple test code
   19540 ac_outfile=conftest.$ac_objext
   19541 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19542 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19543 _lt_compiler_boilerplate=`cat conftest.err`
   19544 $rm conftest*
   19545 
   19546 ac_outfile=conftest.$ac_objext
   19547 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19548 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19549 _lt_linker_boilerplate=`cat conftest.err`
   19550 $rm -r conftest*
   19551 
   19552 
   19553 # Allow CC to be a program name with arguments.
   19554 lt_save_CC="$CC"
   19555 CC=${RC-"windres"}
   19556 compiler=$CC
   19557 compiler_RC=$CC
   19558 for cc_temp in $compiler""; do
   19559   case $cc_temp in
   19560     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19561     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19562     \-*) ;;
   19563     *) break;;
   19564   esac
   19565 done
   19566 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19567 
   19568 lt_cv_prog_compiler_c_o_RC=yes
   19569 
   19570 # The else clause should only fire when bootstrapping the
   19571 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19572 # with your package, and you will get complaints that there are
   19573 # no rules to generate ltmain.sh.
   19574 if test -f "$ltmain"; then
   19575   # See if we are running on zsh, and set the options which allow our commands through
   19576   # without removal of \ escapes.
   19577   if test -n "${ZSH_VERSION+set}" ; then
   19578     setopt NO_GLOB_SUBST
   19579   fi
   19580   # Now quote all the things that may contain metacharacters while being
   19581   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19582   # variables and quote the copies for generation of the libtool script.
   19583   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19584     SED SHELL STRIP \
   19585     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19586     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19587     deplibs_check_method reload_flag reload_cmds need_locks \
   19588     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19589     lt_cv_sys_global_symbol_to_c_name_address \
   19590     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19591     old_postinstall_cmds old_postuninstall_cmds \
   19592     compiler_RC \
   19593     CC_RC \
   19594     LD_RC \
   19595     lt_prog_compiler_wl_RC \
   19596     lt_prog_compiler_pic_RC \
   19597     lt_prog_compiler_static_RC \
   19598     lt_prog_compiler_no_builtin_flag_RC \
   19599     export_dynamic_flag_spec_RC \
   19600     thread_safe_flag_spec_RC \
   19601     whole_archive_flag_spec_RC \
   19602     enable_shared_with_static_runtimes_RC \
   19603     old_archive_cmds_RC \
   19604     old_archive_from_new_cmds_RC \
   19605     predep_objects_RC \
   19606     postdep_objects_RC \
   19607     predeps_RC \
   19608     postdeps_RC \
   19609     compiler_lib_search_path_RC \
   19610     compiler_lib_search_dirs_RC \
   19611     archive_cmds_RC \
   19612     archive_expsym_cmds_RC \
   19613     postinstall_cmds_RC \
   19614     postuninstall_cmds_RC \
   19615     old_archive_from_expsyms_cmds_RC \
   19616     allow_undefined_flag_RC \
   19617     no_undefined_flag_RC \
   19618     export_symbols_cmds_RC \
   19619     hardcode_libdir_flag_spec_RC \
   19620     hardcode_libdir_flag_spec_ld_RC \
   19621     hardcode_libdir_separator_RC \
   19622     hardcode_automatic_RC \
   19623     module_cmds_RC \
   19624     module_expsym_cmds_RC \
   19625     lt_cv_prog_compiler_c_o_RC \
   19626     fix_srcfile_path_RC \
   19627     exclude_expsyms_RC \
   19628     include_expsyms_RC; do
   19629 
   19630     case $var in
   19631     old_archive_cmds_RC | \
   19632     old_archive_from_new_cmds_RC | \
   19633     archive_cmds_RC | \
   19634     archive_expsym_cmds_RC | \
   19635     module_cmds_RC | \
   19636     module_expsym_cmds_RC | \
   19637     old_archive_from_expsyms_cmds_RC | \
   19638     export_symbols_cmds_RC | \
   19639     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19640     postinstall_cmds | postuninstall_cmds | \
   19641     old_postinstall_cmds | old_postuninstall_cmds | \
   19642     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19643       # Double-quote double-evaled strings.
   19644       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19645       ;;
   19646     *)
   19647       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19648       ;;
   19649     esac
   19650   done
   19651 
   19652   case $lt_echo in
   19653   *'\$0 --fallback-echo"')
   19654     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19655     ;;
   19656   esac
   19657 
   19658 cfgfile="$ofile"
   19659 
   19660   cat <<__EOF__ >> "$cfgfile"
   19661 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19662 
   19663 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19664 
   19665 # Shell to use when invoking shell scripts.
   19666 SHELL=$lt_SHELL
   19667 
   19668 # Whether or not to build shared libraries.
   19669 build_libtool_libs=$enable_shared
   19670 
   19671 # Whether or not to build static libraries.
   19672 build_old_libs=$enable_static
   19673 
   19674 # Whether or not to add -lc for building shared libraries.
   19675 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19676 
   19677 # Whether or not to disallow shared libs when runtime libs are static
   19678 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19679 
   19680 # Whether or not to optimize for fast installation.
   19681 fast_install=$enable_fast_install
   19682 
   19683 # The host system.
   19684 host_alias=$host_alias
   19685 host=$host
   19686 host_os=$host_os
   19687 
   19688 # The build system.
   19689 build_alias=$build_alias
   19690 build=$build
   19691 build_os=$build_os
   19692 
   19693 # An echo program that does not interpret backslashes.
   19694 echo=$lt_echo
   19695 
   19696 # The archiver.
   19697 AR=$lt_AR
   19698 AR_FLAGS=$lt_AR_FLAGS
   19699 
   19700 # A C compiler.
   19701 LTCC=$lt_LTCC
   19702 
   19703 # LTCC compiler flags.
   19704 LTCFLAGS=$lt_LTCFLAGS
   19705 
   19706 # A language-specific compiler.
   19707 CC=$lt_compiler_RC
   19708 
   19709 # Is the compiler the GNU C compiler?
   19710 with_gcc=$GCC_RC
   19711 
   19712 # An ERE matcher.
   19713 EGREP=$lt_EGREP
   19714 
   19715 # The linker used to build libraries.
   19716 LD=$lt_LD_RC
   19717 
   19718 # Whether we need hard or soft links.
   19719 LN_S=$lt_LN_S
   19720 
   19721 # A BSD-compatible nm program.
   19722 NM=$lt_NM
   19723 
   19724 # A symbol stripping program
   19725 STRIP=$lt_STRIP
   19726 
   19727 # Used to examine libraries when file_magic_cmd begins "file"
   19728 MAGIC_CMD=$MAGIC_CMD
   19729 
   19730 # Used on cygwin: DLL creation program.
   19731 DLLTOOL="$DLLTOOL"
   19732 
   19733 # Used on cygwin: object dumper.
   19734 OBJDUMP="$OBJDUMP"
   19735 
   19736 # Used on cygwin: assembler.
   19737 AS="$AS"
   19738 
   19739 # The name of the directory that contains temporary libtool files.
   19740 objdir=$objdir
   19741 
   19742 # How to create reloadable object files.
   19743 reload_flag=$lt_reload_flag
   19744 reload_cmds=$lt_reload_cmds
   19745 
   19746 # How to pass a linker flag through the compiler.
   19747 wl=$lt_lt_prog_compiler_wl_RC
   19748 
   19749 # Object file suffix (normally "o").
   19750 objext="$ac_objext"
   19751 
   19752 # Old archive suffix (normally "a").
   19753 libext="$libext"
   19754 
   19755 # Shared library suffix (normally ".so").
   19756 shrext_cmds='$shrext_cmds'
   19757 
   19758 # Executable file suffix (normally "").
   19759 exeext="$exeext"
   19760 
   19761 # Additional compiler flags for building library objects.
   19762 pic_flag=$lt_lt_prog_compiler_pic_RC
   19763 pic_mode=$pic_mode
   19764 
   19765 # What is the maximum length of a command?
   19766 max_cmd_len=$lt_cv_sys_max_cmd_len
   19767 
   19768 # Does compiler simultaneously support -c and -o options?
   19769 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19770 
   19771 # Must we lock files when doing compilation?
   19772 need_locks=$lt_need_locks
   19773 
   19774 # Do we need the lib prefix for modules?
   19775 need_lib_prefix=$need_lib_prefix
   19776 
   19777 # Do we need a version for libraries?
   19778 need_version=$need_version
   19779 
   19780 # Whether dlopen is supported.
   19781 dlopen_support=$enable_dlopen
   19782 
   19783 # Whether dlopen of programs is supported.
   19784 dlopen_self=$enable_dlopen_self
   19785 
   19786 # Whether dlopen of statically linked programs is supported.
   19787 dlopen_self_static=$enable_dlopen_self_static
   19788 
   19789 # Compiler flag to prevent dynamic linking.
   19790 link_static_flag=$lt_lt_prog_compiler_static_RC
   19791 
   19792 # Compiler flag to turn off builtin functions.
   19793 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19794 
   19795 # Compiler flag to allow reflexive dlopens.
   19796 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19797 
   19798 # Compiler flag to generate shared objects directly from archives.
   19799 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19800 
   19801 # Compiler flag to generate thread-safe objects.
   19802 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19803 
   19804 # Library versioning type.
   19805 version_type=$version_type
   19806 
   19807 # Format of library name prefix.
   19808 libname_spec=$lt_libname_spec
   19809 
   19810 # List of archive names.  First name is the real one, the rest are links.
   19811 # The last name is the one that the linker finds with -lNAME.
   19812 library_names_spec=$lt_library_names_spec
   19813 
   19814 # The coded name of the library, if different from the real name.
   19815 soname_spec=$lt_soname_spec
   19816 
   19817 # Commands used to build and install an old-style archive.
   19818 RANLIB=$lt_RANLIB
   19819 old_archive_cmds=$lt_old_archive_cmds_RC
   19820 old_postinstall_cmds=$lt_old_postinstall_cmds
   19821 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19822 
   19823 # Create an old-style archive from a shared archive.
   19824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19825 
   19826 # Create a temporary old-style archive to link instead of a shared archive.
   19827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19828 
   19829 # Commands used to build and install a shared archive.
   19830 archive_cmds=$lt_archive_cmds_RC
   19831 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19832 postinstall_cmds=$lt_postinstall_cmds
   19833 postuninstall_cmds=$lt_postuninstall_cmds
   19834 
   19835 # Commands used to build a loadable module (assumed same as above if empty)
   19836 module_cmds=$lt_module_cmds_RC
   19837 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19838 
   19839 # Commands to strip libraries.
   19840 old_striplib=$lt_old_striplib
   19841 striplib=$lt_striplib
   19842 
   19843 # Dependencies to place before the objects being linked to create a
   19844 # shared library.
   19845 predep_objects=$lt_predep_objects_RC
   19846 
   19847 # Dependencies to place after the objects being linked to create a
   19848 # shared library.
   19849 postdep_objects=$lt_postdep_objects_RC
   19850 
   19851 # Dependencies to place before the objects being linked to create a
   19852 # shared library.
   19853 predeps=$lt_predeps_RC
   19854 
   19855 # Dependencies to place after the objects being linked to create a
   19856 # shared library.
   19857 postdeps=$lt_postdeps_RC
   19858 
   19859 # The directories searched by this compiler when creating a shared
   19860 # library
   19861 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19862 
   19863 # The library search path used internally by the compiler when linking
   19864 # a shared library.
   19865 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19866 
   19867 # Method to check whether dependent libraries are shared objects.
   19868 deplibs_check_method=$lt_deplibs_check_method
   19869 
   19870 # Command to use when deplibs_check_method == file_magic.
   19871 file_magic_cmd=$lt_file_magic_cmd
   19872 
   19873 # Flag that allows shared libraries with undefined symbols to be built.
   19874 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19875 
   19876 # Flag that forces no undefined symbols.
   19877 no_undefined_flag=$lt_no_undefined_flag_RC
   19878 
   19879 # Commands used to finish a libtool library installation in a directory.
   19880 finish_cmds=$lt_finish_cmds
   19881 
   19882 # Same as above, but a single script fragment to be evaled but not shown.
   19883 finish_eval=$lt_finish_eval
   19884 
   19885 # Take the output of nm and produce a listing of raw symbols and C names.
   19886 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19887 
   19888 # Transform the output of nm in a proper C declaration
   19889 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19890 
   19891 # Transform the output of nm in a C name address pair
   19892 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19893 
   19894 # This is the shared library runtime path variable.
   19895 runpath_var=$runpath_var
   19896 
   19897 # This is the shared library path variable.
   19898 shlibpath_var=$shlibpath_var
   19899 
   19900 # Is shlibpath searched before the hard-coded library search path?
   19901 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19902 
   19903 # How to hardcode a shared library path into an executable.
   19904 hardcode_action=$hardcode_action_RC
   19905 
   19906 # Whether we should hardcode library paths into libraries.
   19907 hardcode_into_libs=$hardcode_into_libs
   19908 
   19909 # Flag to hardcode \$libdir into a binary during linking.
   19910 # This must work even if \$libdir does not exist.
   19911 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19912 
   19913 # If ld is used when linking, flag to hardcode \$libdir into
   19914 # a binary during linking. This must work even if \$libdir does
   19915 # not exist.
   19916 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19917 
   19918 # Whether we need a single -rpath flag with a separated argument.
   19919 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19920 
   19921 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19922 # resulting binary.
   19923 hardcode_direct=$hardcode_direct_RC
   19924 
   19925 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19926 # resulting binary.
   19927 hardcode_minus_L=$hardcode_minus_L_RC
   19928 
   19929 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19930 # the resulting binary.
   19931 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19932 
   19933 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19934 # and all subsequent libraries and executables linked against it.
   19935 hardcode_automatic=$hardcode_automatic_RC
   19936 
   19937 # Variables whose values should be saved in libtool wrapper scripts and
   19938 # restored at relink time.
   19939 variables_saved_for_relink="$variables_saved_for_relink"
   19940 
   19941 # Whether libtool must link a program against all its dependency libraries.
   19942 link_all_deplibs=$link_all_deplibs_RC
   19943 
   19944 # Compile-time system search path for libraries
   19945 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19946 
   19947 # Run-time system search path for libraries
   19948 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19949 
   19950 # Fix the shell variable \$srcfile for the compiler.
   19951 fix_srcfile_path=$lt_fix_srcfile_path
   19952 
   19953 # Set to yes if exported symbols are required.
   19954 always_export_symbols=$always_export_symbols_RC
   19955 
   19956 # The commands to list exported symbols.
   19957 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19958 
   19959 # The commands to extract the exported symbol list from a shared archive.
   19960 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19961 
   19962 # Symbols that should not be listed in the preloaded symbols.
   19963 exclude_expsyms=$lt_exclude_expsyms_RC
   19964 
   19965 # Symbols that must always be exported.
   19966 include_expsyms=$lt_include_expsyms_RC
   19967 
   19968 # ### END LIBTOOL TAG CONFIG: $tagname
   19969 
   19970 __EOF__
   19971 
   19972 
   19973 else
   19974   # If there is no Makefile yet, we rely on a make rule to execute
   19975   # `config.status --recheck' to rerun these tests and create the
   19976   # libtool script then.
   19977   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19978   if test -f "$ltmain_in"; then
   19979     test -f Makefile && make "$ltmain"
   19980   fi
   19981 fi
   19982 
   19983 
   19984 ac_ext=c
   19985 ac_cpp='$CPP $CPPFLAGS'
   19986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19989 
   19990 CC="$lt_save_CC"
   19991 
   19992 	;;
   19993 
   19994       *)
   19995 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19996 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19997    { (exit 1); exit 1; }; }
   19998 	;;
   19999       esac
   20000 
   20001       # Append the new tag name to the list of available tags.
   20002       if test -n "$tagname" ; then
   20003       available_tags="$available_tags $tagname"
   20004     fi
   20005     fi
   20006   done
   20007   IFS="$lt_save_ifs"
   20008 
   20009   # Now substitute the updated list of available tags.
   20010   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20011     mv "${ofile}T" "$ofile"
   20012     chmod +x "$ofile"
   20013   else
   20014     rm -f "${ofile}T"
   20015     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20016 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20017    { (exit 1); exit 1; }; }
   20018   fi
   20019 fi
   20020 
   20021 
   20022 
   20023 # This can be used to rebuild libtool when needed
   20024 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20025 
   20026 # Always use our own libtool.
   20027 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20028 
   20029 # Prevent multiple expansion
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 
   20049 
   20050 ac_ext=c
   20051 ac_cpp='$CPP $CPPFLAGS'
   20052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20055 if test -n "$ac_tool_prefix"; then
   20056   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20057 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20059 $as_echo_n "checking for $ac_word... " >&6; }
   20060 if test "${ac_cv_prog_CC+set}" = set; then
   20061   $as_echo_n "(cached) " >&6
   20062 else
   20063   if test -n "$CC"; then
   20064   ac_cv_prog_CC="$CC" # Let the user override the test.
   20065 else
   20066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20067 for as_dir in $PATH
   20068 do
   20069   IFS=$as_save_IFS
   20070   test -z "$as_dir" && as_dir=.
   20071   for ac_exec_ext in '' $ac_executable_extensions; do
   20072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20073     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20074     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20075     break 2
   20076   fi
   20077 done
   20078 done
   20079 IFS=$as_save_IFS
   20080 
   20081 fi
   20082 fi
   20083 CC=$ac_cv_prog_CC
   20084 if test -n "$CC"; then
   20085   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20086 $as_echo "$CC" >&6; }
   20087 else
   20088   { $as_echo "$as_me:$LINENO: result: no" >&5
   20089 $as_echo "no" >&6; }
   20090 fi
   20091 
   20092 
   20093 fi
   20094 if test -z "$ac_cv_prog_CC"; then
   20095   ac_ct_CC=$CC
   20096   # Extract the first word of "gcc", so it can be a program name with args.
   20097 set dummy gcc; ac_word=$2
   20098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20099 $as_echo_n "checking for $ac_word... " >&6; }
   20100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20101   $as_echo_n "(cached) " >&6
   20102 else
   20103   if test -n "$ac_ct_CC"; then
   20104   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20105 else
   20106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20107 for as_dir in $PATH
   20108 do
   20109   IFS=$as_save_IFS
   20110   test -z "$as_dir" && as_dir=.
   20111   for ac_exec_ext in '' $ac_executable_extensions; do
   20112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20113     ac_cv_prog_ac_ct_CC="gcc"
   20114     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20115     break 2
   20116   fi
   20117 done
   20118 done
   20119 IFS=$as_save_IFS
   20120 
   20121 fi
   20122 fi
   20123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20124 if test -n "$ac_ct_CC"; then
   20125   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20126 $as_echo "$ac_ct_CC" >&6; }
   20127 else
   20128   { $as_echo "$as_me:$LINENO: result: no" >&5
   20129 $as_echo "no" >&6; }
   20130 fi
   20131 
   20132   if test "x$ac_ct_CC" = x; then
   20133     CC=""
   20134   else
   20135     case $cross_compiling:$ac_tool_warned in
   20136 yes:)
   20137 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20139 ac_tool_warned=yes ;;
   20140 esac
   20141     CC=$ac_ct_CC
   20142   fi
   20143 else
   20144   CC="$ac_cv_prog_CC"
   20145 fi
   20146 
   20147 if test -z "$CC"; then
   20148           if test -n "$ac_tool_prefix"; then
   20149     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20150 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20152 $as_echo_n "checking for $ac_word... " >&6; }
   20153 if test "${ac_cv_prog_CC+set}" = set; then
   20154   $as_echo_n "(cached) " >&6
   20155 else
   20156   if test -n "$CC"; then
   20157   ac_cv_prog_CC="$CC" # Let the user override the test.
   20158 else
   20159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20160 for as_dir in $PATH
   20161 do
   20162   IFS=$as_save_IFS
   20163   test -z "$as_dir" && as_dir=.
   20164   for ac_exec_ext in '' $ac_executable_extensions; do
   20165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20166     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20167     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20168     break 2
   20169   fi
   20170 done
   20171 done
   20172 IFS=$as_save_IFS
   20173 
   20174 fi
   20175 fi
   20176 CC=$ac_cv_prog_CC
   20177 if test -n "$CC"; then
   20178   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20179 $as_echo "$CC" >&6; }
   20180 else
   20181   { $as_echo "$as_me:$LINENO: result: no" >&5
   20182 $as_echo "no" >&6; }
   20183 fi
   20184 
   20185 
   20186   fi
   20187 fi
   20188 if test -z "$CC"; then
   20189   # Extract the first word of "cc", so it can be a program name with args.
   20190 set dummy cc; ac_word=$2
   20191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20192 $as_echo_n "checking for $ac_word... " >&6; }
   20193 if test "${ac_cv_prog_CC+set}" = set; then
   20194   $as_echo_n "(cached) " >&6
   20195 else
   20196   if test -n "$CC"; then
   20197   ac_cv_prog_CC="$CC" # Let the user override the test.
   20198 else
   20199   ac_prog_rejected=no
   20200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20201 for as_dir in $PATH
   20202 do
   20203   IFS=$as_save_IFS
   20204   test -z "$as_dir" && as_dir=.
   20205   for ac_exec_ext in '' $ac_executable_extensions; do
   20206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20207     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20208        ac_prog_rejected=yes
   20209        continue
   20210      fi
   20211     ac_cv_prog_CC="cc"
   20212     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20213     break 2
   20214   fi
   20215 done
   20216 done
   20217 IFS=$as_save_IFS
   20218 
   20219 if test $ac_prog_rejected = yes; then
   20220   # We found a bogon in the path, so make sure we never use it.
   20221   set dummy $ac_cv_prog_CC
   20222   shift
   20223   if test $# != 0; then
   20224     # We chose a different compiler from the bogus one.
   20225     # However, it has the same basename, so the bogon will be chosen
   20226     # first if we set CC to just the basename; use the full file name.
   20227     shift
   20228     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20229   fi
   20230 fi
   20231 fi
   20232 fi
   20233 CC=$ac_cv_prog_CC
   20234 if test -n "$CC"; then
   20235   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20236 $as_echo "$CC" >&6; }
   20237 else
   20238   { $as_echo "$as_me:$LINENO: result: no" >&5
   20239 $as_echo "no" >&6; }
   20240 fi
   20241 
   20242 
   20243 fi
   20244 if test -z "$CC"; then
   20245   if test -n "$ac_tool_prefix"; then
   20246   for ac_prog in cl.exe
   20247   do
   20248     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20251 $as_echo_n "checking for $ac_word... " >&6; }
   20252 if test "${ac_cv_prog_CC+set}" = set; then
   20253   $as_echo_n "(cached) " >&6
   20254 else
   20255   if test -n "$CC"; then
   20256   ac_cv_prog_CC="$CC" # Let the user override the test.
   20257 else
   20258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20259 for as_dir in $PATH
   20260 do
   20261   IFS=$as_save_IFS
   20262   test -z "$as_dir" && as_dir=.
   20263   for ac_exec_ext in '' $ac_executable_extensions; do
   20264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20265     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20266     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20267     break 2
   20268   fi
   20269 done
   20270 done
   20271 IFS=$as_save_IFS
   20272 
   20273 fi
   20274 fi
   20275 CC=$ac_cv_prog_CC
   20276 if test -n "$CC"; then
   20277   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20278 $as_echo "$CC" >&6; }
   20279 else
   20280   { $as_echo "$as_me:$LINENO: result: no" >&5
   20281 $as_echo "no" >&6; }
   20282 fi
   20283 
   20284 
   20285     test -n "$CC" && break
   20286   done
   20287 fi
   20288 if test -z "$CC"; then
   20289   ac_ct_CC=$CC
   20290   for ac_prog in cl.exe
   20291 do
   20292   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20293 set dummy $ac_prog; ac_word=$2
   20294 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20295 $as_echo_n "checking for $ac_word... " >&6; }
   20296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20297   $as_echo_n "(cached) " >&6
   20298 else
   20299   if test -n "$ac_ct_CC"; then
   20300   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20301 else
   20302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20303 for as_dir in $PATH
   20304 do
   20305   IFS=$as_save_IFS
   20306   test -z "$as_dir" && as_dir=.
   20307   for ac_exec_ext in '' $ac_executable_extensions; do
   20308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20309     ac_cv_prog_ac_ct_CC="$ac_prog"
   20310     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20311     break 2
   20312   fi
   20313 done
   20314 done
   20315 IFS=$as_save_IFS
   20316 
   20317 fi
   20318 fi
   20319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20320 if test -n "$ac_ct_CC"; then
   20321   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20322 $as_echo "$ac_ct_CC" >&6; }
   20323 else
   20324   { $as_echo "$as_me:$LINENO: result: no" >&5
   20325 $as_echo "no" >&6; }
   20326 fi
   20327 
   20328 
   20329   test -n "$ac_ct_CC" && break
   20330 done
   20331 
   20332   if test "x$ac_ct_CC" = x; then
   20333     CC=""
   20334   else
   20335     case $cross_compiling:$ac_tool_warned in
   20336 yes:)
   20337 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20339 ac_tool_warned=yes ;;
   20340 esac
   20341     CC=$ac_ct_CC
   20342   fi
   20343 fi
   20344 
   20345 fi
   20346 
   20347 
   20348 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20350 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20351 See \`config.log' for more details." >&5
   20352 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20353 See \`config.log' for more details." >&2;}
   20354    { (exit 1); exit 1; }; }; }
   20355 
   20356 # Provide some information about the compiler.
   20357 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20358 set X $ac_compile
   20359 ac_compiler=$2
   20360 { (ac_try="$ac_compiler --version >&5"
   20361 case "(($ac_try" in
   20362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20363   *) ac_try_echo=$ac_try;;
   20364 esac
   20365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20366 $as_echo "$ac_try_echo") >&5
   20367   (eval "$ac_compiler --version >&5") 2>&5
   20368   ac_status=$?
   20369   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20370   (exit $ac_status); }
   20371 { (ac_try="$ac_compiler -v >&5"
   20372 case "(($ac_try" in
   20373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20374   *) ac_try_echo=$ac_try;;
   20375 esac
   20376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20377 $as_echo "$ac_try_echo") >&5
   20378   (eval "$ac_compiler -v >&5") 2>&5
   20379   ac_status=$?
   20380   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20381   (exit $ac_status); }
   20382 { (ac_try="$ac_compiler -V >&5"
   20383 case "(($ac_try" in
   20384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20385   *) ac_try_echo=$ac_try;;
   20386 esac
   20387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20388 $as_echo "$ac_try_echo") >&5
   20389   (eval "$ac_compiler -V >&5") 2>&5
   20390   ac_status=$?
   20391   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20392   (exit $ac_status); }
   20393 
   20394 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20395 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20396 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20397   $as_echo_n "(cached) " >&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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20424 $as_echo "$ac_try_echo") >&5
   20425   (eval "$ac_compile") 2>conftest.er1
   20426   ac_status=$?
   20427   grep -v '^ *+' conftest.er1 >conftest.err
   20428   rm -f conftest.er1
   20429   cat conftest.err >&5
   20430   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20431   (exit $ac_status); } && {
   20432 	 test -z "$ac_c_werror_flag" ||
   20433 	 test ! -s conftest.err
   20434        } && test -s conftest.$ac_objext; then
   20435   ac_compiler_gnu=yes
   20436 else
   20437   $as_echo "$as_me: failed program was:" >&5
   20438 sed 's/^/| /' conftest.$ac_ext >&5
   20439 
   20440 	ac_compiler_gnu=no
   20441 fi
   20442 
   20443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20444 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20445 
   20446 fi
   20447 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20448 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20449 if test $ac_compiler_gnu = yes; then
   20450   GCC=yes
   20451 else
   20452   GCC=
   20453 fi
   20454 ac_test_CFLAGS=${CFLAGS+set}
   20455 ac_save_CFLAGS=$CFLAGS
   20456 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20457 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20458 if test "${ac_cv_prog_cc_g+set}" = set; then
   20459   $as_echo_n "(cached) " >&6
   20460 else
   20461   ac_save_c_werror_flag=$ac_c_werror_flag
   20462    ac_c_werror_flag=yes
   20463    ac_cv_prog_cc_g=no
   20464    CFLAGS="-g"
   20465    cat >conftest.$ac_ext <<_ACEOF
   20466 /* confdefs.h.  */
   20467 _ACEOF
   20468 cat confdefs.h >>conftest.$ac_ext
   20469 cat >>conftest.$ac_ext <<_ACEOF
   20470 /* end confdefs.h.  */
   20471 
   20472 int
   20473 main ()
   20474 {
   20475 
   20476   ;
   20477   return 0;
   20478 }
   20479 _ACEOF
   20480 rm -f conftest.$ac_objext
   20481 if { (ac_try="$ac_compile"
   20482 case "(($ac_try" in
   20483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20484   *) ac_try_echo=$ac_try;;
   20485 esac
   20486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20487 $as_echo "$ac_try_echo") >&5
   20488   (eval "$ac_compile") 2>conftest.er1
   20489   ac_status=$?
   20490   grep -v '^ *+' conftest.er1 >conftest.err
   20491   rm -f conftest.er1
   20492   cat conftest.err >&5
   20493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20494   (exit $ac_status); } && {
   20495 	 test -z "$ac_c_werror_flag" ||
   20496 	 test ! -s conftest.err
   20497        } && test -s conftest.$ac_objext; then
   20498   ac_cv_prog_cc_g=yes
   20499 else
   20500   $as_echo "$as_me: failed program was:" >&5
   20501 sed 's/^/| /' conftest.$ac_ext >&5
   20502 
   20503 	CFLAGS=""
   20504       cat >conftest.$ac_ext <<_ACEOF
   20505 /* confdefs.h.  */
   20506 _ACEOF
   20507 cat confdefs.h >>conftest.$ac_ext
   20508 cat >>conftest.$ac_ext <<_ACEOF
   20509 /* end confdefs.h.  */
   20510 
   20511 int
   20512 main ()
   20513 {
   20514 
   20515   ;
   20516   return 0;
   20517 }
   20518 _ACEOF
   20519 rm -f conftest.$ac_objext
   20520 if { (ac_try="$ac_compile"
   20521 case "(($ac_try" in
   20522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20523   *) ac_try_echo=$ac_try;;
   20524 esac
   20525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20526 $as_echo "$ac_try_echo") >&5
   20527   (eval "$ac_compile") 2>conftest.er1
   20528   ac_status=$?
   20529   grep -v '^ *+' conftest.er1 >conftest.err
   20530   rm -f conftest.er1
   20531   cat conftest.err >&5
   20532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20533   (exit $ac_status); } && {
   20534 	 test -z "$ac_c_werror_flag" ||
   20535 	 test ! -s conftest.err
   20536        } && test -s conftest.$ac_objext; then
   20537   :
   20538 else
   20539   $as_echo "$as_me: failed program was:" >&5
   20540 sed 's/^/| /' conftest.$ac_ext >&5
   20541 
   20542 	ac_c_werror_flag=$ac_save_c_werror_flag
   20543 	 CFLAGS="-g"
   20544 	 cat >conftest.$ac_ext <<_ACEOF
   20545 /* confdefs.h.  */
   20546 _ACEOF
   20547 cat confdefs.h >>conftest.$ac_ext
   20548 cat >>conftest.$ac_ext <<_ACEOF
   20549 /* end confdefs.h.  */
   20550 
   20551 int
   20552 main ()
   20553 {
   20554 
   20555   ;
   20556   return 0;
   20557 }
   20558 _ACEOF
   20559 rm -f conftest.$ac_objext
   20560 if { (ac_try="$ac_compile"
   20561 case "(($ac_try" in
   20562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20563   *) ac_try_echo=$ac_try;;
   20564 esac
   20565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20566 $as_echo "$ac_try_echo") >&5
   20567   (eval "$ac_compile") 2>conftest.er1
   20568   ac_status=$?
   20569   grep -v '^ *+' conftest.er1 >conftest.err
   20570   rm -f conftest.er1
   20571   cat conftest.err >&5
   20572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20573   (exit $ac_status); } && {
   20574 	 test -z "$ac_c_werror_flag" ||
   20575 	 test ! -s conftest.err
   20576        } && test -s conftest.$ac_objext; then
   20577   ac_cv_prog_cc_g=yes
   20578 else
   20579   $as_echo "$as_me: failed program was:" >&5
   20580 sed 's/^/| /' conftest.$ac_ext >&5
   20581 
   20582 
   20583 fi
   20584 
   20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20586 fi
   20587 
   20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20589 fi
   20590 
   20591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20592    ac_c_werror_flag=$ac_save_c_werror_flag
   20593 fi
   20594 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20595 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20596 if test "$ac_test_CFLAGS" = set; then
   20597   CFLAGS=$ac_save_CFLAGS
   20598 elif test $ac_cv_prog_cc_g = yes; then
   20599   if test "$GCC" = yes; then
   20600     CFLAGS="-g -O2"
   20601   else
   20602     CFLAGS="-g"
   20603   fi
   20604 else
   20605   if test "$GCC" = yes; then
   20606     CFLAGS="-O2"
   20607   else
   20608     CFLAGS=
   20609   fi
   20610 fi
   20611 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20612 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20613 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20614   $as_echo_n "(cached) " >&6
   20615 else
   20616   ac_cv_prog_cc_c89=no
   20617 ac_save_CC=$CC
   20618 cat >conftest.$ac_ext <<_ACEOF
   20619 /* confdefs.h.  */
   20620 _ACEOF
   20621 cat confdefs.h >>conftest.$ac_ext
   20622 cat >>conftest.$ac_ext <<_ACEOF
   20623 /* end confdefs.h.  */
   20624 #include <stdarg.h>
   20625 #include <stdio.h>
   20626 #include <sys/types.h>
   20627 #include <sys/stat.h>
   20628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20629 struct buf { int x; };
   20630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20631 static char *e (p, i)
   20632      char **p;
   20633      int i;
   20634 {
   20635   return p[i];
   20636 }
   20637 static char *f (char * (*g) (char **, int), char **p, ...)
   20638 {
   20639   char *s;
   20640   va_list v;
   20641   va_start (v,p);
   20642   s = g (p, va_arg (v,int));
   20643   va_end (v);
   20644   return s;
   20645 }
   20646 
   20647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20648    function prototypes and stuff, but not '\xHH' hex character constants.
   20649    These don't provoke an error unfortunately, instead are silently treated
   20650    as 'x'.  The following induces an error, until -std is added to get
   20651    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20652    array size at least.  It's necessary to write '\x00'==0 to get something
   20653    that's true only with -std.  */
   20654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20655 
   20656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20657    inside strings and character constants.  */
   20658 #define FOO(x) 'x'
   20659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20660 
   20661 int test (int i, double x);
   20662 struct s1 {int (*f) (int a);};
   20663 struct s2 {int (*f) (double a);};
   20664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20665 int argc;
   20666 char **argv;
   20667 int
   20668 main ()
   20669 {
   20670 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20671   ;
   20672   return 0;
   20673 }
   20674 _ACEOF
   20675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20676 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20677 do
   20678   CC="$ac_save_CC $ac_arg"
   20679   rm -f conftest.$ac_objext
   20680 if { (ac_try="$ac_compile"
   20681 case "(($ac_try" in
   20682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20683   *) ac_try_echo=$ac_try;;
   20684 esac
   20685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20686 $as_echo "$ac_try_echo") >&5
   20687   (eval "$ac_compile") 2>conftest.er1
   20688   ac_status=$?
   20689   grep -v '^ *+' conftest.er1 >conftest.err
   20690   rm -f conftest.er1
   20691   cat conftest.err >&5
   20692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20693   (exit $ac_status); } && {
   20694 	 test -z "$ac_c_werror_flag" ||
   20695 	 test ! -s conftest.err
   20696        } && test -s conftest.$ac_objext; then
   20697   ac_cv_prog_cc_c89=$ac_arg
   20698 else
   20699   $as_echo "$as_me: failed program was:" >&5
   20700 sed 's/^/| /' conftest.$ac_ext >&5
   20701 
   20702 
   20703 fi
   20704 
   20705 rm -f core conftest.err conftest.$ac_objext
   20706   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20707 done
   20708 rm -f conftest.$ac_ext
   20709 CC=$ac_save_CC
   20710 
   20711 fi
   20712 # AC_CACHE_VAL
   20713 case "x$ac_cv_prog_cc_c89" in
   20714   x)
   20715     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20716 $as_echo "none needed" >&6; } ;;
   20717   xno)
   20718     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20719 $as_echo "unsupported" >&6; } ;;
   20720   *)
   20721     CC="$CC $ac_cv_prog_cc_c89"
   20722     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20723 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20724 esac
   20725 
   20726 
   20727 ac_ext=c
   20728 ac_cpp='$CPP $CPPFLAGS'
   20729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20732 
   20733 depcc="$CC"   am_compiler_list=
   20734 
   20735 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20736 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20737 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20738   $as_echo_n "(cached) " >&6
   20739 else
   20740   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20741   # We make a subdir and do the tests there.  Otherwise we can end up
   20742   # making bogus files that we don't know about and never remove.  For
   20743   # instance it was reported that on HP-UX the gcc test will end up
   20744   # making a dummy file named `D' -- because `-MD' means `put the output
   20745   # in D'.
   20746   mkdir conftest.dir
   20747   # Copy depcomp to subdir because otherwise we won't find it if we're
   20748   # using a relative directory.
   20749   cp "$am_depcomp" conftest.dir
   20750   cd conftest.dir
   20751   # We will build objects and dependencies in a subdirectory because
   20752   # it helps to detect inapplicable dependency modes.  For instance
   20753   # both Tru64's cc and ICC support -MD to output dependencies as a
   20754   # side effect of compilation, but ICC will put the dependencies in
   20755   # the current directory while Tru64 will put them in the object
   20756   # directory.
   20757   mkdir sub
   20758 
   20759   am_cv_CC_dependencies_compiler_type=none
   20760   if test "$am_compiler_list" = ""; then
   20761      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20762   fi
   20763   am__universal=false
   20764   case " $depcc " in #(
   20765      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20766      esac
   20767 
   20768   for depmode in $am_compiler_list; do
   20769     # Setup a source with many dependencies, because some compilers
   20770     # like to wrap large dependency lists on column 80 (with \), and
   20771     # we should not choose a depcomp mode which is confused by this.
   20772     #
   20773     # We need to recreate these files for each test, as the compiler may
   20774     # overwrite some of them when testing with obscure command lines.
   20775     # This happens at least with the AIX C compiler.
   20776     : > sub/conftest.c
   20777     for i in 1 2 3 4 5 6; do
   20778       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20779       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20780       # Solaris 8's {/usr,}/bin/sh.
   20781       touch sub/conftst$i.h
   20782     done
   20783     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20784 
   20785     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20786     # mode.  It turns out that the SunPro C++ compiler does not properly
   20787     # handle `-M -o', and we need to detect this.  Also, some Intel
   20788     # versions had trouble with output in subdirs
   20789     am__obj=sub/conftest.${OBJEXT-o}
   20790     am__minus_obj="-o $am__obj"
   20791     case $depmode in
   20792     gcc)
   20793       # This depmode causes a compiler race in universal mode.
   20794       test "$am__universal" = false || continue
   20795       ;;
   20796     nosideeffect)
   20797       # after this tag, mechanisms are not by side-effect, so they'll
   20798       # only be used when explicitly requested
   20799       if test "x$enable_dependency_tracking" = xyes; then
   20800 	continue
   20801       else
   20802 	break
   20803       fi
   20804       ;;
   20805     msvisualcpp | msvcmsys)
   20806       # This compiler won't grok `-c -o', but also, the minuso test has
   20807       # not run yet.  These depmodes are late enough in the game, and
   20808       # so weak that their functioning should not be impacted.
   20809       am__obj=conftest.${OBJEXT-o}
   20810       am__minus_obj=
   20811       ;;
   20812     none) break ;;
   20813     esac
   20814     if depmode=$depmode \
   20815        source=sub/conftest.c object=$am__obj \
   20816        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20817        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20818          >/dev/null 2>conftest.err &&
   20819        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20820        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20821        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20822        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20823       # icc doesn't choke on unknown options, it will just issue warnings
   20824       # or remarks (even with -Werror).  So we grep stderr for any message
   20825       # that says an option was ignored or not supported.
   20826       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20827       #   icc: Command line warning: ignoring option '-M'; no argument required
   20828       # The diagnosis changed in icc 8.0:
   20829       #   icc: Command line remark: option '-MP' not supported
   20830       if (grep 'ignoring option' conftest.err ||
   20831           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20832         am_cv_CC_dependencies_compiler_type=$depmode
   20833         break
   20834       fi
   20835     fi
   20836   done
   20837 
   20838   cd ..
   20839   rm -rf conftest.dir
   20840 else
   20841   am_cv_CC_dependencies_compiler_type=none
   20842 fi
   20843 
   20844 fi
   20845 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20846 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20847 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20848 
   20849  if
   20850   test "x$enable_dependency_tracking" != xno \
   20851   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20852   am__fastdepCC_TRUE=
   20853   am__fastdepCC_FALSE='#'
   20854 else
   20855   am__fastdepCC_TRUE='#'
   20856   am__fastdepCC_FALSE=
   20857 fi
   20858 
   20859 
   20860 
   20861 
   20862 
   20863 
   20864 
   20865 # Check whether --with-xorg-module-dir was given.
   20866 if test "${with_xorg_module_dir+set}" = set; then
   20867   withval=$with_xorg_module_dir; moduledir="$withval"
   20868 else
   20869   moduledir="$libdir/xorg/modules"
   20870 fi
   20871 
   20872 
   20873 # Checks for extensions
   20874 
   20875 	SAVE_CFLAGS="$CFLAGS"
   20876 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20877 	cat >conftest.$ac_ext <<_ACEOF
   20878 /* confdefs.h.  */
   20879 _ACEOF
   20880 cat confdefs.h >>conftest.$ac_ext
   20881 cat >>conftest.$ac_ext <<_ACEOF
   20882 /* end confdefs.h.  */
   20883 
   20884 #include "xorg-server.h"
   20885 #if !defined RANDR
   20886 #error RANDR not defined
   20887 #endif
   20888 
   20889 int
   20890 main ()
   20891 {
   20892 
   20893   ;
   20894   return 0;
   20895 }
   20896 _ACEOF
   20897 rm -f conftest.$ac_objext
   20898 if { (ac_try="$ac_compile"
   20899 case "(($ac_try" in
   20900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20901   *) ac_try_echo=$ac_try;;
   20902 esac
   20903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20904 $as_echo "$ac_try_echo") >&5
   20905   (eval "$ac_compile") 2>conftest.er1
   20906   ac_status=$?
   20907   grep -v '^ *+' conftest.er1 >conftest.err
   20908   rm -f conftest.er1
   20909   cat conftest.err >&5
   20910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20911   (exit $ac_status); } && {
   20912 	 test -z "$ac_c_werror_flag" ||
   20913 	 test ! -s conftest.err
   20914        } && test -s conftest.$ac_objext; then
   20915   _EXT_CHECK=yes
   20916 else
   20917   $as_echo "$as_me: failed program was:" >&5
   20918 sed 's/^/| /' conftest.$ac_ext >&5
   20919 
   20920 	_EXT_CHECK=no
   20921 fi
   20922 
   20923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20924 	CFLAGS="$SAVE_CFLAGS"
   20925 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20926 $as_echo_n "checking if RANDR is defined... " >&6; }
   20927 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20928 $as_echo "$_EXT_CHECK" >&6; }
   20929 	if test "$_EXT_CHECK" != no; then
   20930 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20931 	fi
   20932 
   20933 
   20934 	SAVE_CFLAGS="$CFLAGS"
   20935 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20936 	cat >conftest.$ac_ext <<_ACEOF
   20937 /* confdefs.h.  */
   20938 _ACEOF
   20939 cat confdefs.h >>conftest.$ac_ext
   20940 cat >>conftest.$ac_ext <<_ACEOF
   20941 /* end confdefs.h.  */
   20942 
   20943 #include "xorg-server.h"
   20944 #if !defined RENDER
   20945 #error RENDER not defined
   20946 #endif
   20947 
   20948 int
   20949 main ()
   20950 {
   20951 
   20952   ;
   20953   return 0;
   20954 }
   20955 _ACEOF
   20956 rm -f conftest.$ac_objext
   20957 if { (ac_try="$ac_compile"
   20958 case "(($ac_try" in
   20959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20960   *) ac_try_echo=$ac_try;;
   20961 esac
   20962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20963 $as_echo "$ac_try_echo") >&5
   20964   (eval "$ac_compile") 2>conftest.er1
   20965   ac_status=$?
   20966   grep -v '^ *+' conftest.er1 >conftest.err
   20967   rm -f conftest.er1
   20968   cat conftest.err >&5
   20969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20970   (exit $ac_status); } && {
   20971 	 test -z "$ac_c_werror_flag" ||
   20972 	 test ! -s conftest.err
   20973        } && test -s conftest.$ac_objext; then
   20974   _EXT_CHECK=yes
   20975 else
   20976   $as_echo "$as_me: failed program was:" >&5
   20977 sed 's/^/| /' conftest.$ac_ext >&5
   20978 
   20979 	_EXT_CHECK=no
   20980 fi
   20981 
   20982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20983 	CFLAGS="$SAVE_CFLAGS"
   20984 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20985 $as_echo_n "checking if RENDER is defined... " >&6; }
   20986 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20987 $as_echo "$_EXT_CHECK" >&6; }
   20988 	if test "$_EXT_CHECK" != no; then
   20989 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20990 	fi
   20991 
   20992 
   20993 	SAVE_CFLAGS="$CFLAGS"
   20994 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20995 	cat >conftest.$ac_ext <<_ACEOF
   20996 /* confdefs.h.  */
   20997 _ACEOF
   20998 cat confdefs.h >>conftest.$ac_ext
   20999 cat >>conftest.$ac_ext <<_ACEOF
   21000 /* end confdefs.h.  */
   21001 
   21002 #include "xorg-server.h"
   21003 #if !defined XV
   21004 #error XV not defined
   21005 #endif
   21006 
   21007 int
   21008 main ()
   21009 {
   21010 
   21011   ;
   21012   return 0;
   21013 }
   21014 _ACEOF
   21015 rm -f conftest.$ac_objext
   21016 if { (ac_try="$ac_compile"
   21017 case "(($ac_try" in
   21018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21019   *) ac_try_echo=$ac_try;;
   21020 esac
   21021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21022 $as_echo "$ac_try_echo") >&5
   21023   (eval "$ac_compile") 2>conftest.er1
   21024   ac_status=$?
   21025   grep -v '^ *+' conftest.er1 >conftest.err
   21026   rm -f conftest.er1
   21027   cat conftest.err >&5
   21028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21029   (exit $ac_status); } && {
   21030 	 test -z "$ac_c_werror_flag" ||
   21031 	 test ! -s conftest.err
   21032        } && test -s conftest.$ac_objext; then
   21033   _EXT_CHECK=yes
   21034 else
   21035   $as_echo "$as_me: failed program was:" >&5
   21036 sed 's/^/| /' conftest.$ac_ext >&5
   21037 
   21038 	_EXT_CHECK=no
   21039 fi
   21040 
   21041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21042 	CFLAGS="$SAVE_CFLAGS"
   21043 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   21044 $as_echo_n "checking if XV is defined... " >&6; }
   21045 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21046 $as_echo "$_EXT_CHECK" >&6; }
   21047 	if test "$_EXT_CHECK" != no; then
   21048 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21049 	fi
   21050 
   21051 
   21052 	SAVE_CFLAGS="$CFLAGS"
   21053 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21054 	cat >conftest.$ac_ext <<_ACEOF
   21055 /* confdefs.h.  */
   21056 _ACEOF
   21057 cat confdefs.h >>conftest.$ac_ext
   21058 cat >>conftest.$ac_ext <<_ACEOF
   21059 /* end confdefs.h.  */
   21060 
   21061 #include "xorg-server.h"
   21062 #if !defined DPMSExtension
   21063 #error DPMSExtension not defined
   21064 #endif
   21065 
   21066 int
   21067 main ()
   21068 {
   21069 
   21070   ;
   21071   return 0;
   21072 }
   21073 _ACEOF
   21074 rm -f conftest.$ac_objext
   21075 if { (ac_try="$ac_compile"
   21076 case "(($ac_try" in
   21077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21078   *) ac_try_echo=$ac_try;;
   21079 esac
   21080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21081 $as_echo "$ac_try_echo") >&5
   21082   (eval "$ac_compile") 2>conftest.er1
   21083   ac_status=$?
   21084   grep -v '^ *+' conftest.er1 >conftest.err
   21085   rm -f conftest.er1
   21086   cat conftest.err >&5
   21087   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21088   (exit $ac_status); } && {
   21089 	 test -z "$ac_c_werror_flag" ||
   21090 	 test ! -s conftest.err
   21091        } && test -s conftest.$ac_objext; then
   21092   _EXT_CHECK=yes
   21093 else
   21094   $as_echo "$as_me: failed program was:" >&5
   21095 sed 's/^/| /' conftest.$ac_ext >&5
   21096 
   21097 	_EXT_CHECK=no
   21098 fi
   21099 
   21100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21101 	CFLAGS="$SAVE_CFLAGS"
   21102 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21103 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21104 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21105 $as_echo "$_EXT_CHECK" >&6; }
   21106 	if test "$_EXT_CHECK" != no; then
   21107 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21108 	fi
   21109 
   21110 
   21111 	SAVE_CFLAGS="$CFLAGS"
   21112 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21113 	cat >conftest.$ac_ext <<_ACEOF
   21114 /* confdefs.h.  */
   21115 _ACEOF
   21116 cat confdefs.h >>conftest.$ac_ext
   21117 cat >>conftest.$ac_ext <<_ACEOF
   21118 /* end confdefs.h.  */
   21119 
   21120 #include "xorg-server.h"
   21121 #if !defined XFreeXDGA
   21122 #error XFreeXDGA not defined
   21123 #endif
   21124 
   21125 int
   21126 main ()
   21127 {
   21128 
   21129   ;
   21130   return 0;
   21131 }
   21132 _ACEOF
   21133 rm -f conftest.$ac_objext
   21134 if { (ac_try="$ac_compile"
   21135 case "(($ac_try" in
   21136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21137   *) ac_try_echo=$ac_try;;
   21138 esac
   21139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21140 $as_echo "$ac_try_echo") >&5
   21141   (eval "$ac_compile") 2>conftest.er1
   21142   ac_status=$?
   21143   grep -v '^ *+' conftest.er1 >conftest.err
   21144   rm -f conftest.er1
   21145   cat conftest.err >&5
   21146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21147   (exit $ac_status); } && {
   21148 	 test -z "$ac_c_werror_flag" ||
   21149 	 test ! -s conftest.err
   21150        } && test -s conftest.$ac_objext; then
   21151   _EXT_CHECK=yes
   21152 else
   21153   $as_echo "$as_me: failed program was:" >&5
   21154 sed 's/^/| /' conftest.$ac_ext >&5
   21155 
   21156 	_EXT_CHECK=no
   21157 fi
   21158 
   21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21160 	CFLAGS="$SAVE_CFLAGS"
   21161 	{ $as_echo "$as_me:$LINENO: checking if XFreeXDGA is defined" >&5
   21162 $as_echo_n "checking if XFreeXDGA is defined... " >&6; }
   21163 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21164 $as_echo "$_EXT_CHECK" >&6; }
   21165 	if test "$_EXT_CHECK" != no; then
   21166 		REQUIRED_MODULES="$REQUIRED_MODULES xf86dgaproto"
   21167 	fi
   21168 
   21169 
   21170 # Checks for pkg-config packages
   21171 
   21172 
   21173 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21174 	if test -n "$ac_tool_prefix"; then
   21175   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21176 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21178 $as_echo_n "checking for $ac_word... " >&6; }
   21179 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21180   $as_echo_n "(cached) " >&6
   21181 else
   21182   case $PKG_CONFIG in
   21183   [\\/]* | ?:[\\/]*)
   21184   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21185   ;;
   21186   *)
   21187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21188 for as_dir in $PATH
   21189 do
   21190   IFS=$as_save_IFS
   21191   test -z "$as_dir" && as_dir=.
   21192   for ac_exec_ext in '' $ac_executable_extensions; do
   21193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21194     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21196     break 2
   21197   fi
   21198 done
   21199 done
   21200 IFS=$as_save_IFS
   21201 
   21202   ;;
   21203 esac
   21204 fi
   21205 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21206 if test -n "$PKG_CONFIG"; then
   21207   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21208 $as_echo "$PKG_CONFIG" >&6; }
   21209 else
   21210   { $as_echo "$as_me:$LINENO: result: no" >&5
   21211 $as_echo "no" >&6; }
   21212 fi
   21213 
   21214 
   21215 fi
   21216 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21217   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21218   # Extract the first word of "pkg-config", so it can be a program name with args.
   21219 set dummy pkg-config; ac_word=$2
   21220 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21221 $as_echo_n "checking for $ac_word... " >&6; }
   21222 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21223   $as_echo_n "(cached) " >&6
   21224 else
   21225   case $ac_pt_PKG_CONFIG in
   21226   [\\/]* | ?:[\\/]*)
   21227   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21228   ;;
   21229   *)
   21230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21231 for as_dir in $PATH
   21232 do
   21233   IFS=$as_save_IFS
   21234   test -z "$as_dir" && as_dir=.
   21235   for ac_exec_ext in '' $ac_executable_extensions; do
   21236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21237     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21238     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21239     break 2
   21240   fi
   21241 done
   21242 done
   21243 IFS=$as_save_IFS
   21244 
   21245   ;;
   21246 esac
   21247 fi
   21248 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21249 if test -n "$ac_pt_PKG_CONFIG"; then
   21250   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21251 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21252 else
   21253   { $as_echo "$as_me:$LINENO: result: no" >&5
   21254 $as_echo "no" >&6; }
   21255 fi
   21256 
   21257   if test "x$ac_pt_PKG_CONFIG" = x; then
   21258     PKG_CONFIG=""
   21259   else
   21260     case $cross_compiling:$ac_tool_warned in
   21261 yes:)
   21262 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21264 ac_tool_warned=yes ;;
   21265 esac
   21266     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21267   fi
   21268 else
   21269   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21270 fi
   21271 
   21272 fi
   21273 if test -n "$PKG_CONFIG"; then
   21274 	_pkg_min_version=0.9.0
   21275 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21276 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21277 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21278 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21279 $as_echo "yes" >&6; }
   21280 	else
   21281 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21282 $as_echo "no" >&6; }
   21283 		PKG_CONFIG=""
   21284 	fi
   21285 
   21286 fi
   21287 
   21288 pkg_failed=no
   21289 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21290 $as_echo_n "checking for XORG... " >&6; }
   21291 
   21292 if test -n "$XORG_CFLAGS"; then
   21293     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21294  elif test -n "$PKG_CONFIG"; then
   21295     if test -n "$PKG_CONFIG" && \
   21296     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21297   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21298   ac_status=$?
   21299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21300   (exit $ac_status); }; then
   21301   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21302 else
   21303   pkg_failed=yes
   21304 fi
   21305  else
   21306     pkg_failed=untried
   21307 fi
   21308 if test -n "$XORG_LIBS"; then
   21309     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21310  elif test -n "$PKG_CONFIG"; then
   21311     if test -n "$PKG_CONFIG" && \
   21312     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21313   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21314   ac_status=$?
   21315   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21316   (exit $ac_status); }; then
   21317   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21318 else
   21319   pkg_failed=yes
   21320 fi
   21321  else
   21322     pkg_failed=untried
   21323 fi
   21324 
   21325 
   21326 
   21327 if test $pkg_failed = yes; then
   21328 
   21329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21330         _pkg_short_errors_supported=yes
   21331 else
   21332         _pkg_short_errors_supported=no
   21333 fi
   21334         if test $_pkg_short_errors_supported = yes; then
   21335 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21336         else
   21337 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21338         fi
   21339 	# Put the nasty error message in config.log where it belongs
   21340 	echo "$XORG_PKG_ERRORS" >&5
   21341 
   21342 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21343 
   21344 $XORG_PKG_ERRORS
   21345 
   21346 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21347 installed software in a non-standard prefix.
   21348 
   21349 Alternatively, you may set the environment variables XORG_CFLAGS
   21350 and XORG_LIBS to avoid the need to call pkg-config.
   21351 See the pkg-config man page for more details.
   21352 " >&5
   21353 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21354 
   21355 $XORG_PKG_ERRORS
   21356 
   21357 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21358 installed software in a non-standard prefix.
   21359 
   21360 Alternatively, you may set the environment variables XORG_CFLAGS
   21361 and XORG_LIBS to avoid the need to call pkg-config.
   21362 See the pkg-config man page for more details.
   21363 " >&2;}
   21364    { (exit 1); exit 1; }; }
   21365 elif test $pkg_failed = untried; then
   21366 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21368 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21369 is in your PATH or set the PKG_CONFIG environment variable to the full
   21370 path to pkg-config.
   21371 
   21372 Alternatively, you may set the environment variables XORG_CFLAGS
   21373 and XORG_LIBS to avoid the need to call pkg-config.
   21374 See the pkg-config man page for more details.
   21375 
   21376 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21377 See \`config.log' for more details." >&5
   21378 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21379 is in your PATH or set the PKG_CONFIG environment variable to the full
   21380 path to pkg-config.
   21381 
   21382 Alternatively, you may set the environment variables XORG_CFLAGS
   21383 and XORG_LIBS to avoid the need to call pkg-config.
   21384 See the pkg-config man page for more details.
   21385 
   21386 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21387 See \`config.log' for more details." >&2;}
   21388    { (exit 1); exit 1; }; }; }
   21389 else
   21390 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21391 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21392         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21393 $as_echo "yes" >&6; }
   21394 	:
   21395 fi
   21396 
   21397 pkg_failed=no
   21398 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21399 $as_echo_n "checking for XEXT... " >&6; }
   21400 
   21401 if test -n "$XEXT_CFLAGS"; then
   21402     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21403  elif test -n "$PKG_CONFIG"; then
   21404     if test -n "$PKG_CONFIG" && \
   21405     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21406   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21407   ac_status=$?
   21408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21409   (exit $ac_status); }; then
   21410   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21411 else
   21412   pkg_failed=yes
   21413 fi
   21414  else
   21415     pkg_failed=untried
   21416 fi
   21417 if test -n "$XEXT_LIBS"; then
   21418     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21419  elif test -n "$PKG_CONFIG"; then
   21420     if test -n "$PKG_CONFIG" && \
   21421     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21422   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21423   ac_status=$?
   21424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21425   (exit $ac_status); }; then
   21426   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21427 else
   21428   pkg_failed=yes
   21429 fi
   21430  else
   21431     pkg_failed=untried
   21432 fi
   21433 
   21434 
   21435 
   21436 if test $pkg_failed = yes; then
   21437 
   21438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21439         _pkg_short_errors_supported=yes
   21440 else
   21441         _pkg_short_errors_supported=no
   21442 fi
   21443         if test $_pkg_short_errors_supported = yes; then
   21444 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21445         else
   21446 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21447         fi
   21448 	# Put the nasty error message in config.log where it belongs
   21449 	echo "$XEXT_PKG_ERRORS" >&5
   21450 
   21451 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21452 $as_echo "no" >&6; }
   21453                 HAVE_XEXTPROTO_71="no"
   21454 elif test $pkg_failed = untried; then
   21455 	HAVE_XEXTPROTO_71="no"
   21456 else
   21457 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21458 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21459         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21460 $as_echo "yes" >&6; }
   21461 	HAVE_XEXTPROTO_71="yes";
   21462 cat >>confdefs.h <<\_ACEOF
   21463 #define HAVE_XEXTPROTO_71 1
   21464 _ACEOF
   21465 
   21466 fi
   21467  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21468   HAVE_XEXTPROTO_71_TRUE=
   21469   HAVE_XEXTPROTO_71_FALSE='#'
   21470 else
   21471   HAVE_XEXTPROTO_71_TRUE='#'
   21472   HAVE_XEXTPROTO_71_FALSE=
   21473 fi
   21474 
   21475 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21476 
   21477 save_CFLAGS="$CFLAGS"
   21478 CFLAGS="$XORG_CFLAGS"
   21479 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   21480 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   21481 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   21482   $as_echo_n "(cached) " >&6
   21483 else
   21484   cat >conftest.$ac_ext <<_ACEOF
   21485 /* confdefs.h.  */
   21486 _ACEOF
   21487 cat confdefs.h >>conftest.$ac_ext
   21488 cat >>conftest.$ac_ext <<_ACEOF
   21489 /* end confdefs.h.  */
   21490 #include "xf86.h"
   21491 
   21492 int
   21493 main ()
   21494 {
   21495 #ifndef xf86ConfigIsaEntity
   21496   (void) xf86ConfigIsaEntity;
   21497 #endif
   21498 
   21499   ;
   21500   return 0;
   21501 }
   21502 _ACEOF
   21503 rm -f conftest.$ac_objext
   21504 if { (ac_try="$ac_compile"
   21505 case "(($ac_try" in
   21506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21507   *) ac_try_echo=$ac_try;;
   21508 esac
   21509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21510 $as_echo "$ac_try_echo") >&5
   21511   (eval "$ac_compile") 2>conftest.er1
   21512   ac_status=$?
   21513   grep -v '^ *+' conftest.er1 >conftest.err
   21514   rm -f conftest.er1
   21515   cat conftest.err >&5
   21516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21517   (exit $ac_status); } && {
   21518 	 test -z "$ac_c_werror_flag" ||
   21519 	 test ! -s conftest.err
   21520        } && test -s conftest.$ac_objext; then
   21521   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   21522 else
   21523   $as_echo "$as_me: failed program was:" >&5
   21524 sed 's/^/| /' conftest.$ac_ext >&5
   21525 
   21526 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   21527 fi
   21528 
   21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21530 fi
   21531 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   21532 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   21533 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   21534 
   21535 cat >>confdefs.h <<\_ACEOF
   21536 #define HAVE_ISA 1
   21537 _ACEOF
   21538 
   21539 fi
   21540 
   21541 CFLAGS="$save_CFLAGS"
   21542 
   21543 SAVE_CPPFLAGS="$CPPFLAGS"
   21544 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21545 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21546 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21547 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21548   $as_echo_n "(cached) " >&6
   21549 else
   21550   cat >conftest.$ac_ext <<_ACEOF
   21551 /* confdefs.h.  */
   21552 _ACEOF
   21553 cat confdefs.h >>conftest.$ac_ext
   21554 cat >>conftest.$ac_ext <<_ACEOF
   21555 /* end confdefs.h.  */
   21556 #include "xorg-server.h"
   21557 
   21558 int
   21559 main ()
   21560 {
   21561 #ifndef XSERVER_LIBPCIACCESS
   21562   (void) XSERVER_LIBPCIACCESS;
   21563 #endif
   21564 
   21565   ;
   21566   return 0;
   21567 }
   21568 _ACEOF
   21569 rm -f conftest.$ac_objext
   21570 if { (ac_try="$ac_compile"
   21571 case "(($ac_try" in
   21572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21573   *) ac_try_echo=$ac_try;;
   21574 esac
   21575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21576 $as_echo "$ac_try_echo") >&5
   21577   (eval "$ac_compile") 2>conftest.er1
   21578   ac_status=$?
   21579   grep -v '^ *+' conftest.er1 >conftest.err
   21580   rm -f conftest.er1
   21581   cat conftest.err >&5
   21582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21583   (exit $ac_status); } && {
   21584 	 test -z "$ac_c_werror_flag" ||
   21585 	 test ! -s conftest.err
   21586        } && test -s conftest.$ac_objext; then
   21587   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21588 else
   21589   $as_echo "$as_me: failed program was:" >&5
   21590 sed 's/^/| /' conftest.$ac_ext >&5
   21591 
   21592 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21593 fi
   21594 
   21595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21596 fi
   21597 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21598 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21599 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21600   XSERVER_LIBPCIACCESS=yes
   21601 else
   21602   XSERVER_LIBPCIACCESS=no
   21603 fi
   21604 
   21605 CPPFLAGS="$SAVE_CPPFLAGS"
   21606 
   21607 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21608 
   21609 pkg_failed=no
   21610 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21611 $as_echo_n "checking for PCIACCESS... " >&6; }
   21612 
   21613 if test -n "$PCIACCESS_CFLAGS"; then
   21614     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21615  elif test -n "$PKG_CONFIG"; then
   21616     if test -n "$PKG_CONFIG" && \
   21617     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21618   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21619   ac_status=$?
   21620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21621   (exit $ac_status); }; then
   21622   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21623 else
   21624   pkg_failed=yes
   21625 fi
   21626  else
   21627     pkg_failed=untried
   21628 fi
   21629 if test -n "$PCIACCESS_LIBS"; then
   21630     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21631  elif test -n "$PKG_CONFIG"; then
   21632     if test -n "$PKG_CONFIG" && \
   21633     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21634   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21635   ac_status=$?
   21636   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21637   (exit $ac_status); }; then
   21638   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21639 else
   21640   pkg_failed=yes
   21641 fi
   21642  else
   21643     pkg_failed=untried
   21644 fi
   21645 
   21646 
   21647 
   21648 if test $pkg_failed = yes; then
   21649 
   21650 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21651         _pkg_short_errors_supported=yes
   21652 else
   21653         _pkg_short_errors_supported=no
   21654 fi
   21655         if test $_pkg_short_errors_supported = yes; then
   21656 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21657         else
   21658 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21659         fi
   21660 	# Put the nasty error message in config.log where it belongs
   21661 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21662 
   21663 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21664 
   21665 $PCIACCESS_PKG_ERRORS
   21666 
   21667 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21668 installed software in a non-standard prefix.
   21669 
   21670 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21671 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21672 See the pkg-config man page for more details.
   21673 " >&5
   21674 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21675 
   21676 $PCIACCESS_PKG_ERRORS
   21677 
   21678 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21679 installed software in a non-standard prefix.
   21680 
   21681 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21682 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21683 See the pkg-config man page for more details.
   21684 " >&2;}
   21685    { (exit 1); exit 1; }; }
   21686 elif test $pkg_failed = untried; then
   21687 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21689 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21690 is in your PATH or set the PKG_CONFIG environment variable to the full
   21691 path to pkg-config.
   21692 
   21693 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21694 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21695 See the pkg-config man page for more details.
   21696 
   21697 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21698 See \`config.log' for more details." >&5
   21699 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21700 is in your PATH or set the PKG_CONFIG environment variable to the full
   21701 path to pkg-config.
   21702 
   21703 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21704 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21705 See the pkg-config man page for more details.
   21706 
   21707 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21708 See \`config.log' for more details." >&2;}
   21709    { (exit 1); exit 1; }; }; }
   21710 else
   21711 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21712 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21713         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21714 $as_echo "yes" >&6; }
   21715 	:
   21716 fi
   21717     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21718 fi
   21719  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21720   XSERVER_LIBPCIACCESS_TRUE=
   21721   XSERVER_LIBPCIACCESS_FALSE='#'
   21722 else
   21723   XSERVER_LIBPCIACCESS_TRUE='#'
   21724   XSERVER_LIBPCIACCESS_FALSE=
   21725 fi
   21726 
   21727 
   21728 # Checks for libraries.
   21729 
   21730 # Checks for header files.
   21731 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21732 $as_echo_n "checking for ANSI C header files... " >&6; }
   21733 if test "${ac_cv_header_stdc+set}" = set; then
   21734   $as_echo_n "(cached) " >&6
   21735 else
   21736   cat >conftest.$ac_ext <<_ACEOF
   21737 /* confdefs.h.  */
   21738 _ACEOF
   21739 cat confdefs.h >>conftest.$ac_ext
   21740 cat >>conftest.$ac_ext <<_ACEOF
   21741 /* end confdefs.h.  */
   21742 #include <stdlib.h>
   21743 #include <stdarg.h>
   21744 #include <string.h>
   21745 #include <float.h>
   21746 
   21747 int
   21748 main ()
   21749 {
   21750 
   21751   ;
   21752   return 0;
   21753 }
   21754 _ACEOF
   21755 rm -f conftest.$ac_objext
   21756 if { (ac_try="$ac_compile"
   21757 case "(($ac_try" in
   21758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21759   *) ac_try_echo=$ac_try;;
   21760 esac
   21761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21762 $as_echo "$ac_try_echo") >&5
   21763   (eval "$ac_compile") 2>conftest.er1
   21764   ac_status=$?
   21765   grep -v '^ *+' conftest.er1 >conftest.err
   21766   rm -f conftest.er1
   21767   cat conftest.err >&5
   21768   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21769   (exit $ac_status); } && {
   21770 	 test -z "$ac_c_werror_flag" ||
   21771 	 test ! -s conftest.err
   21772        } && test -s conftest.$ac_objext; then
   21773   ac_cv_header_stdc=yes
   21774 else
   21775   $as_echo "$as_me: failed program was:" >&5
   21776 sed 's/^/| /' conftest.$ac_ext >&5
   21777 
   21778 	ac_cv_header_stdc=no
   21779 fi
   21780 
   21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21782 
   21783 if test $ac_cv_header_stdc = yes; then
   21784   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21785   cat >conftest.$ac_ext <<_ACEOF
   21786 /* confdefs.h.  */
   21787 _ACEOF
   21788 cat confdefs.h >>conftest.$ac_ext
   21789 cat >>conftest.$ac_ext <<_ACEOF
   21790 /* end confdefs.h.  */
   21791 #include <string.h>
   21792 
   21793 _ACEOF
   21794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21795   $EGREP "memchr" >/dev/null 2>&1; then
   21796   :
   21797 else
   21798   ac_cv_header_stdc=no
   21799 fi
   21800 rm -f conftest*
   21801 
   21802 fi
   21803 
   21804 if test $ac_cv_header_stdc = yes; then
   21805   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21806   cat >conftest.$ac_ext <<_ACEOF
   21807 /* confdefs.h.  */
   21808 _ACEOF
   21809 cat confdefs.h >>conftest.$ac_ext
   21810 cat >>conftest.$ac_ext <<_ACEOF
   21811 /* end confdefs.h.  */
   21812 #include <stdlib.h>
   21813 
   21814 _ACEOF
   21815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21816   $EGREP "free" >/dev/null 2>&1; then
   21817   :
   21818 else
   21819   ac_cv_header_stdc=no
   21820 fi
   21821 rm -f conftest*
   21822 
   21823 fi
   21824 
   21825 if test $ac_cv_header_stdc = yes; then
   21826   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21827   if test "$cross_compiling" = yes; then
   21828   :
   21829 else
   21830   cat >conftest.$ac_ext <<_ACEOF
   21831 /* confdefs.h.  */
   21832 _ACEOF
   21833 cat confdefs.h >>conftest.$ac_ext
   21834 cat >>conftest.$ac_ext <<_ACEOF
   21835 /* end confdefs.h.  */
   21836 #include <ctype.h>
   21837 #include <stdlib.h>
   21838 #if ((' ' & 0x0FF) == 0x020)
   21839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21841 #else
   21842 # define ISLOWER(c) \
   21843 		   (('a' <= (c) && (c) <= 'i') \
   21844 		     || ('j' <= (c) && (c) <= 'r') \
   21845 		     || ('s' <= (c) && (c) <= 'z'))
   21846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21847 #endif
   21848 
   21849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21850 int
   21851 main ()
   21852 {
   21853   int i;
   21854   for (i = 0; i < 256; i++)
   21855     if (XOR (islower (i), ISLOWER (i))
   21856 	|| toupper (i) != TOUPPER (i))
   21857       return 2;
   21858   return 0;
   21859 }
   21860 _ACEOF
   21861 rm -f conftest$ac_exeext
   21862 if { (ac_try="$ac_link"
   21863 case "(($ac_try" in
   21864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21865   *) ac_try_echo=$ac_try;;
   21866 esac
   21867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21868 $as_echo "$ac_try_echo") >&5
   21869   (eval "$ac_link") 2>&5
   21870   ac_status=$?
   21871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21872   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21873   { (case "(($ac_try" in
   21874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21875   *) ac_try_echo=$ac_try;;
   21876 esac
   21877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21878 $as_echo "$ac_try_echo") >&5
   21879   (eval "$ac_try") 2>&5
   21880   ac_status=$?
   21881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21882   (exit $ac_status); }; }; then
   21883   :
   21884 else
   21885   $as_echo "$as_me: program exited with status $ac_status" >&5
   21886 $as_echo "$as_me: failed program was:" >&5
   21887 sed 's/^/| /' conftest.$ac_ext >&5
   21888 
   21889 ( exit $ac_status )
   21890 ac_cv_header_stdc=no
   21891 fi
   21892 rm -rf conftest.dSYM
   21893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21894 fi
   21895 
   21896 
   21897 fi
   21898 fi
   21899 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21900 $as_echo "$ac_cv_header_stdc" >&6; }
   21901 if test $ac_cv_header_stdc = yes; then
   21902 
   21903 cat >>confdefs.h <<\_ACEOF
   21904 #define STDC_HEADERS 1
   21905 _ACEOF
   21906 
   21907 fi
   21908 
   21909 
   21910 
   21911 
   21912 
   21913 DRIVER_NAME=trident
   21914 
   21915 
   21916 
   21917 
   21918 
   21919 if test x$APP_MAN_SUFFIX = x    ; then
   21920     APP_MAN_SUFFIX=1
   21921 fi
   21922 if test x$APP_MAN_DIR = x    ; then
   21923     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21924 fi
   21925 
   21926 if test x$LIB_MAN_SUFFIX = x    ; then
   21927     LIB_MAN_SUFFIX=3
   21928 fi
   21929 if test x$LIB_MAN_DIR = x    ; then
   21930     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21931 fi
   21932 
   21933 if test x$FILE_MAN_SUFFIX = x    ; then
   21934     case $host_os in
   21935 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21936 	*)		FILE_MAN_SUFFIX=5  ;;
   21937     esac
   21938 fi
   21939 if test x$FILE_MAN_DIR = x    ; then
   21940     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21941 fi
   21942 
   21943 if test x$MISC_MAN_SUFFIX = x    ; then
   21944     case $host_os in
   21945 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21946 	*)		MISC_MAN_SUFFIX=7  ;;
   21947     esac
   21948 fi
   21949 if test x$MISC_MAN_DIR = x    ; then
   21950     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21951 fi
   21952 
   21953 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21954     case $host_os in
   21955 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21956 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21957     esac
   21958 fi
   21959 if test x$DRIVER_MAN_DIR = x    ; then
   21960     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21961 fi
   21962 
   21963 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21964     case $host_os in
   21965 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21966 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21967     esac
   21968 fi
   21969 if test x$ADMIN_MAN_DIR = x    ; then
   21970     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21971 fi
   21972 
   21973 
   21974 
   21975 
   21976 
   21977 
   21978 
   21979 
   21980 
   21981 
   21982 
   21983 
   21984 
   21985 
   21986 
   21987 
   21988 
   21989 # Check whether --with-release-version was given.
   21990 if test "${with_release_version+set}" = set; then
   21991   withval=$with_release_version; RELEASE_VERSION="$withval"
   21992 else
   21993   RELEASE_VERSION=""
   21994 fi
   21995 
   21996 	if test "x$RELEASE_VERSION" != "x"; then
   21997 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21998 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21999 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   22000 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   22001 	fi
   22002 
   22003 cat >>confdefs.h <<_ACEOF
   22004 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   22005 _ACEOF
   22006 
   22007 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   22008 	if test "x$PVM" = "x"; then
   22009 		PVM="0"
   22010 	fi
   22011 
   22012 cat >>confdefs.h <<_ACEOF
   22013 #define PACKAGE_VERSION_MINOR $PVM
   22014 _ACEOF
   22015 
   22016 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   22017 	if test "x$PVP" = "x"; then
   22018 		PVP="0"
   22019 	fi
   22020 
   22021 cat >>confdefs.h <<_ACEOF
   22022 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   22023 _ACEOF
   22024 
   22025 
   22026 
   22027 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   22028 
   22029 cat >confcache <<\_ACEOF
   22030 # This file is a shell script that caches the results of configure
   22031 # tests run on this system so they can be shared between configure
   22032 # scripts and configure runs, see configure's option --config-cache.
   22033 # It is not useful on other systems.  If it contains results you don't
   22034 # want to keep, you may remove or edit it.
   22035 #
   22036 # config.status only pays attention to the cache file if you give it
   22037 # the --recheck option to rerun configure.
   22038 #
   22039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22041 # following values.
   22042 
   22043 _ACEOF
   22044 
   22045 # The following way of writing the cache mishandles newlines in values,
   22046 # but we know of no workaround that is simple, portable, and efficient.
   22047 # So, we kill variables containing newlines.
   22048 # Ultrix sh set writes to stderr and can't be redirected directly,
   22049 # and sets the high bit in the cache file unless we assign to the vars.
   22050 (
   22051   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22052     eval ac_val=\$$ac_var
   22053     case $ac_val in #(
   22054     *${as_nl}*)
   22055       case $ac_var in #(
   22056       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22058       esac
   22059       case $ac_var in #(
   22060       _ | IFS | as_nl) ;; #(
   22061       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22062       *) $as_unset $ac_var ;;
   22063       esac ;;
   22064     esac
   22065   done
   22066 
   22067   (set) 2>&1 |
   22068     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22069     *${as_nl}ac_space=\ *)
   22070       # `set' does not quote correctly, so add quotes (double-quote
   22071       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22072       sed -n \
   22073 	"s/'/'\\\\''/g;
   22074 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22075       ;; #(
   22076     *)
   22077       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22079       ;;
   22080     esac |
   22081     sort
   22082 ) |
   22083   sed '
   22084      /^ac_cv_env_/b end
   22085      t clear
   22086      :clear
   22087      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22088      t end
   22089      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22090      :end' >>confcache
   22091 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22092   if test -w "$cache_file"; then
   22093     test "x$cache_file" != "x/dev/null" &&
   22094       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22095 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22096     cat confcache >$cache_file
   22097   else
   22098     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22099 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22100   fi
   22101 fi
   22102 rm -f confcache
   22103 
   22104 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22105 # Let make expand exec_prefix.
   22106 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22107 
   22108 DEFS=-DHAVE_CONFIG_H
   22109 
   22110 ac_libobjs=
   22111 ac_ltlibobjs=
   22112 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22113   # 1. Remove the extension, and $U if already installed.
   22114   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22115   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22116   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22117   #    will be set to the directory where LIBOBJS objects are built.
   22118   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22119   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22120 done
   22121 LIBOBJS=$ac_libobjs
   22122 
   22123 LTLIBOBJS=$ac_ltlibobjs
   22124 
   22125 
   22126  if test -n "$EXEEXT"; then
   22127   am__EXEEXT_TRUE=
   22128   am__EXEEXT_FALSE='#'
   22129 else
   22130   am__EXEEXT_TRUE='#'
   22131   am__EXEEXT_FALSE=
   22132 fi
   22133 
   22134 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22135   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22136 Usually this means the macro was only invoked conditionally." >&5
   22137 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22138 Usually this means the macro was only invoked conditionally." >&2;}
   22139    { (exit 1); exit 1; }; }
   22140 fi
   22141 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22142   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22143 Usually this means the macro was only invoked conditionally." >&5
   22144 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22145 Usually this means the macro was only invoked conditionally." >&2;}
   22146    { (exit 1); exit 1; }; }
   22147 fi
   22148 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22149   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22150 Usually this means the macro was only invoked conditionally." >&5
   22151 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22152 Usually this means the macro was only invoked conditionally." >&2;}
   22153    { (exit 1); exit 1; }; }
   22154 fi
   22155 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22156   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22157 Usually this means the macro was only invoked conditionally." >&5
   22158 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22159 Usually this means the macro was only invoked conditionally." >&2;}
   22160    { (exit 1); exit 1; }; }
   22161 fi
   22162 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22163   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22164 Usually this means the macro was only invoked conditionally." >&5
   22165 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22166 Usually this means the macro was only invoked conditionally." >&2;}
   22167    { (exit 1); exit 1; }; }
   22168 fi
   22169 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   22170   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22171 Usually this means the macro was only invoked conditionally." >&5
   22172 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22173 Usually this means the macro was only invoked conditionally." >&2;}
   22174    { (exit 1); exit 1; }; }
   22175 fi
   22176 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22177   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22178 Usually this means the macro was only invoked conditionally." >&5
   22179 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22180 Usually this means the macro was only invoked conditionally." >&2;}
   22181    { (exit 1); exit 1; }; }
   22182 fi
   22183 
   22184 : ${CONFIG_STATUS=./config.status}
   22185 ac_write_fail=0
   22186 ac_clean_files_save=$ac_clean_files
   22187 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22188 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22189 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22190 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22191 #! $SHELL
   22192 # Generated by $as_me.
   22193 # Run this file to recreate the current configuration.
   22194 # Compiler output produced by configure, useful for debugging
   22195 # configure, is in config.log if it exists.
   22196 
   22197 debug=false
   22198 ac_cs_recheck=false
   22199 ac_cs_silent=false
   22200 SHELL=\${CONFIG_SHELL-$SHELL}
   22201 _ACEOF
   22202 
   22203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22204 ## --------------------- ##
   22205 ## M4sh Initialization.  ##
   22206 ## --------------------- ##
   22207 
   22208 # Be more Bourne compatible
   22209 DUALCASE=1; export DUALCASE # for MKS sh
   22210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22211   emulate sh
   22212   NULLCMD=:
   22213   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22214   # is contrary to our usage.  Disable this feature.
   22215   alias -g '${1+"$@"}'='"$@"'
   22216   setopt NO_GLOB_SUBST
   22217 else
   22218   case `(set -o) 2>/dev/null` in
   22219   *posix*) set -o posix ;;
   22220 esac
   22221 
   22222 fi
   22223 
   22224 
   22225 
   22226 
   22227 # PATH needs CR
   22228 # Avoid depending upon Character Ranges.
   22229 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22230 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22231 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22232 as_cr_digits='0123456789'
   22233 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22234 
   22235 as_nl='
   22236 '
   22237 export as_nl
   22238 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22239 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22240 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22242 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22243   as_echo='printf %s\n'
   22244   as_echo_n='printf %s'
   22245 else
   22246   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22247     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22248     as_echo_n='/usr/ucb/echo -n'
   22249   else
   22250     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22251     as_echo_n_body='eval
   22252       arg=$1;
   22253       case $arg in
   22254       *"$as_nl"*)
   22255 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22256 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22257       esac;
   22258       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22259     '
   22260     export as_echo_n_body
   22261     as_echo_n='sh -c $as_echo_n_body as_echo'
   22262   fi
   22263   export as_echo_body
   22264   as_echo='sh -c $as_echo_body as_echo'
   22265 fi
   22266 
   22267 # The user is always right.
   22268 if test "${PATH_SEPARATOR+set}" != set; then
   22269   PATH_SEPARATOR=:
   22270   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22271     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22272       PATH_SEPARATOR=';'
   22273   }
   22274 fi
   22275 
   22276 # Support unset when possible.
   22277 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22278   as_unset=unset
   22279 else
   22280   as_unset=false
   22281 fi
   22282 
   22283 
   22284 # IFS
   22285 # We need space, tab and new line, in precisely that order.  Quoting is
   22286 # there to prevent editors from complaining about space-tab.
   22287 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22288 # splitting by setting IFS to empty value.)
   22289 IFS=" ""	$as_nl"
   22290 
   22291 # Find who we are.  Look in the path if we contain no directory separator.
   22292 case $0 in
   22293   *[\\/]* ) as_myself=$0 ;;
   22294   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22295 for as_dir in $PATH
   22296 do
   22297   IFS=$as_save_IFS
   22298   test -z "$as_dir" && as_dir=.
   22299   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22300 done
   22301 IFS=$as_save_IFS
   22302 
   22303      ;;
   22304 esac
   22305 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22306 # in which case we are not to be found in the path.
   22307 if test "x$as_myself" = x; then
   22308   as_myself=$0
   22309 fi
   22310 if test ! -f "$as_myself"; then
   22311   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22312   { (exit 1); exit 1; }
   22313 fi
   22314 
   22315 # Work around bugs in pre-3.0 UWIN ksh.
   22316 for as_var in ENV MAIL MAILPATH
   22317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22318 done
   22319 PS1='$ '
   22320 PS2='> '
   22321 PS4='+ '
   22322 
   22323 # NLS nuisances.
   22324 LC_ALL=C
   22325 export LC_ALL
   22326 LANGUAGE=C
   22327 export LANGUAGE
   22328 
   22329 # Required to use basename.
   22330 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22331    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22332   as_expr=expr
   22333 else
   22334   as_expr=false
   22335 fi
   22336 
   22337 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22338   as_basename=basename
   22339 else
   22340   as_basename=false
   22341 fi
   22342 
   22343 
   22344 # Name of the executable.
   22345 as_me=`$as_basename -- "$0" ||
   22346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22347 	 X"$0" : 'X\(//\)$' \| \
   22348 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22349 $as_echo X/"$0" |
   22350     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22351 	    s//\1/
   22352 	    q
   22353 	  }
   22354 	  /^X\/\(\/\/\)$/{
   22355 	    s//\1/
   22356 	    q
   22357 	  }
   22358 	  /^X\/\(\/\).*/{
   22359 	    s//\1/
   22360 	    q
   22361 	  }
   22362 	  s/.*/./; q'`
   22363 
   22364 # CDPATH.
   22365 $as_unset CDPATH
   22366 
   22367 
   22368 
   22369   as_lineno_1=$LINENO
   22370   as_lineno_2=$LINENO
   22371   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22372   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22373 
   22374   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22375   # uniformly replaced by the line number.  The first 'sed' inserts a
   22376   # line-number line after each line using $LINENO; the second 'sed'
   22377   # does the real work.  The second script uses 'N' to pair each
   22378   # line-number line with the line containing $LINENO, and appends
   22379   # trailing '-' during substitution so that $LINENO is not a special
   22380   # case at line end.
   22381   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22382   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22383   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22384   sed -n '
   22385     p
   22386     /[$]LINENO/=
   22387   ' <$as_myself |
   22388     sed '
   22389       s/[$]LINENO.*/&-/
   22390       t lineno
   22391       b
   22392       :lineno
   22393       N
   22394       :loop
   22395       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22396       t loop
   22397       s/-\n.*//
   22398     ' >$as_me.lineno &&
   22399   chmod +x "$as_me.lineno" ||
   22400     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22401    { (exit 1); exit 1; }; }
   22402 
   22403   # Don't try to exec as it changes $[0], causing all sort of problems
   22404   # (the dirname of $[0] is not the place where we might find the
   22405   # original and so on.  Autoconf is especially sensitive to this).
   22406   . "./$as_me.lineno"
   22407   # Exit status is that of the last command.
   22408   exit
   22409 }
   22410 
   22411 
   22412 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22413   as_dirname=dirname
   22414 else
   22415   as_dirname=false
   22416 fi
   22417 
   22418 ECHO_C= ECHO_N= ECHO_T=
   22419 case `echo -n x` in
   22420 -n*)
   22421   case `echo 'x\c'` in
   22422   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22423   *)   ECHO_C='\c';;
   22424   esac;;
   22425 *)
   22426   ECHO_N='-n';;
   22427 esac
   22428 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22429    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22430   as_expr=expr
   22431 else
   22432   as_expr=false
   22433 fi
   22434 
   22435 rm -f conf$$ conf$$.exe conf$$.file
   22436 if test -d conf$$.dir; then
   22437   rm -f conf$$.dir/conf$$.file
   22438 else
   22439   rm -f conf$$.dir
   22440   mkdir conf$$.dir 2>/dev/null
   22441 fi
   22442 if (echo >conf$$.file) 2>/dev/null; then
   22443   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22444     as_ln_s='ln -s'
   22445     # ... but there are two gotchas:
   22446     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22447     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22448     # In both cases, we have to default to `cp -p'.
   22449     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22450       as_ln_s='cp -p'
   22451   elif ln conf$$.file conf$$ 2>/dev/null; then
   22452     as_ln_s=ln
   22453   else
   22454     as_ln_s='cp -p'
   22455   fi
   22456 else
   22457   as_ln_s='cp -p'
   22458 fi
   22459 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22460 rmdir conf$$.dir 2>/dev/null
   22461 
   22462 if mkdir -p . 2>/dev/null; then
   22463   as_mkdir_p=:
   22464 else
   22465   test -d ./-p && rmdir ./-p
   22466   as_mkdir_p=false
   22467 fi
   22468 
   22469 if test -x / >/dev/null 2>&1; then
   22470   as_test_x='test -x'
   22471 else
   22472   if ls -dL / >/dev/null 2>&1; then
   22473     as_ls_L_option=L
   22474   else
   22475     as_ls_L_option=
   22476   fi
   22477   as_test_x='
   22478     eval sh -c '\''
   22479       if test -d "$1"; then
   22480 	test -d "$1/.";
   22481       else
   22482 	case $1 in
   22483 	-*)set "./$1";;
   22484 	esac;
   22485 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22486 	???[sx]*):;;*)false;;esac;fi
   22487     '\'' sh
   22488   '
   22489 fi
   22490 as_executable_p=$as_test_x
   22491 
   22492 # Sed expression to map a string onto a valid CPP name.
   22493 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22494 
   22495 # Sed expression to map a string onto a valid variable name.
   22496 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22497 
   22498 
   22499 exec 6>&1
   22500 
   22501 # Save the log message, to keep $[0] and so on meaningful, and to
   22502 # report actual input values of CONFIG_FILES etc. instead of their
   22503 # values after options handling.
   22504 ac_log="
   22505 This file was extended by xf86-video-trident $as_me 1.3.3, which was
   22506 generated by GNU Autoconf 2.63.  Invocation command line was
   22507 
   22508   CONFIG_FILES    = $CONFIG_FILES
   22509   CONFIG_HEADERS  = $CONFIG_HEADERS
   22510   CONFIG_LINKS    = $CONFIG_LINKS
   22511   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22512   $ $0 $@
   22513 
   22514 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22515 "
   22516 
   22517 _ACEOF
   22518 
   22519 case $ac_config_files in *"
   22520 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22521 esac
   22522 
   22523 case $ac_config_headers in *"
   22524 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22525 esac
   22526 
   22527 
   22528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22529 # Files that config.status was made for.
   22530 config_files="$ac_config_files"
   22531 config_headers="$ac_config_headers"
   22532 config_commands="$ac_config_commands"
   22533 
   22534 _ACEOF
   22535 
   22536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22537 ac_cs_usage="\
   22538 \`$as_me' instantiates files from templates according to the
   22539 current configuration.
   22540 
   22541 Usage: $0 [OPTION]... [FILE]...
   22542 
   22543   -h, --help       print this help, then exit
   22544   -V, --version    print version number and configuration settings, then exit
   22545   -q, --quiet, --silent
   22546                    do not print progress messages
   22547   -d, --debug      don't remove temporary files
   22548       --recheck    update $as_me by reconfiguring in the same conditions
   22549       --file=FILE[:TEMPLATE]
   22550                    instantiate the configuration file FILE
   22551       --header=FILE[:TEMPLATE]
   22552                    instantiate the configuration header FILE
   22553 
   22554 Configuration files:
   22555 $config_files
   22556 
   22557 Configuration headers:
   22558 $config_headers
   22559 
   22560 Configuration commands:
   22561 $config_commands
   22562 
   22563 Report bugs to <bug-autoconf (at] gnu.org>."
   22564 
   22565 _ACEOF
   22566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22567 ac_cs_version="\\
   22568 xf86-video-trident config.status 1.3.3
   22569 configured by $0, generated by GNU Autoconf 2.63,
   22570   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22571 
   22572 Copyright (C) 2008 Free Software Foundation, Inc.
   22573 This config.status script is free software; the Free Software Foundation
   22574 gives unlimited permission to copy, distribute and modify it."
   22575 
   22576 ac_pwd='$ac_pwd'
   22577 srcdir='$srcdir'
   22578 INSTALL='$INSTALL'
   22579 MKDIR_P='$MKDIR_P'
   22580 AWK='$AWK'
   22581 test -n "\$AWK" || AWK=awk
   22582 _ACEOF
   22583 
   22584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22585 # The default lists apply if the user does not specify any file.
   22586 ac_need_defaults=:
   22587 while test $# != 0
   22588 do
   22589   case $1 in
   22590   --*=*)
   22591     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22592     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22593     ac_shift=:
   22594     ;;
   22595   *)
   22596     ac_option=$1
   22597     ac_optarg=$2
   22598     ac_shift=shift
   22599     ;;
   22600   esac
   22601 
   22602   case $ac_option in
   22603   # Handling of the options.
   22604   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22605     ac_cs_recheck=: ;;
   22606   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22607     $as_echo "$ac_cs_version"; exit ;;
   22608   --debug | --debu | --deb | --de | --d | -d )
   22609     debug=: ;;
   22610   --file | --fil | --fi | --f )
   22611     $ac_shift
   22612     case $ac_optarg in
   22613     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22614     esac
   22615     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22616     ac_need_defaults=false;;
   22617   --header | --heade | --head | --hea )
   22618     $ac_shift
   22619     case $ac_optarg in
   22620     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22621     esac
   22622     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22623     ac_need_defaults=false;;
   22624   --he | --h)
   22625     # Conflict between --help and --header
   22626     { $as_echo "$as_me: error: ambiguous option: $1
   22627 Try \`$0 --help' for more information." >&2
   22628    { (exit 1); exit 1; }; };;
   22629   --help | --hel | -h )
   22630     $as_echo "$ac_cs_usage"; exit ;;
   22631   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22632   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22633     ac_cs_silent=: ;;
   22634 
   22635   # This is an error.
   22636   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22637 Try \`$0 --help' for more information." >&2
   22638    { (exit 1); exit 1; }; } ;;
   22639 
   22640   *) ac_config_targets="$ac_config_targets $1"
   22641      ac_need_defaults=false ;;
   22642 
   22643   esac
   22644   shift
   22645 done
   22646 
   22647 ac_configure_extra_args=
   22648 
   22649 if $ac_cs_silent; then
   22650   exec 6>/dev/null
   22651   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22652 fi
   22653 
   22654 _ACEOF
   22655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22656 if \$ac_cs_recheck; then
   22657   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22658   shift
   22659   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22660   CONFIG_SHELL='$SHELL'
   22661   export CONFIG_SHELL
   22662   exec "\$@"
   22663 fi
   22664 
   22665 _ACEOF
   22666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22667 exec 5>>config.log
   22668 {
   22669   echo
   22670   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22671 ## Running $as_me. ##
   22672 _ASBOX
   22673   $as_echo "$ac_log"
   22674 } >&5
   22675 
   22676 _ACEOF
   22677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22678 #
   22679 # INIT-COMMANDS
   22680 #
   22681 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22682 
   22683 _ACEOF
   22684 
   22685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22686 
   22687 # Handling of arguments.
   22688 for ac_config_target in $ac_config_targets
   22689 do
   22690   case $ac_config_target in
   22691     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22692     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22693     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22694     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22695     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22696 
   22697   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22698 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22699    { (exit 1); exit 1; }; };;
   22700   esac
   22701 done
   22702 
   22703 
   22704 # If the user did not use the arguments to specify the items to instantiate,
   22705 # then the envvar interface is used.  Set only those that are not.
   22706 # We use the long form for the default assignment because of an extremely
   22707 # bizarre bug on SunOS 4.1.3.
   22708 if $ac_need_defaults; then
   22709   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22710   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22711   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22712 fi
   22713 
   22714 # Have a temporary directory for convenience.  Make it in the build tree
   22715 # simply because there is no reason against having it here, and in addition,
   22716 # creating and moving files from /tmp can sometimes cause problems.
   22717 # Hook for its removal unless debugging.
   22718 # Note that there is a small window in which the directory will not be cleaned:
   22719 # after its creation but before its name has been assigned to `$tmp'.
   22720 $debug ||
   22721 {
   22722   tmp=
   22723   trap 'exit_status=$?
   22724   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22725 ' 0
   22726   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22727 }
   22728 # Create a (secure) tmp directory for tmp files.
   22729 
   22730 {
   22731   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22732   test -n "$tmp" && test -d "$tmp"
   22733 }  ||
   22734 {
   22735   tmp=./conf$$-$RANDOM
   22736   (umask 077 && mkdir "$tmp")
   22737 } ||
   22738 {
   22739    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22740    { (exit 1); exit 1; }
   22741 }
   22742 
   22743 # Set up the scripts for CONFIG_FILES section.
   22744 # No need to generate them if there are no CONFIG_FILES.
   22745 # This happens for instance with `./config.status config.h'.
   22746 if test -n "$CONFIG_FILES"; then
   22747 
   22748 
   22749 ac_cr='
'
   22751 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22752 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22753   ac_cs_awk_cr='\\r'
   22754 else
   22755   ac_cs_awk_cr=$ac_cr
   22756 fi
   22757 
   22758 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22759 _ACEOF
   22760 
   22761 
   22762 {
   22763   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22764   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22765   echo "_ACEOF"
   22766 } >conf$$subs.sh ||
   22767   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22768 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22769    { (exit 1); exit 1; }; }
   22770 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22771 ac_delim='%!_!# '
   22772 for ac_last_try in false false false false false :; do
   22773   . ./conf$$subs.sh ||
   22774     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22775 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22776    { (exit 1); exit 1; }; }
   22777 
   22778   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22779   if test $ac_delim_n = $ac_delim_num; then
   22780     break
   22781   elif $ac_last_try; then
   22782     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22783 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22784    { (exit 1); exit 1; }; }
   22785   else
   22786     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22787   fi
   22788 done
   22789 rm -f conf$$subs.sh
   22790 
   22791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22792 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22793 _ACEOF
   22794 sed -n '
   22795 h
   22796 s/^/S["/; s/!.*/"]=/
   22797 p
   22798 g
   22799 s/^[^!]*!//
   22800 :repl
   22801 t repl
   22802 s/'"$ac_delim"'$//
   22803 t delim
   22804 :nl
   22805 h
   22806 s/\(.\{148\}\).*/\1/
   22807 t more1
   22808 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22809 p
   22810 n
   22811 b repl
   22812 :more1
   22813 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22814 p
   22815 g
   22816 s/.\{148\}//
   22817 t nl
   22818 :delim
   22819 h
   22820 s/\(.\{148\}\).*/\1/
   22821 t more2
   22822 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22823 p
   22824 b
   22825 :more2
   22826 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22827 p
   22828 g
   22829 s/.\{148\}//
   22830 t delim
   22831 ' <conf$$subs.awk | sed '
   22832 /^[^""]/{
   22833   N
   22834   s/\n//
   22835 }
   22836 ' >>$CONFIG_STATUS || ac_write_fail=1
   22837 rm -f conf$$subs.awk
   22838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22839 _ACAWK
   22840 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22841   for (key in S) S_is_set[key] = 1
   22842   FS = ""
   22843 
   22844 }
   22845 {
   22846   line = $ 0
   22847   nfields = split(line, field, "@")
   22848   substed = 0
   22849   len = length(field[1])
   22850   for (i = 2; i < nfields; i++) {
   22851     key = field[i]
   22852     keylen = length(key)
   22853     if (S_is_set[key]) {
   22854       value = S[key]
   22855       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22856       len += length(value) + length(field[++i])
   22857       substed = 1
   22858     } else
   22859       len += 1 + keylen
   22860   }
   22861 
   22862   print line
   22863 }
   22864 
   22865 _ACAWK
   22866 _ACEOF
   22867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22868 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22869   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22870 else
   22871   cat
   22872 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22873   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22874 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22875    { (exit 1); exit 1; }; }
   22876 _ACEOF
   22877 
   22878 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22879 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22880 # trailing colons and then remove the whole line if VPATH becomes empty
   22881 # (actually we leave an empty line to preserve line numbers).
   22882 if test "x$srcdir" = x.; then
   22883   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22884 s/:*\$(srcdir):*/:/
   22885 s/:*\${srcdir}:*/:/
   22886 s/:*@srcdir@:*/:/
   22887 s/^\([^=]*=[	 ]*\):*/\1/
   22888 s/:*$//
   22889 s/^[^=]*=[	 ]*$//
   22890 }'
   22891 fi
   22892 
   22893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22894 fi # test -n "$CONFIG_FILES"
   22895 
   22896 # Set up the scripts for CONFIG_HEADERS section.
   22897 # No need to generate them if there are no CONFIG_HEADERS.
   22898 # This happens for instance with `./config.status Makefile'.
   22899 if test -n "$CONFIG_HEADERS"; then
   22900 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22901 BEGIN {
   22902 _ACEOF
   22903 
   22904 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22905 # here-document in config.status, that substitutes the proper values into
   22906 # config.h.in to produce config.h.
   22907 
   22908 # Create a delimiter string that does not exist in confdefs.h, to ease
   22909 # handling of long lines.
   22910 ac_delim='%!_!# '
   22911 for ac_last_try in false false :; do
   22912   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22913   if test -z "$ac_t"; then
   22914     break
   22915   elif $ac_last_try; then
   22916     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22917 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22918    { (exit 1); exit 1; }; }
   22919   else
   22920     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22921   fi
   22922 done
   22923 
   22924 # For the awk script, D is an array of macro values keyed by name,
   22925 # likewise P contains macro parameters if any.  Preserve backslash
   22926 # newline sequences.
   22927 
   22928 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22929 sed -n '
   22930 s/.\{148\}/&'"$ac_delim"'/g
   22931 t rset
   22932 :rset
   22933 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22934 t def
   22935 d
   22936 :def
   22937 s/\\$//
   22938 t bsnl
   22939 s/["\\]/\\&/g
   22940 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22941 D["\1"]=" \3"/p
   22942 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22943 d
   22944 :bsnl
   22945 s/["\\]/\\&/g
   22946 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22947 D["\1"]=" \3\\\\\\n"\\/p
   22948 t cont
   22949 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22950 t cont
   22951 d
   22952 :cont
   22953 n
   22954 s/.\{148\}/&'"$ac_delim"'/g
   22955 t clear
   22956 :clear
   22957 s/\\$//
   22958 t bsnlc
   22959 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22960 d
   22961 :bsnlc
   22962 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22963 b cont
   22964 ' <confdefs.h | sed '
   22965 s/'"$ac_delim"'/"\\\
   22966 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22967 
   22968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22969   for (key in D) D_is_set[key] = 1
   22970   FS = ""
   22971 }
   22972 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22973   line = \$ 0
   22974   split(line, arg, " ")
   22975   if (arg[1] == "#") {
   22976     defundef = arg[2]
   22977     mac1 = arg[3]
   22978   } else {
   22979     defundef = substr(arg[1], 2)
   22980     mac1 = arg[2]
   22981   }
   22982   split(mac1, mac2, "(") #)
   22983   macro = mac2[1]
   22984   prefix = substr(line, 1, index(line, defundef) - 1)
   22985   if (D_is_set[macro]) {
   22986     # Preserve the white space surrounding the "#".
   22987     print prefix "define", macro P[macro] D[macro]
   22988     next
   22989   } else {
   22990     # Replace #undef with comments.  This is necessary, for example,
   22991     # in the case of _POSIX_SOURCE, which is predefined and required
   22992     # on some systems where configure will not decide to define it.
   22993     if (defundef == "undef") {
   22994       print "/*", prefix defundef, macro, "*/"
   22995       next
   22996     }
   22997   }
   22998 }
   22999 { print }
   23000 _ACAWK
   23001 _ACEOF
   23002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23003   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23004 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23005    { (exit 1); exit 1; }; }
   23006 fi # test -n "$CONFIG_HEADERS"
   23007 
   23008 
   23009 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23010 shift
   23011 for ac_tag
   23012 do
   23013   case $ac_tag in
   23014   :[FHLC]) ac_mode=$ac_tag; continue;;
   23015   esac
   23016   case $ac_mode$ac_tag in
   23017   :[FHL]*:*);;
   23018   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23019 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23020    { (exit 1); exit 1; }; };;
   23021   :[FH]-) ac_tag=-:-;;
   23022   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23023   esac
   23024   ac_save_IFS=$IFS
   23025   IFS=:
   23026   set x $ac_tag
   23027   IFS=$ac_save_IFS
   23028   shift
   23029   ac_file=$1
   23030   shift
   23031 
   23032   case $ac_mode in
   23033   :L) ac_source=$1;;
   23034   :[FH])
   23035     ac_file_inputs=
   23036     for ac_f
   23037     do
   23038       case $ac_f in
   23039       -) ac_f="$tmp/stdin";;
   23040       *) # Look for the file first in the build tree, then in the source tree
   23041 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23042 	 # because $ac_f cannot contain `:'.
   23043 	 test -f "$ac_f" ||
   23044 	   case $ac_f in
   23045 	   [\\/$]*) false;;
   23046 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23047 	   esac ||
   23048 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23049 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23050    { (exit 1); exit 1; }; };;
   23051       esac
   23052       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23053       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23054     done
   23055 
   23056     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23057     # use $as_me), people would be surprised to read:
   23058     #    /* config.h.  Generated by config.status.  */
   23059     configure_input='Generated from '`
   23060 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23061 	`' by configure.'
   23062     if test x"$ac_file" != x-; then
   23063       configure_input="$ac_file.  $configure_input"
   23064       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23065 $as_echo "$as_me: creating $ac_file" >&6;}
   23066     fi
   23067     # Neutralize special characters interpreted by sed in replacement strings.
   23068     case $configure_input in #(
   23069     *\&* | *\|* | *\\* )
   23070        ac_sed_conf_input=`$as_echo "$configure_input" |
   23071        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23072     *) ac_sed_conf_input=$configure_input;;
   23073     esac
   23074 
   23075     case $ac_tag in
   23076     *:-:* | *:-) cat >"$tmp/stdin" \
   23077       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23078 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23079    { (exit 1); exit 1; }; } ;;
   23080     esac
   23081     ;;
   23082   esac
   23083 
   23084   ac_dir=`$as_dirname -- "$ac_file" ||
   23085 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23086 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23087 	 X"$ac_file" : 'X\(//\)$' \| \
   23088 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23089 $as_echo X"$ac_file" |
   23090     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23091 	    s//\1/
   23092 	    q
   23093 	  }
   23094 	  /^X\(\/\/\)[^/].*/{
   23095 	    s//\1/
   23096 	    q
   23097 	  }
   23098 	  /^X\(\/\/\)$/{
   23099 	    s//\1/
   23100 	    q
   23101 	  }
   23102 	  /^X\(\/\).*/{
   23103 	    s//\1/
   23104 	    q
   23105 	  }
   23106 	  s/.*/./; q'`
   23107   { as_dir="$ac_dir"
   23108   case $as_dir in #(
   23109   -*) as_dir=./$as_dir;;
   23110   esac
   23111   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23112     as_dirs=
   23113     while :; do
   23114       case $as_dir in #(
   23115       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23116       *) as_qdir=$as_dir;;
   23117       esac
   23118       as_dirs="'$as_qdir' $as_dirs"
   23119       as_dir=`$as_dirname -- "$as_dir" ||
   23120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23121 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23122 	 X"$as_dir" : 'X\(//\)$' \| \
   23123 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23124 $as_echo X"$as_dir" |
   23125     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23126 	    s//\1/
   23127 	    q
   23128 	  }
   23129 	  /^X\(\/\/\)[^/].*/{
   23130 	    s//\1/
   23131 	    q
   23132 	  }
   23133 	  /^X\(\/\/\)$/{
   23134 	    s//\1/
   23135 	    q
   23136 	  }
   23137 	  /^X\(\/\).*/{
   23138 	    s//\1/
   23139 	    q
   23140 	  }
   23141 	  s/.*/./; q'`
   23142       test -d "$as_dir" && break
   23143     done
   23144     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23145   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23146 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23147    { (exit 1); exit 1; }; }; }
   23148   ac_builddir=.
   23149 
   23150 case "$ac_dir" in
   23151 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23152 *)
   23153   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23154   # A ".." for each directory in $ac_dir_suffix.
   23155   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23156   case $ac_top_builddir_sub in
   23157   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23158   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23159   esac ;;
   23160 esac
   23161 ac_abs_top_builddir=$ac_pwd
   23162 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23163 # for backward compatibility:
   23164 ac_top_builddir=$ac_top_build_prefix
   23165 
   23166 case $srcdir in
   23167   .)  # We are building in place.
   23168     ac_srcdir=.
   23169     ac_top_srcdir=$ac_top_builddir_sub
   23170     ac_abs_top_srcdir=$ac_pwd ;;
   23171   [\\/]* | ?:[\\/]* )  # Absolute name.
   23172     ac_srcdir=$srcdir$ac_dir_suffix;
   23173     ac_top_srcdir=$srcdir
   23174     ac_abs_top_srcdir=$srcdir ;;
   23175   *) # Relative name.
   23176     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23177     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23178     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23179 esac
   23180 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23181 
   23182 
   23183   case $ac_mode in
   23184   :F)
   23185   #
   23186   # CONFIG_FILE
   23187   #
   23188 
   23189   case $INSTALL in
   23190   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23191   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23192   esac
   23193   ac_MKDIR_P=$MKDIR_P
   23194   case $MKDIR_P in
   23195   [\\/$]* | ?:[\\/]* ) ;;
   23196   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23197   esac
   23198 _ACEOF
   23199 
   23200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23201 # If the template does not know about datarootdir, expand it.
   23202 # FIXME: This hack should be removed a few years after 2.60.
   23203 ac_datarootdir_hack=; ac_datarootdir_seen=
   23204 
   23205 ac_sed_dataroot='
   23206 /datarootdir/ {
   23207   p
   23208   q
   23209 }
   23210 /@datadir@/p
   23211 /@docdir@/p
   23212 /@infodir@/p
   23213 /@localedir@/p
   23214 /@mandir@/p
   23215 '
   23216 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23217 *datarootdir*) ac_datarootdir_seen=yes;;
   23218 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23219   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23220 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23221 _ACEOF
   23222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23223   ac_datarootdir_hack='
   23224   s&@datadir@&$datadir&g
   23225   s&@docdir@&$docdir&g
   23226   s&@infodir@&$infodir&g
   23227   s&@localedir@&$localedir&g
   23228   s&@mandir@&$mandir&g
   23229     s&\\\${datarootdir}&$datarootdir&g' ;;
   23230 esac
   23231 _ACEOF
   23232 
   23233 # Neutralize VPATH when `$srcdir' = `.'.
   23234 # Shell code in configure.ac might set extrasub.
   23235 # FIXME: do we really want to maintain this feature?
   23236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23237 ac_sed_extra="$ac_vpsub
   23238 $extrasub
   23239 _ACEOF
   23240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23241 :t
   23242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23243 s|@configure_input@|$ac_sed_conf_input|;t t
   23244 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23245 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23246 s&@srcdir@&$ac_srcdir&;t t
   23247 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23248 s&@top_srcdir@&$ac_top_srcdir&;t t
   23249 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23250 s&@builddir@&$ac_builddir&;t t
   23251 s&@abs_builddir@&$ac_abs_builddir&;t t
   23252 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23253 s&@INSTALL@&$ac_INSTALL&;t t
   23254 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23255 $ac_datarootdir_hack
   23256 "
   23257 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23258   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23259 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23260    { (exit 1); exit 1; }; }
   23261 
   23262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23263   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23264   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23265   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23266 which seems to be undefined.  Please make sure it is defined." >&5
   23267 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23268 which seems to be undefined.  Please make sure it is defined." >&2;}
   23269 
   23270   rm -f "$tmp/stdin"
   23271   case $ac_file in
   23272   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23273   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23274   esac \
   23275   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23276 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23277    { (exit 1); exit 1; }; }
   23278  ;;
   23279   :H)
   23280   #
   23281   # CONFIG_HEADER
   23282   #
   23283   if test x"$ac_file" != x-; then
   23284     {
   23285       $as_echo "/* $configure_input  */" \
   23286       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23287     } >"$tmp/config.h" \
   23288       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23289 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23290    { (exit 1); exit 1; }; }
   23291     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23292       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23293 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23294     else
   23295       rm -f "$ac_file"
   23296       mv "$tmp/config.h" "$ac_file" \
   23297 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23298 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23299    { (exit 1); exit 1; }; }
   23300     fi
   23301   else
   23302     $as_echo "/* $configure_input  */" \
   23303       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23304       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23305 $as_echo "$as_me: error: could not create -" >&2;}
   23306    { (exit 1); exit 1; }; }
   23307   fi
   23308 # Compute "$ac_file"'s index in $config_headers.
   23309 _am_arg="$ac_file"
   23310 _am_stamp_count=1
   23311 for _am_header in $config_headers :; do
   23312   case $_am_header in
   23313     $_am_arg | $_am_arg:* )
   23314       break ;;
   23315     * )
   23316       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23317   esac
   23318 done
   23319 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23320 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23321 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23322 	 X"$_am_arg" : 'X\(//\)$' \| \
   23323 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23324 $as_echo X"$_am_arg" |
   23325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23326 	    s//\1/
   23327 	    q
   23328 	  }
   23329 	  /^X\(\/\/\)[^/].*/{
   23330 	    s//\1/
   23331 	    q
   23332 	  }
   23333 	  /^X\(\/\/\)$/{
   23334 	    s//\1/
   23335 	    q
   23336 	  }
   23337 	  /^X\(\/\).*/{
   23338 	    s//\1/
   23339 	    q
   23340 	  }
   23341 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23342  ;;
   23343 
   23344   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23345 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23346  ;;
   23347   esac
   23348 
   23349 
   23350   case $ac_file$ac_mode in
   23351     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23352   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23353   # are listed without --file.  Let's play safe and only enable the eval
   23354   # if we detect the quoting.
   23355   case $CONFIG_FILES in
   23356   *\'*) eval set x "$CONFIG_FILES" ;;
   23357   *)   set x $CONFIG_FILES ;;
   23358   esac
   23359   shift
   23360   for mf
   23361   do
   23362     # Strip MF so we end up with the name of the file.
   23363     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23364     # Check whether this is an Automake generated Makefile or not.
   23365     # We used to match only the files named `Makefile.in', but
   23366     # some people rename them; so instead we look at the file content.
   23367     # Grep'ing the first line is not enough: some people post-process
   23368     # each Makefile.in and add a new line on top of each file to say so.
   23369     # Grep'ing the whole file is not good either: AIX grep has a line
   23370     # limit of 2048, but all sed's we know have understand at least 4000.
   23371     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23372       dirpart=`$as_dirname -- "$mf" ||
   23373 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23374 	 X"$mf" : 'X\(//\)[^/]' \| \
   23375 	 X"$mf" : 'X\(//\)$' \| \
   23376 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23377 $as_echo X"$mf" |
   23378     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23379 	    s//\1/
   23380 	    q
   23381 	  }
   23382 	  /^X\(\/\/\)[^/].*/{
   23383 	    s//\1/
   23384 	    q
   23385 	  }
   23386 	  /^X\(\/\/\)$/{
   23387 	    s//\1/
   23388 	    q
   23389 	  }
   23390 	  /^X\(\/\).*/{
   23391 	    s//\1/
   23392 	    q
   23393 	  }
   23394 	  s/.*/./; q'`
   23395     else
   23396       continue
   23397     fi
   23398     # Extract the definition of DEPDIR, am__include, and am__quote
   23399     # from the Makefile without running `make'.
   23400     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23401     test -z "$DEPDIR" && continue
   23402     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23403     test -z "am__include" && continue
   23404     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23405     # When using ansi2knr, U may be empty or an underscore; expand it
   23406     U=`sed -n 's/^U = //p' < "$mf"`
   23407     # Find all dependency output files, they are included files with
   23408     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23409     # simplest approach to changing $(DEPDIR) to its actual value in the
   23410     # expansion.
   23411     for file in `sed -n "
   23412       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23413 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23414       # Make sure the directory exists.
   23415       test -f "$dirpart/$file" && continue
   23416       fdir=`$as_dirname -- "$file" ||
   23417 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23418 	 X"$file" : 'X\(//\)[^/]' \| \
   23419 	 X"$file" : 'X\(//\)$' \| \
   23420 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23421 $as_echo X"$file" |
   23422     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23423 	    s//\1/
   23424 	    q
   23425 	  }
   23426 	  /^X\(\/\/\)[^/].*/{
   23427 	    s//\1/
   23428 	    q
   23429 	  }
   23430 	  /^X\(\/\/\)$/{
   23431 	    s//\1/
   23432 	    q
   23433 	  }
   23434 	  /^X\(\/\).*/{
   23435 	    s//\1/
   23436 	    q
   23437 	  }
   23438 	  s/.*/./; q'`
   23439       { as_dir=$dirpart/$fdir
   23440   case $as_dir in #(
   23441   -*) as_dir=./$as_dir;;
   23442   esac
   23443   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23444     as_dirs=
   23445     while :; do
   23446       case $as_dir in #(
   23447       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23448       *) as_qdir=$as_dir;;
   23449       esac
   23450       as_dirs="'$as_qdir' $as_dirs"
   23451       as_dir=`$as_dirname -- "$as_dir" ||
   23452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23453 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23454 	 X"$as_dir" : 'X\(//\)$' \| \
   23455 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23456 $as_echo X"$as_dir" |
   23457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23458 	    s//\1/
   23459 	    q
   23460 	  }
   23461 	  /^X\(\/\/\)[^/].*/{
   23462 	    s//\1/
   23463 	    q
   23464 	  }
   23465 	  /^X\(\/\/\)$/{
   23466 	    s//\1/
   23467 	    q
   23468 	  }
   23469 	  /^X\(\/\).*/{
   23470 	    s//\1/
   23471 	    q
   23472 	  }
   23473 	  s/.*/./; q'`
   23474       test -d "$as_dir" && break
   23475     done
   23476     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23477   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23478 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23479    { (exit 1); exit 1; }; }; }
   23480       # echo "creating $dirpart/$file"
   23481       echo '# dummy' > "$dirpart/$file"
   23482     done
   23483   done
   23484 }
   23485  ;;
   23486 
   23487   esac
   23488 done # for ac_tag
   23489 
   23490 
   23491 { (exit 0); exit 0; }
   23492 _ACEOF
   23493 chmod +x $CONFIG_STATUS
   23494 ac_clean_files=$ac_clean_files_save
   23495 
   23496 test $ac_write_fail = 0 ||
   23497   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23498 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23499    { (exit 1); exit 1; }; }
   23500 
   23501 
   23502 # configure is writing to config.log, and then calls config.status.
   23503 # config.status does its own redirection, appending to config.log.
   23504 # Unfortunately, on DOS this fails, as config.log is still kept open
   23505 # by configure, so config.status won't be able to write to it; its
   23506 # output is simply discarded.  So we exec the FD to /dev/null,
   23507 # effectively closing config.log, so it can be properly (re)opened and
   23508 # appended to by config.status.  When coming back to configure, we
   23509 # need to make the FD available again.
   23510 if test "$no_create" != yes; then
   23511   ac_cs_success=:
   23512   ac_config_status_args=
   23513   test "$silent" = yes &&
   23514     ac_config_status_args="$ac_config_status_args --quiet"
   23515   exec 5>/dev/null
   23516   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23517   exec 5>>config.log
   23518   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23519   # would make configure fail if this is the last instruction.
   23520   $ac_cs_success || { (exit 1); exit 1; }
   23521 fi
   23522 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23523   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23524 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23525 fi
   23526 
   23527