Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-s3virge 1.10.2.
      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-s3virge'
    752 PACKAGE_TARNAME='xf86-video-s3virge'
    753 PACKAGE_VERSION='1.10.2'
    754 PACKAGE_STRING='xf86-video-s3virge 1.10.2'
    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='LTLIBOBJS
    795 LIBOBJS
    796 MAKE_HTML
    797 MAKE_PDF
    798 MAKE_PS
    799 MAKE_TEXT
    800 BUILD_PDFDOC_FALSE
    801 BUILD_PDFDOC_TRUE
    802 BUILD_LINUXDOC_FALSE
    803 BUILD_LINUXDOC_TRUE
    804 PS2PDF
    805 LINUXDOC
    806 ADMIN_MAN_DIR
    807 DRIVER_MAN_DIR
    808 MISC_MAN_DIR
    809 FILE_MAN_DIR
    810 LIB_MAN_DIR
    811 APP_MAN_DIR
    812 ADMIN_MAN_SUFFIX
    813 DRIVER_MAN_SUFFIX
    814 MISC_MAN_SUFFIX
    815 FILE_MAN_SUFFIX
    816 LIB_MAN_SUFFIX
    817 APP_MAN_SUFFIX
    818 DRIVER_NAME
    819 moduledir
    820 XSERVER_LIBPCIACCESS_FALSE
    821 XSERVER_LIBPCIACCESS_TRUE
    822 PCIACCESS_LIBS
    823 PCIACCESS_CFLAGS
    824 XORG_LIBS
    825 XORG_CFLAGS
    826 PKG_CONFIG
    827 LIBTOOL
    828 ac_ct_F77
    829 FFLAGS
    830 F77
    831 CXXCPP
    832 am__fastdepCXX_FALSE
    833 am__fastdepCXX_TRUE
    834 CXXDEPMODE
    835 ac_ct_CXX
    836 CXXFLAGS
    837 CXX
    838 CPP
    839 NMEDIT
    840 DSYMUTIL
    841 RANLIB
    842 AR
    843 ECHO
    844 LN_S
    845 EGREP
    846 GREP
    847 SED
    848 am__fastdepCC_FALSE
    849 am__fastdepCC_TRUE
    850 CCDEPMODE
    851 AMDEPBACKSLASH
    852 AMDEP_FALSE
    853 AMDEP_TRUE
    854 am__quote
    855 am__include
    856 DEPDIR
    857 OBJEXT
    858 EXEEXT
    859 ac_ct_CC
    860 CPPFLAGS
    861 LDFLAGS
    862 CFLAGS
    863 CC
    864 host_os
    865 host_vendor
    866 host_cpu
    867 host
    868 build_os
    869 build_vendor
    870 build_cpu
    871 build
    872 MAINT
    873 MAINTAINER_MODE_FALSE
    874 MAINTAINER_MODE_TRUE
    875 am__untar
    876 am__tar
    877 AMTAR
    878 am__leading_dot
    879 SET_MAKE
    880 AWK
    881 mkdir_p
    882 MKDIR_P
    883 INSTALL_STRIP_PROGRAM
    884 STRIP
    885 install_sh
    886 MAKEINFO
    887 AUTOHEADER
    888 AUTOMAKE
    889 AUTOCONF
    890 ACLOCAL
    891 VERSION
    892 PACKAGE
    893 CYGPATH_W
    894 am__isrc
    895 INSTALL_DATA
    896 INSTALL_SCRIPT
    897 INSTALL_PROGRAM
    898 target_alias
    899 host_alias
    900 build_alias
    901 LIBS
    902 ECHO_T
    903 ECHO_N
    904 ECHO_C
    905 DEFS
    906 mandir
    907 localedir
    908 libdir
    909 psdir
    910 pdfdir
    911 dvidir
    912 htmldir
    913 infodir
    914 docdir
    915 oldincludedir
    916 includedir
    917 localstatedir
    918 sharedstatedir
    919 sysconfdir
    920 datadir
    921 datarootdir
    922 libexecdir
    923 sbindir
    924 bindir
    925 program_transform_name
    926 prefix
    927 exec_prefix
    928 PACKAGE_BUGREPORT
    929 PACKAGE_STRING
    930 PACKAGE_VERSION
    931 PACKAGE_TARNAME
    932 PACKAGE_NAME
    933 PATH_SEPARATOR
    934 SHELL'
    935 ac_subst_files=''
    936 ac_user_opts='
    937 enable_option_checking
    938 enable_maintainer_mode
    939 enable_static
    940 enable_shared
    941 enable_fast_install
    942 enable_dependency_tracking
    943 with_gnu_ld
    944 enable_libtool_lock
    945 with_pic
    946 with_tags
    947 with_xorg_module_dir
    948 with_release_version
    949 '
    950       ac_precious_vars='build_alias
    951 host_alias
    952 target_alias
    953 CC
    954 CFLAGS
    955 LDFLAGS
    956 LIBS
    957 CPPFLAGS
    958 CPP
    959 CXX
    960 CXXFLAGS
    961 CCC
    962 CXXCPP
    963 F77
    964 FFLAGS
    965 PKG_CONFIG
    966 XORG_CFLAGS
    967 XORG_LIBS
    968 PCIACCESS_CFLAGS
    969 PCIACCESS_LIBS'
    970 
    971 
    972 # Initialize some variables set by options.
    973 ac_init_help=
    974 ac_init_version=false
    975 ac_unrecognized_opts=
    976 ac_unrecognized_sep=
    977 # The variables have the same names as the options, with
    978 # dashes changed to underlines.
    979 cache_file=/dev/null
    980 exec_prefix=NONE
    981 no_create=
    982 no_recursion=
    983 prefix=NONE
    984 program_prefix=NONE
    985 program_suffix=NONE
    986 program_transform_name=s,x,x,
    987 silent=
    988 site=
    989 srcdir=
    990 verbose=
    991 x_includes=NONE
    992 x_libraries=NONE
    993 
    994 # Installation directory options.
    995 # These are left unexpanded so users can "make install exec_prefix=/foo"
    996 # and all the variables that are supposed to be based on exec_prefix
    997 # by default will actually change.
    998 # Use braces instead of parens because sh, perl, etc. also accept them.
    999 # (The list follows the same order as the GNU Coding Standards.)
   1000 bindir='${exec_prefix}/bin'
   1001 sbindir='${exec_prefix}/sbin'
   1002 libexecdir='${exec_prefix}/libexec'
   1003 datarootdir='${prefix}/share'
   1004 datadir='${datarootdir}'
   1005 sysconfdir='${prefix}/etc'
   1006 sharedstatedir='${prefix}/com'
   1007 localstatedir='${prefix}/var'
   1008 includedir='${prefix}/include'
   1009 oldincludedir='/usr/include'
   1010 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1011 infodir='${datarootdir}/info'
   1012 htmldir='${docdir}'
   1013 dvidir='${docdir}'
   1014 pdfdir='${docdir}'
   1015 psdir='${docdir}'
   1016 libdir='${exec_prefix}/lib'
   1017 localedir='${datarootdir}/locale'
   1018 mandir='${datarootdir}/man'
   1019 
   1020 ac_prev=
   1021 ac_dashdash=
   1022 for ac_option
   1023 do
   1024   # If the previous option needs an argument, assign it.
   1025   if test -n "$ac_prev"; then
   1026     eval $ac_prev=\$ac_option
   1027     ac_prev=
   1028     continue
   1029   fi
   1030 
   1031   case $ac_option in
   1032   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1033   *)	ac_optarg=yes ;;
   1034   esac
   1035 
   1036   # Accept the important Cygnus configure options, so we can diagnose typos.
   1037 
   1038   case $ac_dashdash$ac_option in
   1039   --)
   1040     ac_dashdash=yes ;;
   1041 
   1042   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1043     ac_prev=bindir ;;
   1044   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1045     bindir=$ac_optarg ;;
   1046 
   1047   -build | --build | --buil | --bui | --bu)
   1048     ac_prev=build_alias ;;
   1049   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1050     build_alias=$ac_optarg ;;
   1051 
   1052   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1053   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1054     ac_prev=cache_file ;;
   1055   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1056   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1057     cache_file=$ac_optarg ;;
   1058 
   1059   --config-cache | -C)
   1060     cache_file=config.cache ;;
   1061 
   1062   -datadir | --datadir | --datadi | --datad)
   1063     ac_prev=datadir ;;
   1064   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1065     datadir=$ac_optarg ;;
   1066 
   1067   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1068   | --dataroo | --dataro | --datar)
   1069     ac_prev=datarootdir ;;
   1070   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1071   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1072     datarootdir=$ac_optarg ;;
   1073 
   1074   -disable-* | --disable-*)
   1075     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1076     # Reject names that are not valid shell variable names.
   1077     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1078       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1079    { (exit 1); exit 1; }; }
   1080     ac_useropt_orig=$ac_useropt
   1081     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1082     case $ac_user_opts in
   1083       *"
   1084 "enable_$ac_useropt"
   1085 "*) ;;
   1086       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1087 	 ac_unrecognized_sep=', ';;
   1088     esac
   1089     eval enable_$ac_useropt=no ;;
   1090 
   1091   -docdir | --docdir | --docdi | --doc | --do)
   1092     ac_prev=docdir ;;
   1093   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1094     docdir=$ac_optarg ;;
   1095 
   1096   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1097     ac_prev=dvidir ;;
   1098   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1099     dvidir=$ac_optarg ;;
   1100 
   1101   -enable-* | --enable-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1106    { (exit 1); exit 1; }; }
   1107     ac_useropt_orig=$ac_useropt
   1108     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1109     case $ac_user_opts in
   1110       *"
   1111 "enable_$ac_useropt"
   1112 "*) ;;
   1113       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1114 	 ac_unrecognized_sep=', ';;
   1115     esac
   1116     eval enable_$ac_useropt=\$ac_optarg ;;
   1117 
   1118   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1119   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1120   | --exec | --exe | --ex)
   1121     ac_prev=exec_prefix ;;
   1122   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1123   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1124   | --exec=* | --exe=* | --ex=*)
   1125     exec_prefix=$ac_optarg ;;
   1126 
   1127   -gas | --gas | --ga | --g)
   1128     # Obsolete; use --with-gas.
   1129     with_gas=yes ;;
   1130 
   1131   -help | --help | --hel | --he | -h)
   1132     ac_init_help=long ;;
   1133   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1134     ac_init_help=recursive ;;
   1135   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1136     ac_init_help=short ;;
   1137 
   1138   -host | --host | --hos | --ho)
   1139     ac_prev=host_alias ;;
   1140   -host=* | --host=* | --hos=* | --ho=*)
   1141     host_alias=$ac_optarg ;;
   1142 
   1143   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1144     ac_prev=htmldir ;;
   1145   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1146   | --ht=*)
   1147     htmldir=$ac_optarg ;;
   1148 
   1149   -includedir | --includedir | --includedi | --included | --include \
   1150   | --includ | --inclu | --incl | --inc)
   1151     ac_prev=includedir ;;
   1152   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1153   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1154     includedir=$ac_optarg ;;
   1155 
   1156   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1157     ac_prev=infodir ;;
   1158   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1159     infodir=$ac_optarg ;;
   1160 
   1161   -libdir | --libdir | --libdi | --libd)
   1162     ac_prev=libdir ;;
   1163   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1164     libdir=$ac_optarg ;;
   1165 
   1166   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1167   | --libexe | --libex | --libe)
   1168     ac_prev=libexecdir ;;
   1169   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1170   | --libexe=* | --libex=* | --libe=*)
   1171     libexecdir=$ac_optarg ;;
   1172 
   1173   -localedir | --localedir | --localedi | --localed | --locale)
   1174     ac_prev=localedir ;;
   1175   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1176     localedir=$ac_optarg ;;
   1177 
   1178   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1179   | --localstate | --localstat | --localsta | --localst | --locals)
   1180     ac_prev=localstatedir ;;
   1181   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1182   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1183     localstatedir=$ac_optarg ;;
   1184 
   1185   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1186     ac_prev=mandir ;;
   1187   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1188     mandir=$ac_optarg ;;
   1189 
   1190   -nfp | --nfp | --nf)
   1191     # Obsolete; use --without-fp.
   1192     with_fp=no ;;
   1193 
   1194   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1195   | --no-cr | --no-c | -n)
   1196     no_create=yes ;;
   1197 
   1198   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1199   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1200     no_recursion=yes ;;
   1201 
   1202   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1203   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1204   | --oldin | --oldi | --old | --ol | --o)
   1205     ac_prev=oldincludedir ;;
   1206   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1207   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1208   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1209     oldincludedir=$ac_optarg ;;
   1210 
   1211   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1212     ac_prev=prefix ;;
   1213   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1214     prefix=$ac_optarg ;;
   1215 
   1216   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1217   | --program-pre | --program-pr | --program-p)
   1218     ac_prev=program_prefix ;;
   1219   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1220   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1221     program_prefix=$ac_optarg ;;
   1222 
   1223   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1224   | --program-suf | --program-su | --program-s)
   1225     ac_prev=program_suffix ;;
   1226   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1227   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1228     program_suffix=$ac_optarg ;;
   1229 
   1230   -program-transform-name | --program-transform-name \
   1231   | --program-transform-nam | --program-transform-na \
   1232   | --program-transform-n | --program-transform- \
   1233   | --program-transform | --program-transfor \
   1234   | --program-transfo | --program-transf \
   1235   | --program-trans | --program-tran \
   1236   | --progr-tra | --program-tr | --program-t)
   1237     ac_prev=program_transform_name ;;
   1238   -program-transform-name=* | --program-transform-name=* \
   1239   | --program-transform-nam=* | --program-transform-na=* \
   1240   | --program-transform-n=* | --program-transform-=* \
   1241   | --program-transform=* | --program-transfor=* \
   1242   | --program-transfo=* | --program-transf=* \
   1243   | --program-trans=* | --program-tran=* \
   1244   | --progr-tra=* | --program-tr=* | --program-t=*)
   1245     program_transform_name=$ac_optarg ;;
   1246 
   1247   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1248     ac_prev=pdfdir ;;
   1249   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1250     pdfdir=$ac_optarg ;;
   1251 
   1252   -psdir | --psdir | --psdi | --psd | --ps)
   1253     ac_prev=psdir ;;
   1254   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1255     psdir=$ac_optarg ;;
   1256 
   1257   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1258   | -silent | --silent | --silen | --sile | --sil)
   1259     silent=yes ;;
   1260 
   1261   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1262     ac_prev=sbindir ;;
   1263   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1264   | --sbi=* | --sb=*)
   1265     sbindir=$ac_optarg ;;
   1266 
   1267   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1268   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1269   | --sharedst | --shareds | --shared | --share | --shar \
   1270   | --sha | --sh)
   1271     ac_prev=sharedstatedir ;;
   1272   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1273   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1274   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1275   | --sha=* | --sh=*)
   1276     sharedstatedir=$ac_optarg ;;
   1277 
   1278   -site | --site | --sit)
   1279     ac_prev=site ;;
   1280   -site=* | --site=* | --sit=*)
   1281     site=$ac_optarg ;;
   1282 
   1283   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1284     ac_prev=srcdir ;;
   1285   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1286     srcdir=$ac_optarg ;;
   1287 
   1288   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1289   | --syscon | --sysco | --sysc | --sys | --sy)
   1290     ac_prev=sysconfdir ;;
   1291   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1292   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1293     sysconfdir=$ac_optarg ;;
   1294 
   1295   -target | --target | --targe | --targ | --tar | --ta | --t)
   1296     ac_prev=target_alias ;;
   1297   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1298     target_alias=$ac_optarg ;;
   1299 
   1300   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1301     verbose=yes ;;
   1302 
   1303   -version | --version | --versio | --versi | --vers | -V)
   1304     ac_init_version=: ;;
   1305 
   1306   -with-* | --with-*)
   1307     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1308     # Reject names that are not valid shell variable names.
   1309     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1310       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1311    { (exit 1); exit 1; }; }
   1312     ac_useropt_orig=$ac_useropt
   1313     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1314     case $ac_user_opts in
   1315       *"
   1316 "with_$ac_useropt"
   1317 "*) ;;
   1318       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1319 	 ac_unrecognized_sep=', ';;
   1320     esac
   1321     eval with_$ac_useropt=\$ac_optarg ;;
   1322 
   1323   -without-* | --without-*)
   1324     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1325     # Reject names that are not valid shell variable names.
   1326     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1327       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1328    { (exit 1); exit 1; }; }
   1329     ac_useropt_orig=$ac_useropt
   1330     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1331     case $ac_user_opts in
   1332       *"
   1333 "with_$ac_useropt"
   1334 "*) ;;
   1335       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1336 	 ac_unrecognized_sep=', ';;
   1337     esac
   1338     eval with_$ac_useropt=no ;;
   1339 
   1340   --x)
   1341     # Obsolete; use --with-x.
   1342     with_x=yes ;;
   1343 
   1344   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1345   | --x-incl | --x-inc | --x-in | --x-i)
   1346     ac_prev=x_includes ;;
   1347   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1348   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1349     x_includes=$ac_optarg ;;
   1350 
   1351   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1352   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1353     ac_prev=x_libraries ;;
   1354   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1355   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1356     x_libraries=$ac_optarg ;;
   1357 
   1358   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1359 Try \`$0 --help' for more information." >&2
   1360    { (exit 1); exit 1; }; }
   1361     ;;
   1362 
   1363   *=*)
   1364     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1365     # Reject names that are not valid shell variable names.
   1366     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1367       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1368    { (exit 1); exit 1; }; }
   1369     eval $ac_envvar=\$ac_optarg
   1370     export $ac_envvar ;;
   1371 
   1372   *)
   1373     # FIXME: should be removed in autoconf 3.0.
   1374     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1375     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1376       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1377     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1378     ;;
   1379 
   1380   esac
   1381 done
   1382 
   1383 if test -n "$ac_prev"; then
   1384   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1385   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1386    { (exit 1); exit 1; }; }
   1387 fi
   1388 
   1389 if test -n "$ac_unrecognized_opts"; then
   1390   case $enable_option_checking in
   1391     no) ;;
   1392     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1393    { (exit 1); exit 1; }; } ;;
   1394     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1395   esac
   1396 fi
   1397 
   1398 # Check all directory arguments for consistency.
   1399 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1400 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1401 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1402 		libdir localedir mandir
   1403 do
   1404   eval ac_val=\$$ac_var
   1405   # Remove trailing slashes.
   1406   case $ac_val in
   1407     */ )
   1408       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1409       eval $ac_var=\$ac_val;;
   1410   esac
   1411   # Be sure to have absolute directory names.
   1412   case $ac_val in
   1413     [\\/$]* | ?:[\\/]* )  continue;;
   1414     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1415   esac
   1416   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1417    { (exit 1); exit 1; }; }
   1418 done
   1419 
   1420 # There might be people who depend on the old broken behavior: `$host'
   1421 # used to hold the argument of --host etc.
   1422 # FIXME: To remove some day.
   1423 build=$build_alias
   1424 host=$host_alias
   1425 target=$target_alias
   1426 
   1427 # FIXME: To remove some day.
   1428 if test "x$host_alias" != x; then
   1429   if test "x$build_alias" = x; then
   1430     cross_compiling=maybe
   1431     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1432     If a cross compiler is detected then cross compile mode will be used." >&2
   1433   elif test "x$build_alias" != "x$host_alias"; then
   1434     cross_compiling=yes
   1435   fi
   1436 fi
   1437 
   1438 ac_tool_prefix=
   1439 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1440 
   1441 test "$silent" = yes && exec 6>/dev/null
   1442 
   1443 
   1444 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1445 ac_ls_di=`ls -di .` &&
   1446 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1447   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1448    { (exit 1); exit 1; }; }
   1449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1450   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1451    { (exit 1); exit 1; }; }
   1452 
   1453 
   1454 # Find the source files, if location was not specified.
   1455 if test -z "$srcdir"; then
   1456   ac_srcdir_defaulted=yes
   1457   # Try the directory containing this script, then the parent directory.
   1458   ac_confdir=`$as_dirname -- "$as_myself" ||
   1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1460 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1461 	 X"$as_myself" : 'X\(//\)$' \| \
   1462 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1463 $as_echo X"$as_myself" |
   1464     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1465 	    s//\1/
   1466 	    q
   1467 	  }
   1468 	  /^X\(\/\/\)[^/].*/{
   1469 	    s//\1/
   1470 	    q
   1471 	  }
   1472 	  /^X\(\/\/\)$/{
   1473 	    s//\1/
   1474 	    q
   1475 	  }
   1476 	  /^X\(\/\).*/{
   1477 	    s//\1/
   1478 	    q
   1479 	  }
   1480 	  s/.*/./; q'`
   1481   srcdir=$ac_confdir
   1482   if test ! -r "$srcdir/$ac_unique_file"; then
   1483     srcdir=..
   1484   fi
   1485 else
   1486   ac_srcdir_defaulted=no
   1487 fi
   1488 if test ! -r "$srcdir/$ac_unique_file"; then
   1489   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1490   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1491    { (exit 1); exit 1; }; }
   1492 fi
   1493 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1494 ac_abs_confdir=`(
   1495 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1496    { (exit 1); exit 1; }; }
   1497 	pwd)`
   1498 # When building in place, set srcdir=.
   1499 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1500   srcdir=.
   1501 fi
   1502 # Remove unnecessary trailing slashes from srcdir.
   1503 # Double slashes in file names in object file debugging info
   1504 # mess up M-x gdb in Emacs.
   1505 case $srcdir in
   1506 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1507 esac
   1508 for ac_var in $ac_precious_vars; do
   1509   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1510   eval ac_env_${ac_var}_value=\$${ac_var}
   1511   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1512   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1513 done
   1514 
   1515 #
   1516 # Report the --help message.
   1517 #
   1518 if test "$ac_init_help" = "long"; then
   1519   # Omit some internal or obsolete options to make the list less imposing.
   1520   # This message is too long to be a string in the A/UX 3.1 sh.
   1521   cat <<_ACEOF
   1522 \`configure' configures xf86-video-s3virge 1.10.2 to adapt to many kinds of systems.
   1523 
   1524 Usage: $0 [OPTION]... [VAR=VALUE]...
   1525 
   1526 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1527 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1528 
   1529 Defaults for the options are specified in brackets.
   1530 
   1531 Configuration:
   1532   -h, --help              display this help and exit
   1533       --help=short        display options specific to this package
   1534       --help=recursive    display the short help of all the included packages
   1535   -V, --version           display version information and exit
   1536   -q, --quiet, --silent   do not print \`checking...' messages
   1537       --cache-file=FILE   cache test results in FILE [disabled]
   1538   -C, --config-cache      alias for \`--cache-file=config.cache'
   1539   -n, --no-create         do not create output files
   1540       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1541 
   1542 Installation directories:
   1543   --prefix=PREFIX         install architecture-independent files in PREFIX
   1544                           [$ac_default_prefix]
   1545   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1546                           [PREFIX]
   1547 
   1548 By default, \`make install' will install all the files in
   1549 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1550 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1551 for instance \`--prefix=\$HOME'.
   1552 
   1553 For better control, use the options below.
   1554 
   1555 Fine tuning of the installation directories:
   1556   --bindir=DIR            user executables [EPREFIX/bin]
   1557   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1558   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1559   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1560   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1561   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1562   --libdir=DIR            object code libraries [EPREFIX/lib]
   1563   --includedir=DIR        C header files [PREFIX/include]
   1564   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1565   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1566   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1567   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1568   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1569   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1570   --docdir=DIR            documentation root
   1571                           [DATAROOTDIR/doc/xf86-video-s3virge]
   1572   --htmldir=DIR           html documentation [DOCDIR]
   1573   --dvidir=DIR            dvi documentation [DOCDIR]
   1574   --pdfdir=DIR            pdf documentation [DOCDIR]
   1575   --psdir=DIR             ps documentation [DOCDIR]
   1576 _ACEOF
   1577 
   1578   cat <<\_ACEOF
   1579 
   1580 Program names:
   1581   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1582   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1583   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1584 
   1585 System types:
   1586   --build=BUILD     configure for building on BUILD [guessed]
   1587   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1588 _ACEOF
   1589 fi
   1590 
   1591 if test -n "$ac_init_help"; then
   1592   case $ac_init_help in
   1593      short | recursive ) echo "Configuration of xf86-video-s3virge 1.10.2:";;
   1594    esac
   1595   cat <<\_ACEOF
   1596 
   1597 Optional Features:
   1598   --disable-option-checking  ignore unrecognized --enable/--with options
   1599   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1600   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1601   --enable-maintainer-mode  enable make rules and dependencies not useful
   1602 			  (and sometimes confusing) to the casual installer
   1603   --enable-static[=PKGS]  build static libraries [default=no]
   1604   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1605   --enable-fast-install[=PKGS]
   1606                           optimize for fast installation [default=yes]
   1607   --disable-dependency-tracking  speeds up one-time build
   1608   --enable-dependency-tracking   do not reject slow dependency extractors
   1609   --disable-libtool-lock  avoid locking (might break parallel builds)
   1610 
   1611 Optional Packages:
   1612   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1613   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1614   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1615   --with-pic              try to use only PIC/non-PIC objects [default=use
   1616                           both]
   1617   --with-tags[=TAGS]      include additional configurations [automatic]
   1618   --with-xorg-module-dir=DIR
   1619                           Default xorg module directory
   1620                           [default=$libdir/xorg/modules]
   1621   --with-release-version=STRING
   1622                           Use release version string in package name
   1623 
   1624 Some influential environment variables:
   1625   CC          C compiler command
   1626   CFLAGS      C compiler flags
   1627   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1628               nonstandard directory <lib dir>
   1629   LIBS        libraries to pass to the linker, e.g. -l<library>
   1630   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1631               you have headers in a nonstandard directory <include dir>
   1632   CPP         C preprocessor
   1633   CXX         C++ compiler command
   1634   CXXFLAGS    C++ compiler flags
   1635   CXXCPP      C++ preprocessor
   1636   F77         Fortran 77 compiler command
   1637   FFLAGS      Fortran 77 compiler flags
   1638   PKG_CONFIG  path to pkg-config utility
   1639   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1640   XORG_LIBS   linker flags for XORG, 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-s3virge configure 1.10.2
   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-s3virge $as_me 1.10.2, 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.10'
   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 # Do `set' in a subshell so we don't clobber the current shell's
   2231 # arguments.  Must try -L first in case configure is actually a
   2232 # symlink; some systems play weird games with the mod time of symlinks
   2233 # (eg FreeBSD returns the mod time of the symlink's containing
   2234 # directory).
   2235 if (
   2236    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2237    if test "$*" = "X"; then
   2238       # -L didn't work.
   2239       set X `ls -t $srcdir/configure conftest.file`
   2240    fi
   2241    rm -f conftest.file
   2242    if test "$*" != "X $srcdir/configure conftest.file" \
   2243       && test "$*" != "X conftest.file $srcdir/configure"; then
   2244 
   2245       # If neither matched, then we have a broken ls.  This can happen
   2246       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2247       # broken ls alias from the environment.  This has actually
   2248       # happened.  Such a system could not be considered "sane".
   2249       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2250 alias in your environment" >&5
   2251 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2252 alias in your environment" >&2;}
   2253    { (exit 1); exit 1; }; }
   2254    fi
   2255 
   2256    test "$2" = conftest.file
   2257    )
   2258 then
   2259    # Ok.
   2260    :
   2261 else
   2262    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2263 Check your system clock" >&5
   2264 $as_echo "$as_me: error: newly created file is older than distributed files!
   2265 Check your system clock" >&2;}
   2266    { (exit 1); exit 1; }; }
   2267 fi
   2268 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2269 $as_echo "yes" >&6; }
   2270 test "$program_prefix" != NONE &&
   2271   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2272 # Use a double $ so make ignores it.
   2273 test "$program_suffix" != NONE &&
   2274   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2275 # Double any \ or $.
   2276 # By default was `s,x,x', remove it if useless.
   2277 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2278 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2279 
   2280 # expand $ac_aux_dir to an absolute path
   2281 am_aux_dir=`cd $ac_aux_dir && pwd`
   2282 
   2283 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2284 # Use eval to expand $SHELL
   2285 if eval "$MISSING --run true"; then
   2286   am_missing_run="$MISSING --run "
   2287 else
   2288   am_missing_run=
   2289   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2290 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2291 fi
   2292 
   2293 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2294 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2295 if test -z "$MKDIR_P"; then
   2296   if test "${ac_cv_path_mkdir+set}" = set; then
   2297   $as_echo_n "(cached) " >&6
   2298 else
   2299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2300 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2301 do
   2302   IFS=$as_save_IFS
   2303   test -z "$as_dir" && as_dir=.
   2304   for ac_prog in mkdir gmkdir; do
   2305 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2306 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2307 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2308 	     'mkdir (GNU coreutils) '* | \
   2309 	     'mkdir (coreutils) '* | \
   2310 	     'mkdir (fileutils) '4.1*)
   2311 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2312 	       break 3;;
   2313 	   esac
   2314 	 done
   2315        done
   2316 done
   2317 IFS=$as_save_IFS
   2318 
   2319 fi
   2320 
   2321   if test "${ac_cv_path_mkdir+set}" = set; then
   2322     MKDIR_P="$ac_cv_path_mkdir -p"
   2323   else
   2324     # As a last resort, use the slow shell script.  Don't cache a
   2325     # value for MKDIR_P within a source directory, because that will
   2326     # break other packages using the cache if that directory is
   2327     # removed, or if the value is a relative name.
   2328     test -d ./--version && rmdir ./--version
   2329     MKDIR_P="$ac_install_sh -d"
   2330   fi
   2331 fi
   2332 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2333 $as_echo "$MKDIR_P" >&6; }
   2334 
   2335 mkdir_p="$MKDIR_P"
   2336 case $mkdir_p in
   2337   [\\/$]* | ?:[\\/]*) ;;
   2338   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2339 esac
   2340 
   2341 for ac_prog in gawk mawk nawk awk
   2342 do
   2343   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2344 set dummy $ac_prog; ac_word=$2
   2345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2346 $as_echo_n "checking for $ac_word... " >&6; }
   2347 if test "${ac_cv_prog_AWK+set}" = set; then
   2348   $as_echo_n "(cached) " >&6
   2349 else
   2350   if test -n "$AWK"; then
   2351   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2352 else
   2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2354 for as_dir in $PATH
   2355 do
   2356   IFS=$as_save_IFS
   2357   test -z "$as_dir" && as_dir=.
   2358   for ac_exec_ext in '' $ac_executable_extensions; do
   2359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2360     ac_cv_prog_AWK="$ac_prog"
   2361     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2362     break 2
   2363   fi
   2364 done
   2365 done
   2366 IFS=$as_save_IFS
   2367 
   2368 fi
   2369 fi
   2370 AWK=$ac_cv_prog_AWK
   2371 if test -n "$AWK"; then
   2372   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2373 $as_echo "$AWK" >&6; }
   2374 else
   2375   { $as_echo "$as_me:$LINENO: result: no" >&5
   2376 $as_echo "no" >&6; }
   2377 fi
   2378 
   2379 
   2380   test -n "$AWK" && break
   2381 done
   2382 
   2383 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2384 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2385 set x ${MAKE-make}
   2386 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2387 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2388   $as_echo_n "(cached) " >&6
   2389 else
   2390   cat >conftest.make <<\_ACEOF
   2391 SHELL = /bin/sh
   2392 all:
   2393 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2394 _ACEOF
   2395 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2396 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2397   *@@@%%%=?*=@@@%%%*)
   2398     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2399   *)
   2400     eval ac_cv_prog_make_${ac_make}_set=no;;
   2401 esac
   2402 rm -f conftest.make
   2403 fi
   2404 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2405   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2406 $as_echo "yes" >&6; }
   2407   SET_MAKE=
   2408 else
   2409   { $as_echo "$as_me:$LINENO: result: no" >&5
   2410 $as_echo "no" >&6; }
   2411   SET_MAKE="MAKE=${MAKE-make}"
   2412 fi
   2413 
   2414 rm -rf .tst 2>/dev/null
   2415 mkdir .tst 2>/dev/null
   2416 if test -d .tst; then
   2417   am__leading_dot=.
   2418 else
   2419   am__leading_dot=_
   2420 fi
   2421 rmdir .tst 2>/dev/null
   2422 
   2423 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2424   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2425   # is not polluted with repeated "-I."
   2426   am__isrc=' -I$(srcdir)'
   2427   # test to see if srcdir already configured
   2428   if test -f $srcdir/config.status; then
   2429     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2430 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2431    { (exit 1); exit 1; }; }
   2432   fi
   2433 fi
   2434 
   2435 # test whether we have cygpath
   2436 if test -z "$CYGPATH_W"; then
   2437   if (cygpath --version) >/dev/null 2>/dev/null; then
   2438     CYGPATH_W='cygpath -w'
   2439   else
   2440     CYGPATH_W=echo
   2441   fi
   2442 fi
   2443 
   2444 
   2445 # Define the identity of the package.
   2446  PACKAGE='xf86-video-s3virge'
   2447  VERSION='1.10.2'
   2448 
   2449 
   2450 cat >>confdefs.h <<_ACEOF
   2451 #define PACKAGE "$PACKAGE"
   2452 _ACEOF
   2453 
   2454 
   2455 cat >>confdefs.h <<_ACEOF
   2456 #define VERSION "$VERSION"
   2457 _ACEOF
   2458 
   2459 # Some tools Automake needs.
   2460 
   2461 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2462 
   2463 
   2464 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2465 
   2466 
   2467 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2468 
   2469 
   2470 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2471 
   2472 
   2473 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2474 
   2475 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2476 
   2477 # Installed binaries are usually stripped using `strip' when the user
   2478 # run `make install-strip'.  However `strip' might not be the right
   2479 # tool to use in cross-compilation environments, therefore Automake
   2480 # will honor the `STRIP' environment variable to overrule this program.
   2481 if test "$cross_compiling" != no; then
   2482   if test -n "$ac_tool_prefix"; then
   2483   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2484 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2485 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2486 $as_echo_n "checking for $ac_word... " >&6; }
   2487 if test "${ac_cv_prog_STRIP+set}" = set; then
   2488   $as_echo_n "(cached) " >&6
   2489 else
   2490   if test -n "$STRIP"; then
   2491   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2492 else
   2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2494 for as_dir in $PATH
   2495 do
   2496   IFS=$as_save_IFS
   2497   test -z "$as_dir" && as_dir=.
   2498   for ac_exec_ext in '' $ac_executable_extensions; do
   2499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2500     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2501     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2502     break 2
   2503   fi
   2504 done
   2505 done
   2506 IFS=$as_save_IFS
   2507 
   2508 fi
   2509 fi
   2510 STRIP=$ac_cv_prog_STRIP
   2511 if test -n "$STRIP"; then
   2512   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2513 $as_echo "$STRIP" >&6; }
   2514 else
   2515   { $as_echo "$as_me:$LINENO: result: no" >&5
   2516 $as_echo "no" >&6; }
   2517 fi
   2518 
   2519 
   2520 fi
   2521 if test -z "$ac_cv_prog_STRIP"; then
   2522   ac_ct_STRIP=$STRIP
   2523   # Extract the first word of "strip", so it can be a program name with args.
   2524 set dummy strip; ac_word=$2
   2525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2526 $as_echo_n "checking for $ac_word... " >&6; }
   2527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2528   $as_echo_n "(cached) " >&6
   2529 else
   2530   if test -n "$ac_ct_STRIP"; then
   2531   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2532 else
   2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2534 for as_dir in $PATH
   2535 do
   2536   IFS=$as_save_IFS
   2537   test -z "$as_dir" && as_dir=.
   2538   for ac_exec_ext in '' $ac_executable_extensions; do
   2539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2540     ac_cv_prog_ac_ct_STRIP="strip"
   2541     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2542     break 2
   2543   fi
   2544 done
   2545 done
   2546 IFS=$as_save_IFS
   2547 
   2548 fi
   2549 fi
   2550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2551 if test -n "$ac_ct_STRIP"; then
   2552   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2553 $as_echo "$ac_ct_STRIP" >&6; }
   2554 else
   2555   { $as_echo "$as_me:$LINENO: result: no" >&5
   2556 $as_echo "no" >&6; }
   2557 fi
   2558 
   2559   if test "x$ac_ct_STRIP" = x; then
   2560     STRIP=":"
   2561   else
   2562     case $cross_compiling:$ac_tool_warned in
   2563 yes:)
   2564 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2566 ac_tool_warned=yes ;;
   2567 esac
   2568     STRIP=$ac_ct_STRIP
   2569   fi
   2570 else
   2571   STRIP="$ac_cv_prog_STRIP"
   2572 fi
   2573 
   2574 fi
   2575 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2576 
   2577 # We need awk for the "check" target.  The system "awk" is bad on
   2578 # some platforms.
   2579 # Always define AMTAR for backward compatibility.
   2580 
   2581 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2582 
   2583 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2584 
   2585 
   2586 
   2587 
   2588 
   2589 
   2590 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2591 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2592     # Check whether --enable-maintainer-mode was given.
   2593 if test "${enable_maintainer_mode+set}" = set; then
   2594   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2595 else
   2596   USE_MAINTAINER_MODE=no
   2597 fi
   2598 
   2599   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2600 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2601    if test $USE_MAINTAINER_MODE = yes; then
   2602   MAINTAINER_MODE_TRUE=
   2603   MAINTAINER_MODE_FALSE='#'
   2604 else
   2605   MAINTAINER_MODE_TRUE='#'
   2606   MAINTAINER_MODE_FALSE=
   2607 fi
   2608 
   2609   MAINT=$MAINTAINER_MODE_TRUE
   2610 
   2611 
   2612 
   2613 # Checks for programs.
   2614 # Check whether --enable-static was given.
   2615 if test "${enable_static+set}" = set; then
   2616   enableval=$enable_static; p=${PACKAGE-default}
   2617     case $enableval in
   2618     yes) enable_static=yes ;;
   2619     no) enable_static=no ;;
   2620     *)
   2621      enable_static=no
   2622       # Look at the argument we got.  We use all the common list separators.
   2623       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2624       for pkg in $enableval; do
   2625 	IFS="$lt_save_ifs"
   2626 	if test "X$pkg" = "X$p"; then
   2627 	  enable_static=yes
   2628 	fi
   2629       done
   2630       IFS="$lt_save_ifs"
   2631       ;;
   2632     esac
   2633 else
   2634   enable_static=no
   2635 fi
   2636 
   2637 
   2638 
   2639 # Check whether --enable-shared was given.
   2640 if test "${enable_shared+set}" = set; then
   2641   enableval=$enable_shared; p=${PACKAGE-default}
   2642     case $enableval in
   2643     yes) enable_shared=yes ;;
   2644     no) enable_shared=no ;;
   2645     *)
   2646       enable_shared=no
   2647       # Look at the argument we got.  We use all the common list separators.
   2648       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2649       for pkg in $enableval; do
   2650 	IFS="$lt_save_ifs"
   2651 	if test "X$pkg" = "X$p"; then
   2652 	  enable_shared=yes
   2653 	fi
   2654       done
   2655       IFS="$lt_save_ifs"
   2656       ;;
   2657     esac
   2658 else
   2659   enable_shared=yes
   2660 fi
   2661 
   2662 
   2663 # Check whether --enable-fast-install was given.
   2664 if test "${enable_fast_install+set}" = set; then
   2665   enableval=$enable_fast_install; p=${PACKAGE-default}
   2666     case $enableval in
   2667     yes) enable_fast_install=yes ;;
   2668     no) enable_fast_install=no ;;
   2669     *)
   2670       enable_fast_install=no
   2671       # Look at the argument we got.  We use all the common list separators.
   2672       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2673       for pkg in $enableval; do
   2674 	IFS="$lt_save_ifs"
   2675 	if test "X$pkg" = "X$p"; then
   2676 	  enable_fast_install=yes
   2677 	fi
   2678       done
   2679       IFS="$lt_save_ifs"
   2680       ;;
   2681     esac
   2682 else
   2683   enable_fast_install=yes
   2684 fi
   2685 
   2686 
   2687 # Make sure we can run config.sub.
   2688 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2689   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2690 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2691    { (exit 1); exit 1; }; }
   2692 
   2693 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2694 $as_echo_n "checking build system type... " >&6; }
   2695 if test "${ac_cv_build+set}" = set; then
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   ac_build_alias=$build_alias
   2699 test "x$ac_build_alias" = x &&
   2700   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2701 test "x$ac_build_alias" = x &&
   2702   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2703 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2704    { (exit 1); exit 1; }; }
   2705 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2706   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2707 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2708    { (exit 1); exit 1; }; }
   2709 
   2710 fi
   2711 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2712 $as_echo "$ac_cv_build" >&6; }
   2713 case $ac_cv_build in
   2714 *-*-*) ;;
   2715 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2716 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2717    { (exit 1); exit 1; }; };;
   2718 esac
   2719 build=$ac_cv_build
   2720 ac_save_IFS=$IFS; IFS='-'
   2721 set x $ac_cv_build
   2722 shift
   2723 build_cpu=$1
   2724 build_vendor=$2
   2725 shift; shift
   2726 # Remember, the first character of IFS is used to create $*,
   2727 # except with old shells:
   2728 build_os=$*
   2729 IFS=$ac_save_IFS
   2730 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2731 
   2732 
   2733 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2734 $as_echo_n "checking host system type... " >&6; }
   2735 if test "${ac_cv_host+set}" = set; then
   2736   $as_echo_n "(cached) " >&6
   2737 else
   2738   if test "x$host_alias" = x; then
   2739   ac_cv_host=$ac_cv_build
   2740 else
   2741   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2742     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2743 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2744    { (exit 1); exit 1; }; }
   2745 fi
   2746 
   2747 fi
   2748 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2749 $as_echo "$ac_cv_host" >&6; }
   2750 case $ac_cv_host in
   2751 *-*-*) ;;
   2752 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2753 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2754    { (exit 1); exit 1; }; };;
   2755 esac
   2756 host=$ac_cv_host
   2757 ac_save_IFS=$IFS; IFS='-'
   2758 set x $ac_cv_host
   2759 shift
   2760 host_cpu=$1
   2761 host_vendor=$2
   2762 shift; shift
   2763 # Remember, the first character of IFS is used to create $*,
   2764 # except with old shells:
   2765 host_os=$*
   2766 IFS=$ac_save_IFS
   2767 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2768 
   2769 
   2770 DEPDIR="${am__leading_dot}deps"
   2771 
   2772 ac_config_commands="$ac_config_commands depfiles"
   2773 
   2774 
   2775 am_make=${MAKE-make}
   2776 cat > confinc << 'END'
   2777 am__doit:
   2778 	@echo done
   2779 .PHONY: am__doit
   2780 END
   2781 # If we don't find an include directive, just comment out the code.
   2782 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2783 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2784 am__include="#"
   2785 am__quote=
   2786 _am_result=none
   2787 # First try GNU make style include.
   2788 echo "include confinc" > confmf
   2789 # We grep out `Entering directory' and `Leaving directory'
   2790 # messages which can occur if `w' ends up in MAKEFLAGS.
   2791 # In particular we don't look at `^make:' because GNU make might
   2792 # be invoked under some other name (usually "gmake"), in which
   2793 # case it prints its new name instead of `make'.
   2794 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2795    am__include=include
   2796    am__quote=
   2797    _am_result=GNU
   2798 fi
   2799 # Now try BSD make style include.
   2800 if test "$am__include" = "#"; then
   2801    echo '.include "confinc"' > confmf
   2802    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2803       am__include=.include
   2804       am__quote="\""
   2805       _am_result=BSD
   2806    fi
   2807 fi
   2808 
   2809 
   2810 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2811 $as_echo "$_am_result" >&6; }
   2812 rm -f confinc confmf
   2813 
   2814 # Check whether --enable-dependency-tracking was given.
   2815 if test "${enable_dependency_tracking+set}" = set; then
   2816   enableval=$enable_dependency_tracking;
   2817 fi
   2818 
   2819 if test "x$enable_dependency_tracking" != xno; then
   2820   am_depcomp="$ac_aux_dir/depcomp"
   2821   AMDEPBACKSLASH='\'
   2822 fi
   2823  if test "x$enable_dependency_tracking" != xno; then
   2824   AMDEP_TRUE=
   2825   AMDEP_FALSE='#'
   2826 else
   2827   AMDEP_TRUE='#'
   2828   AMDEP_FALSE=
   2829 fi
   2830 
   2831 
   2832 ac_ext=c
   2833 ac_cpp='$CPP $CPPFLAGS'
   2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2837 if test -n "$ac_tool_prefix"; then
   2838   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2839 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2841 $as_echo_n "checking for $ac_word... " >&6; }
   2842 if test "${ac_cv_prog_CC+set}" = set; then
   2843   $as_echo_n "(cached) " >&6
   2844 else
   2845   if test -n "$CC"; then
   2846   ac_cv_prog_CC="$CC" # Let the user override the test.
   2847 else
   2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2849 for as_dir in $PATH
   2850 do
   2851   IFS=$as_save_IFS
   2852   test -z "$as_dir" && as_dir=.
   2853   for ac_exec_ext in '' $ac_executable_extensions; do
   2854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2855     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2856     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2857     break 2
   2858   fi
   2859 done
   2860 done
   2861 IFS=$as_save_IFS
   2862 
   2863 fi
   2864 fi
   2865 CC=$ac_cv_prog_CC
   2866 if test -n "$CC"; then
   2867   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2868 $as_echo "$CC" >&6; }
   2869 else
   2870   { $as_echo "$as_me:$LINENO: result: no" >&5
   2871 $as_echo "no" >&6; }
   2872 fi
   2873 
   2874 
   2875 fi
   2876 if test -z "$ac_cv_prog_CC"; then
   2877   ac_ct_CC=$CC
   2878   # Extract the first word of "gcc", so it can be a program name with args.
   2879 set dummy gcc; ac_word=$2
   2880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2881 $as_echo_n "checking for $ac_word... " >&6; }
   2882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2883   $as_echo_n "(cached) " >&6
   2884 else
   2885   if test -n "$ac_ct_CC"; then
   2886   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2887 else
   2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2889 for as_dir in $PATH
   2890 do
   2891   IFS=$as_save_IFS
   2892   test -z "$as_dir" && as_dir=.
   2893   for ac_exec_ext in '' $ac_executable_extensions; do
   2894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2895     ac_cv_prog_ac_ct_CC="gcc"
   2896     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2897     break 2
   2898   fi
   2899 done
   2900 done
   2901 IFS=$as_save_IFS
   2902 
   2903 fi
   2904 fi
   2905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2906 if test -n "$ac_ct_CC"; then
   2907   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2908 $as_echo "$ac_ct_CC" >&6; }
   2909 else
   2910   { $as_echo "$as_me:$LINENO: result: no" >&5
   2911 $as_echo "no" >&6; }
   2912 fi
   2913 
   2914   if test "x$ac_ct_CC" = x; then
   2915     CC=""
   2916   else
   2917     case $cross_compiling:$ac_tool_warned in
   2918 yes:)
   2919 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2921 ac_tool_warned=yes ;;
   2922 esac
   2923     CC=$ac_ct_CC
   2924   fi
   2925 else
   2926   CC="$ac_cv_prog_CC"
   2927 fi
   2928 
   2929 if test -z "$CC"; then
   2930           if test -n "$ac_tool_prefix"; then
   2931     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2932 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2934 $as_echo_n "checking for $ac_word... " >&6; }
   2935 if test "${ac_cv_prog_CC+set}" = set; then
   2936   $as_echo_n "(cached) " >&6
   2937 else
   2938   if test -n "$CC"; then
   2939   ac_cv_prog_CC="$CC" # Let the user override the test.
   2940 else
   2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 for as_dir in $PATH
   2943 do
   2944   IFS=$as_save_IFS
   2945   test -z "$as_dir" && as_dir=.
   2946   for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2948     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953 done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi
   2957 fi
   2958 CC=$ac_cv_prog_CC
   2959 if test -n "$CC"; then
   2960   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2961 $as_echo "$CC" >&6; }
   2962 else
   2963   { $as_echo "$as_me:$LINENO: result: no" >&5
   2964 $as_echo "no" >&6; }
   2965 fi
   2966 
   2967 
   2968   fi
   2969 fi
   2970 if test -z "$CC"; then
   2971   # Extract the first word of "cc", so it can be a program name with args.
   2972 set dummy cc; ac_word=$2
   2973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2974 $as_echo_n "checking for $ac_word... " >&6; }
   2975 if test "${ac_cv_prog_CC+set}" = set; then
   2976   $as_echo_n "(cached) " >&6
   2977 else
   2978   if test -n "$CC"; then
   2979   ac_cv_prog_CC="$CC" # Let the user override the test.
   2980 else
   2981   ac_prog_rejected=no
   2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2983 for as_dir in $PATH
   2984 do
   2985   IFS=$as_save_IFS
   2986   test -z "$as_dir" && as_dir=.
   2987   for ac_exec_ext in '' $ac_executable_extensions; do
   2988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2989     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2990        ac_prog_rejected=yes
   2991        continue
   2992      fi
   2993     ac_cv_prog_CC="cc"
   2994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998 done
   2999 IFS=$as_save_IFS
   3000 
   3001 if test $ac_prog_rejected = yes; then
   3002   # We found a bogon in the path, so make sure we never use it.
   3003   set dummy $ac_cv_prog_CC
   3004   shift
   3005   if test $# != 0; then
   3006     # We chose a different compiler from the bogus one.
   3007     # However, it has the same basename, so the bogon will be chosen
   3008     # first if we set CC to just the basename; use the full file name.
   3009     shift
   3010     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3011   fi
   3012 fi
   3013 fi
   3014 fi
   3015 CC=$ac_cv_prog_CC
   3016 if test -n "$CC"; then
   3017   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3018 $as_echo "$CC" >&6; }
   3019 else
   3020   { $as_echo "$as_me:$LINENO: result: no" >&5
   3021 $as_echo "no" >&6; }
   3022 fi
   3023 
   3024 
   3025 fi
   3026 if test -z "$CC"; then
   3027   if test -n "$ac_tool_prefix"; then
   3028   for ac_prog in cl.exe
   3029   do
   3030     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3033 $as_echo_n "checking for $ac_word... " >&6; }
   3034 if test "${ac_cv_prog_CC+set}" = set; then
   3035   $as_echo_n "(cached) " >&6
   3036 else
   3037   if test -n "$CC"; then
   3038   ac_cv_prog_CC="$CC" # Let the user override the test.
   3039 else
   3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3041 for as_dir in $PATH
   3042 do
   3043   IFS=$as_save_IFS
   3044   test -z "$as_dir" && as_dir=.
   3045   for ac_exec_ext in '' $ac_executable_extensions; do
   3046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3047     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3048     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3049     break 2
   3050   fi
   3051 done
   3052 done
   3053 IFS=$as_save_IFS
   3054 
   3055 fi
   3056 fi
   3057 CC=$ac_cv_prog_CC
   3058 if test -n "$CC"; then
   3059   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3060 $as_echo "$CC" >&6; }
   3061 else
   3062   { $as_echo "$as_me:$LINENO: result: no" >&5
   3063 $as_echo "no" >&6; }
   3064 fi
   3065 
   3066 
   3067     test -n "$CC" && break
   3068   done
   3069 fi
   3070 if test -z "$CC"; then
   3071   ac_ct_CC=$CC
   3072   for ac_prog in cl.exe
   3073 do
   3074   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3075 set dummy $ac_prog; ac_word=$2
   3076 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3077 $as_echo_n "checking for $ac_word... " >&6; }
   3078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081   if test -n "$ac_ct_CC"; then
   3082   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3083 else
   3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3085 for as_dir in $PATH
   3086 do
   3087   IFS=$as_save_IFS
   3088   test -z "$as_dir" && as_dir=.
   3089   for ac_exec_ext in '' $ac_executable_extensions; do
   3090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3091     ac_cv_prog_ac_ct_CC="$ac_prog"
   3092     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096 done
   3097 IFS=$as_save_IFS
   3098 
   3099 fi
   3100 fi
   3101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3102 if test -n "$ac_ct_CC"; then
   3103   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3104 $as_echo "$ac_ct_CC" >&6; }
   3105 else
   3106   { $as_echo "$as_me:$LINENO: result: no" >&5
   3107 $as_echo "no" >&6; }
   3108 fi
   3109 
   3110 
   3111   test -n "$ac_ct_CC" && break
   3112 done
   3113 
   3114   if test "x$ac_ct_CC" = x; then
   3115     CC=""
   3116   else
   3117     case $cross_compiling:$ac_tool_warned in
   3118 yes:)
   3119 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3121 ac_tool_warned=yes ;;
   3122 esac
   3123     CC=$ac_ct_CC
   3124   fi
   3125 fi
   3126 
   3127 fi
   3128 
   3129 
   3130 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3132 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3133 See \`config.log' for more details." >&5
   3134 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3135 See \`config.log' for more details." >&2;}
   3136    { (exit 1); exit 1; }; }; }
   3137 
   3138 # Provide some information about the compiler.
   3139 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3140 set X $ac_compile
   3141 ac_compiler=$2
   3142 { (ac_try="$ac_compiler --version >&5"
   3143 case "(($ac_try" in
   3144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3145   *) ac_try_echo=$ac_try;;
   3146 esac
   3147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3148 $as_echo "$ac_try_echo") >&5
   3149   (eval "$ac_compiler --version >&5") 2>&5
   3150   ac_status=$?
   3151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3152   (exit $ac_status); }
   3153 { (ac_try="$ac_compiler -v >&5"
   3154 case "(($ac_try" in
   3155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3156   *) ac_try_echo=$ac_try;;
   3157 esac
   3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3159 $as_echo "$ac_try_echo") >&5
   3160   (eval "$ac_compiler -v >&5") 2>&5
   3161   ac_status=$?
   3162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3163   (exit $ac_status); }
   3164 { (ac_try="$ac_compiler -V >&5"
   3165 case "(($ac_try" in
   3166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3167   *) ac_try_echo=$ac_try;;
   3168 esac
   3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3170 $as_echo "$ac_try_echo") >&5
   3171   (eval "$ac_compiler -V >&5") 2>&5
   3172   ac_status=$?
   3173   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3174   (exit $ac_status); }
   3175 
   3176 cat >conftest.$ac_ext <<_ACEOF
   3177 /* confdefs.h.  */
   3178 _ACEOF
   3179 cat confdefs.h >>conftest.$ac_ext
   3180 cat >>conftest.$ac_ext <<_ACEOF
   3181 /* end confdefs.h.  */
   3182 
   3183 int
   3184 main ()
   3185 {
   3186 
   3187   ;
   3188   return 0;
   3189 }
   3190 _ACEOF
   3191 ac_clean_files_save=$ac_clean_files
   3192 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3193 # Try to create an executable without -o first, disregard a.out.
   3194 # It will help us diagnose broken compilers, and finding out an intuition
   3195 # of exeext.
   3196 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3198 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3199 
   3200 # The possible output files:
   3201 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3202 
   3203 ac_rmfiles=
   3204 for ac_file in $ac_files
   3205 do
   3206   case $ac_file in
   3207     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3208     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3209   esac
   3210 done
   3211 rm -f $ac_rmfiles
   3212 
   3213 if { (ac_try="$ac_link_default"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3219 $as_echo "$ac_try_echo") >&5
   3220   (eval "$ac_link_default") 2>&5
   3221   ac_status=$?
   3222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3223   (exit $ac_status); }; then
   3224   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3226 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3227 # so that the user can short-circuit this test for compilers unknown to
   3228 # Autoconf.
   3229 for ac_file in $ac_files ''
   3230 do
   3231   test -f "$ac_file" || continue
   3232   case $ac_file in
   3233     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3234 	;;
   3235     [ab].out )
   3236 	# We found the default executable, but exeext='' is most
   3237 	# certainly right.
   3238 	break;;
   3239     *.* )
   3240         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3241 	then :; else
   3242 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3243 	fi
   3244 	# We set ac_cv_exeext here because the later test for it is not
   3245 	# safe: cross compilers may not add the suffix if given an `-o'
   3246 	# argument, so we may need to know it at that point already.
   3247 	# Even if this section looks crufty: it has the advantage of
   3248 	# actually working.
   3249 	break;;
   3250     * )
   3251 	break;;
   3252   esac
   3253 done
   3254 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3255 
   3256 else
   3257   ac_file=''
   3258 fi
   3259 
   3260 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3261 $as_echo "$ac_file" >&6; }
   3262 if test -z "$ac_file"; then
   3263   $as_echo "$as_me: failed program was:" >&5
   3264 sed 's/^/| /' conftest.$ac_ext >&5
   3265 
   3266 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3268 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3269 See \`config.log' for more details." >&5
   3270 $as_echo "$as_me: error: C compiler cannot create executables
   3271 See \`config.log' for more details." >&2;}
   3272    { (exit 77); exit 77; }; }; }
   3273 fi
   3274 
   3275 ac_exeext=$ac_cv_exeext
   3276 
   3277 # Check that the compiler produces executables we can run.  If not, either
   3278 # the compiler is broken, or we cross compile.
   3279 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3280 $as_echo_n "checking whether the C compiler works... " >&6; }
   3281 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3282 # If not cross compiling, check that we can run a simple program.
   3283 if test "$cross_compiling" != yes; then
   3284   if { ac_try='./$ac_file'
   3285   { (case "(($ac_try" in
   3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3287   *) ac_try_echo=$ac_try;;
   3288 esac
   3289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3290 $as_echo "$ac_try_echo") >&5
   3291   (eval "$ac_try") 2>&5
   3292   ac_status=$?
   3293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3294   (exit $ac_status); }; }; then
   3295     cross_compiling=no
   3296   else
   3297     if test "$cross_compiling" = maybe; then
   3298 	cross_compiling=yes
   3299     else
   3300 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3302 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3303 If you meant to cross compile, use \`--host'.
   3304 See \`config.log' for more details." >&5
   3305 $as_echo "$as_me: error: cannot run C compiled programs.
   3306 If you meant to cross compile, use \`--host'.
   3307 See \`config.log' for more details." >&2;}
   3308    { (exit 1); exit 1; }; }; }
   3309     fi
   3310   fi
   3311 fi
   3312 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3313 $as_echo "yes" >&6; }
   3314 
   3315 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3316 ac_clean_files=$ac_clean_files_save
   3317 # Check that the compiler produces executables we can run.  If not, either
   3318 # the compiler is broken, or we cross compile.
   3319 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3320 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3321 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3322 $as_echo "$cross_compiling" >&6; }
   3323 
   3324 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3325 $as_echo_n "checking for suffix of executables... " >&6; }
   3326 if { (ac_try="$ac_link"
   3327 case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3332 $as_echo "$ac_try_echo") >&5
   3333   (eval "$ac_link") 2>&5
   3334   ac_status=$?
   3335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3336   (exit $ac_status); }; then
   3337   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3338 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3340 # `rm'.
   3341 for ac_file in conftest.exe conftest conftest.*; do
   3342   test -f "$ac_file" || continue
   3343   case $ac_file in
   3344     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3345     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3346 	  break;;
   3347     * ) break;;
   3348   esac
   3349 done
   3350 else
   3351   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3353 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3354 See \`config.log' for more details." >&5
   3355 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3356 See \`config.log' for more details." >&2;}
   3357    { (exit 1); exit 1; }; }; }
   3358 fi
   3359 
   3360 rm -f conftest$ac_cv_exeext
   3361 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3362 $as_echo "$ac_cv_exeext" >&6; }
   3363 
   3364 rm -f conftest.$ac_ext
   3365 EXEEXT=$ac_cv_exeext
   3366 ac_exeext=$EXEEXT
   3367 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3368 $as_echo_n "checking for suffix of object files... " >&6; }
   3369 if test "${ac_cv_objext+set}" = set; then
   3370   $as_echo_n "(cached) " >&6
   3371 else
   3372   cat >conftest.$ac_ext <<_ACEOF
   3373 /* confdefs.h.  */
   3374 _ACEOF
   3375 cat confdefs.h >>conftest.$ac_ext
   3376 cat >>conftest.$ac_ext <<_ACEOF
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 rm -f conftest.o conftest.obj
   3388 if { (ac_try="$ac_compile"
   3389 case "(($ac_try" in
   3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3391   *) ac_try_echo=$ac_try;;
   3392 esac
   3393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3394 $as_echo "$ac_try_echo") >&5
   3395   (eval "$ac_compile") 2>&5
   3396   ac_status=$?
   3397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3398   (exit $ac_status); }; then
   3399   for ac_file in conftest.o conftest.obj conftest.*; do
   3400   test -f "$ac_file" || continue;
   3401   case $ac_file in
   3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3403     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3404        break;;
   3405   esac
   3406 done
   3407 else
   3408   $as_echo "$as_me: failed program was:" >&5
   3409 sed 's/^/| /' conftest.$ac_ext >&5
   3410 
   3411 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3413 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3414 See \`config.log' for more details." >&5
   3415 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3416 See \`config.log' for more details." >&2;}
   3417    { (exit 1); exit 1; }; }; }
   3418 fi
   3419 
   3420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3421 fi
   3422 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3423 $as_echo "$ac_cv_objext" >&6; }
   3424 OBJEXT=$ac_cv_objext
   3425 ac_objext=$OBJEXT
   3426 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3428 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3429   $as_echo_n "(cached) " >&6
   3430 else
   3431   cat >conftest.$ac_ext <<_ACEOF
   3432 /* confdefs.h.  */
   3433 _ACEOF
   3434 cat confdefs.h >>conftest.$ac_ext
   3435 cat >>conftest.$ac_ext <<_ACEOF
   3436 /* end confdefs.h.  */
   3437 
   3438 int
   3439 main ()
   3440 {
   3441 #ifndef __GNUC__
   3442        choke me
   3443 #endif
   3444 
   3445   ;
   3446   return 0;
   3447 }
   3448 _ACEOF
   3449 rm -f conftest.$ac_objext
   3450 if { (ac_try="$ac_compile"
   3451 case "(($ac_try" in
   3452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3453   *) ac_try_echo=$ac_try;;
   3454 esac
   3455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3456 $as_echo "$ac_try_echo") >&5
   3457   (eval "$ac_compile") 2>conftest.er1
   3458   ac_status=$?
   3459   grep -v '^ *+' conftest.er1 >conftest.err
   3460   rm -f conftest.er1
   3461   cat conftest.err >&5
   3462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3463   (exit $ac_status); } && {
   3464 	 test -z "$ac_c_werror_flag" ||
   3465 	 test ! -s conftest.err
   3466        } && test -s conftest.$ac_objext; then
   3467   ac_compiler_gnu=yes
   3468 else
   3469   $as_echo "$as_me: failed program was:" >&5
   3470 sed 's/^/| /' conftest.$ac_ext >&5
   3471 
   3472 	ac_compiler_gnu=no
   3473 fi
   3474 
   3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3476 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3477 
   3478 fi
   3479 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3480 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3481 if test $ac_compiler_gnu = yes; then
   3482   GCC=yes
   3483 else
   3484   GCC=
   3485 fi
   3486 ac_test_CFLAGS=${CFLAGS+set}
   3487 ac_save_CFLAGS=$CFLAGS
   3488 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3489 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3490 if test "${ac_cv_prog_cc_g+set}" = set; then
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   ac_save_c_werror_flag=$ac_c_werror_flag
   3494    ac_c_werror_flag=yes
   3495    ac_cv_prog_cc_g=no
   3496    CFLAGS="-g"
   3497    cat >conftest.$ac_ext <<_ACEOF
   3498 /* confdefs.h.  */
   3499 _ACEOF
   3500 cat confdefs.h >>conftest.$ac_ext
   3501 cat >>conftest.$ac_ext <<_ACEOF
   3502 /* end confdefs.h.  */
   3503 
   3504 int
   3505 main ()
   3506 {
   3507 
   3508   ;
   3509   return 0;
   3510 }
   3511 _ACEOF
   3512 rm -f conftest.$ac_objext
   3513 if { (ac_try="$ac_compile"
   3514 case "(($ac_try" in
   3515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3516   *) ac_try_echo=$ac_try;;
   3517 esac
   3518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3519 $as_echo "$ac_try_echo") >&5
   3520   (eval "$ac_compile") 2>conftest.er1
   3521   ac_status=$?
   3522   grep -v '^ *+' conftest.er1 >conftest.err
   3523   rm -f conftest.er1
   3524   cat conftest.err >&5
   3525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3526   (exit $ac_status); } && {
   3527 	 test -z "$ac_c_werror_flag" ||
   3528 	 test ! -s conftest.err
   3529        } && test -s conftest.$ac_objext; then
   3530   ac_cv_prog_cc_g=yes
   3531 else
   3532   $as_echo "$as_me: failed program was:" >&5
   3533 sed 's/^/| /' conftest.$ac_ext >&5
   3534 
   3535 	CFLAGS=""
   3536       cat >conftest.$ac_ext <<_ACEOF
   3537 /* confdefs.h.  */
   3538 _ACEOF
   3539 cat confdefs.h >>conftest.$ac_ext
   3540 cat >>conftest.$ac_ext <<_ACEOF
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main ()
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 rm -f conftest.$ac_objext
   3552 if { (ac_try="$ac_compile"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo") >&5
   3559   (eval "$ac_compile") 2>conftest.er1
   3560   ac_status=$?
   3561   grep -v '^ *+' conftest.er1 >conftest.err
   3562   rm -f conftest.er1
   3563   cat conftest.err >&5
   3564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3565   (exit $ac_status); } && {
   3566 	 test -z "$ac_c_werror_flag" ||
   3567 	 test ! -s conftest.err
   3568        } && test -s conftest.$ac_objext; then
   3569   :
   3570 else
   3571   $as_echo "$as_me: failed program was:" >&5
   3572 sed 's/^/| /' conftest.$ac_ext >&5
   3573 
   3574 	ac_c_werror_flag=$ac_save_c_werror_flag
   3575 	 CFLAGS="-g"
   3576 	 cat >conftest.$ac_ext <<_ACEOF
   3577 /* confdefs.h.  */
   3578 _ACEOF
   3579 cat confdefs.h >>conftest.$ac_ext
   3580 cat >>conftest.$ac_ext <<_ACEOF
   3581 /* end confdefs.h.  */
   3582 
   3583 int
   3584 main ()
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591 rm -f conftest.$ac_objext
   3592 if { (ac_try="$ac_compile"
   3593 case "(($ac_try" in
   3594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3595   *) ac_try_echo=$ac_try;;
   3596 esac
   3597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3598 $as_echo "$ac_try_echo") >&5
   3599   (eval "$ac_compile") 2>conftest.er1
   3600   ac_status=$?
   3601   grep -v '^ *+' conftest.er1 >conftest.err
   3602   rm -f conftest.er1
   3603   cat conftest.err >&5
   3604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3605   (exit $ac_status); } && {
   3606 	 test -z "$ac_c_werror_flag" ||
   3607 	 test ! -s conftest.err
   3608        } && test -s conftest.$ac_objext; then
   3609   ac_cv_prog_cc_g=yes
   3610 else
   3611   $as_echo "$as_me: failed program was:" >&5
   3612 sed 's/^/| /' conftest.$ac_ext >&5
   3613 
   3614 
   3615 fi
   3616 
   3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3618 fi
   3619 
   3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3621 fi
   3622 
   3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3624    ac_c_werror_flag=$ac_save_c_werror_flag
   3625 fi
   3626 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3627 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3628 if test "$ac_test_CFLAGS" = set; then
   3629   CFLAGS=$ac_save_CFLAGS
   3630 elif test $ac_cv_prog_cc_g = yes; then
   3631   if test "$GCC" = yes; then
   3632     CFLAGS="-g -O2"
   3633   else
   3634     CFLAGS="-g"
   3635   fi
   3636 else
   3637   if test "$GCC" = yes; then
   3638     CFLAGS="-O2"
   3639   else
   3640     CFLAGS=
   3641   fi
   3642 fi
   3643 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3645 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   ac_cv_prog_cc_c89=no
   3649 ac_save_CC=$CC
   3650 cat >conftest.$ac_ext <<_ACEOF
   3651 /* confdefs.h.  */
   3652 _ACEOF
   3653 cat confdefs.h >>conftest.$ac_ext
   3654 cat >>conftest.$ac_ext <<_ACEOF
   3655 /* end confdefs.h.  */
   3656 #include <stdarg.h>
   3657 #include <stdio.h>
   3658 #include <sys/types.h>
   3659 #include <sys/stat.h>
   3660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3661 struct buf { int x; };
   3662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3663 static char *e (p, i)
   3664      char **p;
   3665      int i;
   3666 {
   3667   return p[i];
   3668 }
   3669 static char *f (char * (*g) (char **, int), char **p, ...)
   3670 {
   3671   char *s;
   3672   va_list v;
   3673   va_start (v,p);
   3674   s = g (p, va_arg (v,int));
   3675   va_end (v);
   3676   return s;
   3677 }
   3678 
   3679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3680    function prototypes and stuff, but not '\xHH' hex character constants.
   3681    These don't provoke an error unfortunately, instead are silently treated
   3682    as 'x'.  The following induces an error, until -std is added to get
   3683    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3684    array size at least.  It's necessary to write '\x00'==0 to get something
   3685    that's true only with -std.  */
   3686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3687 
   3688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3689    inside strings and character constants.  */
   3690 #define FOO(x) 'x'
   3691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3692 
   3693 int test (int i, double x);
   3694 struct s1 {int (*f) (int a);};
   3695 struct s2 {int (*f) (double a);};
   3696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3697 int argc;
   3698 char **argv;
   3699 int
   3700 main ()
   3701 {
   3702 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3703   ;
   3704   return 0;
   3705 }
   3706 _ACEOF
   3707 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3708 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3709 do
   3710   CC="$ac_save_CC $ac_arg"
   3711   rm -f conftest.$ac_objext
   3712 if { (ac_try="$ac_compile"
   3713 case "(($ac_try" in
   3714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3715   *) ac_try_echo=$ac_try;;
   3716 esac
   3717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3718 $as_echo "$ac_try_echo") >&5
   3719   (eval "$ac_compile") 2>conftest.er1
   3720   ac_status=$?
   3721   grep -v '^ *+' conftest.er1 >conftest.err
   3722   rm -f conftest.er1
   3723   cat conftest.err >&5
   3724   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3725   (exit $ac_status); } && {
   3726 	 test -z "$ac_c_werror_flag" ||
   3727 	 test ! -s conftest.err
   3728        } && test -s conftest.$ac_objext; then
   3729   ac_cv_prog_cc_c89=$ac_arg
   3730 else
   3731   $as_echo "$as_me: failed program was:" >&5
   3732 sed 's/^/| /' conftest.$ac_ext >&5
   3733 
   3734 
   3735 fi
   3736 
   3737 rm -f core conftest.err conftest.$ac_objext
   3738   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3739 done
   3740 rm -f conftest.$ac_ext
   3741 CC=$ac_save_CC
   3742 
   3743 fi
   3744 # AC_CACHE_VAL
   3745 case "x$ac_cv_prog_cc_c89" in
   3746   x)
   3747     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3748 $as_echo "none needed" >&6; } ;;
   3749   xno)
   3750     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3751 $as_echo "unsupported" >&6; } ;;
   3752   *)
   3753     CC="$CC $ac_cv_prog_cc_c89"
   3754     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3755 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3756 esac
   3757 
   3758 
   3759 ac_ext=c
   3760 ac_cpp='$CPP $CPPFLAGS'
   3761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3764 
   3765 depcc="$CC"   am_compiler_list=
   3766 
   3767 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3768 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3769 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3770   $as_echo_n "(cached) " >&6
   3771 else
   3772   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3773   # We make a subdir and do the tests there.  Otherwise we can end up
   3774   # making bogus files that we don't know about and never remove.  For
   3775   # instance it was reported that on HP-UX the gcc test will end up
   3776   # making a dummy file named `D' -- because `-MD' means `put the output
   3777   # in D'.
   3778   mkdir conftest.dir
   3779   # Copy depcomp to subdir because otherwise we won't find it if we're
   3780   # using a relative directory.
   3781   cp "$am_depcomp" conftest.dir
   3782   cd conftest.dir
   3783   # We will build objects and dependencies in a subdirectory because
   3784   # it helps to detect inapplicable dependency modes.  For instance
   3785   # both Tru64's cc and ICC support -MD to output dependencies as a
   3786   # side effect of compilation, but ICC will put the dependencies in
   3787   # the current directory while Tru64 will put them in the object
   3788   # directory.
   3789   mkdir sub
   3790 
   3791   am_cv_CC_dependencies_compiler_type=none
   3792   if test "$am_compiler_list" = ""; then
   3793      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3794   fi
   3795   for depmode in $am_compiler_list; do
   3796     # Setup a source with many dependencies, because some compilers
   3797     # like to wrap large dependency lists on column 80 (with \), and
   3798     # we should not choose a depcomp mode which is confused by this.
   3799     #
   3800     # We need to recreate these files for each test, as the compiler may
   3801     # overwrite some of them when testing with obscure command lines.
   3802     # This happens at least with the AIX C compiler.
   3803     : > sub/conftest.c
   3804     for i in 1 2 3 4 5 6; do
   3805       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3806       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3807       # Solaris 8's {/usr,}/bin/sh.
   3808       touch sub/conftst$i.h
   3809     done
   3810     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3811 
   3812     case $depmode in
   3813     nosideeffect)
   3814       # after this tag, mechanisms are not by side-effect, so they'll
   3815       # only be used when explicitly requested
   3816       if test "x$enable_dependency_tracking" = xyes; then
   3817 	continue
   3818       else
   3819 	break
   3820       fi
   3821       ;;
   3822     none) break ;;
   3823     esac
   3824     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3825     # mode.  It turns out that the SunPro C++ compiler does not properly
   3826     # handle `-M -o', and we need to detect this.
   3827     if depmode=$depmode \
   3828        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3829        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3830        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3831          >/dev/null 2>conftest.err &&
   3832        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3833        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3834        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3835        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3836       # icc doesn't choke on unknown options, it will just issue warnings
   3837       # or remarks (even with -Werror).  So we grep stderr for any message
   3838       # that says an option was ignored or not supported.
   3839       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3840       #   icc: Command line warning: ignoring option '-M'; no argument required
   3841       # The diagnosis changed in icc 8.0:
   3842       #   icc: Command line remark: option '-MP' not supported
   3843       if (grep 'ignoring option' conftest.err ||
   3844           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3845         am_cv_CC_dependencies_compiler_type=$depmode
   3846         break
   3847       fi
   3848     fi
   3849   done
   3850 
   3851   cd ..
   3852   rm -rf conftest.dir
   3853 else
   3854   am_cv_CC_dependencies_compiler_type=none
   3855 fi
   3856 
   3857 fi
   3858 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3859 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3860 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3861 
   3862  if
   3863   test "x$enable_dependency_tracking" != xno \
   3864   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3865   am__fastdepCC_TRUE=
   3866   am__fastdepCC_FALSE='#'
   3867 else
   3868   am__fastdepCC_TRUE='#'
   3869   am__fastdepCC_FALSE=
   3870 fi
   3871 
   3872 
   3873 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3874 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3875 if test "${lt_cv_path_SED+set}" = set; then
   3876   $as_echo_n "(cached) " >&6
   3877 else
   3878   # Loop through the user's path and test for sed and gsed.
   3879 # Then use that list of sed's as ones to test for truncation.
   3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3881 for as_dir in $PATH
   3882 do
   3883   IFS=$as_save_IFS
   3884   test -z "$as_dir" && as_dir=.
   3885   for lt_ac_prog in sed gsed; do
   3886     for ac_exec_ext in '' $ac_executable_extensions; do
   3887       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3888         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3889       fi
   3890     done
   3891   done
   3892 done
   3893 IFS=$as_save_IFS
   3894 lt_ac_max=0
   3895 lt_ac_count=0
   3896 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3897 # along with /bin/sed that truncates output.
   3898 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3899   test ! -f $lt_ac_sed && continue
   3900   cat /dev/null > conftest.in
   3901   lt_ac_count=0
   3902   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3903   # Check for GNU sed and select it if it is found.
   3904   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3905     lt_cv_path_SED=$lt_ac_sed
   3906     break
   3907   fi
   3908   while true; do
   3909     cat conftest.in conftest.in >conftest.tmp
   3910     mv conftest.tmp conftest.in
   3911     cp conftest.in conftest.nl
   3912     echo >>conftest.nl
   3913     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3914     cmp -s conftest.out conftest.nl || break
   3915     # 10000 chars as input seems more than enough
   3916     test $lt_ac_count -gt 10 && break
   3917     lt_ac_count=`expr $lt_ac_count + 1`
   3918     if test $lt_ac_count -gt $lt_ac_max; then
   3919       lt_ac_max=$lt_ac_count
   3920       lt_cv_path_SED=$lt_ac_sed
   3921     fi
   3922   done
   3923 done
   3924 
   3925 fi
   3926 
   3927 SED=$lt_cv_path_SED
   3928 
   3929 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3930 $as_echo "$SED" >&6; }
   3931 
   3932 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3933 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3934 if test "${ac_cv_path_GREP+set}" = set; then
   3935   $as_echo_n "(cached) " >&6
   3936 else
   3937   if test -z "$GREP"; then
   3938   ac_path_GREP_found=false
   3939   # Loop through the user's path and test for each of PROGNAME-LIST
   3940   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3941 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3942 do
   3943   IFS=$as_save_IFS
   3944   test -z "$as_dir" && as_dir=.
   3945   for ac_prog in grep ggrep; do
   3946     for ac_exec_ext in '' $ac_executable_extensions; do
   3947       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3948       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3949 # Check for GNU ac_path_GREP and select it if it is found.
   3950   # Check for GNU $ac_path_GREP
   3951 case `"$ac_path_GREP" --version 2>&1` in
   3952 *GNU*)
   3953   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3954 *)
   3955   ac_count=0
   3956   $as_echo_n 0123456789 >"conftest.in"
   3957   while :
   3958   do
   3959     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3960     mv "conftest.tmp" "conftest.in"
   3961     cp "conftest.in" "conftest.nl"
   3962     $as_echo 'GREP' >> "conftest.nl"
   3963     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3964     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3965     ac_count=`expr $ac_count + 1`
   3966     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3967       # Best one so far, save it but keep looking for a better one
   3968       ac_cv_path_GREP="$ac_path_GREP"
   3969       ac_path_GREP_max=$ac_count
   3970     fi
   3971     # 10*(2^10) chars as input seems more than enough
   3972     test $ac_count -gt 10 && break
   3973   done
   3974   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3975 esac
   3976 
   3977       $ac_path_GREP_found && break 3
   3978     done
   3979   done
   3980 done
   3981 IFS=$as_save_IFS
   3982   if test -z "$ac_cv_path_GREP"; then
   3983     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3984 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3985    { (exit 1); exit 1; }; }
   3986   fi
   3987 else
   3988   ac_cv_path_GREP=$GREP
   3989 fi
   3990 
   3991 fi
   3992 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3993 $as_echo "$ac_cv_path_GREP" >&6; }
   3994  GREP="$ac_cv_path_GREP"
   3995 
   3996 
   3997 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3998 $as_echo_n "checking for egrep... " >&6; }
   3999 if test "${ac_cv_path_EGREP+set}" = set; then
   4000   $as_echo_n "(cached) " >&6
   4001 else
   4002   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4003    then ac_cv_path_EGREP="$GREP -E"
   4004    else
   4005      if test -z "$EGREP"; then
   4006   ac_path_EGREP_found=false
   4007   # Loop through the user's path and test for each of PROGNAME-LIST
   4008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4009 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4010 do
   4011   IFS=$as_save_IFS
   4012   test -z "$as_dir" && as_dir=.
   4013   for ac_prog in egrep; do
   4014     for ac_exec_ext in '' $ac_executable_extensions; do
   4015       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4016       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4017 # Check for GNU ac_path_EGREP and select it if it is found.
   4018   # Check for GNU $ac_path_EGREP
   4019 case `"$ac_path_EGREP" --version 2>&1` in
   4020 *GNU*)
   4021   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4022 *)
   4023   ac_count=0
   4024   $as_echo_n 0123456789 >"conftest.in"
   4025   while :
   4026   do
   4027     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4028     mv "conftest.tmp" "conftest.in"
   4029     cp "conftest.in" "conftest.nl"
   4030     $as_echo 'EGREP' >> "conftest.nl"
   4031     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4032     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4033     ac_count=`expr $ac_count + 1`
   4034     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4035       # Best one so far, save it but keep looking for a better one
   4036       ac_cv_path_EGREP="$ac_path_EGREP"
   4037       ac_path_EGREP_max=$ac_count
   4038     fi
   4039     # 10*(2^10) chars as input seems more than enough
   4040     test $ac_count -gt 10 && break
   4041   done
   4042   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4043 esac
   4044 
   4045       $ac_path_EGREP_found && break 3
   4046     done
   4047   done
   4048 done
   4049 IFS=$as_save_IFS
   4050   if test -z "$ac_cv_path_EGREP"; then
   4051     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4052 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4053    { (exit 1); exit 1; }; }
   4054   fi
   4055 else
   4056   ac_cv_path_EGREP=$EGREP
   4057 fi
   4058 
   4059    fi
   4060 fi
   4061 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4062 $as_echo "$ac_cv_path_EGREP" >&6; }
   4063  EGREP="$ac_cv_path_EGREP"
   4064 
   4065 
   4066 
   4067 # Check whether --with-gnu-ld was given.
   4068 if test "${with_gnu_ld+set}" = set; then
   4069   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4070 else
   4071   with_gnu_ld=no
   4072 fi
   4073 
   4074 ac_prog=ld
   4075 if test "$GCC" = yes; then
   4076   # Check if gcc -print-prog-name=ld gives a path.
   4077   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4078 $as_echo_n "checking for ld used by $CC... " >&6; }
   4079   case $host in
   4080   *-*-mingw*)
   4081     # gcc leaves a trailing carriage return which upsets mingw
   4082     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4083   *)
   4084     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4085   esac
   4086   case $ac_prog in
   4087     # Accept absolute paths.
   4088     [\\/]* | ?:[\\/]*)
   4089       re_direlt='/[^/][^/]*/\.\./'
   4090       # Canonicalize the pathname of ld
   4091       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4092       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4093 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4094       done
   4095       test -z "$LD" && LD="$ac_prog"
   4096       ;;
   4097   "")
   4098     # If it fails, then pretend we aren't using GCC.
   4099     ac_prog=ld
   4100     ;;
   4101   *)
   4102     # If it is relative, then search for the first ld in PATH.
   4103     with_gnu_ld=unknown
   4104     ;;
   4105   esac
   4106 elif test "$with_gnu_ld" = yes; then
   4107   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4108 $as_echo_n "checking for GNU ld... " >&6; }
   4109 else
   4110   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4111 $as_echo_n "checking for non-GNU ld... " >&6; }
   4112 fi
   4113 if test "${lt_cv_path_LD+set}" = set; then
   4114   $as_echo_n "(cached) " >&6
   4115 else
   4116   if test -z "$LD"; then
   4117   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4118   for ac_dir in $PATH; do
   4119     IFS="$lt_save_ifs"
   4120     test -z "$ac_dir" && ac_dir=.
   4121     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4122       lt_cv_path_LD="$ac_dir/$ac_prog"
   4123       # Check to see if the program is GNU ld.  I'd rather use --version,
   4124       # but apparently some variants of GNU ld only accept -v.
   4125       # Break only if it was the GNU/non-GNU ld that we prefer.
   4126       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4127       *GNU* | *'with BFD'*)
   4128 	test "$with_gnu_ld" != no && break
   4129 	;;
   4130       *)
   4131 	test "$with_gnu_ld" != yes && break
   4132 	;;
   4133       esac
   4134     fi
   4135   done
   4136   IFS="$lt_save_ifs"
   4137 else
   4138   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4139 fi
   4140 fi
   4141 
   4142 LD="$lt_cv_path_LD"
   4143 if test -n "$LD"; then
   4144   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4145 $as_echo "$LD" >&6; }
   4146 else
   4147   { $as_echo "$as_me:$LINENO: result: no" >&5
   4148 $as_echo "no" >&6; }
   4149 fi
   4150 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4151 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4152    { (exit 1); exit 1; }; }
   4153 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4154 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4155 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4159 case `$LD -v 2>&1 </dev/null` in
   4160 *GNU* | *'with BFD'*)
   4161   lt_cv_prog_gnu_ld=yes
   4162   ;;
   4163 *)
   4164   lt_cv_prog_gnu_ld=no
   4165   ;;
   4166 esac
   4167 fi
   4168 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4169 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4170 with_gnu_ld=$lt_cv_prog_gnu_ld
   4171 
   4172 
   4173 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4174 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4175 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4176   $as_echo_n "(cached) " >&6
   4177 else
   4178   lt_cv_ld_reload_flag='-r'
   4179 fi
   4180 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4181 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4182 reload_flag=$lt_cv_ld_reload_flag
   4183 case $reload_flag in
   4184 "" | " "*) ;;
   4185 *) reload_flag=" $reload_flag" ;;
   4186 esac
   4187 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4188 case $host_os in
   4189   darwin*)
   4190     if test "$GCC" = yes; then
   4191       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4192     else
   4193       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4194     fi
   4195     ;;
   4196 esac
   4197 
   4198 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4199 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4200 if test "${lt_cv_path_NM+set}" = set; then
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203   if test -n "$NM"; then
   4204   # Let the user override the test.
   4205   lt_cv_path_NM="$NM"
   4206 else
   4207   lt_nm_to_check="${ac_tool_prefix}nm"
   4208   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4209     lt_nm_to_check="$lt_nm_to_check nm"
   4210   fi
   4211   for lt_tmp_nm in $lt_nm_to_check; do
   4212     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4213     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4214       IFS="$lt_save_ifs"
   4215       test -z "$ac_dir" && ac_dir=.
   4216       tmp_nm="$ac_dir/$lt_tmp_nm"
   4217       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4218 	# Check to see if the nm accepts a BSD-compat flag.
   4219 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4220 	#   nm: unknown option "B" ignored
   4221 	# Tru64's nm complains that /dev/null is an invalid object file
   4222 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4223 	*/dev/null* | *'Invalid file or object type'*)
   4224 	  lt_cv_path_NM="$tmp_nm -B"
   4225 	  break
   4226 	  ;;
   4227 	*)
   4228 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4229 	  */dev/null*)
   4230 	    lt_cv_path_NM="$tmp_nm -p"
   4231 	    break
   4232 	    ;;
   4233 	  *)
   4234 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4235 	    continue # so that we can try to find one that supports BSD flags
   4236 	    ;;
   4237 	  esac
   4238 	  ;;
   4239 	esac
   4240       fi
   4241     done
   4242     IFS="$lt_save_ifs"
   4243   done
   4244   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4245 fi
   4246 fi
   4247 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4248 $as_echo "$lt_cv_path_NM" >&6; }
   4249 NM="$lt_cv_path_NM"
   4250 
   4251 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4252 $as_echo_n "checking whether ln -s works... " >&6; }
   4253 LN_S=$as_ln_s
   4254 if test "$LN_S" = "ln -s"; then
   4255   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4256 $as_echo "yes" >&6; }
   4257 else
   4258   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4259 $as_echo "no, using $LN_S" >&6; }
   4260 fi
   4261 
   4262 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4263 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4264 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4265   $as_echo_n "(cached) " >&6
   4266 else
   4267   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4268 lt_cv_file_magic_test_file=
   4269 lt_cv_deplibs_check_method='unknown'
   4270 # Need to set the preceding variable on all platforms that support
   4271 # interlibrary dependencies.
   4272 # 'none' -- dependencies not supported.
   4273 # `unknown' -- same as none, but documents that we really don't know.
   4274 # 'pass_all' -- all dependencies passed with no checks.
   4275 # 'test_compile' -- check by making test program.
   4276 # 'file_magic [[regex]]' -- check by looking for files in library path
   4277 # which responds to the $file_magic_cmd with a given extended regex.
   4278 # If you have `file' or equivalent on your system and you're not sure
   4279 # whether `pass_all' will *always* work, you probably want this one.
   4280 
   4281 case $host_os in
   4282 aix[4-9]*)
   4283   lt_cv_deplibs_check_method=pass_all
   4284   ;;
   4285 
   4286 beos*)
   4287   lt_cv_deplibs_check_method=pass_all
   4288   ;;
   4289 
   4290 bsdi[45]*)
   4291   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4292   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4293   lt_cv_file_magic_test_file=/shlib/libc.so
   4294   ;;
   4295 
   4296 cygwin*)
   4297   # func_win32_libid is a shell function defined in ltmain.sh
   4298   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4299   lt_cv_file_magic_cmd='func_win32_libid'
   4300   ;;
   4301 
   4302 mingw* | pw32*)
   4303   # Base MSYS/MinGW do not provide the 'file' command needed by
   4304   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4305   # unless we find 'file', for example because we are cross-compiling.
   4306   if ( file / ) >/dev/null 2>&1; then
   4307     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4308     lt_cv_file_magic_cmd='func_win32_libid'
   4309   else
   4310     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4311     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4312   fi
   4313   ;;
   4314 
   4315 darwin* | rhapsody*)
   4316   lt_cv_deplibs_check_method=pass_all
   4317   ;;
   4318 
   4319 freebsd* | dragonfly*)
   4320   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4321     case $host_cpu in
   4322     i*86 )
   4323       # Not sure whether the presence of OpenBSD here was a mistake.
   4324       # Let's accept both of them until this is cleared up.
   4325       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4326       lt_cv_file_magic_cmd=/usr/bin/file
   4327       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4328       ;;
   4329     esac
   4330   else
   4331     lt_cv_deplibs_check_method=pass_all
   4332   fi
   4333   ;;
   4334 
   4335 gnu*)
   4336   lt_cv_deplibs_check_method=pass_all
   4337   ;;
   4338 
   4339 hpux10.20* | hpux11*)
   4340   lt_cv_file_magic_cmd=/usr/bin/file
   4341   case $host_cpu in
   4342   ia64*)
   4343     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4344     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4345     ;;
   4346   hppa*64*)
   4347     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]'
   4348     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4349     ;;
   4350   *)
   4351     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4352     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4353     ;;
   4354   esac
   4355   ;;
   4356 
   4357 interix[3-9]*)
   4358   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4359   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4360   ;;
   4361 
   4362 irix5* | irix6* | nonstopux*)
   4363   case $LD in
   4364   *-32|*"-32 ") libmagic=32-bit;;
   4365   *-n32|*"-n32 ") libmagic=N32;;
   4366   *-64|*"-64 ") libmagic=64-bit;;
   4367   *) libmagic=never-match;;
   4368   esac
   4369   lt_cv_deplibs_check_method=pass_all
   4370   ;;
   4371 
   4372 # This must be Linux ELF.
   4373 linux* | k*bsd*-gnu)
   4374   lt_cv_deplibs_check_method=pass_all
   4375   ;;
   4376 
   4377 netbsd*)
   4378   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4379     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4380   else
   4381     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4382   fi
   4383   ;;
   4384 
   4385 newos6*)
   4386   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4387   lt_cv_file_magic_cmd=/usr/bin/file
   4388   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4389   ;;
   4390 
   4391 nto-qnx*)
   4392   lt_cv_deplibs_check_method=unknown
   4393   ;;
   4394 
   4395 openbsd*)
   4396   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4397     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4398   else
   4399     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4400   fi
   4401   ;;
   4402 
   4403 osf3* | osf4* | osf5*)
   4404   lt_cv_deplibs_check_method=pass_all
   4405   ;;
   4406 
   4407 rdos*)
   4408   lt_cv_deplibs_check_method=pass_all
   4409   ;;
   4410 
   4411 solaris*)
   4412   lt_cv_deplibs_check_method=pass_all
   4413   ;;
   4414 
   4415 sysv4 | sysv4.3*)
   4416   case $host_vendor in
   4417   motorola)
   4418     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]'
   4419     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4420     ;;
   4421   ncr)
   4422     lt_cv_deplibs_check_method=pass_all
   4423     ;;
   4424   sequent)
   4425     lt_cv_file_magic_cmd='/bin/file'
   4426     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4427     ;;
   4428   sni)
   4429     lt_cv_file_magic_cmd='/bin/file'
   4430     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4431     lt_cv_file_magic_test_file=/lib/libc.so
   4432     ;;
   4433   siemens)
   4434     lt_cv_deplibs_check_method=pass_all
   4435     ;;
   4436   pc)
   4437     lt_cv_deplibs_check_method=pass_all
   4438     ;;
   4439   esac
   4440   ;;
   4441 
   4442 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4443   lt_cv_deplibs_check_method=pass_all
   4444   ;;
   4445 esac
   4446 
   4447 fi
   4448 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4449 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4450 file_magic_cmd=$lt_cv_file_magic_cmd
   4451 deplibs_check_method=$lt_cv_deplibs_check_method
   4452 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4453 
   4454 
   4455 
   4456 
   4457 # If no C compiler was specified, use CC.
   4458 LTCC=${LTCC-"$CC"}
   4459 
   4460 # If no C compiler flags were specified, use CFLAGS.
   4461 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4462 
   4463 # Allow CC to be a program name with arguments.
   4464 compiler=$CC
   4465 
   4466 
   4467 # Check whether --enable-libtool-lock was given.
   4468 if test "${enable_libtool_lock+set}" = set; then
   4469   enableval=$enable_libtool_lock;
   4470 fi
   4471 
   4472 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4473 
   4474 # Some flags need to be propagated to the compiler or linker for good
   4475 # libtool support.
   4476 case $host in
   4477 ia64-*-hpux*)
   4478   # Find out which ABI we are using.
   4479   echo 'int i;' > conftest.$ac_ext
   4480   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4481   (eval $ac_compile) 2>&5
   4482   ac_status=$?
   4483   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4484   (exit $ac_status); }; then
   4485     case `/usr/bin/file conftest.$ac_objext` in
   4486     *ELF-32*)
   4487       HPUX_IA64_MODE="32"
   4488       ;;
   4489     *ELF-64*)
   4490       HPUX_IA64_MODE="64"
   4491       ;;
   4492     esac
   4493   fi
   4494   rm -rf conftest*
   4495   ;;
   4496 *-*-irix6*)
   4497   # Find out which ABI we are using.
   4498   echo '#line 4498 "configure"' > conftest.$ac_ext
   4499   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4500   (eval $ac_compile) 2>&5
   4501   ac_status=$?
   4502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4503   (exit $ac_status); }; then
   4504    if test "$lt_cv_prog_gnu_ld" = yes; then
   4505     case `/usr/bin/file conftest.$ac_objext` in
   4506     *32-bit*)
   4507       LD="${LD-ld} -melf32bsmip"
   4508       ;;
   4509     *N32*)
   4510       LD="${LD-ld} -melf32bmipn32"
   4511       ;;
   4512     *64-bit*)
   4513       LD="${LD-ld} -melf64bmip"
   4514       ;;
   4515     esac
   4516    else
   4517     case `/usr/bin/file conftest.$ac_objext` in
   4518     *32-bit*)
   4519       LD="${LD-ld} -32"
   4520       ;;
   4521     *N32*)
   4522       LD="${LD-ld} -n32"
   4523       ;;
   4524     *64-bit*)
   4525       LD="${LD-ld} -64"
   4526       ;;
   4527     esac
   4528    fi
   4529   fi
   4530   rm -rf conftest*
   4531   ;;
   4532 
   4533 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4534 s390*-*linux*|sparc*-*linux*)
   4535   # Find out which ABI we are using.
   4536   echo 'int i;' > conftest.$ac_ext
   4537   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4538   (eval $ac_compile) 2>&5
   4539   ac_status=$?
   4540   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4541   (exit $ac_status); }; then
   4542     case `/usr/bin/file conftest.o` in
   4543     *32-bit*)
   4544       case $host in
   4545         x86_64-*kfreebsd*-gnu)
   4546           LD="${LD-ld} -m elf_i386_fbsd"
   4547           ;;
   4548         x86_64-*linux*)
   4549           LD="${LD-ld} -m elf_i386"
   4550           ;;
   4551         ppc64-*linux*|powerpc64-*linux*)
   4552           LD="${LD-ld} -m elf32ppclinux"
   4553           ;;
   4554         s390x-*linux*)
   4555           LD="${LD-ld} -m elf_s390"
   4556           ;;
   4557         sparc64-*linux*)
   4558           LD="${LD-ld} -m elf32_sparc"
   4559           ;;
   4560       esac
   4561       ;;
   4562     *64-bit*)
   4563       libsuff=64
   4564       case $host in
   4565         x86_64-*kfreebsd*-gnu)
   4566           LD="${LD-ld} -m elf_x86_64_fbsd"
   4567           ;;
   4568         x86_64-*linux*)
   4569           LD="${LD-ld} -m elf_x86_64"
   4570           ;;
   4571         ppc*-*linux*|powerpc*-*linux*)
   4572           LD="${LD-ld} -m elf64ppc"
   4573           ;;
   4574         s390*-*linux*)
   4575           LD="${LD-ld} -m elf64_s390"
   4576           ;;
   4577         sparc*-*linux*)
   4578           LD="${LD-ld} -m elf64_sparc"
   4579           ;;
   4580       esac
   4581       ;;
   4582     esac
   4583   fi
   4584   rm -rf conftest*
   4585   ;;
   4586 
   4587 *-*-sco3.2v5*)
   4588   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4589   SAVE_CFLAGS="$CFLAGS"
   4590   CFLAGS="$CFLAGS -belf"
   4591   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4592 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4593 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4594   $as_echo_n "(cached) " >&6
   4595 else
   4596   ac_ext=c
   4597 ac_cpp='$CPP $CPPFLAGS'
   4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4601 
   4602      cat >conftest.$ac_ext <<_ACEOF
   4603 /* confdefs.h.  */
   4604 _ACEOF
   4605 cat confdefs.h >>conftest.$ac_ext
   4606 cat >>conftest.$ac_ext <<_ACEOF
   4607 /* end confdefs.h.  */
   4608 
   4609 int
   4610 main ()
   4611 {
   4612 
   4613   ;
   4614   return 0;
   4615 }
   4616 _ACEOF
   4617 rm -f conftest.$ac_objext conftest$ac_exeext
   4618 if { (ac_try="$ac_link"
   4619 case "(($ac_try" in
   4620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4621   *) ac_try_echo=$ac_try;;
   4622 esac
   4623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4624 $as_echo "$ac_try_echo") >&5
   4625   (eval "$ac_link") 2>conftest.er1
   4626   ac_status=$?
   4627   grep -v '^ *+' conftest.er1 >conftest.err
   4628   rm -f conftest.er1
   4629   cat conftest.err >&5
   4630   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4631   (exit $ac_status); } && {
   4632 	 test -z "$ac_c_werror_flag" ||
   4633 	 test ! -s conftest.err
   4634        } && test -s conftest$ac_exeext && {
   4635 	 test "$cross_compiling" = yes ||
   4636 	 $as_test_x conftest$ac_exeext
   4637        }; then
   4638   lt_cv_cc_needs_belf=yes
   4639 else
   4640   $as_echo "$as_me: failed program was:" >&5
   4641 sed 's/^/| /' conftest.$ac_ext >&5
   4642 
   4643 	lt_cv_cc_needs_belf=no
   4644 fi
   4645 
   4646 rm -rf conftest.dSYM
   4647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4648       conftest$ac_exeext conftest.$ac_ext
   4649      ac_ext=c
   4650 ac_cpp='$CPP $CPPFLAGS'
   4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4654 
   4655 fi
   4656 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4657 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4658   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4659     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4660     CFLAGS="$SAVE_CFLAGS"
   4661   fi
   4662   ;;
   4663 sparc*-*solaris*)
   4664   # Find out which ABI we are using.
   4665   echo 'int i;' > conftest.$ac_ext
   4666   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4667   (eval $ac_compile) 2>&5
   4668   ac_status=$?
   4669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4670   (exit $ac_status); }; then
   4671     case `/usr/bin/file conftest.o` in
   4672     *64-bit*)
   4673       case $lt_cv_prog_gnu_ld in
   4674       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4675       *)
   4676         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4677 	  LD="${LD-ld} -64"
   4678 	fi
   4679 	;;
   4680       esac
   4681       ;;
   4682     esac
   4683   fi
   4684   rm -rf conftest*
   4685   ;;
   4686 
   4687 
   4688 esac
   4689 
   4690 need_locks="$enable_libtool_lock"
   4691 
   4692 
   4693 ac_ext=c
   4694 ac_cpp='$CPP $CPPFLAGS'
   4695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4698 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4699 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4700 # On Suns, sometimes $CPP names a directory.
   4701 if test -n "$CPP" && test -d "$CPP"; then
   4702   CPP=
   4703 fi
   4704 if test -z "$CPP"; then
   4705   if test "${ac_cv_prog_CPP+set}" = set; then
   4706   $as_echo_n "(cached) " >&6
   4707 else
   4708       # Double quotes because CPP needs to be expanded
   4709     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4710     do
   4711       ac_preproc_ok=false
   4712 for ac_c_preproc_warn_flag in '' yes
   4713 do
   4714   # Use a header file that comes with gcc, so configuring glibc
   4715   # with a fresh cross-compiler works.
   4716   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4717   # <limits.h> exists even on freestanding compilers.
   4718   # On the NeXT, cc -E runs the code through the compiler's parser,
   4719   # not just through cpp. "Syntax error" is here to catch this case.
   4720   cat >conftest.$ac_ext <<_ACEOF
   4721 /* confdefs.h.  */
   4722 _ACEOF
   4723 cat confdefs.h >>conftest.$ac_ext
   4724 cat >>conftest.$ac_ext <<_ACEOF
   4725 /* end confdefs.h.  */
   4726 #ifdef __STDC__
   4727 # include <limits.h>
   4728 #else
   4729 # include <assert.h>
   4730 #endif
   4731 		     Syntax error
   4732 _ACEOF
   4733 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4734 case "(($ac_try" in
   4735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4736   *) ac_try_echo=$ac_try;;
   4737 esac
   4738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4739 $as_echo "$ac_try_echo") >&5
   4740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4741   ac_status=$?
   4742   grep -v '^ *+' conftest.er1 >conftest.err
   4743   rm -f conftest.er1
   4744   cat conftest.err >&5
   4745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4746   (exit $ac_status); } >/dev/null && {
   4747 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4748 	 test ! -s conftest.err
   4749        }; then
   4750   :
   4751 else
   4752   $as_echo "$as_me: failed program was:" >&5
   4753 sed 's/^/| /' conftest.$ac_ext >&5
   4754 
   4755   # Broken: fails on valid input.
   4756 continue
   4757 fi
   4758 
   4759 rm -f conftest.err conftest.$ac_ext
   4760 
   4761   # OK, works on sane cases.  Now check whether nonexistent headers
   4762   # can be detected and how.
   4763   cat >conftest.$ac_ext <<_ACEOF
   4764 /* confdefs.h.  */
   4765 _ACEOF
   4766 cat confdefs.h >>conftest.$ac_ext
   4767 cat >>conftest.$ac_ext <<_ACEOF
   4768 /* end confdefs.h.  */
   4769 #include <ac_nonexistent.h>
   4770 _ACEOF
   4771 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4772 case "(($ac_try" in
   4773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4774   *) ac_try_echo=$ac_try;;
   4775 esac
   4776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4777 $as_echo "$ac_try_echo") >&5
   4778   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4779   ac_status=$?
   4780   grep -v '^ *+' conftest.er1 >conftest.err
   4781   rm -f conftest.er1
   4782   cat conftest.err >&5
   4783   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4784   (exit $ac_status); } >/dev/null && {
   4785 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4786 	 test ! -s conftest.err
   4787        }; then
   4788   # Broken: success on invalid input.
   4789 continue
   4790 else
   4791   $as_echo "$as_me: failed program was:" >&5
   4792 sed 's/^/| /' conftest.$ac_ext >&5
   4793 
   4794   # Passes both tests.
   4795 ac_preproc_ok=:
   4796 break
   4797 fi
   4798 
   4799 rm -f conftest.err conftest.$ac_ext
   4800 
   4801 done
   4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4803 rm -f conftest.err conftest.$ac_ext
   4804 if $ac_preproc_ok; then
   4805   break
   4806 fi
   4807 
   4808     done
   4809     ac_cv_prog_CPP=$CPP
   4810 
   4811 fi
   4812   CPP=$ac_cv_prog_CPP
   4813 else
   4814   ac_cv_prog_CPP=$CPP
   4815 fi
   4816 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4817 $as_echo "$CPP" >&6; }
   4818 ac_preproc_ok=false
   4819 for ac_c_preproc_warn_flag in '' yes
   4820 do
   4821   # Use a header file that comes with gcc, so configuring glibc
   4822   # with a fresh cross-compiler works.
   4823   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4824   # <limits.h> exists even on freestanding compilers.
   4825   # On the NeXT, cc -E runs the code through the compiler's parser,
   4826   # not just through cpp. "Syntax error" is here to catch this case.
   4827   cat >conftest.$ac_ext <<_ACEOF
   4828 /* confdefs.h.  */
   4829 _ACEOF
   4830 cat confdefs.h >>conftest.$ac_ext
   4831 cat >>conftest.$ac_ext <<_ACEOF
   4832 /* end confdefs.h.  */
   4833 #ifdef __STDC__
   4834 # include <limits.h>
   4835 #else
   4836 # include <assert.h>
   4837 #endif
   4838 		     Syntax error
   4839 _ACEOF
   4840 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4841 case "(($ac_try" in
   4842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4843   *) ac_try_echo=$ac_try;;
   4844 esac
   4845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4846 $as_echo "$ac_try_echo") >&5
   4847   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4848   ac_status=$?
   4849   grep -v '^ *+' conftest.er1 >conftest.err
   4850   rm -f conftest.er1
   4851   cat conftest.err >&5
   4852   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4853   (exit $ac_status); } >/dev/null && {
   4854 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4855 	 test ! -s conftest.err
   4856        }; then
   4857   :
   4858 else
   4859   $as_echo "$as_me: failed program was:" >&5
   4860 sed 's/^/| /' conftest.$ac_ext >&5
   4861 
   4862   # Broken: fails on valid input.
   4863 continue
   4864 fi
   4865 
   4866 rm -f conftest.err conftest.$ac_ext
   4867 
   4868   # OK, works on sane cases.  Now check whether nonexistent headers
   4869   # can be detected and how.
   4870   cat >conftest.$ac_ext <<_ACEOF
   4871 /* confdefs.h.  */
   4872 _ACEOF
   4873 cat confdefs.h >>conftest.$ac_ext
   4874 cat >>conftest.$ac_ext <<_ACEOF
   4875 /* end confdefs.h.  */
   4876 #include <ac_nonexistent.h>
   4877 _ACEOF
   4878 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4879 case "(($ac_try" in
   4880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4881   *) ac_try_echo=$ac_try;;
   4882 esac
   4883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4884 $as_echo "$ac_try_echo") >&5
   4885   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4886   ac_status=$?
   4887   grep -v '^ *+' conftest.er1 >conftest.err
   4888   rm -f conftest.er1
   4889   cat conftest.err >&5
   4890   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4891   (exit $ac_status); } >/dev/null && {
   4892 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4893 	 test ! -s conftest.err
   4894        }; then
   4895   # Broken: success on invalid input.
   4896 continue
   4897 else
   4898   $as_echo "$as_me: failed program was:" >&5
   4899 sed 's/^/| /' conftest.$ac_ext >&5
   4900 
   4901   # Passes both tests.
   4902 ac_preproc_ok=:
   4903 break
   4904 fi
   4905 
   4906 rm -f conftest.err conftest.$ac_ext
   4907 
   4908 done
   4909 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4910 rm -f conftest.err conftest.$ac_ext
   4911 if $ac_preproc_ok; then
   4912   :
   4913 else
   4914   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4916 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4917 See \`config.log' for more details." >&5
   4918 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4919 See \`config.log' for more details." >&2;}
   4920    { (exit 1); exit 1; }; }; }
   4921 fi
   4922 
   4923 ac_ext=c
   4924 ac_cpp='$CPP $CPPFLAGS'
   4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4928 
   4929 
   4930 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4931 $as_echo_n "checking for ANSI C header files... " >&6; }
   4932 if test "${ac_cv_header_stdc+set}" = set; then
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   cat >conftest.$ac_ext <<_ACEOF
   4936 /* confdefs.h.  */
   4937 _ACEOF
   4938 cat confdefs.h >>conftest.$ac_ext
   4939 cat >>conftest.$ac_ext <<_ACEOF
   4940 /* end confdefs.h.  */
   4941 #include <stdlib.h>
   4942 #include <stdarg.h>
   4943 #include <string.h>
   4944 #include <float.h>
   4945 
   4946 int
   4947 main ()
   4948 {
   4949 
   4950   ;
   4951   return 0;
   4952 }
   4953 _ACEOF
   4954 rm -f conftest.$ac_objext
   4955 if { (ac_try="$ac_compile"
   4956 case "(($ac_try" in
   4957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4958   *) ac_try_echo=$ac_try;;
   4959 esac
   4960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4961 $as_echo "$ac_try_echo") >&5
   4962   (eval "$ac_compile") 2>conftest.er1
   4963   ac_status=$?
   4964   grep -v '^ *+' conftest.er1 >conftest.err
   4965   rm -f conftest.er1
   4966   cat conftest.err >&5
   4967   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4968   (exit $ac_status); } && {
   4969 	 test -z "$ac_c_werror_flag" ||
   4970 	 test ! -s conftest.err
   4971        } && test -s conftest.$ac_objext; then
   4972   ac_cv_header_stdc=yes
   4973 else
   4974   $as_echo "$as_me: failed program was:" >&5
   4975 sed 's/^/| /' conftest.$ac_ext >&5
   4976 
   4977 	ac_cv_header_stdc=no
   4978 fi
   4979 
   4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4981 
   4982 if test $ac_cv_header_stdc = yes; then
   4983   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4984   cat >conftest.$ac_ext <<_ACEOF
   4985 /* confdefs.h.  */
   4986 _ACEOF
   4987 cat confdefs.h >>conftest.$ac_ext
   4988 cat >>conftest.$ac_ext <<_ACEOF
   4989 /* end confdefs.h.  */
   4990 #include <string.h>
   4991 
   4992 _ACEOF
   4993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4994   $EGREP "memchr" >/dev/null 2>&1; then
   4995   :
   4996 else
   4997   ac_cv_header_stdc=no
   4998 fi
   4999 rm -f conftest*
   5000 
   5001 fi
   5002 
   5003 if test $ac_cv_header_stdc = yes; then
   5004   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5005   cat >conftest.$ac_ext <<_ACEOF
   5006 /* confdefs.h.  */
   5007 _ACEOF
   5008 cat confdefs.h >>conftest.$ac_ext
   5009 cat >>conftest.$ac_ext <<_ACEOF
   5010 /* end confdefs.h.  */
   5011 #include <stdlib.h>
   5012 
   5013 _ACEOF
   5014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5015   $EGREP "free" >/dev/null 2>&1; then
   5016   :
   5017 else
   5018   ac_cv_header_stdc=no
   5019 fi
   5020 rm -f conftest*
   5021 
   5022 fi
   5023 
   5024 if test $ac_cv_header_stdc = yes; then
   5025   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5026   if test "$cross_compiling" = yes; then
   5027   :
   5028 else
   5029   cat >conftest.$ac_ext <<_ACEOF
   5030 /* confdefs.h.  */
   5031 _ACEOF
   5032 cat confdefs.h >>conftest.$ac_ext
   5033 cat >>conftest.$ac_ext <<_ACEOF
   5034 /* end confdefs.h.  */
   5035 #include <ctype.h>
   5036 #include <stdlib.h>
   5037 #if ((' ' & 0x0FF) == 0x020)
   5038 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5039 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5040 #else
   5041 # define ISLOWER(c) \
   5042 		   (('a' <= (c) && (c) <= 'i') \
   5043 		     || ('j' <= (c) && (c) <= 'r') \
   5044 		     || ('s' <= (c) && (c) <= 'z'))
   5045 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5046 #endif
   5047 
   5048 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5049 int
   5050 main ()
   5051 {
   5052   int i;
   5053   for (i = 0; i < 256; i++)
   5054     if (XOR (islower (i), ISLOWER (i))
   5055 	|| toupper (i) != TOUPPER (i))
   5056       return 2;
   5057   return 0;
   5058 }
   5059 _ACEOF
   5060 rm -f conftest$ac_exeext
   5061 if { (ac_try="$ac_link"
   5062 case "(($ac_try" in
   5063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5064   *) ac_try_echo=$ac_try;;
   5065 esac
   5066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5067 $as_echo "$ac_try_echo") >&5
   5068   (eval "$ac_link") 2>&5
   5069   ac_status=$?
   5070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5071   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5072   { (case "(($ac_try" in
   5073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5074   *) ac_try_echo=$ac_try;;
   5075 esac
   5076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5077 $as_echo "$ac_try_echo") >&5
   5078   (eval "$ac_try") 2>&5
   5079   ac_status=$?
   5080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5081   (exit $ac_status); }; }; then
   5082   :
   5083 else
   5084   $as_echo "$as_me: program exited with status $ac_status" >&5
   5085 $as_echo "$as_me: failed program was:" >&5
   5086 sed 's/^/| /' conftest.$ac_ext >&5
   5087 
   5088 ( exit $ac_status )
   5089 ac_cv_header_stdc=no
   5090 fi
   5091 rm -rf conftest.dSYM
   5092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5093 fi
   5094 
   5095 
   5096 fi
   5097 fi
   5098 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5099 $as_echo "$ac_cv_header_stdc" >&6; }
   5100 if test $ac_cv_header_stdc = yes; then
   5101 
   5102 cat >>confdefs.h <<\_ACEOF
   5103 #define STDC_HEADERS 1
   5104 _ACEOF
   5105 
   5106 fi
   5107 
   5108 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5119 		  inttypes.h stdint.h unistd.h
   5120 do
   5121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5122 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5123 $as_echo_n "checking for $ac_header... " >&6; }
   5124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   cat >conftest.$ac_ext <<_ACEOF
   5128 /* confdefs.h.  */
   5129 _ACEOF
   5130 cat confdefs.h >>conftest.$ac_ext
   5131 cat >>conftest.$ac_ext <<_ACEOF
   5132 /* end confdefs.h.  */
   5133 $ac_includes_default
   5134 
   5135 #include <$ac_header>
   5136 _ACEOF
   5137 rm -f conftest.$ac_objext
   5138 if { (ac_try="$ac_compile"
   5139 case "(($ac_try" in
   5140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5141   *) ac_try_echo=$ac_try;;
   5142 esac
   5143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5144 $as_echo "$ac_try_echo") >&5
   5145   (eval "$ac_compile") 2>conftest.er1
   5146   ac_status=$?
   5147   grep -v '^ *+' conftest.er1 >conftest.err
   5148   rm -f conftest.er1
   5149   cat conftest.err >&5
   5150   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5151   (exit $ac_status); } && {
   5152 	 test -z "$ac_c_werror_flag" ||
   5153 	 test ! -s conftest.err
   5154        } && test -s conftest.$ac_objext; then
   5155   eval "$as_ac_Header=yes"
   5156 else
   5157   $as_echo "$as_me: failed program was:" >&5
   5158 sed 's/^/| /' conftest.$ac_ext >&5
   5159 
   5160 	eval "$as_ac_Header=no"
   5161 fi
   5162 
   5163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5164 fi
   5165 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5166 		 $as_echo "$as_val"'`
   5167 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5168 $as_echo "$ac_res" >&6; }
   5169 as_val=`eval 'as_val=${'$as_ac_Header'}
   5170 		 $as_echo "$as_val"'`
   5171    if test "x$as_val" = x""yes; then
   5172   cat >>confdefs.h <<_ACEOF
   5173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5174 _ACEOF
   5175 
   5176 fi
   5177 
   5178 done
   5179 
   5180 
   5181 
   5182 for ac_header in dlfcn.h
   5183 do
   5184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5186   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5187 $as_echo_n "checking for $ac_header... " >&6; }
   5188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5189   $as_echo_n "(cached) " >&6
   5190 fi
   5191 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5192 		 $as_echo "$as_val"'`
   5193 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5194 $as_echo "$ac_res" >&6; }
   5195 else
   5196   # Is the header compilable?
   5197 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5198 $as_echo_n "checking $ac_header usability... " >&6; }
   5199 cat >conftest.$ac_ext <<_ACEOF
   5200 /* confdefs.h.  */
   5201 _ACEOF
   5202 cat confdefs.h >>conftest.$ac_ext
   5203 cat >>conftest.$ac_ext <<_ACEOF
   5204 /* end confdefs.h.  */
   5205 $ac_includes_default
   5206 #include <$ac_header>
   5207 _ACEOF
   5208 rm -f conftest.$ac_objext
   5209 if { (ac_try="$ac_compile"
   5210 case "(($ac_try" in
   5211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5212   *) ac_try_echo=$ac_try;;
   5213 esac
   5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5215 $as_echo "$ac_try_echo") >&5
   5216   (eval "$ac_compile") 2>conftest.er1
   5217   ac_status=$?
   5218   grep -v '^ *+' conftest.er1 >conftest.err
   5219   rm -f conftest.er1
   5220   cat conftest.err >&5
   5221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5222   (exit $ac_status); } && {
   5223 	 test -z "$ac_c_werror_flag" ||
   5224 	 test ! -s conftest.err
   5225        } && test -s conftest.$ac_objext; then
   5226   ac_header_compiler=yes
   5227 else
   5228   $as_echo "$as_me: failed program was:" >&5
   5229 sed 's/^/| /' conftest.$ac_ext >&5
   5230 
   5231 	ac_header_compiler=no
   5232 fi
   5233 
   5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5236 $as_echo "$ac_header_compiler" >&6; }
   5237 
   5238 # Is the header present?
   5239 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5240 $as_echo_n "checking $ac_header presence... " >&6; }
   5241 cat >conftest.$ac_ext <<_ACEOF
   5242 /* confdefs.h.  */
   5243 _ACEOF
   5244 cat confdefs.h >>conftest.$ac_ext
   5245 cat >>conftest.$ac_ext <<_ACEOF
   5246 /* end confdefs.h.  */
   5247 #include <$ac_header>
   5248 _ACEOF
   5249 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5250 case "(($ac_try" in
   5251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5252   *) ac_try_echo=$ac_try;;
   5253 esac
   5254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5255 $as_echo "$ac_try_echo") >&5
   5256   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5257   ac_status=$?
   5258   grep -v '^ *+' conftest.er1 >conftest.err
   5259   rm -f conftest.er1
   5260   cat conftest.err >&5
   5261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5262   (exit $ac_status); } >/dev/null && {
   5263 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5264 	 test ! -s conftest.err
   5265        }; then
   5266   ac_header_preproc=yes
   5267 else
   5268   $as_echo "$as_me: failed program was:" >&5
   5269 sed 's/^/| /' conftest.$ac_ext >&5
   5270 
   5271   ac_header_preproc=no
   5272 fi
   5273 
   5274 rm -f conftest.err conftest.$ac_ext
   5275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5276 $as_echo "$ac_header_preproc" >&6; }
   5277 
   5278 # So?  What about this header?
   5279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5280   yes:no: )
   5281     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5282 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5283     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5284 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5285     ac_header_preproc=yes
   5286     ;;
   5287   no:yes:* )
   5288     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5289 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5290     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5291 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5292     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5293 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5294     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5295 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5296     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5297 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5298     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5299 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5300     ( cat <<\_ASBOX
   5301 ## ---------------------------------------------------------------------- ##
   5302 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5303 ## ---------------------------------------------------------------------- ##
   5304 _ASBOX
   5305      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5306     ;;
   5307 esac
   5308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5309 $as_echo_n "checking for $ac_header... " >&6; }
   5310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5311   $as_echo_n "(cached) " >&6
   5312 else
   5313   eval "$as_ac_Header=\$ac_header_preproc"
   5314 fi
   5315 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5316 		 $as_echo "$as_val"'`
   5317 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5318 $as_echo "$ac_res" >&6; }
   5319 
   5320 fi
   5321 as_val=`eval 'as_val=${'$as_ac_Header'}
   5322 		 $as_echo "$as_val"'`
   5323    if test "x$as_val" = x""yes; then
   5324   cat >>confdefs.h <<_ACEOF
   5325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5326 _ACEOF
   5327 
   5328 fi
   5329 
   5330 done
   5331 
   5332 ac_ext=cpp
   5333 ac_cpp='$CXXCPP $CPPFLAGS'
   5334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5337 if test -z "$CXX"; then
   5338   if test -n "$CCC"; then
   5339     CXX=$CCC
   5340   else
   5341     if test -n "$ac_tool_prefix"; then
   5342   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5343   do
   5344     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5347 $as_echo_n "checking for $ac_word... " >&6; }
   5348 if test "${ac_cv_prog_CXX+set}" = set; then
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   if test -n "$CXX"; then
   5352   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5353 else
   5354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5355 for as_dir in $PATH
   5356 do
   5357   IFS=$as_save_IFS
   5358   test -z "$as_dir" && as_dir=.
   5359   for ac_exec_ext in '' $ac_executable_extensions; do
   5360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5361     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5363     break 2
   5364   fi
   5365 done
   5366 done
   5367 IFS=$as_save_IFS
   5368 
   5369 fi
   5370 fi
   5371 CXX=$ac_cv_prog_CXX
   5372 if test -n "$CXX"; then
   5373   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5374 $as_echo "$CXX" >&6; }
   5375 else
   5376   { $as_echo "$as_me:$LINENO: result: no" >&5
   5377 $as_echo "no" >&6; }
   5378 fi
   5379 
   5380 
   5381     test -n "$CXX" && break
   5382   done
   5383 fi
   5384 if test -z "$CXX"; then
   5385   ac_ct_CXX=$CXX
   5386   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5387 do
   5388   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5389 set dummy $ac_prog; ac_word=$2
   5390 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5391 $as_echo_n "checking for $ac_word... " >&6; }
   5392 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5393   $as_echo_n "(cached) " >&6
   5394 else
   5395   if test -n "$ac_ct_CXX"; then
   5396   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5397 else
   5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5399 for as_dir in $PATH
   5400 do
   5401   IFS=$as_save_IFS
   5402   test -z "$as_dir" && as_dir=.
   5403   for ac_exec_ext in '' $ac_executable_extensions; do
   5404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5405     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5406     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5407     break 2
   5408   fi
   5409 done
   5410 done
   5411 IFS=$as_save_IFS
   5412 
   5413 fi
   5414 fi
   5415 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5416 if test -n "$ac_ct_CXX"; then
   5417   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5418 $as_echo "$ac_ct_CXX" >&6; }
   5419 else
   5420   { $as_echo "$as_me:$LINENO: result: no" >&5
   5421 $as_echo "no" >&6; }
   5422 fi
   5423 
   5424 
   5425   test -n "$ac_ct_CXX" && break
   5426 done
   5427 
   5428   if test "x$ac_ct_CXX" = x; then
   5429     CXX="g++"
   5430   else
   5431     case $cross_compiling:$ac_tool_warned in
   5432 yes:)
   5433 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5435 ac_tool_warned=yes ;;
   5436 esac
   5437     CXX=$ac_ct_CXX
   5438   fi
   5439 fi
   5440 
   5441   fi
   5442 fi
   5443 # Provide some information about the compiler.
   5444 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5445 set X $ac_compile
   5446 ac_compiler=$2
   5447 { (ac_try="$ac_compiler --version >&5"
   5448 case "(($ac_try" in
   5449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5450   *) ac_try_echo=$ac_try;;
   5451 esac
   5452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5453 $as_echo "$ac_try_echo") >&5
   5454   (eval "$ac_compiler --version >&5") 2>&5
   5455   ac_status=$?
   5456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5457   (exit $ac_status); }
   5458 { (ac_try="$ac_compiler -v >&5"
   5459 case "(($ac_try" in
   5460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5461   *) ac_try_echo=$ac_try;;
   5462 esac
   5463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5464 $as_echo "$ac_try_echo") >&5
   5465   (eval "$ac_compiler -v >&5") 2>&5
   5466   ac_status=$?
   5467   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5468   (exit $ac_status); }
   5469 { (ac_try="$ac_compiler -V >&5"
   5470 case "(($ac_try" in
   5471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5472   *) ac_try_echo=$ac_try;;
   5473 esac
   5474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5475 $as_echo "$ac_try_echo") >&5
   5476   (eval "$ac_compiler -V >&5") 2>&5
   5477   ac_status=$?
   5478   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5479   (exit $ac_status); }
   5480 
   5481 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5484   $as_echo_n "(cached) " >&6
   5485 else
   5486   cat >conftest.$ac_ext <<_ACEOF
   5487 /* confdefs.h.  */
   5488 _ACEOF
   5489 cat confdefs.h >>conftest.$ac_ext
   5490 cat >>conftest.$ac_ext <<_ACEOF
   5491 /* end confdefs.h.  */
   5492 
   5493 int
   5494 main ()
   5495 {
   5496 #ifndef __GNUC__
   5497        choke me
   5498 #endif
   5499 
   5500   ;
   5501   return 0;
   5502 }
   5503 _ACEOF
   5504 rm -f conftest.$ac_objext
   5505 if { (ac_try="$ac_compile"
   5506 case "(($ac_try" in
   5507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5508   *) ac_try_echo=$ac_try;;
   5509 esac
   5510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5511 $as_echo "$ac_try_echo") >&5
   5512   (eval "$ac_compile") 2>conftest.er1
   5513   ac_status=$?
   5514   grep -v '^ *+' conftest.er1 >conftest.err
   5515   rm -f conftest.er1
   5516   cat conftest.err >&5
   5517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5518   (exit $ac_status); } && {
   5519 	 test -z "$ac_cxx_werror_flag" ||
   5520 	 test ! -s conftest.err
   5521        } && test -s conftest.$ac_objext; then
   5522   ac_compiler_gnu=yes
   5523 else
   5524   $as_echo "$as_me: failed program was:" >&5
   5525 sed 's/^/| /' conftest.$ac_ext >&5
   5526 
   5527 	ac_compiler_gnu=no
   5528 fi
   5529 
   5530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5531 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5532 
   5533 fi
   5534 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5535 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5536 if test $ac_compiler_gnu = yes; then
   5537   GXX=yes
   5538 else
   5539   GXX=
   5540 fi
   5541 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5542 ac_save_CXXFLAGS=$CXXFLAGS
   5543 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5544 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5545 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5546   $as_echo_n "(cached) " >&6
   5547 else
   5548   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5549    ac_cxx_werror_flag=yes
   5550    ac_cv_prog_cxx_g=no
   5551    CXXFLAGS="-g"
   5552    cat >conftest.$ac_ext <<_ACEOF
   5553 /* confdefs.h.  */
   5554 _ACEOF
   5555 cat confdefs.h >>conftest.$ac_ext
   5556 cat >>conftest.$ac_ext <<_ACEOF
   5557 /* end confdefs.h.  */
   5558 
   5559 int
   5560 main ()
   5561 {
   5562 
   5563   ;
   5564   return 0;
   5565 }
   5566 _ACEOF
   5567 rm -f conftest.$ac_objext
   5568 if { (ac_try="$ac_compile"
   5569 case "(($ac_try" in
   5570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5571   *) ac_try_echo=$ac_try;;
   5572 esac
   5573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5574 $as_echo "$ac_try_echo") >&5
   5575   (eval "$ac_compile") 2>conftest.er1
   5576   ac_status=$?
   5577   grep -v '^ *+' conftest.er1 >conftest.err
   5578   rm -f conftest.er1
   5579   cat conftest.err >&5
   5580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5581   (exit $ac_status); } && {
   5582 	 test -z "$ac_cxx_werror_flag" ||
   5583 	 test ! -s conftest.err
   5584        } && test -s conftest.$ac_objext; then
   5585   ac_cv_prog_cxx_g=yes
   5586 else
   5587   $as_echo "$as_me: failed program was:" >&5
   5588 sed 's/^/| /' conftest.$ac_ext >&5
   5589 
   5590 	CXXFLAGS=""
   5591       cat >conftest.$ac_ext <<_ACEOF
   5592 /* confdefs.h.  */
   5593 _ACEOF
   5594 cat confdefs.h >>conftest.$ac_ext
   5595 cat >>conftest.$ac_ext <<_ACEOF
   5596 /* end confdefs.h.  */
   5597 
   5598 int
   5599 main ()
   5600 {
   5601 
   5602   ;
   5603   return 0;
   5604 }
   5605 _ACEOF
   5606 rm -f conftest.$ac_objext
   5607 if { (ac_try="$ac_compile"
   5608 case "(($ac_try" in
   5609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5610   *) ac_try_echo=$ac_try;;
   5611 esac
   5612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5613 $as_echo "$ac_try_echo") >&5
   5614   (eval "$ac_compile") 2>conftest.er1
   5615   ac_status=$?
   5616   grep -v '^ *+' conftest.er1 >conftest.err
   5617   rm -f conftest.er1
   5618   cat conftest.err >&5
   5619   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5620   (exit $ac_status); } && {
   5621 	 test -z "$ac_cxx_werror_flag" ||
   5622 	 test ! -s conftest.err
   5623        } && test -s conftest.$ac_objext; then
   5624   :
   5625 else
   5626   $as_echo "$as_me: failed program was:" >&5
   5627 sed 's/^/| /' conftest.$ac_ext >&5
   5628 
   5629 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5630 	 CXXFLAGS="-g"
   5631 	 cat >conftest.$ac_ext <<_ACEOF
   5632 /* confdefs.h.  */
   5633 _ACEOF
   5634 cat confdefs.h >>conftest.$ac_ext
   5635 cat >>conftest.$ac_ext <<_ACEOF
   5636 /* end confdefs.h.  */
   5637 
   5638 int
   5639 main ()
   5640 {
   5641 
   5642   ;
   5643   return 0;
   5644 }
   5645 _ACEOF
   5646 rm -f conftest.$ac_objext
   5647 if { (ac_try="$ac_compile"
   5648 case "(($ac_try" in
   5649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5650   *) ac_try_echo=$ac_try;;
   5651 esac
   5652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5653 $as_echo "$ac_try_echo") >&5
   5654   (eval "$ac_compile") 2>conftest.er1
   5655   ac_status=$?
   5656   grep -v '^ *+' conftest.er1 >conftest.err
   5657   rm -f conftest.er1
   5658   cat conftest.err >&5
   5659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5660   (exit $ac_status); } && {
   5661 	 test -z "$ac_cxx_werror_flag" ||
   5662 	 test ! -s conftest.err
   5663        } && test -s conftest.$ac_objext; then
   5664   ac_cv_prog_cxx_g=yes
   5665 else
   5666   $as_echo "$as_me: failed program was:" >&5
   5667 sed 's/^/| /' conftest.$ac_ext >&5
   5668 
   5669 
   5670 fi
   5671 
   5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5673 fi
   5674 
   5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5676 fi
   5677 
   5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5679    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5680 fi
   5681 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5682 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5683 if test "$ac_test_CXXFLAGS" = set; then
   5684   CXXFLAGS=$ac_save_CXXFLAGS
   5685 elif test $ac_cv_prog_cxx_g = yes; then
   5686   if test "$GXX" = yes; then
   5687     CXXFLAGS="-g -O2"
   5688   else
   5689     CXXFLAGS="-g"
   5690   fi
   5691 else
   5692   if test "$GXX" = yes; then
   5693     CXXFLAGS="-O2"
   5694   else
   5695     CXXFLAGS=
   5696   fi
   5697 fi
   5698 ac_ext=cpp
   5699 ac_cpp='$CXXCPP $CPPFLAGS'
   5700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5703 
   5704 depcc="$CXX"  am_compiler_list=
   5705 
   5706 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5707 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5708 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5712   # We make a subdir and do the tests there.  Otherwise we can end up
   5713   # making bogus files that we don't know about and never remove.  For
   5714   # instance it was reported that on HP-UX the gcc test will end up
   5715   # making a dummy file named `D' -- because `-MD' means `put the output
   5716   # in D'.
   5717   mkdir conftest.dir
   5718   # Copy depcomp to subdir because otherwise we won't find it if we're
   5719   # using a relative directory.
   5720   cp "$am_depcomp" conftest.dir
   5721   cd conftest.dir
   5722   # We will build objects and dependencies in a subdirectory because
   5723   # it helps to detect inapplicable dependency modes.  For instance
   5724   # both Tru64's cc and ICC support -MD to output dependencies as a
   5725   # side effect of compilation, but ICC will put the dependencies in
   5726   # the current directory while Tru64 will put them in the object
   5727   # directory.
   5728   mkdir sub
   5729 
   5730   am_cv_CXX_dependencies_compiler_type=none
   5731   if test "$am_compiler_list" = ""; then
   5732      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5733   fi
   5734   for depmode in $am_compiler_list; do
   5735     # Setup a source with many dependencies, because some compilers
   5736     # like to wrap large dependency lists on column 80 (with \), and
   5737     # we should not choose a depcomp mode which is confused by this.
   5738     #
   5739     # We need to recreate these files for each test, as the compiler may
   5740     # overwrite some of them when testing with obscure command lines.
   5741     # This happens at least with the AIX C compiler.
   5742     : > sub/conftest.c
   5743     for i in 1 2 3 4 5 6; do
   5744       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5745       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5746       # Solaris 8's {/usr,}/bin/sh.
   5747       touch sub/conftst$i.h
   5748     done
   5749     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5750 
   5751     case $depmode in
   5752     nosideeffect)
   5753       # after this tag, mechanisms are not by side-effect, so they'll
   5754       # only be used when explicitly requested
   5755       if test "x$enable_dependency_tracking" = xyes; then
   5756 	continue
   5757       else
   5758 	break
   5759       fi
   5760       ;;
   5761     none) break ;;
   5762     esac
   5763     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5764     # mode.  It turns out that the SunPro C++ compiler does not properly
   5765     # handle `-M -o', and we need to detect this.
   5766     if depmode=$depmode \
   5767        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5768        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5769        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5770          >/dev/null 2>conftest.err &&
   5771        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5772        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5773        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5774        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5775       # icc doesn't choke on unknown options, it will just issue warnings
   5776       # or remarks (even with -Werror).  So we grep stderr for any message
   5777       # that says an option was ignored or not supported.
   5778       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5779       #   icc: Command line warning: ignoring option '-M'; no argument required
   5780       # The diagnosis changed in icc 8.0:
   5781       #   icc: Command line remark: option '-MP' not supported
   5782       if (grep 'ignoring option' conftest.err ||
   5783           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5784         am_cv_CXX_dependencies_compiler_type=$depmode
   5785         break
   5786       fi
   5787     fi
   5788   done
   5789 
   5790   cd ..
   5791   rm -rf conftest.dir
   5792 else
   5793   am_cv_CXX_dependencies_compiler_type=none
   5794 fi
   5795 
   5796 fi
   5797 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5798 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5799 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5800 
   5801  if
   5802   test "x$enable_dependency_tracking" != xno \
   5803   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5804   am__fastdepCXX_TRUE=
   5805   am__fastdepCXX_FALSE='#'
   5806 else
   5807   am__fastdepCXX_TRUE='#'
   5808   am__fastdepCXX_FALSE=
   5809 fi
   5810 
   5811 
   5812 
   5813 
   5814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5815     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5816     (test "X$CXX" != "Xg++"))) ; then
   5817   ac_ext=cpp
   5818 ac_cpp='$CXXCPP $CPPFLAGS'
   5819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5822 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5824 if test -z "$CXXCPP"; then
   5825   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5826   $as_echo_n "(cached) " >&6
   5827 else
   5828       # Double quotes because CXXCPP needs to be expanded
   5829     for CXXCPP in "$CXX -E" "/lib/cpp"
   5830     do
   5831       ac_preproc_ok=false
   5832 for ac_cxx_preproc_warn_flag in '' yes
   5833 do
   5834   # Use a header file that comes with gcc, so configuring glibc
   5835   # with a fresh cross-compiler works.
   5836   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5837   # <limits.h> exists even on freestanding compilers.
   5838   # On the NeXT, cc -E runs the code through the compiler's parser,
   5839   # not just through cpp. "Syntax error" is here to catch this case.
   5840   cat >conftest.$ac_ext <<_ACEOF
   5841 /* confdefs.h.  */
   5842 _ACEOF
   5843 cat confdefs.h >>conftest.$ac_ext
   5844 cat >>conftest.$ac_ext <<_ACEOF
   5845 /* end confdefs.h.  */
   5846 #ifdef __STDC__
   5847 # include <limits.h>
   5848 #else
   5849 # include <assert.h>
   5850 #endif
   5851 		     Syntax error
   5852 _ACEOF
   5853 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5854 case "(($ac_try" in
   5855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5856   *) ac_try_echo=$ac_try;;
   5857 esac
   5858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5859 $as_echo "$ac_try_echo") >&5
   5860   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5861   ac_status=$?
   5862   grep -v '^ *+' conftest.er1 >conftest.err
   5863   rm -f conftest.er1
   5864   cat conftest.err >&5
   5865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5866   (exit $ac_status); } >/dev/null && {
   5867 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5868 	 test ! -s conftest.err
   5869        }; then
   5870   :
   5871 else
   5872   $as_echo "$as_me: failed program was:" >&5
   5873 sed 's/^/| /' conftest.$ac_ext >&5
   5874 
   5875   # Broken: fails on valid input.
   5876 continue
   5877 fi
   5878 
   5879 rm -f conftest.err conftest.$ac_ext
   5880 
   5881   # OK, works on sane cases.  Now check whether nonexistent headers
   5882   # can be detected and how.
   5883   cat >conftest.$ac_ext <<_ACEOF
   5884 /* confdefs.h.  */
   5885 _ACEOF
   5886 cat confdefs.h >>conftest.$ac_ext
   5887 cat >>conftest.$ac_ext <<_ACEOF
   5888 /* end confdefs.h.  */
   5889 #include <ac_nonexistent.h>
   5890 _ACEOF
   5891 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5892 case "(($ac_try" in
   5893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5894   *) ac_try_echo=$ac_try;;
   5895 esac
   5896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5897 $as_echo "$ac_try_echo") >&5
   5898   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5899   ac_status=$?
   5900   grep -v '^ *+' conftest.er1 >conftest.err
   5901   rm -f conftest.er1
   5902   cat conftest.err >&5
   5903   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5904   (exit $ac_status); } >/dev/null && {
   5905 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5906 	 test ! -s conftest.err
   5907        }; then
   5908   # Broken: success on invalid input.
   5909 continue
   5910 else
   5911   $as_echo "$as_me: failed program was:" >&5
   5912 sed 's/^/| /' conftest.$ac_ext >&5
   5913 
   5914   # Passes both tests.
   5915 ac_preproc_ok=:
   5916 break
   5917 fi
   5918 
   5919 rm -f conftest.err conftest.$ac_ext
   5920 
   5921 done
   5922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5923 rm -f conftest.err conftest.$ac_ext
   5924 if $ac_preproc_ok; then
   5925   break
   5926 fi
   5927 
   5928     done
   5929     ac_cv_prog_CXXCPP=$CXXCPP
   5930 
   5931 fi
   5932   CXXCPP=$ac_cv_prog_CXXCPP
   5933 else
   5934   ac_cv_prog_CXXCPP=$CXXCPP
   5935 fi
   5936 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5937 $as_echo "$CXXCPP" >&6; }
   5938 ac_preproc_ok=false
   5939 for ac_cxx_preproc_warn_flag in '' yes
   5940 do
   5941   # Use a header file that comes with gcc, so configuring glibc
   5942   # with a fresh cross-compiler works.
   5943   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5944   # <limits.h> exists even on freestanding compilers.
   5945   # On the NeXT, cc -E runs the code through the compiler's parser,
   5946   # not just through cpp. "Syntax error" is here to catch this case.
   5947   cat >conftest.$ac_ext <<_ACEOF
   5948 /* confdefs.h.  */
   5949 _ACEOF
   5950 cat confdefs.h >>conftest.$ac_ext
   5951 cat >>conftest.$ac_ext <<_ACEOF
   5952 /* end confdefs.h.  */
   5953 #ifdef __STDC__
   5954 # include <limits.h>
   5955 #else
   5956 # include <assert.h>
   5957 #endif
   5958 		     Syntax error
   5959 _ACEOF
   5960 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5961 case "(($ac_try" in
   5962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5963   *) ac_try_echo=$ac_try;;
   5964 esac
   5965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5966 $as_echo "$ac_try_echo") >&5
   5967   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5968   ac_status=$?
   5969   grep -v '^ *+' conftest.er1 >conftest.err
   5970   rm -f conftest.er1
   5971   cat conftest.err >&5
   5972   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5973   (exit $ac_status); } >/dev/null && {
   5974 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5975 	 test ! -s conftest.err
   5976        }; then
   5977   :
   5978 else
   5979   $as_echo "$as_me: failed program was:" >&5
   5980 sed 's/^/| /' conftest.$ac_ext >&5
   5981 
   5982   # Broken: fails on valid input.
   5983 continue
   5984 fi
   5985 
   5986 rm -f conftest.err conftest.$ac_ext
   5987 
   5988   # OK, works on sane cases.  Now check whether nonexistent headers
   5989   # can be detected and how.
   5990   cat >conftest.$ac_ext <<_ACEOF
   5991 /* confdefs.h.  */
   5992 _ACEOF
   5993 cat confdefs.h >>conftest.$ac_ext
   5994 cat >>conftest.$ac_ext <<_ACEOF
   5995 /* end confdefs.h.  */
   5996 #include <ac_nonexistent.h>
   5997 _ACEOF
   5998 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5999 case "(($ac_try" in
   6000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6001   *) ac_try_echo=$ac_try;;
   6002 esac
   6003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6004 $as_echo "$ac_try_echo") >&5
   6005   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6006   ac_status=$?
   6007   grep -v '^ *+' conftest.er1 >conftest.err
   6008   rm -f conftest.er1
   6009   cat conftest.err >&5
   6010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6011   (exit $ac_status); } >/dev/null && {
   6012 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6013 	 test ! -s conftest.err
   6014        }; then
   6015   # Broken: success on invalid input.
   6016 continue
   6017 else
   6018   $as_echo "$as_me: failed program was:" >&5
   6019 sed 's/^/| /' conftest.$ac_ext >&5
   6020 
   6021   # Passes both tests.
   6022 ac_preproc_ok=:
   6023 break
   6024 fi
   6025 
   6026 rm -f conftest.err conftest.$ac_ext
   6027 
   6028 done
   6029 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6030 rm -f conftest.err conftest.$ac_ext
   6031 if $ac_preproc_ok; then
   6032   :
   6033 else
   6034   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6036 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6037 See \`config.log' for more details." >&5
   6038 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6039 See \`config.log' for more details." >&2;}
   6040    { (exit 1); exit 1; }; }; }
   6041 fi
   6042 
   6043 ac_ext=cpp
   6044 ac_cpp='$CXXCPP $CPPFLAGS'
   6045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6048 
   6049 fi
   6050 
   6051 
   6052 ac_ext=f
   6053 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6054 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6055 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6056 if test -n "$ac_tool_prefix"; then
   6057   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
   6058   do
   6059     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6061 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6062 $as_echo_n "checking for $ac_word... " >&6; }
   6063 if test "${ac_cv_prog_F77+set}" = set; then
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   if test -n "$F77"; then
   6067   ac_cv_prog_F77="$F77" # Let the user override the test.
   6068 else
   6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6070 for as_dir in $PATH
   6071 do
   6072   IFS=$as_save_IFS
   6073   test -z "$as_dir" && as_dir=.
   6074   for ac_exec_ext in '' $ac_executable_extensions; do
   6075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6076     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6077     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6078     break 2
   6079   fi
   6080 done
   6081 done
   6082 IFS=$as_save_IFS
   6083 
   6084 fi
   6085 fi
   6086 F77=$ac_cv_prog_F77
   6087 if test -n "$F77"; then
   6088   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6089 $as_echo "$F77" >&6; }
   6090 else
   6091   { $as_echo "$as_me:$LINENO: result: no" >&5
   6092 $as_echo "no" >&6; }
   6093 fi
   6094 
   6095 
   6096     test -n "$F77" && break
   6097   done
   6098 fi
   6099 if test -z "$F77"; then
   6100   ac_ct_F77=$F77
   6101   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
   6102 do
   6103   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6104 set dummy $ac_prog; ac_word=$2
   6105 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6106 $as_echo_n "checking for $ac_word... " >&6; }
   6107 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6108   $as_echo_n "(cached) " >&6
   6109 else
   6110   if test -n "$ac_ct_F77"; then
   6111   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6112 else
   6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6114 for as_dir in $PATH
   6115 do
   6116   IFS=$as_save_IFS
   6117   test -z "$as_dir" && as_dir=.
   6118   for ac_exec_ext in '' $ac_executable_extensions; do
   6119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6120     ac_cv_prog_ac_ct_F77="$ac_prog"
   6121     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6122     break 2
   6123   fi
   6124 done
   6125 done
   6126 IFS=$as_save_IFS
   6127 
   6128 fi
   6129 fi
   6130 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6131 if test -n "$ac_ct_F77"; then
   6132   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6133 $as_echo "$ac_ct_F77" >&6; }
   6134 else
   6135   { $as_echo "$as_me:$LINENO: result: no" >&5
   6136 $as_echo "no" >&6; }
   6137 fi
   6138 
   6139 
   6140   test -n "$ac_ct_F77" && break
   6141 done
   6142 
   6143   if test "x$ac_ct_F77" = x; then
   6144     F77=""
   6145   else
   6146     case $cross_compiling:$ac_tool_warned in
   6147 yes:)
   6148 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6150 ac_tool_warned=yes ;;
   6151 esac
   6152     F77=$ac_ct_F77
   6153   fi
   6154 fi
   6155 
   6156 
   6157 # Provide some information about the compiler.
   6158 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6159 set X $ac_compile
   6160 ac_compiler=$2
   6161 { (ac_try="$ac_compiler --version >&5"
   6162 case "(($ac_try" in
   6163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6164   *) ac_try_echo=$ac_try;;
   6165 esac
   6166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6167 $as_echo "$ac_try_echo") >&5
   6168   (eval "$ac_compiler --version >&5") 2>&5
   6169   ac_status=$?
   6170   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6171   (exit $ac_status); }
   6172 { (ac_try="$ac_compiler -v >&5"
   6173 case "(($ac_try" in
   6174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6175   *) ac_try_echo=$ac_try;;
   6176 esac
   6177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6178 $as_echo "$ac_try_echo") >&5
   6179   (eval "$ac_compiler -v >&5") 2>&5
   6180   ac_status=$?
   6181   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6182   (exit $ac_status); }
   6183 { (ac_try="$ac_compiler -V >&5"
   6184 case "(($ac_try" in
   6185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6186   *) ac_try_echo=$ac_try;;
   6187 esac
   6188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6189 $as_echo "$ac_try_echo") >&5
   6190   (eval "$ac_compiler -V >&5") 2>&5
   6191   ac_status=$?
   6192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6193   (exit $ac_status); }
   6194 rm -f a.out
   6195 
   6196 # If we don't use `.F' as extension, the preprocessor is not run on the
   6197 # input file.  (Note that this only needs to work for GNU compilers.)
   6198 ac_save_ext=$ac_ext
   6199 ac_ext=F
   6200 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6201 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6202 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6203   $as_echo_n "(cached) " >&6
   6204 else
   6205   cat >conftest.$ac_ext <<_ACEOF
   6206       program main
   6207 #ifndef __GNUC__
   6208        choke me
   6209 #endif
   6210 
   6211       end
   6212 _ACEOF
   6213 rm -f conftest.$ac_objext
   6214 if { (ac_try="$ac_compile"
   6215 case "(($ac_try" in
   6216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6217   *) ac_try_echo=$ac_try;;
   6218 esac
   6219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6220 $as_echo "$ac_try_echo") >&5
   6221   (eval "$ac_compile") 2>conftest.er1
   6222   ac_status=$?
   6223   grep -v '^ *+' conftest.er1 >conftest.err
   6224   rm -f conftest.er1
   6225   cat conftest.err >&5
   6226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6227   (exit $ac_status); } && {
   6228 	 test -z "$ac_f77_werror_flag" ||
   6229 	 test ! -s conftest.err
   6230        } && test -s conftest.$ac_objext; then
   6231   ac_compiler_gnu=yes
   6232 else
   6233   $as_echo "$as_me: failed program was:" >&5
   6234 sed 's/^/| /' conftest.$ac_ext >&5
   6235 
   6236 	ac_compiler_gnu=no
   6237 fi
   6238 
   6239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6240 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6241 
   6242 fi
   6243 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6244 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6245 ac_ext=$ac_save_ext
   6246 ac_test_FFLAGS=${FFLAGS+set}
   6247 ac_save_FFLAGS=$FFLAGS
   6248 FFLAGS=
   6249 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6250 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6251 if test "${ac_cv_prog_f77_g+set}" = set; then
   6252   $as_echo_n "(cached) " >&6
   6253 else
   6254   FFLAGS=-g
   6255 cat >conftest.$ac_ext <<_ACEOF
   6256       program main
   6257 
   6258       end
   6259 _ACEOF
   6260 rm -f conftest.$ac_objext
   6261 if { (ac_try="$ac_compile"
   6262 case "(($ac_try" in
   6263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6264   *) ac_try_echo=$ac_try;;
   6265 esac
   6266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6267 $as_echo "$ac_try_echo") >&5
   6268   (eval "$ac_compile") 2>conftest.er1
   6269   ac_status=$?
   6270   grep -v '^ *+' conftest.er1 >conftest.err
   6271   rm -f conftest.er1
   6272   cat conftest.err >&5
   6273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6274   (exit $ac_status); } && {
   6275 	 test -z "$ac_f77_werror_flag" ||
   6276 	 test ! -s conftest.err
   6277        } && test -s conftest.$ac_objext; then
   6278   ac_cv_prog_f77_g=yes
   6279 else
   6280   $as_echo "$as_me: failed program was:" >&5
   6281 sed 's/^/| /' conftest.$ac_ext >&5
   6282 
   6283 	ac_cv_prog_f77_g=no
   6284 fi
   6285 
   6286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6287 
   6288 fi
   6289 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6290 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6291 if test "$ac_test_FFLAGS" = set; then
   6292   FFLAGS=$ac_save_FFLAGS
   6293 elif test $ac_cv_prog_f77_g = yes; then
   6294   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6295     FFLAGS="-g -O2"
   6296   else
   6297     FFLAGS="-g"
   6298   fi
   6299 else
   6300   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6301     FFLAGS="-O2"
   6302   else
   6303     FFLAGS=
   6304   fi
   6305 fi
   6306 
   6307 if test $ac_compiler_gnu = yes; then
   6308   G77=yes
   6309 else
   6310   G77=
   6311 fi
   6312 ac_ext=c
   6313 ac_cpp='$CPP $CPPFLAGS'
   6314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6317 
   6318 
   6319 
   6320 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6321 # find the maximum length of command line arguments
   6322 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6323 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6324 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327     i=0
   6328   teststring="ABCD"
   6329 
   6330   case $build_os in
   6331   msdosdjgpp*)
   6332     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6333     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6334     # during glob expansion).  Even if it were fixed, the result of this
   6335     # check would be larger than it should be.
   6336     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6337     ;;
   6338 
   6339   gnu*)
   6340     # Under GNU Hurd, this test is not required because there is
   6341     # no limit to the length of command line arguments.
   6342     # Libtool will interpret -1 as no limit whatsoever
   6343     lt_cv_sys_max_cmd_len=-1;
   6344     ;;
   6345 
   6346   cygwin* | mingw*)
   6347     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6348     # about 5 minutes as the teststring grows exponentially.
   6349     # Worse, since 9x/ME are not pre-emptively multitasking,
   6350     # you end up with a "frozen" computer, even though with patience
   6351     # the test eventually succeeds (with a max line length of 256k).
   6352     # Instead, let's just punt: use the minimum linelength reported by
   6353     # all of the supported platforms: 8192 (on NT/2K/XP).
   6354     lt_cv_sys_max_cmd_len=8192;
   6355     ;;
   6356 
   6357   amigaos*)
   6358     # On AmigaOS with pdksh, this test takes hours, literally.
   6359     # So we just punt and use a minimum line length of 8192.
   6360     lt_cv_sys_max_cmd_len=8192;
   6361     ;;
   6362 
   6363   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6364     # This has been around since 386BSD, at least.  Likely further.
   6365     if test -x /sbin/sysctl; then
   6366       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6367     elif test -x /usr/sbin/sysctl; then
   6368       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6369     else
   6370       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6371     fi
   6372     # And add a safety zone
   6373     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6374     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6375     ;;
   6376 
   6377   interix*)
   6378     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6379     lt_cv_sys_max_cmd_len=196608
   6380     ;;
   6381 
   6382   osf*)
   6383     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6384     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6385     # nice to cause kernel panics so lets avoid the loop below.
   6386     # First set a reasonable default.
   6387     lt_cv_sys_max_cmd_len=16384
   6388     #
   6389     if test -x /sbin/sysconfig; then
   6390       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6391         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6392       esac
   6393     fi
   6394     ;;
   6395   sco3.2v5*)
   6396     lt_cv_sys_max_cmd_len=102400
   6397     ;;
   6398   sysv5* | sco5v6* | sysv4.2uw2*)
   6399     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6400     if test -n "$kargmax"; then
   6401       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6402     else
   6403       lt_cv_sys_max_cmd_len=32768
   6404     fi
   6405     ;;
   6406   *)
   6407     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6408     if test -n "$lt_cv_sys_max_cmd_len"; then
   6409       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6410       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6411     else
   6412       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6413       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6414 	       = "XX$teststring") >/dev/null 2>&1 &&
   6415 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6416 	      lt_cv_sys_max_cmd_len=$new_result &&
   6417 	      test $i != 17 # 1/2 MB should be enough
   6418       do
   6419         i=`expr $i + 1`
   6420         teststring=$teststring$teststring
   6421       done
   6422       teststring=
   6423       # Add a significant safety factor because C++ compilers can tack on massive
   6424       # amounts of additional arguments before passing them to the linker.
   6425       # It appears as though 1/2 is a usable value.
   6426       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6427     fi
   6428     ;;
   6429   esac
   6430 
   6431 fi
   6432 
   6433 if test -n $lt_cv_sys_max_cmd_len ; then
   6434   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6435 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6436 else
   6437   { $as_echo "$as_me:$LINENO: result: none" >&5
   6438 $as_echo "none" >&6; }
   6439 fi
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6446 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6447 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6448 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451 
   6452 # These are sane defaults that work on at least a few old systems.
   6453 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6454 
   6455 # Character class describing NM global symbol codes.
   6456 symcode='[BCDEGRST]'
   6457 
   6458 # Regexp to match symbols that can be accessed directly from C.
   6459 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6460 
   6461 # Transform an extracted symbol line into a proper C declaration
   6462 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6463 
   6464 # Transform an extracted symbol line into symbol name and symbol address
   6465 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'"
   6466 
   6467 # Define system-specific variables.
   6468 case $host_os in
   6469 aix*)
   6470   symcode='[BCDT]'
   6471   ;;
   6472 cygwin* | mingw* | pw32*)
   6473   symcode='[ABCDGISTW]'
   6474   ;;
   6475 hpux*) # Its linker distinguishes data from code symbols
   6476   if test "$host_cpu" = ia64; then
   6477     symcode='[ABCDEGRST]'
   6478   fi
   6479   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6480   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'"
   6481   ;;
   6482 linux* | k*bsd*-gnu)
   6483   if test "$host_cpu" = ia64; then
   6484     symcode='[ABCDGIRSTW]'
   6485     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6486     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'"
   6487   fi
   6488   ;;
   6489 irix* | nonstopux*)
   6490   symcode='[BCDEGRST]'
   6491   ;;
   6492 osf*)
   6493   symcode='[BCDEGQRST]'
   6494   ;;
   6495 solaris*)
   6496   symcode='[BDRT]'
   6497   ;;
   6498 sco3.2v5*)
   6499   symcode='[DT]'
   6500   ;;
   6501 sysv4.2uw2*)
   6502   symcode='[DT]'
   6503   ;;
   6504 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6505   symcode='[ABDT]'
   6506   ;;
   6507 sysv4)
   6508   symcode='[DFNSTU]'
   6509   ;;
   6510 esac
   6511 
   6512 # Handle CRLF in mingw tool chain
   6513 opt_cr=
   6514 case $build_os in
   6515 mingw*)
   6516   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6517   ;;
   6518 esac
   6519 
   6520 # If we're using GNU nm, then use its standard symbol codes.
   6521 case `$NM -V 2>&1` in
   6522 *GNU* | *'with BFD'*)
   6523   symcode='[ABCDGIRSTW]' ;;
   6524 esac
   6525 
   6526 # Try without a prefix undercore, then with it.
   6527 for ac_symprfx in "" "_"; do
   6528 
   6529   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6530   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6531 
   6532   # Write the raw and C identifiers.
   6533   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6534 
   6535   # Check to see that the pipe works correctly.
   6536   pipe_works=no
   6537 
   6538   rm -f conftest*
   6539   cat > conftest.$ac_ext <<EOF
   6540 #ifdef __cplusplus
   6541 extern "C" {
   6542 #endif
   6543 char nm_test_var;
   6544 void nm_test_func(){}
   6545 #ifdef __cplusplus
   6546 }
   6547 #endif
   6548 int main(){nm_test_var='a';nm_test_func();return(0);}
   6549 EOF
   6550 
   6551   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6552   (eval $ac_compile) 2>&5
   6553   ac_status=$?
   6554   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6555   (exit $ac_status); }; then
   6556     # Now try to grab the symbols.
   6557     nlist=conftest.nm
   6558     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6559   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6560   ac_status=$?
   6561   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6562   (exit $ac_status); } && test -s "$nlist"; then
   6563       # Try sorting and uniquifying the output.
   6564       if sort "$nlist" | uniq > "$nlist"T; then
   6565 	mv -f "$nlist"T "$nlist"
   6566       else
   6567 	rm -f "$nlist"T
   6568       fi
   6569 
   6570       # Make sure that we snagged all the symbols we need.
   6571       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6572 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6573 	  cat <<EOF > conftest.$ac_ext
   6574 #ifdef __cplusplus
   6575 extern "C" {
   6576 #endif
   6577 
   6578 EOF
   6579 	  # Now generate the symbol file.
   6580 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6581 
   6582 	  cat <<EOF >> conftest.$ac_ext
   6583 #if defined (__STDC__) && __STDC__
   6584 # define lt_ptr_t void *
   6585 #else
   6586 # define lt_ptr_t char *
   6587 # define const
   6588 #endif
   6589 
   6590 /* The mapping between symbol names and symbols. */
   6591 const struct {
   6592   const char *name;
   6593   lt_ptr_t address;
   6594 }
   6595 lt_preloaded_symbols[] =
   6596 {
   6597 EOF
   6598 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6599 	  cat <<\EOF >> conftest.$ac_ext
   6600   {0, (lt_ptr_t) 0}
   6601 };
   6602 
   6603 #ifdef __cplusplus
   6604 }
   6605 #endif
   6606 EOF
   6607 	  # Now try linking the two files.
   6608 	  mv conftest.$ac_objext conftstm.$ac_objext
   6609 	  lt_save_LIBS="$LIBS"
   6610 	  lt_save_CFLAGS="$CFLAGS"
   6611 	  LIBS="conftstm.$ac_objext"
   6612 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6613 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6614   (eval $ac_link) 2>&5
   6615   ac_status=$?
   6616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6617   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6618 	    pipe_works=yes
   6619 	  fi
   6620 	  LIBS="$lt_save_LIBS"
   6621 	  CFLAGS="$lt_save_CFLAGS"
   6622 	else
   6623 	  echo "cannot find nm_test_func in $nlist" >&5
   6624 	fi
   6625       else
   6626 	echo "cannot find nm_test_var in $nlist" >&5
   6627       fi
   6628     else
   6629       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6630     fi
   6631   else
   6632     echo "$progname: failed program was:" >&5
   6633     cat conftest.$ac_ext >&5
   6634   fi
   6635   rm -rf conftest* conftst*
   6636 
   6637   # Do not use the global_symbol_pipe unless it works.
   6638   if test "$pipe_works" = yes; then
   6639     break
   6640   else
   6641     lt_cv_sys_global_symbol_pipe=
   6642   fi
   6643 done
   6644 
   6645 fi
   6646 
   6647 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6648   lt_cv_sys_global_symbol_to_cdecl=
   6649 fi
   6650 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6651   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6652 $as_echo "failed" >&6; }
   6653 else
   6654   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6655 $as_echo "ok" >&6; }
   6656 fi
   6657 
   6658 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6659 $as_echo_n "checking for objdir... " >&6; }
   6660 if test "${lt_cv_objdir+set}" = set; then
   6661   $as_echo_n "(cached) " >&6
   6662 else
   6663   rm -f .libs 2>/dev/null
   6664 mkdir .libs 2>/dev/null
   6665 if test -d .libs; then
   6666   lt_cv_objdir=.libs
   6667 else
   6668   # MS-DOS does not allow filenames that begin with a dot.
   6669   lt_cv_objdir=_libs
   6670 fi
   6671 rmdir .libs 2>/dev/null
   6672 fi
   6673 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6674 $as_echo "$lt_cv_objdir" >&6; }
   6675 objdir=$lt_cv_objdir
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 case $host_os in
   6682 aix3*)
   6683   # AIX sometimes has problems with the GCC collect2 program.  For some
   6684   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6685   # vanish in a puff of smoke.
   6686   if test "X${COLLECT_NAMES+set}" != Xset; then
   6687     COLLECT_NAMES=
   6688     export COLLECT_NAMES
   6689   fi
   6690   ;;
   6691 esac
   6692 
   6693 # Sed substitution that helps us do robust quoting.  It backslashifies
   6694 # metacharacters that are still active within double-quoted strings.
   6695 Xsed='sed -e 1s/^X//'
   6696 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6697 
   6698 # Same as above, but do not quote variable references.
   6699 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6700 
   6701 # Sed substitution to delay expansion of an escaped shell variable in a
   6702 # double_quote_subst'ed string.
   6703 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6704 
   6705 # Sed substitution to avoid accidental globbing in evaled expressions
   6706 no_glob_subst='s/\*/\\\*/g'
   6707 
   6708 # Constants:
   6709 rm="rm -f"
   6710 
   6711 # Global variables:
   6712 default_ofile=libtool
   6713 can_build_shared=yes
   6714 
   6715 # All known linkers require a `.a' archive for static linking (except MSVC,
   6716 # which needs '.lib').
   6717 libext=a
   6718 ltmain="$ac_aux_dir/ltmain.sh"
   6719 ofile="$default_ofile"
   6720 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6721 
   6722 if test -n "$ac_tool_prefix"; then
   6723   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6724 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6725 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6726 $as_echo_n "checking for $ac_word... " >&6; }
   6727 if test "${ac_cv_prog_AR+set}" = set; then
   6728   $as_echo_n "(cached) " >&6
   6729 else
   6730   if test -n "$AR"; then
   6731   ac_cv_prog_AR="$AR" # Let the user override the test.
   6732 else
   6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6734 for as_dir in $PATH
   6735 do
   6736   IFS=$as_save_IFS
   6737   test -z "$as_dir" && as_dir=.
   6738   for ac_exec_ext in '' $ac_executable_extensions; do
   6739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6740     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6741     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6742     break 2
   6743   fi
   6744 done
   6745 done
   6746 IFS=$as_save_IFS
   6747 
   6748 fi
   6749 fi
   6750 AR=$ac_cv_prog_AR
   6751 if test -n "$AR"; then
   6752   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6753 $as_echo "$AR" >&6; }
   6754 else
   6755   { $as_echo "$as_me:$LINENO: result: no" >&5
   6756 $as_echo "no" >&6; }
   6757 fi
   6758 
   6759 
   6760 fi
   6761 if test -z "$ac_cv_prog_AR"; then
   6762   ac_ct_AR=$AR
   6763   # Extract the first word of "ar", so it can be a program name with args.
   6764 set dummy ar; ac_word=$2
   6765 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6766 $as_echo_n "checking for $ac_word... " >&6; }
   6767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6768   $as_echo_n "(cached) " >&6
   6769 else
   6770   if test -n "$ac_ct_AR"; then
   6771   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6772 else
   6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6774 for as_dir in $PATH
   6775 do
   6776   IFS=$as_save_IFS
   6777   test -z "$as_dir" && as_dir=.
   6778   for ac_exec_ext in '' $ac_executable_extensions; do
   6779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6780     ac_cv_prog_ac_ct_AR="ar"
   6781     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6782     break 2
   6783   fi
   6784 done
   6785 done
   6786 IFS=$as_save_IFS
   6787 
   6788 fi
   6789 fi
   6790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6791 if test -n "$ac_ct_AR"; then
   6792   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6793 $as_echo "$ac_ct_AR" >&6; }
   6794 else
   6795   { $as_echo "$as_me:$LINENO: result: no" >&5
   6796 $as_echo "no" >&6; }
   6797 fi
   6798 
   6799   if test "x$ac_ct_AR" = x; then
   6800     AR="false"
   6801   else
   6802     case $cross_compiling:$ac_tool_warned in
   6803 yes:)
   6804 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6806 ac_tool_warned=yes ;;
   6807 esac
   6808     AR=$ac_ct_AR
   6809   fi
   6810 else
   6811   AR="$ac_cv_prog_AR"
   6812 fi
   6813 
   6814 if test -n "$ac_tool_prefix"; then
   6815   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6816 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6817 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6818 $as_echo_n "checking for $ac_word... " >&6; }
   6819 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6820   $as_echo_n "(cached) " >&6
   6821 else
   6822   if test -n "$RANLIB"; then
   6823   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6824 else
   6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6826 for as_dir in $PATH
   6827 do
   6828   IFS=$as_save_IFS
   6829   test -z "$as_dir" && as_dir=.
   6830   for ac_exec_ext in '' $ac_executable_extensions; do
   6831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6832     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6833     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6834     break 2
   6835   fi
   6836 done
   6837 done
   6838 IFS=$as_save_IFS
   6839 
   6840 fi
   6841 fi
   6842 RANLIB=$ac_cv_prog_RANLIB
   6843 if test -n "$RANLIB"; then
   6844   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6845 $as_echo "$RANLIB" >&6; }
   6846 else
   6847   { $as_echo "$as_me:$LINENO: result: no" >&5
   6848 $as_echo "no" >&6; }
   6849 fi
   6850 
   6851 
   6852 fi
   6853 if test -z "$ac_cv_prog_RANLIB"; then
   6854   ac_ct_RANLIB=$RANLIB
   6855   # Extract the first word of "ranlib", so it can be a program name with args.
   6856 set dummy ranlib; ac_word=$2
   6857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6858 $as_echo_n "checking for $ac_word... " >&6; }
   6859 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6860   $as_echo_n "(cached) " >&6
   6861 else
   6862   if test -n "$ac_ct_RANLIB"; then
   6863   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6864 else
   6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6866 for as_dir in $PATH
   6867 do
   6868   IFS=$as_save_IFS
   6869   test -z "$as_dir" && as_dir=.
   6870   for ac_exec_ext in '' $ac_executable_extensions; do
   6871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6872     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6873     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6874     break 2
   6875   fi
   6876 done
   6877 done
   6878 IFS=$as_save_IFS
   6879 
   6880 fi
   6881 fi
   6882 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6883 if test -n "$ac_ct_RANLIB"; then
   6884   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6885 $as_echo "$ac_ct_RANLIB" >&6; }
   6886 else
   6887   { $as_echo "$as_me:$LINENO: result: no" >&5
   6888 $as_echo "no" >&6; }
   6889 fi
   6890 
   6891   if test "x$ac_ct_RANLIB" = x; then
   6892     RANLIB=":"
   6893   else
   6894     case $cross_compiling:$ac_tool_warned in
   6895 yes:)
   6896 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6898 ac_tool_warned=yes ;;
   6899 esac
   6900     RANLIB=$ac_ct_RANLIB
   6901   fi
   6902 else
   6903   RANLIB="$ac_cv_prog_RANLIB"
   6904 fi
   6905 
   6906 if test -n "$ac_tool_prefix"; then
   6907   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6908 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6909 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6910 $as_echo_n "checking for $ac_word... " >&6; }
   6911 if test "${ac_cv_prog_STRIP+set}" = set; then
   6912   $as_echo_n "(cached) " >&6
   6913 else
   6914   if test -n "$STRIP"; then
   6915   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6916 else
   6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6918 for as_dir in $PATH
   6919 do
   6920   IFS=$as_save_IFS
   6921   test -z "$as_dir" && as_dir=.
   6922   for ac_exec_ext in '' $ac_executable_extensions; do
   6923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6924     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6925     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6926     break 2
   6927   fi
   6928 done
   6929 done
   6930 IFS=$as_save_IFS
   6931 
   6932 fi
   6933 fi
   6934 STRIP=$ac_cv_prog_STRIP
   6935 if test -n "$STRIP"; then
   6936   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6937 $as_echo "$STRIP" >&6; }
   6938 else
   6939   { $as_echo "$as_me:$LINENO: result: no" >&5
   6940 $as_echo "no" >&6; }
   6941 fi
   6942 
   6943 
   6944 fi
   6945 if test -z "$ac_cv_prog_STRIP"; then
   6946   ac_ct_STRIP=$STRIP
   6947   # Extract the first word of "strip", so it can be a program name with args.
   6948 set dummy strip; ac_word=$2
   6949 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6950 $as_echo_n "checking for $ac_word... " >&6; }
   6951 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6952   $as_echo_n "(cached) " >&6
   6953 else
   6954   if test -n "$ac_ct_STRIP"; then
   6955   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6956 else
   6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6958 for as_dir in $PATH
   6959 do
   6960   IFS=$as_save_IFS
   6961   test -z "$as_dir" && as_dir=.
   6962   for ac_exec_ext in '' $ac_executable_extensions; do
   6963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6964     ac_cv_prog_ac_ct_STRIP="strip"
   6965     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6966     break 2
   6967   fi
   6968 done
   6969 done
   6970 IFS=$as_save_IFS
   6971 
   6972 fi
   6973 fi
   6974 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6975 if test -n "$ac_ct_STRIP"; then
   6976   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6977 $as_echo "$ac_ct_STRIP" >&6; }
   6978 else
   6979   { $as_echo "$as_me:$LINENO: result: no" >&5
   6980 $as_echo "no" >&6; }
   6981 fi
   6982 
   6983   if test "x$ac_ct_STRIP" = x; then
   6984     STRIP=":"
   6985   else
   6986     case $cross_compiling:$ac_tool_warned in
   6987 yes:)
   6988 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6990 ac_tool_warned=yes ;;
   6991 esac
   6992     STRIP=$ac_ct_STRIP
   6993   fi
   6994 else
   6995   STRIP="$ac_cv_prog_STRIP"
   6996 fi
   6997 
   6998 
   6999 old_CC="$CC"
   7000 old_CFLAGS="$CFLAGS"
   7001 
   7002 # Set sane defaults for various variables
   7003 test -z "$AR" && AR=ar
   7004 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7005 test -z "$AS" && AS=as
   7006 test -z "$CC" && CC=cc
   7007 test -z "$LTCC" && LTCC=$CC
   7008 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7009 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7010 test -z "$LD" && LD=ld
   7011 test -z "$LN_S" && LN_S="ln -s"
   7012 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7013 test -z "$NM" && NM=nm
   7014 test -z "$SED" && SED=sed
   7015 test -z "$OBJDUMP" && OBJDUMP=objdump
   7016 test -z "$RANLIB" && RANLIB=:
   7017 test -z "$STRIP" && STRIP=:
   7018 test -z "$ac_objext" && ac_objext=o
   7019 
   7020 # Determine commands to create old-style static archives.
   7021 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7022 old_postinstall_cmds='chmod 644 $oldlib'
   7023 old_postuninstall_cmds=
   7024 
   7025 if test -n "$RANLIB"; then
   7026   case $host_os in
   7027   openbsd*)
   7028     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7029     ;;
   7030   *)
   7031     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7032     ;;
   7033   esac
   7034   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7035 fi
   7036 
   7037 for cc_temp in $compiler""; do
   7038   case $cc_temp in
   7039     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7040     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7041     \-*) ;;
   7042     *) break;;
   7043   esac
   7044 done
   7045 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7046 
   7047 
   7048 # Only perform the check for file, if the check method requires it
   7049 case $deplibs_check_method in
   7050 file_magic*)
   7051   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7052     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7053 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7054 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7055   $as_echo_n "(cached) " >&6
   7056 else
   7057   case $MAGIC_CMD in
   7058 [\\/*] |  ?:[\\/]*)
   7059   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7060   ;;
   7061 *)
   7062   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7063   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7064   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7065   for ac_dir in $ac_dummy; do
   7066     IFS="$lt_save_ifs"
   7067     test -z "$ac_dir" && ac_dir=.
   7068     if test -f $ac_dir/${ac_tool_prefix}file; then
   7069       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7070       if test -n "$file_magic_test_file"; then
   7071 	case $deplibs_check_method in
   7072 	"file_magic "*)
   7073 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7074 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7075 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7076 	    $EGREP "$file_magic_regex" > /dev/null; then
   7077 	    :
   7078 	  else
   7079 	    cat <<EOF 1>&2
   7080 
   7081 *** Warning: the command libtool uses to detect shared libraries,
   7082 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7083 *** The result is that libtool may fail to recognize shared libraries
   7084 *** as such.  This will affect the creation of libtool libraries that
   7085 *** depend on shared libraries, but programs linked with such libtool
   7086 *** libraries will work regardless of this problem.  Nevertheless, you
   7087 *** may want to report the problem to your system manager and/or to
   7088 *** bug-libtool@gnu.org
   7089 
   7090 EOF
   7091 	  fi ;;
   7092 	esac
   7093       fi
   7094       break
   7095     fi
   7096   done
   7097   IFS="$lt_save_ifs"
   7098   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7099   ;;
   7100 esac
   7101 fi
   7102 
   7103 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7104 if test -n "$MAGIC_CMD"; then
   7105   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7106 $as_echo "$MAGIC_CMD" >&6; }
   7107 else
   7108   { $as_echo "$as_me:$LINENO: result: no" >&5
   7109 $as_echo "no" >&6; }
   7110 fi
   7111 
   7112 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7113   if test -n "$ac_tool_prefix"; then
   7114     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7115 $as_echo_n "checking for file... " >&6; }
   7116 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7117   $as_echo_n "(cached) " >&6
   7118 else
   7119   case $MAGIC_CMD in
   7120 [\\/*] |  ?:[\\/]*)
   7121   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7122   ;;
   7123 *)
   7124   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7125   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7126   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7127   for ac_dir in $ac_dummy; do
   7128     IFS="$lt_save_ifs"
   7129     test -z "$ac_dir" && ac_dir=.
   7130     if test -f $ac_dir/file; then
   7131       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7132       if test -n "$file_magic_test_file"; then
   7133 	case $deplibs_check_method in
   7134 	"file_magic "*)
   7135 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7136 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7137 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7138 	    $EGREP "$file_magic_regex" > /dev/null; then
   7139 	    :
   7140 	  else
   7141 	    cat <<EOF 1>&2
   7142 
   7143 *** Warning: the command libtool uses to detect shared libraries,
   7144 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7145 *** The result is that libtool may fail to recognize shared libraries
   7146 *** as such.  This will affect the creation of libtool libraries that
   7147 *** depend on shared libraries, but programs linked with such libtool
   7148 *** libraries will work regardless of this problem.  Nevertheless, you
   7149 *** may want to report the problem to your system manager and/or to
   7150 *** bug-libtool@gnu.org
   7151 
   7152 EOF
   7153 	  fi ;;
   7154 	esac
   7155       fi
   7156       break
   7157     fi
   7158   done
   7159   IFS="$lt_save_ifs"
   7160   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7161   ;;
   7162 esac
   7163 fi
   7164 
   7165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7166 if test -n "$MAGIC_CMD"; then
   7167   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7168 $as_echo "$MAGIC_CMD" >&6; }
   7169 else
   7170   { $as_echo "$as_me:$LINENO: result: no" >&5
   7171 $as_echo "no" >&6; }
   7172 fi
   7173 
   7174   else
   7175     MAGIC_CMD=:
   7176   fi
   7177 fi
   7178 
   7179   fi
   7180   ;;
   7181 esac
   7182 
   7183 
   7184   case $host_os in
   7185     rhapsody* | darwin*)
   7186     if test -n "$ac_tool_prefix"; then
   7187   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7188 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7189 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7190 $as_echo_n "checking for $ac_word... " >&6; }
   7191 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7192   $as_echo_n "(cached) " >&6
   7193 else
   7194   if test -n "$DSYMUTIL"; then
   7195   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7196 else
   7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7198 for as_dir in $PATH
   7199 do
   7200   IFS=$as_save_IFS
   7201   test -z "$as_dir" && as_dir=.
   7202   for ac_exec_ext in '' $ac_executable_extensions; do
   7203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7204     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7205     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7206     break 2
   7207   fi
   7208 done
   7209 done
   7210 IFS=$as_save_IFS
   7211 
   7212 fi
   7213 fi
   7214 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7215 if test -n "$DSYMUTIL"; then
   7216   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7217 $as_echo "$DSYMUTIL" >&6; }
   7218 else
   7219   { $as_echo "$as_me:$LINENO: result: no" >&5
   7220 $as_echo "no" >&6; }
   7221 fi
   7222 
   7223 
   7224 fi
   7225 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7226   ac_ct_DSYMUTIL=$DSYMUTIL
   7227   # Extract the first word of "dsymutil", so it can be a program name with args.
   7228 set dummy dsymutil; ac_word=$2
   7229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7230 $as_echo_n "checking for $ac_word... " >&6; }
   7231 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7232   $as_echo_n "(cached) " >&6
   7233 else
   7234   if test -n "$ac_ct_DSYMUTIL"; then
   7235   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7236 else
   7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7238 for as_dir in $PATH
   7239 do
   7240   IFS=$as_save_IFS
   7241   test -z "$as_dir" && as_dir=.
   7242   for ac_exec_ext in '' $ac_executable_extensions; do
   7243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7244     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7245     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7246     break 2
   7247   fi
   7248 done
   7249 done
   7250 IFS=$as_save_IFS
   7251 
   7252 fi
   7253 fi
   7254 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7255 if test -n "$ac_ct_DSYMUTIL"; then
   7256   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7257 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7258 else
   7259   { $as_echo "$as_me:$LINENO: result: no" >&5
   7260 $as_echo "no" >&6; }
   7261 fi
   7262 
   7263   if test "x$ac_ct_DSYMUTIL" = x; then
   7264     DSYMUTIL=":"
   7265   else
   7266     case $cross_compiling:$ac_tool_warned in
   7267 yes:)
   7268 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7270 ac_tool_warned=yes ;;
   7271 esac
   7272     DSYMUTIL=$ac_ct_DSYMUTIL
   7273   fi
   7274 else
   7275   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7276 fi
   7277 
   7278     if test -n "$ac_tool_prefix"; then
   7279   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7280 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7281 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7282 $as_echo_n "checking for $ac_word... " >&6; }
   7283 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7284   $as_echo_n "(cached) " >&6
   7285 else
   7286   if test -n "$NMEDIT"; then
   7287   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7288 else
   7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7290 for as_dir in $PATH
   7291 do
   7292   IFS=$as_save_IFS
   7293   test -z "$as_dir" && as_dir=.
   7294   for ac_exec_ext in '' $ac_executable_extensions; do
   7295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7296     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7297     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7298     break 2
   7299   fi
   7300 done
   7301 done
   7302 IFS=$as_save_IFS
   7303 
   7304 fi
   7305 fi
   7306 NMEDIT=$ac_cv_prog_NMEDIT
   7307 if test -n "$NMEDIT"; then
   7308   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7309 $as_echo "$NMEDIT" >&6; }
   7310 else
   7311   { $as_echo "$as_me:$LINENO: result: no" >&5
   7312 $as_echo "no" >&6; }
   7313 fi
   7314 
   7315 
   7316 fi
   7317 if test -z "$ac_cv_prog_NMEDIT"; then
   7318   ac_ct_NMEDIT=$NMEDIT
   7319   # Extract the first word of "nmedit", so it can be a program name with args.
   7320 set dummy nmedit; ac_word=$2
   7321 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7322 $as_echo_n "checking for $ac_word... " >&6; }
   7323 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7324   $as_echo_n "(cached) " >&6
   7325 else
   7326   if test -n "$ac_ct_NMEDIT"; then
   7327   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7328 else
   7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7330 for as_dir in $PATH
   7331 do
   7332   IFS=$as_save_IFS
   7333   test -z "$as_dir" && as_dir=.
   7334   for ac_exec_ext in '' $ac_executable_extensions; do
   7335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7336     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7337     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7338     break 2
   7339   fi
   7340 done
   7341 done
   7342 IFS=$as_save_IFS
   7343 
   7344 fi
   7345 fi
   7346 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7347 if test -n "$ac_ct_NMEDIT"; then
   7348   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7349 $as_echo "$ac_ct_NMEDIT" >&6; }
   7350 else
   7351   { $as_echo "$as_me:$LINENO: result: no" >&5
   7352 $as_echo "no" >&6; }
   7353 fi
   7354 
   7355   if test "x$ac_ct_NMEDIT" = x; then
   7356     NMEDIT=":"
   7357   else
   7358     case $cross_compiling:$ac_tool_warned in
   7359 yes:)
   7360 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7362 ac_tool_warned=yes ;;
   7363 esac
   7364     NMEDIT=$ac_ct_NMEDIT
   7365   fi
   7366 else
   7367   NMEDIT="$ac_cv_prog_NMEDIT"
   7368 fi
   7369 
   7370 
   7371     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7372 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7373 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7374   $as_echo_n "(cached) " >&6
   7375 else
   7376   lt_cv_apple_cc_single_mod=no
   7377       if test -z "${LT_MULTI_MODULE}"; then
   7378    # By default we will add the -single_module flag. You can override
   7379    # by either setting the environment variable LT_MULTI_MODULE
   7380    # non-empty at configure time, or by adding -multi_module to the
   7381    # link flags.
   7382    echo "int foo(void){return 1;}" > conftest.c
   7383    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7384      -dynamiclib ${wl}-single_module conftest.c
   7385    if test -f libconftest.dylib; then
   7386      lt_cv_apple_cc_single_mod=yes
   7387      rm -rf libconftest.dylib*
   7388    fi
   7389    rm conftest.c
   7390       fi
   7391 fi
   7392 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7393 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7394     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7395 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7396 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7397   $as_echo_n "(cached) " >&6
   7398 else
   7399   lt_cv_ld_exported_symbols_list=no
   7400       save_LDFLAGS=$LDFLAGS
   7401       echo "_main" > conftest.sym
   7402       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7403       cat >conftest.$ac_ext <<_ACEOF
   7404 /* confdefs.h.  */
   7405 _ACEOF
   7406 cat confdefs.h >>conftest.$ac_ext
   7407 cat >>conftest.$ac_ext <<_ACEOF
   7408 /* end confdefs.h.  */
   7409 
   7410 int
   7411 main ()
   7412 {
   7413 
   7414   ;
   7415   return 0;
   7416 }
   7417 _ACEOF
   7418 rm -f conftest.$ac_objext conftest$ac_exeext
   7419 if { (ac_try="$ac_link"
   7420 case "(($ac_try" in
   7421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7422   *) ac_try_echo=$ac_try;;
   7423 esac
   7424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7425 $as_echo "$ac_try_echo") >&5
   7426   (eval "$ac_link") 2>conftest.er1
   7427   ac_status=$?
   7428   grep -v '^ *+' conftest.er1 >conftest.err
   7429   rm -f conftest.er1
   7430   cat conftest.err >&5
   7431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7432   (exit $ac_status); } && {
   7433 	 test -z "$ac_c_werror_flag" ||
   7434 	 test ! -s conftest.err
   7435        } && test -s conftest$ac_exeext && {
   7436 	 test "$cross_compiling" = yes ||
   7437 	 $as_test_x conftest$ac_exeext
   7438        }; then
   7439   lt_cv_ld_exported_symbols_list=yes
   7440 else
   7441   $as_echo "$as_me: failed program was:" >&5
   7442 sed 's/^/| /' conftest.$ac_ext >&5
   7443 
   7444 	lt_cv_ld_exported_symbols_list=no
   7445 fi
   7446 
   7447 rm -rf conftest.dSYM
   7448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7449       conftest$ac_exeext conftest.$ac_ext
   7450    LDFLAGS="$save_LDFLAGS"
   7451 
   7452 fi
   7453 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7454 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7455     case $host_os in
   7456     rhapsody* | darwin1.[0123])
   7457       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7458     darwin1.*)
   7459      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7460     darwin*)
   7461       # if running on 10.5 or later, the deployment target defaults
   7462       # to the OS version, if on x86, and 10.4, the deployment
   7463       # target defaults to 10.4. Don't you love it?
   7464       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7465    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7466      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7467    10.[012]*)
   7468      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7469    10.*)
   7470      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7471       esac
   7472     ;;
   7473   esac
   7474     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7475       _lt_dar_single_mod='$single_module'
   7476     fi
   7477     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7478       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7479     else
   7480       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7481     fi
   7482     if test "$DSYMUTIL" != ":"; then
   7483       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7484     else
   7485       _lt_dsymutil=
   7486     fi
   7487     ;;
   7488   esac
   7489 
   7490 
   7491 enable_dlopen=no
   7492 enable_win32_dll=no
   7493 
   7494 # Check whether --enable-libtool-lock was given.
   7495 if test "${enable_libtool_lock+set}" = set; then
   7496   enableval=$enable_libtool_lock;
   7497 fi
   7498 
   7499 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7500 
   7501 
   7502 # Check whether --with-pic was given.
   7503 if test "${with_pic+set}" = set; then
   7504   withval=$with_pic; pic_mode="$withval"
   7505 else
   7506   pic_mode=default
   7507 fi
   7508 
   7509 test -z "$pic_mode" && pic_mode=default
   7510 
   7511 # Use C for the default configuration in the libtool script
   7512 tagname=
   7513 lt_save_CC="$CC"
   7514 ac_ext=c
   7515 ac_cpp='$CPP $CPPFLAGS'
   7516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7519 
   7520 
   7521 # Source file extension for C test sources.
   7522 ac_ext=c
   7523 
   7524 # Object file extension for compiled C test sources.
   7525 objext=o
   7526 objext=$objext
   7527 
   7528 # Code to be used in simple compile tests
   7529 lt_simple_compile_test_code="int some_variable = 0;"
   7530 
   7531 # Code to be used in simple link tests
   7532 lt_simple_link_test_code='int main(){return(0);}'
   7533 
   7534 
   7535 # If no C compiler was specified, use CC.
   7536 LTCC=${LTCC-"$CC"}
   7537 
   7538 # If no C compiler flags were specified, use CFLAGS.
   7539 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7540 
   7541 # Allow CC to be a program name with arguments.
   7542 compiler=$CC
   7543 
   7544 
   7545 # save warnings/boilerplate of simple test code
   7546 ac_outfile=conftest.$ac_objext
   7547 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7548 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7549 _lt_compiler_boilerplate=`cat conftest.err`
   7550 $rm conftest*
   7551 
   7552 ac_outfile=conftest.$ac_objext
   7553 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7554 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7555 _lt_linker_boilerplate=`cat conftest.err`
   7556 $rm -r conftest*
   7557 
   7558 
   7559 
   7560 lt_prog_compiler_no_builtin_flag=
   7561 
   7562 if test "$GCC" = yes; then
   7563   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7564 
   7565 
   7566 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7567 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7568 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7569   $as_echo_n "(cached) " >&6
   7570 else
   7571   lt_cv_prog_compiler_rtti_exceptions=no
   7572   ac_outfile=conftest.$ac_objext
   7573    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7574    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7575    # Insert the option either (1) after the last *FLAGS variable, or
   7576    # (2) before a word containing "conftest.", or (3) at the end.
   7577    # Note that $ac_compile itself does not contain backslashes and begins
   7578    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7579    # The option is referenced via a variable to avoid confusing sed.
   7580    lt_compile=`echo "$ac_compile" | $SED \
   7581    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7582    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7583    -e 's:$: $lt_compiler_flag:'`
   7584    (eval echo "\"\$as_me:7584: $lt_compile\"" >&5)
   7585    (eval "$lt_compile" 2>conftest.err)
   7586    ac_status=$?
   7587    cat conftest.err >&5
   7588    echo "$as_me:7588: \$? = $ac_status" >&5
   7589    if (exit $ac_status) && test -s "$ac_outfile"; then
   7590      # The compiler can only warn and ignore the option if not recognized
   7591      # So say no if there are warnings other than the usual output.
   7592      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7593      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7594      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7595        lt_cv_prog_compiler_rtti_exceptions=yes
   7596      fi
   7597    fi
   7598    $rm conftest*
   7599 
   7600 fi
   7601 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7602 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7603 
   7604 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7605     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7606 else
   7607     :
   7608 fi
   7609 
   7610 fi
   7611 
   7612 lt_prog_compiler_wl=
   7613 lt_prog_compiler_pic=
   7614 lt_prog_compiler_static=
   7615 
   7616 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7617 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7618 
   7619   if test "$GCC" = yes; then
   7620     lt_prog_compiler_wl='-Wl,'
   7621     lt_prog_compiler_static='-static'
   7622 
   7623     case $host_os in
   7624       aix*)
   7625       # All AIX code is PIC.
   7626       if test "$host_cpu" = ia64; then
   7627 	# AIX 5 now supports IA64 processor
   7628 	lt_prog_compiler_static='-Bstatic'
   7629       fi
   7630       ;;
   7631 
   7632     amigaos*)
   7633       # FIXME: we need at least 68020 code to build shared libraries, but
   7634       # adding the `-m68020' flag to GCC prevents building anything better,
   7635       # like `-m68040'.
   7636       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7637       ;;
   7638 
   7639     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7640       # PIC is the default for these OSes.
   7641       ;;
   7642 
   7643     mingw* | cygwin* | pw32* | os2*)
   7644       # This hack is so that the source file can tell whether it is being
   7645       # built for inclusion in a dll (and should export symbols for example).
   7646       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7647       # (--disable-auto-import) libraries
   7648       lt_prog_compiler_pic='-DDLL_EXPORT'
   7649       ;;
   7650 
   7651     darwin* | rhapsody*)
   7652       # PIC is the default on this platform
   7653       # Common symbols not allowed in MH_DYLIB files
   7654       lt_prog_compiler_pic='-fno-common'
   7655       ;;
   7656 
   7657     interix[3-9]*)
   7658       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7659       # Instead, we relocate shared libraries at runtime.
   7660       ;;
   7661 
   7662     msdosdjgpp*)
   7663       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7664       # on systems that don't support them.
   7665       lt_prog_compiler_can_build_shared=no
   7666       enable_shared=no
   7667       ;;
   7668 
   7669     sysv4*MP*)
   7670       if test -d /usr/nec; then
   7671 	lt_prog_compiler_pic=-Kconform_pic
   7672       fi
   7673       ;;
   7674 
   7675     hpux*)
   7676       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7677       # not for PA HP-UX.
   7678       case $host_cpu in
   7679       hppa*64*|ia64*)
   7680 	# +Z the default
   7681 	;;
   7682       *)
   7683 	lt_prog_compiler_pic='-fPIC'
   7684 	;;
   7685       esac
   7686       ;;
   7687 
   7688     *)
   7689       lt_prog_compiler_pic='-fPIC'
   7690       ;;
   7691     esac
   7692   else
   7693     # PORTME Check for flag to pass linker flags through the system compiler.
   7694     case $host_os in
   7695     aix*)
   7696       lt_prog_compiler_wl='-Wl,'
   7697       if test "$host_cpu" = ia64; then
   7698 	# AIX 5 now supports IA64 processor
   7699 	lt_prog_compiler_static='-Bstatic'
   7700       else
   7701 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7702       fi
   7703       ;;
   7704       darwin*)
   7705         # PIC is the default on this platform
   7706         # Common symbols not allowed in MH_DYLIB files
   7707        case $cc_basename in
   7708          xlc*)
   7709          lt_prog_compiler_pic='-qnocommon'
   7710          lt_prog_compiler_wl='-Wl,'
   7711          ;;
   7712        esac
   7713        ;;
   7714 
   7715     mingw* | cygwin* | pw32* | os2*)
   7716       # This hack is so that the source file can tell whether it is being
   7717       # built for inclusion in a dll (and should export symbols for example).
   7718       lt_prog_compiler_pic='-DDLL_EXPORT'
   7719       ;;
   7720 
   7721     hpux9* | hpux10* | hpux11*)
   7722       lt_prog_compiler_wl='-Wl,'
   7723       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7724       # not for PA HP-UX.
   7725       case $host_cpu in
   7726       hppa*64*|ia64*)
   7727 	# +Z the default
   7728 	;;
   7729       *)
   7730 	lt_prog_compiler_pic='+Z'
   7731 	;;
   7732       esac
   7733       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7734       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7735       ;;
   7736 
   7737     irix5* | irix6* | nonstopux*)
   7738       lt_prog_compiler_wl='-Wl,'
   7739       # PIC (with -KPIC) is the default.
   7740       lt_prog_compiler_static='-non_shared'
   7741       ;;
   7742 
   7743     newsos6)
   7744       lt_prog_compiler_pic='-KPIC'
   7745       lt_prog_compiler_static='-Bstatic'
   7746       ;;
   7747 
   7748     linux* | k*bsd*-gnu)
   7749       case $cc_basename in
   7750       icc* | ecc*)
   7751 	lt_prog_compiler_wl='-Wl,'
   7752 	lt_prog_compiler_pic='-KPIC'
   7753 	lt_prog_compiler_static='-static'
   7754         ;;
   7755       pgcc* | pgf77* | pgf90* | pgf95*)
   7756         # Portland Group compilers (*not* the Pentium gcc compiler,
   7757 	# which looks to be a dead project)
   7758 	lt_prog_compiler_wl='-Wl,'
   7759 	lt_prog_compiler_pic='-fpic'
   7760 	lt_prog_compiler_static='-Bstatic'
   7761         ;;
   7762       ccc*)
   7763         lt_prog_compiler_wl='-Wl,'
   7764         # All Alpha code is PIC.
   7765         lt_prog_compiler_static='-non_shared'
   7766         ;;
   7767       *)
   7768         case `$CC -V 2>&1 | sed 5q` in
   7769 	*Sun\ C*)
   7770 	  # Sun C 5.9
   7771 	  lt_prog_compiler_pic='-KPIC'
   7772 	  lt_prog_compiler_static='-Bstatic'
   7773 	  lt_prog_compiler_wl='-Wl,'
   7774 	  ;;
   7775 	*Sun\ F*)
   7776 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7777 	  lt_prog_compiler_pic='-KPIC'
   7778 	  lt_prog_compiler_static='-Bstatic'
   7779 	  lt_prog_compiler_wl=''
   7780 	  ;;
   7781 	esac
   7782 	;;
   7783       esac
   7784       ;;
   7785 
   7786     osf3* | osf4* | osf5*)
   7787       lt_prog_compiler_wl='-Wl,'
   7788       # All OSF/1 code is PIC.
   7789       lt_prog_compiler_static='-non_shared'
   7790       ;;
   7791 
   7792     rdos*)
   7793       lt_prog_compiler_static='-non_shared'
   7794       ;;
   7795 
   7796     solaris*)
   7797       lt_prog_compiler_pic='-KPIC'
   7798       lt_prog_compiler_static='-Bstatic'
   7799       case $cc_basename in
   7800       f77* | f90* | f95*)
   7801 	lt_prog_compiler_wl='-Qoption ld ';;
   7802       *)
   7803 	lt_prog_compiler_wl='-Wl,';;
   7804       esac
   7805       ;;
   7806 
   7807     sunos4*)
   7808       lt_prog_compiler_wl='-Qoption ld '
   7809       lt_prog_compiler_pic='-PIC'
   7810       lt_prog_compiler_static='-Bstatic'
   7811       ;;
   7812 
   7813     sysv4 | sysv4.2uw2* | sysv4.3*)
   7814       lt_prog_compiler_wl='-Wl,'
   7815       lt_prog_compiler_pic='-KPIC'
   7816       lt_prog_compiler_static='-Bstatic'
   7817       ;;
   7818 
   7819     sysv4*MP*)
   7820       if test -d /usr/nec ;then
   7821 	lt_prog_compiler_pic='-Kconform_pic'
   7822 	lt_prog_compiler_static='-Bstatic'
   7823       fi
   7824       ;;
   7825 
   7826     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7827       lt_prog_compiler_wl='-Wl,'
   7828       lt_prog_compiler_pic='-KPIC'
   7829       lt_prog_compiler_static='-Bstatic'
   7830       ;;
   7831 
   7832     unicos*)
   7833       lt_prog_compiler_wl='-Wl,'
   7834       lt_prog_compiler_can_build_shared=no
   7835       ;;
   7836 
   7837     uts4*)
   7838       lt_prog_compiler_pic='-pic'
   7839       lt_prog_compiler_static='-Bstatic'
   7840       ;;
   7841 
   7842     *)
   7843       lt_prog_compiler_can_build_shared=no
   7844       ;;
   7845     esac
   7846   fi
   7847 
   7848 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7849 $as_echo "$lt_prog_compiler_pic" >&6; }
   7850 
   7851 #
   7852 # Check to make sure the PIC flag actually works.
   7853 #
   7854 if test -n "$lt_prog_compiler_pic"; then
   7855 
   7856 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7857 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7858 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7859   $as_echo_n "(cached) " >&6
   7860 else
   7861   lt_cv_prog_compiler_pic_works=no
   7862   ac_outfile=conftest.$ac_objext
   7863    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7864    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7865    # Insert the option either (1) after the last *FLAGS variable, or
   7866    # (2) before a word containing "conftest.", or (3) at the end.
   7867    # Note that $ac_compile itself does not contain backslashes and begins
   7868    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7869    # The option is referenced via a variable to avoid confusing sed.
   7870    lt_compile=`echo "$ac_compile" | $SED \
   7871    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7872    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7873    -e 's:$: $lt_compiler_flag:'`
   7874    (eval echo "\"\$as_me:7874: $lt_compile\"" >&5)
   7875    (eval "$lt_compile" 2>conftest.err)
   7876    ac_status=$?
   7877    cat conftest.err >&5
   7878    echo "$as_me:7878: \$? = $ac_status" >&5
   7879    if (exit $ac_status) && test -s "$ac_outfile"; then
   7880      # The compiler can only warn and ignore the option if not recognized
   7881      # So say no if there are warnings other than the usual output.
   7882      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7883      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7884      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7885        lt_cv_prog_compiler_pic_works=yes
   7886      fi
   7887    fi
   7888    $rm conftest*
   7889 
   7890 fi
   7891 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7892 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7893 
   7894 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7895     case $lt_prog_compiler_pic in
   7896      "" | " "*) ;;
   7897      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7898      esac
   7899 else
   7900     lt_prog_compiler_pic=
   7901      lt_prog_compiler_can_build_shared=no
   7902 fi
   7903 
   7904 fi
   7905 case $host_os in
   7906   # For platforms which do not support PIC, -DPIC is meaningless:
   7907   *djgpp*)
   7908     lt_prog_compiler_pic=
   7909     ;;
   7910   *)
   7911     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7912     ;;
   7913 esac
   7914 
   7915 #
   7916 # Check to make sure the static flag actually works.
   7917 #
   7918 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7919 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7921 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   lt_cv_prog_compiler_static_works=no
   7925    save_LDFLAGS="$LDFLAGS"
   7926    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7927    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7928    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7929      # The linker can only warn and ignore the option if not recognized
   7930      # So say no if there are warnings
   7931      if test -s conftest.err; then
   7932        # Append any errors to the config.log.
   7933        cat conftest.err 1>&5
   7934        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7935        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7936        if diff conftest.exp conftest.er2 >/dev/null; then
   7937          lt_cv_prog_compiler_static_works=yes
   7938        fi
   7939      else
   7940        lt_cv_prog_compiler_static_works=yes
   7941      fi
   7942    fi
   7943    $rm -r conftest*
   7944    LDFLAGS="$save_LDFLAGS"
   7945 
   7946 fi
   7947 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7948 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7949 
   7950 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7951     :
   7952 else
   7953     lt_prog_compiler_static=
   7954 fi
   7955 
   7956 
   7957 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7958 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7959 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7960   $as_echo_n "(cached) " >&6
   7961 else
   7962   lt_cv_prog_compiler_c_o=no
   7963    $rm -r conftest 2>/dev/null
   7964    mkdir conftest
   7965    cd conftest
   7966    mkdir out
   7967    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7968 
   7969    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7970    # Insert the option either (1) after the last *FLAGS variable, or
   7971    # (2) before a word containing "conftest.", or (3) at the end.
   7972    # Note that $ac_compile itself does not contain backslashes and begins
   7973    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7974    lt_compile=`echo "$ac_compile" | $SED \
   7975    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7976    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7977    -e 's:$: $lt_compiler_flag:'`
   7978    (eval echo "\"\$as_me:7978: $lt_compile\"" >&5)
   7979    (eval "$lt_compile" 2>out/conftest.err)
   7980    ac_status=$?
   7981    cat out/conftest.err >&5
   7982    echo "$as_me:7982: \$? = $ac_status" >&5
   7983    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7984    then
   7985      # The compiler can only warn and ignore the option if not recognized
   7986      # So say no if there are warnings
   7987      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7988      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7989      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7990        lt_cv_prog_compiler_c_o=yes
   7991      fi
   7992    fi
   7993    chmod u+w . 2>&5
   7994    $rm conftest*
   7995    # SGI C++ compiler will create directory out/ii_files/ for
   7996    # template instantiation
   7997    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7998    $rm out/* && rmdir out
   7999    cd ..
   8000    rmdir conftest
   8001    $rm conftest*
   8002 
   8003 fi
   8004 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8005 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8006 
   8007 
   8008 hard_links="nottested"
   8009 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8010   # do not overwrite the value of need_locks provided by the user
   8011   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8012 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8013   hard_links=yes
   8014   $rm conftest*
   8015   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8016   touch conftest.a
   8017   ln conftest.a conftest.b 2>&5 || hard_links=no
   8018   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8019   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8020 $as_echo "$hard_links" >&6; }
   8021   if test "$hard_links" = no; then
   8022     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8023 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8024     need_locks=warn
   8025   fi
   8026 else
   8027   need_locks=no
   8028 fi
   8029 
   8030 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8031 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8032 
   8033   runpath_var=
   8034   allow_undefined_flag=
   8035   enable_shared_with_static_runtimes=no
   8036   archive_cmds=
   8037   archive_expsym_cmds=
   8038   old_archive_From_new_cmds=
   8039   old_archive_from_expsyms_cmds=
   8040   export_dynamic_flag_spec=
   8041   whole_archive_flag_spec=
   8042   thread_safe_flag_spec=
   8043   hardcode_libdir_flag_spec=
   8044   hardcode_libdir_flag_spec_ld=
   8045   hardcode_libdir_separator=
   8046   hardcode_direct=no
   8047   hardcode_minus_L=no
   8048   hardcode_shlibpath_var=unsupported
   8049   link_all_deplibs=unknown
   8050   hardcode_automatic=no
   8051   module_cmds=
   8052   module_expsym_cmds=
   8053   always_export_symbols=no
   8054   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8055   # include_expsyms should be a list of space-separated symbols to be *always*
   8056   # included in the symbol list
   8057   include_expsyms=
   8058   # exclude_expsyms can be an extended regexp of symbols to exclude
   8059   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8060   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8061   # as well as any symbol that contains `d'.
   8062   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8063   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8064   # platforms (ab)use it in PIC code, but their linkers get confused if
   8065   # the symbol is explicitly referenced.  Since portable code cannot
   8066   # rely on this symbol name, it's probably fine to never include it in
   8067   # preloaded symbol tables.
   8068   # Exclude shared library initialization/finalization symbols.
   8069   extract_expsyms_cmds=
   8070   # Just being paranoid about ensuring that cc_basename is set.
   8071   for cc_temp in $compiler""; do
   8072   case $cc_temp in
   8073     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8074     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8075     \-*) ;;
   8076     *) break;;
   8077   esac
   8078 done
   8079 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8080 
   8081   case $host_os in
   8082   cygwin* | mingw* | pw32*)
   8083     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8084     # When not using gcc, we currently assume that we are using
   8085     # Microsoft Visual C++.
   8086     if test "$GCC" != yes; then
   8087       with_gnu_ld=no
   8088     fi
   8089     ;;
   8090   interix*)
   8091     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8092     with_gnu_ld=yes
   8093     ;;
   8094   openbsd*)
   8095     with_gnu_ld=no
   8096     ;;
   8097   esac
   8098 
   8099   ld_shlibs=yes
   8100   if test "$with_gnu_ld" = yes; then
   8101     # If archive_cmds runs LD, not CC, wlarc should be empty
   8102     wlarc='${wl}'
   8103 
   8104     # Set some defaults for GNU ld with shared library support. These
   8105     # are reset later if shared libraries are not supported. Putting them
   8106     # here allows them to be overridden if necessary.
   8107     runpath_var=LD_RUN_PATH
   8108     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8109     export_dynamic_flag_spec='${wl}--export-dynamic'
   8110     # ancient GNU ld didn't support --whole-archive et. al.
   8111     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8112 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8113       else
   8114   	whole_archive_flag_spec=
   8115     fi
   8116     supports_anon_versioning=no
   8117     case `$LD -v 2>/dev/null` in
   8118       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8119       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8120       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8121       *\ 2.11.*) ;; # other 2.11 versions
   8122       *) supports_anon_versioning=yes ;;
   8123     esac
   8124 
   8125     # See if GNU ld supports shared libraries.
   8126     case $host_os in
   8127     aix[3-9]*)
   8128       # On AIX/PPC, the GNU linker is very broken
   8129       if test "$host_cpu" != ia64; then
   8130 	ld_shlibs=no
   8131 	cat <<EOF 1>&2
   8132 
   8133 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8134 *** to be unable to reliably create shared libraries on AIX.
   8135 *** Therefore, libtool is disabling shared libraries support.  If you
   8136 *** really care for shared libraries, you may want to modify your PATH
   8137 *** so that a non-GNU linker is found, and then restart.
   8138 
   8139 EOF
   8140       fi
   8141       ;;
   8142 
   8143     amigaos*)
   8144       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)'
   8145       hardcode_libdir_flag_spec='-L$libdir'
   8146       hardcode_minus_L=yes
   8147 
   8148       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8149       # that the semantics of dynamic libraries on AmigaOS, at least up
   8150       # to version 4, is to share data among multiple programs linked
   8151       # with the same dynamic library.  Since this doesn't match the
   8152       # behavior of shared libraries on other platforms, we can't use
   8153       # them.
   8154       ld_shlibs=no
   8155       ;;
   8156 
   8157     beos*)
   8158       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8159 	allow_undefined_flag=unsupported
   8160 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8161 	# support --undefined.  This deserves some investigation.  FIXME
   8162 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8163       else
   8164 	ld_shlibs=no
   8165       fi
   8166       ;;
   8167 
   8168     cygwin* | mingw* | pw32*)
   8169       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8170       # as there is no search path for DLLs.
   8171       hardcode_libdir_flag_spec='-L$libdir'
   8172       allow_undefined_flag=unsupported
   8173       always_export_symbols=no
   8174       enable_shared_with_static_runtimes=yes
   8175       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8176 
   8177       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8178         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8179 	# If the export-symbols file already is a .def file (1st line
   8180 	# is EXPORTS), use it as is; otherwise, prepend...
   8181 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8182 	  cp $export_symbols $output_objdir/$soname.def;
   8183 	else
   8184 	  echo EXPORTS > $output_objdir/$soname.def;
   8185 	  cat $export_symbols >> $output_objdir/$soname.def;
   8186 	fi~
   8187 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8188       else
   8189 	ld_shlibs=no
   8190       fi
   8191       ;;
   8192 
   8193     interix[3-9]*)
   8194       hardcode_direct=no
   8195       hardcode_shlibpath_var=no
   8196       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8197       export_dynamic_flag_spec='${wl}-E'
   8198       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8199       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8200       # default) and relocated if they conflict, which is a slow very memory
   8201       # consuming and fragmenting process.  To avoid this, we pick a random,
   8202       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8203       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8204       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8205       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'
   8206       ;;
   8207 
   8208     gnu* | linux* | k*bsd*-gnu)
   8209       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8210 	tmp_addflag=
   8211 	case $cc_basename,$host_cpu in
   8212 	pgcc*)				# Portland Group C compiler
   8213 	  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'
   8214 	  tmp_addflag=' $pic_flag'
   8215 	  ;;
   8216 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8217 	  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'
   8218 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8219 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8220 	  tmp_addflag=' -i_dynamic' ;;
   8221 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8222 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8223 	ifc* | ifort*)			# Intel Fortran compiler
   8224 	  tmp_addflag=' -nofor_main' ;;
   8225 	esac
   8226 	case `$CC -V 2>&1 | sed 5q` in
   8227 	*Sun\ C*)			# Sun C 5.9
   8228 	  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'
   8229 	  tmp_sharedflag='-G' ;;
   8230 	*Sun\ F*)			# Sun Fortran 8.3
   8231 	  tmp_sharedflag='-G' ;;
   8232 	*)
   8233 	  tmp_sharedflag='-shared' ;;
   8234 	esac
   8235 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8236 
   8237 	if test $supports_anon_versioning = yes; then
   8238 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8239   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8240   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8241 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8242 	fi
   8243       else
   8244 	ld_shlibs=no
   8245       fi
   8246       ;;
   8247 
   8248     netbsd*)
   8249       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8250 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8251 	wlarc=
   8252       else
   8253 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8254 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8255       fi
   8256       ;;
   8257 
   8258     solaris*)
   8259       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8260 	ld_shlibs=no
   8261 	cat <<EOF 1>&2
   8262 
   8263 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8264 *** create shared libraries on Solaris systems.  Therefore, libtool
   8265 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8266 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8267 *** your PATH or compiler configuration so that the native linker is
   8268 *** used, and then restart.
   8269 
   8270 EOF
   8271       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8272 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8273 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8274       else
   8275 	ld_shlibs=no
   8276       fi
   8277       ;;
   8278 
   8279     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8280       case `$LD -v 2>&1` in
   8281         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8282 	ld_shlibs=no
   8283 	cat <<_LT_EOF 1>&2
   8284 
   8285 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8286 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8287 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8288 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8289 *** your PATH or compiler configuration so that the native linker is
   8290 *** used, and then restart.
   8291 
   8292 _LT_EOF
   8293 	;;
   8294 	*)
   8295 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8296 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8297 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8298 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8299 	  else
   8300 	    ld_shlibs=no
   8301 	  fi
   8302 	;;
   8303       esac
   8304       ;;
   8305 
   8306     sunos4*)
   8307       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8308       wlarc=
   8309       hardcode_direct=yes
   8310       hardcode_shlibpath_var=no
   8311       ;;
   8312 
   8313     *)
   8314       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8315 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8316 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8317       else
   8318 	ld_shlibs=no
   8319       fi
   8320       ;;
   8321     esac
   8322 
   8323     if test "$ld_shlibs" = no; then
   8324       runpath_var=
   8325       hardcode_libdir_flag_spec=
   8326       export_dynamic_flag_spec=
   8327       whole_archive_flag_spec=
   8328     fi
   8329   else
   8330     # PORTME fill in a description of your system's linker (not GNU ld)
   8331     case $host_os in
   8332     aix3*)
   8333       allow_undefined_flag=unsupported
   8334       always_export_symbols=yes
   8335       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'
   8336       # Note: this linker hardcodes the directories in LIBPATH if there
   8337       # are no directories specified by -L.
   8338       hardcode_minus_L=yes
   8339       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8340 	# Neither direct hardcoding nor static linking is supported with a
   8341 	# broken collect2.
   8342 	hardcode_direct=unsupported
   8343       fi
   8344       ;;
   8345 
   8346     aix[4-9]*)
   8347       if test "$host_cpu" = ia64; then
   8348 	# On IA64, the linker does run time linking by default, so we don't
   8349 	# have to do anything special.
   8350 	aix_use_runtimelinking=no
   8351 	exp_sym_flag='-Bexport'
   8352 	no_entry_flag=""
   8353       else
   8354 	# If we're using GNU nm, then we don't want the "-C" option.
   8355 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8356 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8357 	  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'
   8358 	else
   8359 	  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'
   8360 	fi
   8361 	aix_use_runtimelinking=no
   8362 
   8363 	# Test if we are trying to use run time linking or normal
   8364 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8365 	# need to do runtime linking.
   8366 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8367 	  for ld_flag in $LDFLAGS; do
   8368   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8369   	    aix_use_runtimelinking=yes
   8370   	    break
   8371   	  fi
   8372 	  done
   8373 	  ;;
   8374 	esac
   8375 
   8376 	exp_sym_flag='-bexport'
   8377 	no_entry_flag='-bnoentry'
   8378       fi
   8379 
   8380       # When large executables or shared objects are built, AIX ld can
   8381       # have problems creating the table of contents.  If linking a library
   8382       # or program results in "error TOC overflow" add -mminimal-toc to
   8383       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8384       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8385 
   8386       archive_cmds=''
   8387       hardcode_direct=yes
   8388       hardcode_libdir_separator=':'
   8389       link_all_deplibs=yes
   8390 
   8391       if test "$GCC" = yes; then
   8392 	case $host_os in aix4.[012]|aix4.[012].*)
   8393 	# We only want to do this on AIX 4.2 and lower, the check
   8394 	# below for broken collect2 doesn't work under 4.3+
   8395 	  collect2name=`${CC} -print-prog-name=collect2`
   8396 	  if test -f "$collect2name" && \
   8397   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8398 	  then
   8399   	  # We have reworked collect2
   8400   	  :
   8401 	  else
   8402   	  # We have old collect2
   8403   	  hardcode_direct=unsupported
   8404   	  # It fails to find uninstalled libraries when the uninstalled
   8405   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8406   	  # to unsupported forces relinking
   8407   	  hardcode_minus_L=yes
   8408   	  hardcode_libdir_flag_spec='-L$libdir'
   8409   	  hardcode_libdir_separator=
   8410 	  fi
   8411 	  ;;
   8412 	esac
   8413 	shared_flag='-shared'
   8414 	if test "$aix_use_runtimelinking" = yes; then
   8415 	  shared_flag="$shared_flag "'${wl}-G'
   8416 	fi
   8417       else
   8418 	# not using gcc
   8419 	if test "$host_cpu" = ia64; then
   8420   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8421   	# chokes on -Wl,-G. The following line is correct:
   8422 	  shared_flag='-G'
   8423 	else
   8424 	  if test "$aix_use_runtimelinking" = yes; then
   8425 	    shared_flag='${wl}-G'
   8426 	  else
   8427 	    shared_flag='${wl}-bM:SRE'
   8428 	  fi
   8429 	fi
   8430       fi
   8431 
   8432       # It seems that -bexpall does not export symbols beginning with
   8433       # underscore (_), so it is better to generate a list of symbols to export.
   8434       always_export_symbols=yes
   8435       if test "$aix_use_runtimelinking" = yes; then
   8436 	# Warning - without using the other runtime loading flags (-brtl),
   8437 	# -berok will link without error, but may produce a broken library.
   8438 	allow_undefined_flag='-berok'
   8439        # Determine the default libpath from the value encoded in an empty executable.
   8440        cat >conftest.$ac_ext <<_ACEOF
   8441 /* confdefs.h.  */
   8442 _ACEOF
   8443 cat confdefs.h >>conftest.$ac_ext
   8444 cat >>conftest.$ac_ext <<_ACEOF
   8445 /* end confdefs.h.  */
   8446 
   8447 int
   8448 main ()
   8449 {
   8450 
   8451   ;
   8452   return 0;
   8453 }
   8454 _ACEOF
   8455 rm -f conftest.$ac_objext conftest$ac_exeext
   8456 if { (ac_try="$ac_link"
   8457 case "(($ac_try" in
   8458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8459   *) ac_try_echo=$ac_try;;
   8460 esac
   8461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8462 $as_echo "$ac_try_echo") >&5
   8463   (eval "$ac_link") 2>conftest.er1
   8464   ac_status=$?
   8465   grep -v '^ *+' conftest.er1 >conftest.err
   8466   rm -f conftest.er1
   8467   cat conftest.err >&5
   8468   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8469   (exit $ac_status); } && {
   8470 	 test -z "$ac_c_werror_flag" ||
   8471 	 test ! -s conftest.err
   8472        } && test -s conftest$ac_exeext && {
   8473 	 test "$cross_compiling" = yes ||
   8474 	 $as_test_x conftest$ac_exeext
   8475        }; then
   8476 
   8477 lt_aix_libpath_sed='
   8478     /Import File Strings/,/^$/ {
   8479 	/^0/ {
   8480 	    s/^0  *\(.*\)$/\1/
   8481 	    p
   8482 	}
   8483     }'
   8484 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8485 # Check for a 64-bit object if we didn't find anything.
   8486 if test -z "$aix_libpath"; then
   8487   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8488 fi
   8489 else
   8490   $as_echo "$as_me: failed program was:" >&5
   8491 sed 's/^/| /' conftest.$ac_ext >&5
   8492 
   8493 
   8494 fi
   8495 
   8496 rm -rf conftest.dSYM
   8497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8498       conftest$ac_exeext conftest.$ac_ext
   8499 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8500 
   8501        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8502 	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"
   8503        else
   8504 	if test "$host_cpu" = ia64; then
   8505 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8506 	  allow_undefined_flag="-z nodefs"
   8507 	  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"
   8508 	else
   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 	  # Warning - without using the other run time loading flags,
   8573 	  # -berok will link without error, but may produce a broken library.
   8574 	  no_undefined_flag=' ${wl}-bernotok'
   8575 	  allow_undefined_flag=' ${wl}-berok'
   8576 	  # Exported symbols can be pulled into shared objects from archives
   8577 	  whole_archive_flag_spec='$convenience'
   8578 	  archive_cmds_need_lc=yes
   8579 	  # This is similar to how AIX traditionally builds its shared libraries.
   8580 	  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'
   8581 	fi
   8582       fi
   8583       ;;
   8584 
   8585     amigaos*)
   8586       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)'
   8587       hardcode_libdir_flag_spec='-L$libdir'
   8588       hardcode_minus_L=yes
   8589       # see comment about different semantics on the GNU ld section
   8590       ld_shlibs=no
   8591       ;;
   8592 
   8593     bsdi[45]*)
   8594       export_dynamic_flag_spec=-rdynamic
   8595       ;;
   8596 
   8597     cygwin* | mingw* | pw32*)
   8598       # When not using gcc, we currently assume that we are using
   8599       # Microsoft Visual C++.
   8600       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8601       # no search path for DLLs.
   8602       hardcode_libdir_flag_spec=' '
   8603       allow_undefined_flag=unsupported
   8604       # Tell ltmain to make .lib files, not .a files.
   8605       libext=lib
   8606       # Tell ltmain to make .dll files, not .so files.
   8607       shrext_cmds=".dll"
   8608       # FIXME: Setting linknames here is a bad hack.
   8609       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8610       # The linker will automatically build a .lib file if we build a DLL.
   8611       old_archive_From_new_cmds='true'
   8612       # FIXME: Should let the user specify the lib program.
   8613       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8614       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8615       enable_shared_with_static_runtimes=yes
   8616       ;;
   8617 
   8618     darwin* | rhapsody*)
   8619       case $host_os in
   8620         rhapsody* | darwin1.[012])
   8621          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8622          ;;
   8623        *) # Darwin 1.3 on
   8624          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8625            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8626          else
   8627            case ${MACOSX_DEPLOYMENT_TARGET} in
   8628              10.[012])
   8629                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8630                ;;
   8631              10.*)
   8632                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8633                ;;
   8634            esac
   8635          fi
   8636          ;;
   8637       esac
   8638       archive_cmds_need_lc=no
   8639       hardcode_direct=no
   8640       hardcode_automatic=yes
   8641       hardcode_shlibpath_var=unsupported
   8642       whole_archive_flag_spec=''
   8643       link_all_deplibs=yes
   8644     if test "$GCC" = yes ; then
   8645     	output_verbose_link_cmd='echo'
   8646         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8647         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8648         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}"
   8649         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}"
   8650     else
   8651       case $cc_basename in
   8652         xlc*)
   8653          output_verbose_link_cmd='echo'
   8654          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8655          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8656           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8657          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}'
   8658           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}'
   8659           ;;
   8660        *)
   8661          ld_shlibs=no
   8662           ;;
   8663       esac
   8664     fi
   8665       ;;
   8666 
   8667     dgux*)
   8668       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8669       hardcode_libdir_flag_spec='-L$libdir'
   8670       hardcode_shlibpath_var=no
   8671       ;;
   8672 
   8673     freebsd1*)
   8674       ld_shlibs=no
   8675       ;;
   8676 
   8677     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8678     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8679     # does not break anything, and helps significantly (at the cost of a little
   8680     # extra space).
   8681     freebsd2.2*)
   8682       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8683       hardcode_libdir_flag_spec='-R$libdir'
   8684       hardcode_direct=yes
   8685       hardcode_shlibpath_var=no
   8686       ;;
   8687 
   8688     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8689     freebsd2*)
   8690       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8691       hardcode_direct=yes
   8692       hardcode_minus_L=yes
   8693       hardcode_shlibpath_var=no
   8694       ;;
   8695 
   8696     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8697     freebsd* | dragonfly*)
   8698       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8699       hardcode_libdir_flag_spec='-R$libdir'
   8700       hardcode_direct=yes
   8701       hardcode_shlibpath_var=no
   8702       ;;
   8703 
   8704     hpux9*)
   8705       if test "$GCC" = yes; then
   8706 	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'
   8707       else
   8708 	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'
   8709       fi
   8710       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8711       hardcode_libdir_separator=:
   8712       hardcode_direct=yes
   8713 
   8714       # hardcode_minus_L: Not really in the search PATH,
   8715       # but as the default location of the library.
   8716       hardcode_minus_L=yes
   8717       export_dynamic_flag_spec='${wl}-E'
   8718       ;;
   8719 
   8720     hpux10*)
   8721       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8722 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8723       else
   8724 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8725       fi
   8726       if test "$with_gnu_ld" = no; then
   8727 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8728 	hardcode_libdir_separator=:
   8729 
   8730 	hardcode_direct=yes
   8731 	export_dynamic_flag_spec='${wl}-E'
   8732 
   8733 	# hardcode_minus_L: Not really in the search PATH,
   8734 	# but as the default location of the library.
   8735 	hardcode_minus_L=yes
   8736       fi
   8737       ;;
   8738 
   8739     hpux11*)
   8740       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8741 	case $host_cpu in
   8742 	hppa*64*)
   8743 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8744 	  ;;
   8745 	ia64*)
   8746 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8747 	  ;;
   8748 	*)
   8749 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8750 	  ;;
   8751 	esac
   8752       else
   8753 	case $host_cpu in
   8754 	hppa*64*)
   8755 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8756 	  ;;
   8757 	ia64*)
   8758 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8759 	  ;;
   8760 	*)
   8761 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8762 	  ;;
   8763 	esac
   8764       fi
   8765       if test "$with_gnu_ld" = no; then
   8766 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8767 	hardcode_libdir_separator=:
   8768 
   8769 	case $host_cpu in
   8770 	hppa*64*|ia64*)
   8771 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8772 	  hardcode_direct=no
   8773 	  hardcode_shlibpath_var=no
   8774 	  ;;
   8775 	*)
   8776 	  hardcode_direct=yes
   8777 	  export_dynamic_flag_spec='${wl}-E'
   8778 
   8779 	  # hardcode_minus_L: Not really in the search PATH,
   8780 	  # but as the default location of the library.
   8781 	  hardcode_minus_L=yes
   8782 	  ;;
   8783 	esac
   8784       fi
   8785       ;;
   8786 
   8787     irix5* | irix6* | nonstopux*)
   8788       if test "$GCC" = yes; then
   8789 	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'
   8790       else
   8791 	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'
   8792 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8793       fi
   8794       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8795       hardcode_libdir_separator=:
   8796       link_all_deplibs=yes
   8797       ;;
   8798 
   8799     netbsd*)
   8800       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8801 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8802       else
   8803 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8804       fi
   8805       hardcode_libdir_flag_spec='-R$libdir'
   8806       hardcode_direct=yes
   8807       hardcode_shlibpath_var=no
   8808       ;;
   8809 
   8810     newsos6)
   8811       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8812       hardcode_direct=yes
   8813       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8814       hardcode_libdir_separator=:
   8815       hardcode_shlibpath_var=no
   8816       ;;
   8817 
   8818     openbsd*)
   8819       if test -f /usr/libexec/ld.so; then
   8820 	hardcode_direct=yes
   8821 	hardcode_shlibpath_var=no
   8822 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8823 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8824 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8825 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8826 	  export_dynamic_flag_spec='${wl}-E'
   8827 	else
   8828 	  case $host_os in
   8829 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8830 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8831 	     hardcode_libdir_flag_spec='-R$libdir'
   8832 	     ;;
   8833 	   *)
   8834 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8835 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8836 	     ;;
   8837 	  esac
   8838         fi
   8839       else
   8840 	ld_shlibs=no
   8841       fi
   8842       ;;
   8843 
   8844     os2*)
   8845       hardcode_libdir_flag_spec='-L$libdir'
   8846       hardcode_minus_L=yes
   8847       allow_undefined_flag=unsupported
   8848       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'
   8849       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8850       ;;
   8851 
   8852     osf3*)
   8853       if test "$GCC" = yes; then
   8854 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8855 	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'
   8856       else
   8857 	allow_undefined_flag=' -expect_unresolved \*'
   8858 	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'
   8859       fi
   8860       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8861       hardcode_libdir_separator=:
   8862       ;;
   8863 
   8864     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8865       if test "$GCC" = yes; then
   8866 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8867 	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'
   8868 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8869       else
   8870 	allow_undefined_flag=' -expect_unresolved \*'
   8871 	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'
   8872 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8873 	$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'
   8874 
   8875 	# Both c and cxx compiler support -rpath directly
   8876 	hardcode_libdir_flag_spec='-rpath $libdir'
   8877       fi
   8878       hardcode_libdir_separator=:
   8879       ;;
   8880 
   8881     solaris*)
   8882       no_undefined_flag=' -z text'
   8883       if test "$GCC" = yes; then
   8884 	wlarc='${wl}'
   8885 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8886 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8887 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8888       else
   8889 	wlarc=''
   8890 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8891 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8892   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8893       fi
   8894       hardcode_libdir_flag_spec='-R$libdir'
   8895       hardcode_shlibpath_var=no
   8896       case $host_os in
   8897       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8898       *)
   8899 	# The compiler driver will combine and reorder linker options,
   8900 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8901 	# but is careful enough not to reorder.
   8902  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8903 	if test "$GCC" = yes; then
   8904 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8905 	else
   8906 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8907 	fi
   8908 	;;
   8909       esac
   8910       link_all_deplibs=yes
   8911       ;;
   8912 
   8913     sunos4*)
   8914       if test "x$host_vendor" = xsequent; then
   8915 	# Use $CC to link under sequent, because it throws in some extra .o
   8916 	# files that make .init and .fini sections work.
   8917 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8918       else
   8919 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8920       fi
   8921       hardcode_libdir_flag_spec='-L$libdir'
   8922       hardcode_direct=yes
   8923       hardcode_minus_L=yes
   8924       hardcode_shlibpath_var=no
   8925       ;;
   8926 
   8927     sysv4)
   8928       case $host_vendor in
   8929 	sni)
   8930 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8931 	  hardcode_direct=yes # is this really true???
   8932 	;;
   8933 	siemens)
   8934 	  ## LD is ld it makes a PLAMLIB
   8935 	  ## CC just makes a GrossModule.
   8936 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8937 	  reload_cmds='$CC -r -o $output$reload_objs'
   8938 	  hardcode_direct=no
   8939         ;;
   8940 	motorola)
   8941 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8942 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8943 	;;
   8944       esac
   8945       runpath_var='LD_RUN_PATH'
   8946       hardcode_shlibpath_var=no
   8947       ;;
   8948 
   8949     sysv4.3*)
   8950       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8951       hardcode_shlibpath_var=no
   8952       export_dynamic_flag_spec='-Bexport'
   8953       ;;
   8954 
   8955     sysv4*MP*)
   8956       if test -d /usr/nec; then
   8957 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8958 	hardcode_shlibpath_var=no
   8959 	runpath_var=LD_RUN_PATH
   8960 	hardcode_runpath_var=yes
   8961 	ld_shlibs=yes
   8962       fi
   8963       ;;
   8964 
   8965     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8966       no_undefined_flag='${wl}-z,text'
   8967       archive_cmds_need_lc=no
   8968       hardcode_shlibpath_var=no
   8969       runpath_var='LD_RUN_PATH'
   8970 
   8971       if test "$GCC" = yes; then
   8972 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8973 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8974       else
   8975 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8976 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8977       fi
   8978       ;;
   8979 
   8980     sysv5* | sco3.2v5* | sco5v6*)
   8981       # Note: We can NOT use -z defs as we might desire, because we do not
   8982       # link with -lc, and that would cause any symbols used from libc to
   8983       # always be unresolved, which means just about no library would
   8984       # ever link correctly.  If we're not using GNU ld we use -z text
   8985       # though, which does catch some bad symbols but isn't as heavy-handed
   8986       # as -z defs.
   8987       no_undefined_flag='${wl}-z,text'
   8988       allow_undefined_flag='${wl}-z,nodefs'
   8989       archive_cmds_need_lc=no
   8990       hardcode_shlibpath_var=no
   8991       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8992       hardcode_libdir_separator=':'
   8993       link_all_deplibs=yes
   8994       export_dynamic_flag_spec='${wl}-Bexport'
   8995       runpath_var='LD_RUN_PATH'
   8996 
   8997       if test "$GCC" = yes; then
   8998 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8999 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9000       else
   9001 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9002 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9003       fi
   9004       ;;
   9005 
   9006     uts4*)
   9007       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9008       hardcode_libdir_flag_spec='-L$libdir'
   9009       hardcode_shlibpath_var=no
   9010       ;;
   9011 
   9012     *)
   9013       ld_shlibs=no
   9014       ;;
   9015     esac
   9016   fi
   9017 
   9018 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9019 $as_echo "$ld_shlibs" >&6; }
   9020 test "$ld_shlibs" = no && can_build_shared=no
   9021 
   9022 #
   9023 # Do we need to explicitly link libc?
   9024 #
   9025 case "x$archive_cmds_need_lc" in
   9026 x|xyes)
   9027   # Assume -lc should be added
   9028   archive_cmds_need_lc=yes
   9029 
   9030   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9031     case $archive_cmds in
   9032     *'~'*)
   9033       # FIXME: we may have to deal with multi-command sequences.
   9034       ;;
   9035     '$CC '*)
   9036       # Test whether the compiler implicitly links with -lc since on some
   9037       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9038       # to ld, don't add -lc before -lgcc.
   9039       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9040 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9041       $rm conftest*
   9042       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9043 
   9044       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9045   (eval $ac_compile) 2>&5
   9046   ac_status=$?
   9047   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9048   (exit $ac_status); } 2>conftest.err; then
   9049         soname=conftest
   9050         lib=conftest
   9051         libobjs=conftest.$ac_objext
   9052         deplibs=
   9053         wl=$lt_prog_compiler_wl
   9054 	pic_flag=$lt_prog_compiler_pic
   9055         compiler_flags=-v
   9056         linker_flags=-v
   9057         verstring=
   9058         output_objdir=.
   9059         libname=conftest
   9060         lt_save_allow_undefined_flag=$allow_undefined_flag
   9061         allow_undefined_flag=
   9062         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9063   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9064   ac_status=$?
   9065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9066   (exit $ac_status); }
   9067         then
   9068 	  archive_cmds_need_lc=no
   9069         else
   9070 	  archive_cmds_need_lc=yes
   9071         fi
   9072         allow_undefined_flag=$lt_save_allow_undefined_flag
   9073       else
   9074         cat conftest.err 1>&5
   9075       fi
   9076       $rm conftest*
   9077       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9078 $as_echo "$archive_cmds_need_lc" >&6; }
   9079       ;;
   9080     esac
   9081   fi
   9082   ;;
   9083 esac
   9084 
   9085 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9086 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9087 library_names_spec=
   9088 libname_spec='lib$name'
   9089 soname_spec=
   9090 shrext_cmds=".so"
   9091 postinstall_cmds=
   9092 postuninstall_cmds=
   9093 finish_cmds=
   9094 finish_eval=
   9095 shlibpath_var=
   9096 shlibpath_overrides_runpath=unknown
   9097 version_type=none
   9098 dynamic_linker="$host_os ld.so"
   9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9100 
   9101 if test "$GCC" = yes; then
   9102   case $host_os in
   9103     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9104     *) lt_awk_arg="/^libraries:/" ;;
   9105   esac
   9106   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9107   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9108     # if the path contains ";" then we assume it to be the separator
   9109     # otherwise default to the standard path separator (i.e. ":") - it is
   9110     # assumed that no part of a normal pathname contains ";" but that should
   9111     # okay in the real world where ";" in dirpaths is itself problematic.
   9112     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9113   else
   9114     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9115   fi
   9116   # Ok, now we have the path, separated by spaces, we can step through it
   9117   # and add multilib dir if necessary.
   9118   lt_tmp_lt_search_path_spec=
   9119   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9120   for lt_sys_path in $lt_search_path_spec; do
   9121     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9122       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9123     else
   9124       test -d "$lt_sys_path" && \
   9125 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9126     fi
   9127   done
   9128   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9129 BEGIN {RS=" "; FS="/|\n";} {
   9130   lt_foo="";
   9131   lt_count=0;
   9132   for (lt_i = NF; lt_i > 0; lt_i--) {
   9133     if ($lt_i != "" && $lt_i != ".") {
   9134       if ($lt_i == "..") {
   9135         lt_count++;
   9136       } else {
   9137         if (lt_count == 0) {
   9138           lt_foo="/" $lt_i lt_foo;
   9139         } else {
   9140           lt_count--;
   9141         }
   9142       }
   9143     }
   9144   }
   9145   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9146   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9147 }'`
   9148   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9149 else
   9150   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9151 fi
   9152 need_lib_prefix=unknown
   9153 hardcode_into_libs=no
   9154 
   9155 # when you set need_version to no, make sure it does not cause -set_version
   9156 # flags to be left without arguments
   9157 need_version=unknown
   9158 
   9159 case $host_os in
   9160 aix3*)
   9161   version_type=linux
   9162   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9163   shlibpath_var=LIBPATH
   9164 
   9165   # AIX 3 has no versioning support, so we append a major version to the name.
   9166   soname_spec='${libname}${release}${shared_ext}$major'
   9167   ;;
   9168 
   9169 aix[4-9]*)
   9170   version_type=linux
   9171   need_lib_prefix=no
   9172   need_version=no
   9173   hardcode_into_libs=yes
   9174   if test "$host_cpu" = ia64; then
   9175     # AIX 5 supports IA64
   9176     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9177     shlibpath_var=LD_LIBRARY_PATH
   9178   else
   9179     # With GCC up to 2.95.x, collect2 would create an import file
   9180     # for dependence libraries.  The import file would start with
   9181     # the line `#! .'.  This would cause the generated library to
   9182     # depend on `.', always an invalid library.  This was fixed in
   9183     # development snapshots of GCC prior to 3.0.
   9184     case $host_os in
   9185       aix4 | aix4.[01] | aix4.[01].*)
   9186       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9187 	   echo ' yes '
   9188 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9189 	:
   9190       else
   9191 	can_build_shared=no
   9192       fi
   9193       ;;
   9194     esac
   9195     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9196     # soname into executable. Probably we can add versioning support to
   9197     # collect2, so additional links can be useful in future.
   9198     if test "$aix_use_runtimelinking" = yes; then
   9199       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9200       # instead of lib<name>.a to let people know that these are not
   9201       # typical AIX shared libraries.
   9202       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9203     else
   9204       # We preserve .a as extension for shared libraries through AIX4.2
   9205       # and later when we are not doing run time linking.
   9206       library_names_spec='${libname}${release}.a $libname.a'
   9207       soname_spec='${libname}${release}${shared_ext}$major'
   9208     fi
   9209     shlibpath_var=LIBPATH
   9210   fi
   9211   ;;
   9212 
   9213 amigaos*)
   9214   library_names_spec='$libname.ixlibrary $libname.a'
   9215   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9216   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'
   9217   ;;
   9218 
   9219 beos*)
   9220   library_names_spec='${libname}${shared_ext}'
   9221   dynamic_linker="$host_os ld.so"
   9222   shlibpath_var=LIBRARY_PATH
   9223   ;;
   9224 
   9225 bsdi[45]*)
   9226   version_type=linux
   9227   need_version=no
   9228   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9229   soname_spec='${libname}${release}${shared_ext}$major'
   9230   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9231   shlibpath_var=LD_LIBRARY_PATH
   9232   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9233   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9234   # the default ld.so.conf also contains /usr/contrib/lib and
   9235   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9236   # libtool to hard-code these into programs
   9237   ;;
   9238 
   9239 cygwin* | mingw* | pw32*)
   9240   version_type=windows
   9241   shrext_cmds=".dll"
   9242   need_version=no
   9243   need_lib_prefix=no
   9244 
   9245   case $GCC,$host_os in
   9246   yes,cygwin* | yes,mingw* | yes,pw32*)
   9247     library_names_spec='$libname.dll.a'
   9248     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9249     postinstall_cmds='base_file=`basename \${file}`~
   9250       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9251       dldir=$destdir/`dirname \$dlpath`~
   9252       test -d \$dldir || mkdir -p \$dldir~
   9253       $install_prog $dir/$dlname \$dldir/$dlname~
   9254       chmod a+x \$dldir/$dlname'
   9255     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9256       dlpath=$dir/\$dldll~
   9257        $rm \$dlpath'
   9258     shlibpath_overrides_runpath=yes
   9259 
   9260     case $host_os in
   9261     cygwin*)
   9262       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9263       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9264       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9265       ;;
   9266     mingw*)
   9267       # MinGW DLLs use traditional 'lib' prefix
   9268       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9269       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9270       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9271         # It is most probably a Windows format PATH printed by
   9272         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9273         # path with ; separators, and with drive letters. We can handle the
   9274         # drive letters (cygwin fileutils understands them), so leave them,
   9275         # especially as we might pass files found there to a mingw objdump,
   9276         # which wouldn't understand a cygwinified path. Ahh.
   9277         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9278       else
   9279         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9280       fi
   9281       ;;
   9282     pw32*)
   9283       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9284       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9285       ;;
   9286     esac
   9287     ;;
   9288 
   9289   *)
   9290     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9291     ;;
   9292   esac
   9293   dynamic_linker='Win32 ld.exe'
   9294   # FIXME: first we should search . and the directory the executable is in
   9295   shlibpath_var=PATH
   9296   ;;
   9297 
   9298 darwin* | rhapsody*)
   9299   dynamic_linker="$host_os dyld"
   9300   version_type=darwin
   9301   need_lib_prefix=no
   9302   need_version=no
   9303   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9304   soname_spec='${libname}${release}${major}$shared_ext'
   9305   shlibpath_overrides_runpath=yes
   9306   shlibpath_var=DYLD_LIBRARY_PATH
   9307   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9308 
   9309   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9310   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9311   ;;
   9312 
   9313 dgux*)
   9314   version_type=linux
   9315   need_lib_prefix=no
   9316   need_version=no
   9317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9318   soname_spec='${libname}${release}${shared_ext}$major'
   9319   shlibpath_var=LD_LIBRARY_PATH
   9320   ;;
   9321 
   9322 freebsd1*)
   9323   dynamic_linker=no
   9324   ;;
   9325 
   9326 freebsd* | dragonfly*)
   9327   # DragonFly does not have aout.  When/if they implement a new
   9328   # versioning mechanism, adjust this.
   9329   if test -x /usr/bin/objformat; then
   9330     objformat=`/usr/bin/objformat`
   9331   else
   9332     case $host_os in
   9333     freebsd[123]*) objformat=aout ;;
   9334     *) objformat=elf ;;
   9335     esac
   9336   fi
   9337   version_type=freebsd-$objformat
   9338   case $version_type in
   9339     freebsd-elf*)
   9340       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9341       need_version=no
   9342       need_lib_prefix=no
   9343       ;;
   9344     freebsd-*)
   9345       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9346       need_version=yes
   9347       ;;
   9348   esac
   9349   shlibpath_var=LD_LIBRARY_PATH
   9350   case $host_os in
   9351   freebsd2*)
   9352     shlibpath_overrides_runpath=yes
   9353     ;;
   9354   freebsd3.[01]* | freebsdelf3.[01]*)
   9355     shlibpath_overrides_runpath=yes
   9356     hardcode_into_libs=yes
   9357     ;;
   9358   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9359   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9360     shlibpath_overrides_runpath=no
   9361     hardcode_into_libs=yes
   9362     ;;
   9363   *) # from 4.6 on, and DragonFly
   9364     shlibpath_overrides_runpath=yes
   9365     hardcode_into_libs=yes
   9366     ;;
   9367   esac
   9368   ;;
   9369 
   9370 gnu*)
   9371   version_type=linux
   9372   need_lib_prefix=no
   9373   need_version=no
   9374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9375   soname_spec='${libname}${release}${shared_ext}$major'
   9376   shlibpath_var=LD_LIBRARY_PATH
   9377   hardcode_into_libs=yes
   9378   ;;
   9379 
   9380 hpux9* | hpux10* | hpux11*)
   9381   # Give a soname corresponding to the major version so that dld.sl refuses to
   9382   # link against other versions.
   9383   version_type=sunos
   9384   need_lib_prefix=no
   9385   need_version=no
   9386   case $host_cpu in
   9387   ia64*)
   9388     shrext_cmds='.so'
   9389     hardcode_into_libs=yes
   9390     dynamic_linker="$host_os dld.so"
   9391     shlibpath_var=LD_LIBRARY_PATH
   9392     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9394     soname_spec='${libname}${release}${shared_ext}$major'
   9395     if test "X$HPUX_IA64_MODE" = X32; then
   9396       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9397     else
   9398       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9399     fi
   9400     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9401     ;;
   9402    hppa*64*)
   9403      shrext_cmds='.sl'
   9404      hardcode_into_libs=yes
   9405      dynamic_linker="$host_os dld.sl"
   9406      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9407      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9408      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9409      soname_spec='${libname}${release}${shared_ext}$major'
   9410      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9411      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9412      ;;
   9413    *)
   9414     shrext_cmds='.sl'
   9415     dynamic_linker="$host_os dld.sl"
   9416     shlibpath_var=SHLIB_PATH
   9417     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9419     soname_spec='${libname}${release}${shared_ext}$major'
   9420     ;;
   9421   esac
   9422   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9423   postinstall_cmds='chmod 555 $lib'
   9424   ;;
   9425 
   9426 interix[3-9]*)
   9427   version_type=linux
   9428   need_lib_prefix=no
   9429   need_version=no
   9430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9431   soname_spec='${libname}${release}${shared_ext}$major'
   9432   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9433   shlibpath_var=LD_LIBRARY_PATH
   9434   shlibpath_overrides_runpath=no
   9435   hardcode_into_libs=yes
   9436   ;;
   9437 
   9438 irix5* | irix6* | nonstopux*)
   9439   case $host_os in
   9440     nonstopux*) version_type=nonstopux ;;
   9441     *)
   9442 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9443 		version_type=linux
   9444 	else
   9445 		version_type=irix
   9446 	fi ;;
   9447   esac
   9448   need_lib_prefix=no
   9449   need_version=no
   9450   soname_spec='${libname}${release}${shared_ext}$major'
   9451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9452   case $host_os in
   9453   irix5* | nonstopux*)
   9454     libsuff= shlibsuff=
   9455     ;;
   9456   *)
   9457     case $LD in # libtool.m4 will add one of these switches to LD
   9458     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9459       libsuff= shlibsuff= libmagic=32-bit;;
   9460     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9461       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9462     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9463       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9464     *) libsuff= shlibsuff= libmagic=never-match;;
   9465     esac
   9466     ;;
   9467   esac
   9468   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9469   shlibpath_overrides_runpath=no
   9470   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9471   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9472   hardcode_into_libs=yes
   9473   ;;
   9474 
   9475 # No shared lib support for Linux oldld, aout, or coff.
   9476 linux*oldld* | linux*aout* | linux*coff*)
   9477   dynamic_linker=no
   9478   ;;
   9479 
   9480 # This must be Linux ELF.
   9481 linux* | k*bsd*-gnu)
   9482   version_type=linux
   9483   need_lib_prefix=no
   9484   need_version=no
   9485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9486   soname_spec='${libname}${release}${shared_ext}$major'
   9487   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9488   shlibpath_var=LD_LIBRARY_PATH
   9489   shlibpath_overrides_runpath=no
   9490   # This implies no fast_install, which is unacceptable.
   9491   # Some rework will be needed to allow for fast_install
   9492   # before this can be enabled.
   9493   hardcode_into_libs=yes
   9494   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9495   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9496 
   9497   # Append ld.so.conf contents to the search path
   9498   if test -f /etc/ld.so.conf; then
   9499     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' ' '`
   9500     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9501   fi
   9502 
   9503   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9504   # powerpc, because MkLinux only supported shared libraries with the
   9505   # GNU dynamic linker.  Since this was broken with cross compilers,
   9506   # most powerpc-linux boxes support dynamic linking these days and
   9507   # people can always --disable-shared, the test was removed, and we
   9508   # assume the GNU/Linux dynamic linker is in use.
   9509   dynamic_linker='GNU/Linux ld.so'
   9510   ;;
   9511 
   9512 netbsd*)
   9513   version_type=sunos
   9514   need_lib_prefix=no
   9515   need_version=no
   9516   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9517     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9518     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9519     dynamic_linker='NetBSD (a.out) ld.so'
   9520   else
   9521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9522     soname_spec='${libname}${release}${shared_ext}$major'
   9523     dynamic_linker='NetBSD ld.elf_so'
   9524   fi
   9525   shlibpath_var=LD_LIBRARY_PATH
   9526   shlibpath_overrides_runpath=yes
   9527   hardcode_into_libs=yes
   9528   ;;
   9529 
   9530 newsos6)
   9531   version_type=linux
   9532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9533   shlibpath_var=LD_LIBRARY_PATH
   9534   shlibpath_overrides_runpath=yes
   9535   ;;
   9536 
   9537 nto-qnx*)
   9538   version_type=linux
   9539   need_lib_prefix=no
   9540   need_version=no
   9541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9542   soname_spec='${libname}${release}${shared_ext}$major'
   9543   shlibpath_var=LD_LIBRARY_PATH
   9544   shlibpath_overrides_runpath=yes
   9545   ;;
   9546 
   9547 openbsd*)
   9548   version_type=sunos
   9549   sys_lib_dlsearch_path_spec="/usr/lib"
   9550   need_lib_prefix=no
   9551   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9552   case $host_os in
   9553     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9554     *)                         need_version=no  ;;
   9555   esac
   9556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9557   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9558   shlibpath_var=LD_LIBRARY_PATH
   9559   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9560     case $host_os in
   9561       openbsd2.[89] | openbsd2.[89].*)
   9562 	shlibpath_overrides_runpath=no
   9563 	;;
   9564       *)
   9565 	shlibpath_overrides_runpath=yes
   9566 	;;
   9567       esac
   9568   else
   9569     shlibpath_overrides_runpath=yes
   9570   fi
   9571   ;;
   9572 
   9573 os2*)
   9574   libname_spec='$name'
   9575   shrext_cmds=".dll"
   9576   need_lib_prefix=no
   9577   library_names_spec='$libname${shared_ext} $libname.a'
   9578   dynamic_linker='OS/2 ld.exe'
   9579   shlibpath_var=LIBPATH
   9580   ;;
   9581 
   9582 osf3* | osf4* | osf5*)
   9583   version_type=osf
   9584   need_lib_prefix=no
   9585   need_version=no
   9586   soname_spec='${libname}${release}${shared_ext}$major'
   9587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9588   shlibpath_var=LD_LIBRARY_PATH
   9589   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9590   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9591   ;;
   9592 
   9593 rdos*)
   9594   dynamic_linker=no
   9595   ;;
   9596 
   9597 solaris*)
   9598   version_type=linux
   9599   need_lib_prefix=no
   9600   need_version=no
   9601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9602   soname_spec='${libname}${release}${shared_ext}$major'
   9603   shlibpath_var=LD_LIBRARY_PATH
   9604   shlibpath_overrides_runpath=yes
   9605   hardcode_into_libs=yes
   9606   # ldd complains unless libraries are executable
   9607   postinstall_cmds='chmod +x $lib'
   9608   ;;
   9609 
   9610 sunos4*)
   9611   version_type=sunos
   9612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9613   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9614   shlibpath_var=LD_LIBRARY_PATH
   9615   shlibpath_overrides_runpath=yes
   9616   if test "$with_gnu_ld" = yes; then
   9617     need_lib_prefix=no
   9618   fi
   9619   need_version=yes
   9620   ;;
   9621 
   9622 sysv4 | sysv4.3*)
   9623   version_type=linux
   9624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9625   soname_spec='${libname}${release}${shared_ext}$major'
   9626   shlibpath_var=LD_LIBRARY_PATH
   9627   case $host_vendor in
   9628     sni)
   9629       shlibpath_overrides_runpath=no
   9630       need_lib_prefix=no
   9631       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9632       runpath_var=LD_RUN_PATH
   9633       ;;
   9634     siemens)
   9635       need_lib_prefix=no
   9636       ;;
   9637     motorola)
   9638       need_lib_prefix=no
   9639       need_version=no
   9640       shlibpath_overrides_runpath=no
   9641       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9642       ;;
   9643   esac
   9644   ;;
   9645 
   9646 sysv4*MP*)
   9647   if test -d /usr/nec ;then
   9648     version_type=linux
   9649     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9650     soname_spec='$libname${shared_ext}.$major'
   9651     shlibpath_var=LD_LIBRARY_PATH
   9652   fi
   9653   ;;
   9654 
   9655 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9656   version_type=freebsd-elf
   9657   need_lib_prefix=no
   9658   need_version=no
   9659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9660   soname_spec='${libname}${release}${shared_ext}$major'
   9661   shlibpath_var=LD_LIBRARY_PATH
   9662   hardcode_into_libs=yes
   9663   if test "$with_gnu_ld" = yes; then
   9664     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9665     shlibpath_overrides_runpath=no
   9666   else
   9667     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9668     shlibpath_overrides_runpath=yes
   9669     case $host_os in
   9670       sco3.2v5*)
   9671         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9672 	;;
   9673     esac
   9674   fi
   9675   sys_lib_dlsearch_path_spec='/usr/lib'
   9676   ;;
   9677 
   9678 uts4*)
   9679   version_type=linux
   9680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9681   soname_spec='${libname}${release}${shared_ext}$major'
   9682   shlibpath_var=LD_LIBRARY_PATH
   9683   ;;
   9684 
   9685 *)
   9686   dynamic_linker=no
   9687   ;;
   9688 esac
   9689 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9690 $as_echo "$dynamic_linker" >&6; }
   9691 test "$dynamic_linker" = no && can_build_shared=no
   9692 
   9693 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9694   $as_echo_n "(cached) " >&6
   9695 else
   9696   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9697 fi
   9698 
   9699 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9700 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9701   $as_echo_n "(cached) " >&6
   9702 else
   9703   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9704 fi
   9705 
   9706 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9707 
   9708 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9709 if test "$GCC" = yes; then
   9710   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9711 fi
   9712 
   9713 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9714 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9715 hardcode_action=
   9716 if test -n "$hardcode_libdir_flag_spec" || \
   9717    test -n "$runpath_var" || \
   9718    test "X$hardcode_automatic" = "Xyes" ; then
   9719 
   9720   # We can hardcode non-existant directories.
   9721   if test "$hardcode_direct" != no &&
   9722      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9723      # have to relink, otherwise we might link with an installed library
   9724      # when we should be linking with a yet-to-be-installed one
   9725      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9726      test "$hardcode_minus_L" != no; then
   9727     # Linking always hardcodes the temporary library directory.
   9728     hardcode_action=relink
   9729   else
   9730     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9731     hardcode_action=immediate
   9732   fi
   9733 else
   9734   # We cannot hardcode anything, or else we can only hardcode existing
   9735   # directories.
   9736   hardcode_action=unsupported
   9737 fi
   9738 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9739 $as_echo "$hardcode_action" >&6; }
   9740 
   9741 if test "$hardcode_action" = relink; then
   9742   # Fast installation is not supported
   9743   enable_fast_install=no
   9744 elif test "$shlibpath_overrides_runpath" = yes ||
   9745      test "$enable_shared" = no; then
   9746   # Fast installation is not necessary
   9747   enable_fast_install=needless
   9748 fi
   9749 
   9750 striplib=
   9751 old_striplib=
   9752 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9753 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9754 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9755   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9756   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9757   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9758 $as_echo "yes" >&6; }
   9759 else
   9760 # FIXME - insert some real tests, host_os isn't really good enough
   9761   case $host_os in
   9762    darwin*)
   9763        if test -n "$STRIP" ; then
   9764          striplib="$STRIP -x"
   9765          old_striplib="$STRIP -S"
   9766          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9767 $as_echo "yes" >&6; }
   9768        else
   9769   { $as_echo "$as_me:$LINENO: result: no" >&5
   9770 $as_echo "no" >&6; }
   9771 fi
   9772        ;;
   9773    *)
   9774   { $as_echo "$as_me:$LINENO: result: no" >&5
   9775 $as_echo "no" >&6; }
   9776     ;;
   9777   esac
   9778 fi
   9779 
   9780 if test "x$enable_dlopen" != xyes; then
   9781   enable_dlopen=unknown
   9782   enable_dlopen_self=unknown
   9783   enable_dlopen_self_static=unknown
   9784 else
   9785   lt_cv_dlopen=no
   9786   lt_cv_dlopen_libs=
   9787 
   9788   case $host_os in
   9789   beos*)
   9790     lt_cv_dlopen="load_add_on"
   9791     lt_cv_dlopen_libs=
   9792     lt_cv_dlopen_self=yes
   9793     ;;
   9794 
   9795   mingw* | pw32*)
   9796     lt_cv_dlopen="LoadLibrary"
   9797     lt_cv_dlopen_libs=
   9798    ;;
   9799 
   9800   cygwin*)
   9801     lt_cv_dlopen="dlopen"
   9802     lt_cv_dlopen_libs=
   9803    ;;
   9804 
   9805   darwin*)
   9806   # if libdl is installed we need to link against it
   9807     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9808 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9809 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9810   $as_echo_n "(cached) " >&6
   9811 else
   9812   ac_check_lib_save_LIBS=$LIBS
   9813 LIBS="-ldl  $LIBS"
   9814 cat >conftest.$ac_ext <<_ACEOF
   9815 /* confdefs.h.  */
   9816 _ACEOF
   9817 cat confdefs.h >>conftest.$ac_ext
   9818 cat >>conftest.$ac_ext <<_ACEOF
   9819 /* end confdefs.h.  */
   9820 
   9821 /* Override any GCC internal prototype to avoid an error.
   9822    Use char because int might match the return type of a GCC
   9823    builtin and then its argument prototype would still apply.  */
   9824 #ifdef __cplusplus
   9825 extern "C"
   9826 #endif
   9827 char dlopen ();
   9828 int
   9829 main ()
   9830 {
   9831 return dlopen ();
   9832   ;
   9833   return 0;
   9834 }
   9835 _ACEOF
   9836 rm -f conftest.$ac_objext conftest$ac_exeext
   9837 if { (ac_try="$ac_link"
   9838 case "(($ac_try" in
   9839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9840   *) ac_try_echo=$ac_try;;
   9841 esac
   9842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9843 $as_echo "$ac_try_echo") >&5
   9844   (eval "$ac_link") 2>conftest.er1
   9845   ac_status=$?
   9846   grep -v '^ *+' conftest.er1 >conftest.err
   9847   rm -f conftest.er1
   9848   cat conftest.err >&5
   9849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9850   (exit $ac_status); } && {
   9851 	 test -z "$ac_c_werror_flag" ||
   9852 	 test ! -s conftest.err
   9853        } && test -s conftest$ac_exeext && {
   9854 	 test "$cross_compiling" = yes ||
   9855 	 $as_test_x conftest$ac_exeext
   9856        }; then
   9857   ac_cv_lib_dl_dlopen=yes
   9858 else
   9859   $as_echo "$as_me: failed program was:" >&5
   9860 sed 's/^/| /' conftest.$ac_ext >&5
   9861 
   9862 	ac_cv_lib_dl_dlopen=no
   9863 fi
   9864 
   9865 rm -rf conftest.dSYM
   9866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9867       conftest$ac_exeext conftest.$ac_ext
   9868 LIBS=$ac_check_lib_save_LIBS
   9869 fi
   9870 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9871 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9872 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9873   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9874 else
   9875 
   9876     lt_cv_dlopen="dyld"
   9877     lt_cv_dlopen_libs=
   9878     lt_cv_dlopen_self=yes
   9879 
   9880 fi
   9881 
   9882    ;;
   9883 
   9884   *)
   9885     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9886 $as_echo_n "checking for shl_load... " >&6; }
   9887 if test "${ac_cv_func_shl_load+set}" = set; then
   9888   $as_echo_n "(cached) " >&6
   9889 else
   9890   cat >conftest.$ac_ext <<_ACEOF
   9891 /* confdefs.h.  */
   9892 _ACEOF
   9893 cat confdefs.h >>conftest.$ac_ext
   9894 cat >>conftest.$ac_ext <<_ACEOF
   9895 /* end confdefs.h.  */
   9896 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9898 #define shl_load innocuous_shl_load
   9899 
   9900 /* System header to define __stub macros and hopefully few prototypes,
   9901     which can conflict with char shl_load (); below.
   9902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9903     <limits.h> exists even on freestanding compilers.  */
   9904 
   9905 #ifdef __STDC__
   9906 # include <limits.h>
   9907 #else
   9908 # include <assert.h>
   9909 #endif
   9910 
   9911 #undef shl_load
   9912 
   9913 /* Override any GCC internal prototype to avoid an error.
   9914    Use char because int might match the return type of a GCC
   9915    builtin and then its argument prototype would still apply.  */
   9916 #ifdef __cplusplus
   9917 extern "C"
   9918 #endif
   9919 char shl_load ();
   9920 /* The GNU C library defines this for functions which it implements
   9921     to always fail with ENOSYS.  Some functions are actually named
   9922     something starting with __ and the normal name is an alias.  */
   9923 #if defined __stub_shl_load || defined __stub___shl_load
   9924 choke me
   9925 #endif
   9926 
   9927 int
   9928 main ()
   9929 {
   9930 return shl_load ();
   9931   ;
   9932   return 0;
   9933 }
   9934 _ACEOF
   9935 rm -f conftest.$ac_objext conftest$ac_exeext
   9936 if { (ac_try="$ac_link"
   9937 case "(($ac_try" in
   9938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9939   *) ac_try_echo=$ac_try;;
   9940 esac
   9941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9942 $as_echo "$ac_try_echo") >&5
   9943   (eval "$ac_link") 2>conftest.er1
   9944   ac_status=$?
   9945   grep -v '^ *+' conftest.er1 >conftest.err
   9946   rm -f conftest.er1
   9947   cat conftest.err >&5
   9948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9949   (exit $ac_status); } && {
   9950 	 test -z "$ac_c_werror_flag" ||
   9951 	 test ! -s conftest.err
   9952        } && test -s conftest$ac_exeext && {
   9953 	 test "$cross_compiling" = yes ||
   9954 	 $as_test_x conftest$ac_exeext
   9955        }; then
   9956   ac_cv_func_shl_load=yes
   9957 else
   9958   $as_echo "$as_me: failed program was:" >&5
   9959 sed 's/^/| /' conftest.$ac_ext >&5
   9960 
   9961 	ac_cv_func_shl_load=no
   9962 fi
   9963 
   9964 rm -rf conftest.dSYM
   9965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9966       conftest$ac_exeext conftest.$ac_ext
   9967 fi
   9968 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9969 $as_echo "$ac_cv_func_shl_load" >&6; }
   9970 if test "x$ac_cv_func_shl_load" = x""yes; then
   9971   lt_cv_dlopen="shl_load"
   9972 else
   9973   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9974 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   9975 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9976   $as_echo_n "(cached) " >&6
   9977 else
   9978   ac_check_lib_save_LIBS=$LIBS
   9979 LIBS="-ldld  $LIBS"
   9980 cat >conftest.$ac_ext <<_ACEOF
   9981 /* confdefs.h.  */
   9982 _ACEOF
   9983 cat confdefs.h >>conftest.$ac_ext
   9984 cat >>conftest.$ac_ext <<_ACEOF
   9985 /* end confdefs.h.  */
   9986 
   9987 /* Override any GCC internal prototype to avoid an error.
   9988    Use char because int might match the return type of a GCC
   9989    builtin and then its argument prototype would still apply.  */
   9990 #ifdef __cplusplus
   9991 extern "C"
   9992 #endif
   9993 char shl_load ();
   9994 int
   9995 main ()
   9996 {
   9997 return shl_load ();
   9998   ;
   9999   return 0;
   10000 }
   10001 _ACEOF
   10002 rm -f conftest.$ac_objext conftest$ac_exeext
   10003 if { (ac_try="$ac_link"
   10004 case "(($ac_try" in
   10005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10006   *) ac_try_echo=$ac_try;;
   10007 esac
   10008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10009 $as_echo "$ac_try_echo") >&5
   10010   (eval "$ac_link") 2>conftest.er1
   10011   ac_status=$?
   10012   grep -v '^ *+' conftest.er1 >conftest.err
   10013   rm -f conftest.er1
   10014   cat conftest.err >&5
   10015   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10016   (exit $ac_status); } && {
   10017 	 test -z "$ac_c_werror_flag" ||
   10018 	 test ! -s conftest.err
   10019        } && test -s conftest$ac_exeext && {
   10020 	 test "$cross_compiling" = yes ||
   10021 	 $as_test_x conftest$ac_exeext
   10022        }; then
   10023   ac_cv_lib_dld_shl_load=yes
   10024 else
   10025   $as_echo "$as_me: failed program was:" >&5
   10026 sed 's/^/| /' conftest.$ac_ext >&5
   10027 
   10028 	ac_cv_lib_dld_shl_load=no
   10029 fi
   10030 
   10031 rm -rf conftest.dSYM
   10032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10033       conftest$ac_exeext conftest.$ac_ext
   10034 LIBS=$ac_check_lib_save_LIBS
   10035 fi
   10036 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10037 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10038 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10039   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10040 else
   10041   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10042 $as_echo_n "checking for dlopen... " >&6; }
   10043 if test "${ac_cv_func_dlopen+set}" = set; then
   10044   $as_echo_n "(cached) " >&6
   10045 else
   10046   cat >conftest.$ac_ext <<_ACEOF
   10047 /* confdefs.h.  */
   10048 _ACEOF
   10049 cat confdefs.h >>conftest.$ac_ext
   10050 cat >>conftest.$ac_ext <<_ACEOF
   10051 /* end confdefs.h.  */
   10052 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10054 #define dlopen innocuous_dlopen
   10055 
   10056 /* System header to define __stub macros and hopefully few prototypes,
   10057     which can conflict with char dlopen (); below.
   10058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10059     <limits.h> exists even on freestanding compilers.  */
   10060 
   10061 #ifdef __STDC__
   10062 # include <limits.h>
   10063 #else
   10064 # include <assert.h>
   10065 #endif
   10066 
   10067 #undef dlopen
   10068 
   10069 /* Override any GCC internal prototype to avoid an error.
   10070    Use char because int might match the return type of a GCC
   10071    builtin and then its argument prototype would still apply.  */
   10072 #ifdef __cplusplus
   10073 extern "C"
   10074 #endif
   10075 char dlopen ();
   10076 /* The GNU C library defines this for functions which it implements
   10077     to always fail with ENOSYS.  Some functions are actually named
   10078     something starting with __ and the normal name is an alias.  */
   10079 #if defined __stub_dlopen || defined __stub___dlopen
   10080 choke me
   10081 #endif
   10082 
   10083 int
   10084 main ()
   10085 {
   10086 return dlopen ();
   10087   ;
   10088   return 0;
   10089 }
   10090 _ACEOF
   10091 rm -f conftest.$ac_objext conftest$ac_exeext
   10092 if { (ac_try="$ac_link"
   10093 case "(($ac_try" in
   10094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10095   *) ac_try_echo=$ac_try;;
   10096 esac
   10097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10098 $as_echo "$ac_try_echo") >&5
   10099   (eval "$ac_link") 2>conftest.er1
   10100   ac_status=$?
   10101   grep -v '^ *+' conftest.er1 >conftest.err
   10102   rm -f conftest.er1
   10103   cat conftest.err >&5
   10104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10105   (exit $ac_status); } && {
   10106 	 test -z "$ac_c_werror_flag" ||
   10107 	 test ! -s conftest.err
   10108        } && test -s conftest$ac_exeext && {
   10109 	 test "$cross_compiling" = yes ||
   10110 	 $as_test_x conftest$ac_exeext
   10111        }; then
   10112   ac_cv_func_dlopen=yes
   10113 else
   10114   $as_echo "$as_me: failed program was:" >&5
   10115 sed 's/^/| /' conftest.$ac_ext >&5
   10116 
   10117 	ac_cv_func_dlopen=no
   10118 fi
   10119 
   10120 rm -rf conftest.dSYM
   10121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10122       conftest$ac_exeext conftest.$ac_ext
   10123 fi
   10124 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10125 $as_echo "$ac_cv_func_dlopen" >&6; }
   10126 if test "x$ac_cv_func_dlopen" = x""yes; then
   10127   lt_cv_dlopen="dlopen"
   10128 else
   10129   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10130 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10131 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10132   $as_echo_n "(cached) " >&6
   10133 else
   10134   ac_check_lib_save_LIBS=$LIBS
   10135 LIBS="-ldl  $LIBS"
   10136 cat >conftest.$ac_ext <<_ACEOF
   10137 /* confdefs.h.  */
   10138 _ACEOF
   10139 cat confdefs.h >>conftest.$ac_ext
   10140 cat >>conftest.$ac_ext <<_ACEOF
   10141 /* end confdefs.h.  */
   10142 
   10143 /* Override any GCC internal prototype to avoid an error.
   10144    Use char because int might match the return type of a GCC
   10145    builtin and then its argument prototype would still apply.  */
   10146 #ifdef __cplusplus
   10147 extern "C"
   10148 #endif
   10149 char dlopen ();
   10150 int
   10151 main ()
   10152 {
   10153 return dlopen ();
   10154   ;
   10155   return 0;
   10156 }
   10157 _ACEOF
   10158 rm -f conftest.$ac_objext conftest$ac_exeext
   10159 if { (ac_try="$ac_link"
   10160 case "(($ac_try" in
   10161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10162   *) ac_try_echo=$ac_try;;
   10163 esac
   10164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10165 $as_echo "$ac_try_echo") >&5
   10166   (eval "$ac_link") 2>conftest.er1
   10167   ac_status=$?
   10168   grep -v '^ *+' conftest.er1 >conftest.err
   10169   rm -f conftest.er1
   10170   cat conftest.err >&5
   10171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10172   (exit $ac_status); } && {
   10173 	 test -z "$ac_c_werror_flag" ||
   10174 	 test ! -s conftest.err
   10175        } && test -s conftest$ac_exeext && {
   10176 	 test "$cross_compiling" = yes ||
   10177 	 $as_test_x conftest$ac_exeext
   10178        }; then
   10179   ac_cv_lib_dl_dlopen=yes
   10180 else
   10181   $as_echo "$as_me: failed program was:" >&5
   10182 sed 's/^/| /' conftest.$ac_ext >&5
   10183 
   10184 	ac_cv_lib_dl_dlopen=no
   10185 fi
   10186 
   10187 rm -rf conftest.dSYM
   10188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10189       conftest$ac_exeext conftest.$ac_ext
   10190 LIBS=$ac_check_lib_save_LIBS
   10191 fi
   10192 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10193 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10194 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10195   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10196 else
   10197   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10198 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10199 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10200   $as_echo_n "(cached) " >&6
   10201 else
   10202   ac_check_lib_save_LIBS=$LIBS
   10203 LIBS="-lsvld  $LIBS"
   10204 cat >conftest.$ac_ext <<_ACEOF
   10205 /* confdefs.h.  */
   10206 _ACEOF
   10207 cat confdefs.h >>conftest.$ac_ext
   10208 cat >>conftest.$ac_ext <<_ACEOF
   10209 /* end confdefs.h.  */
   10210 
   10211 /* Override any GCC internal prototype to avoid an error.
   10212    Use char because int might match the return type of a GCC
   10213    builtin and then its argument prototype would still apply.  */
   10214 #ifdef __cplusplus
   10215 extern "C"
   10216 #endif
   10217 char dlopen ();
   10218 int
   10219 main ()
   10220 {
   10221 return dlopen ();
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 rm -f conftest.$ac_objext conftest$ac_exeext
   10227 if { (ac_try="$ac_link"
   10228 case "(($ac_try" in
   10229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10230   *) ac_try_echo=$ac_try;;
   10231 esac
   10232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10233 $as_echo "$ac_try_echo") >&5
   10234   (eval "$ac_link") 2>conftest.er1
   10235   ac_status=$?
   10236   grep -v '^ *+' conftest.er1 >conftest.err
   10237   rm -f conftest.er1
   10238   cat conftest.err >&5
   10239   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10240   (exit $ac_status); } && {
   10241 	 test -z "$ac_c_werror_flag" ||
   10242 	 test ! -s conftest.err
   10243        } && test -s conftest$ac_exeext && {
   10244 	 test "$cross_compiling" = yes ||
   10245 	 $as_test_x conftest$ac_exeext
   10246        }; then
   10247   ac_cv_lib_svld_dlopen=yes
   10248 else
   10249   $as_echo "$as_me: failed program was:" >&5
   10250 sed 's/^/| /' conftest.$ac_ext >&5
   10251 
   10252 	ac_cv_lib_svld_dlopen=no
   10253 fi
   10254 
   10255 rm -rf conftest.dSYM
   10256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10257       conftest$ac_exeext conftest.$ac_ext
   10258 LIBS=$ac_check_lib_save_LIBS
   10259 fi
   10260 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10261 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10262 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10263   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10264 else
   10265   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10266 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10267 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10268   $as_echo_n "(cached) " >&6
   10269 else
   10270   ac_check_lib_save_LIBS=$LIBS
   10271 LIBS="-ldld  $LIBS"
   10272 cat >conftest.$ac_ext <<_ACEOF
   10273 /* confdefs.h.  */
   10274 _ACEOF
   10275 cat confdefs.h >>conftest.$ac_ext
   10276 cat >>conftest.$ac_ext <<_ACEOF
   10277 /* end confdefs.h.  */
   10278 
   10279 /* Override any GCC internal prototype to avoid an error.
   10280    Use char because int might match the return type of a GCC
   10281    builtin and then its argument prototype would still apply.  */
   10282 #ifdef __cplusplus
   10283 extern "C"
   10284 #endif
   10285 char dld_link ();
   10286 int
   10287 main ()
   10288 {
   10289 return dld_link ();
   10290   ;
   10291   return 0;
   10292 }
   10293 _ACEOF
   10294 rm -f conftest.$ac_objext conftest$ac_exeext
   10295 if { (ac_try="$ac_link"
   10296 case "(($ac_try" in
   10297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10298   *) ac_try_echo=$ac_try;;
   10299 esac
   10300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10301 $as_echo "$ac_try_echo") >&5
   10302   (eval "$ac_link") 2>conftest.er1
   10303   ac_status=$?
   10304   grep -v '^ *+' conftest.er1 >conftest.err
   10305   rm -f conftest.er1
   10306   cat conftest.err >&5
   10307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10308   (exit $ac_status); } && {
   10309 	 test -z "$ac_c_werror_flag" ||
   10310 	 test ! -s conftest.err
   10311        } && test -s conftest$ac_exeext && {
   10312 	 test "$cross_compiling" = yes ||
   10313 	 $as_test_x conftest$ac_exeext
   10314        }; then
   10315   ac_cv_lib_dld_dld_link=yes
   10316 else
   10317   $as_echo "$as_me: failed program was:" >&5
   10318 sed 's/^/| /' conftest.$ac_ext >&5
   10319 
   10320 	ac_cv_lib_dld_dld_link=no
   10321 fi
   10322 
   10323 rm -rf conftest.dSYM
   10324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10325       conftest$ac_exeext conftest.$ac_ext
   10326 LIBS=$ac_check_lib_save_LIBS
   10327 fi
   10328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10329 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10330 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10331   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10332 fi
   10333 
   10334 
   10335 fi
   10336 
   10337 
   10338 fi
   10339 
   10340 
   10341 fi
   10342 
   10343 
   10344 fi
   10345 
   10346 
   10347 fi
   10348 
   10349     ;;
   10350   esac
   10351 
   10352   if test "x$lt_cv_dlopen" != xno; then
   10353     enable_dlopen=yes
   10354   else
   10355     enable_dlopen=no
   10356   fi
   10357 
   10358   case $lt_cv_dlopen in
   10359   dlopen)
   10360     save_CPPFLAGS="$CPPFLAGS"
   10361     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10362 
   10363     save_LDFLAGS="$LDFLAGS"
   10364     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10365 
   10366     save_LIBS="$LIBS"
   10367     LIBS="$lt_cv_dlopen_libs $LIBS"
   10368 
   10369     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10370 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10371 if test "${lt_cv_dlopen_self+set}" = set; then
   10372   $as_echo_n "(cached) " >&6
   10373 else
   10374   	  if test "$cross_compiling" = yes; then :
   10375   lt_cv_dlopen_self=cross
   10376 else
   10377   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10378   lt_status=$lt_dlunknown
   10379   cat > conftest.$ac_ext <<EOF
   10380 #line 10380 "configure"
   10381 #include "confdefs.h"
   10382 
   10383 #if HAVE_DLFCN_H
   10384 #include <dlfcn.h>
   10385 #endif
   10386 
   10387 #include <stdio.h>
   10388 
   10389 #ifdef RTLD_GLOBAL
   10390 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10391 #else
   10392 #  ifdef DL_GLOBAL
   10393 #    define LT_DLGLOBAL		DL_GLOBAL
   10394 #  else
   10395 #    define LT_DLGLOBAL		0
   10396 #  endif
   10397 #endif
   10398 
   10399 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10400    find out it does not work in some platform. */
   10401 #ifndef LT_DLLAZY_OR_NOW
   10402 #  ifdef RTLD_LAZY
   10403 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10404 #  else
   10405 #    ifdef DL_LAZY
   10406 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10407 #    else
   10408 #      ifdef RTLD_NOW
   10409 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10410 #      else
   10411 #        ifdef DL_NOW
   10412 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10413 #        else
   10414 #          define LT_DLLAZY_OR_NOW	0
   10415 #        endif
   10416 #      endif
   10417 #    endif
   10418 #  endif
   10419 #endif
   10420 
   10421 #ifdef __cplusplus
   10422 extern "C" void exit (int);
   10423 #endif
   10424 
   10425 void fnord() { int i=42;}
   10426 int main ()
   10427 {
   10428   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10429   int status = $lt_dlunknown;
   10430 
   10431   if (self)
   10432     {
   10433       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10434       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10435       /* dlclose (self); */
   10436     }
   10437   else
   10438     puts (dlerror ());
   10439 
   10440     exit (status);
   10441 }
   10442 EOF
   10443   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10444   (eval $ac_link) 2>&5
   10445   ac_status=$?
   10446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10447   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10448     (./conftest; exit; ) >&5 2>/dev/null
   10449     lt_status=$?
   10450     case x$lt_status in
   10451       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10452       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10453       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10454     esac
   10455   else :
   10456     # compilation failed
   10457     lt_cv_dlopen_self=no
   10458   fi
   10459 fi
   10460 rm -fr conftest*
   10461 
   10462 
   10463 fi
   10464 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10465 $as_echo "$lt_cv_dlopen_self" >&6; }
   10466 
   10467     if test "x$lt_cv_dlopen_self" = xyes; then
   10468       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10469       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10470 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10471 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10472   $as_echo_n "(cached) " >&6
   10473 else
   10474   	  if test "$cross_compiling" = yes; then :
   10475   lt_cv_dlopen_self_static=cross
   10476 else
   10477   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10478   lt_status=$lt_dlunknown
   10479   cat > conftest.$ac_ext <<EOF
   10480 #line 10480 "configure"
   10481 #include "confdefs.h"
   10482 
   10483 #if HAVE_DLFCN_H
   10484 #include <dlfcn.h>
   10485 #endif
   10486 
   10487 #include <stdio.h>
   10488 
   10489 #ifdef RTLD_GLOBAL
   10490 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10491 #else
   10492 #  ifdef DL_GLOBAL
   10493 #    define LT_DLGLOBAL		DL_GLOBAL
   10494 #  else
   10495 #    define LT_DLGLOBAL		0
   10496 #  endif
   10497 #endif
   10498 
   10499 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10500    find out it does not work in some platform. */
   10501 #ifndef LT_DLLAZY_OR_NOW
   10502 #  ifdef RTLD_LAZY
   10503 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10504 #  else
   10505 #    ifdef DL_LAZY
   10506 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10507 #    else
   10508 #      ifdef RTLD_NOW
   10509 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10510 #      else
   10511 #        ifdef DL_NOW
   10512 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10513 #        else
   10514 #          define LT_DLLAZY_OR_NOW	0
   10515 #        endif
   10516 #      endif
   10517 #    endif
   10518 #  endif
   10519 #endif
   10520 
   10521 #ifdef __cplusplus
   10522 extern "C" void exit (int);
   10523 #endif
   10524 
   10525 void fnord() { int i=42;}
   10526 int main ()
   10527 {
   10528   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10529   int status = $lt_dlunknown;
   10530 
   10531   if (self)
   10532     {
   10533       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10534       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10535       /* dlclose (self); */
   10536     }
   10537   else
   10538     puts (dlerror ());
   10539 
   10540     exit (status);
   10541 }
   10542 EOF
   10543   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10544   (eval $ac_link) 2>&5
   10545   ac_status=$?
   10546   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10547   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10548     (./conftest; exit; ) >&5 2>/dev/null
   10549     lt_status=$?
   10550     case x$lt_status in
   10551       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10552       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10553       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10554     esac
   10555   else :
   10556     # compilation failed
   10557     lt_cv_dlopen_self_static=no
   10558   fi
   10559 fi
   10560 rm -fr conftest*
   10561 
   10562 
   10563 fi
   10564 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10565 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10566     fi
   10567 
   10568     CPPFLAGS="$save_CPPFLAGS"
   10569     LDFLAGS="$save_LDFLAGS"
   10570     LIBS="$save_LIBS"
   10571     ;;
   10572   esac
   10573 
   10574   case $lt_cv_dlopen_self in
   10575   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10576   *) enable_dlopen_self=unknown ;;
   10577   esac
   10578 
   10579   case $lt_cv_dlopen_self_static in
   10580   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10581   *) enable_dlopen_self_static=unknown ;;
   10582   esac
   10583 fi
   10584 
   10585 
   10586 # Report which library types will actually be built
   10587 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10588 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10589 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10590 $as_echo "$can_build_shared" >&6; }
   10591 
   10592 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10593 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10594 test "$can_build_shared" = "no" && enable_shared=no
   10595 
   10596 # On AIX, shared libraries and static libraries use the same namespace, and
   10597 # are all built from PIC.
   10598 case $host_os in
   10599 aix3*)
   10600   test "$enable_shared" = yes && enable_static=no
   10601   if test -n "$RANLIB"; then
   10602     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10603     postinstall_cmds='$RANLIB $lib'
   10604   fi
   10605   ;;
   10606 
   10607 aix[4-9]*)
   10608   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10609     test "$enable_shared" = yes && enable_static=no
   10610   fi
   10611     ;;
   10612 esac
   10613 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10614 $as_echo "$enable_shared" >&6; }
   10615 
   10616 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10617 $as_echo_n "checking whether to build static libraries... " >&6; }
   10618 # Make sure either enable_shared or enable_static is yes.
   10619 test "$enable_shared" = yes || enable_static=yes
   10620 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10621 $as_echo "$enable_static" >&6; }
   10622 
   10623 # The else clause should only fire when bootstrapping the
   10624 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10625 # with your package, and you will get complaints that there are
   10626 # no rules to generate ltmain.sh.
   10627 if test -f "$ltmain"; then
   10628   # See if we are running on zsh, and set the options which allow our commands through
   10629   # without removal of \ escapes.
   10630   if test -n "${ZSH_VERSION+set}" ; then
   10631     setopt NO_GLOB_SUBST
   10632   fi
   10633   # Now quote all the things that may contain metacharacters while being
   10634   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10635   # variables and quote the copies for generation of the libtool script.
   10636   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10637     SED SHELL STRIP \
   10638     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10639     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10640     deplibs_check_method reload_flag reload_cmds need_locks \
   10641     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10642     lt_cv_sys_global_symbol_to_c_name_address \
   10643     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10644     old_postinstall_cmds old_postuninstall_cmds \
   10645     compiler \
   10646     CC \
   10647     LD \
   10648     lt_prog_compiler_wl \
   10649     lt_prog_compiler_pic \
   10650     lt_prog_compiler_static \
   10651     lt_prog_compiler_no_builtin_flag \
   10652     export_dynamic_flag_spec \
   10653     thread_safe_flag_spec \
   10654     whole_archive_flag_spec \
   10655     enable_shared_with_static_runtimes \
   10656     old_archive_cmds \
   10657     old_archive_from_new_cmds \
   10658     predep_objects \
   10659     postdep_objects \
   10660     predeps \
   10661     postdeps \
   10662     compiler_lib_search_path \
   10663     compiler_lib_search_dirs \
   10664     archive_cmds \
   10665     archive_expsym_cmds \
   10666     postinstall_cmds \
   10667     postuninstall_cmds \
   10668     old_archive_from_expsyms_cmds \
   10669     allow_undefined_flag \
   10670     no_undefined_flag \
   10671     export_symbols_cmds \
   10672     hardcode_libdir_flag_spec \
   10673     hardcode_libdir_flag_spec_ld \
   10674     hardcode_libdir_separator \
   10675     hardcode_automatic \
   10676     module_cmds \
   10677     module_expsym_cmds \
   10678     lt_cv_prog_compiler_c_o \
   10679     fix_srcfile_path \
   10680     exclude_expsyms \
   10681     include_expsyms; do
   10682 
   10683     case $var in
   10684     old_archive_cmds | \
   10685     old_archive_from_new_cmds | \
   10686     archive_cmds | \
   10687     archive_expsym_cmds | \
   10688     module_cmds | \
   10689     module_expsym_cmds | \
   10690     old_archive_from_expsyms_cmds | \
   10691     export_symbols_cmds | \
   10692     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10693     postinstall_cmds | postuninstall_cmds | \
   10694     old_postinstall_cmds | old_postuninstall_cmds | \
   10695     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10696       # Double-quote double-evaled strings.
   10697       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10698       ;;
   10699     *)
   10700       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10701       ;;
   10702     esac
   10703   done
   10704 
   10705   case $lt_echo in
   10706   *'\$0 --fallback-echo"')
   10707     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10708     ;;
   10709   esac
   10710 
   10711 cfgfile="${ofile}T"
   10712   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10713   $rm -f "$cfgfile"
   10714   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10715 $as_echo "$as_me: creating $ofile" >&6;}
   10716 
   10717   cat <<__EOF__ >> "$cfgfile"
   10718 #! $SHELL
   10719 
   10720 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10721 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10722 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10723 #
   10724 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10725 # Free Software Foundation, Inc.
   10726 #
   10727 # This file is part of GNU Libtool:
   10728 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10729 #
   10730 # This program is free software; you can redistribute it and/or modify
   10731 # it under the terms of the GNU General Public License as published by
   10732 # the Free Software Foundation; either version 2 of the License, or
   10733 # (at your option) any later version.
   10734 #
   10735 # This program is distributed in the hope that it will be useful, but
   10736 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10737 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10738 # General Public License for more details.
   10739 #
   10740 # You should have received a copy of the GNU General Public License
   10741 # along with this program; if not, write to the Free Software
   10742 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10743 #
   10744 # As a special exception to the GNU General Public License, if you
   10745 # distribute this file as part of a program that contains a
   10746 # configuration script generated by Autoconf, you may include it under
   10747 # the same distribution terms that you use for the rest of that program.
   10748 
   10749 # A sed program that does not truncate output.
   10750 SED=$lt_SED
   10751 
   10752 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10753 Xsed="$SED -e 1s/^X//"
   10754 
   10755 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10756 # if CDPATH is set.
   10757 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10758 
   10759 # The names of the tagged configurations supported by this script.
   10760 available_tags=
   10761 
   10762 # ### BEGIN LIBTOOL CONFIG
   10763 
   10764 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10765 
   10766 # Shell to use when invoking shell scripts.
   10767 SHELL=$lt_SHELL
   10768 
   10769 # Whether or not to build shared libraries.
   10770 build_libtool_libs=$enable_shared
   10771 
   10772 # Whether or not to build static libraries.
   10773 build_old_libs=$enable_static
   10774 
   10775 # Whether or not to add -lc for building shared libraries.
   10776 build_libtool_need_lc=$archive_cmds_need_lc
   10777 
   10778 # Whether or not to disallow shared libs when runtime libs are static
   10779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10780 
   10781 # Whether or not to optimize for fast installation.
   10782 fast_install=$enable_fast_install
   10783 
   10784 # The host system.
   10785 host_alias=$host_alias
   10786 host=$host
   10787 host_os=$host_os
   10788 
   10789 # The build system.
   10790 build_alias=$build_alias
   10791 build=$build
   10792 build_os=$build_os
   10793 
   10794 # An echo program that does not interpret backslashes.
   10795 echo=$lt_echo
   10796 
   10797 # The archiver.
   10798 AR=$lt_AR
   10799 AR_FLAGS=$lt_AR_FLAGS
   10800 
   10801 # A C compiler.
   10802 LTCC=$lt_LTCC
   10803 
   10804 # LTCC compiler flags.
   10805 LTCFLAGS=$lt_LTCFLAGS
   10806 
   10807 # A language-specific compiler.
   10808 CC=$lt_compiler
   10809 
   10810 # Is the compiler the GNU C compiler?
   10811 with_gcc=$GCC
   10812 
   10813 # An ERE matcher.
   10814 EGREP=$lt_EGREP
   10815 
   10816 # The linker used to build libraries.
   10817 LD=$lt_LD
   10818 
   10819 # Whether we need hard or soft links.
   10820 LN_S=$lt_LN_S
   10821 
   10822 # A BSD-compatible nm program.
   10823 NM=$lt_NM
   10824 
   10825 # A symbol stripping program
   10826 STRIP=$lt_STRIP
   10827 
   10828 # Used to examine libraries when file_magic_cmd begins "file"
   10829 MAGIC_CMD=$MAGIC_CMD
   10830 
   10831 # Used on cygwin: DLL creation program.
   10832 DLLTOOL="$DLLTOOL"
   10833 
   10834 # Used on cygwin: object dumper.
   10835 OBJDUMP="$OBJDUMP"
   10836 
   10837 # Used on cygwin: assembler.
   10838 AS="$AS"
   10839 
   10840 # The name of the directory that contains temporary libtool files.
   10841 objdir=$objdir
   10842 
   10843 # How to create reloadable object files.
   10844 reload_flag=$lt_reload_flag
   10845 reload_cmds=$lt_reload_cmds
   10846 
   10847 # How to pass a linker flag through the compiler.
   10848 wl=$lt_lt_prog_compiler_wl
   10849 
   10850 # Object file suffix (normally "o").
   10851 objext="$ac_objext"
   10852 
   10853 # Old archive suffix (normally "a").
   10854 libext="$libext"
   10855 
   10856 # Shared library suffix (normally ".so").
   10857 shrext_cmds='$shrext_cmds'
   10858 
   10859 # Executable file suffix (normally "").
   10860 exeext="$exeext"
   10861 
   10862 # Additional compiler flags for building library objects.
   10863 pic_flag=$lt_lt_prog_compiler_pic
   10864 pic_mode=$pic_mode
   10865 
   10866 # What is the maximum length of a command?
   10867 max_cmd_len=$lt_cv_sys_max_cmd_len
   10868 
   10869 # Does compiler simultaneously support -c and -o options?
   10870 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10871 
   10872 # Must we lock files when doing compilation?
   10873 need_locks=$lt_need_locks
   10874 
   10875 # Do we need the lib prefix for modules?
   10876 need_lib_prefix=$need_lib_prefix
   10877 
   10878 # Do we need a version for libraries?
   10879 need_version=$need_version
   10880 
   10881 # Whether dlopen is supported.
   10882 dlopen_support=$enable_dlopen
   10883 
   10884 # Whether dlopen of programs is supported.
   10885 dlopen_self=$enable_dlopen_self
   10886 
   10887 # Whether dlopen of statically linked programs is supported.
   10888 dlopen_self_static=$enable_dlopen_self_static
   10889 
   10890 # Compiler flag to prevent dynamic linking.
   10891 link_static_flag=$lt_lt_prog_compiler_static
   10892 
   10893 # Compiler flag to turn off builtin functions.
   10894 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10895 
   10896 # Compiler flag to allow reflexive dlopens.
   10897 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10898 
   10899 # Compiler flag to generate shared objects directly from archives.
   10900 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10901 
   10902 # Compiler flag to generate thread-safe objects.
   10903 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10904 
   10905 # Library versioning type.
   10906 version_type=$version_type
   10907 
   10908 # Format of library name prefix.
   10909 libname_spec=$lt_libname_spec
   10910 
   10911 # List of archive names.  First name is the real one, the rest are links.
   10912 # The last name is the one that the linker finds with -lNAME.
   10913 library_names_spec=$lt_library_names_spec
   10914 
   10915 # The coded name of the library, if different from the real name.
   10916 soname_spec=$lt_soname_spec
   10917 
   10918 # Commands used to build and install an old-style archive.
   10919 RANLIB=$lt_RANLIB
   10920 old_archive_cmds=$lt_old_archive_cmds
   10921 old_postinstall_cmds=$lt_old_postinstall_cmds
   10922 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10923 
   10924 # Create an old-style archive from a shared archive.
   10925 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10926 
   10927 # Create a temporary old-style archive to link instead of a shared archive.
   10928 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10929 
   10930 # Commands used to build and install a shared archive.
   10931 archive_cmds=$lt_archive_cmds
   10932 archive_expsym_cmds=$lt_archive_expsym_cmds
   10933 postinstall_cmds=$lt_postinstall_cmds
   10934 postuninstall_cmds=$lt_postuninstall_cmds
   10935 
   10936 # Commands used to build a loadable module (assumed same as above if empty)
   10937 module_cmds=$lt_module_cmds
   10938 module_expsym_cmds=$lt_module_expsym_cmds
   10939 
   10940 # Commands to strip libraries.
   10941 old_striplib=$lt_old_striplib
   10942 striplib=$lt_striplib
   10943 
   10944 # Dependencies to place before the objects being linked to create a
   10945 # shared library.
   10946 predep_objects=$lt_predep_objects
   10947 
   10948 # Dependencies to place after the objects being linked to create a
   10949 # shared library.
   10950 postdep_objects=$lt_postdep_objects
   10951 
   10952 # Dependencies to place before the objects being linked to create a
   10953 # shared library.
   10954 predeps=$lt_predeps
   10955 
   10956 # Dependencies to place after the objects being linked to create a
   10957 # shared library.
   10958 postdeps=$lt_postdeps
   10959 
   10960 # The directories searched by this compiler when creating a shared
   10961 # library
   10962 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   10963 
   10964 # The library search path used internally by the compiler when linking
   10965 # a shared library.
   10966 compiler_lib_search_path=$lt_compiler_lib_search_path
   10967 
   10968 # Method to check whether dependent libraries are shared objects.
   10969 deplibs_check_method=$lt_deplibs_check_method
   10970 
   10971 # Command to use when deplibs_check_method == file_magic.
   10972 file_magic_cmd=$lt_file_magic_cmd
   10973 
   10974 # Flag that allows shared libraries with undefined symbols to be built.
   10975 allow_undefined_flag=$lt_allow_undefined_flag
   10976 
   10977 # Flag that forces no undefined symbols.
   10978 no_undefined_flag=$lt_no_undefined_flag
   10979 
   10980 # Commands used to finish a libtool library installation in a directory.
   10981 finish_cmds=$lt_finish_cmds
   10982 
   10983 # Same as above, but a single script fragment to be evaled but not shown.
   10984 finish_eval=$lt_finish_eval
   10985 
   10986 # Take the output of nm and produce a listing of raw symbols and C names.
   10987 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10988 
   10989 # Transform the output of nm in a proper C declaration
   10990 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10991 
   10992 # Transform the output of nm in a C name address pair
   10993 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10994 
   10995 # This is the shared library runtime path variable.
   10996 runpath_var=$runpath_var
   10997 
   10998 # This is the shared library path variable.
   10999 shlibpath_var=$shlibpath_var
   11000 
   11001 # Is shlibpath searched before the hard-coded library search path?
   11002 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11003 
   11004 # How to hardcode a shared library path into an executable.
   11005 hardcode_action=$hardcode_action
   11006 
   11007 # Whether we should hardcode library paths into libraries.
   11008 hardcode_into_libs=$hardcode_into_libs
   11009 
   11010 # Flag to hardcode \$libdir into a binary during linking.
   11011 # This must work even if \$libdir does not exist.
   11012 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11013 
   11014 # If ld is used when linking, flag to hardcode \$libdir into
   11015 # a binary during linking. This must work even if \$libdir does
   11016 # not exist.
   11017 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11018 
   11019 # Whether we need a single -rpath flag with a separated argument.
   11020 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11021 
   11022 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11023 # resulting binary.
   11024 hardcode_direct=$hardcode_direct
   11025 
   11026 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11027 # resulting binary.
   11028 hardcode_minus_L=$hardcode_minus_L
   11029 
   11030 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11031 # the resulting binary.
   11032 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11033 
   11034 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11035 # and all subsequent libraries and executables linked against it.
   11036 hardcode_automatic=$hardcode_automatic
   11037 
   11038 # Variables whose values should be saved in libtool wrapper scripts and
   11039 # restored at relink time.
   11040 variables_saved_for_relink="$variables_saved_for_relink"
   11041 
   11042 # Whether libtool must link a program against all its dependency libraries.
   11043 link_all_deplibs=$link_all_deplibs
   11044 
   11045 # Compile-time system search path for libraries
   11046 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11047 
   11048 # Run-time system search path for libraries
   11049 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11050 
   11051 # Fix the shell variable \$srcfile for the compiler.
   11052 fix_srcfile_path=$lt_fix_srcfile_path
   11053 
   11054 # Set to yes if exported symbols are required.
   11055 always_export_symbols=$always_export_symbols
   11056 
   11057 # The commands to list exported symbols.
   11058 export_symbols_cmds=$lt_export_symbols_cmds
   11059 
   11060 # The commands to extract the exported symbol list from a shared archive.
   11061 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11062 
   11063 # Symbols that should not be listed in the preloaded symbols.
   11064 exclude_expsyms=$lt_exclude_expsyms
   11065 
   11066 # Symbols that must always be exported.
   11067 include_expsyms=$lt_include_expsyms
   11068 
   11069 # ### END LIBTOOL CONFIG
   11070 
   11071 __EOF__
   11072 
   11073 
   11074   case $host_os in
   11075   aix3*)
   11076     cat <<\EOF >> "$cfgfile"
   11077 
   11078 # AIX sometimes has problems with the GCC collect2 program.  For some
   11079 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11080 # vanish in a puff of smoke.
   11081 if test "X${COLLECT_NAMES+set}" != Xset; then
   11082   COLLECT_NAMES=
   11083   export COLLECT_NAMES
   11084 fi
   11085 EOF
   11086     ;;
   11087   esac
   11088 
   11089   # We use sed instead of cat because bash on DJGPP gets confused if
   11090   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11091   # text mode, it properly converts lines to CR/LF.  This bash problem
   11092   # is reportedly fixed, but why not run on old versions too?
   11093   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11094 
   11095   mv -f "$cfgfile" "$ofile" || \
   11096     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11097   chmod +x "$ofile"
   11098 
   11099 else
   11100   # If there is no Makefile yet, we rely on a make rule to execute
   11101   # `config.status --recheck' to rerun these tests and create the
   11102   # libtool script then.
   11103   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11104   if test -f "$ltmain_in"; then
   11105     test -f Makefile && make "$ltmain"
   11106   fi
   11107 fi
   11108 
   11109 
   11110 ac_ext=c
   11111 ac_cpp='$CPP $CPPFLAGS'
   11112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11115 
   11116 CC="$lt_save_CC"
   11117 
   11118 
   11119 # Check whether --with-tags was given.
   11120 if test "${with_tags+set}" = set; then
   11121   withval=$with_tags; tagnames="$withval"
   11122 fi
   11123 
   11124 
   11125 if test -f "$ltmain" && test -n "$tagnames"; then
   11126   if test ! -f "${ofile}"; then
   11127     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11128 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11129   fi
   11130 
   11131   if test -z "$LTCC"; then
   11132     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11133     if test -z "$LTCC"; then
   11134       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11135 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11136     else
   11137       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11138 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11139     fi
   11140   fi
   11141   if test -z "$LTCFLAGS"; then
   11142     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11143   fi
   11144 
   11145   # Extract list of available tagged configurations in $ofile.
   11146   # Note that this assumes the entire list is on one line.
   11147   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11148 
   11149   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11150   for tagname in $tagnames; do
   11151     IFS="$lt_save_ifs"
   11152     # Check whether tagname contains only valid characters
   11153     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11154     "") ;;
   11155     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11156 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11157    { (exit 1); exit 1; }; }
   11158 	;;
   11159     esac
   11160 
   11161     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11162     then
   11163       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11164 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11165    { (exit 1); exit 1; }; }
   11166     fi
   11167 
   11168     # Update the list of available tags.
   11169     if test -n "$tagname"; then
   11170       echo appending configuration tag \"$tagname\" to $ofile
   11171 
   11172       case $tagname in
   11173       CXX)
   11174 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11175 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11176 	    (test "X$CXX" != "Xg++"))) ; then
   11177 	  ac_ext=cpp
   11178 ac_cpp='$CXXCPP $CPPFLAGS'
   11179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11182 
   11183 
   11184 
   11185 
   11186 archive_cmds_need_lc_CXX=no
   11187 allow_undefined_flag_CXX=
   11188 always_export_symbols_CXX=no
   11189 archive_expsym_cmds_CXX=
   11190 export_dynamic_flag_spec_CXX=
   11191 hardcode_direct_CXX=no
   11192 hardcode_libdir_flag_spec_CXX=
   11193 hardcode_libdir_flag_spec_ld_CXX=
   11194 hardcode_libdir_separator_CXX=
   11195 hardcode_minus_L_CXX=no
   11196 hardcode_shlibpath_var_CXX=unsupported
   11197 hardcode_automatic_CXX=no
   11198 module_cmds_CXX=
   11199 module_expsym_cmds_CXX=
   11200 link_all_deplibs_CXX=unknown
   11201 old_archive_cmds_CXX=$old_archive_cmds
   11202 no_undefined_flag_CXX=
   11203 whole_archive_flag_spec_CXX=
   11204 enable_shared_with_static_runtimes_CXX=no
   11205 
   11206 # Dependencies to place before and after the object being linked:
   11207 predep_objects_CXX=
   11208 postdep_objects_CXX=
   11209 predeps_CXX=
   11210 postdeps_CXX=
   11211 compiler_lib_search_path_CXX=
   11212 compiler_lib_search_dirs_CXX=
   11213 
   11214 # Source file extension for C++ test sources.
   11215 ac_ext=cpp
   11216 
   11217 # Object file extension for compiled C++ test sources.
   11218 objext=o
   11219 objext_CXX=$objext
   11220 
   11221 # Code to be used in simple compile tests
   11222 lt_simple_compile_test_code="int some_variable = 0;"
   11223 
   11224 # Code to be used in simple link tests
   11225 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11226 
   11227 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11228 
   11229 # If no C compiler was specified, use CC.
   11230 LTCC=${LTCC-"$CC"}
   11231 
   11232 # If no C compiler flags were specified, use CFLAGS.
   11233 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11234 
   11235 # Allow CC to be a program name with arguments.
   11236 compiler=$CC
   11237 
   11238 
   11239 # save warnings/boilerplate of simple test code
   11240 ac_outfile=conftest.$ac_objext
   11241 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11242 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11243 _lt_compiler_boilerplate=`cat conftest.err`
   11244 $rm conftest*
   11245 
   11246 ac_outfile=conftest.$ac_objext
   11247 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11248 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11249 _lt_linker_boilerplate=`cat conftest.err`
   11250 $rm -r conftest*
   11251 
   11252 
   11253 # Allow CC to be a program name with arguments.
   11254 lt_save_CC=$CC
   11255 lt_save_LD=$LD
   11256 lt_save_GCC=$GCC
   11257 GCC=$GXX
   11258 lt_save_with_gnu_ld=$with_gnu_ld
   11259 lt_save_path_LD=$lt_cv_path_LD
   11260 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11261   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11262 else
   11263   $as_unset lt_cv_prog_gnu_ld
   11264 fi
   11265 if test -n "${lt_cv_path_LDCXX+set}"; then
   11266   lt_cv_path_LD=$lt_cv_path_LDCXX
   11267 else
   11268   $as_unset lt_cv_path_LD
   11269 fi
   11270 test -z "${LDCXX+set}" || LD=$LDCXX
   11271 CC=${CXX-"c++"}
   11272 compiler=$CC
   11273 compiler_CXX=$CC
   11274 for cc_temp in $compiler""; do
   11275   case $cc_temp in
   11276     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11277     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11278     \-*) ;;
   11279     *) break;;
   11280   esac
   11281 done
   11282 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11283 
   11284 
   11285 # We don't want -fno-exception wen compiling C++ code, so set the
   11286 # no_builtin_flag separately
   11287 if test "$GXX" = yes; then
   11288   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11289 else
   11290   lt_prog_compiler_no_builtin_flag_CXX=
   11291 fi
   11292 
   11293 if test "$GXX" = yes; then
   11294   # Set up default GNU C++ configuration
   11295 
   11296 
   11297 # Check whether --with-gnu-ld was given.
   11298 if test "${with_gnu_ld+set}" = set; then
   11299   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11300 else
   11301   with_gnu_ld=no
   11302 fi
   11303 
   11304 ac_prog=ld
   11305 if test "$GCC" = yes; then
   11306   # Check if gcc -print-prog-name=ld gives a path.
   11307   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11308 $as_echo_n "checking for ld used by $CC... " >&6; }
   11309   case $host in
   11310   *-*-mingw*)
   11311     # gcc leaves a trailing carriage return which upsets mingw
   11312     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11313   *)
   11314     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11315   esac
   11316   case $ac_prog in
   11317     # Accept absolute paths.
   11318     [\\/]* | ?:[\\/]*)
   11319       re_direlt='/[^/][^/]*/\.\./'
   11320       # Canonicalize the pathname of ld
   11321       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11322       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11323 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11324       done
   11325       test -z "$LD" && LD="$ac_prog"
   11326       ;;
   11327   "")
   11328     # If it fails, then pretend we aren't using GCC.
   11329     ac_prog=ld
   11330     ;;
   11331   *)
   11332     # If it is relative, then search for the first ld in PATH.
   11333     with_gnu_ld=unknown
   11334     ;;
   11335   esac
   11336 elif test "$with_gnu_ld" = yes; then
   11337   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11338 $as_echo_n "checking for GNU ld... " >&6; }
   11339 else
   11340   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11341 $as_echo_n "checking for non-GNU ld... " >&6; }
   11342 fi
   11343 if test "${lt_cv_path_LD+set}" = set; then
   11344   $as_echo_n "(cached) " >&6
   11345 else
   11346   if test -z "$LD"; then
   11347   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11348   for ac_dir in $PATH; do
   11349     IFS="$lt_save_ifs"
   11350     test -z "$ac_dir" && ac_dir=.
   11351     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11352       lt_cv_path_LD="$ac_dir/$ac_prog"
   11353       # Check to see if the program is GNU ld.  I'd rather use --version,
   11354       # but apparently some variants of GNU ld only accept -v.
   11355       # Break only if it was the GNU/non-GNU ld that we prefer.
   11356       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11357       *GNU* | *'with BFD'*)
   11358 	test "$with_gnu_ld" != no && break
   11359 	;;
   11360       *)
   11361 	test "$with_gnu_ld" != yes && break
   11362 	;;
   11363       esac
   11364     fi
   11365   done
   11366   IFS="$lt_save_ifs"
   11367 else
   11368   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11369 fi
   11370 fi
   11371 
   11372 LD="$lt_cv_path_LD"
   11373 if test -n "$LD"; then
   11374   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11375 $as_echo "$LD" >&6; }
   11376 else
   11377   { $as_echo "$as_me:$LINENO: result: no" >&5
   11378 $as_echo "no" >&6; }
   11379 fi
   11380 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11381 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11382    { (exit 1); exit 1; }; }
   11383 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11384 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11385 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11386   $as_echo_n "(cached) " >&6
   11387 else
   11388   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11389 case `$LD -v 2>&1 </dev/null` in
   11390 *GNU* | *'with BFD'*)
   11391   lt_cv_prog_gnu_ld=yes
   11392   ;;
   11393 *)
   11394   lt_cv_prog_gnu_ld=no
   11395   ;;
   11396 esac
   11397 fi
   11398 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11399 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11400 with_gnu_ld=$lt_cv_prog_gnu_ld
   11401 
   11402 
   11403 
   11404   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11405   # archiving commands below assume that GNU ld is being used.
   11406   if test "$with_gnu_ld" = yes; then
   11407     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11408     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'
   11409 
   11410     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11411     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11412 
   11413     # If archive_cmds runs LD, not CC, wlarc should be empty
   11414     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11415     #     investigate it a little bit more. (MM)
   11416     wlarc='${wl}'
   11417 
   11418     # ancient GNU ld didn't support --whole-archive et. al.
   11419     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11420 	grep 'no-whole-archive' > /dev/null; then
   11421       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11422     else
   11423       whole_archive_flag_spec_CXX=
   11424     fi
   11425   else
   11426     with_gnu_ld=no
   11427     wlarc=
   11428 
   11429     # A generic and very simple default shared library creation
   11430     # command for GNU C++ for the case where it uses the native
   11431     # linker, instead of GNU ld.  If possible, this setting should
   11432     # overridden to take advantage of the native linker features on
   11433     # the platform it is being used on.
   11434     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11435   fi
   11436 
   11437   # Commands to make compiler produce verbose output that lists
   11438   # what "hidden" libraries, object files and flags are used when
   11439   # linking a shared library.
   11440   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11441 
   11442 else
   11443   GXX=no
   11444   with_gnu_ld=no
   11445   wlarc=
   11446 fi
   11447 
   11448 # PORTME: fill in a description of your system's C++ link characteristics
   11449 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11450 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11451 ld_shlibs_CXX=yes
   11452 case $host_os in
   11453   aix3*)
   11454     # FIXME: insert proper C++ library support
   11455     ld_shlibs_CXX=no
   11456     ;;
   11457   aix[4-9]*)
   11458     if test "$host_cpu" = ia64; then
   11459       # On IA64, the linker does run time linking by default, so we don't
   11460       # have to do anything special.
   11461       aix_use_runtimelinking=no
   11462       exp_sym_flag='-Bexport'
   11463       no_entry_flag=""
   11464     else
   11465       aix_use_runtimelinking=no
   11466 
   11467       # Test if we are trying to use run time linking or normal
   11468       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11469       # need to do runtime linking.
   11470       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11471 	for ld_flag in $LDFLAGS; do
   11472 	  case $ld_flag in
   11473 	  *-brtl*)
   11474 	    aix_use_runtimelinking=yes
   11475 	    break
   11476 	    ;;
   11477 	  esac
   11478 	done
   11479 	;;
   11480       esac
   11481 
   11482       exp_sym_flag='-bexport'
   11483       no_entry_flag='-bnoentry'
   11484     fi
   11485 
   11486     # When large executables or shared objects are built, AIX ld can
   11487     # have problems creating the table of contents.  If linking a library
   11488     # or program results in "error TOC overflow" add -mminimal-toc to
   11489     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11490     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11491 
   11492     archive_cmds_CXX=''
   11493     hardcode_direct_CXX=yes
   11494     hardcode_libdir_separator_CXX=':'
   11495     link_all_deplibs_CXX=yes
   11496 
   11497     if test "$GXX" = yes; then
   11498       case $host_os in aix4.[012]|aix4.[012].*)
   11499       # We only want to do this on AIX 4.2 and lower, the check
   11500       # below for broken collect2 doesn't work under 4.3+
   11501 	collect2name=`${CC} -print-prog-name=collect2`
   11502 	if test -f "$collect2name" && \
   11503 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11504 	then
   11505 	  # We have reworked collect2
   11506 	  :
   11507 	else
   11508 	  # We have old collect2
   11509 	  hardcode_direct_CXX=unsupported
   11510 	  # It fails to find uninstalled libraries when the uninstalled
   11511 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11512 	  # to unsupported forces relinking
   11513 	  hardcode_minus_L_CXX=yes
   11514 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11515 	  hardcode_libdir_separator_CXX=
   11516 	fi
   11517 	;;
   11518       esac
   11519       shared_flag='-shared'
   11520       if test "$aix_use_runtimelinking" = yes; then
   11521 	shared_flag="$shared_flag "'${wl}-G'
   11522       fi
   11523     else
   11524       # not using gcc
   11525       if test "$host_cpu" = ia64; then
   11526 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11527 	# chokes on -Wl,-G. The following line is correct:
   11528 	shared_flag='-G'
   11529       else
   11530 	if test "$aix_use_runtimelinking" = yes; then
   11531 	  shared_flag='${wl}-G'
   11532 	else
   11533 	  shared_flag='${wl}-bM:SRE'
   11534 	fi
   11535       fi
   11536     fi
   11537 
   11538     # It seems that -bexpall does not export symbols beginning with
   11539     # underscore (_), so it is better to generate a list of symbols to export.
   11540     always_export_symbols_CXX=yes
   11541     if test "$aix_use_runtimelinking" = yes; then
   11542       # Warning - without using the other runtime loading flags (-brtl),
   11543       # -berok will link without error, but may produce a broken library.
   11544       allow_undefined_flag_CXX='-berok'
   11545       # Determine the default libpath from the value encoded in an empty executable.
   11546       cat >conftest.$ac_ext <<_ACEOF
   11547 /* confdefs.h.  */
   11548 _ACEOF
   11549 cat confdefs.h >>conftest.$ac_ext
   11550 cat >>conftest.$ac_ext <<_ACEOF
   11551 /* end confdefs.h.  */
   11552 
   11553 int
   11554 main ()
   11555 {
   11556 
   11557   ;
   11558   return 0;
   11559 }
   11560 _ACEOF
   11561 rm -f conftest.$ac_objext conftest$ac_exeext
   11562 if { (ac_try="$ac_link"
   11563 case "(($ac_try" in
   11564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11565   *) ac_try_echo=$ac_try;;
   11566 esac
   11567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11568 $as_echo "$ac_try_echo") >&5
   11569   (eval "$ac_link") 2>conftest.er1
   11570   ac_status=$?
   11571   grep -v '^ *+' conftest.er1 >conftest.err
   11572   rm -f conftest.er1
   11573   cat conftest.err >&5
   11574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11575   (exit $ac_status); } && {
   11576 	 test -z "$ac_cxx_werror_flag" ||
   11577 	 test ! -s conftest.err
   11578        } && test -s conftest$ac_exeext && {
   11579 	 test "$cross_compiling" = yes ||
   11580 	 $as_test_x conftest$ac_exeext
   11581        }; then
   11582 
   11583 lt_aix_libpath_sed='
   11584     /Import File Strings/,/^$/ {
   11585 	/^0/ {
   11586 	    s/^0  *\(.*\)$/\1/
   11587 	    p
   11588 	}
   11589     }'
   11590 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11591 # Check for a 64-bit object if we didn't find anything.
   11592 if test -z "$aix_libpath"; then
   11593   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11594 fi
   11595 else
   11596   $as_echo "$as_me: failed program was:" >&5
   11597 sed 's/^/| /' conftest.$ac_ext >&5
   11598 
   11599 
   11600 fi
   11601 
   11602 rm -rf conftest.dSYM
   11603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11604       conftest$ac_exeext conftest.$ac_ext
   11605 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11606 
   11607       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11608 
   11609       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"
   11610      else
   11611       if test "$host_cpu" = ia64; then
   11612 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11613 	allow_undefined_flag_CXX="-z nodefs"
   11614 	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"
   11615       else
   11616 	# Determine the default libpath from the value encoded in an empty executable.
   11617 	cat >conftest.$ac_ext <<_ACEOF
   11618 /* confdefs.h.  */
   11619 _ACEOF
   11620 cat confdefs.h >>conftest.$ac_ext
   11621 cat >>conftest.$ac_ext <<_ACEOF
   11622 /* end confdefs.h.  */
   11623 
   11624 int
   11625 main ()
   11626 {
   11627 
   11628   ;
   11629   return 0;
   11630 }
   11631 _ACEOF
   11632 rm -f conftest.$ac_objext conftest$ac_exeext
   11633 if { (ac_try="$ac_link"
   11634 case "(($ac_try" in
   11635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11636   *) ac_try_echo=$ac_try;;
   11637 esac
   11638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11639 $as_echo "$ac_try_echo") >&5
   11640   (eval "$ac_link") 2>conftest.er1
   11641   ac_status=$?
   11642   grep -v '^ *+' conftest.er1 >conftest.err
   11643   rm -f conftest.er1
   11644   cat conftest.err >&5
   11645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11646   (exit $ac_status); } && {
   11647 	 test -z "$ac_cxx_werror_flag" ||
   11648 	 test ! -s conftest.err
   11649        } && test -s conftest$ac_exeext && {
   11650 	 test "$cross_compiling" = yes ||
   11651 	 $as_test_x conftest$ac_exeext
   11652        }; then
   11653 
   11654 lt_aix_libpath_sed='
   11655     /Import File Strings/,/^$/ {
   11656 	/^0/ {
   11657 	    s/^0  *\(.*\)$/\1/
   11658 	    p
   11659 	}
   11660     }'
   11661 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11662 # Check for a 64-bit object if we didn't find anything.
   11663 if test -z "$aix_libpath"; then
   11664   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11665 fi
   11666 else
   11667   $as_echo "$as_me: failed program was:" >&5
   11668 sed 's/^/| /' conftest.$ac_ext >&5
   11669 
   11670 
   11671 fi
   11672 
   11673 rm -rf conftest.dSYM
   11674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11675       conftest$ac_exeext conftest.$ac_ext
   11676 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11677 
   11678 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11679 	# Warning - without using the other run time loading flags,
   11680 	# -berok will link without error, but may produce a broken library.
   11681 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11682 	allow_undefined_flag_CXX=' ${wl}-berok'
   11683 	# Exported symbols can be pulled into shared objects from archives
   11684 	whole_archive_flag_spec_CXX='$convenience'
   11685 	archive_cmds_need_lc_CXX=yes
   11686 	# This is similar to how AIX traditionally builds its shared libraries.
   11687 	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'
   11688       fi
   11689     fi
   11690     ;;
   11691 
   11692   beos*)
   11693     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11694       allow_undefined_flag_CXX=unsupported
   11695       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11696       # support --undefined.  This deserves some investigation.  FIXME
   11697       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11698     else
   11699       ld_shlibs_CXX=no
   11700     fi
   11701     ;;
   11702 
   11703   chorus*)
   11704     case $cc_basename in
   11705       *)
   11706 	# FIXME: insert proper C++ library support
   11707 	ld_shlibs_CXX=no
   11708 	;;
   11709     esac
   11710     ;;
   11711 
   11712   cygwin* | mingw* | pw32*)
   11713     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11714     # as there is no search path for DLLs.
   11715     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11716     allow_undefined_flag_CXX=unsupported
   11717     always_export_symbols_CXX=no
   11718     enable_shared_with_static_runtimes_CXX=yes
   11719 
   11720     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11721       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'
   11722       # If the export-symbols file already is a .def file (1st line
   11723       # is EXPORTS), use it as is; otherwise, prepend...
   11724       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11725 	cp $export_symbols $output_objdir/$soname.def;
   11726       else
   11727 	echo EXPORTS > $output_objdir/$soname.def;
   11728 	cat $export_symbols >> $output_objdir/$soname.def;
   11729       fi~
   11730       $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'
   11731     else
   11732       ld_shlibs_CXX=no
   11733     fi
   11734   ;;
   11735       darwin* | rhapsody*)
   11736       archive_cmds_need_lc_CXX=no
   11737       hardcode_direct_CXX=no
   11738       hardcode_automatic_CXX=yes
   11739       hardcode_shlibpath_var_CXX=unsupported
   11740       whole_archive_flag_spec_CXX=''
   11741       link_all_deplibs_CXX=yes
   11742       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11743       if test "$GXX" = yes ; then
   11744       output_verbose_link_cmd='echo'
   11745       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}"
   11746       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11747       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}"
   11748       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}"
   11749       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11750         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}"
   11751         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}"
   11752       fi
   11753       else
   11754       case $cc_basename in
   11755         xlc*)
   11756          output_verbose_link_cmd='echo'
   11757           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'
   11758           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11759           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11760           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}'
   11761           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}'
   11762           ;;
   11763        *)
   11764          ld_shlibs_CXX=no
   11765           ;;
   11766       esac
   11767       fi
   11768         ;;
   11769 
   11770   dgux*)
   11771     case $cc_basename in
   11772       ec++*)
   11773 	# FIXME: insert proper C++ library support
   11774 	ld_shlibs_CXX=no
   11775 	;;
   11776       ghcx*)
   11777 	# Green Hills C++ Compiler
   11778 	# FIXME: insert proper C++ library support
   11779 	ld_shlibs_CXX=no
   11780 	;;
   11781       *)
   11782 	# FIXME: insert proper C++ library support
   11783 	ld_shlibs_CXX=no
   11784 	;;
   11785     esac
   11786     ;;
   11787   freebsd[12]*)
   11788     # C++ shared libraries reported to be fairly broken before switch to ELF
   11789     ld_shlibs_CXX=no
   11790     ;;
   11791   freebsd-elf*)
   11792     archive_cmds_need_lc_CXX=no
   11793     ;;
   11794   freebsd* | dragonfly*)
   11795     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11796     # conventions
   11797     ld_shlibs_CXX=yes
   11798     ;;
   11799   gnu*)
   11800     ;;
   11801   hpux9*)
   11802     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11803     hardcode_libdir_separator_CXX=:
   11804     export_dynamic_flag_spec_CXX='${wl}-E'
   11805     hardcode_direct_CXX=yes
   11806     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11807 				# but as the default
   11808 				# location of the library.
   11809 
   11810     case $cc_basename in
   11811     CC*)
   11812       # FIXME: insert proper C++ library support
   11813       ld_shlibs_CXX=no
   11814       ;;
   11815     aCC*)
   11816       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'
   11817       # Commands to make compiler produce verbose output that lists
   11818       # what "hidden" libraries, object files and flags are used when
   11819       # linking a shared library.
   11820       #
   11821       # There doesn't appear to be a way to prevent this compiler from
   11822       # explicitly linking system object files so we need to strip them
   11823       # from the output so that they don't get included in the library
   11824       # dependencies.
   11825       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'
   11826       ;;
   11827     *)
   11828       if test "$GXX" = yes; then
   11829         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'
   11830       else
   11831         # FIXME: insert proper C++ library support
   11832         ld_shlibs_CXX=no
   11833       fi
   11834       ;;
   11835     esac
   11836     ;;
   11837   hpux10*|hpux11*)
   11838     if test $with_gnu_ld = no; then
   11839       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11840       hardcode_libdir_separator_CXX=:
   11841 
   11842       case $host_cpu in
   11843       hppa*64*|ia64*) ;;
   11844       *)
   11845 	export_dynamic_flag_spec_CXX='${wl}-E'
   11846         ;;
   11847       esac
   11848     fi
   11849     case $host_cpu in
   11850     hppa*64*|ia64*)
   11851       hardcode_direct_CXX=no
   11852       hardcode_shlibpath_var_CXX=no
   11853       ;;
   11854     *)
   11855       hardcode_direct_CXX=yes
   11856       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11857 					      # but as the default
   11858 					      # location of the library.
   11859       ;;
   11860     esac
   11861 
   11862     case $cc_basename in
   11863       CC*)
   11864 	# FIXME: insert proper C++ library support
   11865 	ld_shlibs_CXX=no
   11866 	;;
   11867       aCC*)
   11868 	case $host_cpu in
   11869 	hppa*64*)
   11870 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11871 	  ;;
   11872 	ia64*)
   11873 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11874 	  ;;
   11875 	*)
   11876 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11877 	  ;;
   11878 	esac
   11879 	# Commands to make compiler produce verbose output that lists
   11880 	# what "hidden" libraries, object files and flags are used when
   11881 	# linking a shared library.
   11882 	#
   11883 	# There doesn't appear to be a way to prevent this compiler from
   11884 	# explicitly linking system object files so we need to strip them
   11885 	# from the output so that they don't get included in the library
   11886 	# dependencies.
   11887 	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'
   11888 	;;
   11889       *)
   11890 	if test "$GXX" = yes; then
   11891 	  if test $with_gnu_ld = no; then
   11892 	    case $host_cpu in
   11893 	    hppa*64*)
   11894 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11895 	      ;;
   11896 	    ia64*)
   11897 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11898 	      ;;
   11899 	    *)
   11900 	      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'
   11901 	      ;;
   11902 	    esac
   11903 	  fi
   11904 	else
   11905 	  # FIXME: insert proper C++ library support
   11906 	  ld_shlibs_CXX=no
   11907 	fi
   11908 	;;
   11909     esac
   11910     ;;
   11911   interix[3-9]*)
   11912     hardcode_direct_CXX=no
   11913     hardcode_shlibpath_var_CXX=no
   11914     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11915     export_dynamic_flag_spec_CXX='${wl}-E'
   11916     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11917     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11918     # default) and relocated if they conflict, which is a slow very memory
   11919     # consuming and fragmenting process.  To avoid this, we pick a random,
   11920     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11921     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11922     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'
   11923     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'
   11924     ;;
   11925   irix5* | irix6*)
   11926     case $cc_basename in
   11927       CC*)
   11928 	# SGI C++
   11929 	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'
   11930 
   11931 	# Archives containing C++ object files must be created using
   11932 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11933 	# necessary to make sure instantiated templates are included
   11934 	# in the archive.
   11935 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11936 	;;
   11937       *)
   11938 	if test "$GXX" = yes; then
   11939 	  if test "$with_gnu_ld" = no; then
   11940 	    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'
   11941 	  else
   11942 	    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'
   11943 	  fi
   11944 	fi
   11945 	link_all_deplibs_CXX=yes
   11946 	;;
   11947     esac
   11948     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11949     hardcode_libdir_separator_CXX=:
   11950     ;;
   11951   linux* | k*bsd*-gnu)
   11952     case $cc_basename in
   11953       KCC*)
   11954 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11955 
   11956 	# KCC will only create a shared library if the output file
   11957 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11958 	# to its proper name (with version) after linking.
   11959 	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'
   11960 	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'
   11961 	# Commands to make compiler produce verbose output that lists
   11962 	# what "hidden" libraries, object files and flags are used when
   11963 	# linking a shared library.
   11964 	#
   11965 	# There doesn't appear to be a way to prevent this compiler from
   11966 	# explicitly linking system object files so we need to strip them
   11967 	# from the output so that they don't get included in the library
   11968 	# dependencies.
   11969 	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'
   11970 
   11971 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11972 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11973 
   11974 	# Archives containing C++ object files must be created using
   11975 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11976 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11977 	;;
   11978       icpc*)
   11979 	# Intel C++
   11980 	with_gnu_ld=yes
   11981 	# version 8.0 and above of icpc choke on multiply defined symbols
   11982 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11983 	# earlier do not add the objects themselves.
   11984 	case `$CC -V 2>&1` in
   11985 	*"Version 7."*)
   11986   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11987   	  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'
   11988 	  ;;
   11989 	*)  # Version 8.0 or newer
   11990 	  tmp_idyn=
   11991 	  case $host_cpu in
   11992 	    ia64*) tmp_idyn=' -i_dynamic';;
   11993 	  esac
   11994   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11995 	  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'
   11996 	  ;;
   11997 	esac
   11998 	archive_cmds_need_lc_CXX=no
   11999 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12000 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12001 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12002 	;;
   12003       pgCC* | pgcpp*)
   12004         # Portland Group C++ compiler
   12005 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12006   	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'
   12007 
   12008 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12009 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12010 	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'
   12011         ;;
   12012       cxx*)
   12013 	# Compaq C++
   12014 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12015 	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'
   12016 
   12017 	runpath_var=LD_RUN_PATH
   12018 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12019 	hardcode_libdir_separator_CXX=:
   12020 
   12021 	# Commands to make compiler produce verbose output that lists
   12022 	# what "hidden" libraries, object files and flags are used when
   12023 	# linking a shared library.
   12024 	#
   12025 	# There doesn't appear to be a way to prevent this compiler from
   12026 	# explicitly linking system object files so we need to strip them
   12027 	# from the output so that they don't get included in the library
   12028 	# dependencies.
   12029 	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'
   12030 	;;
   12031       *)
   12032 	case `$CC -V 2>&1 | sed 5q` in
   12033 	*Sun\ C*)
   12034 	  # Sun C++ 5.9
   12035 	  no_undefined_flag_CXX=' -zdefs'
   12036 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12037 	  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'
   12038 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12039 	  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'
   12040 
   12041 	  # Not sure whether something based on
   12042 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12043 	  # would be better.
   12044 	  output_verbose_link_cmd='echo'
   12045 
   12046 	  # Archives containing C++ object files must be created using
   12047 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12048 	  # necessary to make sure instantiated templates are included
   12049 	  # in the archive.
   12050 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12051 	  ;;
   12052 	esac
   12053 	;;
   12054     esac
   12055     ;;
   12056   lynxos*)
   12057     # FIXME: insert proper C++ library support
   12058     ld_shlibs_CXX=no
   12059     ;;
   12060   m88k*)
   12061     # FIXME: insert proper C++ library support
   12062     ld_shlibs_CXX=no
   12063     ;;
   12064   mvs*)
   12065     case $cc_basename in
   12066       cxx*)
   12067 	# FIXME: insert proper C++ library support
   12068 	ld_shlibs_CXX=no
   12069 	;;
   12070       *)
   12071 	# FIXME: insert proper C++ library support
   12072 	ld_shlibs_CXX=no
   12073 	;;
   12074     esac
   12075     ;;
   12076   netbsd*)
   12077     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12078       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12079       wlarc=
   12080       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12081       hardcode_direct_CXX=yes
   12082       hardcode_shlibpath_var_CXX=no
   12083     fi
   12084     # Workaround some broken pre-1.5 toolchains
   12085     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12086     ;;
   12087   openbsd2*)
   12088     # C++ shared libraries are fairly broken
   12089     ld_shlibs_CXX=no
   12090     ;;
   12091   openbsd*)
   12092     if test -f /usr/libexec/ld.so; then
   12093       hardcode_direct_CXX=yes
   12094       hardcode_shlibpath_var_CXX=no
   12095       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12096       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12097       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12098 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12099 	export_dynamic_flag_spec_CXX='${wl}-E'
   12100 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12101       fi
   12102       output_verbose_link_cmd='echo'
   12103     else
   12104       ld_shlibs_CXX=no
   12105     fi
   12106     ;;
   12107   osf3*)
   12108     case $cc_basename in
   12109       KCC*)
   12110 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12111 
   12112 	# KCC will only create a shared library if the output file
   12113 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12114 	# to its proper name (with version) after linking.
   12115 	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'
   12116 
   12117 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12118 	hardcode_libdir_separator_CXX=:
   12119 
   12120 	# Archives containing C++ object files must be created using
   12121 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12122 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12123 
   12124 	;;
   12125       RCC*)
   12126 	# Rational C++ 2.4.1
   12127 	# FIXME: insert proper C++ library support
   12128 	ld_shlibs_CXX=no
   12129 	;;
   12130       cxx*)
   12131 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12132 	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'
   12133 
   12134 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12135 	hardcode_libdir_separator_CXX=:
   12136 
   12137 	# Commands to make compiler produce verbose output that lists
   12138 	# what "hidden" libraries, object files and flags are used when
   12139 	# linking a shared library.
   12140 	#
   12141 	# There doesn't appear to be a way to prevent this compiler from
   12142 	# explicitly linking system object files so we need to strip them
   12143 	# from the output so that they don't get included in the library
   12144 	# dependencies.
   12145 	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'
   12146 	;;
   12147       *)
   12148 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12149 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12150 	  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'
   12151 
   12152 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12153 	  hardcode_libdir_separator_CXX=:
   12154 
   12155 	  # Commands to make compiler produce verbose output that lists
   12156 	  # what "hidden" libraries, object files and flags are used when
   12157 	  # linking a shared library.
   12158 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12159 
   12160 	else
   12161 	  # FIXME: insert proper C++ library support
   12162 	  ld_shlibs_CXX=no
   12163 	fi
   12164 	;;
   12165     esac
   12166     ;;
   12167   osf4* | osf5*)
   12168     case $cc_basename in
   12169       KCC*)
   12170 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12171 
   12172 	# KCC will only create a shared library if the output file
   12173 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12174 	# to its proper name (with version) after linking.
   12175 	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'
   12176 
   12177 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12178 	hardcode_libdir_separator_CXX=:
   12179 
   12180 	# Archives containing C++ object files must be created using
   12181 	# the KAI C++ compiler.
   12182 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12183 	;;
   12184       RCC*)
   12185 	# Rational C++ 2.4.1
   12186 	# FIXME: insert proper C++ library support
   12187 	ld_shlibs_CXX=no
   12188 	;;
   12189       cxx*)
   12190 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12191 	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'
   12192 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12193 	  echo "-hidden">> $lib.exp~
   12194 	  $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~
   12195 	  $rm $lib.exp'
   12196 
   12197 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12198 	hardcode_libdir_separator_CXX=:
   12199 
   12200 	# Commands to make compiler produce verbose output that lists
   12201 	# what "hidden" libraries, object files and flags are used when
   12202 	# linking a shared library.
   12203 	#
   12204 	# There doesn't appear to be a way to prevent this compiler from
   12205 	# explicitly linking system object files so we need to strip them
   12206 	# from the output so that they don't get included in the library
   12207 	# dependencies.
   12208 	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'
   12209 	;;
   12210       *)
   12211 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12212 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12213 	 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'
   12214 
   12215 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12216 	  hardcode_libdir_separator_CXX=:
   12217 
   12218 	  # Commands to make compiler produce verbose output that lists
   12219 	  # what "hidden" libraries, object files and flags are used when
   12220 	  # linking a shared library.
   12221 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12222 
   12223 	else
   12224 	  # FIXME: insert proper C++ library support
   12225 	  ld_shlibs_CXX=no
   12226 	fi
   12227 	;;
   12228     esac
   12229     ;;
   12230   psos*)
   12231     # FIXME: insert proper C++ library support
   12232     ld_shlibs_CXX=no
   12233     ;;
   12234   sunos4*)
   12235     case $cc_basename in
   12236       CC*)
   12237 	# Sun C++ 4.x
   12238 	# FIXME: insert proper C++ library support
   12239 	ld_shlibs_CXX=no
   12240 	;;
   12241       lcc*)
   12242 	# Lucid
   12243 	# FIXME: insert proper C++ library support
   12244 	ld_shlibs_CXX=no
   12245 	;;
   12246       *)
   12247 	# FIXME: insert proper C++ library support
   12248 	ld_shlibs_CXX=no
   12249 	;;
   12250     esac
   12251     ;;
   12252   solaris*)
   12253     case $cc_basename in
   12254       CC*)
   12255 	# Sun C++ 4.2, 5.x and Centerline C++
   12256         archive_cmds_need_lc_CXX=yes
   12257 	no_undefined_flag_CXX=' -zdefs'
   12258 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12259 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12260 	$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'
   12261 
   12262 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12263 	hardcode_shlibpath_var_CXX=no
   12264 	case $host_os in
   12265 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12266 	  *)
   12267 	    # The compiler driver will combine and reorder linker options,
   12268 	    # but understands `-z linker_flag'.
   12269 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12270 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12271 	    ;;
   12272 	esac
   12273 	link_all_deplibs_CXX=yes
   12274 
   12275 	output_verbose_link_cmd='echo'
   12276 
   12277 	# Archives containing C++ object files must be created using
   12278 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12279 	# necessary to make sure instantiated templates are included
   12280 	# in the archive.
   12281 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12282 	;;
   12283       gcx*)
   12284 	# Green Hills C++ Compiler
   12285 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12286 
   12287 	# The C++ compiler must be used to create the archive.
   12288 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12289 	;;
   12290       *)
   12291 	# GNU C++ compiler with Solaris linker
   12292 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12293 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12294 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12295 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12296 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12297 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12298 
   12299 	    # Commands to make compiler produce verbose output that lists
   12300 	    # what "hidden" libraries, object files and flags are used when
   12301 	    # linking a shared library.
   12302 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12303 	  else
   12304 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12305 	    # platform.
   12306 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12307 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12308 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12309 
   12310 	    # Commands to make compiler produce verbose output that lists
   12311 	    # what "hidden" libraries, object files and flags are used when
   12312 	    # linking a shared library.
   12313 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12314 	  fi
   12315 
   12316 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12317 	  case $host_os in
   12318 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12319 	  *)
   12320 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12321 	    ;;
   12322 	  esac
   12323 	fi
   12324 	;;
   12325     esac
   12326     ;;
   12327   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12328     no_undefined_flag_CXX='${wl}-z,text'
   12329     archive_cmds_need_lc_CXX=no
   12330     hardcode_shlibpath_var_CXX=no
   12331     runpath_var='LD_RUN_PATH'
   12332 
   12333     case $cc_basename in
   12334       CC*)
   12335 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12336 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12337 	;;
   12338       *)
   12339 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12340 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12341 	;;
   12342     esac
   12343     ;;
   12344   sysv5* | sco3.2v5* | sco5v6*)
   12345     # Note: We can NOT use -z defs as we might desire, because we do not
   12346     # link with -lc, and that would cause any symbols used from libc to
   12347     # always be unresolved, which means just about no library would
   12348     # ever link correctly.  If we're not using GNU ld we use -z text
   12349     # though, which does catch some bad symbols but isn't as heavy-handed
   12350     # as -z defs.
   12351     # For security reasons, it is highly recommended that you always
   12352     # use absolute paths for naming shared libraries, and exclude the
   12353     # DT_RUNPATH tag from executables and libraries.  But doing so
   12354     # requires that you compile everything twice, which is a pain.
   12355     # So that behaviour is only enabled if SCOABSPATH is set to a
   12356     # non-empty value in the environment.  Most likely only useful for
   12357     # creating official distributions of packages.
   12358     # This is a hack until libtool officially supports absolute path
   12359     # names for shared libraries.
   12360     no_undefined_flag_CXX='${wl}-z,text'
   12361     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12362     archive_cmds_need_lc_CXX=no
   12363     hardcode_shlibpath_var_CXX=no
   12364     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12365     hardcode_libdir_separator_CXX=':'
   12366     link_all_deplibs_CXX=yes
   12367     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12368     runpath_var='LD_RUN_PATH'
   12369 
   12370     case $cc_basename in
   12371       CC*)
   12372 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12373 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12374 	;;
   12375       *)
   12376 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12377 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12378 	;;
   12379     esac
   12380     ;;
   12381   tandem*)
   12382     case $cc_basename in
   12383       NCC*)
   12384 	# NonStop-UX NCC 3.20
   12385 	# FIXME: insert proper C++ library support
   12386 	ld_shlibs_CXX=no
   12387 	;;
   12388       *)
   12389 	# FIXME: insert proper C++ library support
   12390 	ld_shlibs_CXX=no
   12391 	;;
   12392     esac
   12393     ;;
   12394   vxworks*)
   12395     # FIXME: insert proper C++ library support
   12396     ld_shlibs_CXX=no
   12397     ;;
   12398   *)
   12399     # FIXME: insert proper C++ library support
   12400     ld_shlibs_CXX=no
   12401     ;;
   12402 esac
   12403 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12404 $as_echo "$ld_shlibs_CXX" >&6; }
   12405 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12406 
   12407 GCC_CXX="$GXX"
   12408 LD_CXX="$LD"
   12409 
   12410 cat > conftest.$ac_ext <<EOF
   12411 class Foo
   12412 {
   12413 public:
   12414   Foo (void) { a = 0; }
   12415 private:
   12416   int a;
   12417 };
   12418 EOF
   12419 
   12420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12421   (eval $ac_compile) 2>&5
   12422   ac_status=$?
   12423   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12424   (exit $ac_status); }; then
   12425   # Parse the compiler output and extract the necessary
   12426   # objects, libraries and library flags.
   12427 
   12428   # Sentinel used to keep track of whether or not we are before
   12429   # the conftest object file.
   12430   pre_test_object_deps_done=no
   12431 
   12432   # The `*' in the case matches for architectures that use `case' in
   12433   # $output_verbose_cmd can trigger glob expansion during the loop
   12434   # eval without this substitution.
   12435   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12436 
   12437   for p in `eval $output_verbose_link_cmd`; do
   12438     case $p in
   12439 
   12440     -L* | -R* | -l*)
   12441        # Some compilers place space between "-{L,R}" and the path.
   12442        # Remove the space.
   12443        if test $p = "-L" \
   12444 	  || test $p = "-R"; then
   12445 	 prev=$p
   12446 	 continue
   12447        else
   12448 	 prev=
   12449        fi
   12450 
   12451        if test "$pre_test_object_deps_done" = no; then
   12452 	 case $p in
   12453 	 -L* | -R*)
   12454 	   # Internal compiler library paths should come after those
   12455 	   # provided the user.  The postdeps already come after the
   12456 	   # user supplied libs so there is no need to process them.
   12457 	   if test -z "$compiler_lib_search_path_CXX"; then
   12458 	     compiler_lib_search_path_CXX="${prev}${p}"
   12459 	   else
   12460 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12461 	   fi
   12462 	   ;;
   12463 	 # The "-l" case would never come before the object being
   12464 	 # linked, so don't bother handling this case.
   12465 	 esac
   12466        else
   12467 	 if test -z "$postdeps_CXX"; then
   12468 	   postdeps_CXX="${prev}${p}"
   12469 	 else
   12470 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12471 	 fi
   12472        fi
   12473        ;;
   12474 
   12475     *.$objext)
   12476        # This assumes that the test object file only shows up
   12477        # once in the compiler output.
   12478        if test "$p" = "conftest.$objext"; then
   12479 	 pre_test_object_deps_done=yes
   12480 	 continue
   12481        fi
   12482 
   12483        if test "$pre_test_object_deps_done" = no; then
   12484 	 if test -z "$predep_objects_CXX"; then
   12485 	   predep_objects_CXX="$p"
   12486 	 else
   12487 	   predep_objects_CXX="$predep_objects_CXX $p"
   12488 	 fi
   12489        else
   12490 	 if test -z "$postdep_objects_CXX"; then
   12491 	   postdep_objects_CXX="$p"
   12492 	 else
   12493 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12494 	 fi
   12495        fi
   12496        ;;
   12497 
   12498     *) ;; # Ignore the rest.
   12499 
   12500     esac
   12501   done
   12502 
   12503   # Clean up.
   12504   rm -f a.out a.exe
   12505 else
   12506   echo "libtool.m4: error: problem compiling CXX test program"
   12507 fi
   12508 
   12509 $rm -f confest.$objext
   12510 
   12511 compiler_lib_search_dirs_CXX=
   12512 if test -n "$compiler_lib_search_path_CXX"; then
   12513   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12514 fi
   12515 
   12516 # PORTME: override above test on systems where it is broken
   12517 case $host_os in
   12518 interix[3-9]*)
   12519   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12520   # hack all around it, let's just trust "g++" to DTRT.
   12521   predep_objects_CXX=
   12522   postdep_objects_CXX=
   12523   postdeps_CXX=
   12524   ;;
   12525 
   12526 linux*)
   12527   case `$CC -V 2>&1 | sed 5q` in
   12528   *Sun\ C*)
   12529     # Sun C++ 5.9
   12530     #
   12531     # The more standards-conforming stlport4 library is
   12532     # incompatible with the Cstd library. Avoid specifying
   12533     # it if it's in CXXFLAGS. Ignore libCrun as
   12534     # -library=stlport4 depends on it.
   12535     case " $CXX $CXXFLAGS " in
   12536     *" -library=stlport4 "*)
   12537       solaris_use_stlport4=yes
   12538       ;;
   12539     esac
   12540     if test "$solaris_use_stlport4" != yes; then
   12541       postdeps_CXX='-library=Cstd -library=Crun'
   12542     fi
   12543     ;;
   12544   esac
   12545   ;;
   12546 
   12547 solaris*)
   12548   case $cc_basename in
   12549   CC*)
   12550     # The more standards-conforming stlport4 library is
   12551     # incompatible with the Cstd library. Avoid specifying
   12552     # it if it's in CXXFLAGS. Ignore libCrun as
   12553     # -library=stlport4 depends on it.
   12554     case " $CXX $CXXFLAGS " in
   12555     *" -library=stlport4 "*)
   12556       solaris_use_stlport4=yes
   12557       ;;
   12558     esac
   12559 
   12560     # Adding this requires a known-good setup of shared libraries for
   12561     # Sun compiler versions before 5.6, else PIC objects from an old
   12562     # archive will be linked into the output, leading to subtle bugs.
   12563     if test "$solaris_use_stlport4" != yes; then
   12564       postdeps_CXX='-library=Cstd -library=Crun'
   12565     fi
   12566     ;;
   12567   esac
   12568   ;;
   12569 esac
   12570 
   12571 case " $postdeps_CXX " in
   12572 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12573 esac
   12574 
   12575 lt_prog_compiler_wl_CXX=
   12576 lt_prog_compiler_pic_CXX=
   12577 lt_prog_compiler_static_CXX=
   12578 
   12579 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12580 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12581 
   12582   # C++ specific cases for pic, static, wl, etc.
   12583   if test "$GXX" = yes; then
   12584     lt_prog_compiler_wl_CXX='-Wl,'
   12585     lt_prog_compiler_static_CXX='-static'
   12586 
   12587     case $host_os in
   12588     aix*)
   12589       # All AIX code is PIC.
   12590       if test "$host_cpu" = ia64; then
   12591 	# AIX 5 now supports IA64 processor
   12592 	lt_prog_compiler_static_CXX='-Bstatic'
   12593       fi
   12594       ;;
   12595     amigaos*)
   12596       # FIXME: we need at least 68020 code to build shared libraries, but
   12597       # adding the `-m68020' flag to GCC prevents building anything better,
   12598       # like `-m68040'.
   12599       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12600       ;;
   12601     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12602       # PIC is the default for these OSes.
   12603       ;;
   12604     mingw* | cygwin* | os2* | pw32*)
   12605       # This hack is so that the source file can tell whether it is being
   12606       # built for inclusion in a dll (and should export symbols for example).
   12607       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12608       # (--disable-auto-import) libraries
   12609       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12610       ;;
   12611     darwin* | rhapsody*)
   12612       # PIC is the default on this platform
   12613       # Common symbols not allowed in MH_DYLIB files
   12614       lt_prog_compiler_pic_CXX='-fno-common'
   12615       ;;
   12616     *djgpp*)
   12617       # DJGPP does not support shared libraries at all
   12618       lt_prog_compiler_pic_CXX=
   12619       ;;
   12620     interix[3-9]*)
   12621       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12622       # Instead, we relocate shared libraries at runtime.
   12623       ;;
   12624     sysv4*MP*)
   12625       if test -d /usr/nec; then
   12626 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12627       fi
   12628       ;;
   12629     hpux*)
   12630       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12631       # not for PA HP-UX.
   12632       case $host_cpu in
   12633       hppa*64*|ia64*)
   12634 	;;
   12635       *)
   12636 	lt_prog_compiler_pic_CXX='-fPIC'
   12637 	;;
   12638       esac
   12639       ;;
   12640     *)
   12641       lt_prog_compiler_pic_CXX='-fPIC'
   12642       ;;
   12643     esac
   12644   else
   12645     case $host_os in
   12646       aix[4-9]*)
   12647 	# All AIX code is PIC.
   12648 	if test "$host_cpu" = ia64; then
   12649 	  # AIX 5 now supports IA64 processor
   12650 	  lt_prog_compiler_static_CXX='-Bstatic'
   12651 	else
   12652 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12653 	fi
   12654 	;;
   12655       chorus*)
   12656 	case $cc_basename in
   12657 	cxch68*)
   12658 	  # Green Hills C++ Compiler
   12659 	  # _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"
   12660 	  ;;
   12661 	esac
   12662 	;;
   12663        darwin*)
   12664          # PIC is the default on this platform
   12665          # Common symbols not allowed in MH_DYLIB files
   12666          case $cc_basename in
   12667            xlc*)
   12668            lt_prog_compiler_pic_CXX='-qnocommon'
   12669            lt_prog_compiler_wl_CXX='-Wl,'
   12670            ;;
   12671          esac
   12672        ;;
   12673       dgux*)
   12674 	case $cc_basename in
   12675 	  ec++*)
   12676 	    lt_prog_compiler_pic_CXX='-KPIC'
   12677 	    ;;
   12678 	  ghcx*)
   12679 	    # Green Hills C++ Compiler
   12680 	    lt_prog_compiler_pic_CXX='-pic'
   12681 	    ;;
   12682 	  *)
   12683 	    ;;
   12684 	esac
   12685 	;;
   12686       freebsd* | dragonfly*)
   12687 	# FreeBSD uses GNU C++
   12688 	;;
   12689       hpux9* | hpux10* | hpux11*)
   12690 	case $cc_basename in
   12691 	  CC*)
   12692 	    lt_prog_compiler_wl_CXX='-Wl,'
   12693 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12694 	    if test "$host_cpu" != ia64; then
   12695 	      lt_prog_compiler_pic_CXX='+Z'
   12696 	    fi
   12697 	    ;;
   12698 	  aCC*)
   12699 	    lt_prog_compiler_wl_CXX='-Wl,'
   12700 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12701 	    case $host_cpu in
   12702 	    hppa*64*|ia64*)
   12703 	      # +Z the default
   12704 	      ;;
   12705 	    *)
   12706 	      lt_prog_compiler_pic_CXX='+Z'
   12707 	      ;;
   12708 	    esac
   12709 	    ;;
   12710 	  *)
   12711 	    ;;
   12712 	esac
   12713 	;;
   12714       interix*)
   12715 	# This is c89, which is MS Visual C++ (no shared libs)
   12716 	# Anyone wants to do a port?
   12717 	;;
   12718       irix5* | irix6* | nonstopux*)
   12719 	case $cc_basename in
   12720 	  CC*)
   12721 	    lt_prog_compiler_wl_CXX='-Wl,'
   12722 	    lt_prog_compiler_static_CXX='-non_shared'
   12723 	    # CC pic flag -KPIC is the default.
   12724 	    ;;
   12725 	  *)
   12726 	    ;;
   12727 	esac
   12728 	;;
   12729       linux* | k*bsd*-gnu)
   12730 	case $cc_basename in
   12731 	  KCC*)
   12732 	    # KAI C++ Compiler
   12733 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12734 	    lt_prog_compiler_pic_CXX='-fPIC'
   12735 	    ;;
   12736 	  icpc* | ecpc*)
   12737 	    # Intel C++
   12738 	    lt_prog_compiler_wl_CXX='-Wl,'
   12739 	    lt_prog_compiler_pic_CXX='-KPIC'
   12740 	    lt_prog_compiler_static_CXX='-static'
   12741 	    ;;
   12742 	  pgCC* | pgcpp*)
   12743 	    # Portland Group C++ compiler.
   12744 	    lt_prog_compiler_wl_CXX='-Wl,'
   12745 	    lt_prog_compiler_pic_CXX='-fpic'
   12746 	    lt_prog_compiler_static_CXX='-Bstatic'
   12747 	    ;;
   12748 	  cxx*)
   12749 	    # Compaq C++
   12750 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12751 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12752 	    lt_prog_compiler_pic_CXX=
   12753 	    lt_prog_compiler_static_CXX='-non_shared'
   12754 	    ;;
   12755 	  *)
   12756 	    case `$CC -V 2>&1 | sed 5q` in
   12757 	    *Sun\ C*)
   12758 	      # Sun C++ 5.9
   12759 	      lt_prog_compiler_pic_CXX='-KPIC'
   12760 	      lt_prog_compiler_static_CXX='-Bstatic'
   12761 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12762 	      ;;
   12763 	    esac
   12764 	    ;;
   12765 	esac
   12766 	;;
   12767       lynxos*)
   12768 	;;
   12769       m88k*)
   12770 	;;
   12771       mvs*)
   12772 	case $cc_basename in
   12773 	  cxx*)
   12774 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12775 	    ;;
   12776 	  *)
   12777 	    ;;
   12778 	esac
   12779 	;;
   12780       netbsd*)
   12781 	;;
   12782       osf3* | osf4* | osf5*)
   12783 	case $cc_basename in
   12784 	  KCC*)
   12785 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12786 	    ;;
   12787 	  RCC*)
   12788 	    # Rational C++ 2.4.1
   12789 	    lt_prog_compiler_pic_CXX='-pic'
   12790 	    ;;
   12791 	  cxx*)
   12792 	    # Digital/Compaq C++
   12793 	    lt_prog_compiler_wl_CXX='-Wl,'
   12794 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12795 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12796 	    lt_prog_compiler_pic_CXX=
   12797 	    lt_prog_compiler_static_CXX='-non_shared'
   12798 	    ;;
   12799 	  *)
   12800 	    ;;
   12801 	esac
   12802 	;;
   12803       psos*)
   12804 	;;
   12805       solaris*)
   12806 	case $cc_basename in
   12807 	  CC*)
   12808 	    # Sun C++ 4.2, 5.x and Centerline C++
   12809 	    lt_prog_compiler_pic_CXX='-KPIC'
   12810 	    lt_prog_compiler_static_CXX='-Bstatic'
   12811 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12812 	    ;;
   12813 	  gcx*)
   12814 	    # Green Hills C++ Compiler
   12815 	    lt_prog_compiler_pic_CXX='-PIC'
   12816 	    ;;
   12817 	  *)
   12818 	    ;;
   12819 	esac
   12820 	;;
   12821       sunos4*)
   12822 	case $cc_basename in
   12823 	  CC*)
   12824 	    # Sun C++ 4.x
   12825 	    lt_prog_compiler_pic_CXX='-pic'
   12826 	    lt_prog_compiler_static_CXX='-Bstatic'
   12827 	    ;;
   12828 	  lcc*)
   12829 	    # Lucid
   12830 	    lt_prog_compiler_pic_CXX='-pic'
   12831 	    ;;
   12832 	  *)
   12833 	    ;;
   12834 	esac
   12835 	;;
   12836       tandem*)
   12837 	case $cc_basename in
   12838 	  NCC*)
   12839 	    # NonStop-UX NCC 3.20
   12840 	    lt_prog_compiler_pic_CXX='-KPIC'
   12841 	    ;;
   12842 	  *)
   12843 	    ;;
   12844 	esac
   12845 	;;
   12846       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12847 	case $cc_basename in
   12848 	  CC*)
   12849 	    lt_prog_compiler_wl_CXX='-Wl,'
   12850 	    lt_prog_compiler_pic_CXX='-KPIC'
   12851 	    lt_prog_compiler_static_CXX='-Bstatic'
   12852 	    ;;
   12853 	esac
   12854 	;;
   12855       vxworks*)
   12856 	;;
   12857       *)
   12858 	lt_prog_compiler_can_build_shared_CXX=no
   12859 	;;
   12860     esac
   12861   fi
   12862 
   12863 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12864 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12865 
   12866 #
   12867 # Check to make sure the PIC flag actually works.
   12868 #
   12869 if test -n "$lt_prog_compiler_pic_CXX"; then
   12870 
   12871 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12872 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12873 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12874   $as_echo_n "(cached) " >&6
   12875 else
   12876   lt_cv_prog_compiler_pic_works_CXX=no
   12877   ac_outfile=conftest.$ac_objext
   12878    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12879    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12880    # Insert the option either (1) after the last *FLAGS variable, or
   12881    # (2) before a word containing "conftest.", or (3) at the end.
   12882    # Note that $ac_compile itself does not contain backslashes and begins
   12883    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12884    # The option is referenced via a variable to avoid confusing sed.
   12885    lt_compile=`echo "$ac_compile" | $SED \
   12886    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12887    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12888    -e 's:$: $lt_compiler_flag:'`
   12889    (eval echo "\"\$as_me:12889: $lt_compile\"" >&5)
   12890    (eval "$lt_compile" 2>conftest.err)
   12891    ac_status=$?
   12892    cat conftest.err >&5
   12893    echo "$as_me:12893: \$? = $ac_status" >&5
   12894    if (exit $ac_status) && test -s "$ac_outfile"; then
   12895      # The compiler can only warn and ignore the option if not recognized
   12896      # So say no if there are warnings other than the usual output.
   12897      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12898      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12899      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12900        lt_cv_prog_compiler_pic_works_CXX=yes
   12901      fi
   12902    fi
   12903    $rm conftest*
   12904 
   12905 fi
   12906 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12907 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12908 
   12909 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12910     case $lt_prog_compiler_pic_CXX in
   12911      "" | " "*) ;;
   12912      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12913      esac
   12914 else
   12915     lt_prog_compiler_pic_CXX=
   12916      lt_prog_compiler_can_build_shared_CXX=no
   12917 fi
   12918 
   12919 fi
   12920 case $host_os in
   12921   # For platforms which do not support PIC, -DPIC is meaningless:
   12922   *djgpp*)
   12923     lt_prog_compiler_pic_CXX=
   12924     ;;
   12925   *)
   12926     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12927     ;;
   12928 esac
   12929 
   12930 #
   12931 # Check to make sure the static flag actually works.
   12932 #
   12933 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12934 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12935 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12936 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12937   $as_echo_n "(cached) " >&6
   12938 else
   12939   lt_cv_prog_compiler_static_works_CXX=no
   12940    save_LDFLAGS="$LDFLAGS"
   12941    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12942    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12943    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12944      # The linker can only warn and ignore the option if not recognized
   12945      # So say no if there are warnings
   12946      if test -s conftest.err; then
   12947        # Append any errors to the config.log.
   12948        cat conftest.err 1>&5
   12949        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12950        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12951        if diff conftest.exp conftest.er2 >/dev/null; then
   12952          lt_cv_prog_compiler_static_works_CXX=yes
   12953        fi
   12954      else
   12955        lt_cv_prog_compiler_static_works_CXX=yes
   12956      fi
   12957    fi
   12958    $rm -r conftest*
   12959    LDFLAGS="$save_LDFLAGS"
   12960 
   12961 fi
   12962 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   12963 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   12964 
   12965 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   12966     :
   12967 else
   12968     lt_prog_compiler_static_CXX=
   12969 fi
   12970 
   12971 
   12972 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12973 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   12974 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12975   $as_echo_n "(cached) " >&6
   12976 else
   12977   lt_cv_prog_compiler_c_o_CXX=no
   12978    $rm -r conftest 2>/dev/null
   12979    mkdir conftest
   12980    cd conftest
   12981    mkdir out
   12982    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12983 
   12984    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12985    # Insert the option either (1) after the last *FLAGS variable, or
   12986    # (2) before a word containing "conftest.", or (3) at the end.
   12987    # Note that $ac_compile itself does not contain backslashes and begins
   12988    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12989    lt_compile=`echo "$ac_compile" | $SED \
   12990    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12991    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12992    -e 's:$: $lt_compiler_flag:'`
   12993    (eval echo "\"\$as_me:12993: $lt_compile\"" >&5)
   12994    (eval "$lt_compile" 2>out/conftest.err)
   12995    ac_status=$?
   12996    cat out/conftest.err >&5
   12997    echo "$as_me:12997: \$? = $ac_status" >&5
   12998    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12999    then
   13000      # The compiler can only warn and ignore the option if not recognized
   13001      # So say no if there are warnings
   13002      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13003      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13004      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13005        lt_cv_prog_compiler_c_o_CXX=yes
   13006      fi
   13007    fi
   13008    chmod u+w . 2>&5
   13009    $rm conftest*
   13010    # SGI C++ compiler will create directory out/ii_files/ for
   13011    # template instantiation
   13012    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13013    $rm out/* && rmdir out
   13014    cd ..
   13015    rmdir conftest
   13016    $rm conftest*
   13017 
   13018 fi
   13019 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13020 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13021 
   13022 
   13023 hard_links="nottested"
   13024 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13025   # do not overwrite the value of need_locks provided by the user
   13026   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13027 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13028   hard_links=yes
   13029   $rm conftest*
   13030   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13031   touch conftest.a
   13032   ln conftest.a conftest.b 2>&5 || hard_links=no
   13033   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13034   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13035 $as_echo "$hard_links" >&6; }
   13036   if test "$hard_links" = no; then
   13037     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13038 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13039     need_locks=warn
   13040   fi
   13041 else
   13042   need_locks=no
   13043 fi
   13044 
   13045 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13046 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13047 
   13048   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13049   case $host_os in
   13050   aix[4-9]*)
   13051     # If we're using GNU nm, then we don't want the "-C" option.
   13052     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13053     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13054       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'
   13055     else
   13056       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'
   13057     fi
   13058     ;;
   13059   pw32*)
   13060     export_symbols_cmds_CXX="$ltdll_cmds"
   13061   ;;
   13062   cygwin* | mingw*)
   13063     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'
   13064   ;;
   13065   *)
   13066     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13067   ;;
   13068   esac
   13069   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13070 
   13071 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13072 $as_echo "$ld_shlibs_CXX" >&6; }
   13073 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13074 
   13075 #
   13076 # Do we need to explicitly link libc?
   13077 #
   13078 case "x$archive_cmds_need_lc_CXX" in
   13079 x|xyes)
   13080   # Assume -lc should be added
   13081   archive_cmds_need_lc_CXX=yes
   13082 
   13083   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13084     case $archive_cmds_CXX in
   13085     *'~'*)
   13086       # FIXME: we may have to deal with multi-command sequences.
   13087       ;;
   13088     '$CC '*)
   13089       # Test whether the compiler implicitly links with -lc since on some
   13090       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13091       # to ld, don't add -lc before -lgcc.
   13092       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13093 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13094       $rm conftest*
   13095       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13096 
   13097       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13098   (eval $ac_compile) 2>&5
   13099   ac_status=$?
   13100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13101   (exit $ac_status); } 2>conftest.err; then
   13102         soname=conftest
   13103         lib=conftest
   13104         libobjs=conftest.$ac_objext
   13105         deplibs=
   13106         wl=$lt_prog_compiler_wl_CXX
   13107 	pic_flag=$lt_prog_compiler_pic_CXX
   13108         compiler_flags=-v
   13109         linker_flags=-v
   13110         verstring=
   13111         output_objdir=.
   13112         libname=conftest
   13113         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13114         allow_undefined_flag_CXX=
   13115         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13116   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13117   ac_status=$?
   13118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13119   (exit $ac_status); }
   13120         then
   13121 	  archive_cmds_need_lc_CXX=no
   13122         else
   13123 	  archive_cmds_need_lc_CXX=yes
   13124         fi
   13125         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13126       else
   13127         cat conftest.err 1>&5
   13128       fi
   13129       $rm conftest*
   13130       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13131 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13132       ;;
   13133     esac
   13134   fi
   13135   ;;
   13136 esac
   13137 
   13138 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13140 library_names_spec=
   13141 libname_spec='lib$name'
   13142 soname_spec=
   13143 shrext_cmds=".so"
   13144 postinstall_cmds=
   13145 postuninstall_cmds=
   13146 finish_cmds=
   13147 finish_eval=
   13148 shlibpath_var=
   13149 shlibpath_overrides_runpath=unknown
   13150 version_type=none
   13151 dynamic_linker="$host_os ld.so"
   13152 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13153 
   13154 need_lib_prefix=unknown
   13155 hardcode_into_libs=no
   13156 
   13157 # when you set need_version to no, make sure it does not cause -set_version
   13158 # flags to be left without arguments
   13159 need_version=unknown
   13160 
   13161 case $host_os in
   13162 aix3*)
   13163   version_type=linux
   13164   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13165   shlibpath_var=LIBPATH
   13166 
   13167   # AIX 3 has no versioning support, so we append a major version to the name.
   13168   soname_spec='${libname}${release}${shared_ext}$major'
   13169   ;;
   13170 
   13171 aix[4-9]*)
   13172   version_type=linux
   13173   need_lib_prefix=no
   13174   need_version=no
   13175   hardcode_into_libs=yes
   13176   if test "$host_cpu" = ia64; then
   13177     # AIX 5 supports IA64
   13178     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13179     shlibpath_var=LD_LIBRARY_PATH
   13180   else
   13181     # With GCC up to 2.95.x, collect2 would create an import file
   13182     # for dependence libraries.  The import file would start with
   13183     # the line `#! .'.  This would cause the generated library to
   13184     # depend on `.', always an invalid library.  This was fixed in
   13185     # development snapshots of GCC prior to 3.0.
   13186     case $host_os in
   13187       aix4 | aix4.[01] | aix4.[01].*)
   13188       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13189 	   echo ' yes '
   13190 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13191 	:
   13192       else
   13193 	can_build_shared=no
   13194       fi
   13195       ;;
   13196     esac
   13197     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13198     # soname into executable. Probably we can add versioning support to
   13199     # collect2, so additional links can be useful in future.
   13200     if test "$aix_use_runtimelinking" = yes; then
   13201       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13202       # instead of lib<name>.a to let people know that these are not
   13203       # typical AIX shared libraries.
   13204       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13205     else
   13206       # We preserve .a as extension for shared libraries through AIX4.2
   13207       # and later when we are not doing run time linking.
   13208       library_names_spec='${libname}${release}.a $libname.a'
   13209       soname_spec='${libname}${release}${shared_ext}$major'
   13210     fi
   13211     shlibpath_var=LIBPATH
   13212   fi
   13213   ;;
   13214 
   13215 amigaos*)
   13216   library_names_spec='$libname.ixlibrary $libname.a'
   13217   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13218   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'
   13219   ;;
   13220 
   13221 beos*)
   13222   library_names_spec='${libname}${shared_ext}'
   13223   dynamic_linker="$host_os ld.so"
   13224   shlibpath_var=LIBRARY_PATH
   13225   ;;
   13226 
   13227 bsdi[45]*)
   13228   version_type=linux
   13229   need_version=no
   13230   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13231   soname_spec='${libname}${release}${shared_ext}$major'
   13232   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13233   shlibpath_var=LD_LIBRARY_PATH
   13234   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13235   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13236   # the default ld.so.conf also contains /usr/contrib/lib and
   13237   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13238   # libtool to hard-code these into programs
   13239   ;;
   13240 
   13241 cygwin* | mingw* | pw32*)
   13242   version_type=windows
   13243   shrext_cmds=".dll"
   13244   need_version=no
   13245   need_lib_prefix=no
   13246 
   13247   case $GCC,$host_os in
   13248   yes,cygwin* | yes,mingw* | yes,pw32*)
   13249     library_names_spec='$libname.dll.a'
   13250     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13251     postinstall_cmds='base_file=`basename \${file}`~
   13252       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13253       dldir=$destdir/`dirname \$dlpath`~
   13254       test -d \$dldir || mkdir -p \$dldir~
   13255       $install_prog $dir/$dlname \$dldir/$dlname~
   13256       chmod a+x \$dldir/$dlname'
   13257     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13258       dlpath=$dir/\$dldll~
   13259        $rm \$dlpath'
   13260     shlibpath_overrides_runpath=yes
   13261 
   13262     case $host_os in
   13263     cygwin*)
   13264       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13265       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13266       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13267       ;;
   13268     mingw*)
   13269       # MinGW DLLs use traditional 'lib' prefix
   13270       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13271       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13272       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13273         # It is most probably a Windows format PATH printed by
   13274         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13275         # path with ; separators, and with drive letters. We can handle the
   13276         # drive letters (cygwin fileutils understands them), so leave them,
   13277         # especially as we might pass files found there to a mingw objdump,
   13278         # which wouldn't understand a cygwinified path. Ahh.
   13279         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13280       else
   13281         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13282       fi
   13283       ;;
   13284     pw32*)
   13285       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13286       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13287       ;;
   13288     esac
   13289     ;;
   13290 
   13291   *)
   13292     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13293     ;;
   13294   esac
   13295   dynamic_linker='Win32 ld.exe'
   13296   # FIXME: first we should search . and the directory the executable is in
   13297   shlibpath_var=PATH
   13298   ;;
   13299 
   13300 darwin* | rhapsody*)
   13301   dynamic_linker="$host_os dyld"
   13302   version_type=darwin
   13303   need_lib_prefix=no
   13304   need_version=no
   13305   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13306   soname_spec='${libname}${release}${major}$shared_ext'
   13307   shlibpath_overrides_runpath=yes
   13308   shlibpath_var=DYLD_LIBRARY_PATH
   13309   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13310 
   13311   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13312   ;;
   13313 
   13314 dgux*)
   13315   version_type=linux
   13316   need_lib_prefix=no
   13317   need_version=no
   13318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13319   soname_spec='${libname}${release}${shared_ext}$major'
   13320   shlibpath_var=LD_LIBRARY_PATH
   13321   ;;
   13322 
   13323 freebsd1*)
   13324   dynamic_linker=no
   13325   ;;
   13326 
   13327 freebsd* | dragonfly*)
   13328   # DragonFly does not have aout.  When/if they implement a new
   13329   # versioning mechanism, adjust this.
   13330   if test -x /usr/bin/objformat; then
   13331     objformat=`/usr/bin/objformat`
   13332   else
   13333     case $host_os in
   13334     freebsd[123]*) objformat=aout ;;
   13335     *) objformat=elf ;;
   13336     esac
   13337   fi
   13338   version_type=freebsd-$objformat
   13339   case $version_type in
   13340     freebsd-elf*)
   13341       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13342       need_version=no
   13343       need_lib_prefix=no
   13344       ;;
   13345     freebsd-*)
   13346       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13347       need_version=yes
   13348       ;;
   13349   esac
   13350   shlibpath_var=LD_LIBRARY_PATH
   13351   case $host_os in
   13352   freebsd2*)
   13353     shlibpath_overrides_runpath=yes
   13354     ;;
   13355   freebsd3.[01]* | freebsdelf3.[01]*)
   13356     shlibpath_overrides_runpath=yes
   13357     hardcode_into_libs=yes
   13358     ;;
   13359   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13360   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13361     shlibpath_overrides_runpath=no
   13362     hardcode_into_libs=yes
   13363     ;;
   13364   *) # from 4.6 on, and DragonFly
   13365     shlibpath_overrides_runpath=yes
   13366     hardcode_into_libs=yes
   13367     ;;
   13368   esac
   13369   ;;
   13370 
   13371 gnu*)
   13372   version_type=linux
   13373   need_lib_prefix=no
   13374   need_version=no
   13375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13376   soname_spec='${libname}${release}${shared_ext}$major'
   13377   shlibpath_var=LD_LIBRARY_PATH
   13378   hardcode_into_libs=yes
   13379   ;;
   13380 
   13381 hpux9* | hpux10* | hpux11*)
   13382   # Give a soname corresponding to the major version so that dld.sl refuses to
   13383   # link against other versions.
   13384   version_type=sunos
   13385   need_lib_prefix=no
   13386   need_version=no
   13387   case $host_cpu in
   13388   ia64*)
   13389     shrext_cmds='.so'
   13390     hardcode_into_libs=yes
   13391     dynamic_linker="$host_os dld.so"
   13392     shlibpath_var=LD_LIBRARY_PATH
   13393     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13394     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13395     soname_spec='${libname}${release}${shared_ext}$major'
   13396     if test "X$HPUX_IA64_MODE" = X32; then
   13397       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13398     else
   13399       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13400     fi
   13401     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13402     ;;
   13403    hppa*64*)
   13404      shrext_cmds='.sl'
   13405      hardcode_into_libs=yes
   13406      dynamic_linker="$host_os dld.sl"
   13407      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13408      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13409      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13410      soname_spec='${libname}${release}${shared_ext}$major'
   13411      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13412      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13413      ;;
   13414    *)
   13415     shrext_cmds='.sl'
   13416     dynamic_linker="$host_os dld.sl"
   13417     shlibpath_var=SHLIB_PATH
   13418     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13419     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13420     soname_spec='${libname}${release}${shared_ext}$major'
   13421     ;;
   13422   esac
   13423   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13424   postinstall_cmds='chmod 555 $lib'
   13425   ;;
   13426 
   13427 interix[3-9]*)
   13428   version_type=linux
   13429   need_lib_prefix=no
   13430   need_version=no
   13431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13432   soname_spec='${libname}${release}${shared_ext}$major'
   13433   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13434   shlibpath_var=LD_LIBRARY_PATH
   13435   shlibpath_overrides_runpath=no
   13436   hardcode_into_libs=yes
   13437   ;;
   13438 
   13439 irix5* | irix6* | nonstopux*)
   13440   case $host_os in
   13441     nonstopux*) version_type=nonstopux ;;
   13442     *)
   13443 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13444 		version_type=linux
   13445 	else
   13446 		version_type=irix
   13447 	fi ;;
   13448   esac
   13449   need_lib_prefix=no
   13450   need_version=no
   13451   soname_spec='${libname}${release}${shared_ext}$major'
   13452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13453   case $host_os in
   13454   irix5* | nonstopux*)
   13455     libsuff= shlibsuff=
   13456     ;;
   13457   *)
   13458     case $LD in # libtool.m4 will add one of these switches to LD
   13459     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13460       libsuff= shlibsuff= libmagic=32-bit;;
   13461     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13462       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13463     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13464       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13465     *) libsuff= shlibsuff= libmagic=never-match;;
   13466     esac
   13467     ;;
   13468   esac
   13469   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13470   shlibpath_overrides_runpath=no
   13471   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13472   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13473   hardcode_into_libs=yes
   13474   ;;
   13475 
   13476 # No shared lib support for Linux oldld, aout, or coff.
   13477 linux*oldld* | linux*aout* | linux*coff*)
   13478   dynamic_linker=no
   13479   ;;
   13480 
   13481 # This must be Linux ELF.
   13482 linux* | k*bsd*-gnu)
   13483   version_type=linux
   13484   need_lib_prefix=no
   13485   need_version=no
   13486   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13487   soname_spec='${libname}${release}${shared_ext}$major'
   13488   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13489   shlibpath_var=LD_LIBRARY_PATH
   13490   shlibpath_overrides_runpath=no
   13491   # This implies no fast_install, which is unacceptable.
   13492   # Some rework will be needed to allow for fast_install
   13493   # before this can be enabled.
   13494   hardcode_into_libs=yes
   13495   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13496   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13497 
   13498   # Append ld.so.conf contents to the search path
   13499   if test -f /etc/ld.so.conf; then
   13500     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' ' '`
   13501     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13502   fi
   13503 
   13504   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13505   # powerpc, because MkLinux only supported shared libraries with the
   13506   # GNU dynamic linker.  Since this was broken with cross compilers,
   13507   # most powerpc-linux boxes support dynamic linking these days and
   13508   # people can always --disable-shared, the test was removed, and we
   13509   # assume the GNU/Linux dynamic linker is in use.
   13510   dynamic_linker='GNU/Linux ld.so'
   13511   ;;
   13512 
   13513 netbsd*)
   13514   version_type=sunos
   13515   need_lib_prefix=no
   13516   need_version=no
   13517   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13519     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13520     dynamic_linker='NetBSD (a.out) ld.so'
   13521   else
   13522     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13523     soname_spec='${libname}${release}${shared_ext}$major'
   13524     dynamic_linker='NetBSD ld.elf_so'
   13525   fi
   13526   shlibpath_var=LD_LIBRARY_PATH
   13527   shlibpath_overrides_runpath=yes
   13528   hardcode_into_libs=yes
   13529   ;;
   13530 
   13531 newsos6)
   13532   version_type=linux
   13533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13534   shlibpath_var=LD_LIBRARY_PATH
   13535   shlibpath_overrides_runpath=yes
   13536   ;;
   13537 
   13538 nto-qnx*)
   13539   version_type=linux
   13540   need_lib_prefix=no
   13541   need_version=no
   13542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13543   soname_spec='${libname}${release}${shared_ext}$major'
   13544   shlibpath_var=LD_LIBRARY_PATH
   13545   shlibpath_overrides_runpath=yes
   13546   ;;
   13547 
   13548 openbsd*)
   13549   version_type=sunos
   13550   sys_lib_dlsearch_path_spec="/usr/lib"
   13551   need_lib_prefix=no
   13552   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13553   case $host_os in
   13554     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13555     *)                         need_version=no  ;;
   13556   esac
   13557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13558   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13559   shlibpath_var=LD_LIBRARY_PATH
   13560   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13561     case $host_os in
   13562       openbsd2.[89] | openbsd2.[89].*)
   13563 	shlibpath_overrides_runpath=no
   13564 	;;
   13565       *)
   13566 	shlibpath_overrides_runpath=yes
   13567 	;;
   13568       esac
   13569   else
   13570     shlibpath_overrides_runpath=yes
   13571   fi
   13572   ;;
   13573 
   13574 os2*)
   13575   libname_spec='$name'
   13576   shrext_cmds=".dll"
   13577   need_lib_prefix=no
   13578   library_names_spec='$libname${shared_ext} $libname.a'
   13579   dynamic_linker='OS/2 ld.exe'
   13580   shlibpath_var=LIBPATH
   13581   ;;
   13582 
   13583 osf3* | osf4* | osf5*)
   13584   version_type=osf
   13585   need_lib_prefix=no
   13586   need_version=no
   13587   soname_spec='${libname}${release}${shared_ext}$major'
   13588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13589   shlibpath_var=LD_LIBRARY_PATH
   13590   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13591   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13592   ;;
   13593 
   13594 rdos*)
   13595   dynamic_linker=no
   13596   ;;
   13597 
   13598 solaris*)
   13599   version_type=linux
   13600   need_lib_prefix=no
   13601   need_version=no
   13602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13603   soname_spec='${libname}${release}${shared_ext}$major'
   13604   shlibpath_var=LD_LIBRARY_PATH
   13605   shlibpath_overrides_runpath=yes
   13606   hardcode_into_libs=yes
   13607   # ldd complains unless libraries are executable
   13608   postinstall_cmds='chmod +x $lib'
   13609   ;;
   13610 
   13611 sunos4*)
   13612   version_type=sunos
   13613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13614   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13615   shlibpath_var=LD_LIBRARY_PATH
   13616   shlibpath_overrides_runpath=yes
   13617   if test "$with_gnu_ld" = yes; then
   13618     need_lib_prefix=no
   13619   fi
   13620   need_version=yes
   13621   ;;
   13622 
   13623 sysv4 | sysv4.3*)
   13624   version_type=linux
   13625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13626   soname_spec='${libname}${release}${shared_ext}$major'
   13627   shlibpath_var=LD_LIBRARY_PATH
   13628   case $host_vendor in
   13629     sni)
   13630       shlibpath_overrides_runpath=no
   13631       need_lib_prefix=no
   13632       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13633       runpath_var=LD_RUN_PATH
   13634       ;;
   13635     siemens)
   13636       need_lib_prefix=no
   13637       ;;
   13638     motorola)
   13639       need_lib_prefix=no
   13640       need_version=no
   13641       shlibpath_overrides_runpath=no
   13642       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13643       ;;
   13644   esac
   13645   ;;
   13646 
   13647 sysv4*MP*)
   13648   if test -d /usr/nec ;then
   13649     version_type=linux
   13650     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13651     soname_spec='$libname${shared_ext}.$major'
   13652     shlibpath_var=LD_LIBRARY_PATH
   13653   fi
   13654   ;;
   13655 
   13656 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13657   version_type=freebsd-elf
   13658   need_lib_prefix=no
   13659   need_version=no
   13660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13661   soname_spec='${libname}${release}${shared_ext}$major'
   13662   shlibpath_var=LD_LIBRARY_PATH
   13663   hardcode_into_libs=yes
   13664   if test "$with_gnu_ld" = yes; then
   13665     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13666     shlibpath_overrides_runpath=no
   13667   else
   13668     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13669     shlibpath_overrides_runpath=yes
   13670     case $host_os in
   13671       sco3.2v5*)
   13672         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13673 	;;
   13674     esac
   13675   fi
   13676   sys_lib_dlsearch_path_spec='/usr/lib'
   13677   ;;
   13678 
   13679 uts4*)
   13680   version_type=linux
   13681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13682   soname_spec='${libname}${release}${shared_ext}$major'
   13683   shlibpath_var=LD_LIBRARY_PATH
   13684   ;;
   13685 
   13686 *)
   13687   dynamic_linker=no
   13688   ;;
   13689 esac
   13690 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13691 $as_echo "$dynamic_linker" >&6; }
   13692 test "$dynamic_linker" = no && can_build_shared=no
   13693 
   13694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13695   $as_echo_n "(cached) " >&6
   13696 else
   13697   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13698 fi
   13699 
   13700 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13701 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13702   $as_echo_n "(cached) " >&6
   13703 else
   13704   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13705 fi
   13706 
   13707 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13708 
   13709 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13710 if test "$GCC" = yes; then
   13711   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13712 fi
   13713 
   13714 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13716 hardcode_action_CXX=
   13717 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13718    test -n "$runpath_var_CXX" || \
   13719    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13720 
   13721   # We can hardcode non-existant directories.
   13722   if test "$hardcode_direct_CXX" != no &&
   13723      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13724      # have to relink, otherwise we might link with an installed library
   13725      # when we should be linking with a yet-to-be-installed one
   13726      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13727      test "$hardcode_minus_L_CXX" != no; then
   13728     # Linking always hardcodes the temporary library directory.
   13729     hardcode_action_CXX=relink
   13730   else
   13731     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13732     hardcode_action_CXX=immediate
   13733   fi
   13734 else
   13735   # We cannot hardcode anything, or else we can only hardcode existing
   13736   # directories.
   13737   hardcode_action_CXX=unsupported
   13738 fi
   13739 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13740 $as_echo "$hardcode_action_CXX" >&6; }
   13741 
   13742 if test "$hardcode_action_CXX" = relink; then
   13743   # Fast installation is not supported
   13744   enable_fast_install=no
   13745 elif test "$shlibpath_overrides_runpath" = yes ||
   13746      test "$enable_shared" = no; then
   13747   # Fast installation is not necessary
   13748   enable_fast_install=needless
   13749 fi
   13750 
   13751 
   13752 # The else clause should only fire when bootstrapping the
   13753 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13754 # with your package, and you will get complaints that there are
   13755 # no rules to generate ltmain.sh.
   13756 if test -f "$ltmain"; then
   13757   # See if we are running on zsh, and set the options which allow our commands through
   13758   # without removal of \ escapes.
   13759   if test -n "${ZSH_VERSION+set}" ; then
   13760     setopt NO_GLOB_SUBST
   13761   fi
   13762   # Now quote all the things that may contain metacharacters while being
   13763   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13764   # variables and quote the copies for generation of the libtool script.
   13765   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13766     SED SHELL STRIP \
   13767     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13768     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13769     deplibs_check_method reload_flag reload_cmds need_locks \
   13770     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13771     lt_cv_sys_global_symbol_to_c_name_address \
   13772     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13773     old_postinstall_cmds old_postuninstall_cmds \
   13774     compiler_CXX \
   13775     CC_CXX \
   13776     LD_CXX \
   13777     lt_prog_compiler_wl_CXX \
   13778     lt_prog_compiler_pic_CXX \
   13779     lt_prog_compiler_static_CXX \
   13780     lt_prog_compiler_no_builtin_flag_CXX \
   13781     export_dynamic_flag_spec_CXX \
   13782     thread_safe_flag_spec_CXX \
   13783     whole_archive_flag_spec_CXX \
   13784     enable_shared_with_static_runtimes_CXX \
   13785     old_archive_cmds_CXX \
   13786     old_archive_from_new_cmds_CXX \
   13787     predep_objects_CXX \
   13788     postdep_objects_CXX \
   13789     predeps_CXX \
   13790     postdeps_CXX \
   13791     compiler_lib_search_path_CXX \
   13792     compiler_lib_search_dirs_CXX \
   13793     archive_cmds_CXX \
   13794     archive_expsym_cmds_CXX \
   13795     postinstall_cmds_CXX \
   13796     postuninstall_cmds_CXX \
   13797     old_archive_from_expsyms_cmds_CXX \
   13798     allow_undefined_flag_CXX \
   13799     no_undefined_flag_CXX \
   13800     export_symbols_cmds_CXX \
   13801     hardcode_libdir_flag_spec_CXX \
   13802     hardcode_libdir_flag_spec_ld_CXX \
   13803     hardcode_libdir_separator_CXX \
   13804     hardcode_automatic_CXX \
   13805     module_cmds_CXX \
   13806     module_expsym_cmds_CXX \
   13807     lt_cv_prog_compiler_c_o_CXX \
   13808     fix_srcfile_path_CXX \
   13809     exclude_expsyms_CXX \
   13810     include_expsyms_CXX; do
   13811 
   13812     case $var in
   13813     old_archive_cmds_CXX | \
   13814     old_archive_from_new_cmds_CXX | \
   13815     archive_cmds_CXX | \
   13816     archive_expsym_cmds_CXX | \
   13817     module_cmds_CXX | \
   13818     module_expsym_cmds_CXX | \
   13819     old_archive_from_expsyms_cmds_CXX | \
   13820     export_symbols_cmds_CXX | \
   13821     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13822     postinstall_cmds | postuninstall_cmds | \
   13823     old_postinstall_cmds | old_postuninstall_cmds | \
   13824     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13825       # Double-quote double-evaled strings.
   13826       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13827       ;;
   13828     *)
   13829       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13830       ;;
   13831     esac
   13832   done
   13833 
   13834   case $lt_echo in
   13835   *'\$0 --fallback-echo"')
   13836     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13837     ;;
   13838   esac
   13839 
   13840 cfgfile="$ofile"
   13841 
   13842   cat <<__EOF__ >> "$cfgfile"
   13843 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13844 
   13845 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13846 
   13847 # Shell to use when invoking shell scripts.
   13848 SHELL=$lt_SHELL
   13849 
   13850 # Whether or not to build shared libraries.
   13851 build_libtool_libs=$enable_shared
   13852 
   13853 # Whether or not to build static libraries.
   13854 build_old_libs=$enable_static
   13855 
   13856 # Whether or not to add -lc for building shared libraries.
   13857 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13858 
   13859 # Whether or not to disallow shared libs when runtime libs are static
   13860 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13861 
   13862 # Whether or not to optimize for fast installation.
   13863 fast_install=$enable_fast_install
   13864 
   13865 # The host system.
   13866 host_alias=$host_alias
   13867 host=$host
   13868 host_os=$host_os
   13869 
   13870 # The build system.
   13871 build_alias=$build_alias
   13872 build=$build
   13873 build_os=$build_os
   13874 
   13875 # An echo program that does not interpret backslashes.
   13876 echo=$lt_echo
   13877 
   13878 # The archiver.
   13879 AR=$lt_AR
   13880 AR_FLAGS=$lt_AR_FLAGS
   13881 
   13882 # A C compiler.
   13883 LTCC=$lt_LTCC
   13884 
   13885 # LTCC compiler flags.
   13886 LTCFLAGS=$lt_LTCFLAGS
   13887 
   13888 # A language-specific compiler.
   13889 CC=$lt_compiler_CXX
   13890 
   13891 # Is the compiler the GNU C compiler?
   13892 with_gcc=$GCC_CXX
   13893 
   13894 # An ERE matcher.
   13895 EGREP=$lt_EGREP
   13896 
   13897 # The linker used to build libraries.
   13898 LD=$lt_LD_CXX
   13899 
   13900 # Whether we need hard or soft links.
   13901 LN_S=$lt_LN_S
   13902 
   13903 # A BSD-compatible nm program.
   13904 NM=$lt_NM
   13905 
   13906 # A symbol stripping program
   13907 STRIP=$lt_STRIP
   13908 
   13909 # Used to examine libraries when file_magic_cmd begins "file"
   13910 MAGIC_CMD=$MAGIC_CMD
   13911 
   13912 # Used on cygwin: DLL creation program.
   13913 DLLTOOL="$DLLTOOL"
   13914 
   13915 # Used on cygwin: object dumper.
   13916 OBJDUMP="$OBJDUMP"
   13917 
   13918 # Used on cygwin: assembler.
   13919 AS="$AS"
   13920 
   13921 # The name of the directory that contains temporary libtool files.
   13922 objdir=$objdir
   13923 
   13924 # How to create reloadable object files.
   13925 reload_flag=$lt_reload_flag
   13926 reload_cmds=$lt_reload_cmds
   13927 
   13928 # How to pass a linker flag through the compiler.
   13929 wl=$lt_lt_prog_compiler_wl_CXX
   13930 
   13931 # Object file suffix (normally "o").
   13932 objext="$ac_objext"
   13933 
   13934 # Old archive suffix (normally "a").
   13935 libext="$libext"
   13936 
   13937 # Shared library suffix (normally ".so").
   13938 shrext_cmds='$shrext_cmds'
   13939 
   13940 # Executable file suffix (normally "").
   13941 exeext="$exeext"
   13942 
   13943 # Additional compiler flags for building library objects.
   13944 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13945 pic_mode=$pic_mode
   13946 
   13947 # What is the maximum length of a command?
   13948 max_cmd_len=$lt_cv_sys_max_cmd_len
   13949 
   13950 # Does compiler simultaneously support -c and -o options?
   13951 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13952 
   13953 # Must we lock files when doing compilation?
   13954 need_locks=$lt_need_locks
   13955 
   13956 # Do we need the lib prefix for modules?
   13957 need_lib_prefix=$need_lib_prefix
   13958 
   13959 # Do we need a version for libraries?
   13960 need_version=$need_version
   13961 
   13962 # Whether dlopen is supported.
   13963 dlopen_support=$enable_dlopen
   13964 
   13965 # Whether dlopen of programs is supported.
   13966 dlopen_self=$enable_dlopen_self
   13967 
   13968 # Whether dlopen of statically linked programs is supported.
   13969 dlopen_self_static=$enable_dlopen_self_static
   13970 
   13971 # Compiler flag to prevent dynamic linking.
   13972 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13973 
   13974 # Compiler flag to turn off builtin functions.
   13975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13976 
   13977 # Compiler flag to allow reflexive dlopens.
   13978 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13979 
   13980 # Compiler flag to generate shared objects directly from archives.
   13981 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13982 
   13983 # Compiler flag to generate thread-safe objects.
   13984 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13985 
   13986 # Library versioning type.
   13987 version_type=$version_type
   13988 
   13989 # Format of library name prefix.
   13990 libname_spec=$lt_libname_spec
   13991 
   13992 # List of archive names.  First name is the real one, the rest are links.
   13993 # The last name is the one that the linker finds with -lNAME.
   13994 library_names_spec=$lt_library_names_spec
   13995 
   13996 # The coded name of the library, if different from the real name.
   13997 soname_spec=$lt_soname_spec
   13998 
   13999 # Commands used to build and install an old-style archive.
   14000 RANLIB=$lt_RANLIB
   14001 old_archive_cmds=$lt_old_archive_cmds_CXX
   14002 old_postinstall_cmds=$lt_old_postinstall_cmds
   14003 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14004 
   14005 # Create an old-style archive from a shared archive.
   14006 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14007 
   14008 # Create a temporary old-style archive to link instead of a shared archive.
   14009 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14010 
   14011 # Commands used to build and install a shared archive.
   14012 archive_cmds=$lt_archive_cmds_CXX
   14013 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14014 postinstall_cmds=$lt_postinstall_cmds
   14015 postuninstall_cmds=$lt_postuninstall_cmds
   14016 
   14017 # Commands used to build a loadable module (assumed same as above if empty)
   14018 module_cmds=$lt_module_cmds_CXX
   14019 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14020 
   14021 # Commands to strip libraries.
   14022 old_striplib=$lt_old_striplib
   14023 striplib=$lt_striplib
   14024 
   14025 # Dependencies to place before the objects being linked to create a
   14026 # shared library.
   14027 predep_objects=$lt_predep_objects_CXX
   14028 
   14029 # Dependencies to place after the objects being linked to create a
   14030 # shared library.
   14031 postdep_objects=$lt_postdep_objects_CXX
   14032 
   14033 # Dependencies to place before the objects being linked to create a
   14034 # shared library.
   14035 predeps=$lt_predeps_CXX
   14036 
   14037 # Dependencies to place after the objects being linked to create a
   14038 # shared library.
   14039 postdeps=$lt_postdeps_CXX
   14040 
   14041 # The directories searched by this compiler when creating a shared
   14042 # library
   14043 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14044 
   14045 # The library search path used internally by the compiler when linking
   14046 # a shared library.
   14047 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14048 
   14049 # Method to check whether dependent libraries are shared objects.
   14050 deplibs_check_method=$lt_deplibs_check_method
   14051 
   14052 # Command to use when deplibs_check_method == file_magic.
   14053 file_magic_cmd=$lt_file_magic_cmd
   14054 
   14055 # Flag that allows shared libraries with undefined symbols to be built.
   14056 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14057 
   14058 # Flag that forces no undefined symbols.
   14059 no_undefined_flag=$lt_no_undefined_flag_CXX
   14060 
   14061 # Commands used to finish a libtool library installation in a directory.
   14062 finish_cmds=$lt_finish_cmds
   14063 
   14064 # Same as above, but a single script fragment to be evaled but not shown.
   14065 finish_eval=$lt_finish_eval
   14066 
   14067 # Take the output of nm and produce a listing of raw symbols and C names.
   14068 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14069 
   14070 # Transform the output of nm in a proper C declaration
   14071 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14072 
   14073 # Transform the output of nm in a C name address pair
   14074 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14075 
   14076 # This is the shared library runtime path variable.
   14077 runpath_var=$runpath_var
   14078 
   14079 # This is the shared library path variable.
   14080 shlibpath_var=$shlibpath_var
   14081 
   14082 # Is shlibpath searched before the hard-coded library search path?
   14083 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14084 
   14085 # How to hardcode a shared library path into an executable.
   14086 hardcode_action=$hardcode_action_CXX
   14087 
   14088 # Whether we should hardcode library paths into libraries.
   14089 hardcode_into_libs=$hardcode_into_libs
   14090 
   14091 # Flag to hardcode \$libdir into a binary during linking.
   14092 # This must work even if \$libdir does not exist.
   14093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14094 
   14095 # If ld is used when linking, flag to hardcode \$libdir into
   14096 # a binary during linking. This must work even if \$libdir does
   14097 # not exist.
   14098 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14099 
   14100 # Whether we need a single -rpath flag with a separated argument.
   14101 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14102 
   14103 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14104 # resulting binary.
   14105 hardcode_direct=$hardcode_direct_CXX
   14106 
   14107 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14108 # resulting binary.
   14109 hardcode_minus_L=$hardcode_minus_L_CXX
   14110 
   14111 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14112 # the resulting binary.
   14113 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14114 
   14115 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14116 # and all subsequent libraries and executables linked against it.
   14117 hardcode_automatic=$hardcode_automatic_CXX
   14118 
   14119 # Variables whose values should be saved in libtool wrapper scripts and
   14120 # restored at relink time.
   14121 variables_saved_for_relink="$variables_saved_for_relink"
   14122 
   14123 # Whether libtool must link a program against all its dependency libraries.
   14124 link_all_deplibs=$link_all_deplibs_CXX
   14125 
   14126 # Compile-time system search path for libraries
   14127 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14128 
   14129 # Run-time system search path for libraries
   14130 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14131 
   14132 # Fix the shell variable \$srcfile for the compiler.
   14133 fix_srcfile_path=$lt_fix_srcfile_path
   14134 
   14135 # Set to yes if exported symbols are required.
   14136 always_export_symbols=$always_export_symbols_CXX
   14137 
   14138 # The commands to list exported symbols.
   14139 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14140 
   14141 # The commands to extract the exported symbol list from a shared archive.
   14142 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14143 
   14144 # Symbols that should not be listed in the preloaded symbols.
   14145 exclude_expsyms=$lt_exclude_expsyms_CXX
   14146 
   14147 # Symbols that must always be exported.
   14148 include_expsyms=$lt_include_expsyms_CXX
   14149 
   14150 # ### END LIBTOOL TAG CONFIG: $tagname
   14151 
   14152 __EOF__
   14153 
   14154 
   14155 else
   14156   # If there is no Makefile yet, we rely on a make rule to execute
   14157   # `config.status --recheck' to rerun these tests and create the
   14158   # libtool script then.
   14159   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14160   if test -f "$ltmain_in"; then
   14161     test -f Makefile && make "$ltmain"
   14162   fi
   14163 fi
   14164 
   14165 
   14166 ac_ext=c
   14167 ac_cpp='$CPP $CPPFLAGS'
   14168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14171 
   14172 CC=$lt_save_CC
   14173 LDCXX=$LD
   14174 LD=$lt_save_LD
   14175 GCC=$lt_save_GCC
   14176 with_gnu_ldcxx=$with_gnu_ld
   14177 with_gnu_ld=$lt_save_with_gnu_ld
   14178 lt_cv_path_LDCXX=$lt_cv_path_LD
   14179 lt_cv_path_LD=$lt_save_path_LD
   14180 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14181 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14182 
   14183 	else
   14184 	  tagname=""
   14185 	fi
   14186 	;;
   14187 
   14188       F77)
   14189 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14190 
   14191 ac_ext=f
   14192 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14193 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14194 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14195 
   14196 
   14197 archive_cmds_need_lc_F77=no
   14198 allow_undefined_flag_F77=
   14199 always_export_symbols_F77=no
   14200 archive_expsym_cmds_F77=
   14201 export_dynamic_flag_spec_F77=
   14202 hardcode_direct_F77=no
   14203 hardcode_libdir_flag_spec_F77=
   14204 hardcode_libdir_flag_spec_ld_F77=
   14205 hardcode_libdir_separator_F77=
   14206 hardcode_minus_L_F77=no
   14207 hardcode_automatic_F77=no
   14208 module_cmds_F77=
   14209 module_expsym_cmds_F77=
   14210 link_all_deplibs_F77=unknown
   14211 old_archive_cmds_F77=$old_archive_cmds
   14212 no_undefined_flag_F77=
   14213 whole_archive_flag_spec_F77=
   14214 enable_shared_with_static_runtimes_F77=no
   14215 
   14216 # Source file extension for f77 test sources.
   14217 ac_ext=f
   14218 
   14219 # Object file extension for compiled f77 test sources.
   14220 objext=o
   14221 objext_F77=$objext
   14222 
   14223 # Code to be used in simple compile tests
   14224 lt_simple_compile_test_code="\
   14225       subroutine t
   14226       return
   14227       end
   14228 "
   14229 
   14230 # Code to be used in simple link tests
   14231 lt_simple_link_test_code="\
   14232       program t
   14233       end
   14234 "
   14235 
   14236 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14237 
   14238 # If no C compiler was specified, use CC.
   14239 LTCC=${LTCC-"$CC"}
   14240 
   14241 # If no C compiler flags were specified, use CFLAGS.
   14242 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14243 
   14244 # Allow CC to be a program name with arguments.
   14245 compiler=$CC
   14246 
   14247 
   14248 # save warnings/boilerplate of simple test code
   14249 ac_outfile=conftest.$ac_objext
   14250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14252 _lt_compiler_boilerplate=`cat conftest.err`
   14253 $rm conftest*
   14254 
   14255 ac_outfile=conftest.$ac_objext
   14256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14258 _lt_linker_boilerplate=`cat conftest.err`
   14259 $rm -r conftest*
   14260 
   14261 
   14262 # Allow CC to be a program name with arguments.
   14263 lt_save_CC="$CC"
   14264 CC=${F77-"f77"}
   14265 compiler=$CC
   14266 compiler_F77=$CC
   14267 for cc_temp in $compiler""; do
   14268   case $cc_temp in
   14269     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14270     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14271     \-*) ;;
   14272     *) break;;
   14273   esac
   14274 done
   14275 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14276 
   14277 
   14278 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14279 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14280 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14281 $as_echo "$can_build_shared" >&6; }
   14282 
   14283 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14284 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14285 test "$can_build_shared" = "no" && enable_shared=no
   14286 
   14287 # On AIX, shared libraries and static libraries use the same namespace, and
   14288 # are all built from PIC.
   14289 case $host_os in
   14290 aix3*)
   14291   test "$enable_shared" = yes && enable_static=no
   14292   if test -n "$RANLIB"; then
   14293     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14294     postinstall_cmds='$RANLIB $lib'
   14295   fi
   14296   ;;
   14297 aix[4-9]*)
   14298   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14299     test "$enable_shared" = yes && enable_static=no
   14300   fi
   14301   ;;
   14302 esac
   14303 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14304 $as_echo "$enable_shared" >&6; }
   14305 
   14306 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14307 $as_echo_n "checking whether to build static libraries... " >&6; }
   14308 # Make sure either enable_shared or enable_static is yes.
   14309 test "$enable_shared" = yes || enable_static=yes
   14310 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14311 $as_echo "$enable_static" >&6; }
   14312 
   14313 GCC_F77="$G77"
   14314 LD_F77="$LD"
   14315 
   14316 lt_prog_compiler_wl_F77=
   14317 lt_prog_compiler_pic_F77=
   14318 lt_prog_compiler_static_F77=
   14319 
   14320 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14321 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14322 
   14323   if test "$GCC" = yes; then
   14324     lt_prog_compiler_wl_F77='-Wl,'
   14325     lt_prog_compiler_static_F77='-static'
   14326 
   14327     case $host_os in
   14328       aix*)
   14329       # All AIX code is PIC.
   14330       if test "$host_cpu" = ia64; then
   14331 	# AIX 5 now supports IA64 processor
   14332 	lt_prog_compiler_static_F77='-Bstatic'
   14333       fi
   14334       ;;
   14335 
   14336     amigaos*)
   14337       # FIXME: we need at least 68020 code to build shared libraries, but
   14338       # adding the `-m68020' flag to GCC prevents building anything better,
   14339       # like `-m68040'.
   14340       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14341       ;;
   14342 
   14343     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14344       # PIC is the default for these OSes.
   14345       ;;
   14346 
   14347     mingw* | cygwin* | pw32* | os2*)
   14348       # This hack is so that the source file can tell whether it is being
   14349       # built for inclusion in a dll (and should export symbols for example).
   14350       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14351       # (--disable-auto-import) libraries
   14352       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14353       ;;
   14354 
   14355     darwin* | rhapsody*)
   14356       # PIC is the default on this platform
   14357       # Common symbols not allowed in MH_DYLIB files
   14358       lt_prog_compiler_pic_F77='-fno-common'
   14359       ;;
   14360 
   14361     interix[3-9]*)
   14362       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14363       # Instead, we relocate shared libraries at runtime.
   14364       ;;
   14365 
   14366     msdosdjgpp*)
   14367       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14368       # on systems that don't support them.
   14369       lt_prog_compiler_can_build_shared_F77=no
   14370       enable_shared=no
   14371       ;;
   14372 
   14373     sysv4*MP*)
   14374       if test -d /usr/nec; then
   14375 	lt_prog_compiler_pic_F77=-Kconform_pic
   14376       fi
   14377       ;;
   14378 
   14379     hpux*)
   14380       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14381       # not for PA HP-UX.
   14382       case $host_cpu in
   14383       hppa*64*|ia64*)
   14384 	# +Z the default
   14385 	;;
   14386       *)
   14387 	lt_prog_compiler_pic_F77='-fPIC'
   14388 	;;
   14389       esac
   14390       ;;
   14391 
   14392     *)
   14393       lt_prog_compiler_pic_F77='-fPIC'
   14394       ;;
   14395     esac
   14396   else
   14397     # PORTME Check for flag to pass linker flags through the system compiler.
   14398     case $host_os in
   14399     aix*)
   14400       lt_prog_compiler_wl_F77='-Wl,'
   14401       if test "$host_cpu" = ia64; then
   14402 	# AIX 5 now supports IA64 processor
   14403 	lt_prog_compiler_static_F77='-Bstatic'
   14404       else
   14405 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14406       fi
   14407       ;;
   14408       darwin*)
   14409         # PIC is the default on this platform
   14410         # Common symbols not allowed in MH_DYLIB files
   14411        case $cc_basename in
   14412          xlc*)
   14413          lt_prog_compiler_pic_F77='-qnocommon'
   14414          lt_prog_compiler_wl_F77='-Wl,'
   14415          ;;
   14416        esac
   14417        ;;
   14418 
   14419     mingw* | cygwin* | pw32* | os2*)
   14420       # This hack is so that the source file can tell whether it is being
   14421       # built for inclusion in a dll (and should export symbols for example).
   14422       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14423       ;;
   14424 
   14425     hpux9* | hpux10* | hpux11*)
   14426       lt_prog_compiler_wl_F77='-Wl,'
   14427       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14428       # not for PA HP-UX.
   14429       case $host_cpu in
   14430       hppa*64*|ia64*)
   14431 	# +Z the default
   14432 	;;
   14433       *)
   14434 	lt_prog_compiler_pic_F77='+Z'
   14435 	;;
   14436       esac
   14437       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14438       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14439       ;;
   14440 
   14441     irix5* | irix6* | nonstopux*)
   14442       lt_prog_compiler_wl_F77='-Wl,'
   14443       # PIC (with -KPIC) is the default.
   14444       lt_prog_compiler_static_F77='-non_shared'
   14445       ;;
   14446 
   14447     newsos6)
   14448       lt_prog_compiler_pic_F77='-KPIC'
   14449       lt_prog_compiler_static_F77='-Bstatic'
   14450       ;;
   14451 
   14452     linux* | k*bsd*-gnu)
   14453       case $cc_basename in
   14454       icc* | ecc*)
   14455 	lt_prog_compiler_wl_F77='-Wl,'
   14456 	lt_prog_compiler_pic_F77='-KPIC'
   14457 	lt_prog_compiler_static_F77='-static'
   14458         ;;
   14459       pgcc* | pgf77* | pgf90* | pgf95*)
   14460         # Portland Group compilers (*not* the Pentium gcc compiler,
   14461 	# which looks to be a dead project)
   14462 	lt_prog_compiler_wl_F77='-Wl,'
   14463 	lt_prog_compiler_pic_F77='-fpic'
   14464 	lt_prog_compiler_static_F77='-Bstatic'
   14465         ;;
   14466       ccc*)
   14467         lt_prog_compiler_wl_F77='-Wl,'
   14468         # All Alpha code is PIC.
   14469         lt_prog_compiler_static_F77='-non_shared'
   14470         ;;
   14471       *)
   14472         case `$CC -V 2>&1 | sed 5q` in
   14473 	*Sun\ C*)
   14474 	  # Sun C 5.9
   14475 	  lt_prog_compiler_pic_F77='-KPIC'
   14476 	  lt_prog_compiler_static_F77='-Bstatic'
   14477 	  lt_prog_compiler_wl_F77='-Wl,'
   14478 	  ;;
   14479 	*Sun\ F*)
   14480 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14481 	  lt_prog_compiler_pic_F77='-KPIC'
   14482 	  lt_prog_compiler_static_F77='-Bstatic'
   14483 	  lt_prog_compiler_wl_F77=''
   14484 	  ;;
   14485 	esac
   14486 	;;
   14487       esac
   14488       ;;
   14489 
   14490     osf3* | osf4* | osf5*)
   14491       lt_prog_compiler_wl_F77='-Wl,'
   14492       # All OSF/1 code is PIC.
   14493       lt_prog_compiler_static_F77='-non_shared'
   14494       ;;
   14495 
   14496     rdos*)
   14497       lt_prog_compiler_static_F77='-non_shared'
   14498       ;;
   14499 
   14500     solaris*)
   14501       lt_prog_compiler_pic_F77='-KPIC'
   14502       lt_prog_compiler_static_F77='-Bstatic'
   14503       case $cc_basename in
   14504       f77* | f90* | f95*)
   14505 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14506       *)
   14507 	lt_prog_compiler_wl_F77='-Wl,';;
   14508       esac
   14509       ;;
   14510 
   14511     sunos4*)
   14512       lt_prog_compiler_wl_F77='-Qoption ld '
   14513       lt_prog_compiler_pic_F77='-PIC'
   14514       lt_prog_compiler_static_F77='-Bstatic'
   14515       ;;
   14516 
   14517     sysv4 | sysv4.2uw2* | sysv4.3*)
   14518       lt_prog_compiler_wl_F77='-Wl,'
   14519       lt_prog_compiler_pic_F77='-KPIC'
   14520       lt_prog_compiler_static_F77='-Bstatic'
   14521       ;;
   14522 
   14523     sysv4*MP*)
   14524       if test -d /usr/nec ;then
   14525 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14526 	lt_prog_compiler_static_F77='-Bstatic'
   14527       fi
   14528       ;;
   14529 
   14530     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14531       lt_prog_compiler_wl_F77='-Wl,'
   14532       lt_prog_compiler_pic_F77='-KPIC'
   14533       lt_prog_compiler_static_F77='-Bstatic'
   14534       ;;
   14535 
   14536     unicos*)
   14537       lt_prog_compiler_wl_F77='-Wl,'
   14538       lt_prog_compiler_can_build_shared_F77=no
   14539       ;;
   14540 
   14541     uts4*)
   14542       lt_prog_compiler_pic_F77='-pic'
   14543       lt_prog_compiler_static_F77='-Bstatic'
   14544       ;;
   14545 
   14546     *)
   14547       lt_prog_compiler_can_build_shared_F77=no
   14548       ;;
   14549     esac
   14550   fi
   14551 
   14552 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14553 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14554 
   14555 #
   14556 # Check to make sure the PIC flag actually works.
   14557 #
   14558 if test -n "$lt_prog_compiler_pic_F77"; then
   14559 
   14560 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14561 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14562 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14563   $as_echo_n "(cached) " >&6
   14564 else
   14565   lt_cv_prog_compiler_pic_works_F77=no
   14566   ac_outfile=conftest.$ac_objext
   14567    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14568    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14569    # Insert the option either (1) after the last *FLAGS variable, or
   14570    # (2) before a word containing "conftest.", or (3) at the end.
   14571    # Note that $ac_compile itself does not contain backslashes and begins
   14572    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14573    # The option is referenced via a variable to avoid confusing sed.
   14574    lt_compile=`echo "$ac_compile" | $SED \
   14575    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14576    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14577    -e 's:$: $lt_compiler_flag:'`
   14578    (eval echo "\"\$as_me:14578: $lt_compile\"" >&5)
   14579    (eval "$lt_compile" 2>conftest.err)
   14580    ac_status=$?
   14581    cat conftest.err >&5
   14582    echo "$as_me:14582: \$? = $ac_status" >&5
   14583    if (exit $ac_status) && test -s "$ac_outfile"; then
   14584      # The compiler can only warn and ignore the option if not recognized
   14585      # So say no if there are warnings other than the usual output.
   14586      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14587      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14588      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14589        lt_cv_prog_compiler_pic_works_F77=yes
   14590      fi
   14591    fi
   14592    $rm conftest*
   14593 
   14594 fi
   14595 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14596 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14597 
   14598 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14599     case $lt_prog_compiler_pic_F77 in
   14600      "" | " "*) ;;
   14601      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14602      esac
   14603 else
   14604     lt_prog_compiler_pic_F77=
   14605      lt_prog_compiler_can_build_shared_F77=no
   14606 fi
   14607 
   14608 fi
   14609 case $host_os in
   14610   # For platforms which do not support PIC, -DPIC is meaningless:
   14611   *djgpp*)
   14612     lt_prog_compiler_pic_F77=
   14613     ;;
   14614   *)
   14615     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14616     ;;
   14617 esac
   14618 
   14619 #
   14620 # Check to make sure the static flag actually works.
   14621 #
   14622 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14623 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14624 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14625 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14626   $as_echo_n "(cached) " >&6
   14627 else
   14628   lt_cv_prog_compiler_static_works_F77=no
   14629    save_LDFLAGS="$LDFLAGS"
   14630    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14631    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14632    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14633      # The linker can only warn and ignore the option if not recognized
   14634      # So say no if there are warnings
   14635      if test -s conftest.err; then
   14636        # Append any errors to the config.log.
   14637        cat conftest.err 1>&5
   14638        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14639        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14640        if diff conftest.exp conftest.er2 >/dev/null; then
   14641          lt_cv_prog_compiler_static_works_F77=yes
   14642        fi
   14643      else
   14644        lt_cv_prog_compiler_static_works_F77=yes
   14645      fi
   14646    fi
   14647    $rm -r conftest*
   14648    LDFLAGS="$save_LDFLAGS"
   14649 
   14650 fi
   14651 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14652 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14653 
   14654 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14655     :
   14656 else
   14657     lt_prog_compiler_static_F77=
   14658 fi
   14659 
   14660 
   14661 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14663 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14664   $as_echo_n "(cached) " >&6
   14665 else
   14666   lt_cv_prog_compiler_c_o_F77=no
   14667    $rm -r conftest 2>/dev/null
   14668    mkdir conftest
   14669    cd conftest
   14670    mkdir out
   14671    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14672 
   14673    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14674    # Insert the option either (1) after the last *FLAGS variable, or
   14675    # (2) before a word containing "conftest.", or (3) at the end.
   14676    # Note that $ac_compile itself does not contain backslashes and begins
   14677    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14678    lt_compile=`echo "$ac_compile" | $SED \
   14679    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14680    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14681    -e 's:$: $lt_compiler_flag:'`
   14682    (eval echo "\"\$as_me:14682: $lt_compile\"" >&5)
   14683    (eval "$lt_compile" 2>out/conftest.err)
   14684    ac_status=$?
   14685    cat out/conftest.err >&5
   14686    echo "$as_me:14686: \$? = $ac_status" >&5
   14687    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14688    then
   14689      # The compiler can only warn and ignore the option if not recognized
   14690      # So say no if there are warnings
   14691      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14692      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14693      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14694        lt_cv_prog_compiler_c_o_F77=yes
   14695      fi
   14696    fi
   14697    chmod u+w . 2>&5
   14698    $rm conftest*
   14699    # SGI C++ compiler will create directory out/ii_files/ for
   14700    # template instantiation
   14701    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14702    $rm out/* && rmdir out
   14703    cd ..
   14704    rmdir conftest
   14705    $rm conftest*
   14706 
   14707 fi
   14708 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14709 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14710 
   14711 
   14712 hard_links="nottested"
   14713 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14714   # do not overwrite the value of need_locks provided by the user
   14715   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14716 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14717   hard_links=yes
   14718   $rm conftest*
   14719   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14720   touch conftest.a
   14721   ln conftest.a conftest.b 2>&5 || hard_links=no
   14722   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14723   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14724 $as_echo "$hard_links" >&6; }
   14725   if test "$hard_links" = no; then
   14726     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14727 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14728     need_locks=warn
   14729   fi
   14730 else
   14731   need_locks=no
   14732 fi
   14733 
   14734 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14735 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14736 
   14737   runpath_var=
   14738   allow_undefined_flag_F77=
   14739   enable_shared_with_static_runtimes_F77=no
   14740   archive_cmds_F77=
   14741   archive_expsym_cmds_F77=
   14742   old_archive_From_new_cmds_F77=
   14743   old_archive_from_expsyms_cmds_F77=
   14744   export_dynamic_flag_spec_F77=
   14745   whole_archive_flag_spec_F77=
   14746   thread_safe_flag_spec_F77=
   14747   hardcode_libdir_flag_spec_F77=
   14748   hardcode_libdir_flag_spec_ld_F77=
   14749   hardcode_libdir_separator_F77=
   14750   hardcode_direct_F77=no
   14751   hardcode_minus_L_F77=no
   14752   hardcode_shlibpath_var_F77=unsupported
   14753   link_all_deplibs_F77=unknown
   14754   hardcode_automatic_F77=no
   14755   module_cmds_F77=
   14756   module_expsym_cmds_F77=
   14757   always_export_symbols_F77=no
   14758   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14759   # include_expsyms should be a list of space-separated symbols to be *always*
   14760   # included in the symbol list
   14761   include_expsyms_F77=
   14762   # exclude_expsyms can be an extended regexp of symbols to exclude
   14763   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14764   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14765   # as well as any symbol that contains `d'.
   14766   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14767   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14768   # platforms (ab)use it in PIC code, but their linkers get confused if
   14769   # the symbol is explicitly referenced.  Since portable code cannot
   14770   # rely on this symbol name, it's probably fine to never include it in
   14771   # preloaded symbol tables.
   14772   # Exclude shared library initialization/finalization symbols.
   14773   extract_expsyms_cmds=
   14774   # Just being paranoid about ensuring that cc_basename is set.
   14775   for cc_temp in $compiler""; do
   14776   case $cc_temp in
   14777     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14778     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14779     \-*) ;;
   14780     *) break;;
   14781   esac
   14782 done
   14783 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14784 
   14785   case $host_os in
   14786   cygwin* | mingw* | pw32*)
   14787     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14788     # When not using gcc, we currently assume that we are using
   14789     # Microsoft Visual C++.
   14790     if test "$GCC" != yes; then
   14791       with_gnu_ld=no
   14792     fi
   14793     ;;
   14794   interix*)
   14795     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14796     with_gnu_ld=yes
   14797     ;;
   14798   openbsd*)
   14799     with_gnu_ld=no
   14800     ;;
   14801   esac
   14802 
   14803   ld_shlibs_F77=yes
   14804   if test "$with_gnu_ld" = yes; then
   14805     # If archive_cmds runs LD, not CC, wlarc should be empty
   14806     wlarc='${wl}'
   14807 
   14808     # Set some defaults for GNU ld with shared library support. These
   14809     # are reset later if shared libraries are not supported. Putting them
   14810     # here allows them to be overridden if necessary.
   14811     runpath_var=LD_RUN_PATH
   14812     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14813     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14814     # ancient GNU ld didn't support --whole-archive et. al.
   14815     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14816 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14817       else
   14818   	whole_archive_flag_spec_F77=
   14819     fi
   14820     supports_anon_versioning=no
   14821     case `$LD -v 2>/dev/null` in
   14822       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14823       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14824       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14825       *\ 2.11.*) ;; # other 2.11 versions
   14826       *) supports_anon_versioning=yes ;;
   14827     esac
   14828 
   14829     # See if GNU ld supports shared libraries.
   14830     case $host_os in
   14831     aix[3-9]*)
   14832       # On AIX/PPC, the GNU linker is very broken
   14833       if test "$host_cpu" != ia64; then
   14834 	ld_shlibs_F77=no
   14835 	cat <<EOF 1>&2
   14836 
   14837 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14838 *** to be unable to reliably create shared libraries on AIX.
   14839 *** Therefore, libtool is disabling shared libraries support.  If you
   14840 *** really care for shared libraries, you may want to modify your PATH
   14841 *** so that a non-GNU linker is found, and then restart.
   14842 
   14843 EOF
   14844       fi
   14845       ;;
   14846 
   14847     amigaos*)
   14848       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)'
   14849       hardcode_libdir_flag_spec_F77='-L$libdir'
   14850       hardcode_minus_L_F77=yes
   14851 
   14852       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14853       # that the semantics of dynamic libraries on AmigaOS, at least up
   14854       # to version 4, is to share data among multiple programs linked
   14855       # with the same dynamic library.  Since this doesn't match the
   14856       # behavior of shared libraries on other platforms, we can't use
   14857       # them.
   14858       ld_shlibs_F77=no
   14859       ;;
   14860 
   14861     beos*)
   14862       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14863 	allow_undefined_flag_F77=unsupported
   14864 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14865 	# support --undefined.  This deserves some investigation.  FIXME
   14866 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14867       else
   14868 	ld_shlibs_F77=no
   14869       fi
   14870       ;;
   14871 
   14872     cygwin* | mingw* | pw32*)
   14873       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14874       # as there is no search path for DLLs.
   14875       hardcode_libdir_flag_spec_F77='-L$libdir'
   14876       allow_undefined_flag_F77=unsupported
   14877       always_export_symbols_F77=no
   14878       enable_shared_with_static_runtimes_F77=yes
   14879       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14880 
   14881       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14882         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14883 	# If the export-symbols file already is a .def file (1st line
   14884 	# is EXPORTS), use it as is; otherwise, prepend...
   14885 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14886 	  cp $export_symbols $output_objdir/$soname.def;
   14887 	else
   14888 	  echo EXPORTS > $output_objdir/$soname.def;
   14889 	  cat $export_symbols >> $output_objdir/$soname.def;
   14890 	fi~
   14891 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14892       else
   14893 	ld_shlibs_F77=no
   14894       fi
   14895       ;;
   14896 
   14897     interix[3-9]*)
   14898       hardcode_direct_F77=no
   14899       hardcode_shlibpath_var_F77=no
   14900       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14901       export_dynamic_flag_spec_F77='${wl}-E'
   14902       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14903       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14904       # default) and relocated if they conflict, which is a slow very memory
   14905       # consuming and fragmenting process.  To avoid this, we pick a random,
   14906       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14907       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14908       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'
   14909       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'
   14910       ;;
   14911 
   14912     gnu* | linux* | k*bsd*-gnu)
   14913       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14914 	tmp_addflag=
   14915 	case $cc_basename,$host_cpu in
   14916 	pgcc*)				# Portland Group C compiler
   14917 	  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'
   14918 	  tmp_addflag=' $pic_flag'
   14919 	  ;;
   14920 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14921 	  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'
   14922 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14923 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14924 	  tmp_addflag=' -i_dynamic' ;;
   14925 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14926 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14927 	ifc* | ifort*)			# Intel Fortran compiler
   14928 	  tmp_addflag=' -nofor_main' ;;
   14929 	esac
   14930 	case `$CC -V 2>&1 | sed 5q` in
   14931 	*Sun\ C*)			# Sun C 5.9
   14932 	  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'
   14933 	  tmp_sharedflag='-G' ;;
   14934 	*Sun\ F*)			# Sun Fortran 8.3
   14935 	  tmp_sharedflag='-G' ;;
   14936 	*)
   14937 	  tmp_sharedflag='-shared' ;;
   14938 	esac
   14939 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14940 
   14941 	if test $supports_anon_versioning = yes; then
   14942 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14943   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14944   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14945 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14946 	fi
   14947       else
   14948 	ld_shlibs_F77=no
   14949       fi
   14950       ;;
   14951 
   14952     netbsd*)
   14953       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14954 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14955 	wlarc=
   14956       else
   14957 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14958 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14959       fi
   14960       ;;
   14961 
   14962     solaris*)
   14963       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14964 	ld_shlibs_F77=no
   14965 	cat <<EOF 1>&2
   14966 
   14967 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14968 *** create shared libraries on Solaris systems.  Therefore, libtool
   14969 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14970 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14971 *** your PATH or compiler configuration so that the native linker is
   14972 *** used, and then restart.
   14973 
   14974 EOF
   14975       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14976 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14977 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14978       else
   14979 	ld_shlibs_F77=no
   14980       fi
   14981       ;;
   14982 
   14983     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14984       case `$LD -v 2>&1` in
   14985         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14986 	ld_shlibs_F77=no
   14987 	cat <<_LT_EOF 1>&2
   14988 
   14989 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14990 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14991 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14992 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14993 *** your PATH or compiler configuration so that the native linker is
   14994 *** used, and then restart.
   14995 
   14996 _LT_EOF
   14997 	;;
   14998 	*)
   14999 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15000 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15001 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15002 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15003 	  else
   15004 	    ld_shlibs_F77=no
   15005 	  fi
   15006 	;;
   15007       esac
   15008       ;;
   15009 
   15010     sunos4*)
   15011       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15012       wlarc=
   15013       hardcode_direct_F77=yes
   15014       hardcode_shlibpath_var_F77=no
   15015       ;;
   15016 
   15017     *)
   15018       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15019 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15020 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15021       else
   15022 	ld_shlibs_F77=no
   15023       fi
   15024       ;;
   15025     esac
   15026 
   15027     if test "$ld_shlibs_F77" = no; then
   15028       runpath_var=
   15029       hardcode_libdir_flag_spec_F77=
   15030       export_dynamic_flag_spec_F77=
   15031       whole_archive_flag_spec_F77=
   15032     fi
   15033   else
   15034     # PORTME fill in a description of your system's linker (not GNU ld)
   15035     case $host_os in
   15036     aix3*)
   15037       allow_undefined_flag_F77=unsupported
   15038       always_export_symbols_F77=yes
   15039       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'
   15040       # Note: this linker hardcodes the directories in LIBPATH if there
   15041       # are no directories specified by -L.
   15042       hardcode_minus_L_F77=yes
   15043       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15044 	# Neither direct hardcoding nor static linking is supported with a
   15045 	# broken collect2.
   15046 	hardcode_direct_F77=unsupported
   15047       fi
   15048       ;;
   15049 
   15050     aix[4-9]*)
   15051       if test "$host_cpu" = ia64; then
   15052 	# On IA64, the linker does run time linking by default, so we don't
   15053 	# have to do anything special.
   15054 	aix_use_runtimelinking=no
   15055 	exp_sym_flag='-Bexport'
   15056 	no_entry_flag=""
   15057       else
   15058 	# If we're using GNU nm, then we don't want the "-C" option.
   15059 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15060 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15061 	  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'
   15062 	else
   15063 	  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'
   15064 	fi
   15065 	aix_use_runtimelinking=no
   15066 
   15067 	# Test if we are trying to use run time linking or normal
   15068 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15069 	# need to do runtime linking.
   15070 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15071 	  for ld_flag in $LDFLAGS; do
   15072   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15073   	    aix_use_runtimelinking=yes
   15074   	    break
   15075   	  fi
   15076 	  done
   15077 	  ;;
   15078 	esac
   15079 
   15080 	exp_sym_flag='-bexport'
   15081 	no_entry_flag='-bnoentry'
   15082       fi
   15083 
   15084       # When large executables or shared objects are built, AIX ld can
   15085       # have problems creating the table of contents.  If linking a library
   15086       # or program results in "error TOC overflow" add -mminimal-toc to
   15087       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15088       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15089 
   15090       archive_cmds_F77=''
   15091       hardcode_direct_F77=yes
   15092       hardcode_libdir_separator_F77=':'
   15093       link_all_deplibs_F77=yes
   15094 
   15095       if test "$GCC" = yes; then
   15096 	case $host_os in aix4.[012]|aix4.[012].*)
   15097 	# We only want to do this on AIX 4.2 and lower, the check
   15098 	# below for broken collect2 doesn't work under 4.3+
   15099 	  collect2name=`${CC} -print-prog-name=collect2`
   15100 	  if test -f "$collect2name" && \
   15101   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15102 	  then
   15103   	  # We have reworked collect2
   15104   	  :
   15105 	  else
   15106   	  # We have old collect2
   15107   	  hardcode_direct_F77=unsupported
   15108   	  # It fails to find uninstalled libraries when the uninstalled
   15109   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15110   	  # to unsupported forces relinking
   15111   	  hardcode_minus_L_F77=yes
   15112   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15113   	  hardcode_libdir_separator_F77=
   15114 	  fi
   15115 	  ;;
   15116 	esac
   15117 	shared_flag='-shared'
   15118 	if test "$aix_use_runtimelinking" = yes; then
   15119 	  shared_flag="$shared_flag "'${wl}-G'
   15120 	fi
   15121       else
   15122 	# not using gcc
   15123 	if test "$host_cpu" = ia64; then
   15124   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15125   	# chokes on -Wl,-G. The following line is correct:
   15126 	  shared_flag='-G'
   15127 	else
   15128 	  if test "$aix_use_runtimelinking" = yes; then
   15129 	    shared_flag='${wl}-G'
   15130 	  else
   15131 	    shared_flag='${wl}-bM:SRE'
   15132 	  fi
   15133 	fi
   15134       fi
   15135 
   15136       # It seems that -bexpall does not export symbols beginning with
   15137       # underscore (_), so it is better to generate a list of symbols to export.
   15138       always_export_symbols_F77=yes
   15139       if test "$aix_use_runtimelinking" = yes; then
   15140 	# Warning - without using the other runtime loading flags (-brtl),
   15141 	# -berok will link without error, but may produce a broken library.
   15142 	allow_undefined_flag_F77='-berok'
   15143        # Determine the default libpath from the value encoded in an empty executable.
   15144        cat >conftest.$ac_ext <<_ACEOF
   15145       program main
   15146 
   15147       end
   15148 _ACEOF
   15149 rm -f conftest.$ac_objext conftest$ac_exeext
   15150 if { (ac_try="$ac_link"
   15151 case "(($ac_try" in
   15152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15153   *) ac_try_echo=$ac_try;;
   15154 esac
   15155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15156 $as_echo "$ac_try_echo") >&5
   15157   (eval "$ac_link") 2>conftest.er1
   15158   ac_status=$?
   15159   grep -v '^ *+' conftest.er1 >conftest.err
   15160   rm -f conftest.er1
   15161   cat conftest.err >&5
   15162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15163   (exit $ac_status); } && {
   15164 	 test -z "$ac_f77_werror_flag" ||
   15165 	 test ! -s conftest.err
   15166        } && test -s conftest$ac_exeext && {
   15167 	 test "$cross_compiling" = yes ||
   15168 	 $as_test_x conftest$ac_exeext
   15169        }; then
   15170 
   15171 lt_aix_libpath_sed='
   15172     /Import File Strings/,/^$/ {
   15173 	/^0/ {
   15174 	    s/^0  *\(.*\)$/\1/
   15175 	    p
   15176 	}
   15177     }'
   15178 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15179 # Check for a 64-bit object if we didn't find anything.
   15180 if test -z "$aix_libpath"; then
   15181   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15182 fi
   15183 else
   15184   $as_echo "$as_me: failed program was:" >&5
   15185 sed 's/^/| /' conftest.$ac_ext >&5
   15186 
   15187 
   15188 fi
   15189 
   15190 rm -rf conftest.dSYM
   15191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15192       conftest$ac_exeext conftest.$ac_ext
   15193 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15194 
   15195        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15196 	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"
   15197        else
   15198 	if test "$host_cpu" = ia64; then
   15199 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15200 	  allow_undefined_flag_F77="-z nodefs"
   15201 	  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"
   15202 	else
   15203 	 # Determine the default libpath from the value encoded in an empty executable.
   15204 	 cat >conftest.$ac_ext <<_ACEOF
   15205       program main
   15206 
   15207       end
   15208 _ACEOF
   15209 rm -f conftest.$ac_objext conftest$ac_exeext
   15210 if { (ac_try="$ac_link"
   15211 case "(($ac_try" in
   15212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15213   *) ac_try_echo=$ac_try;;
   15214 esac
   15215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15216 $as_echo "$ac_try_echo") >&5
   15217   (eval "$ac_link") 2>conftest.er1
   15218   ac_status=$?
   15219   grep -v '^ *+' conftest.er1 >conftest.err
   15220   rm -f conftest.er1
   15221   cat conftest.err >&5
   15222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15223   (exit $ac_status); } && {
   15224 	 test -z "$ac_f77_werror_flag" ||
   15225 	 test ! -s conftest.err
   15226        } && test -s conftest$ac_exeext && {
   15227 	 test "$cross_compiling" = yes ||
   15228 	 $as_test_x conftest$ac_exeext
   15229        }; then
   15230 
   15231 lt_aix_libpath_sed='
   15232     /Import File Strings/,/^$/ {
   15233 	/^0/ {
   15234 	    s/^0  *\(.*\)$/\1/
   15235 	    p
   15236 	}
   15237     }'
   15238 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15239 # Check for a 64-bit object if we didn't find anything.
   15240 if test -z "$aix_libpath"; then
   15241   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15242 fi
   15243 else
   15244   $as_echo "$as_me: failed program was:" >&5
   15245 sed 's/^/| /' conftest.$ac_ext >&5
   15246 
   15247 
   15248 fi
   15249 
   15250 rm -rf conftest.dSYM
   15251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15252       conftest$ac_exeext conftest.$ac_ext
   15253 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15254 
   15255 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15256 	  # Warning - without using the other run time loading flags,
   15257 	  # -berok will link without error, but may produce a broken library.
   15258 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15259 	  allow_undefined_flag_F77=' ${wl}-berok'
   15260 	  # Exported symbols can be pulled into shared objects from archives
   15261 	  whole_archive_flag_spec_F77='$convenience'
   15262 	  archive_cmds_need_lc_F77=yes
   15263 	  # This is similar to how AIX traditionally builds its shared libraries.
   15264 	  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'
   15265 	fi
   15266       fi
   15267       ;;
   15268 
   15269     amigaos*)
   15270       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)'
   15271       hardcode_libdir_flag_spec_F77='-L$libdir'
   15272       hardcode_minus_L_F77=yes
   15273       # see comment about different semantics on the GNU ld section
   15274       ld_shlibs_F77=no
   15275       ;;
   15276 
   15277     bsdi[45]*)
   15278       export_dynamic_flag_spec_F77=-rdynamic
   15279       ;;
   15280 
   15281     cygwin* | mingw* | pw32*)
   15282       # When not using gcc, we currently assume that we are using
   15283       # Microsoft Visual C++.
   15284       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15285       # no search path for DLLs.
   15286       hardcode_libdir_flag_spec_F77=' '
   15287       allow_undefined_flag_F77=unsupported
   15288       # Tell ltmain to make .lib files, not .a files.
   15289       libext=lib
   15290       # Tell ltmain to make .dll files, not .so files.
   15291       shrext_cmds=".dll"
   15292       # FIXME: Setting linknames here is a bad hack.
   15293       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15294       # The linker will automatically build a .lib file if we build a DLL.
   15295       old_archive_From_new_cmds_F77='true'
   15296       # FIXME: Should let the user specify the lib program.
   15297       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15298       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15299       enable_shared_with_static_runtimes_F77=yes
   15300       ;;
   15301 
   15302     darwin* | rhapsody*)
   15303       case $host_os in
   15304         rhapsody* | darwin1.[012])
   15305          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15306          ;;
   15307        *) # Darwin 1.3 on
   15308          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15309            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15310          else
   15311            case ${MACOSX_DEPLOYMENT_TARGET} in
   15312              10.[012])
   15313                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15314                ;;
   15315              10.*)
   15316                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15317                ;;
   15318            esac
   15319          fi
   15320          ;;
   15321       esac
   15322       archive_cmds_need_lc_F77=no
   15323       hardcode_direct_F77=no
   15324       hardcode_automatic_F77=yes
   15325       hardcode_shlibpath_var_F77=unsupported
   15326       whole_archive_flag_spec_F77=''
   15327       link_all_deplibs_F77=yes
   15328     if test "$GCC" = yes ; then
   15329     	output_verbose_link_cmd='echo'
   15330         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}"
   15331         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15332         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}"
   15333         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}"
   15334     else
   15335       case $cc_basename in
   15336         xlc*)
   15337          output_verbose_link_cmd='echo'
   15338          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15339          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15340           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15341          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}'
   15342           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}'
   15343           ;;
   15344        *)
   15345          ld_shlibs_F77=no
   15346           ;;
   15347       esac
   15348     fi
   15349       ;;
   15350 
   15351     dgux*)
   15352       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15353       hardcode_libdir_flag_spec_F77='-L$libdir'
   15354       hardcode_shlibpath_var_F77=no
   15355       ;;
   15356 
   15357     freebsd1*)
   15358       ld_shlibs_F77=no
   15359       ;;
   15360 
   15361     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15362     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15363     # does not break anything, and helps significantly (at the cost of a little
   15364     # extra space).
   15365     freebsd2.2*)
   15366       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15367       hardcode_libdir_flag_spec_F77='-R$libdir'
   15368       hardcode_direct_F77=yes
   15369       hardcode_shlibpath_var_F77=no
   15370       ;;
   15371 
   15372     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15373     freebsd2*)
   15374       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15375       hardcode_direct_F77=yes
   15376       hardcode_minus_L_F77=yes
   15377       hardcode_shlibpath_var_F77=no
   15378       ;;
   15379 
   15380     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15381     freebsd* | dragonfly*)
   15382       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15383       hardcode_libdir_flag_spec_F77='-R$libdir'
   15384       hardcode_direct_F77=yes
   15385       hardcode_shlibpath_var_F77=no
   15386       ;;
   15387 
   15388     hpux9*)
   15389       if test "$GCC" = yes; then
   15390 	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'
   15391       else
   15392 	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'
   15393       fi
   15394       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15395       hardcode_libdir_separator_F77=:
   15396       hardcode_direct_F77=yes
   15397 
   15398       # hardcode_minus_L: Not really in the search PATH,
   15399       # but as the default location of the library.
   15400       hardcode_minus_L_F77=yes
   15401       export_dynamic_flag_spec_F77='${wl}-E'
   15402       ;;
   15403 
   15404     hpux10*)
   15405       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15406 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15407       else
   15408 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15409       fi
   15410       if test "$with_gnu_ld" = no; then
   15411 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15412 	hardcode_libdir_separator_F77=:
   15413 
   15414 	hardcode_direct_F77=yes
   15415 	export_dynamic_flag_spec_F77='${wl}-E'
   15416 
   15417 	# hardcode_minus_L: Not really in the search PATH,
   15418 	# but as the default location of the library.
   15419 	hardcode_minus_L_F77=yes
   15420       fi
   15421       ;;
   15422 
   15423     hpux11*)
   15424       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15425 	case $host_cpu in
   15426 	hppa*64*)
   15427 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15428 	  ;;
   15429 	ia64*)
   15430 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15431 	  ;;
   15432 	*)
   15433 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15434 	  ;;
   15435 	esac
   15436       else
   15437 	case $host_cpu in
   15438 	hppa*64*)
   15439 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15440 	  ;;
   15441 	ia64*)
   15442 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15443 	  ;;
   15444 	*)
   15445 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15446 	  ;;
   15447 	esac
   15448       fi
   15449       if test "$with_gnu_ld" = no; then
   15450 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15451 	hardcode_libdir_separator_F77=:
   15452 
   15453 	case $host_cpu in
   15454 	hppa*64*|ia64*)
   15455 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15456 	  hardcode_direct_F77=no
   15457 	  hardcode_shlibpath_var_F77=no
   15458 	  ;;
   15459 	*)
   15460 	  hardcode_direct_F77=yes
   15461 	  export_dynamic_flag_spec_F77='${wl}-E'
   15462 
   15463 	  # hardcode_minus_L: Not really in the search PATH,
   15464 	  # but as the default location of the library.
   15465 	  hardcode_minus_L_F77=yes
   15466 	  ;;
   15467 	esac
   15468       fi
   15469       ;;
   15470 
   15471     irix5* | irix6* | nonstopux*)
   15472       if test "$GCC" = yes; then
   15473 	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'
   15474       else
   15475 	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'
   15476 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15477       fi
   15478       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15479       hardcode_libdir_separator_F77=:
   15480       link_all_deplibs_F77=yes
   15481       ;;
   15482 
   15483     netbsd*)
   15484       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15485 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15486       else
   15487 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15488       fi
   15489       hardcode_libdir_flag_spec_F77='-R$libdir'
   15490       hardcode_direct_F77=yes
   15491       hardcode_shlibpath_var_F77=no
   15492       ;;
   15493 
   15494     newsos6)
   15495       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15496       hardcode_direct_F77=yes
   15497       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15498       hardcode_libdir_separator_F77=:
   15499       hardcode_shlibpath_var_F77=no
   15500       ;;
   15501 
   15502     openbsd*)
   15503       if test -f /usr/libexec/ld.so; then
   15504 	hardcode_direct_F77=yes
   15505 	hardcode_shlibpath_var_F77=no
   15506 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15507 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15508 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15509 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15510 	  export_dynamic_flag_spec_F77='${wl}-E'
   15511 	else
   15512 	  case $host_os in
   15513 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15514 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15515 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15516 	     ;;
   15517 	   *)
   15518 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15519 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15520 	     ;;
   15521 	  esac
   15522         fi
   15523       else
   15524 	ld_shlibs_F77=no
   15525       fi
   15526       ;;
   15527 
   15528     os2*)
   15529       hardcode_libdir_flag_spec_F77='-L$libdir'
   15530       hardcode_minus_L_F77=yes
   15531       allow_undefined_flag_F77=unsupported
   15532       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'
   15533       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15534       ;;
   15535 
   15536     osf3*)
   15537       if test "$GCC" = yes; then
   15538 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15539 	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'
   15540       else
   15541 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15542 	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'
   15543       fi
   15544       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15545       hardcode_libdir_separator_F77=:
   15546       ;;
   15547 
   15548     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15549       if test "$GCC" = yes; then
   15550 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15551 	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'
   15552 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15553       else
   15554 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15555 	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'
   15556 	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~
   15557 	$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'
   15558 
   15559 	# Both c and cxx compiler support -rpath directly
   15560 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15561       fi
   15562       hardcode_libdir_separator_F77=:
   15563       ;;
   15564 
   15565     solaris*)
   15566       no_undefined_flag_F77=' -z text'
   15567       if test "$GCC" = yes; then
   15568 	wlarc='${wl}'
   15569 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15570 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15571 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15572       else
   15573 	wlarc=''
   15574 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15575 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15576   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15577       fi
   15578       hardcode_libdir_flag_spec_F77='-R$libdir'
   15579       hardcode_shlibpath_var_F77=no
   15580       case $host_os in
   15581       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15582       *)
   15583 	# The compiler driver will combine and reorder linker options,
   15584 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15585 	# but is careful enough not to reorder.
   15586  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15587 	if test "$GCC" = yes; then
   15588 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15589 	else
   15590 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15591 	fi
   15592 	;;
   15593       esac
   15594       link_all_deplibs_F77=yes
   15595       ;;
   15596 
   15597     sunos4*)
   15598       if test "x$host_vendor" = xsequent; then
   15599 	# Use $CC to link under sequent, because it throws in some extra .o
   15600 	# files that make .init and .fini sections work.
   15601 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15602       else
   15603 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15604       fi
   15605       hardcode_libdir_flag_spec_F77='-L$libdir'
   15606       hardcode_direct_F77=yes
   15607       hardcode_minus_L_F77=yes
   15608       hardcode_shlibpath_var_F77=no
   15609       ;;
   15610 
   15611     sysv4)
   15612       case $host_vendor in
   15613 	sni)
   15614 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15615 	  hardcode_direct_F77=yes # is this really true???
   15616 	;;
   15617 	siemens)
   15618 	  ## LD is ld it makes a PLAMLIB
   15619 	  ## CC just makes a GrossModule.
   15620 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15621 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15622 	  hardcode_direct_F77=no
   15623         ;;
   15624 	motorola)
   15625 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15626 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15627 	;;
   15628       esac
   15629       runpath_var='LD_RUN_PATH'
   15630       hardcode_shlibpath_var_F77=no
   15631       ;;
   15632 
   15633     sysv4.3*)
   15634       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15635       hardcode_shlibpath_var_F77=no
   15636       export_dynamic_flag_spec_F77='-Bexport'
   15637       ;;
   15638 
   15639     sysv4*MP*)
   15640       if test -d /usr/nec; then
   15641 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15642 	hardcode_shlibpath_var_F77=no
   15643 	runpath_var=LD_RUN_PATH
   15644 	hardcode_runpath_var=yes
   15645 	ld_shlibs_F77=yes
   15646       fi
   15647       ;;
   15648 
   15649     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15650       no_undefined_flag_F77='${wl}-z,text'
   15651       archive_cmds_need_lc_F77=no
   15652       hardcode_shlibpath_var_F77=no
   15653       runpath_var='LD_RUN_PATH'
   15654 
   15655       if test "$GCC" = yes; then
   15656 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15657 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15658       else
   15659 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15660 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15661       fi
   15662       ;;
   15663 
   15664     sysv5* | sco3.2v5* | sco5v6*)
   15665       # Note: We can NOT use -z defs as we might desire, because we do not
   15666       # link with -lc, and that would cause any symbols used from libc to
   15667       # always be unresolved, which means just about no library would
   15668       # ever link correctly.  If we're not using GNU ld we use -z text
   15669       # though, which does catch some bad symbols but isn't as heavy-handed
   15670       # as -z defs.
   15671       no_undefined_flag_F77='${wl}-z,text'
   15672       allow_undefined_flag_F77='${wl}-z,nodefs'
   15673       archive_cmds_need_lc_F77=no
   15674       hardcode_shlibpath_var_F77=no
   15675       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15676       hardcode_libdir_separator_F77=':'
   15677       link_all_deplibs_F77=yes
   15678       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15679       runpath_var='LD_RUN_PATH'
   15680 
   15681       if test "$GCC" = yes; then
   15682 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15683 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15684       else
   15685 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15686 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15687       fi
   15688       ;;
   15689 
   15690     uts4*)
   15691       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15692       hardcode_libdir_flag_spec_F77='-L$libdir'
   15693       hardcode_shlibpath_var_F77=no
   15694       ;;
   15695 
   15696     *)
   15697       ld_shlibs_F77=no
   15698       ;;
   15699     esac
   15700   fi
   15701 
   15702 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15703 $as_echo "$ld_shlibs_F77" >&6; }
   15704 test "$ld_shlibs_F77" = no && can_build_shared=no
   15705 
   15706 #
   15707 # Do we need to explicitly link libc?
   15708 #
   15709 case "x$archive_cmds_need_lc_F77" in
   15710 x|xyes)
   15711   # Assume -lc should be added
   15712   archive_cmds_need_lc_F77=yes
   15713 
   15714   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15715     case $archive_cmds_F77 in
   15716     *'~'*)
   15717       # FIXME: we may have to deal with multi-command sequences.
   15718       ;;
   15719     '$CC '*)
   15720       # Test whether the compiler implicitly links with -lc since on some
   15721       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15722       # to ld, don't add -lc before -lgcc.
   15723       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15724 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15725       $rm conftest*
   15726       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15727 
   15728       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15729   (eval $ac_compile) 2>&5
   15730   ac_status=$?
   15731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15732   (exit $ac_status); } 2>conftest.err; then
   15733         soname=conftest
   15734         lib=conftest
   15735         libobjs=conftest.$ac_objext
   15736         deplibs=
   15737         wl=$lt_prog_compiler_wl_F77
   15738 	pic_flag=$lt_prog_compiler_pic_F77
   15739         compiler_flags=-v
   15740         linker_flags=-v
   15741         verstring=
   15742         output_objdir=.
   15743         libname=conftest
   15744         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15745         allow_undefined_flag_F77=
   15746         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15747   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15748   ac_status=$?
   15749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15750   (exit $ac_status); }
   15751         then
   15752 	  archive_cmds_need_lc_F77=no
   15753         else
   15754 	  archive_cmds_need_lc_F77=yes
   15755         fi
   15756         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15757       else
   15758         cat conftest.err 1>&5
   15759       fi
   15760       $rm conftest*
   15761       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15762 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15763       ;;
   15764     esac
   15765   fi
   15766   ;;
   15767 esac
   15768 
   15769 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15770 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15771 library_names_spec=
   15772 libname_spec='lib$name'
   15773 soname_spec=
   15774 shrext_cmds=".so"
   15775 postinstall_cmds=
   15776 postuninstall_cmds=
   15777 finish_cmds=
   15778 finish_eval=
   15779 shlibpath_var=
   15780 shlibpath_overrides_runpath=unknown
   15781 version_type=none
   15782 dynamic_linker="$host_os ld.so"
   15783 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15784 
   15785 need_lib_prefix=unknown
   15786 hardcode_into_libs=no
   15787 
   15788 # when you set need_version to no, make sure it does not cause -set_version
   15789 # flags to be left without arguments
   15790 need_version=unknown
   15791 
   15792 case $host_os in
   15793 aix3*)
   15794   version_type=linux
   15795   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15796   shlibpath_var=LIBPATH
   15797 
   15798   # AIX 3 has no versioning support, so we append a major version to the name.
   15799   soname_spec='${libname}${release}${shared_ext}$major'
   15800   ;;
   15801 
   15802 aix[4-9]*)
   15803   version_type=linux
   15804   need_lib_prefix=no
   15805   need_version=no
   15806   hardcode_into_libs=yes
   15807   if test "$host_cpu" = ia64; then
   15808     # AIX 5 supports IA64
   15809     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15810     shlibpath_var=LD_LIBRARY_PATH
   15811   else
   15812     # With GCC up to 2.95.x, collect2 would create an import file
   15813     # for dependence libraries.  The import file would start with
   15814     # the line `#! .'.  This would cause the generated library to
   15815     # depend on `.', always an invalid library.  This was fixed in
   15816     # development snapshots of GCC prior to 3.0.
   15817     case $host_os in
   15818       aix4 | aix4.[01] | aix4.[01].*)
   15819       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15820 	   echo ' yes '
   15821 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15822 	:
   15823       else
   15824 	can_build_shared=no
   15825       fi
   15826       ;;
   15827     esac
   15828     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15829     # soname into executable. Probably we can add versioning support to
   15830     # collect2, so additional links can be useful in future.
   15831     if test "$aix_use_runtimelinking" = yes; then
   15832       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15833       # instead of lib<name>.a to let people know that these are not
   15834       # typical AIX shared libraries.
   15835       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15836     else
   15837       # We preserve .a as extension for shared libraries through AIX4.2
   15838       # and later when we are not doing run time linking.
   15839       library_names_spec='${libname}${release}.a $libname.a'
   15840       soname_spec='${libname}${release}${shared_ext}$major'
   15841     fi
   15842     shlibpath_var=LIBPATH
   15843   fi
   15844   ;;
   15845 
   15846 amigaos*)
   15847   library_names_spec='$libname.ixlibrary $libname.a'
   15848   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15849   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'
   15850   ;;
   15851 
   15852 beos*)
   15853   library_names_spec='${libname}${shared_ext}'
   15854   dynamic_linker="$host_os ld.so"
   15855   shlibpath_var=LIBRARY_PATH
   15856   ;;
   15857 
   15858 bsdi[45]*)
   15859   version_type=linux
   15860   need_version=no
   15861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15862   soname_spec='${libname}${release}${shared_ext}$major'
   15863   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15864   shlibpath_var=LD_LIBRARY_PATH
   15865   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15866   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15867   # the default ld.so.conf also contains /usr/contrib/lib and
   15868   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15869   # libtool to hard-code these into programs
   15870   ;;
   15871 
   15872 cygwin* | mingw* | pw32*)
   15873   version_type=windows
   15874   shrext_cmds=".dll"
   15875   need_version=no
   15876   need_lib_prefix=no
   15877 
   15878   case $GCC,$host_os in
   15879   yes,cygwin* | yes,mingw* | yes,pw32*)
   15880     library_names_spec='$libname.dll.a'
   15881     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15882     postinstall_cmds='base_file=`basename \${file}`~
   15883       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15884       dldir=$destdir/`dirname \$dlpath`~
   15885       test -d \$dldir || mkdir -p \$dldir~
   15886       $install_prog $dir/$dlname \$dldir/$dlname~
   15887       chmod a+x \$dldir/$dlname'
   15888     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15889       dlpath=$dir/\$dldll~
   15890        $rm \$dlpath'
   15891     shlibpath_overrides_runpath=yes
   15892 
   15893     case $host_os in
   15894     cygwin*)
   15895       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15896       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15897       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15898       ;;
   15899     mingw*)
   15900       # MinGW DLLs use traditional 'lib' prefix
   15901       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15902       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15903       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15904         # It is most probably a Windows format PATH printed by
   15905         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15906         # path with ; separators, and with drive letters. We can handle the
   15907         # drive letters (cygwin fileutils understands them), so leave them,
   15908         # especially as we might pass files found there to a mingw objdump,
   15909         # which wouldn't understand a cygwinified path. Ahh.
   15910         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15911       else
   15912         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15913       fi
   15914       ;;
   15915     pw32*)
   15916       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15917       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15918       ;;
   15919     esac
   15920     ;;
   15921 
   15922   *)
   15923     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15924     ;;
   15925   esac
   15926   dynamic_linker='Win32 ld.exe'
   15927   # FIXME: first we should search . and the directory the executable is in
   15928   shlibpath_var=PATH
   15929   ;;
   15930 
   15931 darwin* | rhapsody*)
   15932   dynamic_linker="$host_os dyld"
   15933   version_type=darwin
   15934   need_lib_prefix=no
   15935   need_version=no
   15936   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15937   soname_spec='${libname}${release}${major}$shared_ext'
   15938   shlibpath_overrides_runpath=yes
   15939   shlibpath_var=DYLD_LIBRARY_PATH
   15940   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15941 
   15942   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15943   ;;
   15944 
   15945 dgux*)
   15946   version_type=linux
   15947   need_lib_prefix=no
   15948   need_version=no
   15949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15950   soname_spec='${libname}${release}${shared_ext}$major'
   15951   shlibpath_var=LD_LIBRARY_PATH
   15952   ;;
   15953 
   15954 freebsd1*)
   15955   dynamic_linker=no
   15956   ;;
   15957 
   15958 freebsd* | dragonfly*)
   15959   # DragonFly does not have aout.  When/if they implement a new
   15960   # versioning mechanism, adjust this.
   15961   if test -x /usr/bin/objformat; then
   15962     objformat=`/usr/bin/objformat`
   15963   else
   15964     case $host_os in
   15965     freebsd[123]*) objformat=aout ;;
   15966     *) objformat=elf ;;
   15967     esac
   15968   fi
   15969   version_type=freebsd-$objformat
   15970   case $version_type in
   15971     freebsd-elf*)
   15972       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15973       need_version=no
   15974       need_lib_prefix=no
   15975       ;;
   15976     freebsd-*)
   15977       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15978       need_version=yes
   15979       ;;
   15980   esac
   15981   shlibpath_var=LD_LIBRARY_PATH
   15982   case $host_os in
   15983   freebsd2*)
   15984     shlibpath_overrides_runpath=yes
   15985     ;;
   15986   freebsd3.[01]* | freebsdelf3.[01]*)
   15987     shlibpath_overrides_runpath=yes
   15988     hardcode_into_libs=yes
   15989     ;;
   15990   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15991   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15992     shlibpath_overrides_runpath=no
   15993     hardcode_into_libs=yes
   15994     ;;
   15995   *) # from 4.6 on, and DragonFly
   15996     shlibpath_overrides_runpath=yes
   15997     hardcode_into_libs=yes
   15998     ;;
   15999   esac
   16000   ;;
   16001 
   16002 gnu*)
   16003   version_type=linux
   16004   need_lib_prefix=no
   16005   need_version=no
   16006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16007   soname_spec='${libname}${release}${shared_ext}$major'
   16008   shlibpath_var=LD_LIBRARY_PATH
   16009   hardcode_into_libs=yes
   16010   ;;
   16011 
   16012 hpux9* | hpux10* | hpux11*)
   16013   # Give a soname corresponding to the major version so that dld.sl refuses to
   16014   # link against other versions.
   16015   version_type=sunos
   16016   need_lib_prefix=no
   16017   need_version=no
   16018   case $host_cpu in
   16019   ia64*)
   16020     shrext_cmds='.so'
   16021     hardcode_into_libs=yes
   16022     dynamic_linker="$host_os dld.so"
   16023     shlibpath_var=LD_LIBRARY_PATH
   16024     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16025     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16026     soname_spec='${libname}${release}${shared_ext}$major'
   16027     if test "X$HPUX_IA64_MODE" = X32; then
   16028       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16029     else
   16030       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16031     fi
   16032     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16033     ;;
   16034    hppa*64*)
   16035      shrext_cmds='.sl'
   16036      hardcode_into_libs=yes
   16037      dynamic_linker="$host_os dld.sl"
   16038      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16039      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16040      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16041      soname_spec='${libname}${release}${shared_ext}$major'
   16042      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16043      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16044      ;;
   16045    *)
   16046     shrext_cmds='.sl'
   16047     dynamic_linker="$host_os dld.sl"
   16048     shlibpath_var=SHLIB_PATH
   16049     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16050     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16051     soname_spec='${libname}${release}${shared_ext}$major'
   16052     ;;
   16053   esac
   16054   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16055   postinstall_cmds='chmod 555 $lib'
   16056   ;;
   16057 
   16058 interix[3-9]*)
   16059   version_type=linux
   16060   need_lib_prefix=no
   16061   need_version=no
   16062   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16063   soname_spec='${libname}${release}${shared_ext}$major'
   16064   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16065   shlibpath_var=LD_LIBRARY_PATH
   16066   shlibpath_overrides_runpath=no
   16067   hardcode_into_libs=yes
   16068   ;;
   16069 
   16070 irix5* | irix6* | nonstopux*)
   16071   case $host_os in
   16072     nonstopux*) version_type=nonstopux ;;
   16073     *)
   16074 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16075 		version_type=linux
   16076 	else
   16077 		version_type=irix
   16078 	fi ;;
   16079   esac
   16080   need_lib_prefix=no
   16081   need_version=no
   16082   soname_spec='${libname}${release}${shared_ext}$major'
   16083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16084   case $host_os in
   16085   irix5* | nonstopux*)
   16086     libsuff= shlibsuff=
   16087     ;;
   16088   *)
   16089     case $LD in # libtool.m4 will add one of these switches to LD
   16090     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16091       libsuff= shlibsuff= libmagic=32-bit;;
   16092     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16093       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16094     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16095       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16096     *) libsuff= shlibsuff= libmagic=never-match;;
   16097     esac
   16098     ;;
   16099   esac
   16100   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16101   shlibpath_overrides_runpath=no
   16102   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16103   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16104   hardcode_into_libs=yes
   16105   ;;
   16106 
   16107 # No shared lib support for Linux oldld, aout, or coff.
   16108 linux*oldld* | linux*aout* | linux*coff*)
   16109   dynamic_linker=no
   16110   ;;
   16111 
   16112 # This must be Linux ELF.
   16113 linux* | k*bsd*-gnu)
   16114   version_type=linux
   16115   need_lib_prefix=no
   16116   need_version=no
   16117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16118   soname_spec='${libname}${release}${shared_ext}$major'
   16119   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16120   shlibpath_var=LD_LIBRARY_PATH
   16121   shlibpath_overrides_runpath=no
   16122   # This implies no fast_install, which is unacceptable.
   16123   # Some rework will be needed to allow for fast_install
   16124   # before this can be enabled.
   16125   hardcode_into_libs=yes
   16126   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16127   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16128 
   16129   # Append ld.so.conf contents to the search path
   16130   if test -f /etc/ld.so.conf; then
   16131     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' ' '`
   16132     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16133   fi
   16134 
   16135   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16136   # powerpc, because MkLinux only supported shared libraries with the
   16137   # GNU dynamic linker.  Since this was broken with cross compilers,
   16138   # most powerpc-linux boxes support dynamic linking these days and
   16139   # people can always --disable-shared, the test was removed, and we
   16140   # assume the GNU/Linux dynamic linker is in use.
   16141   dynamic_linker='GNU/Linux ld.so'
   16142   ;;
   16143 
   16144 netbsd*)
   16145   version_type=sunos
   16146   need_lib_prefix=no
   16147   need_version=no
   16148   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16149     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16150     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16151     dynamic_linker='NetBSD (a.out) ld.so'
   16152   else
   16153     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16154     soname_spec='${libname}${release}${shared_ext}$major'
   16155     dynamic_linker='NetBSD ld.elf_so'
   16156   fi
   16157   shlibpath_var=LD_LIBRARY_PATH
   16158   shlibpath_overrides_runpath=yes
   16159   hardcode_into_libs=yes
   16160   ;;
   16161 
   16162 newsos6)
   16163   version_type=linux
   16164   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16165   shlibpath_var=LD_LIBRARY_PATH
   16166   shlibpath_overrides_runpath=yes
   16167   ;;
   16168 
   16169 nto-qnx*)
   16170   version_type=linux
   16171   need_lib_prefix=no
   16172   need_version=no
   16173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16174   soname_spec='${libname}${release}${shared_ext}$major'
   16175   shlibpath_var=LD_LIBRARY_PATH
   16176   shlibpath_overrides_runpath=yes
   16177   ;;
   16178 
   16179 openbsd*)
   16180   version_type=sunos
   16181   sys_lib_dlsearch_path_spec="/usr/lib"
   16182   need_lib_prefix=no
   16183   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16184   case $host_os in
   16185     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16186     *)                         need_version=no  ;;
   16187   esac
   16188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16189   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16190   shlibpath_var=LD_LIBRARY_PATH
   16191   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16192     case $host_os in
   16193       openbsd2.[89] | openbsd2.[89].*)
   16194 	shlibpath_overrides_runpath=no
   16195 	;;
   16196       *)
   16197 	shlibpath_overrides_runpath=yes
   16198 	;;
   16199       esac
   16200   else
   16201     shlibpath_overrides_runpath=yes
   16202   fi
   16203   ;;
   16204 
   16205 os2*)
   16206   libname_spec='$name'
   16207   shrext_cmds=".dll"
   16208   need_lib_prefix=no
   16209   library_names_spec='$libname${shared_ext} $libname.a'
   16210   dynamic_linker='OS/2 ld.exe'
   16211   shlibpath_var=LIBPATH
   16212   ;;
   16213 
   16214 osf3* | osf4* | osf5*)
   16215   version_type=osf
   16216   need_lib_prefix=no
   16217   need_version=no
   16218   soname_spec='${libname}${release}${shared_ext}$major'
   16219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16220   shlibpath_var=LD_LIBRARY_PATH
   16221   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16222   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16223   ;;
   16224 
   16225 rdos*)
   16226   dynamic_linker=no
   16227   ;;
   16228 
   16229 solaris*)
   16230   version_type=linux
   16231   need_lib_prefix=no
   16232   need_version=no
   16233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16234   soname_spec='${libname}${release}${shared_ext}$major'
   16235   shlibpath_var=LD_LIBRARY_PATH
   16236   shlibpath_overrides_runpath=yes
   16237   hardcode_into_libs=yes
   16238   # ldd complains unless libraries are executable
   16239   postinstall_cmds='chmod +x $lib'
   16240   ;;
   16241 
   16242 sunos4*)
   16243   version_type=sunos
   16244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16245   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16246   shlibpath_var=LD_LIBRARY_PATH
   16247   shlibpath_overrides_runpath=yes
   16248   if test "$with_gnu_ld" = yes; then
   16249     need_lib_prefix=no
   16250   fi
   16251   need_version=yes
   16252   ;;
   16253 
   16254 sysv4 | sysv4.3*)
   16255   version_type=linux
   16256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16257   soname_spec='${libname}${release}${shared_ext}$major'
   16258   shlibpath_var=LD_LIBRARY_PATH
   16259   case $host_vendor in
   16260     sni)
   16261       shlibpath_overrides_runpath=no
   16262       need_lib_prefix=no
   16263       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16264       runpath_var=LD_RUN_PATH
   16265       ;;
   16266     siemens)
   16267       need_lib_prefix=no
   16268       ;;
   16269     motorola)
   16270       need_lib_prefix=no
   16271       need_version=no
   16272       shlibpath_overrides_runpath=no
   16273       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16274       ;;
   16275   esac
   16276   ;;
   16277 
   16278 sysv4*MP*)
   16279   if test -d /usr/nec ;then
   16280     version_type=linux
   16281     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16282     soname_spec='$libname${shared_ext}.$major'
   16283     shlibpath_var=LD_LIBRARY_PATH
   16284   fi
   16285   ;;
   16286 
   16287 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16288   version_type=freebsd-elf
   16289   need_lib_prefix=no
   16290   need_version=no
   16291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16292   soname_spec='${libname}${release}${shared_ext}$major'
   16293   shlibpath_var=LD_LIBRARY_PATH
   16294   hardcode_into_libs=yes
   16295   if test "$with_gnu_ld" = yes; then
   16296     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16297     shlibpath_overrides_runpath=no
   16298   else
   16299     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16300     shlibpath_overrides_runpath=yes
   16301     case $host_os in
   16302       sco3.2v5*)
   16303         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16304 	;;
   16305     esac
   16306   fi
   16307   sys_lib_dlsearch_path_spec='/usr/lib'
   16308   ;;
   16309 
   16310 uts4*)
   16311   version_type=linux
   16312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16313   soname_spec='${libname}${release}${shared_ext}$major'
   16314   shlibpath_var=LD_LIBRARY_PATH
   16315   ;;
   16316 
   16317 *)
   16318   dynamic_linker=no
   16319   ;;
   16320 esac
   16321 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16322 $as_echo "$dynamic_linker" >&6; }
   16323 test "$dynamic_linker" = no && can_build_shared=no
   16324 
   16325 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16326   $as_echo_n "(cached) " >&6
   16327 else
   16328   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16329 fi
   16330 
   16331 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16332 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16333   $as_echo_n "(cached) " >&6
   16334 else
   16335   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16336 fi
   16337 
   16338 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16339 
   16340 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16341 if test "$GCC" = yes; then
   16342   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16343 fi
   16344 
   16345 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16346 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16347 hardcode_action_F77=
   16348 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16349    test -n "$runpath_var_F77" || \
   16350    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16351 
   16352   # We can hardcode non-existant directories.
   16353   if test "$hardcode_direct_F77" != no &&
   16354      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16355      # have to relink, otherwise we might link with an installed library
   16356      # when we should be linking with a yet-to-be-installed one
   16357      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16358      test "$hardcode_minus_L_F77" != no; then
   16359     # Linking always hardcodes the temporary library directory.
   16360     hardcode_action_F77=relink
   16361   else
   16362     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16363     hardcode_action_F77=immediate
   16364   fi
   16365 else
   16366   # We cannot hardcode anything, or else we can only hardcode existing
   16367   # directories.
   16368   hardcode_action_F77=unsupported
   16369 fi
   16370 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16371 $as_echo "$hardcode_action_F77" >&6; }
   16372 
   16373 if test "$hardcode_action_F77" = relink; then
   16374   # Fast installation is not supported
   16375   enable_fast_install=no
   16376 elif test "$shlibpath_overrides_runpath" = yes ||
   16377      test "$enable_shared" = no; then
   16378   # Fast installation is not necessary
   16379   enable_fast_install=needless
   16380 fi
   16381 
   16382 
   16383 # The else clause should only fire when bootstrapping the
   16384 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16385 # with your package, and you will get complaints that there are
   16386 # no rules to generate ltmain.sh.
   16387 if test -f "$ltmain"; then
   16388   # See if we are running on zsh, and set the options which allow our commands through
   16389   # without removal of \ escapes.
   16390   if test -n "${ZSH_VERSION+set}" ; then
   16391     setopt NO_GLOB_SUBST
   16392   fi
   16393   # Now quote all the things that may contain metacharacters while being
   16394   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16395   # variables and quote the copies for generation of the libtool script.
   16396   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16397     SED SHELL STRIP \
   16398     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16399     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16400     deplibs_check_method reload_flag reload_cmds need_locks \
   16401     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16402     lt_cv_sys_global_symbol_to_c_name_address \
   16403     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16404     old_postinstall_cmds old_postuninstall_cmds \
   16405     compiler_F77 \
   16406     CC_F77 \
   16407     LD_F77 \
   16408     lt_prog_compiler_wl_F77 \
   16409     lt_prog_compiler_pic_F77 \
   16410     lt_prog_compiler_static_F77 \
   16411     lt_prog_compiler_no_builtin_flag_F77 \
   16412     export_dynamic_flag_spec_F77 \
   16413     thread_safe_flag_spec_F77 \
   16414     whole_archive_flag_spec_F77 \
   16415     enable_shared_with_static_runtimes_F77 \
   16416     old_archive_cmds_F77 \
   16417     old_archive_from_new_cmds_F77 \
   16418     predep_objects_F77 \
   16419     postdep_objects_F77 \
   16420     predeps_F77 \
   16421     postdeps_F77 \
   16422     compiler_lib_search_path_F77 \
   16423     compiler_lib_search_dirs_F77 \
   16424     archive_cmds_F77 \
   16425     archive_expsym_cmds_F77 \
   16426     postinstall_cmds_F77 \
   16427     postuninstall_cmds_F77 \
   16428     old_archive_from_expsyms_cmds_F77 \
   16429     allow_undefined_flag_F77 \
   16430     no_undefined_flag_F77 \
   16431     export_symbols_cmds_F77 \
   16432     hardcode_libdir_flag_spec_F77 \
   16433     hardcode_libdir_flag_spec_ld_F77 \
   16434     hardcode_libdir_separator_F77 \
   16435     hardcode_automatic_F77 \
   16436     module_cmds_F77 \
   16437     module_expsym_cmds_F77 \
   16438     lt_cv_prog_compiler_c_o_F77 \
   16439     fix_srcfile_path_F77 \
   16440     exclude_expsyms_F77 \
   16441     include_expsyms_F77; do
   16442 
   16443     case $var in
   16444     old_archive_cmds_F77 | \
   16445     old_archive_from_new_cmds_F77 | \
   16446     archive_cmds_F77 | \
   16447     archive_expsym_cmds_F77 | \
   16448     module_cmds_F77 | \
   16449     module_expsym_cmds_F77 | \
   16450     old_archive_from_expsyms_cmds_F77 | \
   16451     export_symbols_cmds_F77 | \
   16452     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16453     postinstall_cmds | postuninstall_cmds | \
   16454     old_postinstall_cmds | old_postuninstall_cmds | \
   16455     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16456       # Double-quote double-evaled strings.
   16457       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16458       ;;
   16459     *)
   16460       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16461       ;;
   16462     esac
   16463   done
   16464 
   16465   case $lt_echo in
   16466   *'\$0 --fallback-echo"')
   16467     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16468     ;;
   16469   esac
   16470 
   16471 cfgfile="$ofile"
   16472 
   16473   cat <<__EOF__ >> "$cfgfile"
   16474 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16475 
   16476 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16477 
   16478 # Shell to use when invoking shell scripts.
   16479 SHELL=$lt_SHELL
   16480 
   16481 # Whether or not to build shared libraries.
   16482 build_libtool_libs=$enable_shared
   16483 
   16484 # Whether or not to build static libraries.
   16485 build_old_libs=$enable_static
   16486 
   16487 # Whether or not to add -lc for building shared libraries.
   16488 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16489 
   16490 # Whether or not to disallow shared libs when runtime libs are static
   16491 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16492 
   16493 # Whether or not to optimize for fast installation.
   16494 fast_install=$enable_fast_install
   16495 
   16496 # The host system.
   16497 host_alias=$host_alias
   16498 host=$host
   16499 host_os=$host_os
   16500 
   16501 # The build system.
   16502 build_alias=$build_alias
   16503 build=$build
   16504 build_os=$build_os
   16505 
   16506 # An echo program that does not interpret backslashes.
   16507 echo=$lt_echo
   16508 
   16509 # The archiver.
   16510 AR=$lt_AR
   16511 AR_FLAGS=$lt_AR_FLAGS
   16512 
   16513 # A C compiler.
   16514 LTCC=$lt_LTCC
   16515 
   16516 # LTCC compiler flags.
   16517 LTCFLAGS=$lt_LTCFLAGS
   16518 
   16519 # A language-specific compiler.
   16520 CC=$lt_compiler_F77
   16521 
   16522 # Is the compiler the GNU C compiler?
   16523 with_gcc=$GCC_F77
   16524 
   16525 # An ERE matcher.
   16526 EGREP=$lt_EGREP
   16527 
   16528 # The linker used to build libraries.
   16529 LD=$lt_LD_F77
   16530 
   16531 # Whether we need hard or soft links.
   16532 LN_S=$lt_LN_S
   16533 
   16534 # A BSD-compatible nm program.
   16535 NM=$lt_NM
   16536 
   16537 # A symbol stripping program
   16538 STRIP=$lt_STRIP
   16539 
   16540 # Used to examine libraries when file_magic_cmd begins "file"
   16541 MAGIC_CMD=$MAGIC_CMD
   16542 
   16543 # Used on cygwin: DLL creation program.
   16544 DLLTOOL="$DLLTOOL"
   16545 
   16546 # Used on cygwin: object dumper.
   16547 OBJDUMP="$OBJDUMP"
   16548 
   16549 # Used on cygwin: assembler.
   16550 AS="$AS"
   16551 
   16552 # The name of the directory that contains temporary libtool files.
   16553 objdir=$objdir
   16554 
   16555 # How to create reloadable object files.
   16556 reload_flag=$lt_reload_flag
   16557 reload_cmds=$lt_reload_cmds
   16558 
   16559 # How to pass a linker flag through the compiler.
   16560 wl=$lt_lt_prog_compiler_wl_F77
   16561 
   16562 # Object file suffix (normally "o").
   16563 objext="$ac_objext"
   16564 
   16565 # Old archive suffix (normally "a").
   16566 libext="$libext"
   16567 
   16568 # Shared library suffix (normally ".so").
   16569 shrext_cmds='$shrext_cmds'
   16570 
   16571 # Executable file suffix (normally "").
   16572 exeext="$exeext"
   16573 
   16574 # Additional compiler flags for building library objects.
   16575 pic_flag=$lt_lt_prog_compiler_pic_F77
   16576 pic_mode=$pic_mode
   16577 
   16578 # What is the maximum length of a command?
   16579 max_cmd_len=$lt_cv_sys_max_cmd_len
   16580 
   16581 # Does compiler simultaneously support -c and -o options?
   16582 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16583 
   16584 # Must we lock files when doing compilation?
   16585 need_locks=$lt_need_locks
   16586 
   16587 # Do we need the lib prefix for modules?
   16588 need_lib_prefix=$need_lib_prefix
   16589 
   16590 # Do we need a version for libraries?
   16591 need_version=$need_version
   16592 
   16593 # Whether dlopen is supported.
   16594 dlopen_support=$enable_dlopen
   16595 
   16596 # Whether dlopen of programs is supported.
   16597 dlopen_self=$enable_dlopen_self
   16598 
   16599 # Whether dlopen of statically linked programs is supported.
   16600 dlopen_self_static=$enable_dlopen_self_static
   16601 
   16602 # Compiler flag to prevent dynamic linking.
   16603 link_static_flag=$lt_lt_prog_compiler_static_F77
   16604 
   16605 # Compiler flag to turn off builtin functions.
   16606 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16607 
   16608 # Compiler flag to allow reflexive dlopens.
   16609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16610 
   16611 # Compiler flag to generate shared objects directly from archives.
   16612 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16613 
   16614 # Compiler flag to generate thread-safe objects.
   16615 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16616 
   16617 # Library versioning type.
   16618 version_type=$version_type
   16619 
   16620 # Format of library name prefix.
   16621 libname_spec=$lt_libname_spec
   16622 
   16623 # List of archive names.  First name is the real one, the rest are links.
   16624 # The last name is the one that the linker finds with -lNAME.
   16625 library_names_spec=$lt_library_names_spec
   16626 
   16627 # The coded name of the library, if different from the real name.
   16628 soname_spec=$lt_soname_spec
   16629 
   16630 # Commands used to build and install an old-style archive.
   16631 RANLIB=$lt_RANLIB
   16632 old_archive_cmds=$lt_old_archive_cmds_F77
   16633 old_postinstall_cmds=$lt_old_postinstall_cmds
   16634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16635 
   16636 # Create an old-style archive from a shared archive.
   16637 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16638 
   16639 # Create a temporary old-style archive to link instead of a shared archive.
   16640 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16641 
   16642 # Commands used to build and install a shared archive.
   16643 archive_cmds=$lt_archive_cmds_F77
   16644 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16645 postinstall_cmds=$lt_postinstall_cmds
   16646 postuninstall_cmds=$lt_postuninstall_cmds
   16647 
   16648 # Commands used to build a loadable module (assumed same as above if empty)
   16649 module_cmds=$lt_module_cmds_F77
   16650 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16651 
   16652 # Commands to strip libraries.
   16653 old_striplib=$lt_old_striplib
   16654 striplib=$lt_striplib
   16655 
   16656 # Dependencies to place before the objects being linked to create a
   16657 # shared library.
   16658 predep_objects=$lt_predep_objects_F77
   16659 
   16660 # Dependencies to place after the objects being linked to create a
   16661 # shared library.
   16662 postdep_objects=$lt_postdep_objects_F77
   16663 
   16664 # Dependencies to place before the objects being linked to create a
   16665 # shared library.
   16666 predeps=$lt_predeps_F77
   16667 
   16668 # Dependencies to place after the objects being linked to create a
   16669 # shared library.
   16670 postdeps=$lt_postdeps_F77
   16671 
   16672 # The directories searched by this compiler when creating a shared
   16673 # library
   16674 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16675 
   16676 # The library search path used internally by the compiler when linking
   16677 # a shared library.
   16678 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16679 
   16680 # Method to check whether dependent libraries are shared objects.
   16681 deplibs_check_method=$lt_deplibs_check_method
   16682 
   16683 # Command to use when deplibs_check_method == file_magic.
   16684 file_magic_cmd=$lt_file_magic_cmd
   16685 
   16686 # Flag that allows shared libraries with undefined symbols to be built.
   16687 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16688 
   16689 # Flag that forces no undefined symbols.
   16690 no_undefined_flag=$lt_no_undefined_flag_F77
   16691 
   16692 # Commands used to finish a libtool library installation in a directory.
   16693 finish_cmds=$lt_finish_cmds
   16694 
   16695 # Same as above, but a single script fragment to be evaled but not shown.
   16696 finish_eval=$lt_finish_eval
   16697 
   16698 # Take the output of nm and produce a listing of raw symbols and C names.
   16699 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16700 
   16701 # Transform the output of nm in a proper C declaration
   16702 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16703 
   16704 # Transform the output of nm in a C name address pair
   16705 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16706 
   16707 # This is the shared library runtime path variable.
   16708 runpath_var=$runpath_var
   16709 
   16710 # This is the shared library path variable.
   16711 shlibpath_var=$shlibpath_var
   16712 
   16713 # Is shlibpath searched before the hard-coded library search path?
   16714 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16715 
   16716 # How to hardcode a shared library path into an executable.
   16717 hardcode_action=$hardcode_action_F77
   16718 
   16719 # Whether we should hardcode library paths into libraries.
   16720 hardcode_into_libs=$hardcode_into_libs
   16721 
   16722 # Flag to hardcode \$libdir into a binary during linking.
   16723 # This must work even if \$libdir does not exist.
   16724 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16725 
   16726 # If ld is used when linking, flag to hardcode \$libdir into
   16727 # a binary during linking. This must work even if \$libdir does
   16728 # not exist.
   16729 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16730 
   16731 # Whether we need a single -rpath flag with a separated argument.
   16732 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16733 
   16734 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16735 # resulting binary.
   16736 hardcode_direct=$hardcode_direct_F77
   16737 
   16738 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16739 # resulting binary.
   16740 hardcode_minus_L=$hardcode_minus_L_F77
   16741 
   16742 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16743 # the resulting binary.
   16744 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16745 
   16746 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16747 # and all subsequent libraries and executables linked against it.
   16748 hardcode_automatic=$hardcode_automatic_F77
   16749 
   16750 # Variables whose values should be saved in libtool wrapper scripts and
   16751 # restored at relink time.
   16752 variables_saved_for_relink="$variables_saved_for_relink"
   16753 
   16754 # Whether libtool must link a program against all its dependency libraries.
   16755 link_all_deplibs=$link_all_deplibs_F77
   16756 
   16757 # Compile-time system search path for libraries
   16758 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16759 
   16760 # Run-time system search path for libraries
   16761 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16762 
   16763 # Fix the shell variable \$srcfile for the compiler.
   16764 fix_srcfile_path=$lt_fix_srcfile_path
   16765 
   16766 # Set to yes if exported symbols are required.
   16767 always_export_symbols=$always_export_symbols_F77
   16768 
   16769 # The commands to list exported symbols.
   16770 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16771 
   16772 # The commands to extract the exported symbol list from a shared archive.
   16773 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16774 
   16775 # Symbols that should not be listed in the preloaded symbols.
   16776 exclude_expsyms=$lt_exclude_expsyms_F77
   16777 
   16778 # Symbols that must always be exported.
   16779 include_expsyms=$lt_include_expsyms_F77
   16780 
   16781 # ### END LIBTOOL TAG CONFIG: $tagname
   16782 
   16783 __EOF__
   16784 
   16785 
   16786 else
   16787   # If there is no Makefile yet, we rely on a make rule to execute
   16788   # `config.status --recheck' to rerun these tests and create the
   16789   # libtool script then.
   16790   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16791   if test -f "$ltmain_in"; then
   16792     test -f Makefile && make "$ltmain"
   16793   fi
   16794 fi
   16795 
   16796 
   16797 ac_ext=c
   16798 ac_cpp='$CPP $CPPFLAGS'
   16799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16802 
   16803 CC="$lt_save_CC"
   16804 
   16805 	else
   16806 	  tagname=""
   16807 	fi
   16808 	;;
   16809 
   16810       GCJ)
   16811 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16812 
   16813 
   16814 # Source file extension for Java test sources.
   16815 ac_ext=java
   16816 
   16817 # Object file extension for compiled Java test sources.
   16818 objext=o
   16819 objext_GCJ=$objext
   16820 
   16821 # Code to be used in simple compile tests
   16822 lt_simple_compile_test_code="class foo {}"
   16823 
   16824 # Code to be used in simple link tests
   16825 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16826 
   16827 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16828 
   16829 # If no C compiler was specified, use CC.
   16830 LTCC=${LTCC-"$CC"}
   16831 
   16832 # If no C compiler flags were specified, use CFLAGS.
   16833 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16834 
   16835 # Allow CC to be a program name with arguments.
   16836 compiler=$CC
   16837 
   16838 
   16839 # save warnings/boilerplate of simple test code
   16840 ac_outfile=conftest.$ac_objext
   16841 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16842 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16843 _lt_compiler_boilerplate=`cat conftest.err`
   16844 $rm conftest*
   16845 
   16846 ac_outfile=conftest.$ac_objext
   16847 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16848 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16849 _lt_linker_boilerplate=`cat conftest.err`
   16850 $rm -r conftest*
   16851 
   16852 
   16853 # Allow CC to be a program name with arguments.
   16854 lt_save_CC="$CC"
   16855 CC=${GCJ-"gcj"}
   16856 compiler=$CC
   16857 compiler_GCJ=$CC
   16858 for cc_temp in $compiler""; do
   16859   case $cc_temp in
   16860     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16861     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16862     \-*) ;;
   16863     *) break;;
   16864   esac
   16865 done
   16866 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16867 
   16868 
   16869 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16870 archive_cmds_need_lc_GCJ=no
   16871 
   16872 old_archive_cmds_GCJ=$old_archive_cmds
   16873 
   16874 
   16875 lt_prog_compiler_no_builtin_flag_GCJ=
   16876 
   16877 if test "$GCC" = yes; then
   16878   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16879 
   16880 
   16881 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16882 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16883 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16884   $as_echo_n "(cached) " >&6
   16885 else
   16886   lt_cv_prog_compiler_rtti_exceptions=no
   16887   ac_outfile=conftest.$ac_objext
   16888    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16889    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16890    # Insert the option either (1) after the last *FLAGS variable, or
   16891    # (2) before a word containing "conftest.", or (3) at the end.
   16892    # Note that $ac_compile itself does not contain backslashes and begins
   16893    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16894    # The option is referenced via a variable to avoid confusing sed.
   16895    lt_compile=`echo "$ac_compile" | $SED \
   16896    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16897    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16898    -e 's:$: $lt_compiler_flag:'`
   16899    (eval echo "\"\$as_me:16899: $lt_compile\"" >&5)
   16900    (eval "$lt_compile" 2>conftest.err)
   16901    ac_status=$?
   16902    cat conftest.err >&5
   16903    echo "$as_me:16903: \$? = $ac_status" >&5
   16904    if (exit $ac_status) && test -s "$ac_outfile"; then
   16905      # The compiler can only warn and ignore the option if not recognized
   16906      # So say no if there are warnings other than the usual output.
   16907      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16908      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16909      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16910        lt_cv_prog_compiler_rtti_exceptions=yes
   16911      fi
   16912    fi
   16913    $rm conftest*
   16914 
   16915 fi
   16916 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16917 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16918 
   16919 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16920     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16921 else
   16922     :
   16923 fi
   16924 
   16925 fi
   16926 
   16927 lt_prog_compiler_wl_GCJ=
   16928 lt_prog_compiler_pic_GCJ=
   16929 lt_prog_compiler_static_GCJ=
   16930 
   16931 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16932 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16933 
   16934   if test "$GCC" = yes; then
   16935     lt_prog_compiler_wl_GCJ='-Wl,'
   16936     lt_prog_compiler_static_GCJ='-static'
   16937 
   16938     case $host_os in
   16939       aix*)
   16940       # All AIX code is PIC.
   16941       if test "$host_cpu" = ia64; then
   16942 	# AIX 5 now supports IA64 processor
   16943 	lt_prog_compiler_static_GCJ='-Bstatic'
   16944       fi
   16945       ;;
   16946 
   16947     amigaos*)
   16948       # FIXME: we need at least 68020 code to build shared libraries, but
   16949       # adding the `-m68020' flag to GCC prevents building anything better,
   16950       # like `-m68040'.
   16951       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16952       ;;
   16953 
   16954     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16955       # PIC is the default for these OSes.
   16956       ;;
   16957 
   16958     mingw* | cygwin* | pw32* | os2*)
   16959       # This hack is so that the source file can tell whether it is being
   16960       # built for inclusion in a dll (and should export symbols for example).
   16961       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16962       # (--disable-auto-import) libraries
   16963 
   16964       ;;
   16965 
   16966     darwin* | rhapsody*)
   16967       # PIC is the default on this platform
   16968       # Common symbols not allowed in MH_DYLIB files
   16969       lt_prog_compiler_pic_GCJ='-fno-common'
   16970       ;;
   16971 
   16972     interix[3-9]*)
   16973       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16974       # Instead, we relocate shared libraries at runtime.
   16975       ;;
   16976 
   16977     msdosdjgpp*)
   16978       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16979       # on systems that don't support them.
   16980       lt_prog_compiler_can_build_shared_GCJ=no
   16981       enable_shared=no
   16982       ;;
   16983 
   16984     sysv4*MP*)
   16985       if test -d /usr/nec; then
   16986 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16987       fi
   16988       ;;
   16989 
   16990     hpux*)
   16991       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16992       # not for PA HP-UX.
   16993       case $host_cpu in
   16994       hppa*64*|ia64*)
   16995 	# +Z the default
   16996 	;;
   16997       *)
   16998 	lt_prog_compiler_pic_GCJ='-fPIC'
   16999 	;;
   17000       esac
   17001       ;;
   17002 
   17003     *)
   17004       lt_prog_compiler_pic_GCJ='-fPIC'
   17005       ;;
   17006     esac
   17007   else
   17008     # PORTME Check for flag to pass linker flags through the system compiler.
   17009     case $host_os in
   17010     aix*)
   17011       lt_prog_compiler_wl_GCJ='-Wl,'
   17012       if test "$host_cpu" = ia64; then
   17013 	# AIX 5 now supports IA64 processor
   17014 	lt_prog_compiler_static_GCJ='-Bstatic'
   17015       else
   17016 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17017       fi
   17018       ;;
   17019       darwin*)
   17020         # PIC is the default on this platform
   17021         # Common symbols not allowed in MH_DYLIB files
   17022        case $cc_basename in
   17023          xlc*)
   17024          lt_prog_compiler_pic_GCJ='-qnocommon'
   17025          lt_prog_compiler_wl_GCJ='-Wl,'
   17026          ;;
   17027        esac
   17028        ;;
   17029 
   17030     mingw* | cygwin* | pw32* | os2*)
   17031       # This hack is so that the source file can tell whether it is being
   17032       # built for inclusion in a dll (and should export symbols for example).
   17033 
   17034       ;;
   17035 
   17036     hpux9* | hpux10* | hpux11*)
   17037       lt_prog_compiler_wl_GCJ='-Wl,'
   17038       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17039       # not for PA HP-UX.
   17040       case $host_cpu in
   17041       hppa*64*|ia64*)
   17042 	# +Z the default
   17043 	;;
   17044       *)
   17045 	lt_prog_compiler_pic_GCJ='+Z'
   17046 	;;
   17047       esac
   17048       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17049       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17050       ;;
   17051 
   17052     irix5* | irix6* | nonstopux*)
   17053       lt_prog_compiler_wl_GCJ='-Wl,'
   17054       # PIC (with -KPIC) is the default.
   17055       lt_prog_compiler_static_GCJ='-non_shared'
   17056       ;;
   17057 
   17058     newsos6)
   17059       lt_prog_compiler_pic_GCJ='-KPIC'
   17060       lt_prog_compiler_static_GCJ='-Bstatic'
   17061       ;;
   17062 
   17063     linux* | k*bsd*-gnu)
   17064       case $cc_basename in
   17065       icc* | ecc*)
   17066 	lt_prog_compiler_wl_GCJ='-Wl,'
   17067 	lt_prog_compiler_pic_GCJ='-KPIC'
   17068 	lt_prog_compiler_static_GCJ='-static'
   17069         ;;
   17070       pgcc* | pgf77* | pgf90* | pgf95*)
   17071         # Portland Group compilers (*not* the Pentium gcc compiler,
   17072 	# which looks to be a dead project)
   17073 	lt_prog_compiler_wl_GCJ='-Wl,'
   17074 	lt_prog_compiler_pic_GCJ='-fpic'
   17075 	lt_prog_compiler_static_GCJ='-Bstatic'
   17076         ;;
   17077       ccc*)
   17078         lt_prog_compiler_wl_GCJ='-Wl,'
   17079         # All Alpha code is PIC.
   17080         lt_prog_compiler_static_GCJ='-non_shared'
   17081         ;;
   17082       *)
   17083         case `$CC -V 2>&1 | sed 5q` in
   17084 	*Sun\ C*)
   17085 	  # Sun C 5.9
   17086 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17087 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17088 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17089 	  ;;
   17090 	*Sun\ F*)
   17091 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17092 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17093 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17094 	  lt_prog_compiler_wl_GCJ=''
   17095 	  ;;
   17096 	esac
   17097 	;;
   17098       esac
   17099       ;;
   17100 
   17101     osf3* | osf4* | osf5*)
   17102       lt_prog_compiler_wl_GCJ='-Wl,'
   17103       # All OSF/1 code is PIC.
   17104       lt_prog_compiler_static_GCJ='-non_shared'
   17105       ;;
   17106 
   17107     rdos*)
   17108       lt_prog_compiler_static_GCJ='-non_shared'
   17109       ;;
   17110 
   17111     solaris*)
   17112       lt_prog_compiler_pic_GCJ='-KPIC'
   17113       lt_prog_compiler_static_GCJ='-Bstatic'
   17114       case $cc_basename in
   17115       f77* | f90* | f95*)
   17116 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17117       *)
   17118 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17119       esac
   17120       ;;
   17121 
   17122     sunos4*)
   17123       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17124       lt_prog_compiler_pic_GCJ='-PIC'
   17125       lt_prog_compiler_static_GCJ='-Bstatic'
   17126       ;;
   17127 
   17128     sysv4 | sysv4.2uw2* | sysv4.3*)
   17129       lt_prog_compiler_wl_GCJ='-Wl,'
   17130       lt_prog_compiler_pic_GCJ='-KPIC'
   17131       lt_prog_compiler_static_GCJ='-Bstatic'
   17132       ;;
   17133 
   17134     sysv4*MP*)
   17135       if test -d /usr/nec ;then
   17136 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17137 	lt_prog_compiler_static_GCJ='-Bstatic'
   17138       fi
   17139       ;;
   17140 
   17141     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17142       lt_prog_compiler_wl_GCJ='-Wl,'
   17143       lt_prog_compiler_pic_GCJ='-KPIC'
   17144       lt_prog_compiler_static_GCJ='-Bstatic'
   17145       ;;
   17146 
   17147     unicos*)
   17148       lt_prog_compiler_wl_GCJ='-Wl,'
   17149       lt_prog_compiler_can_build_shared_GCJ=no
   17150       ;;
   17151 
   17152     uts4*)
   17153       lt_prog_compiler_pic_GCJ='-pic'
   17154       lt_prog_compiler_static_GCJ='-Bstatic'
   17155       ;;
   17156 
   17157     *)
   17158       lt_prog_compiler_can_build_shared_GCJ=no
   17159       ;;
   17160     esac
   17161   fi
   17162 
   17163 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17164 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17165 
   17166 #
   17167 # Check to make sure the PIC flag actually works.
   17168 #
   17169 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17170 
   17171 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17172 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17173 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17174   $as_echo_n "(cached) " >&6
   17175 else
   17176   lt_cv_prog_compiler_pic_works_GCJ=no
   17177   ac_outfile=conftest.$ac_objext
   17178    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17179    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17180    # Insert the option either (1) after the last *FLAGS variable, or
   17181    # (2) before a word containing "conftest.", or (3) at the end.
   17182    # Note that $ac_compile itself does not contain backslashes and begins
   17183    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17184    # The option is referenced via a variable to avoid confusing sed.
   17185    lt_compile=`echo "$ac_compile" | $SED \
   17186    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17187    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17188    -e 's:$: $lt_compiler_flag:'`
   17189    (eval echo "\"\$as_me:17189: $lt_compile\"" >&5)
   17190    (eval "$lt_compile" 2>conftest.err)
   17191    ac_status=$?
   17192    cat conftest.err >&5
   17193    echo "$as_me:17193: \$? = $ac_status" >&5
   17194    if (exit $ac_status) && test -s "$ac_outfile"; then
   17195      # The compiler can only warn and ignore the option if not recognized
   17196      # So say no if there are warnings other than the usual output.
   17197      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17198      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17199      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17200        lt_cv_prog_compiler_pic_works_GCJ=yes
   17201      fi
   17202    fi
   17203    $rm conftest*
   17204 
   17205 fi
   17206 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17207 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17208 
   17209 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17210     case $lt_prog_compiler_pic_GCJ in
   17211      "" | " "*) ;;
   17212      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17213      esac
   17214 else
   17215     lt_prog_compiler_pic_GCJ=
   17216      lt_prog_compiler_can_build_shared_GCJ=no
   17217 fi
   17218 
   17219 fi
   17220 case $host_os in
   17221   # For platforms which do not support PIC, -DPIC is meaningless:
   17222   *djgpp*)
   17223     lt_prog_compiler_pic_GCJ=
   17224     ;;
   17225   *)
   17226     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17227     ;;
   17228 esac
   17229 
   17230 #
   17231 # Check to make sure the static flag actually works.
   17232 #
   17233 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17234 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17235 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17236 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17237   $as_echo_n "(cached) " >&6
   17238 else
   17239   lt_cv_prog_compiler_static_works_GCJ=no
   17240    save_LDFLAGS="$LDFLAGS"
   17241    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17242    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17243    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17244      # The linker can only warn and ignore the option if not recognized
   17245      # So say no if there are warnings
   17246      if test -s conftest.err; then
   17247        # Append any errors to the config.log.
   17248        cat conftest.err 1>&5
   17249        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17250        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17251        if diff conftest.exp conftest.er2 >/dev/null; then
   17252          lt_cv_prog_compiler_static_works_GCJ=yes
   17253        fi
   17254      else
   17255        lt_cv_prog_compiler_static_works_GCJ=yes
   17256      fi
   17257    fi
   17258    $rm -r conftest*
   17259    LDFLAGS="$save_LDFLAGS"
   17260 
   17261 fi
   17262 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17263 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17264 
   17265 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17266     :
   17267 else
   17268     lt_prog_compiler_static_GCJ=
   17269 fi
   17270 
   17271 
   17272 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17273 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17274 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17275   $as_echo_n "(cached) " >&6
   17276 else
   17277   lt_cv_prog_compiler_c_o_GCJ=no
   17278    $rm -r conftest 2>/dev/null
   17279    mkdir conftest
   17280    cd conftest
   17281    mkdir out
   17282    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17283 
   17284    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17285    # Insert the option either (1) after the last *FLAGS variable, or
   17286    # (2) before a word containing "conftest.", or (3) at the end.
   17287    # Note that $ac_compile itself does not contain backslashes and begins
   17288    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17289    lt_compile=`echo "$ac_compile" | $SED \
   17290    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17291    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17292    -e 's:$: $lt_compiler_flag:'`
   17293    (eval echo "\"\$as_me:17293: $lt_compile\"" >&5)
   17294    (eval "$lt_compile" 2>out/conftest.err)
   17295    ac_status=$?
   17296    cat out/conftest.err >&5
   17297    echo "$as_me:17297: \$? = $ac_status" >&5
   17298    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17299    then
   17300      # The compiler can only warn and ignore the option if not recognized
   17301      # So say no if there are warnings
   17302      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17303      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17304      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17305        lt_cv_prog_compiler_c_o_GCJ=yes
   17306      fi
   17307    fi
   17308    chmod u+w . 2>&5
   17309    $rm conftest*
   17310    # SGI C++ compiler will create directory out/ii_files/ for
   17311    # template instantiation
   17312    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17313    $rm out/* && rmdir out
   17314    cd ..
   17315    rmdir conftest
   17316    $rm conftest*
   17317 
   17318 fi
   17319 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17320 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17321 
   17322 
   17323 hard_links="nottested"
   17324 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17325   # do not overwrite the value of need_locks provided by the user
   17326   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17327 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17328   hard_links=yes
   17329   $rm conftest*
   17330   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17331   touch conftest.a
   17332   ln conftest.a conftest.b 2>&5 || hard_links=no
   17333   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17334   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17335 $as_echo "$hard_links" >&6; }
   17336   if test "$hard_links" = no; then
   17337     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17338 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17339     need_locks=warn
   17340   fi
   17341 else
   17342   need_locks=no
   17343 fi
   17344 
   17345 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17346 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17347 
   17348   runpath_var=
   17349   allow_undefined_flag_GCJ=
   17350   enable_shared_with_static_runtimes_GCJ=no
   17351   archive_cmds_GCJ=
   17352   archive_expsym_cmds_GCJ=
   17353   old_archive_From_new_cmds_GCJ=
   17354   old_archive_from_expsyms_cmds_GCJ=
   17355   export_dynamic_flag_spec_GCJ=
   17356   whole_archive_flag_spec_GCJ=
   17357   thread_safe_flag_spec_GCJ=
   17358   hardcode_libdir_flag_spec_GCJ=
   17359   hardcode_libdir_flag_spec_ld_GCJ=
   17360   hardcode_libdir_separator_GCJ=
   17361   hardcode_direct_GCJ=no
   17362   hardcode_minus_L_GCJ=no
   17363   hardcode_shlibpath_var_GCJ=unsupported
   17364   link_all_deplibs_GCJ=unknown
   17365   hardcode_automatic_GCJ=no
   17366   module_cmds_GCJ=
   17367   module_expsym_cmds_GCJ=
   17368   always_export_symbols_GCJ=no
   17369   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17370   # include_expsyms should be a list of space-separated symbols to be *always*
   17371   # included in the symbol list
   17372   include_expsyms_GCJ=
   17373   # exclude_expsyms can be an extended regexp of symbols to exclude
   17374   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17375   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17376   # as well as any symbol that contains `d'.
   17377   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17378   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17379   # platforms (ab)use it in PIC code, but their linkers get confused if
   17380   # the symbol is explicitly referenced.  Since portable code cannot
   17381   # rely on this symbol name, it's probably fine to never include it in
   17382   # preloaded symbol tables.
   17383   # Exclude shared library initialization/finalization symbols.
   17384   extract_expsyms_cmds=
   17385   # Just being paranoid about ensuring that cc_basename is set.
   17386   for cc_temp in $compiler""; do
   17387   case $cc_temp in
   17388     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17389     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17390     \-*) ;;
   17391     *) break;;
   17392   esac
   17393 done
   17394 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17395 
   17396   case $host_os in
   17397   cygwin* | mingw* | pw32*)
   17398     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17399     # When not using gcc, we currently assume that we are using
   17400     # Microsoft Visual C++.
   17401     if test "$GCC" != yes; then
   17402       with_gnu_ld=no
   17403     fi
   17404     ;;
   17405   interix*)
   17406     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17407     with_gnu_ld=yes
   17408     ;;
   17409   openbsd*)
   17410     with_gnu_ld=no
   17411     ;;
   17412   esac
   17413 
   17414   ld_shlibs_GCJ=yes
   17415   if test "$with_gnu_ld" = yes; then
   17416     # If archive_cmds runs LD, not CC, wlarc should be empty
   17417     wlarc='${wl}'
   17418 
   17419     # Set some defaults for GNU ld with shared library support. These
   17420     # are reset later if shared libraries are not supported. Putting them
   17421     # here allows them to be overridden if necessary.
   17422     runpath_var=LD_RUN_PATH
   17423     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17424     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17425     # ancient GNU ld didn't support --whole-archive et. al.
   17426     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17427 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17428       else
   17429   	whole_archive_flag_spec_GCJ=
   17430     fi
   17431     supports_anon_versioning=no
   17432     case `$LD -v 2>/dev/null` in
   17433       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17434       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17435       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17436       *\ 2.11.*) ;; # other 2.11 versions
   17437       *) supports_anon_versioning=yes ;;
   17438     esac
   17439 
   17440     # See if GNU ld supports shared libraries.
   17441     case $host_os in
   17442     aix[3-9]*)
   17443       # On AIX/PPC, the GNU linker is very broken
   17444       if test "$host_cpu" != ia64; then
   17445 	ld_shlibs_GCJ=no
   17446 	cat <<EOF 1>&2
   17447 
   17448 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17449 *** to be unable to reliably create shared libraries on AIX.
   17450 *** Therefore, libtool is disabling shared libraries support.  If you
   17451 *** really care for shared libraries, you may want to modify your PATH
   17452 *** so that a non-GNU linker is found, and then restart.
   17453 
   17454 EOF
   17455       fi
   17456       ;;
   17457 
   17458     amigaos*)
   17459       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)'
   17460       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17461       hardcode_minus_L_GCJ=yes
   17462 
   17463       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17464       # that the semantics of dynamic libraries on AmigaOS, at least up
   17465       # to version 4, is to share data among multiple programs linked
   17466       # with the same dynamic library.  Since this doesn't match the
   17467       # behavior of shared libraries on other platforms, we can't use
   17468       # them.
   17469       ld_shlibs_GCJ=no
   17470       ;;
   17471 
   17472     beos*)
   17473       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17474 	allow_undefined_flag_GCJ=unsupported
   17475 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17476 	# support --undefined.  This deserves some investigation.  FIXME
   17477 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17478       else
   17479 	ld_shlibs_GCJ=no
   17480       fi
   17481       ;;
   17482 
   17483     cygwin* | mingw* | pw32*)
   17484       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17485       # as there is no search path for DLLs.
   17486       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17487       allow_undefined_flag_GCJ=unsupported
   17488       always_export_symbols_GCJ=no
   17489       enable_shared_with_static_runtimes_GCJ=yes
   17490       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17491 
   17492       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17493         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17494 	# If the export-symbols file already is a .def file (1st line
   17495 	# is EXPORTS), use it as is; otherwise, prepend...
   17496 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17497 	  cp $export_symbols $output_objdir/$soname.def;
   17498 	else
   17499 	  echo EXPORTS > $output_objdir/$soname.def;
   17500 	  cat $export_symbols >> $output_objdir/$soname.def;
   17501 	fi~
   17502 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17503       else
   17504 	ld_shlibs_GCJ=no
   17505       fi
   17506       ;;
   17507 
   17508     interix[3-9]*)
   17509       hardcode_direct_GCJ=no
   17510       hardcode_shlibpath_var_GCJ=no
   17511       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17512       export_dynamic_flag_spec_GCJ='${wl}-E'
   17513       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17514       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17515       # default) and relocated if they conflict, which is a slow very memory
   17516       # consuming and fragmenting process.  To avoid this, we pick a random,
   17517       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17518       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17519       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'
   17520       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'
   17521       ;;
   17522 
   17523     gnu* | linux* | k*bsd*-gnu)
   17524       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17525 	tmp_addflag=
   17526 	case $cc_basename,$host_cpu in
   17527 	pgcc*)				# Portland Group C compiler
   17528 	  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'
   17529 	  tmp_addflag=' $pic_flag'
   17530 	  ;;
   17531 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17532 	  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'
   17533 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17534 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17535 	  tmp_addflag=' -i_dynamic' ;;
   17536 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17537 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17538 	ifc* | ifort*)			# Intel Fortran compiler
   17539 	  tmp_addflag=' -nofor_main' ;;
   17540 	esac
   17541 	case `$CC -V 2>&1 | sed 5q` in
   17542 	*Sun\ C*)			# Sun C 5.9
   17543 	  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'
   17544 	  tmp_sharedflag='-G' ;;
   17545 	*Sun\ F*)			# Sun Fortran 8.3
   17546 	  tmp_sharedflag='-G' ;;
   17547 	*)
   17548 	  tmp_sharedflag='-shared' ;;
   17549 	esac
   17550 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17551 
   17552 	if test $supports_anon_versioning = yes; then
   17553 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17554   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17555   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17556 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17557 	fi
   17558       else
   17559 	ld_shlibs_GCJ=no
   17560       fi
   17561       ;;
   17562 
   17563     netbsd*)
   17564       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17565 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17566 	wlarc=
   17567       else
   17568 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17569 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17570       fi
   17571       ;;
   17572 
   17573     solaris*)
   17574       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17575 	ld_shlibs_GCJ=no
   17576 	cat <<EOF 1>&2
   17577 
   17578 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17579 *** create shared libraries on Solaris systems.  Therefore, libtool
   17580 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17581 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17582 *** your PATH or compiler configuration so that the native linker is
   17583 *** used, and then restart.
   17584 
   17585 EOF
   17586       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17587 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17588 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17589       else
   17590 	ld_shlibs_GCJ=no
   17591       fi
   17592       ;;
   17593 
   17594     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17595       case `$LD -v 2>&1` in
   17596         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17597 	ld_shlibs_GCJ=no
   17598 	cat <<_LT_EOF 1>&2
   17599 
   17600 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17601 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17602 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17603 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17604 *** your PATH or compiler configuration so that the native linker is
   17605 *** used, and then restart.
   17606 
   17607 _LT_EOF
   17608 	;;
   17609 	*)
   17610 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17611 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17612 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17613 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17614 	  else
   17615 	    ld_shlibs_GCJ=no
   17616 	  fi
   17617 	;;
   17618       esac
   17619       ;;
   17620 
   17621     sunos4*)
   17622       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17623       wlarc=
   17624       hardcode_direct_GCJ=yes
   17625       hardcode_shlibpath_var_GCJ=no
   17626       ;;
   17627 
   17628     *)
   17629       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17630 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17631 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17632       else
   17633 	ld_shlibs_GCJ=no
   17634       fi
   17635       ;;
   17636     esac
   17637 
   17638     if test "$ld_shlibs_GCJ" = no; then
   17639       runpath_var=
   17640       hardcode_libdir_flag_spec_GCJ=
   17641       export_dynamic_flag_spec_GCJ=
   17642       whole_archive_flag_spec_GCJ=
   17643     fi
   17644   else
   17645     # PORTME fill in a description of your system's linker (not GNU ld)
   17646     case $host_os in
   17647     aix3*)
   17648       allow_undefined_flag_GCJ=unsupported
   17649       always_export_symbols_GCJ=yes
   17650       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'
   17651       # Note: this linker hardcodes the directories in LIBPATH if there
   17652       # are no directories specified by -L.
   17653       hardcode_minus_L_GCJ=yes
   17654       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17655 	# Neither direct hardcoding nor static linking is supported with a
   17656 	# broken collect2.
   17657 	hardcode_direct_GCJ=unsupported
   17658       fi
   17659       ;;
   17660 
   17661     aix[4-9]*)
   17662       if test "$host_cpu" = ia64; then
   17663 	# On IA64, the linker does run time linking by default, so we don't
   17664 	# have to do anything special.
   17665 	aix_use_runtimelinking=no
   17666 	exp_sym_flag='-Bexport'
   17667 	no_entry_flag=""
   17668       else
   17669 	# If we're using GNU nm, then we don't want the "-C" option.
   17670 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17671 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17672 	  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'
   17673 	else
   17674 	  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'
   17675 	fi
   17676 	aix_use_runtimelinking=no
   17677 
   17678 	# Test if we are trying to use run time linking or normal
   17679 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17680 	# need to do runtime linking.
   17681 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17682 	  for ld_flag in $LDFLAGS; do
   17683   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17684   	    aix_use_runtimelinking=yes
   17685   	    break
   17686   	  fi
   17687 	  done
   17688 	  ;;
   17689 	esac
   17690 
   17691 	exp_sym_flag='-bexport'
   17692 	no_entry_flag='-bnoentry'
   17693       fi
   17694 
   17695       # When large executables or shared objects are built, AIX ld can
   17696       # have problems creating the table of contents.  If linking a library
   17697       # or program results in "error TOC overflow" add -mminimal-toc to
   17698       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17699       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17700 
   17701       archive_cmds_GCJ=''
   17702       hardcode_direct_GCJ=yes
   17703       hardcode_libdir_separator_GCJ=':'
   17704       link_all_deplibs_GCJ=yes
   17705 
   17706       if test "$GCC" = yes; then
   17707 	case $host_os in aix4.[012]|aix4.[012].*)
   17708 	# We only want to do this on AIX 4.2 and lower, the check
   17709 	# below for broken collect2 doesn't work under 4.3+
   17710 	  collect2name=`${CC} -print-prog-name=collect2`
   17711 	  if test -f "$collect2name" && \
   17712   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17713 	  then
   17714   	  # We have reworked collect2
   17715   	  :
   17716 	  else
   17717   	  # We have old collect2
   17718   	  hardcode_direct_GCJ=unsupported
   17719   	  # It fails to find uninstalled libraries when the uninstalled
   17720   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17721   	  # to unsupported forces relinking
   17722   	  hardcode_minus_L_GCJ=yes
   17723   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17724   	  hardcode_libdir_separator_GCJ=
   17725 	  fi
   17726 	  ;;
   17727 	esac
   17728 	shared_flag='-shared'
   17729 	if test "$aix_use_runtimelinking" = yes; then
   17730 	  shared_flag="$shared_flag "'${wl}-G'
   17731 	fi
   17732       else
   17733 	# not using gcc
   17734 	if test "$host_cpu" = ia64; then
   17735   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17736   	# chokes on -Wl,-G. The following line is correct:
   17737 	  shared_flag='-G'
   17738 	else
   17739 	  if test "$aix_use_runtimelinking" = yes; then
   17740 	    shared_flag='${wl}-G'
   17741 	  else
   17742 	    shared_flag='${wl}-bM:SRE'
   17743 	  fi
   17744 	fi
   17745       fi
   17746 
   17747       # It seems that -bexpall does not export symbols beginning with
   17748       # underscore (_), so it is better to generate a list of symbols to export.
   17749       always_export_symbols_GCJ=yes
   17750       if test "$aix_use_runtimelinking" = yes; then
   17751 	# Warning - without using the other runtime loading flags (-brtl),
   17752 	# -berok will link without error, but may produce a broken library.
   17753 	allow_undefined_flag_GCJ='-berok'
   17754        # Determine the default libpath from the value encoded in an empty executable.
   17755        cat >conftest.$ac_ext <<_ACEOF
   17756 /* confdefs.h.  */
   17757 _ACEOF
   17758 cat confdefs.h >>conftest.$ac_ext
   17759 cat >>conftest.$ac_ext <<_ACEOF
   17760 /* end confdefs.h.  */
   17761 
   17762 int
   17763 main ()
   17764 {
   17765 
   17766   ;
   17767   return 0;
   17768 }
   17769 _ACEOF
   17770 rm -f conftest.$ac_objext conftest$ac_exeext
   17771 if { (ac_try="$ac_link"
   17772 case "(($ac_try" in
   17773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17774   *) ac_try_echo=$ac_try;;
   17775 esac
   17776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17777 $as_echo "$ac_try_echo") >&5
   17778   (eval "$ac_link") 2>conftest.er1
   17779   ac_status=$?
   17780   grep -v '^ *+' conftest.er1 >conftest.err
   17781   rm -f conftest.er1
   17782   cat conftest.err >&5
   17783   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17784   (exit $ac_status); } && {
   17785 	 test -z "$ac_c_werror_flag" ||
   17786 	 test ! -s conftest.err
   17787        } && test -s conftest$ac_exeext && {
   17788 	 test "$cross_compiling" = yes ||
   17789 	 $as_test_x conftest$ac_exeext
   17790        }; then
   17791 
   17792 lt_aix_libpath_sed='
   17793     /Import File Strings/,/^$/ {
   17794 	/^0/ {
   17795 	    s/^0  *\(.*\)$/\1/
   17796 	    p
   17797 	}
   17798     }'
   17799 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17800 # Check for a 64-bit object if we didn't find anything.
   17801 if test -z "$aix_libpath"; then
   17802   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17803 fi
   17804 else
   17805   $as_echo "$as_me: failed program was:" >&5
   17806 sed 's/^/| /' conftest.$ac_ext >&5
   17807 
   17808 
   17809 fi
   17810 
   17811 rm -rf conftest.dSYM
   17812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17813       conftest$ac_exeext conftest.$ac_ext
   17814 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17815 
   17816        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17817 	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"
   17818        else
   17819 	if test "$host_cpu" = ia64; then
   17820 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17821 	  allow_undefined_flag_GCJ="-z nodefs"
   17822 	  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"
   17823 	else
   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 	  # Warning - without using the other run time loading flags,
   17888 	  # -berok will link without error, but may produce a broken library.
   17889 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17890 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17891 	  # Exported symbols can be pulled into shared objects from archives
   17892 	  whole_archive_flag_spec_GCJ='$convenience'
   17893 	  archive_cmds_need_lc_GCJ=yes
   17894 	  # This is similar to how AIX traditionally builds its shared libraries.
   17895 	  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'
   17896 	fi
   17897       fi
   17898       ;;
   17899 
   17900     amigaos*)
   17901       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)'
   17902       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17903       hardcode_minus_L_GCJ=yes
   17904       # see comment about different semantics on the GNU ld section
   17905       ld_shlibs_GCJ=no
   17906       ;;
   17907 
   17908     bsdi[45]*)
   17909       export_dynamic_flag_spec_GCJ=-rdynamic
   17910       ;;
   17911 
   17912     cygwin* | mingw* | pw32*)
   17913       # When not using gcc, we currently assume that we are using
   17914       # Microsoft Visual C++.
   17915       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17916       # no search path for DLLs.
   17917       hardcode_libdir_flag_spec_GCJ=' '
   17918       allow_undefined_flag_GCJ=unsupported
   17919       # Tell ltmain to make .lib files, not .a files.
   17920       libext=lib
   17921       # Tell ltmain to make .dll files, not .so files.
   17922       shrext_cmds=".dll"
   17923       # FIXME: Setting linknames here is a bad hack.
   17924       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17925       # The linker will automatically build a .lib file if we build a DLL.
   17926       old_archive_From_new_cmds_GCJ='true'
   17927       # FIXME: Should let the user specify the lib program.
   17928       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17929       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17930       enable_shared_with_static_runtimes_GCJ=yes
   17931       ;;
   17932 
   17933     darwin* | rhapsody*)
   17934       case $host_os in
   17935         rhapsody* | darwin1.[012])
   17936          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17937          ;;
   17938        *) # Darwin 1.3 on
   17939          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17940            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17941          else
   17942            case ${MACOSX_DEPLOYMENT_TARGET} in
   17943              10.[012])
   17944                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17945                ;;
   17946              10.*)
   17947                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17948                ;;
   17949            esac
   17950          fi
   17951          ;;
   17952       esac
   17953       archive_cmds_need_lc_GCJ=no
   17954       hardcode_direct_GCJ=no
   17955       hardcode_automatic_GCJ=yes
   17956       hardcode_shlibpath_var_GCJ=unsupported
   17957       whole_archive_flag_spec_GCJ=''
   17958       link_all_deplibs_GCJ=yes
   17959     if test "$GCC" = yes ; then
   17960     	output_verbose_link_cmd='echo'
   17961         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}"
   17962         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17963         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}"
   17964         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}"
   17965     else
   17966       case $cc_basename in
   17967         xlc*)
   17968          output_verbose_link_cmd='echo'
   17969          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17970          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17971           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17972          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}'
   17973           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}'
   17974           ;;
   17975        *)
   17976          ld_shlibs_GCJ=no
   17977           ;;
   17978       esac
   17979     fi
   17980       ;;
   17981 
   17982     dgux*)
   17983       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17984       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17985       hardcode_shlibpath_var_GCJ=no
   17986       ;;
   17987 
   17988     freebsd1*)
   17989       ld_shlibs_GCJ=no
   17990       ;;
   17991 
   17992     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17993     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17994     # does not break anything, and helps significantly (at the cost of a little
   17995     # extra space).
   17996     freebsd2.2*)
   17997       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17998       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17999       hardcode_direct_GCJ=yes
   18000       hardcode_shlibpath_var_GCJ=no
   18001       ;;
   18002 
   18003     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18004     freebsd2*)
   18005       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18006       hardcode_direct_GCJ=yes
   18007       hardcode_minus_L_GCJ=yes
   18008       hardcode_shlibpath_var_GCJ=no
   18009       ;;
   18010 
   18011     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18012     freebsd* | dragonfly*)
   18013       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18014       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18015       hardcode_direct_GCJ=yes
   18016       hardcode_shlibpath_var_GCJ=no
   18017       ;;
   18018 
   18019     hpux9*)
   18020       if test "$GCC" = yes; then
   18021 	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'
   18022       else
   18023 	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'
   18024       fi
   18025       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18026       hardcode_libdir_separator_GCJ=:
   18027       hardcode_direct_GCJ=yes
   18028 
   18029       # hardcode_minus_L: Not really in the search PATH,
   18030       # but as the default location of the library.
   18031       hardcode_minus_L_GCJ=yes
   18032       export_dynamic_flag_spec_GCJ='${wl}-E'
   18033       ;;
   18034 
   18035     hpux10*)
   18036       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18037 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18038       else
   18039 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18040       fi
   18041       if test "$with_gnu_ld" = no; then
   18042 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18043 	hardcode_libdir_separator_GCJ=:
   18044 
   18045 	hardcode_direct_GCJ=yes
   18046 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18047 
   18048 	# hardcode_minus_L: Not really in the search PATH,
   18049 	# but as the default location of the library.
   18050 	hardcode_minus_L_GCJ=yes
   18051       fi
   18052       ;;
   18053 
   18054     hpux11*)
   18055       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18056 	case $host_cpu in
   18057 	hppa*64*)
   18058 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18059 	  ;;
   18060 	ia64*)
   18061 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18062 	  ;;
   18063 	*)
   18064 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18065 	  ;;
   18066 	esac
   18067       else
   18068 	case $host_cpu in
   18069 	hppa*64*)
   18070 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18071 	  ;;
   18072 	ia64*)
   18073 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18074 	  ;;
   18075 	*)
   18076 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18077 	  ;;
   18078 	esac
   18079       fi
   18080       if test "$with_gnu_ld" = no; then
   18081 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18082 	hardcode_libdir_separator_GCJ=:
   18083 
   18084 	case $host_cpu in
   18085 	hppa*64*|ia64*)
   18086 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18087 	  hardcode_direct_GCJ=no
   18088 	  hardcode_shlibpath_var_GCJ=no
   18089 	  ;;
   18090 	*)
   18091 	  hardcode_direct_GCJ=yes
   18092 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18093 
   18094 	  # hardcode_minus_L: Not really in the search PATH,
   18095 	  # but as the default location of the library.
   18096 	  hardcode_minus_L_GCJ=yes
   18097 	  ;;
   18098 	esac
   18099       fi
   18100       ;;
   18101 
   18102     irix5* | irix6* | nonstopux*)
   18103       if test "$GCC" = yes; then
   18104 	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'
   18105       else
   18106 	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'
   18107 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18108       fi
   18109       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18110       hardcode_libdir_separator_GCJ=:
   18111       link_all_deplibs_GCJ=yes
   18112       ;;
   18113 
   18114     netbsd*)
   18115       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18116 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18117       else
   18118 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18119       fi
   18120       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18121       hardcode_direct_GCJ=yes
   18122       hardcode_shlibpath_var_GCJ=no
   18123       ;;
   18124 
   18125     newsos6)
   18126       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18127       hardcode_direct_GCJ=yes
   18128       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18129       hardcode_libdir_separator_GCJ=:
   18130       hardcode_shlibpath_var_GCJ=no
   18131       ;;
   18132 
   18133     openbsd*)
   18134       if test -f /usr/libexec/ld.so; then
   18135 	hardcode_direct_GCJ=yes
   18136 	hardcode_shlibpath_var_GCJ=no
   18137 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18138 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18139 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18140 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18141 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18142 	else
   18143 	  case $host_os in
   18144 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18145 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18146 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18147 	     ;;
   18148 	   *)
   18149 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18150 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18151 	     ;;
   18152 	  esac
   18153         fi
   18154       else
   18155 	ld_shlibs_GCJ=no
   18156       fi
   18157       ;;
   18158 
   18159     os2*)
   18160       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18161       hardcode_minus_L_GCJ=yes
   18162       allow_undefined_flag_GCJ=unsupported
   18163       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'
   18164       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18165       ;;
   18166 
   18167     osf3*)
   18168       if test "$GCC" = yes; then
   18169 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18170 	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'
   18171       else
   18172 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18173 	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'
   18174       fi
   18175       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18176       hardcode_libdir_separator_GCJ=:
   18177       ;;
   18178 
   18179     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18180       if test "$GCC" = yes; then
   18181 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18182 	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'
   18183 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18184       else
   18185 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18186 	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'
   18187 	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~
   18188 	$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'
   18189 
   18190 	# Both c and cxx compiler support -rpath directly
   18191 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18192       fi
   18193       hardcode_libdir_separator_GCJ=:
   18194       ;;
   18195 
   18196     solaris*)
   18197       no_undefined_flag_GCJ=' -z text'
   18198       if test "$GCC" = yes; then
   18199 	wlarc='${wl}'
   18200 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18201 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18202 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18203       else
   18204 	wlarc=''
   18205 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18206 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18207   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18208       fi
   18209       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18210       hardcode_shlibpath_var_GCJ=no
   18211       case $host_os in
   18212       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18213       *)
   18214 	# The compiler driver will combine and reorder linker options,
   18215 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18216 	# but is careful enough not to reorder.
   18217  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18218 	if test "$GCC" = yes; then
   18219 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18220 	else
   18221 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18222 	fi
   18223 	;;
   18224       esac
   18225       link_all_deplibs_GCJ=yes
   18226       ;;
   18227 
   18228     sunos4*)
   18229       if test "x$host_vendor" = xsequent; then
   18230 	# Use $CC to link under sequent, because it throws in some extra .o
   18231 	# files that make .init and .fini sections work.
   18232 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18233       else
   18234 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18235       fi
   18236       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18237       hardcode_direct_GCJ=yes
   18238       hardcode_minus_L_GCJ=yes
   18239       hardcode_shlibpath_var_GCJ=no
   18240       ;;
   18241 
   18242     sysv4)
   18243       case $host_vendor in
   18244 	sni)
   18245 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18246 	  hardcode_direct_GCJ=yes # is this really true???
   18247 	;;
   18248 	siemens)
   18249 	  ## LD is ld it makes a PLAMLIB
   18250 	  ## CC just makes a GrossModule.
   18251 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18252 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18253 	  hardcode_direct_GCJ=no
   18254         ;;
   18255 	motorola)
   18256 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18257 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18258 	;;
   18259       esac
   18260       runpath_var='LD_RUN_PATH'
   18261       hardcode_shlibpath_var_GCJ=no
   18262       ;;
   18263 
   18264     sysv4.3*)
   18265       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18266       hardcode_shlibpath_var_GCJ=no
   18267       export_dynamic_flag_spec_GCJ='-Bexport'
   18268       ;;
   18269 
   18270     sysv4*MP*)
   18271       if test -d /usr/nec; then
   18272 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18273 	hardcode_shlibpath_var_GCJ=no
   18274 	runpath_var=LD_RUN_PATH
   18275 	hardcode_runpath_var=yes
   18276 	ld_shlibs_GCJ=yes
   18277       fi
   18278       ;;
   18279 
   18280     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18281       no_undefined_flag_GCJ='${wl}-z,text'
   18282       archive_cmds_need_lc_GCJ=no
   18283       hardcode_shlibpath_var_GCJ=no
   18284       runpath_var='LD_RUN_PATH'
   18285 
   18286       if test "$GCC" = yes; then
   18287 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18288 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18289       else
   18290 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18291 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18292       fi
   18293       ;;
   18294 
   18295     sysv5* | sco3.2v5* | sco5v6*)
   18296       # Note: We can NOT use -z defs as we might desire, because we do not
   18297       # link with -lc, and that would cause any symbols used from libc to
   18298       # always be unresolved, which means just about no library would
   18299       # ever link correctly.  If we're not using GNU ld we use -z text
   18300       # though, which does catch some bad symbols but isn't as heavy-handed
   18301       # as -z defs.
   18302       no_undefined_flag_GCJ='${wl}-z,text'
   18303       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18304       archive_cmds_need_lc_GCJ=no
   18305       hardcode_shlibpath_var_GCJ=no
   18306       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18307       hardcode_libdir_separator_GCJ=':'
   18308       link_all_deplibs_GCJ=yes
   18309       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18310       runpath_var='LD_RUN_PATH'
   18311 
   18312       if test "$GCC" = yes; then
   18313 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18314 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18315       else
   18316 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18317 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18318       fi
   18319       ;;
   18320 
   18321     uts4*)
   18322       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18323       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18324       hardcode_shlibpath_var_GCJ=no
   18325       ;;
   18326 
   18327     *)
   18328       ld_shlibs_GCJ=no
   18329       ;;
   18330     esac
   18331   fi
   18332 
   18333 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18334 $as_echo "$ld_shlibs_GCJ" >&6; }
   18335 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18336 
   18337 #
   18338 # Do we need to explicitly link libc?
   18339 #
   18340 case "x$archive_cmds_need_lc_GCJ" in
   18341 x|xyes)
   18342   # Assume -lc should be added
   18343   archive_cmds_need_lc_GCJ=yes
   18344 
   18345   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18346     case $archive_cmds_GCJ in
   18347     *'~'*)
   18348       # FIXME: we may have to deal with multi-command sequences.
   18349       ;;
   18350     '$CC '*)
   18351       # Test whether the compiler implicitly links with -lc since on some
   18352       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18353       # to ld, don't add -lc before -lgcc.
   18354       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18355 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18356       $rm conftest*
   18357       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18358 
   18359       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18360   (eval $ac_compile) 2>&5
   18361   ac_status=$?
   18362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18363   (exit $ac_status); } 2>conftest.err; then
   18364         soname=conftest
   18365         lib=conftest
   18366         libobjs=conftest.$ac_objext
   18367         deplibs=
   18368         wl=$lt_prog_compiler_wl_GCJ
   18369 	pic_flag=$lt_prog_compiler_pic_GCJ
   18370         compiler_flags=-v
   18371         linker_flags=-v
   18372         verstring=
   18373         output_objdir=.
   18374         libname=conftest
   18375         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18376         allow_undefined_flag_GCJ=
   18377         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18378   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18379   ac_status=$?
   18380   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18381   (exit $ac_status); }
   18382         then
   18383 	  archive_cmds_need_lc_GCJ=no
   18384         else
   18385 	  archive_cmds_need_lc_GCJ=yes
   18386         fi
   18387         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18388       else
   18389         cat conftest.err 1>&5
   18390       fi
   18391       $rm conftest*
   18392       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18393 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18394       ;;
   18395     esac
   18396   fi
   18397   ;;
   18398 esac
   18399 
   18400 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18401 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18402 library_names_spec=
   18403 libname_spec='lib$name'
   18404 soname_spec=
   18405 shrext_cmds=".so"
   18406 postinstall_cmds=
   18407 postuninstall_cmds=
   18408 finish_cmds=
   18409 finish_eval=
   18410 shlibpath_var=
   18411 shlibpath_overrides_runpath=unknown
   18412 version_type=none
   18413 dynamic_linker="$host_os ld.so"
   18414 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18415 
   18416 need_lib_prefix=unknown
   18417 hardcode_into_libs=no
   18418 
   18419 # when you set need_version to no, make sure it does not cause -set_version
   18420 # flags to be left without arguments
   18421 need_version=unknown
   18422 
   18423 case $host_os in
   18424 aix3*)
   18425   version_type=linux
   18426   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18427   shlibpath_var=LIBPATH
   18428 
   18429   # AIX 3 has no versioning support, so we append a major version to the name.
   18430   soname_spec='${libname}${release}${shared_ext}$major'
   18431   ;;
   18432 
   18433 aix[4-9]*)
   18434   version_type=linux
   18435   need_lib_prefix=no
   18436   need_version=no
   18437   hardcode_into_libs=yes
   18438   if test "$host_cpu" = ia64; then
   18439     # AIX 5 supports IA64
   18440     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18441     shlibpath_var=LD_LIBRARY_PATH
   18442   else
   18443     # With GCC up to 2.95.x, collect2 would create an import file
   18444     # for dependence libraries.  The import file would start with
   18445     # the line `#! .'.  This would cause the generated library to
   18446     # depend on `.', always an invalid library.  This was fixed in
   18447     # development snapshots of GCC prior to 3.0.
   18448     case $host_os in
   18449       aix4 | aix4.[01] | aix4.[01].*)
   18450       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18451 	   echo ' yes '
   18452 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18453 	:
   18454       else
   18455 	can_build_shared=no
   18456       fi
   18457       ;;
   18458     esac
   18459     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18460     # soname into executable. Probably we can add versioning support to
   18461     # collect2, so additional links can be useful in future.
   18462     if test "$aix_use_runtimelinking" = yes; then
   18463       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18464       # instead of lib<name>.a to let people know that these are not
   18465       # typical AIX shared libraries.
   18466       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18467     else
   18468       # We preserve .a as extension for shared libraries through AIX4.2
   18469       # and later when we are not doing run time linking.
   18470       library_names_spec='${libname}${release}.a $libname.a'
   18471       soname_spec='${libname}${release}${shared_ext}$major'
   18472     fi
   18473     shlibpath_var=LIBPATH
   18474   fi
   18475   ;;
   18476 
   18477 amigaos*)
   18478   library_names_spec='$libname.ixlibrary $libname.a'
   18479   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18480   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'
   18481   ;;
   18482 
   18483 beos*)
   18484   library_names_spec='${libname}${shared_ext}'
   18485   dynamic_linker="$host_os ld.so"
   18486   shlibpath_var=LIBRARY_PATH
   18487   ;;
   18488 
   18489 bsdi[45]*)
   18490   version_type=linux
   18491   need_version=no
   18492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18493   soname_spec='${libname}${release}${shared_ext}$major'
   18494   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18495   shlibpath_var=LD_LIBRARY_PATH
   18496   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18497   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18498   # the default ld.so.conf also contains /usr/contrib/lib and
   18499   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18500   # libtool to hard-code these into programs
   18501   ;;
   18502 
   18503 cygwin* | mingw* | pw32*)
   18504   version_type=windows
   18505   shrext_cmds=".dll"
   18506   need_version=no
   18507   need_lib_prefix=no
   18508 
   18509   case $GCC,$host_os in
   18510   yes,cygwin* | yes,mingw* | yes,pw32*)
   18511     library_names_spec='$libname.dll.a'
   18512     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18513     postinstall_cmds='base_file=`basename \${file}`~
   18514       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18515       dldir=$destdir/`dirname \$dlpath`~
   18516       test -d \$dldir || mkdir -p \$dldir~
   18517       $install_prog $dir/$dlname \$dldir/$dlname~
   18518       chmod a+x \$dldir/$dlname'
   18519     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18520       dlpath=$dir/\$dldll~
   18521        $rm \$dlpath'
   18522     shlibpath_overrides_runpath=yes
   18523 
   18524     case $host_os in
   18525     cygwin*)
   18526       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18527       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18528       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18529       ;;
   18530     mingw*)
   18531       # MinGW DLLs use traditional 'lib' prefix
   18532       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18533       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18534       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18535         # It is most probably a Windows format PATH printed by
   18536         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18537         # path with ; separators, and with drive letters. We can handle the
   18538         # drive letters (cygwin fileutils understands them), so leave them,
   18539         # especially as we might pass files found there to a mingw objdump,
   18540         # which wouldn't understand a cygwinified path. Ahh.
   18541         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18542       else
   18543         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18544       fi
   18545       ;;
   18546     pw32*)
   18547       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18548       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18549       ;;
   18550     esac
   18551     ;;
   18552 
   18553   *)
   18554     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18555     ;;
   18556   esac
   18557   dynamic_linker='Win32 ld.exe'
   18558   # FIXME: first we should search . and the directory the executable is in
   18559   shlibpath_var=PATH
   18560   ;;
   18561 
   18562 darwin* | rhapsody*)
   18563   dynamic_linker="$host_os dyld"
   18564   version_type=darwin
   18565   need_lib_prefix=no
   18566   need_version=no
   18567   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18568   soname_spec='${libname}${release}${major}$shared_ext'
   18569   shlibpath_overrides_runpath=yes
   18570   shlibpath_var=DYLD_LIBRARY_PATH
   18571   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18572 
   18573   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18574   ;;
   18575 
   18576 dgux*)
   18577   version_type=linux
   18578   need_lib_prefix=no
   18579   need_version=no
   18580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18581   soname_spec='${libname}${release}${shared_ext}$major'
   18582   shlibpath_var=LD_LIBRARY_PATH
   18583   ;;
   18584 
   18585 freebsd1*)
   18586   dynamic_linker=no
   18587   ;;
   18588 
   18589 freebsd* | dragonfly*)
   18590   # DragonFly does not have aout.  When/if they implement a new
   18591   # versioning mechanism, adjust this.
   18592   if test -x /usr/bin/objformat; then
   18593     objformat=`/usr/bin/objformat`
   18594   else
   18595     case $host_os in
   18596     freebsd[123]*) objformat=aout ;;
   18597     *) objformat=elf ;;
   18598     esac
   18599   fi
   18600   version_type=freebsd-$objformat
   18601   case $version_type in
   18602     freebsd-elf*)
   18603       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18604       need_version=no
   18605       need_lib_prefix=no
   18606       ;;
   18607     freebsd-*)
   18608       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18609       need_version=yes
   18610       ;;
   18611   esac
   18612   shlibpath_var=LD_LIBRARY_PATH
   18613   case $host_os in
   18614   freebsd2*)
   18615     shlibpath_overrides_runpath=yes
   18616     ;;
   18617   freebsd3.[01]* | freebsdelf3.[01]*)
   18618     shlibpath_overrides_runpath=yes
   18619     hardcode_into_libs=yes
   18620     ;;
   18621   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18622   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18623     shlibpath_overrides_runpath=no
   18624     hardcode_into_libs=yes
   18625     ;;
   18626   *) # from 4.6 on, and DragonFly
   18627     shlibpath_overrides_runpath=yes
   18628     hardcode_into_libs=yes
   18629     ;;
   18630   esac
   18631   ;;
   18632 
   18633 gnu*)
   18634   version_type=linux
   18635   need_lib_prefix=no
   18636   need_version=no
   18637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18638   soname_spec='${libname}${release}${shared_ext}$major'
   18639   shlibpath_var=LD_LIBRARY_PATH
   18640   hardcode_into_libs=yes
   18641   ;;
   18642 
   18643 hpux9* | hpux10* | hpux11*)
   18644   # Give a soname corresponding to the major version so that dld.sl refuses to
   18645   # link against other versions.
   18646   version_type=sunos
   18647   need_lib_prefix=no
   18648   need_version=no
   18649   case $host_cpu in
   18650   ia64*)
   18651     shrext_cmds='.so'
   18652     hardcode_into_libs=yes
   18653     dynamic_linker="$host_os dld.so"
   18654     shlibpath_var=LD_LIBRARY_PATH
   18655     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18656     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18657     soname_spec='${libname}${release}${shared_ext}$major'
   18658     if test "X$HPUX_IA64_MODE" = X32; then
   18659       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18660     else
   18661       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18662     fi
   18663     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18664     ;;
   18665    hppa*64*)
   18666      shrext_cmds='.sl'
   18667      hardcode_into_libs=yes
   18668      dynamic_linker="$host_os dld.sl"
   18669      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18670      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18671      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18672      soname_spec='${libname}${release}${shared_ext}$major'
   18673      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18674      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18675      ;;
   18676    *)
   18677     shrext_cmds='.sl'
   18678     dynamic_linker="$host_os dld.sl"
   18679     shlibpath_var=SHLIB_PATH
   18680     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18681     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18682     soname_spec='${libname}${release}${shared_ext}$major'
   18683     ;;
   18684   esac
   18685   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18686   postinstall_cmds='chmod 555 $lib'
   18687   ;;
   18688 
   18689 interix[3-9]*)
   18690   version_type=linux
   18691   need_lib_prefix=no
   18692   need_version=no
   18693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18694   soname_spec='${libname}${release}${shared_ext}$major'
   18695   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18696   shlibpath_var=LD_LIBRARY_PATH
   18697   shlibpath_overrides_runpath=no
   18698   hardcode_into_libs=yes
   18699   ;;
   18700 
   18701 irix5* | irix6* | nonstopux*)
   18702   case $host_os in
   18703     nonstopux*) version_type=nonstopux ;;
   18704     *)
   18705 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18706 		version_type=linux
   18707 	else
   18708 		version_type=irix
   18709 	fi ;;
   18710   esac
   18711   need_lib_prefix=no
   18712   need_version=no
   18713   soname_spec='${libname}${release}${shared_ext}$major'
   18714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18715   case $host_os in
   18716   irix5* | nonstopux*)
   18717     libsuff= shlibsuff=
   18718     ;;
   18719   *)
   18720     case $LD in # libtool.m4 will add one of these switches to LD
   18721     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18722       libsuff= shlibsuff= libmagic=32-bit;;
   18723     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18724       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18725     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18726       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18727     *) libsuff= shlibsuff= libmagic=never-match;;
   18728     esac
   18729     ;;
   18730   esac
   18731   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18732   shlibpath_overrides_runpath=no
   18733   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18734   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18735   hardcode_into_libs=yes
   18736   ;;
   18737 
   18738 # No shared lib support for Linux oldld, aout, or coff.
   18739 linux*oldld* | linux*aout* | linux*coff*)
   18740   dynamic_linker=no
   18741   ;;
   18742 
   18743 # This must be Linux ELF.
   18744 linux* | k*bsd*-gnu)
   18745   version_type=linux
   18746   need_lib_prefix=no
   18747   need_version=no
   18748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18749   soname_spec='${libname}${release}${shared_ext}$major'
   18750   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18751   shlibpath_var=LD_LIBRARY_PATH
   18752   shlibpath_overrides_runpath=no
   18753   # This implies no fast_install, which is unacceptable.
   18754   # Some rework will be needed to allow for fast_install
   18755   # before this can be enabled.
   18756   hardcode_into_libs=yes
   18757   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18758   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18759 
   18760   # Append ld.so.conf contents to the search path
   18761   if test -f /etc/ld.so.conf; then
   18762     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' ' '`
   18763     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18764   fi
   18765 
   18766   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18767   # powerpc, because MkLinux only supported shared libraries with the
   18768   # GNU dynamic linker.  Since this was broken with cross compilers,
   18769   # most powerpc-linux boxes support dynamic linking these days and
   18770   # people can always --disable-shared, the test was removed, and we
   18771   # assume the GNU/Linux dynamic linker is in use.
   18772   dynamic_linker='GNU/Linux ld.so'
   18773   ;;
   18774 
   18775 netbsd*)
   18776   version_type=sunos
   18777   need_lib_prefix=no
   18778   need_version=no
   18779   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18780     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18781     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18782     dynamic_linker='NetBSD (a.out) ld.so'
   18783   else
   18784     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18785     soname_spec='${libname}${release}${shared_ext}$major'
   18786     dynamic_linker='NetBSD ld.elf_so'
   18787   fi
   18788   shlibpath_var=LD_LIBRARY_PATH
   18789   shlibpath_overrides_runpath=yes
   18790   hardcode_into_libs=yes
   18791   ;;
   18792 
   18793 newsos6)
   18794   version_type=linux
   18795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18796   shlibpath_var=LD_LIBRARY_PATH
   18797   shlibpath_overrides_runpath=yes
   18798   ;;
   18799 
   18800 nto-qnx*)
   18801   version_type=linux
   18802   need_lib_prefix=no
   18803   need_version=no
   18804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18805   soname_spec='${libname}${release}${shared_ext}$major'
   18806   shlibpath_var=LD_LIBRARY_PATH
   18807   shlibpath_overrides_runpath=yes
   18808   ;;
   18809 
   18810 openbsd*)
   18811   version_type=sunos
   18812   sys_lib_dlsearch_path_spec="/usr/lib"
   18813   need_lib_prefix=no
   18814   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18815   case $host_os in
   18816     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18817     *)                         need_version=no  ;;
   18818   esac
   18819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18820   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18821   shlibpath_var=LD_LIBRARY_PATH
   18822   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18823     case $host_os in
   18824       openbsd2.[89] | openbsd2.[89].*)
   18825 	shlibpath_overrides_runpath=no
   18826 	;;
   18827       *)
   18828 	shlibpath_overrides_runpath=yes
   18829 	;;
   18830       esac
   18831   else
   18832     shlibpath_overrides_runpath=yes
   18833   fi
   18834   ;;
   18835 
   18836 os2*)
   18837   libname_spec='$name'
   18838   shrext_cmds=".dll"
   18839   need_lib_prefix=no
   18840   library_names_spec='$libname${shared_ext} $libname.a'
   18841   dynamic_linker='OS/2 ld.exe'
   18842   shlibpath_var=LIBPATH
   18843   ;;
   18844 
   18845 osf3* | osf4* | osf5*)
   18846   version_type=osf
   18847   need_lib_prefix=no
   18848   need_version=no
   18849   soname_spec='${libname}${release}${shared_ext}$major'
   18850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18851   shlibpath_var=LD_LIBRARY_PATH
   18852   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18853   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18854   ;;
   18855 
   18856 rdos*)
   18857   dynamic_linker=no
   18858   ;;
   18859 
   18860 solaris*)
   18861   version_type=linux
   18862   need_lib_prefix=no
   18863   need_version=no
   18864   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18865   soname_spec='${libname}${release}${shared_ext}$major'
   18866   shlibpath_var=LD_LIBRARY_PATH
   18867   shlibpath_overrides_runpath=yes
   18868   hardcode_into_libs=yes
   18869   # ldd complains unless libraries are executable
   18870   postinstall_cmds='chmod +x $lib'
   18871   ;;
   18872 
   18873 sunos4*)
   18874   version_type=sunos
   18875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18876   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18877   shlibpath_var=LD_LIBRARY_PATH
   18878   shlibpath_overrides_runpath=yes
   18879   if test "$with_gnu_ld" = yes; then
   18880     need_lib_prefix=no
   18881   fi
   18882   need_version=yes
   18883   ;;
   18884 
   18885 sysv4 | sysv4.3*)
   18886   version_type=linux
   18887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18888   soname_spec='${libname}${release}${shared_ext}$major'
   18889   shlibpath_var=LD_LIBRARY_PATH
   18890   case $host_vendor in
   18891     sni)
   18892       shlibpath_overrides_runpath=no
   18893       need_lib_prefix=no
   18894       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18895       runpath_var=LD_RUN_PATH
   18896       ;;
   18897     siemens)
   18898       need_lib_prefix=no
   18899       ;;
   18900     motorola)
   18901       need_lib_prefix=no
   18902       need_version=no
   18903       shlibpath_overrides_runpath=no
   18904       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18905       ;;
   18906   esac
   18907   ;;
   18908 
   18909 sysv4*MP*)
   18910   if test -d /usr/nec ;then
   18911     version_type=linux
   18912     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18913     soname_spec='$libname${shared_ext}.$major'
   18914     shlibpath_var=LD_LIBRARY_PATH
   18915   fi
   18916   ;;
   18917 
   18918 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18919   version_type=freebsd-elf
   18920   need_lib_prefix=no
   18921   need_version=no
   18922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18923   soname_spec='${libname}${release}${shared_ext}$major'
   18924   shlibpath_var=LD_LIBRARY_PATH
   18925   hardcode_into_libs=yes
   18926   if test "$with_gnu_ld" = yes; then
   18927     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18928     shlibpath_overrides_runpath=no
   18929   else
   18930     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18931     shlibpath_overrides_runpath=yes
   18932     case $host_os in
   18933       sco3.2v5*)
   18934         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18935 	;;
   18936     esac
   18937   fi
   18938   sys_lib_dlsearch_path_spec='/usr/lib'
   18939   ;;
   18940 
   18941 uts4*)
   18942   version_type=linux
   18943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18944   soname_spec='${libname}${release}${shared_ext}$major'
   18945   shlibpath_var=LD_LIBRARY_PATH
   18946   ;;
   18947 
   18948 *)
   18949   dynamic_linker=no
   18950   ;;
   18951 esac
   18952 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18953 $as_echo "$dynamic_linker" >&6; }
   18954 test "$dynamic_linker" = no && can_build_shared=no
   18955 
   18956 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   18957   $as_echo_n "(cached) " >&6
   18958 else
   18959   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   18960 fi
   18961 
   18962 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   18963 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   18964   $as_echo_n "(cached) " >&6
   18965 else
   18966   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   18967 fi
   18968 
   18969 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   18970 
   18971 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18972 if test "$GCC" = yes; then
   18973   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18974 fi
   18975 
   18976 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18977 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18978 hardcode_action_GCJ=
   18979 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18980    test -n "$runpath_var_GCJ" || \
   18981    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18982 
   18983   # We can hardcode non-existant directories.
   18984   if test "$hardcode_direct_GCJ" != no &&
   18985      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18986      # have to relink, otherwise we might link with an installed library
   18987      # when we should be linking with a yet-to-be-installed one
   18988      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18989      test "$hardcode_minus_L_GCJ" != no; then
   18990     # Linking always hardcodes the temporary library directory.
   18991     hardcode_action_GCJ=relink
   18992   else
   18993     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18994     hardcode_action_GCJ=immediate
   18995   fi
   18996 else
   18997   # We cannot hardcode anything, or else we can only hardcode existing
   18998   # directories.
   18999   hardcode_action_GCJ=unsupported
   19000 fi
   19001 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19002 $as_echo "$hardcode_action_GCJ" >&6; }
   19003 
   19004 if test "$hardcode_action_GCJ" = relink; then
   19005   # Fast installation is not supported
   19006   enable_fast_install=no
   19007 elif test "$shlibpath_overrides_runpath" = yes ||
   19008      test "$enable_shared" = no; then
   19009   # Fast installation is not necessary
   19010   enable_fast_install=needless
   19011 fi
   19012 
   19013 
   19014 # The else clause should only fire when bootstrapping the
   19015 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19016 # with your package, and you will get complaints that there are
   19017 # no rules to generate ltmain.sh.
   19018 if test -f "$ltmain"; then
   19019   # See if we are running on zsh, and set the options which allow our commands through
   19020   # without removal of \ escapes.
   19021   if test -n "${ZSH_VERSION+set}" ; then
   19022     setopt NO_GLOB_SUBST
   19023   fi
   19024   # Now quote all the things that may contain metacharacters while being
   19025   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19026   # variables and quote the copies for generation of the libtool script.
   19027   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19028     SED SHELL STRIP \
   19029     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19030     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19031     deplibs_check_method reload_flag reload_cmds need_locks \
   19032     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19033     lt_cv_sys_global_symbol_to_c_name_address \
   19034     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19035     old_postinstall_cmds old_postuninstall_cmds \
   19036     compiler_GCJ \
   19037     CC_GCJ \
   19038     LD_GCJ \
   19039     lt_prog_compiler_wl_GCJ \
   19040     lt_prog_compiler_pic_GCJ \
   19041     lt_prog_compiler_static_GCJ \
   19042     lt_prog_compiler_no_builtin_flag_GCJ \
   19043     export_dynamic_flag_spec_GCJ \
   19044     thread_safe_flag_spec_GCJ \
   19045     whole_archive_flag_spec_GCJ \
   19046     enable_shared_with_static_runtimes_GCJ \
   19047     old_archive_cmds_GCJ \
   19048     old_archive_from_new_cmds_GCJ \
   19049     predep_objects_GCJ \
   19050     postdep_objects_GCJ \
   19051     predeps_GCJ \
   19052     postdeps_GCJ \
   19053     compiler_lib_search_path_GCJ \
   19054     compiler_lib_search_dirs_GCJ \
   19055     archive_cmds_GCJ \
   19056     archive_expsym_cmds_GCJ \
   19057     postinstall_cmds_GCJ \
   19058     postuninstall_cmds_GCJ \
   19059     old_archive_from_expsyms_cmds_GCJ \
   19060     allow_undefined_flag_GCJ \
   19061     no_undefined_flag_GCJ \
   19062     export_symbols_cmds_GCJ \
   19063     hardcode_libdir_flag_spec_GCJ \
   19064     hardcode_libdir_flag_spec_ld_GCJ \
   19065     hardcode_libdir_separator_GCJ \
   19066     hardcode_automatic_GCJ \
   19067     module_cmds_GCJ \
   19068     module_expsym_cmds_GCJ \
   19069     lt_cv_prog_compiler_c_o_GCJ \
   19070     fix_srcfile_path_GCJ \
   19071     exclude_expsyms_GCJ \
   19072     include_expsyms_GCJ; do
   19073 
   19074     case $var in
   19075     old_archive_cmds_GCJ | \
   19076     old_archive_from_new_cmds_GCJ | \
   19077     archive_cmds_GCJ | \
   19078     archive_expsym_cmds_GCJ | \
   19079     module_cmds_GCJ | \
   19080     module_expsym_cmds_GCJ | \
   19081     old_archive_from_expsyms_cmds_GCJ | \
   19082     export_symbols_cmds_GCJ | \
   19083     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19084     postinstall_cmds | postuninstall_cmds | \
   19085     old_postinstall_cmds | old_postuninstall_cmds | \
   19086     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19087       # Double-quote double-evaled strings.
   19088       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19089       ;;
   19090     *)
   19091       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19092       ;;
   19093     esac
   19094   done
   19095 
   19096   case $lt_echo in
   19097   *'\$0 --fallback-echo"')
   19098     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19099     ;;
   19100   esac
   19101 
   19102 cfgfile="$ofile"
   19103 
   19104   cat <<__EOF__ >> "$cfgfile"
   19105 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19106 
   19107 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19108 
   19109 # Shell to use when invoking shell scripts.
   19110 SHELL=$lt_SHELL
   19111 
   19112 # Whether or not to build shared libraries.
   19113 build_libtool_libs=$enable_shared
   19114 
   19115 # Whether or not to build static libraries.
   19116 build_old_libs=$enable_static
   19117 
   19118 # Whether or not to add -lc for building shared libraries.
   19119 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19120 
   19121 # Whether or not to disallow shared libs when runtime libs are static
   19122 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19123 
   19124 # Whether or not to optimize for fast installation.
   19125 fast_install=$enable_fast_install
   19126 
   19127 # The host system.
   19128 host_alias=$host_alias
   19129 host=$host
   19130 host_os=$host_os
   19131 
   19132 # The build system.
   19133 build_alias=$build_alias
   19134 build=$build
   19135 build_os=$build_os
   19136 
   19137 # An echo program that does not interpret backslashes.
   19138 echo=$lt_echo
   19139 
   19140 # The archiver.
   19141 AR=$lt_AR
   19142 AR_FLAGS=$lt_AR_FLAGS
   19143 
   19144 # A C compiler.
   19145 LTCC=$lt_LTCC
   19146 
   19147 # LTCC compiler flags.
   19148 LTCFLAGS=$lt_LTCFLAGS
   19149 
   19150 # A language-specific compiler.
   19151 CC=$lt_compiler_GCJ
   19152 
   19153 # Is the compiler the GNU C compiler?
   19154 with_gcc=$GCC_GCJ
   19155 
   19156 # An ERE matcher.
   19157 EGREP=$lt_EGREP
   19158 
   19159 # The linker used to build libraries.
   19160 LD=$lt_LD_GCJ
   19161 
   19162 # Whether we need hard or soft links.
   19163 LN_S=$lt_LN_S
   19164 
   19165 # A BSD-compatible nm program.
   19166 NM=$lt_NM
   19167 
   19168 # A symbol stripping program
   19169 STRIP=$lt_STRIP
   19170 
   19171 # Used to examine libraries when file_magic_cmd begins "file"
   19172 MAGIC_CMD=$MAGIC_CMD
   19173 
   19174 # Used on cygwin: DLL creation program.
   19175 DLLTOOL="$DLLTOOL"
   19176 
   19177 # Used on cygwin: object dumper.
   19178 OBJDUMP="$OBJDUMP"
   19179 
   19180 # Used on cygwin: assembler.
   19181 AS="$AS"
   19182 
   19183 # The name of the directory that contains temporary libtool files.
   19184 objdir=$objdir
   19185 
   19186 # How to create reloadable object files.
   19187 reload_flag=$lt_reload_flag
   19188 reload_cmds=$lt_reload_cmds
   19189 
   19190 # How to pass a linker flag through the compiler.
   19191 wl=$lt_lt_prog_compiler_wl_GCJ
   19192 
   19193 # Object file suffix (normally "o").
   19194 objext="$ac_objext"
   19195 
   19196 # Old archive suffix (normally "a").
   19197 libext="$libext"
   19198 
   19199 # Shared library suffix (normally ".so").
   19200 shrext_cmds='$shrext_cmds'
   19201 
   19202 # Executable file suffix (normally "").
   19203 exeext="$exeext"
   19204 
   19205 # Additional compiler flags for building library objects.
   19206 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19207 pic_mode=$pic_mode
   19208 
   19209 # What is the maximum length of a command?
   19210 max_cmd_len=$lt_cv_sys_max_cmd_len
   19211 
   19212 # Does compiler simultaneously support -c and -o options?
   19213 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19214 
   19215 # Must we lock files when doing compilation?
   19216 need_locks=$lt_need_locks
   19217 
   19218 # Do we need the lib prefix for modules?
   19219 need_lib_prefix=$need_lib_prefix
   19220 
   19221 # Do we need a version for libraries?
   19222 need_version=$need_version
   19223 
   19224 # Whether dlopen is supported.
   19225 dlopen_support=$enable_dlopen
   19226 
   19227 # Whether dlopen of programs is supported.
   19228 dlopen_self=$enable_dlopen_self
   19229 
   19230 # Whether dlopen of statically linked programs is supported.
   19231 dlopen_self_static=$enable_dlopen_self_static
   19232 
   19233 # Compiler flag to prevent dynamic linking.
   19234 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19235 
   19236 # Compiler flag to turn off builtin functions.
   19237 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19238 
   19239 # Compiler flag to allow reflexive dlopens.
   19240 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19241 
   19242 # Compiler flag to generate shared objects directly from archives.
   19243 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19244 
   19245 # Compiler flag to generate thread-safe objects.
   19246 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19247 
   19248 # Library versioning type.
   19249 version_type=$version_type
   19250 
   19251 # Format of library name prefix.
   19252 libname_spec=$lt_libname_spec
   19253 
   19254 # List of archive names.  First name is the real one, the rest are links.
   19255 # The last name is the one that the linker finds with -lNAME.
   19256 library_names_spec=$lt_library_names_spec
   19257 
   19258 # The coded name of the library, if different from the real name.
   19259 soname_spec=$lt_soname_spec
   19260 
   19261 # Commands used to build and install an old-style archive.
   19262 RANLIB=$lt_RANLIB
   19263 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19264 old_postinstall_cmds=$lt_old_postinstall_cmds
   19265 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19266 
   19267 # Create an old-style archive from a shared archive.
   19268 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19269 
   19270 # Create a temporary old-style archive to link instead of a shared archive.
   19271 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19272 
   19273 # Commands used to build and install a shared archive.
   19274 archive_cmds=$lt_archive_cmds_GCJ
   19275 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19276 postinstall_cmds=$lt_postinstall_cmds
   19277 postuninstall_cmds=$lt_postuninstall_cmds
   19278 
   19279 # Commands used to build a loadable module (assumed same as above if empty)
   19280 module_cmds=$lt_module_cmds_GCJ
   19281 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19282 
   19283 # Commands to strip libraries.
   19284 old_striplib=$lt_old_striplib
   19285 striplib=$lt_striplib
   19286 
   19287 # Dependencies to place before the objects being linked to create a
   19288 # shared library.
   19289 predep_objects=$lt_predep_objects_GCJ
   19290 
   19291 # Dependencies to place after the objects being linked to create a
   19292 # shared library.
   19293 postdep_objects=$lt_postdep_objects_GCJ
   19294 
   19295 # Dependencies to place before the objects being linked to create a
   19296 # shared library.
   19297 predeps=$lt_predeps_GCJ
   19298 
   19299 # Dependencies to place after the objects being linked to create a
   19300 # shared library.
   19301 postdeps=$lt_postdeps_GCJ
   19302 
   19303 # The directories searched by this compiler when creating a shared
   19304 # library
   19305 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19306 
   19307 # The library search path used internally by the compiler when linking
   19308 # a shared library.
   19309 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19310 
   19311 # Method to check whether dependent libraries are shared objects.
   19312 deplibs_check_method=$lt_deplibs_check_method
   19313 
   19314 # Command to use when deplibs_check_method == file_magic.
   19315 file_magic_cmd=$lt_file_magic_cmd
   19316 
   19317 # Flag that allows shared libraries with undefined symbols to be built.
   19318 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19319 
   19320 # Flag that forces no undefined symbols.
   19321 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19322 
   19323 # Commands used to finish a libtool library installation in a directory.
   19324 finish_cmds=$lt_finish_cmds
   19325 
   19326 # Same as above, but a single script fragment to be evaled but not shown.
   19327 finish_eval=$lt_finish_eval
   19328 
   19329 # Take the output of nm and produce a listing of raw symbols and C names.
   19330 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19331 
   19332 # Transform the output of nm in a proper C declaration
   19333 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19334 
   19335 # Transform the output of nm in a C name address pair
   19336 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19337 
   19338 # This is the shared library runtime path variable.
   19339 runpath_var=$runpath_var
   19340 
   19341 # This is the shared library path variable.
   19342 shlibpath_var=$shlibpath_var
   19343 
   19344 # Is shlibpath searched before the hard-coded library search path?
   19345 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19346 
   19347 # How to hardcode a shared library path into an executable.
   19348 hardcode_action=$hardcode_action_GCJ
   19349 
   19350 # Whether we should hardcode library paths into libraries.
   19351 hardcode_into_libs=$hardcode_into_libs
   19352 
   19353 # Flag to hardcode \$libdir into a binary during linking.
   19354 # This must work even if \$libdir does not exist.
   19355 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19356 
   19357 # If ld is used when linking, flag to hardcode \$libdir into
   19358 # a binary during linking. This must work even if \$libdir does
   19359 # not exist.
   19360 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19361 
   19362 # Whether we need a single -rpath flag with a separated argument.
   19363 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19364 
   19365 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19366 # resulting binary.
   19367 hardcode_direct=$hardcode_direct_GCJ
   19368 
   19369 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19370 # resulting binary.
   19371 hardcode_minus_L=$hardcode_minus_L_GCJ
   19372 
   19373 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19374 # the resulting binary.
   19375 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19376 
   19377 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19378 # and all subsequent libraries and executables linked against it.
   19379 hardcode_automatic=$hardcode_automatic_GCJ
   19380 
   19381 # Variables whose values should be saved in libtool wrapper scripts and
   19382 # restored at relink time.
   19383 variables_saved_for_relink="$variables_saved_for_relink"
   19384 
   19385 # Whether libtool must link a program against all its dependency libraries.
   19386 link_all_deplibs=$link_all_deplibs_GCJ
   19387 
   19388 # Compile-time system search path for libraries
   19389 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19390 
   19391 # Run-time system search path for libraries
   19392 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19393 
   19394 # Fix the shell variable \$srcfile for the compiler.
   19395 fix_srcfile_path=$lt_fix_srcfile_path
   19396 
   19397 # Set to yes if exported symbols are required.
   19398 always_export_symbols=$always_export_symbols_GCJ
   19399 
   19400 # The commands to list exported symbols.
   19401 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19402 
   19403 # The commands to extract the exported symbol list from a shared archive.
   19404 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19405 
   19406 # Symbols that should not be listed in the preloaded symbols.
   19407 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19408 
   19409 # Symbols that must always be exported.
   19410 include_expsyms=$lt_include_expsyms_GCJ
   19411 
   19412 # ### END LIBTOOL TAG CONFIG: $tagname
   19413 
   19414 __EOF__
   19415 
   19416 
   19417 else
   19418   # If there is no Makefile yet, we rely on a make rule to execute
   19419   # `config.status --recheck' to rerun these tests and create the
   19420   # libtool script then.
   19421   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19422   if test -f "$ltmain_in"; then
   19423     test -f Makefile && make "$ltmain"
   19424   fi
   19425 fi
   19426 
   19427 
   19428 ac_ext=c
   19429 ac_cpp='$CPP $CPPFLAGS'
   19430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19433 
   19434 CC="$lt_save_CC"
   19435 
   19436 	else
   19437 	  tagname=""
   19438 	fi
   19439 	;;
   19440 
   19441       RC)
   19442 
   19443 
   19444 # Source file extension for RC test sources.
   19445 ac_ext=rc
   19446 
   19447 # Object file extension for compiled RC test sources.
   19448 objext=o
   19449 objext_RC=$objext
   19450 
   19451 # Code to be used in simple compile tests
   19452 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19453 
   19454 # Code to be used in simple link tests
   19455 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19456 
   19457 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19458 
   19459 # If no C compiler was specified, use CC.
   19460 LTCC=${LTCC-"$CC"}
   19461 
   19462 # If no C compiler flags were specified, use CFLAGS.
   19463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19464 
   19465 # Allow CC to be a program name with arguments.
   19466 compiler=$CC
   19467 
   19468 
   19469 # save warnings/boilerplate of simple test code
   19470 ac_outfile=conftest.$ac_objext
   19471 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19472 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19473 _lt_compiler_boilerplate=`cat conftest.err`
   19474 $rm conftest*
   19475 
   19476 ac_outfile=conftest.$ac_objext
   19477 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19478 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19479 _lt_linker_boilerplate=`cat conftest.err`
   19480 $rm -r conftest*
   19481 
   19482 
   19483 # Allow CC to be a program name with arguments.
   19484 lt_save_CC="$CC"
   19485 CC=${RC-"windres"}
   19486 compiler=$CC
   19487 compiler_RC=$CC
   19488 for cc_temp in $compiler""; do
   19489   case $cc_temp in
   19490     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19491     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19492     \-*) ;;
   19493     *) break;;
   19494   esac
   19495 done
   19496 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19497 
   19498 lt_cv_prog_compiler_c_o_RC=yes
   19499 
   19500 # The else clause should only fire when bootstrapping the
   19501 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19502 # with your package, and you will get complaints that there are
   19503 # no rules to generate ltmain.sh.
   19504 if test -f "$ltmain"; then
   19505   # See if we are running on zsh, and set the options which allow our commands through
   19506   # without removal of \ escapes.
   19507   if test -n "${ZSH_VERSION+set}" ; then
   19508     setopt NO_GLOB_SUBST
   19509   fi
   19510   # Now quote all the things that may contain metacharacters while being
   19511   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19512   # variables and quote the copies for generation of the libtool script.
   19513   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19514     SED SHELL STRIP \
   19515     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19516     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19517     deplibs_check_method reload_flag reload_cmds need_locks \
   19518     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19519     lt_cv_sys_global_symbol_to_c_name_address \
   19520     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19521     old_postinstall_cmds old_postuninstall_cmds \
   19522     compiler_RC \
   19523     CC_RC \
   19524     LD_RC \
   19525     lt_prog_compiler_wl_RC \
   19526     lt_prog_compiler_pic_RC \
   19527     lt_prog_compiler_static_RC \
   19528     lt_prog_compiler_no_builtin_flag_RC \
   19529     export_dynamic_flag_spec_RC \
   19530     thread_safe_flag_spec_RC \
   19531     whole_archive_flag_spec_RC \
   19532     enable_shared_with_static_runtimes_RC \
   19533     old_archive_cmds_RC \
   19534     old_archive_from_new_cmds_RC \
   19535     predep_objects_RC \
   19536     postdep_objects_RC \
   19537     predeps_RC \
   19538     postdeps_RC \
   19539     compiler_lib_search_path_RC \
   19540     compiler_lib_search_dirs_RC \
   19541     archive_cmds_RC \
   19542     archive_expsym_cmds_RC \
   19543     postinstall_cmds_RC \
   19544     postuninstall_cmds_RC \
   19545     old_archive_from_expsyms_cmds_RC \
   19546     allow_undefined_flag_RC \
   19547     no_undefined_flag_RC \
   19548     export_symbols_cmds_RC \
   19549     hardcode_libdir_flag_spec_RC \
   19550     hardcode_libdir_flag_spec_ld_RC \
   19551     hardcode_libdir_separator_RC \
   19552     hardcode_automatic_RC \
   19553     module_cmds_RC \
   19554     module_expsym_cmds_RC \
   19555     lt_cv_prog_compiler_c_o_RC \
   19556     fix_srcfile_path_RC \
   19557     exclude_expsyms_RC \
   19558     include_expsyms_RC; do
   19559 
   19560     case $var in
   19561     old_archive_cmds_RC | \
   19562     old_archive_from_new_cmds_RC | \
   19563     archive_cmds_RC | \
   19564     archive_expsym_cmds_RC | \
   19565     module_cmds_RC | \
   19566     module_expsym_cmds_RC | \
   19567     old_archive_from_expsyms_cmds_RC | \
   19568     export_symbols_cmds_RC | \
   19569     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19570     postinstall_cmds | postuninstall_cmds | \
   19571     old_postinstall_cmds | old_postuninstall_cmds | \
   19572     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19573       # Double-quote double-evaled strings.
   19574       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19575       ;;
   19576     *)
   19577       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19578       ;;
   19579     esac
   19580   done
   19581 
   19582   case $lt_echo in
   19583   *'\$0 --fallback-echo"')
   19584     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19585     ;;
   19586   esac
   19587 
   19588 cfgfile="$ofile"
   19589 
   19590   cat <<__EOF__ >> "$cfgfile"
   19591 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19592 
   19593 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19594 
   19595 # Shell to use when invoking shell scripts.
   19596 SHELL=$lt_SHELL
   19597 
   19598 # Whether or not to build shared libraries.
   19599 build_libtool_libs=$enable_shared
   19600 
   19601 # Whether or not to build static libraries.
   19602 build_old_libs=$enable_static
   19603 
   19604 # Whether or not to add -lc for building shared libraries.
   19605 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19606 
   19607 # Whether or not to disallow shared libs when runtime libs are static
   19608 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19609 
   19610 # Whether or not to optimize for fast installation.
   19611 fast_install=$enable_fast_install
   19612 
   19613 # The host system.
   19614 host_alias=$host_alias
   19615 host=$host
   19616 host_os=$host_os
   19617 
   19618 # The build system.
   19619 build_alias=$build_alias
   19620 build=$build
   19621 build_os=$build_os
   19622 
   19623 # An echo program that does not interpret backslashes.
   19624 echo=$lt_echo
   19625 
   19626 # The archiver.
   19627 AR=$lt_AR
   19628 AR_FLAGS=$lt_AR_FLAGS
   19629 
   19630 # A C compiler.
   19631 LTCC=$lt_LTCC
   19632 
   19633 # LTCC compiler flags.
   19634 LTCFLAGS=$lt_LTCFLAGS
   19635 
   19636 # A language-specific compiler.
   19637 CC=$lt_compiler_RC
   19638 
   19639 # Is the compiler the GNU C compiler?
   19640 with_gcc=$GCC_RC
   19641 
   19642 # An ERE matcher.
   19643 EGREP=$lt_EGREP
   19644 
   19645 # The linker used to build libraries.
   19646 LD=$lt_LD_RC
   19647 
   19648 # Whether we need hard or soft links.
   19649 LN_S=$lt_LN_S
   19650 
   19651 # A BSD-compatible nm program.
   19652 NM=$lt_NM
   19653 
   19654 # A symbol stripping program
   19655 STRIP=$lt_STRIP
   19656 
   19657 # Used to examine libraries when file_magic_cmd begins "file"
   19658 MAGIC_CMD=$MAGIC_CMD
   19659 
   19660 # Used on cygwin: DLL creation program.
   19661 DLLTOOL="$DLLTOOL"
   19662 
   19663 # Used on cygwin: object dumper.
   19664 OBJDUMP="$OBJDUMP"
   19665 
   19666 # Used on cygwin: assembler.
   19667 AS="$AS"
   19668 
   19669 # The name of the directory that contains temporary libtool files.
   19670 objdir=$objdir
   19671 
   19672 # How to create reloadable object files.
   19673 reload_flag=$lt_reload_flag
   19674 reload_cmds=$lt_reload_cmds
   19675 
   19676 # How to pass a linker flag through the compiler.
   19677 wl=$lt_lt_prog_compiler_wl_RC
   19678 
   19679 # Object file suffix (normally "o").
   19680 objext="$ac_objext"
   19681 
   19682 # Old archive suffix (normally "a").
   19683 libext="$libext"
   19684 
   19685 # Shared library suffix (normally ".so").
   19686 shrext_cmds='$shrext_cmds'
   19687 
   19688 # Executable file suffix (normally "").
   19689 exeext="$exeext"
   19690 
   19691 # Additional compiler flags for building library objects.
   19692 pic_flag=$lt_lt_prog_compiler_pic_RC
   19693 pic_mode=$pic_mode
   19694 
   19695 # What is the maximum length of a command?
   19696 max_cmd_len=$lt_cv_sys_max_cmd_len
   19697 
   19698 # Does compiler simultaneously support -c and -o options?
   19699 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19700 
   19701 # Must we lock files when doing compilation?
   19702 need_locks=$lt_need_locks
   19703 
   19704 # Do we need the lib prefix for modules?
   19705 need_lib_prefix=$need_lib_prefix
   19706 
   19707 # Do we need a version for libraries?
   19708 need_version=$need_version
   19709 
   19710 # Whether dlopen is supported.
   19711 dlopen_support=$enable_dlopen
   19712 
   19713 # Whether dlopen of programs is supported.
   19714 dlopen_self=$enable_dlopen_self
   19715 
   19716 # Whether dlopen of statically linked programs is supported.
   19717 dlopen_self_static=$enable_dlopen_self_static
   19718 
   19719 # Compiler flag to prevent dynamic linking.
   19720 link_static_flag=$lt_lt_prog_compiler_static_RC
   19721 
   19722 # Compiler flag to turn off builtin functions.
   19723 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19724 
   19725 # Compiler flag to allow reflexive dlopens.
   19726 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19727 
   19728 # Compiler flag to generate shared objects directly from archives.
   19729 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19730 
   19731 # Compiler flag to generate thread-safe objects.
   19732 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19733 
   19734 # Library versioning type.
   19735 version_type=$version_type
   19736 
   19737 # Format of library name prefix.
   19738 libname_spec=$lt_libname_spec
   19739 
   19740 # List of archive names.  First name is the real one, the rest are links.
   19741 # The last name is the one that the linker finds with -lNAME.
   19742 library_names_spec=$lt_library_names_spec
   19743 
   19744 # The coded name of the library, if different from the real name.
   19745 soname_spec=$lt_soname_spec
   19746 
   19747 # Commands used to build and install an old-style archive.
   19748 RANLIB=$lt_RANLIB
   19749 old_archive_cmds=$lt_old_archive_cmds_RC
   19750 old_postinstall_cmds=$lt_old_postinstall_cmds
   19751 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19752 
   19753 # Create an old-style archive from a shared archive.
   19754 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19755 
   19756 # Create a temporary old-style archive to link instead of a shared archive.
   19757 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19758 
   19759 # Commands used to build and install a shared archive.
   19760 archive_cmds=$lt_archive_cmds_RC
   19761 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19762 postinstall_cmds=$lt_postinstall_cmds
   19763 postuninstall_cmds=$lt_postuninstall_cmds
   19764 
   19765 # Commands used to build a loadable module (assumed same as above if empty)
   19766 module_cmds=$lt_module_cmds_RC
   19767 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19768 
   19769 # Commands to strip libraries.
   19770 old_striplib=$lt_old_striplib
   19771 striplib=$lt_striplib
   19772 
   19773 # Dependencies to place before the objects being linked to create a
   19774 # shared library.
   19775 predep_objects=$lt_predep_objects_RC
   19776 
   19777 # Dependencies to place after the objects being linked to create a
   19778 # shared library.
   19779 postdep_objects=$lt_postdep_objects_RC
   19780 
   19781 # Dependencies to place before the objects being linked to create a
   19782 # shared library.
   19783 predeps=$lt_predeps_RC
   19784 
   19785 # Dependencies to place after the objects being linked to create a
   19786 # shared library.
   19787 postdeps=$lt_postdeps_RC
   19788 
   19789 # The directories searched by this compiler when creating a shared
   19790 # library
   19791 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19792 
   19793 # The library search path used internally by the compiler when linking
   19794 # a shared library.
   19795 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19796 
   19797 # Method to check whether dependent libraries are shared objects.
   19798 deplibs_check_method=$lt_deplibs_check_method
   19799 
   19800 # Command to use when deplibs_check_method == file_magic.
   19801 file_magic_cmd=$lt_file_magic_cmd
   19802 
   19803 # Flag that allows shared libraries with undefined symbols to be built.
   19804 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19805 
   19806 # Flag that forces no undefined symbols.
   19807 no_undefined_flag=$lt_no_undefined_flag_RC
   19808 
   19809 # Commands used to finish a libtool library installation in a directory.
   19810 finish_cmds=$lt_finish_cmds
   19811 
   19812 # Same as above, but a single script fragment to be evaled but not shown.
   19813 finish_eval=$lt_finish_eval
   19814 
   19815 # Take the output of nm and produce a listing of raw symbols and C names.
   19816 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19817 
   19818 # Transform the output of nm in a proper C declaration
   19819 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19820 
   19821 # Transform the output of nm in a C name address pair
   19822 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19823 
   19824 # This is the shared library runtime path variable.
   19825 runpath_var=$runpath_var
   19826 
   19827 # This is the shared library path variable.
   19828 shlibpath_var=$shlibpath_var
   19829 
   19830 # Is shlibpath searched before the hard-coded library search path?
   19831 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19832 
   19833 # How to hardcode a shared library path into an executable.
   19834 hardcode_action=$hardcode_action_RC
   19835 
   19836 # Whether we should hardcode library paths into libraries.
   19837 hardcode_into_libs=$hardcode_into_libs
   19838 
   19839 # Flag to hardcode \$libdir into a binary during linking.
   19840 # This must work even if \$libdir does not exist.
   19841 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19842 
   19843 # If ld is used when linking, flag to hardcode \$libdir into
   19844 # a binary during linking. This must work even if \$libdir does
   19845 # not exist.
   19846 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19847 
   19848 # Whether we need a single -rpath flag with a separated argument.
   19849 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19850 
   19851 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19852 # resulting binary.
   19853 hardcode_direct=$hardcode_direct_RC
   19854 
   19855 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19856 # resulting binary.
   19857 hardcode_minus_L=$hardcode_minus_L_RC
   19858 
   19859 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19860 # the resulting binary.
   19861 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19862 
   19863 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19864 # and all subsequent libraries and executables linked against it.
   19865 hardcode_automatic=$hardcode_automatic_RC
   19866 
   19867 # Variables whose values should be saved in libtool wrapper scripts and
   19868 # restored at relink time.
   19869 variables_saved_for_relink="$variables_saved_for_relink"
   19870 
   19871 # Whether libtool must link a program against all its dependency libraries.
   19872 link_all_deplibs=$link_all_deplibs_RC
   19873 
   19874 # Compile-time system search path for libraries
   19875 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19876 
   19877 # Run-time system search path for libraries
   19878 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19879 
   19880 # Fix the shell variable \$srcfile for the compiler.
   19881 fix_srcfile_path=$lt_fix_srcfile_path
   19882 
   19883 # Set to yes if exported symbols are required.
   19884 always_export_symbols=$always_export_symbols_RC
   19885 
   19886 # The commands to list exported symbols.
   19887 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19888 
   19889 # The commands to extract the exported symbol list from a shared archive.
   19890 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19891 
   19892 # Symbols that should not be listed in the preloaded symbols.
   19893 exclude_expsyms=$lt_exclude_expsyms_RC
   19894 
   19895 # Symbols that must always be exported.
   19896 include_expsyms=$lt_include_expsyms_RC
   19897 
   19898 # ### END LIBTOOL TAG CONFIG: $tagname
   19899 
   19900 __EOF__
   19901 
   19902 
   19903 else
   19904   # If there is no Makefile yet, we rely on a make rule to execute
   19905   # `config.status --recheck' to rerun these tests and create the
   19906   # libtool script then.
   19907   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19908   if test -f "$ltmain_in"; then
   19909     test -f Makefile && make "$ltmain"
   19910   fi
   19911 fi
   19912 
   19913 
   19914 ac_ext=c
   19915 ac_cpp='$CPP $CPPFLAGS'
   19916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19919 
   19920 CC="$lt_save_CC"
   19921 
   19922 	;;
   19923 
   19924       *)
   19925 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19926 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19927    { (exit 1); exit 1; }; }
   19928 	;;
   19929       esac
   19930 
   19931       # Append the new tag name to the list of available tags.
   19932       if test -n "$tagname" ; then
   19933       available_tags="$available_tags $tagname"
   19934     fi
   19935     fi
   19936   done
   19937   IFS="$lt_save_ifs"
   19938 
   19939   # Now substitute the updated list of available tags.
   19940   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19941     mv "${ofile}T" "$ofile"
   19942     chmod +x "$ofile"
   19943   else
   19944     rm -f "${ofile}T"
   19945     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19946 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19947    { (exit 1); exit 1; }; }
   19948   fi
   19949 fi
   19950 
   19951 
   19952 
   19953 # This can be used to rebuild libtool when needed
   19954 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19955 
   19956 # Always use our own libtool.
   19957 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19958 
   19959 # Prevent multiple expansion
   19960 
   19961 
   19962 
   19963 
   19964 
   19965 
   19966 
   19967 
   19968 
   19969 
   19970 
   19971 
   19972 
   19973 
   19974 
   19975 
   19976 
   19977 
   19978 
   19979 
   19980 ac_ext=c
   19981 ac_cpp='$CPP $CPPFLAGS'
   19982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19985 if test -n "$ac_tool_prefix"; then
   19986   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19987 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19988 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   19989 $as_echo_n "checking for $ac_word... " >&6; }
   19990 if test "${ac_cv_prog_CC+set}" = set; then
   19991   $as_echo_n "(cached) " >&6
   19992 else
   19993   if test -n "$CC"; then
   19994   ac_cv_prog_CC="$CC" # Let the user override the test.
   19995 else
   19996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19997 for as_dir in $PATH
   19998 do
   19999   IFS=$as_save_IFS
   20000   test -z "$as_dir" && as_dir=.
   20001   for ac_exec_ext in '' $ac_executable_extensions; do
   20002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20003     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20004     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20005     break 2
   20006   fi
   20007 done
   20008 done
   20009 IFS=$as_save_IFS
   20010 
   20011 fi
   20012 fi
   20013 CC=$ac_cv_prog_CC
   20014 if test -n "$CC"; then
   20015   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20016 $as_echo "$CC" >&6; }
   20017 else
   20018   { $as_echo "$as_me:$LINENO: result: no" >&5
   20019 $as_echo "no" >&6; }
   20020 fi
   20021 
   20022 
   20023 fi
   20024 if test -z "$ac_cv_prog_CC"; then
   20025   ac_ct_CC=$CC
   20026   # Extract the first word of "gcc", so it can be a program name with args.
   20027 set dummy gcc; ac_word=$2
   20028 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20029 $as_echo_n "checking for $ac_word... " >&6; }
   20030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20031   $as_echo_n "(cached) " >&6
   20032 else
   20033   if test -n "$ac_ct_CC"; then
   20034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20035 else
   20036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20037 for as_dir in $PATH
   20038 do
   20039   IFS=$as_save_IFS
   20040   test -z "$as_dir" && as_dir=.
   20041   for ac_exec_ext in '' $ac_executable_extensions; do
   20042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20043     ac_cv_prog_ac_ct_CC="gcc"
   20044     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20045     break 2
   20046   fi
   20047 done
   20048 done
   20049 IFS=$as_save_IFS
   20050 
   20051 fi
   20052 fi
   20053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20054 if test -n "$ac_ct_CC"; then
   20055   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20056 $as_echo "$ac_ct_CC" >&6; }
   20057 else
   20058   { $as_echo "$as_me:$LINENO: result: no" >&5
   20059 $as_echo "no" >&6; }
   20060 fi
   20061 
   20062   if test "x$ac_ct_CC" = x; then
   20063     CC=""
   20064   else
   20065     case $cross_compiling:$ac_tool_warned in
   20066 yes:)
   20067 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20069 ac_tool_warned=yes ;;
   20070 esac
   20071     CC=$ac_ct_CC
   20072   fi
   20073 else
   20074   CC="$ac_cv_prog_CC"
   20075 fi
   20076 
   20077 if test -z "$CC"; then
   20078           if test -n "$ac_tool_prefix"; then
   20079     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20080 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20082 $as_echo_n "checking for $ac_word... " >&6; }
   20083 if test "${ac_cv_prog_CC+set}" = set; then
   20084   $as_echo_n "(cached) " >&6
   20085 else
   20086   if test -n "$CC"; then
   20087   ac_cv_prog_CC="$CC" # Let the user override the test.
   20088 else
   20089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20090 for as_dir in $PATH
   20091 do
   20092   IFS=$as_save_IFS
   20093   test -z "$as_dir" && as_dir=.
   20094   for ac_exec_ext in '' $ac_executable_extensions; do
   20095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20096     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20097     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20098     break 2
   20099   fi
   20100 done
   20101 done
   20102 IFS=$as_save_IFS
   20103 
   20104 fi
   20105 fi
   20106 CC=$ac_cv_prog_CC
   20107 if test -n "$CC"; then
   20108   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20109 $as_echo "$CC" >&6; }
   20110 else
   20111   { $as_echo "$as_me:$LINENO: result: no" >&5
   20112 $as_echo "no" >&6; }
   20113 fi
   20114 
   20115 
   20116   fi
   20117 fi
   20118 if test -z "$CC"; then
   20119   # Extract the first word of "cc", so it can be a program name with args.
   20120 set dummy cc; ac_word=$2
   20121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20122 $as_echo_n "checking for $ac_word... " >&6; }
   20123 if test "${ac_cv_prog_CC+set}" = set; then
   20124   $as_echo_n "(cached) " >&6
   20125 else
   20126   if test -n "$CC"; then
   20127   ac_cv_prog_CC="$CC" # Let the user override the test.
   20128 else
   20129   ac_prog_rejected=no
   20130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20131 for as_dir in $PATH
   20132 do
   20133   IFS=$as_save_IFS
   20134   test -z "$as_dir" && as_dir=.
   20135   for ac_exec_ext in '' $ac_executable_extensions; do
   20136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20137     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20138        ac_prog_rejected=yes
   20139        continue
   20140      fi
   20141     ac_cv_prog_CC="cc"
   20142     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20143     break 2
   20144   fi
   20145 done
   20146 done
   20147 IFS=$as_save_IFS
   20148 
   20149 if test $ac_prog_rejected = yes; then
   20150   # We found a bogon in the path, so make sure we never use it.
   20151   set dummy $ac_cv_prog_CC
   20152   shift
   20153   if test $# != 0; then
   20154     # We chose a different compiler from the bogus one.
   20155     # However, it has the same basename, so the bogon will be chosen
   20156     # first if we set CC to just the basename; use the full file name.
   20157     shift
   20158     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20159   fi
   20160 fi
   20161 fi
   20162 fi
   20163 CC=$ac_cv_prog_CC
   20164 if test -n "$CC"; then
   20165   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20166 $as_echo "$CC" >&6; }
   20167 else
   20168   { $as_echo "$as_me:$LINENO: result: no" >&5
   20169 $as_echo "no" >&6; }
   20170 fi
   20171 
   20172 
   20173 fi
   20174 if test -z "$CC"; then
   20175   if test -n "$ac_tool_prefix"; then
   20176   for ac_prog in cl.exe
   20177   do
   20178     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20181 $as_echo_n "checking for $ac_word... " >&6; }
   20182 if test "${ac_cv_prog_CC+set}" = set; then
   20183   $as_echo_n "(cached) " >&6
   20184 else
   20185   if test -n "$CC"; then
   20186   ac_cv_prog_CC="$CC" # Let the user override the test.
   20187 else
   20188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20189 for as_dir in $PATH
   20190 do
   20191   IFS=$as_save_IFS
   20192   test -z "$as_dir" && as_dir=.
   20193   for ac_exec_ext in '' $ac_executable_extensions; do
   20194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20195     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20196     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20197     break 2
   20198   fi
   20199 done
   20200 done
   20201 IFS=$as_save_IFS
   20202 
   20203 fi
   20204 fi
   20205 CC=$ac_cv_prog_CC
   20206 if test -n "$CC"; then
   20207   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20208 $as_echo "$CC" >&6; }
   20209 else
   20210   { $as_echo "$as_me:$LINENO: result: no" >&5
   20211 $as_echo "no" >&6; }
   20212 fi
   20213 
   20214 
   20215     test -n "$CC" && break
   20216   done
   20217 fi
   20218 if test -z "$CC"; then
   20219   ac_ct_CC=$CC
   20220   for ac_prog in cl.exe
   20221 do
   20222   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20223 set dummy $ac_prog; ac_word=$2
   20224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20225 $as_echo_n "checking for $ac_word... " >&6; }
   20226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20227   $as_echo_n "(cached) " >&6
   20228 else
   20229   if test -n "$ac_ct_CC"; then
   20230   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20231 else
   20232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20233 for as_dir in $PATH
   20234 do
   20235   IFS=$as_save_IFS
   20236   test -z "$as_dir" && as_dir=.
   20237   for ac_exec_ext in '' $ac_executable_extensions; do
   20238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20239     ac_cv_prog_ac_ct_CC="$ac_prog"
   20240     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20241     break 2
   20242   fi
   20243 done
   20244 done
   20245 IFS=$as_save_IFS
   20246 
   20247 fi
   20248 fi
   20249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20250 if test -n "$ac_ct_CC"; then
   20251   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20252 $as_echo "$ac_ct_CC" >&6; }
   20253 else
   20254   { $as_echo "$as_me:$LINENO: result: no" >&5
   20255 $as_echo "no" >&6; }
   20256 fi
   20257 
   20258 
   20259   test -n "$ac_ct_CC" && break
   20260 done
   20261 
   20262   if test "x$ac_ct_CC" = x; then
   20263     CC=""
   20264   else
   20265     case $cross_compiling:$ac_tool_warned in
   20266 yes:)
   20267 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20269 ac_tool_warned=yes ;;
   20270 esac
   20271     CC=$ac_ct_CC
   20272   fi
   20273 fi
   20274 
   20275 fi
   20276 
   20277 
   20278 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20280 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20281 See \`config.log' for more details." >&5
   20282 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20283 See \`config.log' for more details." >&2;}
   20284    { (exit 1); exit 1; }; }; }
   20285 
   20286 # Provide some information about the compiler.
   20287 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20288 set X $ac_compile
   20289 ac_compiler=$2
   20290 { (ac_try="$ac_compiler --version >&5"
   20291 case "(($ac_try" in
   20292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20293   *) ac_try_echo=$ac_try;;
   20294 esac
   20295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20296 $as_echo "$ac_try_echo") >&5
   20297   (eval "$ac_compiler --version >&5") 2>&5
   20298   ac_status=$?
   20299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20300   (exit $ac_status); }
   20301 { (ac_try="$ac_compiler -v >&5"
   20302 case "(($ac_try" in
   20303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20304   *) ac_try_echo=$ac_try;;
   20305 esac
   20306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20307 $as_echo "$ac_try_echo") >&5
   20308   (eval "$ac_compiler -v >&5") 2>&5
   20309   ac_status=$?
   20310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20311   (exit $ac_status); }
   20312 { (ac_try="$ac_compiler -V >&5"
   20313 case "(($ac_try" in
   20314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20315   *) ac_try_echo=$ac_try;;
   20316 esac
   20317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20318 $as_echo "$ac_try_echo") >&5
   20319   (eval "$ac_compiler -V >&5") 2>&5
   20320   ac_status=$?
   20321   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20322   (exit $ac_status); }
   20323 
   20324 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20325 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20326 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20327   $as_echo_n "(cached) " >&6
   20328 else
   20329   cat >conftest.$ac_ext <<_ACEOF
   20330 /* confdefs.h.  */
   20331 _ACEOF
   20332 cat confdefs.h >>conftest.$ac_ext
   20333 cat >>conftest.$ac_ext <<_ACEOF
   20334 /* end confdefs.h.  */
   20335 
   20336 int
   20337 main ()
   20338 {
   20339 #ifndef __GNUC__
   20340        choke me
   20341 #endif
   20342 
   20343   ;
   20344   return 0;
   20345 }
   20346 _ACEOF
   20347 rm -f conftest.$ac_objext
   20348 if { (ac_try="$ac_compile"
   20349 case "(($ac_try" in
   20350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20351   *) ac_try_echo=$ac_try;;
   20352 esac
   20353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20354 $as_echo "$ac_try_echo") >&5
   20355   (eval "$ac_compile") 2>conftest.er1
   20356   ac_status=$?
   20357   grep -v '^ *+' conftest.er1 >conftest.err
   20358   rm -f conftest.er1
   20359   cat conftest.err >&5
   20360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20361   (exit $ac_status); } && {
   20362 	 test -z "$ac_c_werror_flag" ||
   20363 	 test ! -s conftest.err
   20364        } && test -s conftest.$ac_objext; then
   20365   ac_compiler_gnu=yes
   20366 else
   20367   $as_echo "$as_me: failed program was:" >&5
   20368 sed 's/^/| /' conftest.$ac_ext >&5
   20369 
   20370 	ac_compiler_gnu=no
   20371 fi
   20372 
   20373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20374 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20375 
   20376 fi
   20377 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20378 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20379 if test $ac_compiler_gnu = yes; then
   20380   GCC=yes
   20381 else
   20382   GCC=
   20383 fi
   20384 ac_test_CFLAGS=${CFLAGS+set}
   20385 ac_save_CFLAGS=$CFLAGS
   20386 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20387 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20388 if test "${ac_cv_prog_cc_g+set}" = set; then
   20389   $as_echo_n "(cached) " >&6
   20390 else
   20391   ac_save_c_werror_flag=$ac_c_werror_flag
   20392    ac_c_werror_flag=yes
   20393    ac_cv_prog_cc_g=no
   20394    CFLAGS="-g"
   20395    cat >conftest.$ac_ext <<_ACEOF
   20396 /* confdefs.h.  */
   20397 _ACEOF
   20398 cat confdefs.h >>conftest.$ac_ext
   20399 cat >>conftest.$ac_ext <<_ACEOF
   20400 /* end confdefs.h.  */
   20401 
   20402 int
   20403 main ()
   20404 {
   20405 
   20406   ;
   20407   return 0;
   20408 }
   20409 _ACEOF
   20410 rm -f conftest.$ac_objext
   20411 if { (ac_try="$ac_compile"
   20412 case "(($ac_try" in
   20413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20414   *) ac_try_echo=$ac_try;;
   20415 esac
   20416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20417 $as_echo "$ac_try_echo") >&5
   20418   (eval "$ac_compile") 2>conftest.er1
   20419   ac_status=$?
   20420   grep -v '^ *+' conftest.er1 >conftest.err
   20421   rm -f conftest.er1
   20422   cat conftest.err >&5
   20423   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20424   (exit $ac_status); } && {
   20425 	 test -z "$ac_c_werror_flag" ||
   20426 	 test ! -s conftest.err
   20427        } && test -s conftest.$ac_objext; then
   20428   ac_cv_prog_cc_g=yes
   20429 else
   20430   $as_echo "$as_me: failed program was:" >&5
   20431 sed 's/^/| /' conftest.$ac_ext >&5
   20432 
   20433 	CFLAGS=""
   20434       cat >conftest.$ac_ext <<_ACEOF
   20435 /* confdefs.h.  */
   20436 _ACEOF
   20437 cat confdefs.h >>conftest.$ac_ext
   20438 cat >>conftest.$ac_ext <<_ACEOF
   20439 /* end confdefs.h.  */
   20440 
   20441 int
   20442 main ()
   20443 {
   20444 
   20445   ;
   20446   return 0;
   20447 }
   20448 _ACEOF
   20449 rm -f conftest.$ac_objext
   20450 if { (ac_try="$ac_compile"
   20451 case "(($ac_try" in
   20452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20453   *) ac_try_echo=$ac_try;;
   20454 esac
   20455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20456 $as_echo "$ac_try_echo") >&5
   20457   (eval "$ac_compile") 2>conftest.er1
   20458   ac_status=$?
   20459   grep -v '^ *+' conftest.er1 >conftest.err
   20460   rm -f conftest.er1
   20461   cat conftest.err >&5
   20462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20463   (exit $ac_status); } && {
   20464 	 test -z "$ac_c_werror_flag" ||
   20465 	 test ! -s conftest.err
   20466        } && test -s conftest.$ac_objext; then
   20467   :
   20468 else
   20469   $as_echo "$as_me: failed program was:" >&5
   20470 sed 's/^/| /' conftest.$ac_ext >&5
   20471 
   20472 	ac_c_werror_flag=$ac_save_c_werror_flag
   20473 	 CFLAGS="-g"
   20474 	 cat >conftest.$ac_ext <<_ACEOF
   20475 /* confdefs.h.  */
   20476 _ACEOF
   20477 cat confdefs.h >>conftest.$ac_ext
   20478 cat >>conftest.$ac_ext <<_ACEOF
   20479 /* end confdefs.h.  */
   20480 
   20481 int
   20482 main ()
   20483 {
   20484 
   20485   ;
   20486   return 0;
   20487 }
   20488 _ACEOF
   20489 rm -f conftest.$ac_objext
   20490 if { (ac_try="$ac_compile"
   20491 case "(($ac_try" in
   20492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20493   *) ac_try_echo=$ac_try;;
   20494 esac
   20495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20496 $as_echo "$ac_try_echo") >&5
   20497   (eval "$ac_compile") 2>conftest.er1
   20498   ac_status=$?
   20499   grep -v '^ *+' conftest.er1 >conftest.err
   20500   rm -f conftest.er1
   20501   cat conftest.err >&5
   20502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20503   (exit $ac_status); } && {
   20504 	 test -z "$ac_c_werror_flag" ||
   20505 	 test ! -s conftest.err
   20506        } && test -s conftest.$ac_objext; then
   20507   ac_cv_prog_cc_g=yes
   20508 else
   20509   $as_echo "$as_me: failed program was:" >&5
   20510 sed 's/^/| /' conftest.$ac_ext >&5
   20511 
   20512 
   20513 fi
   20514 
   20515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20516 fi
   20517 
   20518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20519 fi
   20520 
   20521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20522    ac_c_werror_flag=$ac_save_c_werror_flag
   20523 fi
   20524 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20525 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20526 if test "$ac_test_CFLAGS" = set; then
   20527   CFLAGS=$ac_save_CFLAGS
   20528 elif test $ac_cv_prog_cc_g = yes; then
   20529   if test "$GCC" = yes; then
   20530     CFLAGS="-g -O2"
   20531   else
   20532     CFLAGS="-g"
   20533   fi
   20534 else
   20535   if test "$GCC" = yes; then
   20536     CFLAGS="-O2"
   20537   else
   20538     CFLAGS=
   20539   fi
   20540 fi
   20541 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20542 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20543 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20544   $as_echo_n "(cached) " >&6
   20545 else
   20546   ac_cv_prog_cc_c89=no
   20547 ac_save_CC=$CC
   20548 cat >conftest.$ac_ext <<_ACEOF
   20549 /* confdefs.h.  */
   20550 _ACEOF
   20551 cat confdefs.h >>conftest.$ac_ext
   20552 cat >>conftest.$ac_ext <<_ACEOF
   20553 /* end confdefs.h.  */
   20554 #include <stdarg.h>
   20555 #include <stdio.h>
   20556 #include <sys/types.h>
   20557 #include <sys/stat.h>
   20558 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20559 struct buf { int x; };
   20560 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20561 static char *e (p, i)
   20562      char **p;
   20563      int i;
   20564 {
   20565   return p[i];
   20566 }
   20567 static char *f (char * (*g) (char **, int), char **p, ...)
   20568 {
   20569   char *s;
   20570   va_list v;
   20571   va_start (v,p);
   20572   s = g (p, va_arg (v,int));
   20573   va_end (v);
   20574   return s;
   20575 }
   20576 
   20577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20578    function prototypes and stuff, but not '\xHH' hex character constants.
   20579    These don't provoke an error unfortunately, instead are silently treated
   20580    as 'x'.  The following induces an error, until -std is added to get
   20581    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20582    array size at least.  It's necessary to write '\x00'==0 to get something
   20583    that's true only with -std.  */
   20584 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20585 
   20586 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20587    inside strings and character constants.  */
   20588 #define FOO(x) 'x'
   20589 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20590 
   20591 int test (int i, double x);
   20592 struct s1 {int (*f) (int a);};
   20593 struct s2 {int (*f) (double a);};
   20594 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20595 int argc;
   20596 char **argv;
   20597 int
   20598 main ()
   20599 {
   20600 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20601   ;
   20602   return 0;
   20603 }
   20604 _ACEOF
   20605 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20606 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20607 do
   20608   CC="$ac_save_CC $ac_arg"
   20609   rm -f conftest.$ac_objext
   20610 if { (ac_try="$ac_compile"
   20611 case "(($ac_try" in
   20612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20613   *) ac_try_echo=$ac_try;;
   20614 esac
   20615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20616 $as_echo "$ac_try_echo") >&5
   20617   (eval "$ac_compile") 2>conftest.er1
   20618   ac_status=$?
   20619   grep -v '^ *+' conftest.er1 >conftest.err
   20620   rm -f conftest.er1
   20621   cat conftest.err >&5
   20622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20623   (exit $ac_status); } && {
   20624 	 test -z "$ac_c_werror_flag" ||
   20625 	 test ! -s conftest.err
   20626        } && test -s conftest.$ac_objext; then
   20627   ac_cv_prog_cc_c89=$ac_arg
   20628 else
   20629   $as_echo "$as_me: failed program was:" >&5
   20630 sed 's/^/| /' conftest.$ac_ext >&5
   20631 
   20632 
   20633 fi
   20634 
   20635 rm -f core conftest.err conftest.$ac_objext
   20636   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20637 done
   20638 rm -f conftest.$ac_ext
   20639 CC=$ac_save_CC
   20640 
   20641 fi
   20642 # AC_CACHE_VAL
   20643 case "x$ac_cv_prog_cc_c89" in
   20644   x)
   20645     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20646 $as_echo "none needed" >&6; } ;;
   20647   xno)
   20648     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20649 $as_echo "unsupported" >&6; } ;;
   20650   *)
   20651     CC="$CC $ac_cv_prog_cc_c89"
   20652     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20653 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20654 esac
   20655 
   20656 
   20657 ac_ext=c
   20658 ac_cpp='$CPP $CPPFLAGS'
   20659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20662 
   20663 depcc="$CC"   am_compiler_list=
   20664 
   20665 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20666 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20667 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20668   $as_echo_n "(cached) " >&6
   20669 else
   20670   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20671   # We make a subdir and do the tests there.  Otherwise we can end up
   20672   # making bogus files that we don't know about and never remove.  For
   20673   # instance it was reported that on HP-UX the gcc test will end up
   20674   # making a dummy file named `D' -- because `-MD' means `put the output
   20675   # in D'.
   20676   mkdir conftest.dir
   20677   # Copy depcomp to subdir because otherwise we won't find it if we're
   20678   # using a relative directory.
   20679   cp "$am_depcomp" conftest.dir
   20680   cd conftest.dir
   20681   # We will build objects and dependencies in a subdirectory because
   20682   # it helps to detect inapplicable dependency modes.  For instance
   20683   # both Tru64's cc and ICC support -MD to output dependencies as a
   20684   # side effect of compilation, but ICC will put the dependencies in
   20685   # the current directory while Tru64 will put them in the object
   20686   # directory.
   20687   mkdir sub
   20688 
   20689   am_cv_CC_dependencies_compiler_type=none
   20690   if test "$am_compiler_list" = ""; then
   20691      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20692   fi
   20693   for depmode in $am_compiler_list; do
   20694     # Setup a source with many dependencies, because some compilers
   20695     # like to wrap large dependency lists on column 80 (with \), and
   20696     # we should not choose a depcomp mode which is confused by this.
   20697     #
   20698     # We need to recreate these files for each test, as the compiler may
   20699     # overwrite some of them when testing with obscure command lines.
   20700     # This happens at least with the AIX C compiler.
   20701     : > sub/conftest.c
   20702     for i in 1 2 3 4 5 6; do
   20703       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20704       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20705       # Solaris 8's {/usr,}/bin/sh.
   20706       touch sub/conftst$i.h
   20707     done
   20708     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20709 
   20710     case $depmode in
   20711     nosideeffect)
   20712       # after this tag, mechanisms are not by side-effect, so they'll
   20713       # only be used when explicitly requested
   20714       if test "x$enable_dependency_tracking" = xyes; then
   20715 	continue
   20716       else
   20717 	break
   20718       fi
   20719       ;;
   20720     none) break ;;
   20721     esac
   20722     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20723     # mode.  It turns out that the SunPro C++ compiler does not properly
   20724     # handle `-M -o', and we need to detect this.
   20725     if depmode=$depmode \
   20726        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20727        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20728        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20729          >/dev/null 2>conftest.err &&
   20730        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20731        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20732        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20733        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20734       # icc doesn't choke on unknown options, it will just issue warnings
   20735       # or remarks (even with -Werror).  So we grep stderr for any message
   20736       # that says an option was ignored or not supported.
   20737       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20738       #   icc: Command line warning: ignoring option '-M'; no argument required
   20739       # The diagnosis changed in icc 8.0:
   20740       #   icc: Command line remark: option '-MP' not supported
   20741       if (grep 'ignoring option' conftest.err ||
   20742           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20743         am_cv_CC_dependencies_compiler_type=$depmode
   20744         break
   20745       fi
   20746     fi
   20747   done
   20748 
   20749   cd ..
   20750   rm -rf conftest.dir
   20751 else
   20752   am_cv_CC_dependencies_compiler_type=none
   20753 fi
   20754 
   20755 fi
   20756 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20757 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20758 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20759 
   20760  if
   20761   test "x$enable_dependency_tracking" != xno \
   20762   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20763   am__fastdepCC_TRUE=
   20764   am__fastdepCC_FALSE='#'
   20765 else
   20766   am__fastdepCC_TRUE='#'
   20767   am__fastdepCC_FALSE=
   20768 fi
   20769 
   20770 
   20771 
   20772 
   20773 
   20774 
   20775 
   20776 # Check whether --with-xorg-module-dir was given.
   20777 if test "${with_xorg_module_dir+set}" = set; then
   20778   withval=$with_xorg_module_dir; moduledir="$withval"
   20779 else
   20780   moduledir="$libdir/xorg/modules"
   20781 fi
   20782 
   20783 
   20784 # Checks for extensions
   20785 
   20786 	SAVE_CFLAGS="$CFLAGS"
   20787 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20788 	cat >conftest.$ac_ext <<_ACEOF
   20789 /* confdefs.h.  */
   20790 _ACEOF
   20791 cat confdefs.h >>conftest.$ac_ext
   20792 cat >>conftest.$ac_ext <<_ACEOF
   20793 /* end confdefs.h.  */
   20794 
   20795 #include "xorg-server.h"
   20796 #if !defined RANDR
   20797 #error RANDR not defined
   20798 #endif
   20799 
   20800 int
   20801 main ()
   20802 {
   20803 
   20804   ;
   20805   return 0;
   20806 }
   20807 _ACEOF
   20808 rm -f conftest.$ac_objext
   20809 if { (ac_try="$ac_compile"
   20810 case "(($ac_try" in
   20811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20812   *) ac_try_echo=$ac_try;;
   20813 esac
   20814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20815 $as_echo "$ac_try_echo") >&5
   20816   (eval "$ac_compile") 2>conftest.er1
   20817   ac_status=$?
   20818   grep -v '^ *+' conftest.er1 >conftest.err
   20819   rm -f conftest.er1
   20820   cat conftest.err >&5
   20821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20822   (exit $ac_status); } && {
   20823 	 test -z "$ac_c_werror_flag" ||
   20824 	 test ! -s conftest.err
   20825        } && test -s conftest.$ac_objext; then
   20826   _EXT_CHECK=yes
   20827 else
   20828   $as_echo "$as_me: failed program was:" >&5
   20829 sed 's/^/| /' conftest.$ac_ext >&5
   20830 
   20831 	_EXT_CHECK=no
   20832 fi
   20833 
   20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20835 	CFLAGS="$SAVE_CFLAGS"
   20836 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20837 $as_echo_n "checking if RANDR is defined... " >&6; }
   20838 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20839 $as_echo "$_EXT_CHECK" >&6; }
   20840 	if test "$_EXT_CHECK" != no; then
   20841 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20842 	fi
   20843 
   20844 
   20845 	SAVE_CFLAGS="$CFLAGS"
   20846 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20847 	cat >conftest.$ac_ext <<_ACEOF
   20848 /* confdefs.h.  */
   20849 _ACEOF
   20850 cat confdefs.h >>conftest.$ac_ext
   20851 cat >>conftest.$ac_ext <<_ACEOF
   20852 /* end confdefs.h.  */
   20853 
   20854 #include "xorg-server.h"
   20855 #if !defined RENDER
   20856 #error RENDER not defined
   20857 #endif
   20858 
   20859 int
   20860 main ()
   20861 {
   20862 
   20863   ;
   20864   return 0;
   20865 }
   20866 _ACEOF
   20867 rm -f conftest.$ac_objext
   20868 if { (ac_try="$ac_compile"
   20869 case "(($ac_try" in
   20870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20871   *) ac_try_echo=$ac_try;;
   20872 esac
   20873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20874 $as_echo "$ac_try_echo") >&5
   20875   (eval "$ac_compile") 2>conftest.er1
   20876   ac_status=$?
   20877   grep -v '^ *+' conftest.er1 >conftest.err
   20878   rm -f conftest.er1
   20879   cat conftest.err >&5
   20880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20881   (exit $ac_status); } && {
   20882 	 test -z "$ac_c_werror_flag" ||
   20883 	 test ! -s conftest.err
   20884        } && test -s conftest.$ac_objext; then
   20885   _EXT_CHECK=yes
   20886 else
   20887   $as_echo "$as_me: failed program was:" >&5
   20888 sed 's/^/| /' conftest.$ac_ext >&5
   20889 
   20890 	_EXT_CHECK=no
   20891 fi
   20892 
   20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20894 	CFLAGS="$SAVE_CFLAGS"
   20895 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20896 $as_echo_n "checking if RENDER is defined... " >&6; }
   20897 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20898 $as_echo "$_EXT_CHECK" >&6; }
   20899 	if test "$_EXT_CHECK" != no; then
   20900 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20901 	fi
   20902 
   20903 
   20904 	SAVE_CFLAGS="$CFLAGS"
   20905 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20906 	cat >conftest.$ac_ext <<_ACEOF
   20907 /* confdefs.h.  */
   20908 _ACEOF
   20909 cat confdefs.h >>conftest.$ac_ext
   20910 cat >>conftest.$ac_ext <<_ACEOF
   20911 /* end confdefs.h.  */
   20912 
   20913 #include "xorg-server.h"
   20914 #if !defined XV
   20915 #error XV not defined
   20916 #endif
   20917 
   20918 int
   20919 main ()
   20920 {
   20921 
   20922   ;
   20923   return 0;
   20924 }
   20925 _ACEOF
   20926 rm -f conftest.$ac_objext
   20927 if { (ac_try="$ac_compile"
   20928 case "(($ac_try" in
   20929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20930   *) ac_try_echo=$ac_try;;
   20931 esac
   20932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20933 $as_echo "$ac_try_echo") >&5
   20934   (eval "$ac_compile") 2>conftest.er1
   20935   ac_status=$?
   20936   grep -v '^ *+' conftest.er1 >conftest.err
   20937   rm -f conftest.er1
   20938   cat conftest.err >&5
   20939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20940   (exit $ac_status); } && {
   20941 	 test -z "$ac_c_werror_flag" ||
   20942 	 test ! -s conftest.err
   20943        } && test -s conftest.$ac_objext; then
   20944   _EXT_CHECK=yes
   20945 else
   20946   $as_echo "$as_me: failed program was:" >&5
   20947 sed 's/^/| /' conftest.$ac_ext >&5
   20948 
   20949 	_EXT_CHECK=no
   20950 fi
   20951 
   20952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20953 	CFLAGS="$SAVE_CFLAGS"
   20954 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   20955 $as_echo_n "checking if XV is defined... " >&6; }
   20956 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20957 $as_echo "$_EXT_CHECK" >&6; }
   20958 	if test "$_EXT_CHECK" != no; then
   20959 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20960 	fi
   20961 
   20962 
   20963 	SAVE_CFLAGS="$CFLAGS"
   20964 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20965 	cat >conftest.$ac_ext <<_ACEOF
   20966 /* confdefs.h.  */
   20967 _ACEOF
   20968 cat confdefs.h >>conftest.$ac_ext
   20969 cat >>conftest.$ac_ext <<_ACEOF
   20970 /* end confdefs.h.  */
   20971 
   20972 #include "xorg-server.h"
   20973 #if !defined DPMSExtension
   20974 #error DPMSExtension not defined
   20975 #endif
   20976 
   20977 int
   20978 main ()
   20979 {
   20980 
   20981   ;
   20982   return 0;
   20983 }
   20984 _ACEOF
   20985 rm -f conftest.$ac_objext
   20986 if { (ac_try="$ac_compile"
   20987 case "(($ac_try" in
   20988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20989   *) ac_try_echo=$ac_try;;
   20990 esac
   20991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20992 $as_echo "$ac_try_echo") >&5
   20993   (eval "$ac_compile") 2>conftest.er1
   20994   ac_status=$?
   20995   grep -v '^ *+' conftest.er1 >conftest.err
   20996   rm -f conftest.er1
   20997   cat conftest.err >&5
   20998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20999   (exit $ac_status); } && {
   21000 	 test -z "$ac_c_werror_flag" ||
   21001 	 test ! -s conftest.err
   21002        } && test -s conftest.$ac_objext; then
   21003   _EXT_CHECK=yes
   21004 else
   21005   $as_echo "$as_me: failed program was:" >&5
   21006 sed 's/^/| /' conftest.$ac_ext >&5
   21007 
   21008 	_EXT_CHECK=no
   21009 fi
   21010 
   21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21012 	CFLAGS="$SAVE_CFLAGS"
   21013 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21014 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21015 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21016 $as_echo "$_EXT_CHECK" >&6; }
   21017 	if test "$_EXT_CHECK" != no; then
   21018 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21019 	fi
   21020 
   21021 
   21022 # Checks for pkg-config packages
   21023 
   21024 
   21025 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21026 	if test -n "$ac_tool_prefix"; then
   21027   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21028 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21029 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21030 $as_echo_n "checking for $ac_word... " >&6; }
   21031 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21032   $as_echo_n "(cached) " >&6
   21033 else
   21034   case $PKG_CONFIG in
   21035   [\\/]* | ?:[\\/]*)
   21036   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21037   ;;
   21038   *)
   21039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21040 for as_dir in $PATH
   21041 do
   21042   IFS=$as_save_IFS
   21043   test -z "$as_dir" && as_dir=.
   21044   for ac_exec_ext in '' $ac_executable_extensions; do
   21045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21046     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21047     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21048     break 2
   21049   fi
   21050 done
   21051 done
   21052 IFS=$as_save_IFS
   21053 
   21054   ;;
   21055 esac
   21056 fi
   21057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21058 if test -n "$PKG_CONFIG"; then
   21059   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21060 $as_echo "$PKG_CONFIG" >&6; }
   21061 else
   21062   { $as_echo "$as_me:$LINENO: result: no" >&5
   21063 $as_echo "no" >&6; }
   21064 fi
   21065 
   21066 
   21067 fi
   21068 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21069   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21070   # Extract the first word of "pkg-config", so it can be a program name with args.
   21071 set dummy pkg-config; ac_word=$2
   21072 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21073 $as_echo_n "checking for $ac_word... " >&6; }
   21074 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21075   $as_echo_n "(cached) " >&6
   21076 else
   21077   case $ac_pt_PKG_CONFIG in
   21078   [\\/]* | ?:[\\/]*)
   21079   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21080   ;;
   21081   *)
   21082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21083 for as_dir in $PATH
   21084 do
   21085   IFS=$as_save_IFS
   21086   test -z "$as_dir" && as_dir=.
   21087   for ac_exec_ext in '' $ac_executable_extensions; do
   21088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21089     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21090     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21091     break 2
   21092   fi
   21093 done
   21094 done
   21095 IFS=$as_save_IFS
   21096 
   21097   ;;
   21098 esac
   21099 fi
   21100 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21101 if test -n "$ac_pt_PKG_CONFIG"; then
   21102   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21103 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21104 else
   21105   { $as_echo "$as_me:$LINENO: result: no" >&5
   21106 $as_echo "no" >&6; }
   21107 fi
   21108 
   21109   if test "x$ac_pt_PKG_CONFIG" = x; then
   21110     PKG_CONFIG=""
   21111   else
   21112     case $cross_compiling:$ac_tool_warned in
   21113 yes:)
   21114 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21116 ac_tool_warned=yes ;;
   21117 esac
   21118     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21119   fi
   21120 else
   21121   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21122 fi
   21123 
   21124 fi
   21125 if test -n "$PKG_CONFIG"; then
   21126 	_pkg_min_version=0.9.0
   21127 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21128 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21129 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21130 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21131 $as_echo "yes" >&6; }
   21132 	else
   21133 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21134 $as_echo "no" >&6; }
   21135 		PKG_CONFIG=""
   21136 	fi
   21137 
   21138 fi
   21139 
   21140 pkg_failed=no
   21141 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21142 $as_echo_n "checking for XORG... " >&6; }
   21143 
   21144 if test -n "$XORG_CFLAGS"; then
   21145     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21146  elif test -n "$PKG_CONFIG"; then
   21147     if test -n "$PKG_CONFIG" && \
   21148     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21149   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21150   ac_status=$?
   21151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21152   (exit $ac_status); }; then
   21153   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21154 else
   21155   pkg_failed=yes
   21156 fi
   21157  else
   21158     pkg_failed=untried
   21159 fi
   21160 if test -n "$XORG_LIBS"; then
   21161     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21162  elif test -n "$PKG_CONFIG"; then
   21163     if test -n "$PKG_CONFIG" && \
   21164     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21165   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21166   ac_status=$?
   21167   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21168   (exit $ac_status); }; then
   21169   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21170 else
   21171   pkg_failed=yes
   21172 fi
   21173  else
   21174     pkg_failed=untried
   21175 fi
   21176 
   21177 
   21178 
   21179 if test $pkg_failed = yes; then
   21180 
   21181 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21182         _pkg_short_errors_supported=yes
   21183 else
   21184         _pkg_short_errors_supported=no
   21185 fi
   21186         if test $_pkg_short_errors_supported = yes; then
   21187 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21188         else
   21189 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21190         fi
   21191 	# Put the nasty error message in config.log where it belongs
   21192 	echo "$XORG_PKG_ERRORS" >&5
   21193 
   21194 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21195 
   21196 $XORG_PKG_ERRORS
   21197 
   21198 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21199 installed software in a non-standard prefix.
   21200 
   21201 Alternatively, you may set the environment variables XORG_CFLAGS
   21202 and XORG_LIBS to avoid the need to call pkg-config.
   21203 See the pkg-config man page for more details.
   21204 " >&5
   21205 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21206 
   21207 $XORG_PKG_ERRORS
   21208 
   21209 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21210 installed software in a non-standard prefix.
   21211 
   21212 Alternatively, you may set the environment variables XORG_CFLAGS
   21213 and XORG_LIBS to avoid the need to call pkg-config.
   21214 See the pkg-config man page for more details.
   21215 " >&2;}
   21216    { (exit 1); exit 1; }; }
   21217 elif test $pkg_failed = untried; then
   21218 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21220 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21221 is in your PATH or set the PKG_CONFIG environment variable to the full
   21222 path to pkg-config.
   21223 
   21224 Alternatively, you may set the environment variables XORG_CFLAGS
   21225 and XORG_LIBS to avoid the need to call pkg-config.
   21226 See the pkg-config man page for more details.
   21227 
   21228 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21229 See \`config.log' for more details." >&5
   21230 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21231 is in your PATH or set the PKG_CONFIG environment variable to the full
   21232 path to pkg-config.
   21233 
   21234 Alternatively, you may set the environment variables XORG_CFLAGS
   21235 and XORG_LIBS to avoid the need to call pkg-config.
   21236 See the pkg-config man page for more details.
   21237 
   21238 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21239 See \`config.log' for more details." >&2;}
   21240    { (exit 1); exit 1; }; }; }
   21241 else
   21242 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21243 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21244         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21245 $as_echo "yes" >&6; }
   21246 	:
   21247 fi
   21248 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21249 
   21250 # Checks for libraries.
   21251 SAVE_CPPFLAGS="$CPPFLAGS"
   21252 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21253 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21254 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21255 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21256   $as_echo_n "(cached) " >&6
   21257 else
   21258   cat >conftest.$ac_ext <<_ACEOF
   21259 /* confdefs.h.  */
   21260 _ACEOF
   21261 cat confdefs.h >>conftest.$ac_ext
   21262 cat >>conftest.$ac_ext <<_ACEOF
   21263 /* end confdefs.h.  */
   21264 #include "xorg-server.h"
   21265 
   21266 int
   21267 main ()
   21268 {
   21269 #ifndef XSERVER_LIBPCIACCESS
   21270   (void) XSERVER_LIBPCIACCESS;
   21271 #endif
   21272 
   21273   ;
   21274   return 0;
   21275 }
   21276 _ACEOF
   21277 rm -f conftest.$ac_objext
   21278 if { (ac_try="$ac_compile"
   21279 case "(($ac_try" in
   21280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21281   *) ac_try_echo=$ac_try;;
   21282 esac
   21283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21284 $as_echo "$ac_try_echo") >&5
   21285   (eval "$ac_compile") 2>conftest.er1
   21286   ac_status=$?
   21287   grep -v '^ *+' conftest.er1 >conftest.err
   21288   rm -f conftest.er1
   21289   cat conftest.err >&5
   21290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21291   (exit $ac_status); } && {
   21292 	 test -z "$ac_c_werror_flag" ||
   21293 	 test ! -s conftest.err
   21294        } && test -s conftest.$ac_objext; then
   21295   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21296 else
   21297   $as_echo "$as_me: failed program was:" >&5
   21298 sed 's/^/| /' conftest.$ac_ext >&5
   21299 
   21300 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21301 fi
   21302 
   21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21304 fi
   21305 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21306 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21307 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21308   XSERVER_LIBPCIACCESS=yes
   21309 else
   21310   XSERVER_LIBPCIACCESS=no
   21311 fi
   21312 
   21313 CPPFLAGS="$SAVE_CPPFLAGS"
   21314 
   21315 # Checks for header files.
   21316 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21317 $as_echo_n "checking for ANSI C header files... " >&6; }
   21318 if test "${ac_cv_header_stdc+set}" = set; then
   21319   $as_echo_n "(cached) " >&6
   21320 else
   21321   cat >conftest.$ac_ext <<_ACEOF
   21322 /* confdefs.h.  */
   21323 _ACEOF
   21324 cat confdefs.h >>conftest.$ac_ext
   21325 cat >>conftest.$ac_ext <<_ACEOF
   21326 /* end confdefs.h.  */
   21327 #include <stdlib.h>
   21328 #include <stdarg.h>
   21329 #include <string.h>
   21330 #include <float.h>
   21331 
   21332 int
   21333 main ()
   21334 {
   21335 
   21336   ;
   21337   return 0;
   21338 }
   21339 _ACEOF
   21340 rm -f conftest.$ac_objext
   21341 if { (ac_try="$ac_compile"
   21342 case "(($ac_try" in
   21343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21344   *) ac_try_echo=$ac_try;;
   21345 esac
   21346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21347 $as_echo "$ac_try_echo") >&5
   21348   (eval "$ac_compile") 2>conftest.er1
   21349   ac_status=$?
   21350   grep -v '^ *+' conftest.er1 >conftest.err
   21351   rm -f conftest.er1
   21352   cat conftest.err >&5
   21353   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21354   (exit $ac_status); } && {
   21355 	 test -z "$ac_c_werror_flag" ||
   21356 	 test ! -s conftest.err
   21357        } && test -s conftest.$ac_objext; then
   21358   ac_cv_header_stdc=yes
   21359 else
   21360   $as_echo "$as_me: failed program was:" >&5
   21361 sed 's/^/| /' conftest.$ac_ext >&5
   21362 
   21363 	ac_cv_header_stdc=no
   21364 fi
   21365 
   21366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21367 
   21368 if test $ac_cv_header_stdc = yes; then
   21369   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21370   cat >conftest.$ac_ext <<_ACEOF
   21371 /* confdefs.h.  */
   21372 _ACEOF
   21373 cat confdefs.h >>conftest.$ac_ext
   21374 cat >>conftest.$ac_ext <<_ACEOF
   21375 /* end confdefs.h.  */
   21376 #include <string.h>
   21377 
   21378 _ACEOF
   21379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21380   $EGREP "memchr" >/dev/null 2>&1; then
   21381   :
   21382 else
   21383   ac_cv_header_stdc=no
   21384 fi
   21385 rm -f conftest*
   21386 
   21387 fi
   21388 
   21389 if test $ac_cv_header_stdc = yes; then
   21390   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21391   cat >conftest.$ac_ext <<_ACEOF
   21392 /* confdefs.h.  */
   21393 _ACEOF
   21394 cat confdefs.h >>conftest.$ac_ext
   21395 cat >>conftest.$ac_ext <<_ACEOF
   21396 /* end confdefs.h.  */
   21397 #include <stdlib.h>
   21398 
   21399 _ACEOF
   21400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21401   $EGREP "free" >/dev/null 2>&1; then
   21402   :
   21403 else
   21404   ac_cv_header_stdc=no
   21405 fi
   21406 rm -f conftest*
   21407 
   21408 fi
   21409 
   21410 if test $ac_cv_header_stdc = yes; then
   21411   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21412   if test "$cross_compiling" = yes; then
   21413   :
   21414 else
   21415   cat >conftest.$ac_ext <<_ACEOF
   21416 /* confdefs.h.  */
   21417 _ACEOF
   21418 cat confdefs.h >>conftest.$ac_ext
   21419 cat >>conftest.$ac_ext <<_ACEOF
   21420 /* end confdefs.h.  */
   21421 #include <ctype.h>
   21422 #include <stdlib.h>
   21423 #if ((' ' & 0x0FF) == 0x020)
   21424 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21425 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21426 #else
   21427 # define ISLOWER(c) \
   21428 		   (('a' <= (c) && (c) <= 'i') \
   21429 		     || ('j' <= (c) && (c) <= 'r') \
   21430 		     || ('s' <= (c) && (c) <= 'z'))
   21431 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21432 #endif
   21433 
   21434 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21435 int
   21436 main ()
   21437 {
   21438   int i;
   21439   for (i = 0; i < 256; i++)
   21440     if (XOR (islower (i), ISLOWER (i))
   21441 	|| toupper (i) != TOUPPER (i))
   21442       return 2;
   21443   return 0;
   21444 }
   21445 _ACEOF
   21446 rm -f conftest$ac_exeext
   21447 if { (ac_try="$ac_link"
   21448 case "(($ac_try" in
   21449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21450   *) ac_try_echo=$ac_try;;
   21451 esac
   21452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21453 $as_echo "$ac_try_echo") >&5
   21454   (eval "$ac_link") 2>&5
   21455   ac_status=$?
   21456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21457   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21458   { (case "(($ac_try" in
   21459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21460   *) ac_try_echo=$ac_try;;
   21461 esac
   21462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21463 $as_echo "$ac_try_echo") >&5
   21464   (eval "$ac_try") 2>&5
   21465   ac_status=$?
   21466   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21467   (exit $ac_status); }; }; then
   21468   :
   21469 else
   21470   $as_echo "$as_me: program exited with status $ac_status" >&5
   21471 $as_echo "$as_me: failed program was:" >&5
   21472 sed 's/^/| /' conftest.$ac_ext >&5
   21473 
   21474 ( exit $ac_status )
   21475 ac_cv_header_stdc=no
   21476 fi
   21477 rm -rf conftest.dSYM
   21478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21479 fi
   21480 
   21481 
   21482 fi
   21483 fi
   21484 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21485 $as_echo "$ac_cv_header_stdc" >&6; }
   21486 if test $ac_cv_header_stdc = yes; then
   21487 
   21488 cat >>confdefs.h <<\_ACEOF
   21489 #define STDC_HEADERS 1
   21490 _ACEOF
   21491 
   21492 fi
   21493 
   21494 
   21495 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21496 
   21497 pkg_failed=no
   21498 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21499 $as_echo_n "checking for PCIACCESS... " >&6; }
   21500 
   21501 if test -n "$PCIACCESS_CFLAGS"; then
   21502     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21503  elif test -n "$PKG_CONFIG"; then
   21504     if test -n "$PKG_CONFIG" && \
   21505     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21506   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21507   ac_status=$?
   21508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21509   (exit $ac_status); }; then
   21510   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21511 else
   21512   pkg_failed=yes
   21513 fi
   21514  else
   21515     pkg_failed=untried
   21516 fi
   21517 if test -n "$PCIACCESS_LIBS"; then
   21518     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21519  elif test -n "$PKG_CONFIG"; then
   21520     if test -n "$PKG_CONFIG" && \
   21521     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21522   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21523   ac_status=$?
   21524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21525   (exit $ac_status); }; then
   21526   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21527 else
   21528   pkg_failed=yes
   21529 fi
   21530  else
   21531     pkg_failed=untried
   21532 fi
   21533 
   21534 
   21535 
   21536 if test $pkg_failed = yes; then
   21537 
   21538 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21539         _pkg_short_errors_supported=yes
   21540 else
   21541         _pkg_short_errors_supported=no
   21542 fi
   21543         if test $_pkg_short_errors_supported = yes; then
   21544 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21545         else
   21546 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21547         fi
   21548 	# Put the nasty error message in config.log where it belongs
   21549 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21550 
   21551 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21552 
   21553 $PCIACCESS_PKG_ERRORS
   21554 
   21555 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21556 installed software in a non-standard prefix.
   21557 
   21558 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21559 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21560 See the pkg-config man page for more details.
   21561 " >&5
   21562 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21563 
   21564 $PCIACCESS_PKG_ERRORS
   21565 
   21566 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21567 installed software in a non-standard prefix.
   21568 
   21569 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21570 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21571 See the pkg-config man page for more details.
   21572 " >&2;}
   21573    { (exit 1); exit 1; }; }
   21574 elif test $pkg_failed = untried; then
   21575 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21577 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21578 is in your PATH or set the PKG_CONFIG environment variable to the full
   21579 path to pkg-config.
   21580 
   21581 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21582 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21583 See the pkg-config man page for more details.
   21584 
   21585 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21586 See \`config.log' for more details." >&5
   21587 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21588 is in your PATH or set the PKG_CONFIG environment variable to the full
   21589 path to pkg-config.
   21590 
   21591 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21592 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21593 See the pkg-config man page for more details.
   21594 
   21595 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21596 See \`config.log' for more details." >&2;}
   21597    { (exit 1); exit 1; }; }; }
   21598 else
   21599 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21600 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21601         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21602 $as_echo "yes" >&6; }
   21603 	:
   21604 fi
   21605     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21606 fi
   21607  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21608   XSERVER_LIBPCIACCESS_TRUE=
   21609   XSERVER_LIBPCIACCESS_FALSE='#'
   21610 else
   21611   XSERVER_LIBPCIACCESS_TRUE='#'
   21612   XSERVER_LIBPCIACCESS_FALSE=
   21613 fi
   21614 
   21615 
   21616 
   21617 
   21618 
   21619 
   21620 DRIVER_NAME=s3virge
   21621 
   21622 
   21623 
   21624 
   21625 
   21626 if test x$APP_MAN_SUFFIX = x    ; then
   21627     APP_MAN_SUFFIX=1
   21628 fi
   21629 if test x$APP_MAN_DIR = x    ; then
   21630     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21631 fi
   21632 
   21633 if test x$LIB_MAN_SUFFIX = x    ; then
   21634     LIB_MAN_SUFFIX=3
   21635 fi
   21636 if test x$LIB_MAN_DIR = x    ; then
   21637     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21638 fi
   21639 
   21640 if test x$FILE_MAN_SUFFIX = x    ; then
   21641     case $host_os in
   21642 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21643 	*)		FILE_MAN_SUFFIX=5  ;;
   21644     esac
   21645 fi
   21646 if test x$FILE_MAN_DIR = x    ; then
   21647     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21648 fi
   21649 
   21650 if test x$MISC_MAN_SUFFIX = x    ; then
   21651     case $host_os in
   21652 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21653 	*)		MISC_MAN_SUFFIX=7  ;;
   21654     esac
   21655 fi
   21656 if test x$MISC_MAN_DIR = x    ; then
   21657     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21658 fi
   21659 
   21660 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21661     case $host_os in
   21662 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21663 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21664     esac
   21665 fi
   21666 if test x$DRIVER_MAN_DIR = x    ; then
   21667     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21668 fi
   21669 
   21670 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21671     case $host_os in
   21672 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21673 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21674     esac
   21675 fi
   21676 if test x$ADMIN_MAN_DIR = x    ; then
   21677     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21678 fi
   21679 
   21680 
   21681 
   21682 
   21683 
   21684 
   21685 
   21686 
   21687 
   21688 
   21689 
   21690 
   21691 
   21692 
   21693 
   21694 
   21695 
   21696 # Check whether --with-release-version was given.
   21697 if test "${with_release_version+set}" = set; then
   21698   withval=$with_release_version; RELEASE_VERSION="$withval"
   21699 else
   21700   RELEASE_VERSION=""
   21701 fi
   21702 
   21703 	if test "x$RELEASE_VERSION" != "x"; then
   21704 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21705 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21706 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21707 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21708 	fi
   21709 
   21710 cat >>confdefs.h <<_ACEOF
   21711 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21712 _ACEOF
   21713 
   21714 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21715 	if test "x$PVM" = "x"; then
   21716 		PVM="0"
   21717 	fi
   21718 
   21719 cat >>confdefs.h <<_ACEOF
   21720 #define PACKAGE_VERSION_MINOR $PVM
   21721 _ACEOF
   21722 
   21723 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21724 	if test "x$PVP" = "x"; then
   21725 		PVP="0"
   21726 	fi
   21727 
   21728 cat >>confdefs.h <<_ACEOF
   21729 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21730 _ACEOF
   21731 
   21732 
   21733 
   21734 
   21735 XORG_SGML_PATH=$prefix/share/sgml
   21736 HAVE_DEFS_ENT=
   21737 
   21738 if test x"$cross_compiling" = x"yes" ; then
   21739   HAVE_DEFS_ENT=no
   21740 else
   21741   as_ac_File=`$as_echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   21742 { $as_echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   21743 $as_echo_n "checking for $XORG_SGML_PATH/X11/defs.ent... " >&6; }
   21744 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21745   $as_echo_n "(cached) " >&6
   21746 else
   21747   test "$cross_compiling" = yes &&
   21748   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21749 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21750    { (exit 1); exit 1; }; }
   21751 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   21752   eval "$as_ac_File=yes"
   21753 else
   21754   eval "$as_ac_File=no"
   21755 fi
   21756 fi
   21757 ac_res=`eval 'as_val=${'$as_ac_File'}
   21758 		 $as_echo "$as_val"'`
   21759 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21760 $as_echo "$ac_res" >&6; }
   21761 as_val=`eval 'as_val=${'$as_ac_File'}
   21762 		 $as_echo "$as_val"'`
   21763    if test "x$as_val" = x""yes; then
   21764   HAVE_DEFS_ENT=yes
   21765 fi
   21766 
   21767 fi
   21768 
   21769 # Extract the first word of "linuxdoc", so it can be a program name with args.
   21770 set dummy linuxdoc; ac_word=$2
   21771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21772 $as_echo_n "checking for $ac_word... " >&6; }
   21773 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   21774   $as_echo_n "(cached) " >&6
   21775 else
   21776   case $LINUXDOC in
   21777   [\\/]* | ?:[\\/]*)
   21778   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   21779   ;;
   21780   *)
   21781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21782 for as_dir in $PATH
   21783 do
   21784   IFS=$as_save_IFS
   21785   test -z "$as_dir" && as_dir=.
   21786   for ac_exec_ext in '' $ac_executable_extensions; do
   21787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21788     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   21789     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21790     break 2
   21791   fi
   21792 done
   21793 done
   21794 IFS=$as_save_IFS
   21795 
   21796   ;;
   21797 esac
   21798 fi
   21799 LINUXDOC=$ac_cv_path_LINUXDOC
   21800 if test -n "$LINUXDOC"; then
   21801   { $as_echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   21802 $as_echo "$LINUXDOC" >&6; }
   21803 else
   21804   { $as_echo "$as_me:$LINENO: result: no" >&5
   21805 $as_echo "no" >&6; }
   21806 fi
   21807 
   21808 
   21809 # Extract the first word of "ps2pdf", so it can be a program name with args.
   21810 set dummy ps2pdf; ac_word=$2
   21811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21812 $as_echo_n "checking for $ac_word... " >&6; }
   21813 if test "${ac_cv_path_PS2PDF+set}" = set; then
   21814   $as_echo_n "(cached) " >&6
   21815 else
   21816   case $PS2PDF in
   21817   [\\/]* | ?:[\\/]*)
   21818   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   21819   ;;
   21820   *)
   21821   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21822 for as_dir in $PATH
   21823 do
   21824   IFS=$as_save_IFS
   21825   test -z "$as_dir" && as_dir=.
   21826   for ac_exec_ext in '' $ac_executable_extensions; do
   21827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21828     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   21829     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21830     break 2
   21831   fi
   21832 done
   21833 done
   21834 IFS=$as_save_IFS
   21835 
   21836   ;;
   21837 esac
   21838 fi
   21839 PS2PDF=$ac_cv_path_PS2PDF
   21840 if test -n "$PS2PDF"; then
   21841   { $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5
   21842 $as_echo "$PS2PDF" >&6; }
   21843 else
   21844   { $as_echo "$as_me:$LINENO: result: no" >&5
   21845 $as_echo "no" >&6; }
   21846 fi
   21847 
   21848 
   21849 
   21850 { $as_echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   21851 $as_echo_n "checking Whether to build documentation... " >&6; }
   21852 
   21853 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   21854    BUILDDOC=yes
   21855 else
   21856    BUILDDOC=no
   21857 fi
   21858 
   21859  if test x$BUILDDOC = xyes; then
   21860   BUILD_LINUXDOC_TRUE=
   21861   BUILD_LINUXDOC_FALSE='#'
   21862 else
   21863   BUILD_LINUXDOC_TRUE='#'
   21864   BUILD_LINUXDOC_FALSE=
   21865 fi
   21866 
   21867 
   21868 { $as_echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   21869 $as_echo "$BUILDDOC" >&6; }
   21870 
   21871 { $as_echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   21872 $as_echo_n "checking Whether to build pdf documentation... " >&6; }
   21873 
   21874 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   21875    BUILDPDFDOC=yes
   21876 else
   21877    BUILDPDFDOC=no
   21878 fi
   21879 
   21880  if test x$BUILDPDFDOC = xyes; then
   21881   BUILD_PDFDOC_TRUE=
   21882   BUILD_PDFDOC_FALSE='#'
   21883 else
   21884   BUILD_PDFDOC_TRUE='#'
   21885   BUILD_PDFDOC_FALSE=
   21886 fi
   21887 
   21888 
   21889 { $as_echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   21890 $as_echo "$BUILDPDFDOC" >&6; }
   21891 
   21892 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   21893 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   21894 MAKE_PDF="$PS2PDF"
   21895 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   21896 
   21897 
   21898 
   21899 
   21900 
   21901 
   21902 
   21903 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21904 
   21905 cat >confcache <<\_ACEOF
   21906 # This file is a shell script that caches the results of configure
   21907 # tests run on this system so they can be shared between configure
   21908 # scripts and configure runs, see configure's option --config-cache.
   21909 # It is not useful on other systems.  If it contains results you don't
   21910 # want to keep, you may remove or edit it.
   21911 #
   21912 # config.status only pays attention to the cache file if you give it
   21913 # the --recheck option to rerun configure.
   21914 #
   21915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21917 # following values.
   21918 
   21919 _ACEOF
   21920 
   21921 # The following way of writing the cache mishandles newlines in values,
   21922 # but we know of no workaround that is simple, portable, and efficient.
   21923 # So, we kill variables containing newlines.
   21924 # Ultrix sh set writes to stderr and can't be redirected directly,
   21925 # and sets the high bit in the cache file unless we assign to the vars.
   21926 (
   21927   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21928     eval ac_val=\$$ac_var
   21929     case $ac_val in #(
   21930     *${as_nl}*)
   21931       case $ac_var in #(
   21932       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21934       esac
   21935       case $ac_var in #(
   21936       _ | IFS | as_nl) ;; #(
   21937       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21938       *) $as_unset $ac_var ;;
   21939       esac ;;
   21940     esac
   21941   done
   21942 
   21943   (set) 2>&1 |
   21944     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21945     *${as_nl}ac_space=\ *)
   21946       # `set' does not quote correctly, so add quotes (double-quote
   21947       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21948       sed -n \
   21949 	"s/'/'\\\\''/g;
   21950 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21951       ;; #(
   21952     *)
   21953       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21954       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21955       ;;
   21956     esac |
   21957     sort
   21958 ) |
   21959   sed '
   21960      /^ac_cv_env_/b end
   21961      t clear
   21962      :clear
   21963      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21964      t end
   21965      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21966      :end' >>confcache
   21967 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21968   if test -w "$cache_file"; then
   21969     test "x$cache_file" != "x/dev/null" &&
   21970       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21971 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21972     cat confcache >$cache_file
   21973   else
   21974     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21975 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21976   fi
   21977 fi
   21978 rm -f confcache
   21979 
   21980 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21981 # Let make expand exec_prefix.
   21982 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21983 
   21984 DEFS=-DHAVE_CONFIG_H
   21985 
   21986 ac_libobjs=
   21987 ac_ltlibobjs=
   21988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21989   # 1. Remove the extension, and $U if already installed.
   21990   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21991   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21992   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21993   #    will be set to the directory where LIBOBJS objects are built.
   21994   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21995   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21996 done
   21997 LIBOBJS=$ac_libobjs
   21998 
   21999 LTLIBOBJS=$ac_ltlibobjs
   22000 
   22001 
   22002 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22003   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22004 Usually this means the macro was only invoked conditionally." >&5
   22005 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22006 Usually this means the macro was only invoked conditionally." >&2;}
   22007    { (exit 1); exit 1; }; }
   22008 fi
   22009 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22010   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22011 Usually this means the macro was only invoked conditionally." >&5
   22012 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22013 Usually this means the macro was only invoked conditionally." >&2;}
   22014    { (exit 1); exit 1; }; }
   22015 fi
   22016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22017   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22018 Usually this means the macro was only invoked conditionally." >&5
   22019 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22020 Usually this means the macro was only invoked conditionally." >&2;}
   22021    { (exit 1); exit 1; }; }
   22022 fi
   22023 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22024   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22025 Usually this means the macro was only invoked conditionally." >&5
   22026 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22027 Usually this means the macro was only invoked conditionally." >&2;}
   22028    { (exit 1); exit 1; }; }
   22029 fi
   22030 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22031   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22032 Usually this means the macro was only invoked conditionally." >&5
   22033 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22034 Usually this means the macro was only invoked conditionally." >&2;}
   22035    { (exit 1); exit 1; }; }
   22036 fi
   22037 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22038   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22039 Usually this means the macro was only invoked conditionally." >&5
   22040 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22041 Usually this means the macro was only invoked conditionally." >&2;}
   22042    { (exit 1); exit 1; }; }
   22043 fi
   22044 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   22045   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22046 Usually this means the macro was only invoked conditionally." >&5
   22047 $as_echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22048 Usually this means the macro was only invoked conditionally." >&2;}
   22049    { (exit 1); exit 1; }; }
   22050 fi
   22051 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   22052   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   22053 Usually this means the macro was only invoked conditionally." >&5
   22054 $as_echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   22055 Usually this means the macro was only invoked conditionally." >&2;}
   22056    { (exit 1); exit 1; }; }
   22057 fi
   22058 
   22059 : ${CONFIG_STATUS=./config.status}
   22060 ac_write_fail=0
   22061 ac_clean_files_save=$ac_clean_files
   22062 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22063 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22064 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22065 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22066 #! $SHELL
   22067 # Generated by $as_me.
   22068 # Run this file to recreate the current configuration.
   22069 # Compiler output produced by configure, useful for debugging
   22070 # configure, is in config.log if it exists.
   22071 
   22072 debug=false
   22073 ac_cs_recheck=false
   22074 ac_cs_silent=false
   22075 SHELL=\${CONFIG_SHELL-$SHELL}
   22076 _ACEOF
   22077 
   22078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22079 ## --------------------- ##
   22080 ## M4sh Initialization.  ##
   22081 ## --------------------- ##
   22082 
   22083 # Be more Bourne compatible
   22084 DUALCASE=1; export DUALCASE # for MKS sh
   22085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22086   emulate sh
   22087   NULLCMD=:
   22088   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22089   # is contrary to our usage.  Disable this feature.
   22090   alias -g '${1+"$@"}'='"$@"'
   22091   setopt NO_GLOB_SUBST
   22092 else
   22093   case `(set -o) 2>/dev/null` in
   22094   *posix*) set -o posix ;;
   22095 esac
   22096 
   22097 fi
   22098 
   22099 
   22100 
   22101 
   22102 # PATH needs CR
   22103 # Avoid depending upon Character Ranges.
   22104 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22105 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22106 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22107 as_cr_digits='0123456789'
   22108 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22109 
   22110 as_nl='
   22111 '
   22112 export as_nl
   22113 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22114 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22117 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22118   as_echo='printf %s\n'
   22119   as_echo_n='printf %s'
   22120 else
   22121   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22122     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22123     as_echo_n='/usr/ucb/echo -n'
   22124   else
   22125     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22126     as_echo_n_body='eval
   22127       arg=$1;
   22128       case $arg in
   22129       *"$as_nl"*)
   22130 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22131 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22132       esac;
   22133       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22134     '
   22135     export as_echo_n_body
   22136     as_echo_n='sh -c $as_echo_n_body as_echo'
   22137   fi
   22138   export as_echo_body
   22139   as_echo='sh -c $as_echo_body as_echo'
   22140 fi
   22141 
   22142 # The user is always right.
   22143 if test "${PATH_SEPARATOR+set}" != set; then
   22144   PATH_SEPARATOR=:
   22145   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22146     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22147       PATH_SEPARATOR=';'
   22148   }
   22149 fi
   22150 
   22151 # Support unset when possible.
   22152 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22153   as_unset=unset
   22154 else
   22155   as_unset=false
   22156 fi
   22157 
   22158 
   22159 # IFS
   22160 # We need space, tab and new line, in precisely that order.  Quoting is
   22161 # there to prevent editors from complaining about space-tab.
   22162 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22163 # splitting by setting IFS to empty value.)
   22164 IFS=" ""	$as_nl"
   22165 
   22166 # Find who we are.  Look in the path if we contain no directory separator.
   22167 case $0 in
   22168   *[\\/]* ) as_myself=$0 ;;
   22169   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22170 for as_dir in $PATH
   22171 do
   22172   IFS=$as_save_IFS
   22173   test -z "$as_dir" && as_dir=.
   22174   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22175 done
   22176 IFS=$as_save_IFS
   22177 
   22178      ;;
   22179 esac
   22180 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22181 # in which case we are not to be found in the path.
   22182 if test "x$as_myself" = x; then
   22183   as_myself=$0
   22184 fi
   22185 if test ! -f "$as_myself"; then
   22186   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22187   { (exit 1); exit 1; }
   22188 fi
   22189 
   22190 # Work around bugs in pre-3.0 UWIN ksh.
   22191 for as_var in ENV MAIL MAILPATH
   22192 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22193 done
   22194 PS1='$ '
   22195 PS2='> '
   22196 PS4='+ '
   22197 
   22198 # NLS nuisances.
   22199 LC_ALL=C
   22200 export LC_ALL
   22201 LANGUAGE=C
   22202 export LANGUAGE
   22203 
   22204 # Required to use basename.
   22205 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22206    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22207   as_expr=expr
   22208 else
   22209   as_expr=false
   22210 fi
   22211 
   22212 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22213   as_basename=basename
   22214 else
   22215   as_basename=false
   22216 fi
   22217 
   22218 
   22219 # Name of the executable.
   22220 as_me=`$as_basename -- "$0" ||
   22221 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22222 	 X"$0" : 'X\(//\)$' \| \
   22223 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22224 $as_echo X/"$0" |
   22225     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22226 	    s//\1/
   22227 	    q
   22228 	  }
   22229 	  /^X\/\(\/\/\)$/{
   22230 	    s//\1/
   22231 	    q
   22232 	  }
   22233 	  /^X\/\(\/\).*/{
   22234 	    s//\1/
   22235 	    q
   22236 	  }
   22237 	  s/.*/./; q'`
   22238 
   22239 # CDPATH.
   22240 $as_unset CDPATH
   22241 
   22242 
   22243 
   22244   as_lineno_1=$LINENO
   22245   as_lineno_2=$LINENO
   22246   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22247   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22248 
   22249   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22250   # uniformly replaced by the line number.  The first 'sed' inserts a
   22251   # line-number line after each line using $LINENO; the second 'sed'
   22252   # does the real work.  The second script uses 'N' to pair each
   22253   # line-number line with the line containing $LINENO, and appends
   22254   # trailing '-' during substitution so that $LINENO is not a special
   22255   # case at line end.
   22256   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22257   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22258   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22259   sed -n '
   22260     p
   22261     /[$]LINENO/=
   22262   ' <$as_myself |
   22263     sed '
   22264       s/[$]LINENO.*/&-/
   22265       t lineno
   22266       b
   22267       :lineno
   22268       N
   22269       :loop
   22270       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22271       t loop
   22272       s/-\n.*//
   22273     ' >$as_me.lineno &&
   22274   chmod +x "$as_me.lineno" ||
   22275     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22276    { (exit 1); exit 1; }; }
   22277 
   22278   # Don't try to exec as it changes $[0], causing all sort of problems
   22279   # (the dirname of $[0] is not the place where we might find the
   22280   # original and so on.  Autoconf is especially sensitive to this).
   22281   . "./$as_me.lineno"
   22282   # Exit status is that of the last command.
   22283   exit
   22284 }
   22285 
   22286 
   22287 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22288   as_dirname=dirname
   22289 else
   22290   as_dirname=false
   22291 fi
   22292 
   22293 ECHO_C= ECHO_N= ECHO_T=
   22294 case `echo -n x` in
   22295 -n*)
   22296   case `echo 'x\c'` in
   22297   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22298   *)   ECHO_C='\c';;
   22299   esac;;
   22300 *)
   22301   ECHO_N='-n';;
   22302 esac
   22303 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22304    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22305   as_expr=expr
   22306 else
   22307   as_expr=false
   22308 fi
   22309 
   22310 rm -f conf$$ conf$$.exe conf$$.file
   22311 if test -d conf$$.dir; then
   22312   rm -f conf$$.dir/conf$$.file
   22313 else
   22314   rm -f conf$$.dir
   22315   mkdir conf$$.dir 2>/dev/null
   22316 fi
   22317 if (echo >conf$$.file) 2>/dev/null; then
   22318   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22319     as_ln_s='ln -s'
   22320     # ... but there are two gotchas:
   22321     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22322     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22323     # In both cases, we have to default to `cp -p'.
   22324     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22325       as_ln_s='cp -p'
   22326   elif ln conf$$.file conf$$ 2>/dev/null; then
   22327     as_ln_s=ln
   22328   else
   22329     as_ln_s='cp -p'
   22330   fi
   22331 else
   22332   as_ln_s='cp -p'
   22333 fi
   22334 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22335 rmdir conf$$.dir 2>/dev/null
   22336 
   22337 if mkdir -p . 2>/dev/null; then
   22338   as_mkdir_p=:
   22339 else
   22340   test -d ./-p && rmdir ./-p
   22341   as_mkdir_p=false
   22342 fi
   22343 
   22344 if test -x / >/dev/null 2>&1; then
   22345   as_test_x='test -x'
   22346 else
   22347   if ls -dL / >/dev/null 2>&1; then
   22348     as_ls_L_option=L
   22349   else
   22350     as_ls_L_option=
   22351   fi
   22352   as_test_x='
   22353     eval sh -c '\''
   22354       if test -d "$1"; then
   22355 	test -d "$1/.";
   22356       else
   22357 	case $1 in
   22358 	-*)set "./$1";;
   22359 	esac;
   22360 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22361 	???[sx]*):;;*)false;;esac;fi
   22362     '\'' sh
   22363   '
   22364 fi
   22365 as_executable_p=$as_test_x
   22366 
   22367 # Sed expression to map a string onto a valid CPP name.
   22368 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22369 
   22370 # Sed expression to map a string onto a valid variable name.
   22371 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22372 
   22373 
   22374 exec 6>&1
   22375 
   22376 # Save the log message, to keep $[0] and so on meaningful, and to
   22377 # report actual input values of CONFIG_FILES etc. instead of their
   22378 # values after options handling.
   22379 ac_log="
   22380 This file was extended by xf86-video-s3virge $as_me 1.10.2, which was
   22381 generated by GNU Autoconf 2.63.  Invocation command line was
   22382 
   22383   CONFIG_FILES    = $CONFIG_FILES
   22384   CONFIG_HEADERS  = $CONFIG_HEADERS
   22385   CONFIG_LINKS    = $CONFIG_LINKS
   22386   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22387   $ $0 $@
   22388 
   22389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22390 "
   22391 
   22392 _ACEOF
   22393 
   22394 case $ac_config_files in *"
   22395 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22396 esac
   22397 
   22398 case $ac_config_headers in *"
   22399 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22400 esac
   22401 
   22402 
   22403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22404 # Files that config.status was made for.
   22405 config_files="$ac_config_files"
   22406 config_headers="$ac_config_headers"
   22407 config_commands="$ac_config_commands"
   22408 
   22409 _ACEOF
   22410 
   22411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22412 ac_cs_usage="\
   22413 \`$as_me' instantiates files from templates according to the
   22414 current configuration.
   22415 
   22416 Usage: $0 [OPTION]... [FILE]...
   22417 
   22418   -h, --help       print this help, then exit
   22419   -V, --version    print version number and configuration settings, then exit
   22420   -q, --quiet, --silent
   22421                    do not print progress messages
   22422   -d, --debug      don't remove temporary files
   22423       --recheck    update $as_me by reconfiguring in the same conditions
   22424       --file=FILE[:TEMPLATE]
   22425                    instantiate the configuration file FILE
   22426       --header=FILE[:TEMPLATE]
   22427                    instantiate the configuration header FILE
   22428 
   22429 Configuration files:
   22430 $config_files
   22431 
   22432 Configuration headers:
   22433 $config_headers
   22434 
   22435 Configuration commands:
   22436 $config_commands
   22437 
   22438 Report bugs to <bug-autoconf (at] gnu.org>."
   22439 
   22440 _ACEOF
   22441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22442 ac_cs_version="\\
   22443 xf86-video-s3virge config.status 1.10.2
   22444 configured by $0, generated by GNU Autoconf 2.63,
   22445   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22446 
   22447 Copyright (C) 2008 Free Software Foundation, Inc.
   22448 This config.status script is free software; the Free Software Foundation
   22449 gives unlimited permission to copy, distribute and modify it."
   22450 
   22451 ac_pwd='$ac_pwd'
   22452 srcdir='$srcdir'
   22453 INSTALL='$INSTALL'
   22454 MKDIR_P='$MKDIR_P'
   22455 AWK='$AWK'
   22456 test -n "\$AWK" || AWK=awk
   22457 _ACEOF
   22458 
   22459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22460 # The default lists apply if the user does not specify any file.
   22461 ac_need_defaults=:
   22462 while test $# != 0
   22463 do
   22464   case $1 in
   22465   --*=*)
   22466     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22467     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22468     ac_shift=:
   22469     ;;
   22470   *)
   22471     ac_option=$1
   22472     ac_optarg=$2
   22473     ac_shift=shift
   22474     ;;
   22475   esac
   22476 
   22477   case $ac_option in
   22478   # Handling of the options.
   22479   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22480     ac_cs_recheck=: ;;
   22481   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22482     $as_echo "$ac_cs_version"; exit ;;
   22483   --debug | --debu | --deb | --de | --d | -d )
   22484     debug=: ;;
   22485   --file | --fil | --fi | --f )
   22486     $ac_shift
   22487     case $ac_optarg in
   22488     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22489     esac
   22490     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22491     ac_need_defaults=false;;
   22492   --header | --heade | --head | --hea )
   22493     $ac_shift
   22494     case $ac_optarg in
   22495     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22496     esac
   22497     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22498     ac_need_defaults=false;;
   22499   --he | --h)
   22500     # Conflict between --help and --header
   22501     { $as_echo "$as_me: error: ambiguous option: $1
   22502 Try \`$0 --help' for more information." >&2
   22503    { (exit 1); exit 1; }; };;
   22504   --help | --hel | -h )
   22505     $as_echo "$ac_cs_usage"; exit ;;
   22506   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22507   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22508     ac_cs_silent=: ;;
   22509 
   22510   # This is an error.
   22511   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22512 Try \`$0 --help' for more information." >&2
   22513    { (exit 1); exit 1; }; } ;;
   22514 
   22515   *) ac_config_targets="$ac_config_targets $1"
   22516      ac_need_defaults=false ;;
   22517 
   22518   esac
   22519   shift
   22520 done
   22521 
   22522 ac_configure_extra_args=
   22523 
   22524 if $ac_cs_silent; then
   22525   exec 6>/dev/null
   22526   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22527 fi
   22528 
   22529 _ACEOF
   22530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22531 if \$ac_cs_recheck; then
   22532   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22533   shift
   22534   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22535   CONFIG_SHELL='$SHELL'
   22536   export CONFIG_SHELL
   22537   exec "\$@"
   22538 fi
   22539 
   22540 _ACEOF
   22541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22542 exec 5>>config.log
   22543 {
   22544   echo
   22545   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22546 ## Running $as_me. ##
   22547 _ASBOX
   22548   $as_echo "$ac_log"
   22549 } >&5
   22550 
   22551 _ACEOF
   22552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22553 #
   22554 # INIT-COMMANDS
   22555 #
   22556 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22557 
   22558 _ACEOF
   22559 
   22560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22561 
   22562 # Handling of arguments.
   22563 for ac_config_target in $ac_config_targets
   22564 do
   22565   case $ac_config_target in
   22566     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22567     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22568     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22569     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22570     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22571 
   22572   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22573 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22574    { (exit 1); exit 1; }; };;
   22575   esac
   22576 done
   22577 
   22578 
   22579 # If the user did not use the arguments to specify the items to instantiate,
   22580 # then the envvar interface is used.  Set only those that are not.
   22581 # We use the long form for the default assignment because of an extremely
   22582 # bizarre bug on SunOS 4.1.3.
   22583 if $ac_need_defaults; then
   22584   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22585   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22586   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22587 fi
   22588 
   22589 # Have a temporary directory for convenience.  Make it in the build tree
   22590 # simply because there is no reason against having it here, and in addition,
   22591 # creating and moving files from /tmp can sometimes cause problems.
   22592 # Hook for its removal unless debugging.
   22593 # Note that there is a small window in which the directory will not be cleaned:
   22594 # after its creation but before its name has been assigned to `$tmp'.
   22595 $debug ||
   22596 {
   22597   tmp=
   22598   trap 'exit_status=$?
   22599   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22600 ' 0
   22601   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22602 }
   22603 # Create a (secure) tmp directory for tmp files.
   22604 
   22605 {
   22606   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22607   test -n "$tmp" && test -d "$tmp"
   22608 }  ||
   22609 {
   22610   tmp=./conf$$-$RANDOM
   22611   (umask 077 && mkdir "$tmp")
   22612 } ||
   22613 {
   22614    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22615    { (exit 1); exit 1; }
   22616 }
   22617 
   22618 # Set up the scripts for CONFIG_FILES section.
   22619 # No need to generate them if there are no CONFIG_FILES.
   22620 # This happens for instance with `./config.status config.h'.
   22621 if test -n "$CONFIG_FILES"; then
   22622 
   22623 
   22624 ac_cr='
'
   22626 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22627 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22628   ac_cs_awk_cr='\\r'
   22629 else
   22630   ac_cs_awk_cr=$ac_cr
   22631 fi
   22632 
   22633 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22634 _ACEOF
   22635 
   22636 
   22637 {
   22638   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22639   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22640   echo "_ACEOF"
   22641 } >conf$$subs.sh ||
   22642   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22643 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22644    { (exit 1); exit 1; }; }
   22645 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22646 ac_delim='%!_!# '
   22647 for ac_last_try in false false false false false :; do
   22648   . ./conf$$subs.sh ||
   22649     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22650 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22651    { (exit 1); exit 1; }; }
   22652 
   22653   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22654   if test $ac_delim_n = $ac_delim_num; then
   22655     break
   22656   elif $ac_last_try; then
   22657     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22658 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22659    { (exit 1); exit 1; }; }
   22660   else
   22661     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22662   fi
   22663 done
   22664 rm -f conf$$subs.sh
   22665 
   22666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22667 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22668 _ACEOF
   22669 sed -n '
   22670 h
   22671 s/^/S["/; s/!.*/"]=/
   22672 p
   22673 g
   22674 s/^[^!]*!//
   22675 :repl
   22676 t repl
   22677 s/'"$ac_delim"'$//
   22678 t delim
   22679 :nl
   22680 h
   22681 s/\(.\{148\}\).*/\1/
   22682 t more1
   22683 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22684 p
   22685 n
   22686 b repl
   22687 :more1
   22688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22689 p
   22690 g
   22691 s/.\{148\}//
   22692 t nl
   22693 :delim
   22694 h
   22695 s/\(.\{148\}\).*/\1/
   22696 t more2
   22697 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22698 p
   22699 b
   22700 :more2
   22701 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22702 p
   22703 g
   22704 s/.\{148\}//
   22705 t delim
   22706 ' <conf$$subs.awk | sed '
   22707 /^[^""]/{
   22708   N
   22709   s/\n//
   22710 }
   22711 ' >>$CONFIG_STATUS || ac_write_fail=1
   22712 rm -f conf$$subs.awk
   22713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22714 _ACAWK
   22715 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22716   for (key in S) S_is_set[key] = 1
   22717   FS = ""
   22718 
   22719 }
   22720 {
   22721   line = $ 0
   22722   nfields = split(line, field, "@")
   22723   substed = 0
   22724   len = length(field[1])
   22725   for (i = 2; i < nfields; i++) {
   22726     key = field[i]
   22727     keylen = length(key)
   22728     if (S_is_set[key]) {
   22729       value = S[key]
   22730       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22731       len += length(value) + length(field[++i])
   22732       substed = 1
   22733     } else
   22734       len += 1 + keylen
   22735   }
   22736 
   22737   print line
   22738 }
   22739 
   22740 _ACAWK
   22741 _ACEOF
   22742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22743 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22744   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22745 else
   22746   cat
   22747 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22748   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22749 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22750    { (exit 1); exit 1; }; }
   22751 _ACEOF
   22752 
   22753 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22754 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22755 # trailing colons and then remove the whole line if VPATH becomes empty
   22756 # (actually we leave an empty line to preserve line numbers).
   22757 if test "x$srcdir" = x.; then
   22758   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22759 s/:*\$(srcdir):*/:/
   22760 s/:*\${srcdir}:*/:/
   22761 s/:*@srcdir@:*/:/
   22762 s/^\([^=]*=[	 ]*\):*/\1/
   22763 s/:*$//
   22764 s/^[^=]*=[	 ]*$//
   22765 }'
   22766 fi
   22767 
   22768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22769 fi # test -n "$CONFIG_FILES"
   22770 
   22771 # Set up the scripts for CONFIG_HEADERS section.
   22772 # No need to generate them if there are no CONFIG_HEADERS.
   22773 # This happens for instance with `./config.status Makefile'.
   22774 if test -n "$CONFIG_HEADERS"; then
   22775 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22776 BEGIN {
   22777 _ACEOF
   22778 
   22779 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22780 # here-document in config.status, that substitutes the proper values into
   22781 # config.h.in to produce config.h.
   22782 
   22783 # Create a delimiter string that does not exist in confdefs.h, to ease
   22784 # handling of long lines.
   22785 ac_delim='%!_!# '
   22786 for ac_last_try in false false :; do
   22787   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22788   if test -z "$ac_t"; then
   22789     break
   22790   elif $ac_last_try; then
   22791     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22792 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22793    { (exit 1); exit 1; }; }
   22794   else
   22795     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22796   fi
   22797 done
   22798 
   22799 # For the awk script, D is an array of macro values keyed by name,
   22800 # likewise P contains macro parameters if any.  Preserve backslash
   22801 # newline sequences.
   22802 
   22803 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22804 sed -n '
   22805 s/.\{148\}/&'"$ac_delim"'/g
   22806 t rset
   22807 :rset
   22808 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22809 t def
   22810 d
   22811 :def
   22812 s/\\$//
   22813 t bsnl
   22814 s/["\\]/\\&/g
   22815 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22816 D["\1"]=" \3"/p
   22817 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22818 d
   22819 :bsnl
   22820 s/["\\]/\\&/g
   22821 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22822 D["\1"]=" \3\\\\\\n"\\/p
   22823 t cont
   22824 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22825 t cont
   22826 d
   22827 :cont
   22828 n
   22829 s/.\{148\}/&'"$ac_delim"'/g
   22830 t clear
   22831 :clear
   22832 s/\\$//
   22833 t bsnlc
   22834 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22835 d
   22836 :bsnlc
   22837 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22838 b cont
   22839 ' <confdefs.h | sed '
   22840 s/'"$ac_delim"'/"\\\
   22841 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22842 
   22843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22844   for (key in D) D_is_set[key] = 1
   22845   FS = ""
   22846 }
   22847 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22848   line = \$ 0
   22849   split(line, arg, " ")
   22850   if (arg[1] == "#") {
   22851     defundef = arg[2]
   22852     mac1 = arg[3]
   22853   } else {
   22854     defundef = substr(arg[1], 2)
   22855     mac1 = arg[2]
   22856   }
   22857   split(mac1, mac2, "(") #)
   22858   macro = mac2[1]
   22859   prefix = substr(line, 1, index(line, defundef) - 1)
   22860   if (D_is_set[macro]) {
   22861     # Preserve the white space surrounding the "#".
   22862     print prefix "define", macro P[macro] D[macro]
   22863     next
   22864   } else {
   22865     # Replace #undef with comments.  This is necessary, for example,
   22866     # in the case of _POSIX_SOURCE, which is predefined and required
   22867     # on some systems where configure will not decide to define it.
   22868     if (defundef == "undef") {
   22869       print "/*", prefix defundef, macro, "*/"
   22870       next
   22871     }
   22872   }
   22873 }
   22874 { print }
   22875 _ACAWK
   22876 _ACEOF
   22877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22878   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22879 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22880    { (exit 1); exit 1; }; }
   22881 fi # test -n "$CONFIG_HEADERS"
   22882 
   22883 
   22884 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22885 shift
   22886 for ac_tag
   22887 do
   22888   case $ac_tag in
   22889   :[FHLC]) ac_mode=$ac_tag; continue;;
   22890   esac
   22891   case $ac_mode$ac_tag in
   22892   :[FHL]*:*);;
   22893   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22894 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22895    { (exit 1); exit 1; }; };;
   22896   :[FH]-) ac_tag=-:-;;
   22897   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22898   esac
   22899   ac_save_IFS=$IFS
   22900   IFS=:
   22901   set x $ac_tag
   22902   IFS=$ac_save_IFS
   22903   shift
   22904   ac_file=$1
   22905   shift
   22906 
   22907   case $ac_mode in
   22908   :L) ac_source=$1;;
   22909   :[FH])
   22910     ac_file_inputs=
   22911     for ac_f
   22912     do
   22913       case $ac_f in
   22914       -) ac_f="$tmp/stdin";;
   22915       *) # Look for the file first in the build tree, then in the source tree
   22916 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22917 	 # because $ac_f cannot contain `:'.
   22918 	 test -f "$ac_f" ||
   22919 	   case $ac_f in
   22920 	   [\\/$]*) false;;
   22921 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22922 	   esac ||
   22923 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22924 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22925    { (exit 1); exit 1; }; };;
   22926       esac
   22927       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22928       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22929     done
   22930 
   22931     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22932     # use $as_me), people would be surprised to read:
   22933     #    /* config.h.  Generated by config.status.  */
   22934     configure_input='Generated from '`
   22935 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22936 	`' by configure.'
   22937     if test x"$ac_file" != x-; then
   22938       configure_input="$ac_file.  $configure_input"
   22939       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22940 $as_echo "$as_me: creating $ac_file" >&6;}
   22941     fi
   22942     # Neutralize special characters interpreted by sed in replacement strings.
   22943     case $configure_input in #(
   22944     *\&* | *\|* | *\\* )
   22945        ac_sed_conf_input=`$as_echo "$configure_input" |
   22946        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22947     *) ac_sed_conf_input=$configure_input;;
   22948     esac
   22949 
   22950     case $ac_tag in
   22951     *:-:* | *:-) cat >"$tmp/stdin" \
   22952       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22953 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22954    { (exit 1); exit 1; }; } ;;
   22955     esac
   22956     ;;
   22957   esac
   22958 
   22959   ac_dir=`$as_dirname -- "$ac_file" ||
   22960 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22961 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22962 	 X"$ac_file" : 'X\(//\)$' \| \
   22963 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22964 $as_echo X"$ac_file" |
   22965     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22966 	    s//\1/
   22967 	    q
   22968 	  }
   22969 	  /^X\(\/\/\)[^/].*/{
   22970 	    s//\1/
   22971 	    q
   22972 	  }
   22973 	  /^X\(\/\/\)$/{
   22974 	    s//\1/
   22975 	    q
   22976 	  }
   22977 	  /^X\(\/\).*/{
   22978 	    s//\1/
   22979 	    q
   22980 	  }
   22981 	  s/.*/./; q'`
   22982   { as_dir="$ac_dir"
   22983   case $as_dir in #(
   22984   -*) as_dir=./$as_dir;;
   22985   esac
   22986   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22987     as_dirs=
   22988     while :; do
   22989       case $as_dir in #(
   22990       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22991       *) as_qdir=$as_dir;;
   22992       esac
   22993       as_dirs="'$as_qdir' $as_dirs"
   22994       as_dir=`$as_dirname -- "$as_dir" ||
   22995 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22996 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22997 	 X"$as_dir" : 'X\(//\)$' \| \
   22998 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22999 $as_echo X"$as_dir" |
   23000     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23001 	    s//\1/
   23002 	    q
   23003 	  }
   23004 	  /^X\(\/\/\)[^/].*/{
   23005 	    s//\1/
   23006 	    q
   23007 	  }
   23008 	  /^X\(\/\/\)$/{
   23009 	    s//\1/
   23010 	    q
   23011 	  }
   23012 	  /^X\(\/\).*/{
   23013 	    s//\1/
   23014 	    q
   23015 	  }
   23016 	  s/.*/./; q'`
   23017       test -d "$as_dir" && break
   23018     done
   23019     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23020   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23021 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23022    { (exit 1); exit 1; }; }; }
   23023   ac_builddir=.
   23024 
   23025 case "$ac_dir" in
   23026 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23027 *)
   23028   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23029   # A ".." for each directory in $ac_dir_suffix.
   23030   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23031   case $ac_top_builddir_sub in
   23032   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23033   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23034   esac ;;
   23035 esac
   23036 ac_abs_top_builddir=$ac_pwd
   23037 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23038 # for backward compatibility:
   23039 ac_top_builddir=$ac_top_build_prefix
   23040 
   23041 case $srcdir in
   23042   .)  # We are building in place.
   23043     ac_srcdir=.
   23044     ac_top_srcdir=$ac_top_builddir_sub
   23045     ac_abs_top_srcdir=$ac_pwd ;;
   23046   [\\/]* | ?:[\\/]* )  # Absolute name.
   23047     ac_srcdir=$srcdir$ac_dir_suffix;
   23048     ac_top_srcdir=$srcdir
   23049     ac_abs_top_srcdir=$srcdir ;;
   23050   *) # Relative name.
   23051     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23052     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23053     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23054 esac
   23055 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23056 
   23057 
   23058   case $ac_mode in
   23059   :F)
   23060   #
   23061   # CONFIG_FILE
   23062   #
   23063 
   23064   case $INSTALL in
   23065   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23066   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23067   esac
   23068   ac_MKDIR_P=$MKDIR_P
   23069   case $MKDIR_P in
   23070   [\\/$]* | ?:[\\/]* ) ;;
   23071   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23072   esac
   23073 _ACEOF
   23074 
   23075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23076 # If the template does not know about datarootdir, expand it.
   23077 # FIXME: This hack should be removed a few years after 2.60.
   23078 ac_datarootdir_hack=; ac_datarootdir_seen=
   23079 
   23080 ac_sed_dataroot='
   23081 /datarootdir/ {
   23082   p
   23083   q
   23084 }
   23085 /@datadir@/p
   23086 /@docdir@/p
   23087 /@infodir@/p
   23088 /@localedir@/p
   23089 /@mandir@/p
   23090 '
   23091 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23092 *datarootdir*) ac_datarootdir_seen=yes;;
   23093 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23094   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23095 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23096 _ACEOF
   23097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23098   ac_datarootdir_hack='
   23099   s&@datadir@&$datadir&g
   23100   s&@docdir@&$docdir&g
   23101   s&@infodir@&$infodir&g
   23102   s&@localedir@&$localedir&g
   23103   s&@mandir@&$mandir&g
   23104     s&\\\${datarootdir}&$datarootdir&g' ;;
   23105 esac
   23106 _ACEOF
   23107 
   23108 # Neutralize VPATH when `$srcdir' = `.'.
   23109 # Shell code in configure.ac might set extrasub.
   23110 # FIXME: do we really want to maintain this feature?
   23111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23112 ac_sed_extra="$ac_vpsub
   23113 $extrasub
   23114 _ACEOF
   23115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23116 :t
   23117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23118 s|@configure_input@|$ac_sed_conf_input|;t t
   23119 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23120 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23121 s&@srcdir@&$ac_srcdir&;t t
   23122 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23123 s&@top_srcdir@&$ac_top_srcdir&;t t
   23124 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23125 s&@builddir@&$ac_builddir&;t t
   23126 s&@abs_builddir@&$ac_abs_builddir&;t t
   23127 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23128 s&@INSTALL@&$ac_INSTALL&;t t
   23129 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23130 $ac_datarootdir_hack
   23131 "
   23132 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23133   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23134 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23135    { (exit 1); exit 1; }; }
   23136 
   23137 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23138   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23139   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23140   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23141 which seems to be undefined.  Please make sure it is defined." >&5
   23142 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23143 which seems to be undefined.  Please make sure it is defined." >&2;}
   23144 
   23145   rm -f "$tmp/stdin"
   23146   case $ac_file in
   23147   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23148   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23149   esac \
   23150   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23151 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23152    { (exit 1); exit 1; }; }
   23153  ;;
   23154   :H)
   23155   #
   23156   # CONFIG_HEADER
   23157   #
   23158   if test x"$ac_file" != x-; then
   23159     {
   23160       $as_echo "/* $configure_input  */" \
   23161       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23162     } >"$tmp/config.h" \
   23163       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23164 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23165    { (exit 1); exit 1; }; }
   23166     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23167       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23168 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23169     else
   23170       rm -f "$ac_file"
   23171       mv "$tmp/config.h" "$ac_file" \
   23172 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23173 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23174    { (exit 1); exit 1; }; }
   23175     fi
   23176   else
   23177     $as_echo "/* $configure_input  */" \
   23178       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23179       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23180 $as_echo "$as_me: error: could not create -" >&2;}
   23181    { (exit 1); exit 1; }; }
   23182   fi
   23183 # Compute "$ac_file"'s index in $config_headers.
   23184 _am_arg="$ac_file"
   23185 _am_stamp_count=1
   23186 for _am_header in $config_headers :; do
   23187   case $_am_header in
   23188     $_am_arg | $_am_arg:* )
   23189       break ;;
   23190     * )
   23191       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23192   esac
   23193 done
   23194 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23195 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23196 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23197 	 X"$_am_arg" : 'X\(//\)$' \| \
   23198 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23199 $as_echo X"$_am_arg" |
   23200     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23201 	    s//\1/
   23202 	    q
   23203 	  }
   23204 	  /^X\(\/\/\)[^/].*/{
   23205 	    s//\1/
   23206 	    q
   23207 	  }
   23208 	  /^X\(\/\/\)$/{
   23209 	    s//\1/
   23210 	    q
   23211 	  }
   23212 	  /^X\(\/\).*/{
   23213 	    s//\1/
   23214 	    q
   23215 	  }
   23216 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23217  ;;
   23218 
   23219   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23220 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23221  ;;
   23222   esac
   23223 
   23224 
   23225   case $ac_file$ac_mode in
   23226     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23227   # Strip MF so we end up with the name of the file.
   23228   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23229   # Check whether this is an Automake generated Makefile or not.
   23230   # We used to match only the files named `Makefile.in', but
   23231   # some people rename them; so instead we look at the file content.
   23232   # Grep'ing the first line is not enough: some people post-process
   23233   # each Makefile.in and add a new line on top of each file to say so.
   23234   # Grep'ing the whole file is not good either: AIX grep has a line
   23235   # limit of 2048, but all sed's we know have understand at least 4000.
   23236   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23237     dirpart=`$as_dirname -- "$mf" ||
   23238 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23239 	 X"$mf" : 'X\(//\)[^/]' \| \
   23240 	 X"$mf" : 'X\(//\)$' \| \
   23241 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23242 $as_echo X"$mf" |
   23243     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23244 	    s//\1/
   23245 	    q
   23246 	  }
   23247 	  /^X\(\/\/\)[^/].*/{
   23248 	    s//\1/
   23249 	    q
   23250 	  }
   23251 	  /^X\(\/\/\)$/{
   23252 	    s//\1/
   23253 	    q
   23254 	  }
   23255 	  /^X\(\/\).*/{
   23256 	    s//\1/
   23257 	    q
   23258 	  }
   23259 	  s/.*/./; q'`
   23260   else
   23261     continue
   23262   fi
   23263   # Extract the definition of DEPDIR, am__include, and am__quote
   23264   # from the Makefile without running `make'.
   23265   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23266   test -z "$DEPDIR" && continue
   23267   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23268   test -z "am__include" && continue
   23269   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23270   # When using ansi2knr, U may be empty or an underscore; expand it
   23271   U=`sed -n 's/^U = //p' < "$mf"`
   23272   # Find all dependency output files, they are included files with
   23273   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23274   # simplest approach to changing $(DEPDIR) to its actual value in the
   23275   # expansion.
   23276   for file in `sed -n "
   23277     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23278        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23279     # Make sure the directory exists.
   23280     test -f "$dirpart/$file" && continue
   23281     fdir=`$as_dirname -- "$file" ||
   23282 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23283 	 X"$file" : 'X\(//\)[^/]' \| \
   23284 	 X"$file" : 'X\(//\)$' \| \
   23285 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23286 $as_echo X"$file" |
   23287     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23288 	    s//\1/
   23289 	    q
   23290 	  }
   23291 	  /^X\(\/\/\)[^/].*/{
   23292 	    s//\1/
   23293 	    q
   23294 	  }
   23295 	  /^X\(\/\/\)$/{
   23296 	    s//\1/
   23297 	    q
   23298 	  }
   23299 	  /^X\(\/\).*/{
   23300 	    s//\1/
   23301 	    q
   23302 	  }
   23303 	  s/.*/./; q'`
   23304     { as_dir=$dirpart/$fdir
   23305   case $as_dir in #(
   23306   -*) as_dir=./$as_dir;;
   23307   esac
   23308   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23309     as_dirs=
   23310     while :; do
   23311       case $as_dir in #(
   23312       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23313       *) as_qdir=$as_dir;;
   23314       esac
   23315       as_dirs="'$as_qdir' $as_dirs"
   23316       as_dir=`$as_dirname -- "$as_dir" ||
   23317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23318 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23319 	 X"$as_dir" : 'X\(//\)$' \| \
   23320 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23321 $as_echo X"$as_dir" |
   23322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23323 	    s//\1/
   23324 	    q
   23325 	  }
   23326 	  /^X\(\/\/\)[^/].*/{
   23327 	    s//\1/
   23328 	    q
   23329 	  }
   23330 	  /^X\(\/\/\)$/{
   23331 	    s//\1/
   23332 	    q
   23333 	  }
   23334 	  /^X\(\/\).*/{
   23335 	    s//\1/
   23336 	    q
   23337 	  }
   23338 	  s/.*/./; q'`
   23339       test -d "$as_dir" && break
   23340     done
   23341     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23342   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23343 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23344    { (exit 1); exit 1; }; }; }
   23345     # echo "creating $dirpart/$file"
   23346     echo '# dummy' > "$dirpart/$file"
   23347   done
   23348 done
   23349  ;;
   23350 
   23351   esac
   23352 done # for ac_tag
   23353 
   23354 
   23355 { (exit 0); exit 0; }
   23356 _ACEOF
   23357 chmod +x $CONFIG_STATUS
   23358 ac_clean_files=$ac_clean_files_save
   23359 
   23360 test $ac_write_fail = 0 ||
   23361   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23362 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23363    { (exit 1); exit 1; }; }
   23364 
   23365 
   23366 # configure is writing to config.log, and then calls config.status.
   23367 # config.status does its own redirection, appending to config.log.
   23368 # Unfortunately, on DOS this fails, as config.log is still kept open
   23369 # by configure, so config.status won't be able to write to it; its
   23370 # output is simply discarded.  So we exec the FD to /dev/null,
   23371 # effectively closing config.log, so it can be properly (re)opened and
   23372 # appended to by config.status.  When coming back to configure, we
   23373 # need to make the FD available again.
   23374 if test "$no_create" != yes; then
   23375   ac_cs_success=:
   23376   ac_config_status_args=
   23377   test "$silent" = yes &&
   23378     ac_config_status_args="$ac_config_status_args --quiet"
   23379   exec 5>/dev/null
   23380   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23381   exec 5>>config.log
   23382   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23383   # would make configure fail if this is the last instruction.
   23384   $ac_cs_success || { (exit 1); exit 1; }
   23385 fi
   23386 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23387   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23388 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23389 fi
   23390 
   23391