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-trident 1.3.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='xf86-video-trident'
    752 PACKAGE_TARNAME='xf86-video-trident'
    753 PACKAGE_VERSION='1.3.1'
    754 PACKAGE_STRING='xf86-video-trident 1.3.1'
    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 ADMIN_MAN_DIR
    797 DRIVER_MAN_DIR
    798 MISC_MAN_DIR
    799 FILE_MAN_DIR
    800 LIB_MAN_DIR
    801 APP_MAN_DIR
    802 ADMIN_MAN_SUFFIX
    803 DRIVER_MAN_SUFFIX
    804 MISC_MAN_SUFFIX
    805 FILE_MAN_SUFFIX
    806 LIB_MAN_SUFFIX
    807 APP_MAN_SUFFIX
    808 DRIVER_NAME
    809 moduledir
    810 XSERVER_LIBPCIACCESS_FALSE
    811 XSERVER_LIBPCIACCESS_TRUE
    812 PCIACCESS_LIBS
    813 PCIACCESS_CFLAGS
    814 XORG_LIBS
    815 XORG_CFLAGS
    816 PKG_CONFIG
    817 LIBTOOL
    818 ac_ct_F77
    819 FFLAGS
    820 F77
    821 CXXCPP
    822 am__fastdepCXX_FALSE
    823 am__fastdepCXX_TRUE
    824 CXXDEPMODE
    825 ac_ct_CXX
    826 CXXFLAGS
    827 CXX
    828 CPP
    829 NMEDIT
    830 DSYMUTIL
    831 RANLIB
    832 AR
    833 ECHO
    834 LN_S
    835 EGREP
    836 GREP
    837 SED
    838 am__fastdepCC_FALSE
    839 am__fastdepCC_TRUE
    840 CCDEPMODE
    841 AMDEPBACKSLASH
    842 AMDEP_FALSE
    843 AMDEP_TRUE
    844 am__quote
    845 am__include
    846 DEPDIR
    847 OBJEXT
    848 EXEEXT
    849 ac_ct_CC
    850 CPPFLAGS
    851 LDFLAGS
    852 CFLAGS
    853 CC
    854 host_os
    855 host_vendor
    856 host_cpu
    857 host
    858 build_os
    859 build_vendor
    860 build_cpu
    861 build
    862 MAINT
    863 MAINTAINER_MODE_FALSE
    864 MAINTAINER_MODE_TRUE
    865 am__untar
    866 am__tar
    867 AMTAR
    868 am__leading_dot
    869 SET_MAKE
    870 AWK
    871 mkdir_p
    872 MKDIR_P
    873 INSTALL_STRIP_PROGRAM
    874 STRIP
    875 install_sh
    876 MAKEINFO
    877 AUTOHEADER
    878 AUTOMAKE
    879 AUTOCONF
    880 ACLOCAL
    881 VERSION
    882 PACKAGE
    883 CYGPATH_W
    884 am__isrc
    885 INSTALL_DATA
    886 INSTALL_SCRIPT
    887 INSTALL_PROGRAM
    888 target_alias
    889 host_alias
    890 build_alias
    891 LIBS
    892 ECHO_T
    893 ECHO_N
    894 ECHO_C
    895 DEFS
    896 mandir
    897 localedir
    898 libdir
    899 psdir
    900 pdfdir
    901 dvidir
    902 htmldir
    903 infodir
    904 docdir
    905 oldincludedir
    906 includedir
    907 localstatedir
    908 sharedstatedir
    909 sysconfdir
    910 datadir
    911 datarootdir
    912 libexecdir
    913 sbindir
    914 bindir
    915 program_transform_name
    916 prefix
    917 exec_prefix
    918 PACKAGE_BUGREPORT
    919 PACKAGE_STRING
    920 PACKAGE_VERSION
    921 PACKAGE_TARNAME
    922 PACKAGE_NAME
    923 PATH_SEPARATOR
    924 SHELL'
    925 ac_subst_files=''
    926 ac_user_opts='
    927 enable_option_checking
    928 enable_maintainer_mode
    929 enable_static
    930 enable_shared
    931 enable_fast_install
    932 enable_dependency_tracking
    933 with_gnu_ld
    934 enable_libtool_lock
    935 with_pic
    936 with_tags
    937 with_xorg_module_dir
    938 with_release_version
    939 '
    940       ac_precious_vars='build_alias
    941 host_alias
    942 target_alias
    943 CC
    944 CFLAGS
    945 LDFLAGS
    946 LIBS
    947 CPPFLAGS
    948 CPP
    949 CXX
    950 CXXFLAGS
    951 CCC
    952 CXXCPP
    953 F77
    954 FFLAGS
    955 PKG_CONFIG
    956 XORG_CFLAGS
    957 XORG_LIBS
    958 PCIACCESS_CFLAGS
    959 PCIACCESS_LIBS'
    960 
    961 
    962 # Initialize some variables set by options.
    963 ac_init_help=
    964 ac_init_version=false
    965 ac_unrecognized_opts=
    966 ac_unrecognized_sep=
    967 # The variables have the same names as the options, with
    968 # dashes changed to underlines.
    969 cache_file=/dev/null
    970 exec_prefix=NONE
    971 no_create=
    972 no_recursion=
    973 prefix=NONE
    974 program_prefix=NONE
    975 program_suffix=NONE
    976 program_transform_name=s,x,x,
    977 silent=
    978 site=
    979 srcdir=
    980 verbose=
    981 x_includes=NONE
    982 x_libraries=NONE
    983 
    984 # Installation directory options.
    985 # These are left unexpanded so users can "make install exec_prefix=/foo"
    986 # and all the variables that are supposed to be based on exec_prefix
    987 # by default will actually change.
    988 # Use braces instead of parens because sh, perl, etc. also accept them.
    989 # (The list follows the same order as the GNU Coding Standards.)
    990 bindir='${exec_prefix}/bin'
    991 sbindir='${exec_prefix}/sbin'
    992 libexecdir='${exec_prefix}/libexec'
    993 datarootdir='${prefix}/share'
    994 datadir='${datarootdir}'
    995 sysconfdir='${prefix}/etc'
    996 sharedstatedir='${prefix}/com'
    997 localstatedir='${prefix}/var'
    998 includedir='${prefix}/include'
    999 oldincludedir='/usr/include'
   1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1001 infodir='${datarootdir}/info'
   1002 htmldir='${docdir}'
   1003 dvidir='${docdir}'
   1004 pdfdir='${docdir}'
   1005 psdir='${docdir}'
   1006 libdir='${exec_prefix}/lib'
   1007 localedir='${datarootdir}/locale'
   1008 mandir='${datarootdir}/man'
   1009 
   1010 ac_prev=
   1011 ac_dashdash=
   1012 for ac_option
   1013 do
   1014   # If the previous option needs an argument, assign it.
   1015   if test -n "$ac_prev"; then
   1016     eval $ac_prev=\$ac_option
   1017     ac_prev=
   1018     continue
   1019   fi
   1020 
   1021   case $ac_option in
   1022   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1023   *)	ac_optarg=yes ;;
   1024   esac
   1025 
   1026   # Accept the important Cygnus configure options, so we can diagnose typos.
   1027 
   1028   case $ac_dashdash$ac_option in
   1029   --)
   1030     ac_dashdash=yes ;;
   1031 
   1032   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1033     ac_prev=bindir ;;
   1034   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1035     bindir=$ac_optarg ;;
   1036 
   1037   -build | --build | --buil | --bui | --bu)
   1038     ac_prev=build_alias ;;
   1039   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1040     build_alias=$ac_optarg ;;
   1041 
   1042   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1043   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1044     ac_prev=cache_file ;;
   1045   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1046   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1047     cache_file=$ac_optarg ;;
   1048 
   1049   --config-cache | -C)
   1050     cache_file=config.cache ;;
   1051 
   1052   -datadir | --datadir | --datadi | --datad)
   1053     ac_prev=datadir ;;
   1054   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1055     datadir=$ac_optarg ;;
   1056 
   1057   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1058   | --dataroo | --dataro | --datar)
   1059     ac_prev=datarootdir ;;
   1060   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1061   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1062     datarootdir=$ac_optarg ;;
   1063 
   1064   -disable-* | --disable-*)
   1065     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1066     # Reject names that are not valid shell variable names.
   1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1068       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1069    { (exit 1); exit 1; }; }
   1070     ac_useropt_orig=$ac_useropt
   1071     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1072     case $ac_user_opts in
   1073       *"
   1074 "enable_$ac_useropt"
   1075 "*) ;;
   1076       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1077 	 ac_unrecognized_sep=', ';;
   1078     esac
   1079     eval enable_$ac_useropt=no ;;
   1080 
   1081   -docdir | --docdir | --docdi | --doc | --do)
   1082     ac_prev=docdir ;;
   1083   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1084     docdir=$ac_optarg ;;
   1085 
   1086   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1087     ac_prev=dvidir ;;
   1088   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1089     dvidir=$ac_optarg ;;
   1090 
   1091   -enable-* | --enable-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1096    { (exit 1); exit 1; }; }
   1097     ac_useropt_orig=$ac_useropt
   1098     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1099     case $ac_user_opts in
   1100       *"
   1101 "enable_$ac_useropt"
   1102 "*) ;;
   1103       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1104 	 ac_unrecognized_sep=', ';;
   1105     esac
   1106     eval enable_$ac_useropt=\$ac_optarg ;;
   1107 
   1108   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1109   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1110   | --exec | --exe | --ex)
   1111     ac_prev=exec_prefix ;;
   1112   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1113   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1114   | --exec=* | --exe=* | --ex=*)
   1115     exec_prefix=$ac_optarg ;;
   1116 
   1117   -gas | --gas | --ga | --g)
   1118     # Obsolete; use --with-gas.
   1119     with_gas=yes ;;
   1120 
   1121   -help | --help | --hel | --he | -h)
   1122     ac_init_help=long ;;
   1123   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1124     ac_init_help=recursive ;;
   1125   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1126     ac_init_help=short ;;
   1127 
   1128   -host | --host | --hos | --ho)
   1129     ac_prev=host_alias ;;
   1130   -host=* | --host=* | --hos=* | --ho=*)
   1131     host_alias=$ac_optarg ;;
   1132 
   1133   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1134     ac_prev=htmldir ;;
   1135   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1136   | --ht=*)
   1137     htmldir=$ac_optarg ;;
   1138 
   1139   -includedir | --includedir | --includedi | --included | --include \
   1140   | --includ | --inclu | --incl | --inc)
   1141     ac_prev=includedir ;;
   1142   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1143   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1144     includedir=$ac_optarg ;;
   1145 
   1146   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1147     ac_prev=infodir ;;
   1148   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1149     infodir=$ac_optarg ;;
   1150 
   1151   -libdir | --libdir | --libdi | --libd)
   1152     ac_prev=libdir ;;
   1153   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1154     libdir=$ac_optarg ;;
   1155 
   1156   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1157   | --libexe | --libex | --libe)
   1158     ac_prev=libexecdir ;;
   1159   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1160   | --libexe=* | --libex=* | --libe=*)
   1161     libexecdir=$ac_optarg ;;
   1162 
   1163   -localedir | --localedir | --localedi | --localed | --locale)
   1164     ac_prev=localedir ;;
   1165   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1166     localedir=$ac_optarg ;;
   1167 
   1168   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1169   | --localstate | --localstat | --localsta | --localst | --locals)
   1170     ac_prev=localstatedir ;;
   1171   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1172   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1173     localstatedir=$ac_optarg ;;
   1174 
   1175   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1176     ac_prev=mandir ;;
   1177   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1178     mandir=$ac_optarg ;;
   1179 
   1180   -nfp | --nfp | --nf)
   1181     # Obsolete; use --without-fp.
   1182     with_fp=no ;;
   1183 
   1184   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1185   | --no-cr | --no-c | -n)
   1186     no_create=yes ;;
   1187 
   1188   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1189   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1190     no_recursion=yes ;;
   1191 
   1192   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1193   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1194   | --oldin | --oldi | --old | --ol | --o)
   1195     ac_prev=oldincludedir ;;
   1196   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1197   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1198   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1199     oldincludedir=$ac_optarg ;;
   1200 
   1201   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1202     ac_prev=prefix ;;
   1203   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1204     prefix=$ac_optarg ;;
   1205 
   1206   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1207   | --program-pre | --program-pr | --program-p)
   1208     ac_prev=program_prefix ;;
   1209   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1210   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1211     program_prefix=$ac_optarg ;;
   1212 
   1213   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1214   | --program-suf | --program-su | --program-s)
   1215     ac_prev=program_suffix ;;
   1216   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1217   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1218     program_suffix=$ac_optarg ;;
   1219 
   1220   -program-transform-name | --program-transform-name \
   1221   | --program-transform-nam | --program-transform-na \
   1222   | --program-transform-n | --program-transform- \
   1223   | --program-transform | --program-transfor \
   1224   | --program-transfo | --program-transf \
   1225   | --program-trans | --program-tran \
   1226   | --progr-tra | --program-tr | --program-t)
   1227     ac_prev=program_transform_name ;;
   1228   -program-transform-name=* | --program-transform-name=* \
   1229   | --program-transform-nam=* | --program-transform-na=* \
   1230   | --program-transform-n=* | --program-transform-=* \
   1231   | --program-transform=* | --program-transfor=* \
   1232   | --program-transfo=* | --program-transf=* \
   1233   | --program-trans=* | --program-tran=* \
   1234   | --progr-tra=* | --program-tr=* | --program-t=*)
   1235     program_transform_name=$ac_optarg ;;
   1236 
   1237   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1238     ac_prev=pdfdir ;;
   1239   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1240     pdfdir=$ac_optarg ;;
   1241 
   1242   -psdir | --psdir | --psdi | --psd | --ps)
   1243     ac_prev=psdir ;;
   1244   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1245     psdir=$ac_optarg ;;
   1246 
   1247   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1248   | -silent | --silent | --silen | --sile | --sil)
   1249     silent=yes ;;
   1250 
   1251   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1252     ac_prev=sbindir ;;
   1253   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1254   | --sbi=* | --sb=*)
   1255     sbindir=$ac_optarg ;;
   1256 
   1257   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1258   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1259   | --sharedst | --shareds | --shared | --share | --shar \
   1260   | --sha | --sh)
   1261     ac_prev=sharedstatedir ;;
   1262   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1263   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1264   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1265   | --sha=* | --sh=*)
   1266     sharedstatedir=$ac_optarg ;;
   1267 
   1268   -site | --site | --sit)
   1269     ac_prev=site ;;
   1270   -site=* | --site=* | --sit=*)
   1271     site=$ac_optarg ;;
   1272 
   1273   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1274     ac_prev=srcdir ;;
   1275   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1276     srcdir=$ac_optarg ;;
   1277 
   1278   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1279   | --syscon | --sysco | --sysc | --sys | --sy)
   1280     ac_prev=sysconfdir ;;
   1281   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1282   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1283     sysconfdir=$ac_optarg ;;
   1284 
   1285   -target | --target | --targe | --targ | --tar | --ta | --t)
   1286     ac_prev=target_alias ;;
   1287   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1288     target_alias=$ac_optarg ;;
   1289 
   1290   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1291     verbose=yes ;;
   1292 
   1293   -version | --version | --versio | --versi | --vers | -V)
   1294     ac_init_version=: ;;
   1295 
   1296   -with-* | --with-*)
   1297     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1298     # Reject names that are not valid shell variable names.
   1299     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1300       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1301    { (exit 1); exit 1; }; }
   1302     ac_useropt_orig=$ac_useropt
   1303     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1304     case $ac_user_opts in
   1305       *"
   1306 "with_$ac_useropt"
   1307 "*) ;;
   1308       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1309 	 ac_unrecognized_sep=', ';;
   1310     esac
   1311     eval with_$ac_useropt=\$ac_optarg ;;
   1312 
   1313   -without-* | --without-*)
   1314     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1315     # Reject names that are not valid shell variable names.
   1316     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1317       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1318    { (exit 1); exit 1; }; }
   1319     ac_useropt_orig=$ac_useropt
   1320     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1321     case $ac_user_opts in
   1322       *"
   1323 "with_$ac_useropt"
   1324 "*) ;;
   1325       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1326 	 ac_unrecognized_sep=', ';;
   1327     esac
   1328     eval with_$ac_useropt=no ;;
   1329 
   1330   --x)
   1331     # Obsolete; use --with-x.
   1332     with_x=yes ;;
   1333 
   1334   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1335   | --x-incl | --x-inc | --x-in | --x-i)
   1336     ac_prev=x_includes ;;
   1337   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1338   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1339     x_includes=$ac_optarg ;;
   1340 
   1341   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1342   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1343     ac_prev=x_libraries ;;
   1344   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1345   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1346     x_libraries=$ac_optarg ;;
   1347 
   1348   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1349 Try \`$0 --help' for more information." >&2
   1350    { (exit 1); exit 1; }; }
   1351     ;;
   1352 
   1353   *=*)
   1354     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1355     # Reject names that are not valid shell variable names.
   1356     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1357       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1358    { (exit 1); exit 1; }; }
   1359     eval $ac_envvar=\$ac_optarg
   1360     export $ac_envvar ;;
   1361 
   1362   *)
   1363     # FIXME: should be removed in autoconf 3.0.
   1364     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1365     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1366       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1367     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1368     ;;
   1369 
   1370   esac
   1371 done
   1372 
   1373 if test -n "$ac_prev"; then
   1374   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1375   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1376    { (exit 1); exit 1; }; }
   1377 fi
   1378 
   1379 if test -n "$ac_unrecognized_opts"; then
   1380   case $enable_option_checking in
   1381     no) ;;
   1382     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1383    { (exit 1); exit 1; }; } ;;
   1384     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1385   esac
   1386 fi
   1387 
   1388 # Check all directory arguments for consistency.
   1389 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1390 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1391 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1392 		libdir localedir mandir
   1393 do
   1394   eval ac_val=\$$ac_var
   1395   # Remove trailing slashes.
   1396   case $ac_val in
   1397     */ )
   1398       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1399       eval $ac_var=\$ac_val;;
   1400   esac
   1401   # Be sure to have absolute directory names.
   1402   case $ac_val in
   1403     [\\/$]* | ?:[\\/]* )  continue;;
   1404     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1405   esac
   1406   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1407    { (exit 1); exit 1; }; }
   1408 done
   1409 
   1410 # There might be people who depend on the old broken behavior: `$host'
   1411 # used to hold the argument of --host etc.
   1412 # FIXME: To remove some day.
   1413 build=$build_alias
   1414 host=$host_alias
   1415 target=$target_alias
   1416 
   1417 # FIXME: To remove some day.
   1418 if test "x$host_alias" != x; then
   1419   if test "x$build_alias" = x; then
   1420     cross_compiling=maybe
   1421     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1422     If a cross compiler is detected then cross compile mode will be used." >&2
   1423   elif test "x$build_alias" != "x$host_alias"; then
   1424     cross_compiling=yes
   1425   fi
   1426 fi
   1427 
   1428 ac_tool_prefix=
   1429 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1430 
   1431 test "$silent" = yes && exec 6>/dev/null
   1432 
   1433 
   1434 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1435 ac_ls_di=`ls -di .` &&
   1436 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1437   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1438    { (exit 1); exit 1; }; }
   1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1440   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1441    { (exit 1); exit 1; }; }
   1442 
   1443 
   1444 # Find the source files, if location was not specified.
   1445 if test -z "$srcdir"; then
   1446   ac_srcdir_defaulted=yes
   1447   # Try the directory containing this script, then the parent directory.
   1448   ac_confdir=`$as_dirname -- "$as_myself" ||
   1449 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1450 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1451 	 X"$as_myself" : 'X\(//\)$' \| \
   1452 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1453 $as_echo X"$as_myself" |
   1454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1455 	    s//\1/
   1456 	    q
   1457 	  }
   1458 	  /^X\(\/\/\)[^/].*/{
   1459 	    s//\1/
   1460 	    q
   1461 	  }
   1462 	  /^X\(\/\/\)$/{
   1463 	    s//\1/
   1464 	    q
   1465 	  }
   1466 	  /^X\(\/\).*/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  s/.*/./; q'`
   1471   srcdir=$ac_confdir
   1472   if test ! -r "$srcdir/$ac_unique_file"; then
   1473     srcdir=..
   1474   fi
   1475 else
   1476   ac_srcdir_defaulted=no
   1477 fi
   1478 if test ! -r "$srcdir/$ac_unique_file"; then
   1479   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1480   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1481    { (exit 1); exit 1; }; }
   1482 fi
   1483 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1484 ac_abs_confdir=`(
   1485 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1486    { (exit 1); exit 1; }; }
   1487 	pwd)`
   1488 # When building in place, set srcdir=.
   1489 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1490   srcdir=.
   1491 fi
   1492 # Remove unnecessary trailing slashes from srcdir.
   1493 # Double slashes in file names in object file debugging info
   1494 # mess up M-x gdb in Emacs.
   1495 case $srcdir in
   1496 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1497 esac
   1498 for ac_var in $ac_precious_vars; do
   1499   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1500   eval ac_env_${ac_var}_value=\$${ac_var}
   1501   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1502   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1503 done
   1504 
   1505 #
   1506 # Report the --help message.
   1507 #
   1508 if test "$ac_init_help" = "long"; then
   1509   # Omit some internal or obsolete options to make the list less imposing.
   1510   # This message is too long to be a string in the A/UX 3.1 sh.
   1511   cat <<_ACEOF
   1512 \`configure' configures xf86-video-trident 1.3.1 to adapt to many kinds of systems.
   1513 
   1514 Usage: $0 [OPTION]... [VAR=VALUE]...
   1515 
   1516 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1517 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1518 
   1519 Defaults for the options are specified in brackets.
   1520 
   1521 Configuration:
   1522   -h, --help              display this help and exit
   1523       --help=short        display options specific to this package
   1524       --help=recursive    display the short help of all the included packages
   1525   -V, --version           display version information and exit
   1526   -q, --quiet, --silent   do not print \`checking...' messages
   1527       --cache-file=FILE   cache test results in FILE [disabled]
   1528   -C, --config-cache      alias for \`--cache-file=config.cache'
   1529   -n, --no-create         do not create output files
   1530       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1531 
   1532 Installation directories:
   1533   --prefix=PREFIX         install architecture-independent files in PREFIX
   1534                           [$ac_default_prefix]
   1535   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1536                           [PREFIX]
   1537 
   1538 By default, \`make install' will install all the files in
   1539 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1540 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1541 for instance \`--prefix=\$HOME'.
   1542 
   1543 For better control, use the options below.
   1544 
   1545 Fine tuning of the installation directories:
   1546   --bindir=DIR            user executables [EPREFIX/bin]
   1547   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1548   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1549   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1550   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1551   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1552   --libdir=DIR            object code libraries [EPREFIX/lib]
   1553   --includedir=DIR        C header files [PREFIX/include]
   1554   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1555   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1556   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1557   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1558   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1559   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1560   --docdir=DIR            documentation root
   1561                           [DATAROOTDIR/doc/xf86-video-trident]
   1562   --htmldir=DIR           html documentation [DOCDIR]
   1563   --dvidir=DIR            dvi documentation [DOCDIR]
   1564   --pdfdir=DIR            pdf documentation [DOCDIR]
   1565   --psdir=DIR             ps documentation [DOCDIR]
   1566 _ACEOF
   1567 
   1568   cat <<\_ACEOF
   1569 
   1570 Program names:
   1571   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1572   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1573   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1574 
   1575 System types:
   1576   --build=BUILD     configure for building on BUILD [guessed]
   1577   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1578 _ACEOF
   1579 fi
   1580 
   1581 if test -n "$ac_init_help"; then
   1582   case $ac_init_help in
   1583      short | recursive ) echo "Configuration of xf86-video-trident 1.3.1:";;
   1584    esac
   1585   cat <<\_ACEOF
   1586 
   1587 Optional Features:
   1588   --disable-option-checking  ignore unrecognized --enable/--with options
   1589   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1590   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1591   --enable-maintainer-mode  enable make rules and dependencies not useful
   1592 			  (and sometimes confusing) to the casual installer
   1593   --enable-static[=PKGS]  build static libraries [default=no]
   1594   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1595   --enable-fast-install[=PKGS]
   1596                           optimize for fast installation [default=yes]
   1597   --disable-dependency-tracking  speeds up one-time build
   1598   --enable-dependency-tracking   do not reject slow dependency extractors
   1599   --disable-libtool-lock  avoid locking (might break parallel builds)
   1600 
   1601 Optional Packages:
   1602   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1603   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1604   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1605   --with-pic              try to use only PIC/non-PIC objects [default=use
   1606                           both]
   1607   --with-tags[=TAGS]      include additional configurations [automatic]
   1608   --with-xorg-module-dir=DIR
   1609                           Default xorg module directory
   1610                           [default=$libdir/xorg/modules]
   1611   --with-release-version=STRING
   1612                           Use release version string in package name
   1613 
   1614 Some influential environment variables:
   1615   CC          C compiler command
   1616   CFLAGS      C compiler flags
   1617   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1618               nonstandard directory <lib dir>
   1619   LIBS        libraries to pass to the linker, e.g. -l<library>
   1620   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1621               you have headers in a nonstandard directory <include dir>
   1622   CPP         C preprocessor
   1623   CXX         C++ compiler command
   1624   CXXFLAGS    C++ compiler flags
   1625   CXXCPP      C++ preprocessor
   1626   F77         Fortran 77 compiler command
   1627   FFLAGS      Fortran 77 compiler flags
   1628   PKG_CONFIG  path to pkg-config utility
   1629   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1630   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1631   PCIACCESS_CFLAGS
   1632               C compiler flags for PCIACCESS, overriding pkg-config
   1633   PCIACCESS_LIBS
   1634               linker flags for PCIACCESS, overriding pkg-config
   1635 
   1636 Use these variables to override the choices made by `configure' or to help
   1637 it to find libraries and programs with nonstandard names/locations.
   1638 
   1639 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1640 _ACEOF
   1641 ac_status=$?
   1642 fi
   1643 
   1644 if test "$ac_init_help" = "recursive"; then
   1645   # If there are subdirs, report their specific --help.
   1646   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1647     test -d "$ac_dir" ||
   1648       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1649       continue
   1650     ac_builddir=.
   1651 
   1652 case "$ac_dir" in
   1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654 *)
   1655   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1656   # A ".." for each directory in $ac_dir_suffix.
   1657   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1658   case $ac_top_builddir_sub in
   1659   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1660   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1661   esac ;;
   1662 esac
   1663 ac_abs_top_builddir=$ac_pwd
   1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1665 # for backward compatibility:
   1666 ac_top_builddir=$ac_top_build_prefix
   1667 
   1668 case $srcdir in
   1669   .)  # We are building in place.
   1670     ac_srcdir=.
   1671     ac_top_srcdir=$ac_top_builddir_sub
   1672     ac_abs_top_srcdir=$ac_pwd ;;
   1673   [\\/]* | ?:[\\/]* )  # Absolute name.
   1674     ac_srcdir=$srcdir$ac_dir_suffix;
   1675     ac_top_srcdir=$srcdir
   1676     ac_abs_top_srcdir=$srcdir ;;
   1677   *) # Relative name.
   1678     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1679     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1680     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1681 esac
   1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1683 
   1684     cd "$ac_dir" || { ac_status=$?; continue; }
   1685     # Check for guested configure.
   1686     if test -f "$ac_srcdir/configure.gnu"; then
   1687       echo &&
   1688       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1689     elif test -f "$ac_srcdir/configure"; then
   1690       echo &&
   1691       $SHELL "$ac_srcdir/configure" --help=recursive
   1692     else
   1693       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1694     fi || ac_status=$?
   1695     cd "$ac_pwd" || { ac_status=$?; break; }
   1696   done
   1697 fi
   1698 
   1699 test -n "$ac_init_help" && exit $ac_status
   1700 if $ac_init_version; then
   1701   cat <<\_ACEOF
   1702 xf86-video-trident configure 1.3.1
   1703 generated by GNU Autoconf 2.63
   1704 
   1705 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1706 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1707 This configure script is free software; the Free Software Foundation
   1708 gives unlimited permission to copy, distribute and modify it.
   1709 _ACEOF
   1710   exit
   1711 fi
   1712 cat >config.log <<_ACEOF
   1713 This file contains any messages produced by compilers while
   1714 running configure, to aid debugging if configure makes a mistake.
   1715 
   1716 It was created by xf86-video-trident $as_me 1.3.1, which was
   1717 generated by GNU Autoconf 2.63.  Invocation command line was
   1718 
   1719   $ $0 $@
   1720 
   1721 _ACEOF
   1722 exec 5>>config.log
   1723 {
   1724 cat <<_ASUNAME
   1725 ## --------- ##
   1726 ## Platform. ##
   1727 ## --------- ##
   1728 
   1729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1734 
   1735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1736 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1737 
   1738 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1739 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1741 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1742 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1743 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1744 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1745 
   1746 _ASUNAME
   1747 
   1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1749 for as_dir in $PATH
   1750 do
   1751   IFS=$as_save_IFS
   1752   test -z "$as_dir" && as_dir=.
   1753   $as_echo "PATH: $as_dir"
   1754 done
   1755 IFS=$as_save_IFS
   1756 
   1757 } >&5
   1758 
   1759 cat >&5 <<_ACEOF
   1760 
   1761 
   1762 ## ----------- ##
   1763 ## Core tests. ##
   1764 ## ----------- ##
   1765 
   1766 _ACEOF
   1767 
   1768 
   1769 # Keep a trace of the command line.
   1770 # Strip out --no-create and --no-recursion so they do not pile up.
   1771 # Strip out --silent because we don't want to record it for future runs.
   1772 # Also quote any args containing shell meta-characters.
   1773 # Make two passes to allow for proper duplicate-argument suppression.
   1774 ac_configure_args=
   1775 ac_configure_args0=
   1776 ac_configure_args1=
   1777 ac_must_keep_next=false
   1778 for ac_pass in 1 2
   1779 do
   1780   for ac_arg
   1781   do
   1782     case $ac_arg in
   1783     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1784     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1785     | -silent | --silent | --silen | --sile | --sil)
   1786       continue ;;
   1787     *\'*)
   1788       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1789     esac
   1790     case $ac_pass in
   1791     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1792     2)
   1793       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1794       if test $ac_must_keep_next = true; then
   1795 	ac_must_keep_next=false # Got value, back to normal.
   1796       else
   1797 	case $ac_arg in
   1798 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1799 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1800 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1801 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1802 	    case "$ac_configure_args0 " in
   1803 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1804 	    esac
   1805 	    ;;
   1806 	  -* ) ac_must_keep_next=true ;;
   1807 	esac
   1808       fi
   1809       ac_configure_args="$ac_configure_args '$ac_arg'"
   1810       ;;
   1811     esac
   1812   done
   1813 done
   1814 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1815 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1816 
   1817 # When interrupted or exit'd, cleanup temporary files, and complete
   1818 # config.log.  We remove comments because anyway the quotes in there
   1819 # would cause problems or look ugly.
   1820 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1822 trap 'exit_status=$?
   1823   # Save into config.log some information that might help in debugging.
   1824   {
   1825     echo
   1826 
   1827     cat <<\_ASBOX
   1828 ## ---------------- ##
   1829 ## Cache variables. ##
   1830 ## ---------------- ##
   1831 _ASBOX
   1832     echo
   1833     # The following way of writing the cache mishandles newlines in values,
   1834 (
   1835   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1836     eval ac_val=\$$ac_var
   1837     case $ac_val in #(
   1838     *${as_nl}*)
   1839       case $ac_var in #(
   1840       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1841 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1842       esac
   1843       case $ac_var in #(
   1844       _ | IFS | as_nl) ;; #(
   1845       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1846       *) $as_unset $ac_var ;;
   1847       esac ;;
   1848     esac
   1849   done
   1850   (set) 2>&1 |
   1851     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1852     *${as_nl}ac_space=\ *)
   1853       sed -n \
   1854 	"s/'\''/'\''\\\\'\'''\''/g;
   1855 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1856       ;; #(
   1857     *)
   1858       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1859       ;;
   1860     esac |
   1861     sort
   1862 )
   1863     echo
   1864 
   1865     cat <<\_ASBOX
   1866 ## ----------------- ##
   1867 ## Output variables. ##
   1868 ## ----------------- ##
   1869 _ASBOX
   1870     echo
   1871     for ac_var in $ac_subst_vars
   1872     do
   1873       eval ac_val=\$$ac_var
   1874       case $ac_val in
   1875       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1876       esac
   1877       $as_echo "$ac_var='\''$ac_val'\''"
   1878     done | sort
   1879     echo
   1880 
   1881     if test -n "$ac_subst_files"; then
   1882       cat <<\_ASBOX
   1883 ## ------------------- ##
   1884 ## File substitutions. ##
   1885 ## ------------------- ##
   1886 _ASBOX
   1887       echo
   1888       for ac_var in $ac_subst_files
   1889       do
   1890 	eval ac_val=\$$ac_var
   1891 	case $ac_val in
   1892 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1893 	esac
   1894 	$as_echo "$ac_var='\''$ac_val'\''"
   1895       done | sort
   1896       echo
   1897     fi
   1898 
   1899     if test -s confdefs.h; then
   1900       cat <<\_ASBOX
   1901 ## ----------- ##
   1902 ## confdefs.h. ##
   1903 ## ----------- ##
   1904 _ASBOX
   1905       echo
   1906       cat confdefs.h
   1907       echo
   1908     fi
   1909     test "$ac_signal" != 0 &&
   1910       $as_echo "$as_me: caught signal $ac_signal"
   1911     $as_echo "$as_me: exit $exit_status"
   1912   } >&5
   1913   rm -f core *.core core.conftest.* &&
   1914     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1915     exit $exit_status
   1916 ' 0
   1917 for ac_signal in 1 2 13 15; do
   1918   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1919 done
   1920 ac_signal=0
   1921 
   1922 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1923 rm -f -r conftest* confdefs.h
   1924 
   1925 # Predefined preprocessor variables.
   1926 
   1927 cat >>confdefs.h <<_ACEOF
   1928 #define PACKAGE_NAME "$PACKAGE_NAME"
   1929 _ACEOF
   1930 
   1931 
   1932 cat >>confdefs.h <<_ACEOF
   1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1934 _ACEOF
   1935 
   1936 
   1937 cat >>confdefs.h <<_ACEOF
   1938 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1939 _ACEOF
   1940 
   1941 
   1942 cat >>confdefs.h <<_ACEOF
   1943 #define PACKAGE_STRING "$PACKAGE_STRING"
   1944 _ACEOF
   1945 
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1949 _ACEOF
   1950 
   1951 
   1952 # Let the site file select an alternate cache file if it wants to.
   1953 # Prefer an explicitly selected file to automatically selected ones.
   1954 ac_site_file1=NONE
   1955 ac_site_file2=NONE
   1956 if test -n "$CONFIG_SITE"; then
   1957   ac_site_file1=$CONFIG_SITE
   1958 elif test "x$prefix" != xNONE; then
   1959   ac_site_file1=$prefix/share/config.site
   1960   ac_site_file2=$prefix/etc/config.site
   1961 else
   1962   ac_site_file1=$ac_default_prefix/share/config.site
   1963   ac_site_file2=$ac_default_prefix/etc/config.site
   1964 fi
   1965 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1966 do
   1967   test "x$ac_site_file" = xNONE && continue
   1968   if test -r "$ac_site_file"; then
   1969     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1970 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1971     sed 's/^/| /' "$ac_site_file" >&5
   1972     . "$ac_site_file"
   1973   fi
   1974 done
   1975 
   1976 if test -r "$cache_file"; then
   1977   # Some versions of bash will fail to source /dev/null (special
   1978   # files actually), so we avoid doing that.
   1979   if test -f "$cache_file"; then
   1980     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1981 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1982     case $cache_file in
   1983       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1984       *)                      . "./$cache_file";;
   1985     esac
   1986   fi
   1987 else
   1988   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1989 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1990   >$cache_file
   1991 fi
   1992 
   1993 # Check that the precious variables saved in the cache have kept the same
   1994 # value.
   1995 ac_cache_corrupted=false
   1996 for ac_var in $ac_precious_vars; do
   1997   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1998   eval ac_new_set=\$ac_env_${ac_var}_set
   1999   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2000   eval ac_new_val=\$ac_env_${ac_var}_value
   2001   case $ac_old_set,$ac_new_set in
   2002     set,)
   2003       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2005       ac_cache_corrupted=: ;;
   2006     ,set)
   2007       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2009       ac_cache_corrupted=: ;;
   2010     ,);;
   2011     *)
   2012       if test "x$ac_old_val" != "x$ac_new_val"; then
   2013 	# differences in whitespace do not lead to failure.
   2014 	ac_old_val_w=`echo x $ac_old_val`
   2015 	ac_new_val_w=`echo x $ac_new_val`
   2016 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2017 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2019 	  ac_cache_corrupted=:
   2020 	else
   2021 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2023 	  eval $ac_var=\$ac_old_val
   2024 	fi
   2025 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2026 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2027 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2028 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2029       fi;;
   2030   esac
   2031   # Pass precious variables to config.status.
   2032   if test "$ac_new_set" = set; then
   2033     case $ac_new_val in
   2034     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2035     *) ac_arg=$ac_var=$ac_new_val ;;
   2036     esac
   2037     case " $ac_configure_args " in
   2038       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2039       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2040     esac
   2041   fi
   2042 done
   2043 if $ac_cache_corrupted; then
   2044   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2046   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2048   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2049 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2050    { (exit 1); exit 1; }; }
   2051 fi
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 ac_ext=c
   2078 ac_cpp='$CPP $CPPFLAGS'
   2079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2082 
   2083 
   2084 
   2085 
   2086 ac_config_headers="$ac_config_headers config.h"
   2087 
   2088 ac_aux_dir=
   2089 for ac_dir in . "$srcdir"/.; do
   2090   if test -f "$ac_dir/install-sh"; then
   2091     ac_aux_dir=$ac_dir
   2092     ac_install_sh="$ac_aux_dir/install-sh -c"
   2093     break
   2094   elif test -f "$ac_dir/install.sh"; then
   2095     ac_aux_dir=$ac_dir
   2096     ac_install_sh="$ac_aux_dir/install.sh -c"
   2097     break
   2098   elif test -f "$ac_dir/shtool"; then
   2099     ac_aux_dir=$ac_dir
   2100     ac_install_sh="$ac_aux_dir/shtool install -c"
   2101     break
   2102   fi
   2103 done
   2104 if test -z "$ac_aux_dir"; then
   2105   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2106 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2107    { (exit 1); exit 1; }; }
   2108 fi
   2109 
   2110 # These three variables are undocumented and unsupported,
   2111 # and are intended to be withdrawn in a future Autoconf release.
   2112 # They can cause serious problems if a builder's source tree is in a directory
   2113 # whose full name contains unusual characters.
   2114 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2115 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2116 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2117 
   2118 
   2119 
   2120 am__api_version='1.10'
   2121 
   2122 # Find a good install program.  We prefer a C program (faster),
   2123 # so one script is as good as another.  But avoid the broken or
   2124 # incompatible versions:
   2125 # SysV /etc/install, /usr/sbin/install
   2126 # SunOS /usr/etc/install
   2127 # IRIX /sbin/install
   2128 # AIX /bin/install
   2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2133 # OS/2's system install, which has a completely different semantic
   2134 # ./install, which can be erroneously created by make from ./install.sh.
   2135 # Reject install programs that cannot install multiple files.
   2136 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2137 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2138 if test -z "$INSTALL"; then
   2139 if test "${ac_cv_path_install+set}" = set; then
   2140   $as_echo_n "(cached) " >&6
   2141 else
   2142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2143 for as_dir in $PATH
   2144 do
   2145   IFS=$as_save_IFS
   2146   test -z "$as_dir" && as_dir=.
   2147   # Account for people who put trailing slashes in PATH elements.
   2148 case $as_dir/ in
   2149   ./ | .// | /cC/* | \
   2150   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2151   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2152   /usr/ucb/* ) ;;
   2153   *)
   2154     # OSF1 and SCO ODT 3.0 have their own names for install.
   2155     # Don't use installbsd from OSF since it installs stuff as root
   2156     # by default.
   2157     for ac_prog in ginstall scoinst install; do
   2158       for ac_exec_ext in '' $ac_executable_extensions; do
   2159 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2160 	  if test $ac_prog = install &&
   2161 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2162 	    # AIX install.  It has an incompatible calling convention.
   2163 	    :
   2164 	  elif test $ac_prog = install &&
   2165 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2166 	    # program-specific install script used by HP pwplus--don't use.
   2167 	    :
   2168 	  else
   2169 	    rm -rf conftest.one conftest.two conftest.dir
   2170 	    echo one > conftest.one
   2171 	    echo two > conftest.two
   2172 	    mkdir conftest.dir
   2173 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2174 	      test -s conftest.one && test -s conftest.two &&
   2175 	      test -s conftest.dir/conftest.one &&
   2176 	      test -s conftest.dir/conftest.two
   2177 	    then
   2178 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2179 	      break 3
   2180 	    fi
   2181 	  fi
   2182 	fi
   2183       done
   2184     done
   2185     ;;
   2186 esac
   2187 
   2188 done
   2189 IFS=$as_save_IFS
   2190 
   2191 rm -rf conftest.one conftest.two conftest.dir
   2192 
   2193 fi
   2194   if test "${ac_cv_path_install+set}" = set; then
   2195     INSTALL=$ac_cv_path_install
   2196   else
   2197     # As a last resort, use the slow shell script.  Don't cache a
   2198     # value for INSTALL within a source directory, because that will
   2199     # break other packages using the cache if that directory is
   2200     # removed, or if the value is a relative name.
   2201     INSTALL=$ac_install_sh
   2202   fi
   2203 fi
   2204 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2205 $as_echo "$INSTALL" >&6; }
   2206 
   2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2208 # It thinks the first close brace ends the variable substitution.
   2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2210 
   2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2212 
   2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2214 
   2215 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2216 $as_echo_n "checking whether build environment is sane... " >&6; }
   2217 # Just in case
   2218 sleep 1
   2219 echo timestamp > conftest.file
   2220 # Do `set' in a subshell so we don't clobber the current shell's
   2221 # arguments.  Must try -L first in case configure is actually a
   2222 # symlink; some systems play weird games with the mod time of symlinks
   2223 # (eg FreeBSD returns the mod time of the symlink's containing
   2224 # directory).
   2225 if (
   2226    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2227    if test "$*" = "X"; then
   2228       # -L didn't work.
   2229       set X `ls -t $srcdir/configure conftest.file`
   2230    fi
   2231    rm -f conftest.file
   2232    if test "$*" != "X $srcdir/configure conftest.file" \
   2233       && test "$*" != "X conftest.file $srcdir/configure"; then
   2234 
   2235       # If neither matched, then we have a broken ls.  This can happen
   2236       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2237       # broken ls alias from the environment.  This has actually
   2238       # happened.  Such a system could not be considered "sane".
   2239       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2240 alias in your environment" >&5
   2241 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2242 alias in your environment" >&2;}
   2243    { (exit 1); exit 1; }; }
   2244    fi
   2245 
   2246    test "$2" = conftest.file
   2247    )
   2248 then
   2249    # Ok.
   2250    :
   2251 else
   2252    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2253 Check your system clock" >&5
   2254 $as_echo "$as_me: error: newly created file is older than distributed files!
   2255 Check your system clock" >&2;}
   2256    { (exit 1); exit 1; }; }
   2257 fi
   2258 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2259 $as_echo "yes" >&6; }
   2260 test "$program_prefix" != NONE &&
   2261   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2262 # Use a double $ so make ignores it.
   2263 test "$program_suffix" != NONE &&
   2264   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2265 # Double any \ or $.
   2266 # By default was `s,x,x', remove it if useless.
   2267 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2268 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2269 
   2270 # expand $ac_aux_dir to an absolute path
   2271 am_aux_dir=`cd $ac_aux_dir && pwd`
   2272 
   2273 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2274 # Use eval to expand $SHELL
   2275 if eval "$MISSING --run true"; then
   2276   am_missing_run="$MISSING --run "
   2277 else
   2278   am_missing_run=
   2279   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2280 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2281 fi
   2282 
   2283 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2284 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2285 if test -z "$MKDIR_P"; then
   2286   if test "${ac_cv_path_mkdir+set}" = set; then
   2287   $as_echo_n "(cached) " >&6
   2288 else
   2289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2290 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2291 do
   2292   IFS=$as_save_IFS
   2293   test -z "$as_dir" && as_dir=.
   2294   for ac_prog in mkdir gmkdir; do
   2295 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2296 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2297 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2298 	     'mkdir (GNU coreutils) '* | \
   2299 	     'mkdir (coreutils) '* | \
   2300 	     'mkdir (fileutils) '4.1*)
   2301 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2302 	       break 3;;
   2303 	   esac
   2304 	 done
   2305        done
   2306 done
   2307 IFS=$as_save_IFS
   2308 
   2309 fi
   2310 
   2311   if test "${ac_cv_path_mkdir+set}" = set; then
   2312     MKDIR_P="$ac_cv_path_mkdir -p"
   2313   else
   2314     # As a last resort, use the slow shell script.  Don't cache a
   2315     # value for MKDIR_P within a source directory, because that will
   2316     # break other packages using the cache if that directory is
   2317     # removed, or if the value is a relative name.
   2318     test -d ./--version && rmdir ./--version
   2319     MKDIR_P="$ac_install_sh -d"
   2320   fi
   2321 fi
   2322 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2323 $as_echo "$MKDIR_P" >&6; }
   2324 
   2325 mkdir_p="$MKDIR_P"
   2326 case $mkdir_p in
   2327   [\\/$]* | ?:[\\/]*) ;;
   2328   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2329 esac
   2330 
   2331 for ac_prog in gawk mawk nawk awk
   2332 do
   2333   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2334 set dummy $ac_prog; ac_word=$2
   2335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2336 $as_echo_n "checking for $ac_word... " >&6; }
   2337 if test "${ac_cv_prog_AWK+set}" = set; then
   2338   $as_echo_n "(cached) " >&6
   2339 else
   2340   if test -n "$AWK"; then
   2341   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2342 else
   2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2344 for as_dir in $PATH
   2345 do
   2346   IFS=$as_save_IFS
   2347   test -z "$as_dir" && as_dir=.
   2348   for ac_exec_ext in '' $ac_executable_extensions; do
   2349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2350     ac_cv_prog_AWK="$ac_prog"
   2351     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2352     break 2
   2353   fi
   2354 done
   2355 done
   2356 IFS=$as_save_IFS
   2357 
   2358 fi
   2359 fi
   2360 AWK=$ac_cv_prog_AWK
   2361 if test -n "$AWK"; then
   2362   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2363 $as_echo "$AWK" >&6; }
   2364 else
   2365   { $as_echo "$as_me:$LINENO: result: no" >&5
   2366 $as_echo "no" >&6; }
   2367 fi
   2368 
   2369 
   2370   test -n "$AWK" && break
   2371 done
   2372 
   2373 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2374 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2375 set x ${MAKE-make}
   2376 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2377 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2378   $as_echo_n "(cached) " >&6
   2379 else
   2380   cat >conftest.make <<\_ACEOF
   2381 SHELL = /bin/sh
   2382 all:
   2383 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2384 _ACEOF
   2385 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2386 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2387   *@@@%%%=?*=@@@%%%*)
   2388     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2389   *)
   2390     eval ac_cv_prog_make_${ac_make}_set=no;;
   2391 esac
   2392 rm -f conftest.make
   2393 fi
   2394 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2395   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2396 $as_echo "yes" >&6; }
   2397   SET_MAKE=
   2398 else
   2399   { $as_echo "$as_me:$LINENO: result: no" >&5
   2400 $as_echo "no" >&6; }
   2401   SET_MAKE="MAKE=${MAKE-make}"
   2402 fi
   2403 
   2404 rm -rf .tst 2>/dev/null
   2405 mkdir .tst 2>/dev/null
   2406 if test -d .tst; then
   2407   am__leading_dot=.
   2408 else
   2409   am__leading_dot=_
   2410 fi
   2411 rmdir .tst 2>/dev/null
   2412 
   2413 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2414   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2415   # is not polluted with repeated "-I."
   2416   am__isrc=' -I$(srcdir)'
   2417   # test to see if srcdir already configured
   2418   if test -f $srcdir/config.status; then
   2419     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2420 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2421    { (exit 1); exit 1; }; }
   2422   fi
   2423 fi
   2424 
   2425 # test whether we have cygpath
   2426 if test -z "$CYGPATH_W"; then
   2427   if (cygpath --version) >/dev/null 2>/dev/null; then
   2428     CYGPATH_W='cygpath -w'
   2429   else
   2430     CYGPATH_W=echo
   2431   fi
   2432 fi
   2433 
   2434 
   2435 # Define the identity of the package.
   2436  PACKAGE='xf86-video-trident'
   2437  VERSION='1.3.1'
   2438 
   2439 
   2440 cat >>confdefs.h <<_ACEOF
   2441 #define PACKAGE "$PACKAGE"
   2442 _ACEOF
   2443 
   2444 
   2445 cat >>confdefs.h <<_ACEOF
   2446 #define VERSION "$VERSION"
   2447 _ACEOF
   2448 
   2449 # Some tools Automake needs.
   2450 
   2451 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2452 
   2453 
   2454 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2455 
   2456 
   2457 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2458 
   2459 
   2460 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2461 
   2462 
   2463 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2464 
   2465 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2466 
   2467 # Installed binaries are usually stripped using `strip' when the user
   2468 # run `make install-strip'.  However `strip' might not be the right
   2469 # tool to use in cross-compilation environments, therefore Automake
   2470 # will honor the `STRIP' environment variable to overrule this program.
   2471 if test "$cross_compiling" != no; then
   2472   if test -n "$ac_tool_prefix"; then
   2473   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2474 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2476 $as_echo_n "checking for $ac_word... " >&6; }
   2477 if test "${ac_cv_prog_STRIP+set}" = set; then
   2478   $as_echo_n "(cached) " >&6
   2479 else
   2480   if test -n "$STRIP"; then
   2481   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2482 else
   2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2484 for as_dir in $PATH
   2485 do
   2486   IFS=$as_save_IFS
   2487   test -z "$as_dir" && as_dir=.
   2488   for ac_exec_ext in '' $ac_executable_extensions; do
   2489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2490     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2491     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2492     break 2
   2493   fi
   2494 done
   2495 done
   2496 IFS=$as_save_IFS
   2497 
   2498 fi
   2499 fi
   2500 STRIP=$ac_cv_prog_STRIP
   2501 if test -n "$STRIP"; then
   2502   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2503 $as_echo "$STRIP" >&6; }
   2504 else
   2505   { $as_echo "$as_me:$LINENO: result: no" >&5
   2506 $as_echo "no" >&6; }
   2507 fi
   2508 
   2509 
   2510 fi
   2511 if test -z "$ac_cv_prog_STRIP"; then
   2512   ac_ct_STRIP=$STRIP
   2513   # Extract the first word of "strip", so it can be a program name with args.
   2514 set dummy strip; ac_word=$2
   2515 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2516 $as_echo_n "checking for $ac_word... " >&6; }
   2517 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2518   $as_echo_n "(cached) " >&6
   2519 else
   2520   if test -n "$ac_ct_STRIP"; then
   2521   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2522 else
   2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2524 for as_dir in $PATH
   2525 do
   2526   IFS=$as_save_IFS
   2527   test -z "$as_dir" && as_dir=.
   2528   for ac_exec_ext in '' $ac_executable_extensions; do
   2529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2530     ac_cv_prog_ac_ct_STRIP="strip"
   2531     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2532     break 2
   2533   fi
   2534 done
   2535 done
   2536 IFS=$as_save_IFS
   2537 
   2538 fi
   2539 fi
   2540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2541 if test -n "$ac_ct_STRIP"; then
   2542   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2543 $as_echo "$ac_ct_STRIP" >&6; }
   2544 else
   2545   { $as_echo "$as_me:$LINENO: result: no" >&5
   2546 $as_echo "no" >&6; }
   2547 fi
   2548 
   2549   if test "x$ac_ct_STRIP" = x; then
   2550     STRIP=":"
   2551   else
   2552     case $cross_compiling:$ac_tool_warned in
   2553 yes:)
   2554 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2556 ac_tool_warned=yes ;;
   2557 esac
   2558     STRIP=$ac_ct_STRIP
   2559   fi
   2560 else
   2561   STRIP="$ac_cv_prog_STRIP"
   2562 fi
   2563 
   2564 fi
   2565 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2566 
   2567 # We need awk for the "check" target.  The system "awk" is bad on
   2568 # some platforms.
   2569 # Always define AMTAR for backward compatibility.
   2570 
   2571 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2572 
   2573 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2574 
   2575 
   2576 
   2577 
   2578 
   2579 
   2580 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2581 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2582     # Check whether --enable-maintainer-mode was given.
   2583 if test "${enable_maintainer_mode+set}" = set; then
   2584   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2585 else
   2586   USE_MAINTAINER_MODE=no
   2587 fi
   2588 
   2589   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2590 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2591    if test $USE_MAINTAINER_MODE = yes; then
   2592   MAINTAINER_MODE_TRUE=
   2593   MAINTAINER_MODE_FALSE='#'
   2594 else
   2595   MAINTAINER_MODE_TRUE='#'
   2596   MAINTAINER_MODE_FALSE=
   2597 fi
   2598 
   2599   MAINT=$MAINTAINER_MODE_TRUE
   2600 
   2601 
   2602 
   2603 # Checks for programs.
   2604 # Check whether --enable-static was given.
   2605 if test "${enable_static+set}" = set; then
   2606   enableval=$enable_static; p=${PACKAGE-default}
   2607     case $enableval in
   2608     yes) enable_static=yes ;;
   2609     no) enable_static=no ;;
   2610     *)
   2611      enable_static=no
   2612       # Look at the argument we got.  We use all the common list separators.
   2613       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2614       for pkg in $enableval; do
   2615 	IFS="$lt_save_ifs"
   2616 	if test "X$pkg" = "X$p"; then
   2617 	  enable_static=yes
   2618 	fi
   2619       done
   2620       IFS="$lt_save_ifs"
   2621       ;;
   2622     esac
   2623 else
   2624   enable_static=no
   2625 fi
   2626 
   2627 
   2628 
   2629 # Check whether --enable-shared was given.
   2630 if test "${enable_shared+set}" = set; then
   2631   enableval=$enable_shared; p=${PACKAGE-default}
   2632     case $enableval in
   2633     yes) enable_shared=yes ;;
   2634     no) enable_shared=no ;;
   2635     *)
   2636       enable_shared=no
   2637       # Look at the argument we got.  We use all the common list separators.
   2638       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2639       for pkg in $enableval; do
   2640 	IFS="$lt_save_ifs"
   2641 	if test "X$pkg" = "X$p"; then
   2642 	  enable_shared=yes
   2643 	fi
   2644       done
   2645       IFS="$lt_save_ifs"
   2646       ;;
   2647     esac
   2648 else
   2649   enable_shared=yes
   2650 fi
   2651 
   2652 
   2653 # Check whether --enable-fast-install was given.
   2654 if test "${enable_fast_install+set}" = set; then
   2655   enableval=$enable_fast_install; p=${PACKAGE-default}
   2656     case $enableval in
   2657     yes) enable_fast_install=yes ;;
   2658     no) enable_fast_install=no ;;
   2659     *)
   2660       enable_fast_install=no
   2661       # Look at the argument we got.  We use all the common list separators.
   2662       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2663       for pkg in $enableval; do
   2664 	IFS="$lt_save_ifs"
   2665 	if test "X$pkg" = "X$p"; then
   2666 	  enable_fast_install=yes
   2667 	fi
   2668       done
   2669       IFS="$lt_save_ifs"
   2670       ;;
   2671     esac
   2672 else
   2673   enable_fast_install=yes
   2674 fi
   2675 
   2676 
   2677 # Make sure we can run config.sub.
   2678 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2679   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2680 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2681    { (exit 1); exit 1; }; }
   2682 
   2683 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2684 $as_echo_n "checking build system type... " >&6; }
   2685 if test "${ac_cv_build+set}" = set; then
   2686   $as_echo_n "(cached) " >&6
   2687 else
   2688   ac_build_alias=$build_alias
   2689 test "x$ac_build_alias" = x &&
   2690   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2691 test "x$ac_build_alias" = x &&
   2692   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2693 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2694    { (exit 1); exit 1; }; }
   2695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2696   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2697 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2698    { (exit 1); exit 1; }; }
   2699 
   2700 fi
   2701 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2702 $as_echo "$ac_cv_build" >&6; }
   2703 case $ac_cv_build in
   2704 *-*-*) ;;
   2705 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2706 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2707    { (exit 1); exit 1; }; };;
   2708 esac
   2709 build=$ac_cv_build
   2710 ac_save_IFS=$IFS; IFS='-'
   2711 set x $ac_cv_build
   2712 shift
   2713 build_cpu=$1
   2714 build_vendor=$2
   2715 shift; shift
   2716 # Remember, the first character of IFS is used to create $*,
   2717 # except with old shells:
   2718 build_os=$*
   2719 IFS=$ac_save_IFS
   2720 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2721 
   2722 
   2723 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2724 $as_echo_n "checking host system type... " >&6; }
   2725 if test "${ac_cv_host+set}" = set; then
   2726   $as_echo_n "(cached) " >&6
   2727 else
   2728   if test "x$host_alias" = x; then
   2729   ac_cv_host=$ac_cv_build
   2730 else
   2731   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2732     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2733 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2734    { (exit 1); exit 1; }; }
   2735 fi
   2736 
   2737 fi
   2738 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2739 $as_echo "$ac_cv_host" >&6; }
   2740 case $ac_cv_host in
   2741 *-*-*) ;;
   2742 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2743 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2744    { (exit 1); exit 1; }; };;
   2745 esac
   2746 host=$ac_cv_host
   2747 ac_save_IFS=$IFS; IFS='-'
   2748 set x $ac_cv_host
   2749 shift
   2750 host_cpu=$1
   2751 host_vendor=$2
   2752 shift; shift
   2753 # Remember, the first character of IFS is used to create $*,
   2754 # except with old shells:
   2755 host_os=$*
   2756 IFS=$ac_save_IFS
   2757 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2758 
   2759 
   2760 DEPDIR="${am__leading_dot}deps"
   2761 
   2762 ac_config_commands="$ac_config_commands depfiles"
   2763 
   2764 
   2765 am_make=${MAKE-make}
   2766 cat > confinc << 'END'
   2767 am__doit:
   2768 	@echo done
   2769 .PHONY: am__doit
   2770 END
   2771 # If we don't find an include directive, just comment out the code.
   2772 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2773 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2774 am__include="#"
   2775 am__quote=
   2776 _am_result=none
   2777 # First try GNU make style include.
   2778 echo "include confinc" > confmf
   2779 # We grep out `Entering directory' and `Leaving directory'
   2780 # messages which can occur if `w' ends up in MAKEFLAGS.
   2781 # In particular we don't look at `^make:' because GNU make might
   2782 # be invoked under some other name (usually "gmake"), in which
   2783 # case it prints its new name instead of `make'.
   2784 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2785    am__include=include
   2786    am__quote=
   2787    _am_result=GNU
   2788 fi
   2789 # Now try BSD make style include.
   2790 if test "$am__include" = "#"; then
   2791    echo '.include "confinc"' > confmf
   2792    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2793       am__include=.include
   2794       am__quote="\""
   2795       _am_result=BSD
   2796    fi
   2797 fi
   2798 
   2799 
   2800 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2801 $as_echo "$_am_result" >&6; }
   2802 rm -f confinc confmf
   2803 
   2804 # Check whether --enable-dependency-tracking was given.
   2805 if test "${enable_dependency_tracking+set}" = set; then
   2806   enableval=$enable_dependency_tracking;
   2807 fi
   2808 
   2809 if test "x$enable_dependency_tracking" != xno; then
   2810   am_depcomp="$ac_aux_dir/depcomp"
   2811   AMDEPBACKSLASH='\'
   2812 fi
   2813  if test "x$enable_dependency_tracking" != xno; then
   2814   AMDEP_TRUE=
   2815   AMDEP_FALSE='#'
   2816 else
   2817   AMDEP_TRUE='#'
   2818   AMDEP_FALSE=
   2819 fi
   2820 
   2821 
   2822 ac_ext=c
   2823 ac_cpp='$CPP $CPPFLAGS'
   2824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2827 if test -n "$ac_tool_prefix"; then
   2828   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2829 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2830 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2831 $as_echo_n "checking for $ac_word... " >&6; }
   2832 if test "${ac_cv_prog_CC+set}" = set; then
   2833   $as_echo_n "(cached) " >&6
   2834 else
   2835   if test -n "$CC"; then
   2836   ac_cv_prog_CC="$CC" # Let the user override the test.
   2837 else
   2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2839 for as_dir in $PATH
   2840 do
   2841   IFS=$as_save_IFS
   2842   test -z "$as_dir" && as_dir=.
   2843   for ac_exec_ext in '' $ac_executable_extensions; do
   2844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2845     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2846     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2847     break 2
   2848   fi
   2849 done
   2850 done
   2851 IFS=$as_save_IFS
   2852 
   2853 fi
   2854 fi
   2855 CC=$ac_cv_prog_CC
   2856 if test -n "$CC"; then
   2857   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2858 $as_echo "$CC" >&6; }
   2859 else
   2860   { $as_echo "$as_me:$LINENO: result: no" >&5
   2861 $as_echo "no" >&6; }
   2862 fi
   2863 
   2864 
   2865 fi
   2866 if test -z "$ac_cv_prog_CC"; then
   2867   ac_ct_CC=$CC
   2868   # Extract the first word of "gcc", so it can be a program name with args.
   2869 set dummy gcc; ac_word=$2
   2870 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2871 $as_echo_n "checking for $ac_word... " >&6; }
   2872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2873   $as_echo_n "(cached) " >&6
   2874 else
   2875   if test -n "$ac_ct_CC"; then
   2876   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2877 else
   2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2879 for as_dir in $PATH
   2880 do
   2881   IFS=$as_save_IFS
   2882   test -z "$as_dir" && as_dir=.
   2883   for ac_exec_ext in '' $ac_executable_extensions; do
   2884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2885     ac_cv_prog_ac_ct_CC="gcc"
   2886     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2887     break 2
   2888   fi
   2889 done
   2890 done
   2891 IFS=$as_save_IFS
   2892 
   2893 fi
   2894 fi
   2895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2896 if test -n "$ac_ct_CC"; then
   2897   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2898 $as_echo "$ac_ct_CC" >&6; }
   2899 else
   2900   { $as_echo "$as_me:$LINENO: result: no" >&5
   2901 $as_echo "no" >&6; }
   2902 fi
   2903 
   2904   if test "x$ac_ct_CC" = x; then
   2905     CC=""
   2906   else
   2907     case $cross_compiling:$ac_tool_warned in
   2908 yes:)
   2909 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2911 ac_tool_warned=yes ;;
   2912 esac
   2913     CC=$ac_ct_CC
   2914   fi
   2915 else
   2916   CC="$ac_cv_prog_CC"
   2917 fi
   2918 
   2919 if test -z "$CC"; then
   2920           if test -n "$ac_tool_prefix"; then
   2921     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2922 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2923 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2924 $as_echo_n "checking for $ac_word... " >&6; }
   2925 if test "${ac_cv_prog_CC+set}" = set; then
   2926   $as_echo_n "(cached) " >&6
   2927 else
   2928   if test -n "$CC"; then
   2929   ac_cv_prog_CC="$CC" # Let the user override the test.
   2930 else
   2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2932 for as_dir in $PATH
   2933 do
   2934   IFS=$as_save_IFS
   2935   test -z "$as_dir" && as_dir=.
   2936   for ac_exec_ext in '' $ac_executable_extensions; do
   2937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2938     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2939     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2940     break 2
   2941   fi
   2942 done
   2943 done
   2944 IFS=$as_save_IFS
   2945 
   2946 fi
   2947 fi
   2948 CC=$ac_cv_prog_CC
   2949 if test -n "$CC"; then
   2950   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2951 $as_echo "$CC" >&6; }
   2952 else
   2953   { $as_echo "$as_me:$LINENO: result: no" >&5
   2954 $as_echo "no" >&6; }
   2955 fi
   2956 
   2957 
   2958   fi
   2959 fi
   2960 if test -z "$CC"; then
   2961   # Extract the first word of "cc", so it can be a program name with args.
   2962 set dummy cc; ac_word=$2
   2963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2964 $as_echo_n "checking for $ac_word... " >&6; }
   2965 if test "${ac_cv_prog_CC+set}" = set; then
   2966   $as_echo_n "(cached) " >&6
   2967 else
   2968   if test -n "$CC"; then
   2969   ac_cv_prog_CC="$CC" # Let the user override the test.
   2970 else
   2971   ac_prog_rejected=no
   2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2973 for as_dir in $PATH
   2974 do
   2975   IFS=$as_save_IFS
   2976   test -z "$as_dir" && as_dir=.
   2977   for ac_exec_ext in '' $ac_executable_extensions; do
   2978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2979     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2980        ac_prog_rejected=yes
   2981        continue
   2982      fi
   2983     ac_cv_prog_CC="cc"
   2984     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2985     break 2
   2986   fi
   2987 done
   2988 done
   2989 IFS=$as_save_IFS
   2990 
   2991 if test $ac_prog_rejected = yes; then
   2992   # We found a bogon in the path, so make sure we never use it.
   2993   set dummy $ac_cv_prog_CC
   2994   shift
   2995   if test $# != 0; then
   2996     # We chose a different compiler from the bogus one.
   2997     # However, it has the same basename, so the bogon will be chosen
   2998     # first if we set CC to just the basename; use the full file name.
   2999     shift
   3000     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3001   fi
   3002 fi
   3003 fi
   3004 fi
   3005 CC=$ac_cv_prog_CC
   3006 if test -n "$CC"; then
   3007   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3008 $as_echo "$CC" >&6; }
   3009 else
   3010   { $as_echo "$as_me:$LINENO: result: no" >&5
   3011 $as_echo "no" >&6; }
   3012 fi
   3013 
   3014 
   3015 fi
   3016 if test -z "$CC"; then
   3017   if test -n "$ac_tool_prefix"; then
   3018   for ac_prog in cl.exe
   3019   do
   3020     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3021 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3022 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3023 $as_echo_n "checking for $ac_word... " >&6; }
   3024 if test "${ac_cv_prog_CC+set}" = set; then
   3025   $as_echo_n "(cached) " >&6
   3026 else
   3027   if test -n "$CC"; then
   3028   ac_cv_prog_CC="$CC" # Let the user override the test.
   3029 else
   3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH
   3032 do
   3033   IFS=$as_save_IFS
   3034   test -z "$as_dir" && as_dir=.
   3035   for ac_exec_ext in '' $ac_executable_extensions; do
   3036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3037     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3038     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3039     break 2
   3040   fi
   3041 done
   3042 done
   3043 IFS=$as_save_IFS
   3044 
   3045 fi
   3046 fi
   3047 CC=$ac_cv_prog_CC
   3048 if test -n "$CC"; then
   3049   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3050 $as_echo "$CC" >&6; }
   3051 else
   3052   { $as_echo "$as_me:$LINENO: result: no" >&5
   3053 $as_echo "no" >&6; }
   3054 fi
   3055 
   3056 
   3057     test -n "$CC" && break
   3058   done
   3059 fi
   3060 if test -z "$CC"; then
   3061   ac_ct_CC=$CC
   3062   for ac_prog in cl.exe
   3063 do
   3064   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3065 set dummy $ac_prog; ac_word=$2
   3066 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3067 $as_echo_n "checking for $ac_word... " >&6; }
   3068 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3069   $as_echo_n "(cached) " >&6
   3070 else
   3071   if test -n "$ac_ct_CC"; then
   3072   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3073 else
   3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3075 for as_dir in $PATH
   3076 do
   3077   IFS=$as_save_IFS
   3078   test -z "$as_dir" && as_dir=.
   3079   for ac_exec_ext in '' $ac_executable_extensions; do
   3080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3081     ac_cv_prog_ac_ct_CC="$ac_prog"
   3082     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3083     break 2
   3084   fi
   3085 done
   3086 done
   3087 IFS=$as_save_IFS
   3088 
   3089 fi
   3090 fi
   3091 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3092 if test -n "$ac_ct_CC"; then
   3093   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3094 $as_echo "$ac_ct_CC" >&6; }
   3095 else
   3096   { $as_echo "$as_me:$LINENO: result: no" >&5
   3097 $as_echo "no" >&6; }
   3098 fi
   3099 
   3100 
   3101   test -n "$ac_ct_CC" && break
   3102 done
   3103 
   3104   if test "x$ac_ct_CC" = x; then
   3105     CC=""
   3106   else
   3107     case $cross_compiling:$ac_tool_warned in
   3108 yes:)
   3109 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3111 ac_tool_warned=yes ;;
   3112 esac
   3113     CC=$ac_ct_CC
   3114   fi
   3115 fi
   3116 
   3117 fi
   3118 
   3119 
   3120 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3122 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3123 See \`config.log' for more details." >&5
   3124 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3125 See \`config.log' for more details." >&2;}
   3126    { (exit 1); exit 1; }; }; }
   3127 
   3128 # Provide some information about the compiler.
   3129 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3130 set X $ac_compile
   3131 ac_compiler=$2
   3132 { (ac_try="$ac_compiler --version >&5"
   3133 case "(($ac_try" in
   3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3135   *) ac_try_echo=$ac_try;;
   3136 esac
   3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3138 $as_echo "$ac_try_echo") >&5
   3139   (eval "$ac_compiler --version >&5") 2>&5
   3140   ac_status=$?
   3141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142   (exit $ac_status); }
   3143 { (ac_try="$ac_compiler -v >&5"
   3144 case "(($ac_try" in
   3145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3146   *) ac_try_echo=$ac_try;;
   3147 esac
   3148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3149 $as_echo "$ac_try_echo") >&5
   3150   (eval "$ac_compiler -v >&5") 2>&5
   3151   ac_status=$?
   3152   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3153   (exit $ac_status); }
   3154 { (ac_try="$ac_compiler -V >&5"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3160 $as_echo "$ac_try_echo") >&5
   3161   (eval "$ac_compiler -V >&5") 2>&5
   3162   ac_status=$?
   3163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3164   (exit $ac_status); }
   3165 
   3166 cat >conftest.$ac_ext <<_ACEOF
   3167 /* confdefs.h.  */
   3168 _ACEOF
   3169 cat confdefs.h >>conftest.$ac_ext
   3170 cat >>conftest.$ac_ext <<_ACEOF
   3171 /* end confdefs.h.  */
   3172 
   3173 int
   3174 main ()
   3175 {
   3176 
   3177   ;
   3178   return 0;
   3179 }
   3180 _ACEOF
   3181 ac_clean_files_save=$ac_clean_files
   3182 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3183 # Try to create an executable without -o first, disregard a.out.
   3184 # It will help us diagnose broken compilers, and finding out an intuition
   3185 # of exeext.
   3186 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3187 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3188 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3189 
   3190 # The possible output files:
   3191 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3192 
   3193 ac_rmfiles=
   3194 for ac_file in $ac_files
   3195 do
   3196   case $ac_file in
   3197     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3198     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3199   esac
   3200 done
   3201 rm -f $ac_rmfiles
   3202 
   3203 if { (ac_try="$ac_link_default"
   3204 case "(($ac_try" in
   3205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3206   *) ac_try_echo=$ac_try;;
   3207 esac
   3208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3209 $as_echo "$ac_try_echo") >&5
   3210   (eval "$ac_link_default") 2>&5
   3211   ac_status=$?
   3212   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3213   (exit $ac_status); }; then
   3214   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3215 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3216 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3217 # so that the user can short-circuit this test for compilers unknown to
   3218 # Autoconf.
   3219 for ac_file in $ac_files ''
   3220 do
   3221   test -f "$ac_file" || continue
   3222   case $ac_file in
   3223     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3224 	;;
   3225     [ab].out )
   3226 	# We found the default executable, but exeext='' is most
   3227 	# certainly right.
   3228 	break;;
   3229     *.* )
   3230         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3231 	then :; else
   3232 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3233 	fi
   3234 	# We set ac_cv_exeext here because the later test for it is not
   3235 	# safe: cross compilers may not add the suffix if given an `-o'
   3236 	# argument, so we may need to know it at that point already.
   3237 	# Even if this section looks crufty: it has the advantage of
   3238 	# actually working.
   3239 	break;;
   3240     * )
   3241 	break;;
   3242   esac
   3243 done
   3244 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3245 
   3246 else
   3247   ac_file=''
   3248 fi
   3249 
   3250 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3251 $as_echo "$ac_file" >&6; }
   3252 if test -z "$ac_file"; then
   3253   $as_echo "$as_me: failed program was:" >&5
   3254 sed 's/^/| /' conftest.$ac_ext >&5
   3255 
   3256 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3258 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3259 See \`config.log' for more details." >&5
   3260 $as_echo "$as_me: error: C compiler cannot create executables
   3261 See \`config.log' for more details." >&2;}
   3262    { (exit 77); exit 77; }; }; }
   3263 fi
   3264 
   3265 ac_exeext=$ac_cv_exeext
   3266 
   3267 # Check that the compiler produces executables we can run.  If not, either
   3268 # the compiler is broken, or we cross compile.
   3269 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3270 $as_echo_n "checking whether the C compiler works... " >&6; }
   3271 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3272 # If not cross compiling, check that we can run a simple program.
   3273 if test "$cross_compiling" != yes; then
   3274   if { ac_try='./$ac_file'
   3275   { (case "(($ac_try" in
   3276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3277   *) ac_try_echo=$ac_try;;
   3278 esac
   3279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3280 $as_echo "$ac_try_echo") >&5
   3281   (eval "$ac_try") 2>&5
   3282   ac_status=$?
   3283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3284   (exit $ac_status); }; }; then
   3285     cross_compiling=no
   3286   else
   3287     if test "$cross_compiling" = maybe; then
   3288 	cross_compiling=yes
   3289     else
   3290 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3292 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3293 If you meant to cross compile, use \`--host'.
   3294 See \`config.log' for more details." >&5
   3295 $as_echo "$as_me: error: cannot run C compiled programs.
   3296 If you meant to cross compile, use \`--host'.
   3297 See \`config.log' for more details." >&2;}
   3298    { (exit 1); exit 1; }; }; }
   3299     fi
   3300   fi
   3301 fi
   3302 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3303 $as_echo "yes" >&6; }
   3304 
   3305 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3306 ac_clean_files=$ac_clean_files_save
   3307 # Check that the compiler produces executables we can run.  If not, either
   3308 # the compiler is broken, or we cross compile.
   3309 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3310 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3311 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3312 $as_echo "$cross_compiling" >&6; }
   3313 
   3314 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3315 $as_echo_n "checking for suffix of executables... " >&6; }
   3316 if { (ac_try="$ac_link"
   3317 case "(($ac_try" in
   3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3319   *) ac_try_echo=$ac_try;;
   3320 esac
   3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3322 $as_echo "$ac_try_echo") >&5
   3323   (eval "$ac_link") 2>&5
   3324   ac_status=$?
   3325   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3326   (exit $ac_status); }; then
   3327   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3328 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3329 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3330 # `rm'.
   3331 for ac_file in conftest.exe conftest conftest.*; do
   3332   test -f "$ac_file" || continue
   3333   case $ac_file in
   3334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3335     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3336 	  break;;
   3337     * ) break;;
   3338   esac
   3339 done
   3340 else
   3341   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3343 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3344 See \`config.log' for more details." >&5
   3345 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3346 See \`config.log' for more details." >&2;}
   3347    { (exit 1); exit 1; }; }; }
   3348 fi
   3349 
   3350 rm -f conftest$ac_cv_exeext
   3351 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3352 $as_echo "$ac_cv_exeext" >&6; }
   3353 
   3354 rm -f conftest.$ac_ext
   3355 EXEEXT=$ac_cv_exeext
   3356 ac_exeext=$EXEEXT
   3357 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3358 $as_echo_n "checking for suffix of object files... " >&6; }
   3359 if test "${ac_cv_objext+set}" = set; then
   3360   $as_echo_n "(cached) " >&6
   3361 else
   3362   cat >conftest.$ac_ext <<_ACEOF
   3363 /* confdefs.h.  */
   3364 _ACEOF
   3365 cat confdefs.h >>conftest.$ac_ext
   3366 cat >>conftest.$ac_ext <<_ACEOF
   3367 /* end confdefs.h.  */
   3368 
   3369 int
   3370 main ()
   3371 {
   3372 
   3373   ;
   3374   return 0;
   3375 }
   3376 _ACEOF
   3377 rm -f conftest.o conftest.obj
   3378 if { (ac_try="$ac_compile"
   3379 case "(($ac_try" in
   3380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3381   *) ac_try_echo=$ac_try;;
   3382 esac
   3383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3384 $as_echo "$ac_try_echo") >&5
   3385   (eval "$ac_compile") 2>&5
   3386   ac_status=$?
   3387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3388   (exit $ac_status); }; then
   3389   for ac_file in conftest.o conftest.obj conftest.*; do
   3390   test -f "$ac_file" || continue;
   3391   case $ac_file in
   3392     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3393     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3394        break;;
   3395   esac
   3396 done
   3397 else
   3398   $as_echo "$as_me: failed program was:" >&5
   3399 sed 's/^/| /' conftest.$ac_ext >&5
   3400 
   3401 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3403 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3404 See \`config.log' for more details." >&5
   3405 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3406 See \`config.log' for more details." >&2;}
   3407    { (exit 1); exit 1; }; }; }
   3408 fi
   3409 
   3410 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3411 fi
   3412 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3413 $as_echo "$ac_cv_objext" >&6; }
   3414 OBJEXT=$ac_cv_objext
   3415 ac_objext=$OBJEXT
   3416 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3417 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3418 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3419   $as_echo_n "(cached) " >&6
   3420 else
   3421   cat >conftest.$ac_ext <<_ACEOF
   3422 /* confdefs.h.  */
   3423 _ACEOF
   3424 cat confdefs.h >>conftest.$ac_ext
   3425 cat >>conftest.$ac_ext <<_ACEOF
   3426 /* end confdefs.h.  */
   3427 
   3428 int
   3429 main ()
   3430 {
   3431 #ifndef __GNUC__
   3432        choke me
   3433 #endif
   3434 
   3435   ;
   3436   return 0;
   3437 }
   3438 _ACEOF
   3439 rm -f conftest.$ac_objext
   3440 if { (ac_try="$ac_compile"
   3441 case "(($ac_try" in
   3442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3443   *) ac_try_echo=$ac_try;;
   3444 esac
   3445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3446 $as_echo "$ac_try_echo") >&5
   3447   (eval "$ac_compile") 2>conftest.er1
   3448   ac_status=$?
   3449   grep -v '^ *+' conftest.er1 >conftest.err
   3450   rm -f conftest.er1
   3451   cat conftest.err >&5
   3452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3453   (exit $ac_status); } && {
   3454 	 test -z "$ac_c_werror_flag" ||
   3455 	 test ! -s conftest.err
   3456        } && test -s conftest.$ac_objext; then
   3457   ac_compiler_gnu=yes
   3458 else
   3459   $as_echo "$as_me: failed program was:" >&5
   3460 sed 's/^/| /' conftest.$ac_ext >&5
   3461 
   3462 	ac_compiler_gnu=no
   3463 fi
   3464 
   3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3467 
   3468 fi
   3469 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3470 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3471 if test $ac_compiler_gnu = yes; then
   3472   GCC=yes
   3473 else
   3474   GCC=
   3475 fi
   3476 ac_test_CFLAGS=${CFLAGS+set}
   3477 ac_save_CFLAGS=$CFLAGS
   3478 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3479 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3480 if test "${ac_cv_prog_cc_g+set}" = set; then
   3481   $as_echo_n "(cached) " >&6
   3482 else
   3483   ac_save_c_werror_flag=$ac_c_werror_flag
   3484    ac_c_werror_flag=yes
   3485    ac_cv_prog_cc_g=no
   3486    CFLAGS="-g"
   3487    cat >conftest.$ac_ext <<_ACEOF
   3488 /* confdefs.h.  */
   3489 _ACEOF
   3490 cat confdefs.h >>conftest.$ac_ext
   3491 cat >>conftest.$ac_ext <<_ACEOF
   3492 /* end confdefs.h.  */
   3493 
   3494 int
   3495 main ()
   3496 {
   3497 
   3498   ;
   3499   return 0;
   3500 }
   3501 _ACEOF
   3502 rm -f conftest.$ac_objext
   3503 if { (ac_try="$ac_compile"
   3504 case "(($ac_try" in
   3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3506   *) ac_try_echo=$ac_try;;
   3507 esac
   3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3509 $as_echo "$ac_try_echo") >&5
   3510   (eval "$ac_compile") 2>conftest.er1
   3511   ac_status=$?
   3512   grep -v '^ *+' conftest.er1 >conftest.err
   3513   rm -f conftest.er1
   3514   cat conftest.err >&5
   3515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3516   (exit $ac_status); } && {
   3517 	 test -z "$ac_c_werror_flag" ||
   3518 	 test ! -s conftest.err
   3519        } && test -s conftest.$ac_objext; then
   3520   ac_cv_prog_cc_g=yes
   3521 else
   3522   $as_echo "$as_me: failed program was:" >&5
   3523 sed 's/^/| /' conftest.$ac_ext >&5
   3524 
   3525 	CFLAGS=""
   3526       cat >conftest.$ac_ext <<_ACEOF
   3527 /* confdefs.h.  */
   3528 _ACEOF
   3529 cat confdefs.h >>conftest.$ac_ext
   3530 cat >>conftest.$ac_ext <<_ACEOF
   3531 /* end confdefs.h.  */
   3532 
   3533 int
   3534 main ()
   3535 {
   3536 
   3537   ;
   3538   return 0;
   3539 }
   3540 _ACEOF
   3541 rm -f conftest.$ac_objext
   3542 if { (ac_try="$ac_compile"
   3543 case "(($ac_try" in
   3544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3545   *) ac_try_echo=$ac_try;;
   3546 esac
   3547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3548 $as_echo "$ac_try_echo") >&5
   3549   (eval "$ac_compile") 2>conftest.er1
   3550   ac_status=$?
   3551   grep -v '^ *+' conftest.er1 >conftest.err
   3552   rm -f conftest.er1
   3553   cat conftest.err >&5
   3554   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3555   (exit $ac_status); } && {
   3556 	 test -z "$ac_c_werror_flag" ||
   3557 	 test ! -s conftest.err
   3558        } && test -s conftest.$ac_objext; then
   3559   :
   3560 else
   3561   $as_echo "$as_me: failed program was:" >&5
   3562 sed 's/^/| /' conftest.$ac_ext >&5
   3563 
   3564 	ac_c_werror_flag=$ac_save_c_werror_flag
   3565 	 CFLAGS="-g"
   3566 	 cat >conftest.$ac_ext <<_ACEOF
   3567 /* confdefs.h.  */
   3568 _ACEOF
   3569 cat confdefs.h >>conftest.$ac_ext
   3570 cat >>conftest.$ac_ext <<_ACEOF
   3571 /* end confdefs.h.  */
   3572 
   3573 int
   3574 main ()
   3575 {
   3576 
   3577   ;
   3578   return 0;
   3579 }
   3580 _ACEOF
   3581 rm -f conftest.$ac_objext
   3582 if { (ac_try="$ac_compile"
   3583 case "(($ac_try" in
   3584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3585   *) ac_try_echo=$ac_try;;
   3586 esac
   3587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3588 $as_echo "$ac_try_echo") >&5
   3589   (eval "$ac_compile") 2>conftest.er1
   3590   ac_status=$?
   3591   grep -v '^ *+' conftest.er1 >conftest.err
   3592   rm -f conftest.er1
   3593   cat conftest.err >&5
   3594   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3595   (exit $ac_status); } && {
   3596 	 test -z "$ac_c_werror_flag" ||
   3597 	 test ! -s conftest.err
   3598        } && test -s conftest.$ac_objext; then
   3599   ac_cv_prog_cc_g=yes
   3600 else
   3601   $as_echo "$as_me: failed program was:" >&5
   3602 sed 's/^/| /' conftest.$ac_ext >&5
   3603 
   3604 
   3605 fi
   3606 
   3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3608 fi
   3609 
   3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3611 fi
   3612 
   3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3614    ac_c_werror_flag=$ac_save_c_werror_flag
   3615 fi
   3616 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3617 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3618 if test "$ac_test_CFLAGS" = set; then
   3619   CFLAGS=$ac_save_CFLAGS
   3620 elif test $ac_cv_prog_cc_g = yes; then
   3621   if test "$GCC" = yes; then
   3622     CFLAGS="-g -O2"
   3623   else
   3624     CFLAGS="-g"
   3625   fi
   3626 else
   3627   if test "$GCC" = yes; then
   3628     CFLAGS="-O2"
   3629   else
   3630     CFLAGS=
   3631   fi
   3632 fi
   3633 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3634 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3635 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3636   $as_echo_n "(cached) " >&6
   3637 else
   3638   ac_cv_prog_cc_c89=no
   3639 ac_save_CC=$CC
   3640 cat >conftest.$ac_ext <<_ACEOF
   3641 /* confdefs.h.  */
   3642 _ACEOF
   3643 cat confdefs.h >>conftest.$ac_ext
   3644 cat >>conftest.$ac_ext <<_ACEOF
   3645 /* end confdefs.h.  */
   3646 #include <stdarg.h>
   3647 #include <stdio.h>
   3648 #include <sys/types.h>
   3649 #include <sys/stat.h>
   3650 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3651 struct buf { int x; };
   3652 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3653 static char *e (p, i)
   3654      char **p;
   3655      int i;
   3656 {
   3657   return p[i];
   3658 }
   3659 static char *f (char * (*g) (char **, int), char **p, ...)
   3660 {
   3661   char *s;
   3662   va_list v;
   3663   va_start (v,p);
   3664   s = g (p, va_arg (v,int));
   3665   va_end (v);
   3666   return s;
   3667 }
   3668 
   3669 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3670    function prototypes and stuff, but not '\xHH' hex character constants.
   3671    These don't provoke an error unfortunately, instead are silently treated
   3672    as 'x'.  The following induces an error, until -std is added to get
   3673    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3674    array size at least.  It's necessary to write '\x00'==0 to get something
   3675    that's true only with -std.  */
   3676 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3677 
   3678 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3679    inside strings and character constants.  */
   3680 #define FOO(x) 'x'
   3681 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3682 
   3683 int test (int i, double x);
   3684 struct s1 {int (*f) (int a);};
   3685 struct s2 {int (*f) (double a);};
   3686 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3687 int argc;
   3688 char **argv;
   3689 int
   3690 main ()
   3691 {
   3692 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3693   ;
   3694   return 0;
   3695 }
   3696 _ACEOF
   3697 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3698 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3699 do
   3700   CC="$ac_save_CC $ac_arg"
   3701   rm -f conftest.$ac_objext
   3702 if { (ac_try="$ac_compile"
   3703 case "(($ac_try" in
   3704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3705   *) ac_try_echo=$ac_try;;
   3706 esac
   3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3708 $as_echo "$ac_try_echo") >&5
   3709   (eval "$ac_compile") 2>conftest.er1
   3710   ac_status=$?
   3711   grep -v '^ *+' conftest.er1 >conftest.err
   3712   rm -f conftest.er1
   3713   cat conftest.err >&5
   3714   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3715   (exit $ac_status); } && {
   3716 	 test -z "$ac_c_werror_flag" ||
   3717 	 test ! -s conftest.err
   3718        } && test -s conftest.$ac_objext; then
   3719   ac_cv_prog_cc_c89=$ac_arg
   3720 else
   3721   $as_echo "$as_me: failed program was:" >&5
   3722 sed 's/^/| /' conftest.$ac_ext >&5
   3723 
   3724 
   3725 fi
   3726 
   3727 rm -f core conftest.err conftest.$ac_objext
   3728   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3729 done
   3730 rm -f conftest.$ac_ext
   3731 CC=$ac_save_CC
   3732 
   3733 fi
   3734 # AC_CACHE_VAL
   3735 case "x$ac_cv_prog_cc_c89" in
   3736   x)
   3737     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3738 $as_echo "none needed" >&6; } ;;
   3739   xno)
   3740     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3741 $as_echo "unsupported" >&6; } ;;
   3742   *)
   3743     CC="$CC $ac_cv_prog_cc_c89"
   3744     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3745 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3746 esac
   3747 
   3748 
   3749 ac_ext=c
   3750 ac_cpp='$CPP $CPPFLAGS'
   3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3754 
   3755 depcc="$CC"   am_compiler_list=
   3756 
   3757 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3758 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3759 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3760   $as_echo_n "(cached) " >&6
   3761 else
   3762   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3763   # We make a subdir and do the tests there.  Otherwise we can end up
   3764   # making bogus files that we don't know about and never remove.  For
   3765   # instance it was reported that on HP-UX the gcc test will end up
   3766   # making a dummy file named `D' -- because `-MD' means `put the output
   3767   # in D'.
   3768   mkdir conftest.dir
   3769   # Copy depcomp to subdir because otherwise we won't find it if we're
   3770   # using a relative directory.
   3771   cp "$am_depcomp" conftest.dir
   3772   cd conftest.dir
   3773   # We will build objects and dependencies in a subdirectory because
   3774   # it helps to detect inapplicable dependency modes.  For instance
   3775   # both Tru64's cc and ICC support -MD to output dependencies as a
   3776   # side effect of compilation, but ICC will put the dependencies in
   3777   # the current directory while Tru64 will put them in the object
   3778   # directory.
   3779   mkdir sub
   3780 
   3781   am_cv_CC_dependencies_compiler_type=none
   3782   if test "$am_compiler_list" = ""; then
   3783      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3784   fi
   3785   for depmode in $am_compiler_list; do
   3786     # Setup a source with many dependencies, because some compilers
   3787     # like to wrap large dependency lists on column 80 (with \), and
   3788     # we should not choose a depcomp mode which is confused by this.
   3789     #
   3790     # We need to recreate these files for each test, as the compiler may
   3791     # overwrite some of them when testing with obscure command lines.
   3792     # This happens at least with the AIX C compiler.
   3793     : > sub/conftest.c
   3794     for i in 1 2 3 4 5 6; do
   3795       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3796       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3797       # Solaris 8's {/usr,}/bin/sh.
   3798       touch sub/conftst$i.h
   3799     done
   3800     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3801 
   3802     case $depmode in
   3803     nosideeffect)
   3804       # after this tag, mechanisms are not by side-effect, so they'll
   3805       # only be used when explicitly requested
   3806       if test "x$enable_dependency_tracking" = xyes; then
   3807 	continue
   3808       else
   3809 	break
   3810       fi
   3811       ;;
   3812     none) break ;;
   3813     esac
   3814     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3815     # mode.  It turns out that the SunPro C++ compiler does not properly
   3816     # handle `-M -o', and we need to detect this.
   3817     if depmode=$depmode \
   3818        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3819        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3820        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3821          >/dev/null 2>conftest.err &&
   3822        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3823        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3824        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3825        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3826       # icc doesn't choke on unknown options, it will just issue warnings
   3827       # or remarks (even with -Werror).  So we grep stderr for any message
   3828       # that says an option was ignored or not supported.
   3829       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3830       #   icc: Command line warning: ignoring option '-M'; no argument required
   3831       # The diagnosis changed in icc 8.0:
   3832       #   icc: Command line remark: option '-MP' not supported
   3833       if (grep 'ignoring option' conftest.err ||
   3834           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3835         am_cv_CC_dependencies_compiler_type=$depmode
   3836         break
   3837       fi
   3838     fi
   3839   done
   3840 
   3841   cd ..
   3842   rm -rf conftest.dir
   3843 else
   3844   am_cv_CC_dependencies_compiler_type=none
   3845 fi
   3846 
   3847 fi
   3848 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3849 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3851 
   3852  if
   3853   test "x$enable_dependency_tracking" != xno \
   3854   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3855   am__fastdepCC_TRUE=
   3856   am__fastdepCC_FALSE='#'
   3857 else
   3858   am__fastdepCC_TRUE='#'
   3859   am__fastdepCC_FALSE=
   3860 fi
   3861 
   3862 
   3863 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3864 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3865 if test "${lt_cv_path_SED+set}" = set; then
   3866   $as_echo_n "(cached) " >&6
   3867 else
   3868   # Loop through the user's path and test for sed and gsed.
   3869 # Then use that list of sed's as ones to test for truncation.
   3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3871 for as_dir in $PATH
   3872 do
   3873   IFS=$as_save_IFS
   3874   test -z "$as_dir" && as_dir=.
   3875   for lt_ac_prog in sed gsed; do
   3876     for ac_exec_ext in '' $ac_executable_extensions; do
   3877       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3878         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3879       fi
   3880     done
   3881   done
   3882 done
   3883 IFS=$as_save_IFS
   3884 lt_ac_max=0
   3885 lt_ac_count=0
   3886 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3887 # along with /bin/sed that truncates output.
   3888 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3889   test ! -f $lt_ac_sed && continue
   3890   cat /dev/null > conftest.in
   3891   lt_ac_count=0
   3892   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3893   # Check for GNU sed and select it if it is found.
   3894   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3895     lt_cv_path_SED=$lt_ac_sed
   3896     break
   3897   fi
   3898   while true; do
   3899     cat conftest.in conftest.in >conftest.tmp
   3900     mv conftest.tmp conftest.in
   3901     cp conftest.in conftest.nl
   3902     echo >>conftest.nl
   3903     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3904     cmp -s conftest.out conftest.nl || break
   3905     # 10000 chars as input seems more than enough
   3906     test $lt_ac_count -gt 10 && break
   3907     lt_ac_count=`expr $lt_ac_count + 1`
   3908     if test $lt_ac_count -gt $lt_ac_max; then
   3909       lt_ac_max=$lt_ac_count
   3910       lt_cv_path_SED=$lt_ac_sed
   3911     fi
   3912   done
   3913 done
   3914 
   3915 fi
   3916 
   3917 SED=$lt_cv_path_SED
   3918 
   3919 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3920 $as_echo "$SED" >&6; }
   3921 
   3922 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3923 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3924 if test "${ac_cv_path_GREP+set}" = set; then
   3925   $as_echo_n "(cached) " >&6
   3926 else
   3927   if test -z "$GREP"; then
   3928   ac_path_GREP_found=false
   3929   # Loop through the user's path and test for each of PROGNAME-LIST
   3930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3931 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3932 do
   3933   IFS=$as_save_IFS
   3934   test -z "$as_dir" && as_dir=.
   3935   for ac_prog in grep ggrep; do
   3936     for ac_exec_ext in '' $ac_executable_extensions; do
   3937       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3938       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3939 # Check for GNU ac_path_GREP and select it if it is found.
   3940   # Check for GNU $ac_path_GREP
   3941 case `"$ac_path_GREP" --version 2>&1` in
   3942 *GNU*)
   3943   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3944 *)
   3945   ac_count=0
   3946   $as_echo_n 0123456789 >"conftest.in"
   3947   while :
   3948   do
   3949     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3950     mv "conftest.tmp" "conftest.in"
   3951     cp "conftest.in" "conftest.nl"
   3952     $as_echo 'GREP' >> "conftest.nl"
   3953     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3954     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3955     ac_count=`expr $ac_count + 1`
   3956     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3957       # Best one so far, save it but keep looking for a better one
   3958       ac_cv_path_GREP="$ac_path_GREP"
   3959       ac_path_GREP_max=$ac_count
   3960     fi
   3961     # 10*(2^10) chars as input seems more than enough
   3962     test $ac_count -gt 10 && break
   3963   done
   3964   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3965 esac
   3966 
   3967       $ac_path_GREP_found && break 3
   3968     done
   3969   done
   3970 done
   3971 IFS=$as_save_IFS
   3972   if test -z "$ac_cv_path_GREP"; then
   3973     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3974 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3975    { (exit 1); exit 1; }; }
   3976   fi
   3977 else
   3978   ac_cv_path_GREP=$GREP
   3979 fi
   3980 
   3981 fi
   3982 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3983 $as_echo "$ac_cv_path_GREP" >&6; }
   3984  GREP="$ac_cv_path_GREP"
   3985 
   3986 
   3987 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3988 $as_echo_n "checking for egrep... " >&6; }
   3989 if test "${ac_cv_path_EGREP+set}" = set; then
   3990   $as_echo_n "(cached) " >&6
   3991 else
   3992   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3993    then ac_cv_path_EGREP="$GREP -E"
   3994    else
   3995      if test -z "$EGREP"; then
   3996   ac_path_EGREP_found=false
   3997   # Loop through the user's path and test for each of PROGNAME-LIST
   3998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4000 do
   4001   IFS=$as_save_IFS
   4002   test -z "$as_dir" && as_dir=.
   4003   for ac_prog in egrep; do
   4004     for ac_exec_ext in '' $ac_executable_extensions; do
   4005       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4006       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4007 # Check for GNU ac_path_EGREP and select it if it is found.
   4008   # Check for GNU $ac_path_EGREP
   4009 case `"$ac_path_EGREP" --version 2>&1` in
   4010 *GNU*)
   4011   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4012 *)
   4013   ac_count=0
   4014   $as_echo_n 0123456789 >"conftest.in"
   4015   while :
   4016   do
   4017     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4018     mv "conftest.tmp" "conftest.in"
   4019     cp "conftest.in" "conftest.nl"
   4020     $as_echo 'EGREP' >> "conftest.nl"
   4021     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4022     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4023     ac_count=`expr $ac_count + 1`
   4024     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4025       # Best one so far, save it but keep looking for a better one
   4026       ac_cv_path_EGREP="$ac_path_EGREP"
   4027       ac_path_EGREP_max=$ac_count
   4028     fi
   4029     # 10*(2^10) chars as input seems more than enough
   4030     test $ac_count -gt 10 && break
   4031   done
   4032   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4033 esac
   4034 
   4035       $ac_path_EGREP_found && break 3
   4036     done
   4037   done
   4038 done
   4039 IFS=$as_save_IFS
   4040   if test -z "$ac_cv_path_EGREP"; then
   4041     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4042 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4043    { (exit 1); exit 1; }; }
   4044   fi
   4045 else
   4046   ac_cv_path_EGREP=$EGREP
   4047 fi
   4048 
   4049    fi
   4050 fi
   4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4052 $as_echo "$ac_cv_path_EGREP" >&6; }
   4053  EGREP="$ac_cv_path_EGREP"
   4054 
   4055 
   4056 
   4057 # Check whether --with-gnu-ld was given.
   4058 if test "${with_gnu_ld+set}" = set; then
   4059   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4060 else
   4061   with_gnu_ld=no
   4062 fi
   4063 
   4064 ac_prog=ld
   4065 if test "$GCC" = yes; then
   4066   # Check if gcc -print-prog-name=ld gives a path.
   4067   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4068 $as_echo_n "checking for ld used by $CC... " >&6; }
   4069   case $host in
   4070   *-*-mingw*)
   4071     # gcc leaves a trailing carriage return which upsets mingw
   4072     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4073   *)
   4074     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4075   esac
   4076   case $ac_prog in
   4077     # Accept absolute paths.
   4078     [\\/]* | ?:[\\/]*)
   4079       re_direlt='/[^/][^/]*/\.\./'
   4080       # Canonicalize the pathname of ld
   4081       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4082       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4083 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4084       done
   4085       test -z "$LD" && LD="$ac_prog"
   4086       ;;
   4087   "")
   4088     # If it fails, then pretend we aren't using GCC.
   4089     ac_prog=ld
   4090     ;;
   4091   *)
   4092     # If it is relative, then search for the first ld in PATH.
   4093     with_gnu_ld=unknown
   4094     ;;
   4095   esac
   4096 elif test "$with_gnu_ld" = yes; then
   4097   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4098 $as_echo_n "checking for GNU ld... " >&6; }
   4099 else
   4100   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4101 $as_echo_n "checking for non-GNU ld... " >&6; }
   4102 fi
   4103 if test "${lt_cv_path_LD+set}" = set; then
   4104   $as_echo_n "(cached) " >&6
   4105 else
   4106   if test -z "$LD"; then
   4107   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4108   for ac_dir in $PATH; do
   4109     IFS="$lt_save_ifs"
   4110     test -z "$ac_dir" && ac_dir=.
   4111     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4112       lt_cv_path_LD="$ac_dir/$ac_prog"
   4113       # Check to see if the program is GNU ld.  I'd rather use --version,
   4114       # but apparently some variants of GNU ld only accept -v.
   4115       # Break only if it was the GNU/non-GNU ld that we prefer.
   4116       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4117       *GNU* | *'with BFD'*)
   4118 	test "$with_gnu_ld" != no && break
   4119 	;;
   4120       *)
   4121 	test "$with_gnu_ld" != yes && break
   4122 	;;
   4123       esac
   4124     fi
   4125   done
   4126   IFS="$lt_save_ifs"
   4127 else
   4128   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4129 fi
   4130 fi
   4131 
   4132 LD="$lt_cv_path_LD"
   4133 if test -n "$LD"; then
   4134   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4135 $as_echo "$LD" >&6; }
   4136 else
   4137   { $as_echo "$as_me:$LINENO: result: no" >&5
   4138 $as_echo "no" >&6; }
   4139 fi
   4140 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4141 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4142    { (exit 1); exit 1; }; }
   4143 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4144 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4145 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4146   $as_echo_n "(cached) " >&6
   4147 else
   4148   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4149 case `$LD -v 2>&1 </dev/null` in
   4150 *GNU* | *'with BFD'*)
   4151   lt_cv_prog_gnu_ld=yes
   4152   ;;
   4153 *)
   4154   lt_cv_prog_gnu_ld=no
   4155   ;;
   4156 esac
   4157 fi
   4158 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4159 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4160 with_gnu_ld=$lt_cv_prog_gnu_ld
   4161 
   4162 
   4163 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4164 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4165 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4166   $as_echo_n "(cached) " >&6
   4167 else
   4168   lt_cv_ld_reload_flag='-r'
   4169 fi
   4170 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4171 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4172 reload_flag=$lt_cv_ld_reload_flag
   4173 case $reload_flag in
   4174 "" | " "*) ;;
   4175 *) reload_flag=" $reload_flag" ;;
   4176 esac
   4177 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4178 case $host_os in
   4179   darwin*)
   4180     if test "$GCC" = yes; then
   4181       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4182     else
   4183       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4184     fi
   4185     ;;
   4186 esac
   4187 
   4188 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4189 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4190 if test "${lt_cv_path_NM+set}" = set; then
   4191   $as_echo_n "(cached) " >&6
   4192 else
   4193   if test -n "$NM"; then
   4194   # Let the user override the test.
   4195   lt_cv_path_NM="$NM"
   4196 else
   4197   lt_nm_to_check="${ac_tool_prefix}nm"
   4198   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4199     lt_nm_to_check="$lt_nm_to_check nm"
   4200   fi
   4201   for lt_tmp_nm in $lt_nm_to_check; do
   4202     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4203     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4204       IFS="$lt_save_ifs"
   4205       test -z "$ac_dir" && ac_dir=.
   4206       tmp_nm="$ac_dir/$lt_tmp_nm"
   4207       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4208 	# Check to see if the nm accepts a BSD-compat flag.
   4209 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4210 	#   nm: unknown option "B" ignored
   4211 	# Tru64's nm complains that /dev/null is an invalid object file
   4212 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4213 	*/dev/null* | *'Invalid file or object type'*)
   4214 	  lt_cv_path_NM="$tmp_nm -B"
   4215 	  break
   4216 	  ;;
   4217 	*)
   4218 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4219 	  */dev/null*)
   4220 	    lt_cv_path_NM="$tmp_nm -p"
   4221 	    break
   4222 	    ;;
   4223 	  *)
   4224 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4225 	    continue # so that we can try to find one that supports BSD flags
   4226 	    ;;
   4227 	  esac
   4228 	  ;;
   4229 	esac
   4230       fi
   4231     done
   4232     IFS="$lt_save_ifs"
   4233   done
   4234   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4235 fi
   4236 fi
   4237 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4238 $as_echo "$lt_cv_path_NM" >&6; }
   4239 NM="$lt_cv_path_NM"
   4240 
   4241 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4242 $as_echo_n "checking whether ln -s works... " >&6; }
   4243 LN_S=$as_ln_s
   4244 if test "$LN_S" = "ln -s"; then
   4245   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4246 $as_echo "yes" >&6; }
   4247 else
   4248   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4249 $as_echo "no, using $LN_S" >&6; }
   4250 fi
   4251 
   4252 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4253 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4254 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4255   $as_echo_n "(cached) " >&6
   4256 else
   4257   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4258 lt_cv_file_magic_test_file=
   4259 lt_cv_deplibs_check_method='unknown'
   4260 # Need to set the preceding variable on all platforms that support
   4261 # interlibrary dependencies.
   4262 # 'none' -- dependencies not supported.
   4263 # `unknown' -- same as none, but documents that we really don't know.
   4264 # 'pass_all' -- all dependencies passed with no checks.
   4265 # 'test_compile' -- check by making test program.
   4266 # 'file_magic [[regex]]' -- check by looking for files in library path
   4267 # which responds to the $file_magic_cmd with a given extended regex.
   4268 # If you have `file' or equivalent on your system and you're not sure
   4269 # whether `pass_all' will *always* work, you probably want this one.
   4270 
   4271 case $host_os in
   4272 aix[4-9]*)
   4273   lt_cv_deplibs_check_method=pass_all
   4274   ;;
   4275 
   4276 beos*)
   4277   lt_cv_deplibs_check_method=pass_all
   4278   ;;
   4279 
   4280 bsdi[45]*)
   4281   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4282   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4283   lt_cv_file_magic_test_file=/shlib/libc.so
   4284   ;;
   4285 
   4286 cygwin*)
   4287   # func_win32_libid is a shell function defined in ltmain.sh
   4288   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4289   lt_cv_file_magic_cmd='func_win32_libid'
   4290   ;;
   4291 
   4292 mingw* | pw32*)
   4293   # Base MSYS/MinGW do not provide the 'file' command needed by
   4294   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4295   # unless we find 'file', for example because we are cross-compiling.
   4296   if ( file / ) >/dev/null 2>&1; then
   4297     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4298     lt_cv_file_magic_cmd='func_win32_libid'
   4299   else
   4300     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4301     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4302   fi
   4303   ;;
   4304 
   4305 darwin* | rhapsody*)
   4306   lt_cv_deplibs_check_method=pass_all
   4307   ;;
   4308 
   4309 freebsd* | dragonfly*)
   4310   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4311     case $host_cpu in
   4312     i*86 )
   4313       # Not sure whether the presence of OpenBSD here was a mistake.
   4314       # Let's accept both of them until this is cleared up.
   4315       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4316       lt_cv_file_magic_cmd=/usr/bin/file
   4317       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4318       ;;
   4319     esac
   4320   else
   4321     lt_cv_deplibs_check_method=pass_all
   4322   fi
   4323   ;;
   4324 
   4325 gnu*)
   4326   lt_cv_deplibs_check_method=pass_all
   4327   ;;
   4328 
   4329 hpux10.20* | hpux11*)
   4330   lt_cv_file_magic_cmd=/usr/bin/file
   4331   case $host_cpu in
   4332   ia64*)
   4333     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4334     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4335     ;;
   4336   hppa*64*)
   4337     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]'
   4338     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4339     ;;
   4340   *)
   4341     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4342     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4343     ;;
   4344   esac
   4345   ;;
   4346 
   4347 interix[3-9]*)
   4348   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4349   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4350   ;;
   4351 
   4352 irix5* | irix6* | nonstopux*)
   4353   case $LD in
   4354   *-32|*"-32 ") libmagic=32-bit;;
   4355   *-n32|*"-n32 ") libmagic=N32;;
   4356   *-64|*"-64 ") libmagic=64-bit;;
   4357   *) libmagic=never-match;;
   4358   esac
   4359   lt_cv_deplibs_check_method=pass_all
   4360   ;;
   4361 
   4362 # This must be Linux ELF.
   4363 linux* | k*bsd*-gnu)
   4364   lt_cv_deplibs_check_method=pass_all
   4365   ;;
   4366 
   4367 netbsd*)
   4368   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4369     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4370   else
   4371     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4372   fi
   4373   ;;
   4374 
   4375 newos6*)
   4376   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4377   lt_cv_file_magic_cmd=/usr/bin/file
   4378   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4379   ;;
   4380 
   4381 nto-qnx*)
   4382   lt_cv_deplibs_check_method=unknown
   4383   ;;
   4384 
   4385 openbsd*)
   4386   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4387     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4388   else
   4389     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4390   fi
   4391   ;;
   4392 
   4393 osf3* | osf4* | osf5*)
   4394   lt_cv_deplibs_check_method=pass_all
   4395   ;;
   4396 
   4397 rdos*)
   4398   lt_cv_deplibs_check_method=pass_all
   4399   ;;
   4400 
   4401 solaris*)
   4402   lt_cv_deplibs_check_method=pass_all
   4403   ;;
   4404 
   4405 sysv4 | sysv4.3*)
   4406   case $host_vendor in
   4407   motorola)
   4408     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]'
   4409     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4410     ;;
   4411   ncr)
   4412     lt_cv_deplibs_check_method=pass_all
   4413     ;;
   4414   sequent)
   4415     lt_cv_file_magic_cmd='/bin/file'
   4416     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4417     ;;
   4418   sni)
   4419     lt_cv_file_magic_cmd='/bin/file'
   4420     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4421     lt_cv_file_magic_test_file=/lib/libc.so
   4422     ;;
   4423   siemens)
   4424     lt_cv_deplibs_check_method=pass_all
   4425     ;;
   4426   pc)
   4427     lt_cv_deplibs_check_method=pass_all
   4428     ;;
   4429   esac
   4430   ;;
   4431 
   4432 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4433   lt_cv_deplibs_check_method=pass_all
   4434   ;;
   4435 esac
   4436 
   4437 fi
   4438 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4439 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4440 file_magic_cmd=$lt_cv_file_magic_cmd
   4441 deplibs_check_method=$lt_cv_deplibs_check_method
   4442 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4443 
   4444 
   4445 
   4446 
   4447 # If no C compiler was specified, use CC.
   4448 LTCC=${LTCC-"$CC"}
   4449 
   4450 # If no C compiler flags were specified, use CFLAGS.
   4451 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4452 
   4453 # Allow CC to be a program name with arguments.
   4454 compiler=$CC
   4455 
   4456 
   4457 # Check whether --enable-libtool-lock was given.
   4458 if test "${enable_libtool_lock+set}" = set; then
   4459   enableval=$enable_libtool_lock;
   4460 fi
   4461 
   4462 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4463 
   4464 # Some flags need to be propagated to the compiler or linker for good
   4465 # libtool support.
   4466 case $host in
   4467 ia64-*-hpux*)
   4468   # Find out which ABI we are using.
   4469   echo 'int i;' > conftest.$ac_ext
   4470   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4471   (eval $ac_compile) 2>&5
   4472   ac_status=$?
   4473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4474   (exit $ac_status); }; then
   4475     case `/usr/bin/file conftest.$ac_objext` in
   4476     *ELF-32*)
   4477       HPUX_IA64_MODE="32"
   4478       ;;
   4479     *ELF-64*)
   4480       HPUX_IA64_MODE="64"
   4481       ;;
   4482     esac
   4483   fi
   4484   rm -rf conftest*
   4485   ;;
   4486 *-*-irix6*)
   4487   # Find out which ABI we are using.
   4488   echo '#line 4488 "configure"' > conftest.$ac_ext
   4489   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4490   (eval $ac_compile) 2>&5
   4491   ac_status=$?
   4492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4493   (exit $ac_status); }; then
   4494    if test "$lt_cv_prog_gnu_ld" = yes; then
   4495     case `/usr/bin/file conftest.$ac_objext` in
   4496     *32-bit*)
   4497       LD="${LD-ld} -melf32bsmip"
   4498       ;;
   4499     *N32*)
   4500       LD="${LD-ld} -melf32bmipn32"
   4501       ;;
   4502     *64-bit*)
   4503       LD="${LD-ld} -melf64bmip"
   4504       ;;
   4505     esac
   4506    else
   4507     case `/usr/bin/file conftest.$ac_objext` in
   4508     *32-bit*)
   4509       LD="${LD-ld} -32"
   4510       ;;
   4511     *N32*)
   4512       LD="${LD-ld} -n32"
   4513       ;;
   4514     *64-bit*)
   4515       LD="${LD-ld} -64"
   4516       ;;
   4517     esac
   4518    fi
   4519   fi
   4520   rm -rf conftest*
   4521   ;;
   4522 
   4523 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4524 s390*-*linux*|sparc*-*linux*)
   4525   # Find out which ABI we are using.
   4526   echo 'int i;' > conftest.$ac_ext
   4527   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4528   (eval $ac_compile) 2>&5
   4529   ac_status=$?
   4530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4531   (exit $ac_status); }; then
   4532     case `/usr/bin/file conftest.o` in
   4533     *32-bit*)
   4534       case $host in
   4535         x86_64-*kfreebsd*-gnu)
   4536           LD="${LD-ld} -m elf_i386_fbsd"
   4537           ;;
   4538         x86_64-*linux*)
   4539           LD="${LD-ld} -m elf_i386"
   4540           ;;
   4541         ppc64-*linux*|powerpc64-*linux*)
   4542           LD="${LD-ld} -m elf32ppclinux"
   4543           ;;
   4544         s390x-*linux*)
   4545           LD="${LD-ld} -m elf_s390"
   4546           ;;
   4547         sparc64-*linux*)
   4548           LD="${LD-ld} -m elf32_sparc"
   4549           ;;
   4550       esac
   4551       ;;
   4552     *64-bit*)
   4553       libsuff=64
   4554       case $host in
   4555         x86_64-*kfreebsd*-gnu)
   4556           LD="${LD-ld} -m elf_x86_64_fbsd"
   4557           ;;
   4558         x86_64-*linux*)
   4559           LD="${LD-ld} -m elf_x86_64"
   4560           ;;
   4561         ppc*-*linux*|powerpc*-*linux*)
   4562           LD="${LD-ld} -m elf64ppc"
   4563           ;;
   4564         s390*-*linux*)
   4565           LD="${LD-ld} -m elf64_s390"
   4566           ;;
   4567         sparc*-*linux*)
   4568           LD="${LD-ld} -m elf64_sparc"
   4569           ;;
   4570       esac
   4571       ;;
   4572     esac
   4573   fi
   4574   rm -rf conftest*
   4575   ;;
   4576 
   4577 *-*-sco3.2v5*)
   4578   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4579   SAVE_CFLAGS="$CFLAGS"
   4580   CFLAGS="$CFLAGS -belf"
   4581   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4582 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4583 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4584   $as_echo_n "(cached) " >&6
   4585 else
   4586   ac_ext=c
   4587 ac_cpp='$CPP $CPPFLAGS'
   4588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4591 
   4592      cat >conftest.$ac_ext <<_ACEOF
   4593 /* confdefs.h.  */
   4594 _ACEOF
   4595 cat confdefs.h >>conftest.$ac_ext
   4596 cat >>conftest.$ac_ext <<_ACEOF
   4597 /* end confdefs.h.  */
   4598 
   4599 int
   4600 main ()
   4601 {
   4602 
   4603   ;
   4604   return 0;
   4605 }
   4606 _ACEOF
   4607 rm -f conftest.$ac_objext conftest$ac_exeext
   4608 if { (ac_try="$ac_link"
   4609 case "(($ac_try" in
   4610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4611   *) ac_try_echo=$ac_try;;
   4612 esac
   4613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4614 $as_echo "$ac_try_echo") >&5
   4615   (eval "$ac_link") 2>conftest.er1
   4616   ac_status=$?
   4617   grep -v '^ *+' conftest.er1 >conftest.err
   4618   rm -f conftest.er1
   4619   cat conftest.err >&5
   4620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4621   (exit $ac_status); } && {
   4622 	 test -z "$ac_c_werror_flag" ||
   4623 	 test ! -s conftest.err
   4624        } && test -s conftest$ac_exeext && {
   4625 	 test "$cross_compiling" = yes ||
   4626 	 $as_test_x conftest$ac_exeext
   4627        }; then
   4628   lt_cv_cc_needs_belf=yes
   4629 else
   4630   $as_echo "$as_me: failed program was:" >&5
   4631 sed 's/^/| /' conftest.$ac_ext >&5
   4632 
   4633 	lt_cv_cc_needs_belf=no
   4634 fi
   4635 
   4636 rm -rf conftest.dSYM
   4637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4638       conftest$ac_exeext conftest.$ac_ext
   4639      ac_ext=c
   4640 ac_cpp='$CPP $CPPFLAGS'
   4641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4644 
   4645 fi
   4646 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4647 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4648   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4649     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4650     CFLAGS="$SAVE_CFLAGS"
   4651   fi
   4652   ;;
   4653 sparc*-*solaris*)
   4654   # Find out which ABI we are using.
   4655   echo 'int i;' > conftest.$ac_ext
   4656   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4657   (eval $ac_compile) 2>&5
   4658   ac_status=$?
   4659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4660   (exit $ac_status); }; then
   4661     case `/usr/bin/file conftest.o` in
   4662     *64-bit*)
   4663       case $lt_cv_prog_gnu_ld in
   4664       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4665       *)
   4666         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4667 	  LD="${LD-ld} -64"
   4668 	fi
   4669 	;;
   4670       esac
   4671       ;;
   4672     esac
   4673   fi
   4674   rm -rf conftest*
   4675   ;;
   4676 
   4677 
   4678 esac
   4679 
   4680 need_locks="$enable_libtool_lock"
   4681 
   4682 
   4683 ac_ext=c
   4684 ac_cpp='$CPP $CPPFLAGS'
   4685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4688 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4689 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4690 # On Suns, sometimes $CPP names a directory.
   4691 if test -n "$CPP" && test -d "$CPP"; then
   4692   CPP=
   4693 fi
   4694 if test -z "$CPP"; then
   4695   if test "${ac_cv_prog_CPP+set}" = set; then
   4696   $as_echo_n "(cached) " >&6
   4697 else
   4698       # Double quotes because CPP needs to be expanded
   4699     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4700     do
   4701       ac_preproc_ok=false
   4702 for ac_c_preproc_warn_flag in '' yes
   4703 do
   4704   # Use a header file that comes with gcc, so configuring glibc
   4705   # with a fresh cross-compiler works.
   4706   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4707   # <limits.h> exists even on freestanding compilers.
   4708   # On the NeXT, cc -E runs the code through the compiler's parser,
   4709   # not just through cpp. "Syntax error" is here to catch this case.
   4710   cat >conftest.$ac_ext <<_ACEOF
   4711 /* confdefs.h.  */
   4712 _ACEOF
   4713 cat confdefs.h >>conftest.$ac_ext
   4714 cat >>conftest.$ac_ext <<_ACEOF
   4715 /* end confdefs.h.  */
   4716 #ifdef __STDC__
   4717 # include <limits.h>
   4718 #else
   4719 # include <assert.h>
   4720 #endif
   4721 		     Syntax error
   4722 _ACEOF
   4723 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4724 case "(($ac_try" in
   4725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4726   *) ac_try_echo=$ac_try;;
   4727 esac
   4728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4729 $as_echo "$ac_try_echo") >&5
   4730   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4731   ac_status=$?
   4732   grep -v '^ *+' conftest.er1 >conftest.err
   4733   rm -f conftest.er1
   4734   cat conftest.err >&5
   4735   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4736   (exit $ac_status); } >/dev/null && {
   4737 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4738 	 test ! -s conftest.err
   4739        }; then
   4740   :
   4741 else
   4742   $as_echo "$as_me: failed program was:" >&5
   4743 sed 's/^/| /' conftest.$ac_ext >&5
   4744 
   4745   # Broken: fails on valid input.
   4746 continue
   4747 fi
   4748 
   4749 rm -f conftest.err conftest.$ac_ext
   4750 
   4751   # OK, works on sane cases.  Now check whether nonexistent headers
   4752   # can be detected and how.
   4753   cat >conftest.$ac_ext <<_ACEOF
   4754 /* confdefs.h.  */
   4755 _ACEOF
   4756 cat confdefs.h >>conftest.$ac_ext
   4757 cat >>conftest.$ac_ext <<_ACEOF
   4758 /* end confdefs.h.  */
   4759 #include <ac_nonexistent.h>
   4760 _ACEOF
   4761 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4762 case "(($ac_try" in
   4763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4764   *) ac_try_echo=$ac_try;;
   4765 esac
   4766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4767 $as_echo "$ac_try_echo") >&5
   4768   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4769   ac_status=$?
   4770   grep -v '^ *+' conftest.er1 >conftest.err
   4771   rm -f conftest.er1
   4772   cat conftest.err >&5
   4773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4774   (exit $ac_status); } >/dev/null && {
   4775 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4776 	 test ! -s conftest.err
   4777        }; then
   4778   # Broken: success on invalid input.
   4779 continue
   4780 else
   4781   $as_echo "$as_me: failed program was:" >&5
   4782 sed 's/^/| /' conftest.$ac_ext >&5
   4783 
   4784   # Passes both tests.
   4785 ac_preproc_ok=:
   4786 break
   4787 fi
   4788 
   4789 rm -f conftest.err conftest.$ac_ext
   4790 
   4791 done
   4792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4793 rm -f conftest.err conftest.$ac_ext
   4794 if $ac_preproc_ok; then
   4795   break
   4796 fi
   4797 
   4798     done
   4799     ac_cv_prog_CPP=$CPP
   4800 
   4801 fi
   4802   CPP=$ac_cv_prog_CPP
   4803 else
   4804   ac_cv_prog_CPP=$CPP
   4805 fi
   4806 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4807 $as_echo "$CPP" >&6; }
   4808 ac_preproc_ok=false
   4809 for ac_c_preproc_warn_flag in '' yes
   4810 do
   4811   # Use a header file that comes with gcc, so configuring glibc
   4812   # with a fresh cross-compiler works.
   4813   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4814   # <limits.h> exists even on freestanding compilers.
   4815   # On the NeXT, cc -E runs the code through the compiler's parser,
   4816   # not just through cpp. "Syntax error" is here to catch this case.
   4817   cat >conftest.$ac_ext <<_ACEOF
   4818 /* confdefs.h.  */
   4819 _ACEOF
   4820 cat confdefs.h >>conftest.$ac_ext
   4821 cat >>conftest.$ac_ext <<_ACEOF
   4822 /* end confdefs.h.  */
   4823 #ifdef __STDC__
   4824 # include <limits.h>
   4825 #else
   4826 # include <assert.h>
   4827 #endif
   4828 		     Syntax error
   4829 _ACEOF
   4830 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4831 case "(($ac_try" in
   4832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4833   *) ac_try_echo=$ac_try;;
   4834 esac
   4835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4836 $as_echo "$ac_try_echo") >&5
   4837   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4838   ac_status=$?
   4839   grep -v '^ *+' conftest.er1 >conftest.err
   4840   rm -f conftest.er1
   4841   cat conftest.err >&5
   4842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4843   (exit $ac_status); } >/dev/null && {
   4844 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4845 	 test ! -s conftest.err
   4846        }; then
   4847   :
   4848 else
   4849   $as_echo "$as_me: failed program was:" >&5
   4850 sed 's/^/| /' conftest.$ac_ext >&5
   4851 
   4852   # Broken: fails on valid input.
   4853 continue
   4854 fi
   4855 
   4856 rm -f conftest.err conftest.$ac_ext
   4857 
   4858   # OK, works on sane cases.  Now check whether nonexistent headers
   4859   # can be detected and how.
   4860   cat >conftest.$ac_ext <<_ACEOF
   4861 /* confdefs.h.  */
   4862 _ACEOF
   4863 cat confdefs.h >>conftest.$ac_ext
   4864 cat >>conftest.$ac_ext <<_ACEOF
   4865 /* end confdefs.h.  */
   4866 #include <ac_nonexistent.h>
   4867 _ACEOF
   4868 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4869 case "(($ac_try" in
   4870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4871   *) ac_try_echo=$ac_try;;
   4872 esac
   4873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4874 $as_echo "$ac_try_echo") >&5
   4875   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4876   ac_status=$?
   4877   grep -v '^ *+' conftest.er1 >conftest.err
   4878   rm -f conftest.er1
   4879   cat conftest.err >&5
   4880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4881   (exit $ac_status); } >/dev/null && {
   4882 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4883 	 test ! -s conftest.err
   4884        }; then
   4885   # Broken: success on invalid input.
   4886 continue
   4887 else
   4888   $as_echo "$as_me: failed program was:" >&5
   4889 sed 's/^/| /' conftest.$ac_ext >&5
   4890 
   4891   # Passes both tests.
   4892 ac_preproc_ok=:
   4893 break
   4894 fi
   4895 
   4896 rm -f conftest.err conftest.$ac_ext
   4897 
   4898 done
   4899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4900 rm -f conftest.err conftest.$ac_ext
   4901 if $ac_preproc_ok; then
   4902   :
   4903 else
   4904   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4906 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4907 See \`config.log' for more details." >&5
   4908 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4909 See \`config.log' for more details." >&2;}
   4910    { (exit 1); exit 1; }; }; }
   4911 fi
   4912 
   4913 ac_ext=c
   4914 ac_cpp='$CPP $CPPFLAGS'
   4915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4918 
   4919 
   4920 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4921 $as_echo_n "checking for ANSI C header files... " >&6; }
   4922 if test "${ac_cv_header_stdc+set}" = set; then
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   cat >conftest.$ac_ext <<_ACEOF
   4926 /* confdefs.h.  */
   4927 _ACEOF
   4928 cat confdefs.h >>conftest.$ac_ext
   4929 cat >>conftest.$ac_ext <<_ACEOF
   4930 /* end confdefs.h.  */
   4931 #include <stdlib.h>
   4932 #include <stdarg.h>
   4933 #include <string.h>
   4934 #include <float.h>
   4935 
   4936 int
   4937 main ()
   4938 {
   4939 
   4940   ;
   4941   return 0;
   4942 }
   4943 _ACEOF
   4944 rm -f conftest.$ac_objext
   4945 if { (ac_try="$ac_compile"
   4946 case "(($ac_try" in
   4947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4948   *) ac_try_echo=$ac_try;;
   4949 esac
   4950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4951 $as_echo "$ac_try_echo") >&5
   4952   (eval "$ac_compile") 2>conftest.er1
   4953   ac_status=$?
   4954   grep -v '^ *+' conftest.er1 >conftest.err
   4955   rm -f conftest.er1
   4956   cat conftest.err >&5
   4957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4958   (exit $ac_status); } && {
   4959 	 test -z "$ac_c_werror_flag" ||
   4960 	 test ! -s conftest.err
   4961        } && test -s conftest.$ac_objext; then
   4962   ac_cv_header_stdc=yes
   4963 else
   4964   $as_echo "$as_me: failed program was:" >&5
   4965 sed 's/^/| /' conftest.$ac_ext >&5
   4966 
   4967 	ac_cv_header_stdc=no
   4968 fi
   4969 
   4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4971 
   4972 if test $ac_cv_header_stdc = yes; then
   4973   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4974   cat >conftest.$ac_ext <<_ACEOF
   4975 /* confdefs.h.  */
   4976 _ACEOF
   4977 cat confdefs.h >>conftest.$ac_ext
   4978 cat >>conftest.$ac_ext <<_ACEOF
   4979 /* end confdefs.h.  */
   4980 #include <string.h>
   4981 
   4982 _ACEOF
   4983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4984   $EGREP "memchr" >/dev/null 2>&1; then
   4985   :
   4986 else
   4987   ac_cv_header_stdc=no
   4988 fi
   4989 rm -f conftest*
   4990 
   4991 fi
   4992 
   4993 if test $ac_cv_header_stdc = yes; then
   4994   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4995   cat >conftest.$ac_ext <<_ACEOF
   4996 /* confdefs.h.  */
   4997 _ACEOF
   4998 cat confdefs.h >>conftest.$ac_ext
   4999 cat >>conftest.$ac_ext <<_ACEOF
   5000 /* end confdefs.h.  */
   5001 #include <stdlib.h>
   5002 
   5003 _ACEOF
   5004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5005   $EGREP "free" >/dev/null 2>&1; then
   5006   :
   5007 else
   5008   ac_cv_header_stdc=no
   5009 fi
   5010 rm -f conftest*
   5011 
   5012 fi
   5013 
   5014 if test $ac_cv_header_stdc = yes; then
   5015   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5016   if test "$cross_compiling" = yes; then
   5017   :
   5018 else
   5019   cat >conftest.$ac_ext <<_ACEOF
   5020 /* confdefs.h.  */
   5021 _ACEOF
   5022 cat confdefs.h >>conftest.$ac_ext
   5023 cat >>conftest.$ac_ext <<_ACEOF
   5024 /* end confdefs.h.  */
   5025 #include <ctype.h>
   5026 #include <stdlib.h>
   5027 #if ((' ' & 0x0FF) == 0x020)
   5028 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5029 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5030 #else
   5031 # define ISLOWER(c) \
   5032 		   (('a' <= (c) && (c) <= 'i') \
   5033 		     || ('j' <= (c) && (c) <= 'r') \
   5034 		     || ('s' <= (c) && (c) <= 'z'))
   5035 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5036 #endif
   5037 
   5038 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5039 int
   5040 main ()
   5041 {
   5042   int i;
   5043   for (i = 0; i < 256; i++)
   5044     if (XOR (islower (i), ISLOWER (i))
   5045 	|| toupper (i) != TOUPPER (i))
   5046       return 2;
   5047   return 0;
   5048 }
   5049 _ACEOF
   5050 rm -f conftest$ac_exeext
   5051 if { (ac_try="$ac_link"
   5052 case "(($ac_try" in
   5053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5054   *) ac_try_echo=$ac_try;;
   5055 esac
   5056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5057 $as_echo "$ac_try_echo") >&5
   5058   (eval "$ac_link") 2>&5
   5059   ac_status=$?
   5060   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5061   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   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_try") 2>&5
   5069   ac_status=$?
   5070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5071   (exit $ac_status); }; }; then
   5072   :
   5073 else
   5074   $as_echo "$as_me: program exited with status $ac_status" >&5
   5075 $as_echo "$as_me: failed program was:" >&5
   5076 sed 's/^/| /' conftest.$ac_ext >&5
   5077 
   5078 ( exit $ac_status )
   5079 ac_cv_header_stdc=no
   5080 fi
   5081 rm -rf conftest.dSYM
   5082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5083 fi
   5084 
   5085 
   5086 fi
   5087 fi
   5088 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5089 $as_echo "$ac_cv_header_stdc" >&6; }
   5090 if test $ac_cv_header_stdc = yes; then
   5091 
   5092 cat >>confdefs.h <<\_ACEOF
   5093 #define STDC_HEADERS 1
   5094 _ACEOF
   5095 
   5096 fi
   5097 
   5098 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5109 		  inttypes.h stdint.h unistd.h
   5110 do
   5111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5112 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5113 $as_echo_n "checking for $ac_header... " >&6; }
   5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5115   $as_echo_n "(cached) " >&6
   5116 else
   5117   cat >conftest.$ac_ext <<_ACEOF
   5118 /* confdefs.h.  */
   5119 _ACEOF
   5120 cat confdefs.h >>conftest.$ac_ext
   5121 cat >>conftest.$ac_ext <<_ACEOF
   5122 /* end confdefs.h.  */
   5123 $ac_includes_default
   5124 
   5125 #include <$ac_header>
   5126 _ACEOF
   5127 rm -f conftest.$ac_objext
   5128 if { (ac_try="$ac_compile"
   5129 case "(($ac_try" in
   5130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5131   *) ac_try_echo=$ac_try;;
   5132 esac
   5133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5134 $as_echo "$ac_try_echo") >&5
   5135   (eval "$ac_compile") 2>conftest.er1
   5136   ac_status=$?
   5137   grep -v '^ *+' conftest.er1 >conftest.err
   5138   rm -f conftest.er1
   5139   cat conftest.err >&5
   5140   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5141   (exit $ac_status); } && {
   5142 	 test -z "$ac_c_werror_flag" ||
   5143 	 test ! -s conftest.err
   5144        } && test -s conftest.$ac_objext; then
   5145   eval "$as_ac_Header=yes"
   5146 else
   5147   $as_echo "$as_me: failed program was:" >&5
   5148 sed 's/^/| /' conftest.$ac_ext >&5
   5149 
   5150 	eval "$as_ac_Header=no"
   5151 fi
   5152 
   5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5154 fi
   5155 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5156 		 $as_echo "$as_val"'`
   5157 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5158 $as_echo "$ac_res" >&6; }
   5159 as_val=`eval 'as_val=${'$as_ac_Header'}
   5160 		 $as_echo "$as_val"'`
   5161    if test "x$as_val" = x""yes; then
   5162   cat >>confdefs.h <<_ACEOF
   5163 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5164 _ACEOF
   5165 
   5166 fi
   5167 
   5168 done
   5169 
   5170 
   5171 
   5172 for ac_header in dlfcn.h
   5173 do
   5174 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5176   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5177 $as_echo_n "checking for $ac_header... " >&6; }
   5178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5179   $as_echo_n "(cached) " >&6
   5180 fi
   5181 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5182 		 $as_echo "$as_val"'`
   5183 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5184 $as_echo "$ac_res" >&6; }
   5185 else
   5186   # Is the header compilable?
   5187 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5188 $as_echo_n "checking $ac_header usability... " >&6; }
   5189 cat >conftest.$ac_ext <<_ACEOF
   5190 /* confdefs.h.  */
   5191 _ACEOF
   5192 cat confdefs.h >>conftest.$ac_ext
   5193 cat >>conftest.$ac_ext <<_ACEOF
   5194 /* end confdefs.h.  */
   5195 $ac_includes_default
   5196 #include <$ac_header>
   5197 _ACEOF
   5198 rm -f conftest.$ac_objext
   5199 if { (ac_try="$ac_compile"
   5200 case "(($ac_try" in
   5201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5202   *) ac_try_echo=$ac_try;;
   5203 esac
   5204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5205 $as_echo "$ac_try_echo") >&5
   5206   (eval "$ac_compile") 2>conftest.er1
   5207   ac_status=$?
   5208   grep -v '^ *+' conftest.er1 >conftest.err
   5209   rm -f conftest.er1
   5210   cat conftest.err >&5
   5211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5212   (exit $ac_status); } && {
   5213 	 test -z "$ac_c_werror_flag" ||
   5214 	 test ! -s conftest.err
   5215        } && test -s conftest.$ac_objext; then
   5216   ac_header_compiler=yes
   5217 else
   5218   $as_echo "$as_me: failed program was:" >&5
   5219 sed 's/^/| /' conftest.$ac_ext >&5
   5220 
   5221 	ac_header_compiler=no
   5222 fi
   5223 
   5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5225 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5226 $as_echo "$ac_header_compiler" >&6; }
   5227 
   5228 # Is the header present?
   5229 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5230 $as_echo_n "checking $ac_header presence... " >&6; }
   5231 cat >conftest.$ac_ext <<_ACEOF
   5232 /* confdefs.h.  */
   5233 _ACEOF
   5234 cat confdefs.h >>conftest.$ac_ext
   5235 cat >>conftest.$ac_ext <<_ACEOF
   5236 /* end confdefs.h.  */
   5237 #include <$ac_header>
   5238 _ACEOF
   5239 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5240 case "(($ac_try" in
   5241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5242   *) ac_try_echo=$ac_try;;
   5243 esac
   5244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5245 $as_echo "$ac_try_echo") >&5
   5246   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5247   ac_status=$?
   5248   grep -v '^ *+' conftest.er1 >conftest.err
   5249   rm -f conftest.er1
   5250   cat conftest.err >&5
   5251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5252   (exit $ac_status); } >/dev/null && {
   5253 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5254 	 test ! -s conftest.err
   5255        }; then
   5256   ac_header_preproc=yes
   5257 else
   5258   $as_echo "$as_me: failed program was:" >&5
   5259 sed 's/^/| /' conftest.$ac_ext >&5
   5260 
   5261   ac_header_preproc=no
   5262 fi
   5263 
   5264 rm -f conftest.err conftest.$ac_ext
   5265 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5266 $as_echo "$ac_header_preproc" >&6; }
   5267 
   5268 # So?  What about this header?
   5269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5270   yes:no: )
   5271     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5272 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5273     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5274 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5275     ac_header_preproc=yes
   5276     ;;
   5277   no:yes:* )
   5278     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5279 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5280     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5281 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5282     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5283 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5284     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5285 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5286     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5287 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5288     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5289 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5290     ( cat <<\_ASBOX
   5291 ## ---------------------------------------------------------------------- ##
   5292 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5293 ## ---------------------------------------------------------------------- ##
   5294 _ASBOX
   5295      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5296     ;;
   5297 esac
   5298 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5299 $as_echo_n "checking for $ac_header... " >&6; }
   5300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5301   $as_echo_n "(cached) " >&6
   5302 else
   5303   eval "$as_ac_Header=\$ac_header_preproc"
   5304 fi
   5305 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5306 		 $as_echo "$as_val"'`
   5307 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5308 $as_echo "$ac_res" >&6; }
   5309 
   5310 fi
   5311 as_val=`eval 'as_val=${'$as_ac_Header'}
   5312 		 $as_echo "$as_val"'`
   5313    if test "x$as_val" = x""yes; then
   5314   cat >>confdefs.h <<_ACEOF
   5315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5316 _ACEOF
   5317 
   5318 fi
   5319 
   5320 done
   5321 
   5322 ac_ext=cpp
   5323 ac_cpp='$CXXCPP $CPPFLAGS'
   5324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5327 if test -z "$CXX"; then
   5328   if test -n "$CCC"; then
   5329     CXX=$CCC
   5330   else
   5331     if test -n "$ac_tool_prefix"; then
   5332   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5333   do
   5334     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5336 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5337 $as_echo_n "checking for $ac_word... " >&6; }
   5338 if test "${ac_cv_prog_CXX+set}" = set; then
   5339   $as_echo_n "(cached) " >&6
   5340 else
   5341   if test -n "$CXX"; then
   5342   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5343 else
   5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5345 for as_dir in $PATH
   5346 do
   5347   IFS=$as_save_IFS
   5348   test -z "$as_dir" && as_dir=.
   5349   for ac_exec_ext in '' $ac_executable_extensions; do
   5350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5351     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5352     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5353     break 2
   5354   fi
   5355 done
   5356 done
   5357 IFS=$as_save_IFS
   5358 
   5359 fi
   5360 fi
   5361 CXX=$ac_cv_prog_CXX
   5362 if test -n "$CXX"; then
   5363   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5364 $as_echo "$CXX" >&6; }
   5365 else
   5366   { $as_echo "$as_me:$LINENO: result: no" >&5
   5367 $as_echo "no" >&6; }
   5368 fi
   5369 
   5370 
   5371     test -n "$CXX" && break
   5372   done
   5373 fi
   5374 if test -z "$CXX"; then
   5375   ac_ct_CXX=$CXX
   5376   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5377 do
   5378   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5379 set dummy $ac_prog; ac_word=$2
   5380 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5381 $as_echo_n "checking for $ac_word... " >&6; }
   5382 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5383   $as_echo_n "(cached) " >&6
   5384 else
   5385   if test -n "$ac_ct_CXX"; then
   5386   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5387 else
   5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5389 for as_dir in $PATH
   5390 do
   5391   IFS=$as_save_IFS
   5392   test -z "$as_dir" && as_dir=.
   5393   for ac_exec_ext in '' $ac_executable_extensions; do
   5394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5395     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5396     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5397     break 2
   5398   fi
   5399 done
   5400 done
   5401 IFS=$as_save_IFS
   5402 
   5403 fi
   5404 fi
   5405 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5406 if test -n "$ac_ct_CXX"; then
   5407   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5408 $as_echo "$ac_ct_CXX" >&6; }
   5409 else
   5410   { $as_echo "$as_me:$LINENO: result: no" >&5
   5411 $as_echo "no" >&6; }
   5412 fi
   5413 
   5414 
   5415   test -n "$ac_ct_CXX" && break
   5416 done
   5417 
   5418   if test "x$ac_ct_CXX" = x; then
   5419     CXX="g++"
   5420   else
   5421     case $cross_compiling:$ac_tool_warned in
   5422 yes:)
   5423 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5425 ac_tool_warned=yes ;;
   5426 esac
   5427     CXX=$ac_ct_CXX
   5428   fi
   5429 fi
   5430 
   5431   fi
   5432 fi
   5433 # Provide some information about the compiler.
   5434 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5435 set X $ac_compile
   5436 ac_compiler=$2
   5437 { (ac_try="$ac_compiler --version >&5"
   5438 case "(($ac_try" in
   5439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5440   *) ac_try_echo=$ac_try;;
   5441 esac
   5442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5443 $as_echo "$ac_try_echo") >&5
   5444   (eval "$ac_compiler --version >&5") 2>&5
   5445   ac_status=$?
   5446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5447   (exit $ac_status); }
   5448 { (ac_try="$ac_compiler -v >&5"
   5449 case "(($ac_try" in
   5450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5451   *) ac_try_echo=$ac_try;;
   5452 esac
   5453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5454 $as_echo "$ac_try_echo") >&5
   5455   (eval "$ac_compiler -v >&5") 2>&5
   5456   ac_status=$?
   5457   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5458   (exit $ac_status); }
   5459 { (ac_try="$ac_compiler -V >&5"
   5460 case "(($ac_try" in
   5461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5462   *) ac_try_echo=$ac_try;;
   5463 esac
   5464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5465 $as_echo "$ac_try_echo") >&5
   5466   (eval "$ac_compiler -V >&5") 2>&5
   5467   ac_status=$?
   5468   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5469   (exit $ac_status); }
   5470 
   5471 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5472 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5473 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5474   $as_echo_n "(cached) " >&6
   5475 else
   5476   cat >conftest.$ac_ext <<_ACEOF
   5477 /* confdefs.h.  */
   5478 _ACEOF
   5479 cat confdefs.h >>conftest.$ac_ext
   5480 cat >>conftest.$ac_ext <<_ACEOF
   5481 /* end confdefs.h.  */
   5482 
   5483 int
   5484 main ()
   5485 {
   5486 #ifndef __GNUC__
   5487        choke me
   5488 #endif
   5489 
   5490   ;
   5491   return 0;
   5492 }
   5493 _ACEOF
   5494 rm -f conftest.$ac_objext
   5495 if { (ac_try="$ac_compile"
   5496 case "(($ac_try" in
   5497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5498   *) ac_try_echo=$ac_try;;
   5499 esac
   5500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5501 $as_echo "$ac_try_echo") >&5
   5502   (eval "$ac_compile") 2>conftest.er1
   5503   ac_status=$?
   5504   grep -v '^ *+' conftest.er1 >conftest.err
   5505   rm -f conftest.er1
   5506   cat conftest.err >&5
   5507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5508   (exit $ac_status); } && {
   5509 	 test -z "$ac_cxx_werror_flag" ||
   5510 	 test ! -s conftest.err
   5511        } && test -s conftest.$ac_objext; then
   5512   ac_compiler_gnu=yes
   5513 else
   5514   $as_echo "$as_me: failed program was:" >&5
   5515 sed 's/^/| /' conftest.$ac_ext >&5
   5516 
   5517 	ac_compiler_gnu=no
   5518 fi
   5519 
   5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5521 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5522 
   5523 fi
   5524 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5525 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5526 if test $ac_compiler_gnu = yes; then
   5527   GXX=yes
   5528 else
   5529   GXX=
   5530 fi
   5531 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5532 ac_save_CXXFLAGS=$CXXFLAGS
   5533 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5534 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5535 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5539    ac_cxx_werror_flag=yes
   5540    ac_cv_prog_cxx_g=no
   5541    CXXFLAGS="-g"
   5542    cat >conftest.$ac_ext <<_ACEOF
   5543 /* confdefs.h.  */
   5544 _ACEOF
   5545 cat confdefs.h >>conftest.$ac_ext
   5546 cat >>conftest.$ac_ext <<_ACEOF
   5547 /* end confdefs.h.  */
   5548 
   5549 int
   5550 main ()
   5551 {
   5552 
   5553   ;
   5554   return 0;
   5555 }
   5556 _ACEOF
   5557 rm -f conftest.$ac_objext
   5558 if { (ac_try="$ac_compile"
   5559 case "(($ac_try" in
   5560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5561   *) ac_try_echo=$ac_try;;
   5562 esac
   5563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5564 $as_echo "$ac_try_echo") >&5
   5565   (eval "$ac_compile") 2>conftest.er1
   5566   ac_status=$?
   5567   grep -v '^ *+' conftest.er1 >conftest.err
   5568   rm -f conftest.er1
   5569   cat conftest.err >&5
   5570   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5571   (exit $ac_status); } && {
   5572 	 test -z "$ac_cxx_werror_flag" ||
   5573 	 test ! -s conftest.err
   5574        } && test -s conftest.$ac_objext; then
   5575   ac_cv_prog_cxx_g=yes
   5576 else
   5577   $as_echo "$as_me: failed program was:" >&5
   5578 sed 's/^/| /' conftest.$ac_ext >&5
   5579 
   5580 	CXXFLAGS=""
   5581       cat >conftest.$ac_ext <<_ACEOF
   5582 /* confdefs.h.  */
   5583 _ACEOF
   5584 cat confdefs.h >>conftest.$ac_ext
   5585 cat >>conftest.$ac_ext <<_ACEOF
   5586 /* end confdefs.h.  */
   5587 
   5588 int
   5589 main ()
   5590 {
   5591 
   5592   ;
   5593   return 0;
   5594 }
   5595 _ACEOF
   5596 rm -f conftest.$ac_objext
   5597 if { (ac_try="$ac_compile"
   5598 case "(($ac_try" in
   5599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5600   *) ac_try_echo=$ac_try;;
   5601 esac
   5602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5603 $as_echo "$ac_try_echo") >&5
   5604   (eval "$ac_compile") 2>conftest.er1
   5605   ac_status=$?
   5606   grep -v '^ *+' conftest.er1 >conftest.err
   5607   rm -f conftest.er1
   5608   cat conftest.err >&5
   5609   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5610   (exit $ac_status); } && {
   5611 	 test -z "$ac_cxx_werror_flag" ||
   5612 	 test ! -s conftest.err
   5613        } && test -s conftest.$ac_objext; then
   5614   :
   5615 else
   5616   $as_echo "$as_me: failed program was:" >&5
   5617 sed 's/^/| /' conftest.$ac_ext >&5
   5618 
   5619 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5620 	 CXXFLAGS="-g"
   5621 	 cat >conftest.$ac_ext <<_ACEOF
   5622 /* confdefs.h.  */
   5623 _ACEOF
   5624 cat confdefs.h >>conftest.$ac_ext
   5625 cat >>conftest.$ac_ext <<_ACEOF
   5626 /* end confdefs.h.  */
   5627 
   5628 int
   5629 main ()
   5630 {
   5631 
   5632   ;
   5633   return 0;
   5634 }
   5635 _ACEOF
   5636 rm -f conftest.$ac_objext
   5637 if { (ac_try="$ac_compile"
   5638 case "(($ac_try" in
   5639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5640   *) ac_try_echo=$ac_try;;
   5641 esac
   5642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5643 $as_echo "$ac_try_echo") >&5
   5644   (eval "$ac_compile") 2>conftest.er1
   5645   ac_status=$?
   5646   grep -v '^ *+' conftest.er1 >conftest.err
   5647   rm -f conftest.er1
   5648   cat conftest.err >&5
   5649   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5650   (exit $ac_status); } && {
   5651 	 test -z "$ac_cxx_werror_flag" ||
   5652 	 test ! -s conftest.err
   5653        } && test -s conftest.$ac_objext; then
   5654   ac_cv_prog_cxx_g=yes
   5655 else
   5656   $as_echo "$as_me: failed program was:" >&5
   5657 sed 's/^/| /' conftest.$ac_ext >&5
   5658 
   5659 
   5660 fi
   5661 
   5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5663 fi
   5664 
   5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5666 fi
   5667 
   5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5669    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5670 fi
   5671 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5672 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5673 if test "$ac_test_CXXFLAGS" = set; then
   5674   CXXFLAGS=$ac_save_CXXFLAGS
   5675 elif test $ac_cv_prog_cxx_g = yes; then
   5676   if test "$GXX" = yes; then
   5677     CXXFLAGS="-g -O2"
   5678   else
   5679     CXXFLAGS="-g"
   5680   fi
   5681 else
   5682   if test "$GXX" = yes; then
   5683     CXXFLAGS="-O2"
   5684   else
   5685     CXXFLAGS=
   5686   fi
   5687 fi
   5688 ac_ext=cpp
   5689 ac_cpp='$CXXCPP $CPPFLAGS'
   5690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5693 
   5694 depcc="$CXX"  am_compiler_list=
   5695 
   5696 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5697 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5698 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5699   $as_echo_n "(cached) " >&6
   5700 else
   5701   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5702   # We make a subdir and do the tests there.  Otherwise we can end up
   5703   # making bogus files that we don't know about and never remove.  For
   5704   # instance it was reported that on HP-UX the gcc test will end up
   5705   # making a dummy file named `D' -- because `-MD' means `put the output
   5706   # in D'.
   5707   mkdir conftest.dir
   5708   # Copy depcomp to subdir because otherwise we won't find it if we're
   5709   # using a relative directory.
   5710   cp "$am_depcomp" conftest.dir
   5711   cd conftest.dir
   5712   # We will build objects and dependencies in a subdirectory because
   5713   # it helps to detect inapplicable dependency modes.  For instance
   5714   # both Tru64's cc and ICC support -MD to output dependencies as a
   5715   # side effect of compilation, but ICC will put the dependencies in
   5716   # the current directory while Tru64 will put them in the object
   5717   # directory.
   5718   mkdir sub
   5719 
   5720   am_cv_CXX_dependencies_compiler_type=none
   5721   if test "$am_compiler_list" = ""; then
   5722      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5723   fi
   5724   for depmode in $am_compiler_list; do
   5725     # Setup a source with many dependencies, because some compilers
   5726     # like to wrap large dependency lists on column 80 (with \), and
   5727     # we should not choose a depcomp mode which is confused by this.
   5728     #
   5729     # We need to recreate these files for each test, as the compiler may
   5730     # overwrite some of them when testing with obscure command lines.
   5731     # This happens at least with the AIX C compiler.
   5732     : > sub/conftest.c
   5733     for i in 1 2 3 4 5 6; do
   5734       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5735       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5736       # Solaris 8's {/usr,}/bin/sh.
   5737       touch sub/conftst$i.h
   5738     done
   5739     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5740 
   5741     case $depmode in
   5742     nosideeffect)
   5743       # after this tag, mechanisms are not by side-effect, so they'll
   5744       # only be used when explicitly requested
   5745       if test "x$enable_dependency_tracking" = xyes; then
   5746 	continue
   5747       else
   5748 	break
   5749       fi
   5750       ;;
   5751     none) break ;;
   5752     esac
   5753     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5754     # mode.  It turns out that the SunPro C++ compiler does not properly
   5755     # handle `-M -o', and we need to detect this.
   5756     if depmode=$depmode \
   5757        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5758        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5759        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5760          >/dev/null 2>conftest.err &&
   5761        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5762        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5763        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5764        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5765       # icc doesn't choke on unknown options, it will just issue warnings
   5766       # or remarks (even with -Werror).  So we grep stderr for any message
   5767       # that says an option was ignored or not supported.
   5768       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5769       #   icc: Command line warning: ignoring option '-M'; no argument required
   5770       # The diagnosis changed in icc 8.0:
   5771       #   icc: Command line remark: option '-MP' not supported
   5772       if (grep 'ignoring option' conftest.err ||
   5773           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5774         am_cv_CXX_dependencies_compiler_type=$depmode
   5775         break
   5776       fi
   5777     fi
   5778   done
   5779 
   5780   cd ..
   5781   rm -rf conftest.dir
   5782 else
   5783   am_cv_CXX_dependencies_compiler_type=none
   5784 fi
   5785 
   5786 fi
   5787 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5788 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5789 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5790 
   5791  if
   5792   test "x$enable_dependency_tracking" != xno \
   5793   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5794   am__fastdepCXX_TRUE=
   5795   am__fastdepCXX_FALSE='#'
   5796 else
   5797   am__fastdepCXX_TRUE='#'
   5798   am__fastdepCXX_FALSE=
   5799 fi
   5800 
   5801 
   5802 
   5803 
   5804 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5805     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5806     (test "X$CXX" != "Xg++"))) ; then
   5807   ac_ext=cpp
   5808 ac_cpp='$CXXCPP $CPPFLAGS'
   5809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5812 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5813 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5814 if test -z "$CXXCPP"; then
   5815   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5816   $as_echo_n "(cached) " >&6
   5817 else
   5818       # Double quotes because CXXCPP needs to be expanded
   5819     for CXXCPP in "$CXX -E" "/lib/cpp"
   5820     do
   5821       ac_preproc_ok=false
   5822 for ac_cxx_preproc_warn_flag in '' yes
   5823 do
   5824   # Use a header file that comes with gcc, so configuring glibc
   5825   # with a fresh cross-compiler works.
   5826   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5827   # <limits.h> exists even on freestanding compilers.
   5828   # On the NeXT, cc -E runs the code through the compiler's parser,
   5829   # not just through cpp. "Syntax error" is here to catch this case.
   5830   cat >conftest.$ac_ext <<_ACEOF
   5831 /* confdefs.h.  */
   5832 _ACEOF
   5833 cat confdefs.h >>conftest.$ac_ext
   5834 cat >>conftest.$ac_ext <<_ACEOF
   5835 /* end confdefs.h.  */
   5836 #ifdef __STDC__
   5837 # include <limits.h>
   5838 #else
   5839 # include <assert.h>
   5840 #endif
   5841 		     Syntax error
   5842 _ACEOF
   5843 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5844 case "(($ac_try" in
   5845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5846   *) ac_try_echo=$ac_try;;
   5847 esac
   5848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5849 $as_echo "$ac_try_echo") >&5
   5850   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5851   ac_status=$?
   5852   grep -v '^ *+' conftest.er1 >conftest.err
   5853   rm -f conftest.er1
   5854   cat conftest.err >&5
   5855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5856   (exit $ac_status); } >/dev/null && {
   5857 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5858 	 test ! -s conftest.err
   5859        }; then
   5860   :
   5861 else
   5862   $as_echo "$as_me: failed program was:" >&5
   5863 sed 's/^/| /' conftest.$ac_ext >&5
   5864 
   5865   # Broken: fails on valid input.
   5866 continue
   5867 fi
   5868 
   5869 rm -f conftest.err conftest.$ac_ext
   5870 
   5871   # OK, works on sane cases.  Now check whether nonexistent headers
   5872   # can be detected and how.
   5873   cat >conftest.$ac_ext <<_ACEOF
   5874 /* confdefs.h.  */
   5875 _ACEOF
   5876 cat confdefs.h >>conftest.$ac_ext
   5877 cat >>conftest.$ac_ext <<_ACEOF
   5878 /* end confdefs.h.  */
   5879 #include <ac_nonexistent.h>
   5880 _ACEOF
   5881 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5882 case "(($ac_try" in
   5883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5884   *) ac_try_echo=$ac_try;;
   5885 esac
   5886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5887 $as_echo "$ac_try_echo") >&5
   5888   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5889   ac_status=$?
   5890   grep -v '^ *+' conftest.er1 >conftest.err
   5891   rm -f conftest.er1
   5892   cat conftest.err >&5
   5893   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5894   (exit $ac_status); } >/dev/null && {
   5895 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5896 	 test ! -s conftest.err
   5897        }; then
   5898   # Broken: success on invalid input.
   5899 continue
   5900 else
   5901   $as_echo "$as_me: failed program was:" >&5
   5902 sed 's/^/| /' conftest.$ac_ext >&5
   5903 
   5904   # Passes both tests.
   5905 ac_preproc_ok=:
   5906 break
   5907 fi
   5908 
   5909 rm -f conftest.err conftest.$ac_ext
   5910 
   5911 done
   5912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5913 rm -f conftest.err conftest.$ac_ext
   5914 if $ac_preproc_ok; then
   5915   break
   5916 fi
   5917 
   5918     done
   5919     ac_cv_prog_CXXCPP=$CXXCPP
   5920 
   5921 fi
   5922   CXXCPP=$ac_cv_prog_CXXCPP
   5923 else
   5924   ac_cv_prog_CXXCPP=$CXXCPP
   5925 fi
   5926 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5927 $as_echo "$CXXCPP" >&6; }
   5928 ac_preproc_ok=false
   5929 for ac_cxx_preproc_warn_flag in '' yes
   5930 do
   5931   # Use a header file that comes with gcc, so configuring glibc
   5932   # with a fresh cross-compiler works.
   5933   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5934   # <limits.h> exists even on freestanding compilers.
   5935   # On the NeXT, cc -E runs the code through the compiler's parser,
   5936   # not just through cpp. "Syntax error" is here to catch this case.
   5937   cat >conftest.$ac_ext <<_ACEOF
   5938 /* confdefs.h.  */
   5939 _ACEOF
   5940 cat confdefs.h >>conftest.$ac_ext
   5941 cat >>conftest.$ac_ext <<_ACEOF
   5942 /* end confdefs.h.  */
   5943 #ifdef __STDC__
   5944 # include <limits.h>
   5945 #else
   5946 # include <assert.h>
   5947 #endif
   5948 		     Syntax error
   5949 _ACEOF
   5950 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5951 case "(($ac_try" in
   5952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5953   *) ac_try_echo=$ac_try;;
   5954 esac
   5955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5956 $as_echo "$ac_try_echo") >&5
   5957   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5958   ac_status=$?
   5959   grep -v '^ *+' conftest.er1 >conftest.err
   5960   rm -f conftest.er1
   5961   cat conftest.err >&5
   5962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5963   (exit $ac_status); } >/dev/null && {
   5964 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5965 	 test ! -s conftest.err
   5966        }; then
   5967   :
   5968 else
   5969   $as_echo "$as_me: failed program was:" >&5
   5970 sed 's/^/| /' conftest.$ac_ext >&5
   5971 
   5972   # Broken: fails on valid input.
   5973 continue
   5974 fi
   5975 
   5976 rm -f conftest.err conftest.$ac_ext
   5977 
   5978   # OK, works on sane cases.  Now check whether nonexistent headers
   5979   # can be detected and how.
   5980   cat >conftest.$ac_ext <<_ACEOF
   5981 /* confdefs.h.  */
   5982 _ACEOF
   5983 cat confdefs.h >>conftest.$ac_ext
   5984 cat >>conftest.$ac_ext <<_ACEOF
   5985 /* end confdefs.h.  */
   5986 #include <ac_nonexistent.h>
   5987 _ACEOF
   5988 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5989 case "(($ac_try" in
   5990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5991   *) ac_try_echo=$ac_try;;
   5992 esac
   5993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5994 $as_echo "$ac_try_echo") >&5
   5995   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5996   ac_status=$?
   5997   grep -v '^ *+' conftest.er1 >conftest.err
   5998   rm -f conftest.er1
   5999   cat conftest.err >&5
   6000   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6001   (exit $ac_status); } >/dev/null && {
   6002 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6003 	 test ! -s conftest.err
   6004        }; then
   6005   # Broken: success on invalid input.
   6006 continue
   6007 else
   6008   $as_echo "$as_me: failed program was:" >&5
   6009 sed 's/^/| /' conftest.$ac_ext >&5
   6010 
   6011   # Passes both tests.
   6012 ac_preproc_ok=:
   6013 break
   6014 fi
   6015 
   6016 rm -f conftest.err conftest.$ac_ext
   6017 
   6018 done
   6019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6020 rm -f conftest.err conftest.$ac_ext
   6021 if $ac_preproc_ok; then
   6022   :
   6023 else
   6024   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6026 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6027 See \`config.log' for more details." >&5
   6028 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6029 See \`config.log' for more details." >&2;}
   6030    { (exit 1); exit 1; }; }; }
   6031 fi
   6032 
   6033 ac_ext=cpp
   6034 ac_cpp='$CXXCPP $CPPFLAGS'
   6035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6038 
   6039 fi
   6040 
   6041 
   6042 ac_ext=f
   6043 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6044 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6045 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6046 if test -n "$ac_tool_prefix"; then
   6047   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
   6048   do
   6049     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6052 $as_echo_n "checking for $ac_word... " >&6; }
   6053 if test "${ac_cv_prog_F77+set}" = set; then
   6054   $as_echo_n "(cached) " >&6
   6055 else
   6056   if test -n "$F77"; then
   6057   ac_cv_prog_F77="$F77" # Let the user override the test.
   6058 else
   6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6060 for as_dir in $PATH
   6061 do
   6062   IFS=$as_save_IFS
   6063   test -z "$as_dir" && as_dir=.
   6064   for ac_exec_ext in '' $ac_executable_extensions; do
   6065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6066     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6067     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6068     break 2
   6069   fi
   6070 done
   6071 done
   6072 IFS=$as_save_IFS
   6073 
   6074 fi
   6075 fi
   6076 F77=$ac_cv_prog_F77
   6077 if test -n "$F77"; then
   6078   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6079 $as_echo "$F77" >&6; }
   6080 else
   6081   { $as_echo "$as_me:$LINENO: result: no" >&5
   6082 $as_echo "no" >&6; }
   6083 fi
   6084 
   6085 
   6086     test -n "$F77" && break
   6087   done
   6088 fi
   6089 if test -z "$F77"; then
   6090   ac_ct_F77=$F77
   6091   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
   6092 do
   6093   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6094 set dummy $ac_prog; ac_word=$2
   6095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6096 $as_echo_n "checking for $ac_word... " >&6; }
   6097 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   if test -n "$ac_ct_F77"; then
   6101   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6102 else
   6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6104 for as_dir in $PATH
   6105 do
   6106   IFS=$as_save_IFS
   6107   test -z "$as_dir" && as_dir=.
   6108   for ac_exec_ext in '' $ac_executable_extensions; do
   6109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6110     ac_cv_prog_ac_ct_F77="$ac_prog"
   6111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6112     break 2
   6113   fi
   6114 done
   6115 done
   6116 IFS=$as_save_IFS
   6117 
   6118 fi
   6119 fi
   6120 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6121 if test -n "$ac_ct_F77"; then
   6122   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6123 $as_echo "$ac_ct_F77" >&6; }
   6124 else
   6125   { $as_echo "$as_me:$LINENO: result: no" >&5
   6126 $as_echo "no" >&6; }
   6127 fi
   6128 
   6129 
   6130   test -n "$ac_ct_F77" && break
   6131 done
   6132 
   6133   if test "x$ac_ct_F77" = x; then
   6134     F77=""
   6135   else
   6136     case $cross_compiling:$ac_tool_warned in
   6137 yes:)
   6138 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6140 ac_tool_warned=yes ;;
   6141 esac
   6142     F77=$ac_ct_F77
   6143   fi
   6144 fi
   6145 
   6146 
   6147 # Provide some information about the compiler.
   6148 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6149 set X $ac_compile
   6150 ac_compiler=$2
   6151 { (ac_try="$ac_compiler --version >&5"
   6152 case "(($ac_try" in
   6153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6154   *) ac_try_echo=$ac_try;;
   6155 esac
   6156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6157 $as_echo "$ac_try_echo") >&5
   6158   (eval "$ac_compiler --version >&5") 2>&5
   6159   ac_status=$?
   6160   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6161   (exit $ac_status); }
   6162 { (ac_try="$ac_compiler -v >&5"
   6163 case "(($ac_try" in
   6164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6165   *) ac_try_echo=$ac_try;;
   6166 esac
   6167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6168 $as_echo "$ac_try_echo") >&5
   6169   (eval "$ac_compiler -v >&5") 2>&5
   6170   ac_status=$?
   6171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6172   (exit $ac_status); }
   6173 { (ac_try="$ac_compiler -V >&5"
   6174 case "(($ac_try" in
   6175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6176   *) ac_try_echo=$ac_try;;
   6177 esac
   6178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6179 $as_echo "$ac_try_echo") >&5
   6180   (eval "$ac_compiler -V >&5") 2>&5
   6181   ac_status=$?
   6182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6183   (exit $ac_status); }
   6184 rm -f a.out
   6185 
   6186 # If we don't use `.F' as extension, the preprocessor is not run on the
   6187 # input file.  (Note that this only needs to work for GNU compilers.)
   6188 ac_save_ext=$ac_ext
   6189 ac_ext=F
   6190 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6191 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6192 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6193   $as_echo_n "(cached) " >&6
   6194 else
   6195   cat >conftest.$ac_ext <<_ACEOF
   6196       program main
   6197 #ifndef __GNUC__
   6198        choke me
   6199 #endif
   6200 
   6201       end
   6202 _ACEOF
   6203 rm -f conftest.$ac_objext
   6204 if { (ac_try="$ac_compile"
   6205 case "(($ac_try" in
   6206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6207   *) ac_try_echo=$ac_try;;
   6208 esac
   6209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6210 $as_echo "$ac_try_echo") >&5
   6211   (eval "$ac_compile") 2>conftest.er1
   6212   ac_status=$?
   6213   grep -v '^ *+' conftest.er1 >conftest.err
   6214   rm -f conftest.er1
   6215   cat conftest.err >&5
   6216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6217   (exit $ac_status); } && {
   6218 	 test -z "$ac_f77_werror_flag" ||
   6219 	 test ! -s conftest.err
   6220        } && test -s conftest.$ac_objext; then
   6221   ac_compiler_gnu=yes
   6222 else
   6223   $as_echo "$as_me: failed program was:" >&5
   6224 sed 's/^/| /' conftest.$ac_ext >&5
   6225 
   6226 	ac_compiler_gnu=no
   6227 fi
   6228 
   6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6230 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6231 
   6232 fi
   6233 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6234 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6235 ac_ext=$ac_save_ext
   6236 ac_test_FFLAGS=${FFLAGS+set}
   6237 ac_save_FFLAGS=$FFLAGS
   6238 FFLAGS=
   6239 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6240 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6241 if test "${ac_cv_prog_f77_g+set}" = set; then
   6242   $as_echo_n "(cached) " >&6
   6243 else
   6244   FFLAGS=-g
   6245 cat >conftest.$ac_ext <<_ACEOF
   6246       program main
   6247 
   6248       end
   6249 _ACEOF
   6250 rm -f conftest.$ac_objext
   6251 if { (ac_try="$ac_compile"
   6252 case "(($ac_try" in
   6253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6254   *) ac_try_echo=$ac_try;;
   6255 esac
   6256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6257 $as_echo "$ac_try_echo") >&5
   6258   (eval "$ac_compile") 2>conftest.er1
   6259   ac_status=$?
   6260   grep -v '^ *+' conftest.er1 >conftest.err
   6261   rm -f conftest.er1
   6262   cat conftest.err >&5
   6263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6264   (exit $ac_status); } && {
   6265 	 test -z "$ac_f77_werror_flag" ||
   6266 	 test ! -s conftest.err
   6267        } && test -s conftest.$ac_objext; then
   6268   ac_cv_prog_f77_g=yes
   6269 else
   6270   $as_echo "$as_me: failed program was:" >&5
   6271 sed 's/^/| /' conftest.$ac_ext >&5
   6272 
   6273 	ac_cv_prog_f77_g=no
   6274 fi
   6275 
   6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6277 
   6278 fi
   6279 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6280 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6281 if test "$ac_test_FFLAGS" = set; then
   6282   FFLAGS=$ac_save_FFLAGS
   6283 elif test $ac_cv_prog_f77_g = yes; then
   6284   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6285     FFLAGS="-g -O2"
   6286   else
   6287     FFLAGS="-g"
   6288   fi
   6289 else
   6290   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6291     FFLAGS="-O2"
   6292   else
   6293     FFLAGS=
   6294   fi
   6295 fi
   6296 
   6297 if test $ac_compiler_gnu = yes; then
   6298   G77=yes
   6299 else
   6300   G77=
   6301 fi
   6302 ac_ext=c
   6303 ac_cpp='$CPP $CPPFLAGS'
   6304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6307 
   6308 
   6309 
   6310 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6311 # find the maximum length of command line arguments
   6312 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6313 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6314 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317     i=0
   6318   teststring="ABCD"
   6319 
   6320   case $build_os in
   6321   msdosdjgpp*)
   6322     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6323     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6324     # during glob expansion).  Even if it were fixed, the result of this
   6325     # check would be larger than it should be.
   6326     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6327     ;;
   6328 
   6329   gnu*)
   6330     # Under GNU Hurd, this test is not required because there is
   6331     # no limit to the length of command line arguments.
   6332     # Libtool will interpret -1 as no limit whatsoever
   6333     lt_cv_sys_max_cmd_len=-1;
   6334     ;;
   6335 
   6336   cygwin* | mingw*)
   6337     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6338     # about 5 minutes as the teststring grows exponentially.
   6339     # Worse, since 9x/ME are not pre-emptively multitasking,
   6340     # you end up with a "frozen" computer, even though with patience
   6341     # the test eventually succeeds (with a max line length of 256k).
   6342     # Instead, let's just punt: use the minimum linelength reported by
   6343     # all of the supported platforms: 8192 (on NT/2K/XP).
   6344     lt_cv_sys_max_cmd_len=8192;
   6345     ;;
   6346 
   6347   amigaos*)
   6348     # On AmigaOS with pdksh, this test takes hours, literally.
   6349     # So we just punt and use a minimum line length of 8192.
   6350     lt_cv_sys_max_cmd_len=8192;
   6351     ;;
   6352 
   6353   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6354     # This has been around since 386BSD, at least.  Likely further.
   6355     if test -x /sbin/sysctl; then
   6356       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6357     elif test -x /usr/sbin/sysctl; then
   6358       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6359     else
   6360       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6361     fi
   6362     # And add a safety zone
   6363     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6364     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6365     ;;
   6366 
   6367   interix*)
   6368     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6369     lt_cv_sys_max_cmd_len=196608
   6370     ;;
   6371 
   6372   osf*)
   6373     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6374     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6375     # nice to cause kernel panics so lets avoid the loop below.
   6376     # First set a reasonable default.
   6377     lt_cv_sys_max_cmd_len=16384
   6378     #
   6379     if test -x /sbin/sysconfig; then
   6380       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6381         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6382       esac
   6383     fi
   6384     ;;
   6385   sco3.2v5*)
   6386     lt_cv_sys_max_cmd_len=102400
   6387     ;;
   6388   sysv5* | sco5v6* | sysv4.2uw2*)
   6389     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6390     if test -n "$kargmax"; then
   6391       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6392     else
   6393       lt_cv_sys_max_cmd_len=32768
   6394     fi
   6395     ;;
   6396   *)
   6397     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6398     if test -n "$lt_cv_sys_max_cmd_len"; then
   6399       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6400       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6401     else
   6402       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6403       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6404 	       = "XX$teststring") >/dev/null 2>&1 &&
   6405 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6406 	      lt_cv_sys_max_cmd_len=$new_result &&
   6407 	      test $i != 17 # 1/2 MB should be enough
   6408       do
   6409         i=`expr $i + 1`
   6410         teststring=$teststring$teststring
   6411       done
   6412       teststring=
   6413       # Add a significant safety factor because C++ compilers can tack on massive
   6414       # amounts of additional arguments before passing them to the linker.
   6415       # It appears as though 1/2 is a usable value.
   6416       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6417     fi
   6418     ;;
   6419   esac
   6420 
   6421 fi
   6422 
   6423 if test -n $lt_cv_sys_max_cmd_len ; then
   6424   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6425 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6426 else
   6427   { $as_echo "$as_me:$LINENO: result: none" >&5
   6428 $as_echo "none" >&6; }
   6429 fi
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6436 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6437 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6438 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6439   $as_echo_n "(cached) " >&6
   6440 else
   6441 
   6442 # These are sane defaults that work on at least a few old systems.
   6443 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6444 
   6445 # Character class describing NM global symbol codes.
   6446 symcode='[BCDEGRST]'
   6447 
   6448 # Regexp to match symbols that can be accessed directly from C.
   6449 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6450 
   6451 # Transform an extracted symbol line into a proper C declaration
   6452 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6453 
   6454 # Transform an extracted symbol line into symbol name and symbol address
   6455 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'"
   6456 
   6457 # Define system-specific variables.
   6458 case $host_os in
   6459 aix*)
   6460   symcode='[BCDT]'
   6461   ;;
   6462 cygwin* | mingw* | pw32*)
   6463   symcode='[ABCDGISTW]'
   6464   ;;
   6465 hpux*) # Its linker distinguishes data from code symbols
   6466   if test "$host_cpu" = ia64; then
   6467     symcode='[ABCDEGRST]'
   6468   fi
   6469   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6470   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'"
   6471   ;;
   6472 linux* | k*bsd*-gnu)
   6473   if test "$host_cpu" = ia64; then
   6474     symcode='[ABCDGIRSTW]'
   6475     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6476     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'"
   6477   fi
   6478   ;;
   6479 irix* | nonstopux*)
   6480   symcode='[BCDEGRST]'
   6481   ;;
   6482 osf*)
   6483   symcode='[BCDEGQRST]'
   6484   ;;
   6485 solaris*)
   6486   symcode='[BDRT]'
   6487   ;;
   6488 sco3.2v5*)
   6489   symcode='[DT]'
   6490   ;;
   6491 sysv4.2uw2*)
   6492   symcode='[DT]'
   6493   ;;
   6494 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6495   symcode='[ABDT]'
   6496   ;;
   6497 sysv4)
   6498   symcode='[DFNSTU]'
   6499   ;;
   6500 esac
   6501 
   6502 # Handle CRLF in mingw tool chain
   6503 opt_cr=
   6504 case $build_os in
   6505 mingw*)
   6506   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6507   ;;
   6508 esac
   6509 
   6510 # If we're using GNU nm, then use its standard symbol codes.
   6511 case `$NM -V 2>&1` in
   6512 *GNU* | *'with BFD'*)
   6513   symcode='[ABCDGIRSTW]' ;;
   6514 esac
   6515 
   6516 # Try without a prefix undercore, then with it.
   6517 for ac_symprfx in "" "_"; do
   6518 
   6519   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6520   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6521 
   6522   # Write the raw and C identifiers.
   6523   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6524 
   6525   # Check to see that the pipe works correctly.
   6526   pipe_works=no
   6527 
   6528   rm -f conftest*
   6529   cat > conftest.$ac_ext <<EOF
   6530 #ifdef __cplusplus
   6531 extern "C" {
   6532 #endif
   6533 char nm_test_var;
   6534 void nm_test_func(){}
   6535 #ifdef __cplusplus
   6536 }
   6537 #endif
   6538 int main(){nm_test_var='a';nm_test_func();return(0);}
   6539 EOF
   6540 
   6541   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6542   (eval $ac_compile) 2>&5
   6543   ac_status=$?
   6544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6545   (exit $ac_status); }; then
   6546     # Now try to grab the symbols.
   6547     nlist=conftest.nm
   6548     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6549   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6550   ac_status=$?
   6551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6552   (exit $ac_status); } && test -s "$nlist"; then
   6553       # Try sorting and uniquifying the output.
   6554       if sort "$nlist" | uniq > "$nlist"T; then
   6555 	mv -f "$nlist"T "$nlist"
   6556       else
   6557 	rm -f "$nlist"T
   6558       fi
   6559 
   6560       # Make sure that we snagged all the symbols we need.
   6561       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6562 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6563 	  cat <<EOF > conftest.$ac_ext
   6564 #ifdef __cplusplus
   6565 extern "C" {
   6566 #endif
   6567 
   6568 EOF
   6569 	  # Now generate the symbol file.
   6570 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6571 
   6572 	  cat <<EOF >> conftest.$ac_ext
   6573 #if defined (__STDC__) && __STDC__
   6574 # define lt_ptr_t void *
   6575 #else
   6576 # define lt_ptr_t char *
   6577 # define const
   6578 #endif
   6579 
   6580 /* The mapping between symbol names and symbols. */
   6581 const struct {
   6582   const char *name;
   6583   lt_ptr_t address;
   6584 }
   6585 lt_preloaded_symbols[] =
   6586 {
   6587 EOF
   6588 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6589 	  cat <<\EOF >> conftest.$ac_ext
   6590   {0, (lt_ptr_t) 0}
   6591 };
   6592 
   6593 #ifdef __cplusplus
   6594 }
   6595 #endif
   6596 EOF
   6597 	  # Now try linking the two files.
   6598 	  mv conftest.$ac_objext conftstm.$ac_objext
   6599 	  lt_save_LIBS="$LIBS"
   6600 	  lt_save_CFLAGS="$CFLAGS"
   6601 	  LIBS="conftstm.$ac_objext"
   6602 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6603 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6604   (eval $ac_link) 2>&5
   6605   ac_status=$?
   6606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6607   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6608 	    pipe_works=yes
   6609 	  fi
   6610 	  LIBS="$lt_save_LIBS"
   6611 	  CFLAGS="$lt_save_CFLAGS"
   6612 	else
   6613 	  echo "cannot find nm_test_func in $nlist" >&5
   6614 	fi
   6615       else
   6616 	echo "cannot find nm_test_var in $nlist" >&5
   6617       fi
   6618     else
   6619       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6620     fi
   6621   else
   6622     echo "$progname: failed program was:" >&5
   6623     cat conftest.$ac_ext >&5
   6624   fi
   6625   rm -rf conftest* conftst*
   6626 
   6627   # Do not use the global_symbol_pipe unless it works.
   6628   if test "$pipe_works" = yes; then
   6629     break
   6630   else
   6631     lt_cv_sys_global_symbol_pipe=
   6632   fi
   6633 done
   6634 
   6635 fi
   6636 
   6637 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6638   lt_cv_sys_global_symbol_to_cdecl=
   6639 fi
   6640 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6641   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6642 $as_echo "failed" >&6; }
   6643 else
   6644   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6645 $as_echo "ok" >&6; }
   6646 fi
   6647 
   6648 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6649 $as_echo_n "checking for objdir... " >&6; }
   6650 if test "${lt_cv_objdir+set}" = set; then
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   rm -f .libs 2>/dev/null
   6654 mkdir .libs 2>/dev/null
   6655 if test -d .libs; then
   6656   lt_cv_objdir=.libs
   6657 else
   6658   # MS-DOS does not allow filenames that begin with a dot.
   6659   lt_cv_objdir=_libs
   6660 fi
   6661 rmdir .libs 2>/dev/null
   6662 fi
   6663 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6664 $as_echo "$lt_cv_objdir" >&6; }
   6665 objdir=$lt_cv_objdir
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 case $host_os in
   6672 aix3*)
   6673   # AIX sometimes has problems with the GCC collect2 program.  For some
   6674   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6675   # vanish in a puff of smoke.
   6676   if test "X${COLLECT_NAMES+set}" != Xset; then
   6677     COLLECT_NAMES=
   6678     export COLLECT_NAMES
   6679   fi
   6680   ;;
   6681 esac
   6682 
   6683 # Sed substitution that helps us do robust quoting.  It backslashifies
   6684 # metacharacters that are still active within double-quoted strings.
   6685 Xsed='sed -e 1s/^X//'
   6686 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6687 
   6688 # Same as above, but do not quote variable references.
   6689 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6690 
   6691 # Sed substitution to delay expansion of an escaped shell variable in a
   6692 # double_quote_subst'ed string.
   6693 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6694 
   6695 # Sed substitution to avoid accidental globbing in evaled expressions
   6696 no_glob_subst='s/\*/\\\*/g'
   6697 
   6698 # Constants:
   6699 rm="rm -f"
   6700 
   6701 # Global variables:
   6702 default_ofile=libtool
   6703 can_build_shared=yes
   6704 
   6705 # All known linkers require a `.a' archive for static linking (except MSVC,
   6706 # which needs '.lib').
   6707 libext=a
   6708 ltmain="$ac_aux_dir/ltmain.sh"
   6709 ofile="$default_ofile"
   6710 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6711 
   6712 if test -n "$ac_tool_prefix"; then
   6713   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6714 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6716 $as_echo_n "checking for $ac_word... " >&6; }
   6717 if test "${ac_cv_prog_AR+set}" = set; then
   6718   $as_echo_n "(cached) " >&6
   6719 else
   6720   if test -n "$AR"; then
   6721   ac_cv_prog_AR="$AR" # Let the user override the test.
   6722 else
   6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6724 for as_dir in $PATH
   6725 do
   6726   IFS=$as_save_IFS
   6727   test -z "$as_dir" && as_dir=.
   6728   for ac_exec_ext in '' $ac_executable_extensions; do
   6729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6730     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6731     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6732     break 2
   6733   fi
   6734 done
   6735 done
   6736 IFS=$as_save_IFS
   6737 
   6738 fi
   6739 fi
   6740 AR=$ac_cv_prog_AR
   6741 if test -n "$AR"; then
   6742   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6743 $as_echo "$AR" >&6; }
   6744 else
   6745   { $as_echo "$as_me:$LINENO: result: no" >&5
   6746 $as_echo "no" >&6; }
   6747 fi
   6748 
   6749 
   6750 fi
   6751 if test -z "$ac_cv_prog_AR"; then
   6752   ac_ct_AR=$AR
   6753   # Extract the first word of "ar", so it can be a program name with args.
   6754 set dummy ar; ac_word=$2
   6755 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6756 $as_echo_n "checking for $ac_word... " >&6; }
   6757 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6758   $as_echo_n "(cached) " >&6
   6759 else
   6760   if test -n "$ac_ct_AR"; then
   6761   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6762 else
   6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6764 for as_dir in $PATH
   6765 do
   6766   IFS=$as_save_IFS
   6767   test -z "$as_dir" && as_dir=.
   6768   for ac_exec_ext in '' $ac_executable_extensions; do
   6769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6770     ac_cv_prog_ac_ct_AR="ar"
   6771     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6772     break 2
   6773   fi
   6774 done
   6775 done
   6776 IFS=$as_save_IFS
   6777 
   6778 fi
   6779 fi
   6780 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6781 if test -n "$ac_ct_AR"; then
   6782   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6783 $as_echo "$ac_ct_AR" >&6; }
   6784 else
   6785   { $as_echo "$as_me:$LINENO: result: no" >&5
   6786 $as_echo "no" >&6; }
   6787 fi
   6788 
   6789   if test "x$ac_ct_AR" = x; then
   6790     AR="false"
   6791   else
   6792     case $cross_compiling:$ac_tool_warned in
   6793 yes:)
   6794 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6796 ac_tool_warned=yes ;;
   6797 esac
   6798     AR=$ac_ct_AR
   6799   fi
   6800 else
   6801   AR="$ac_cv_prog_AR"
   6802 fi
   6803 
   6804 if test -n "$ac_tool_prefix"; then
   6805   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6806 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6807 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6808 $as_echo_n "checking for $ac_word... " >&6; }
   6809 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6810   $as_echo_n "(cached) " >&6
   6811 else
   6812   if test -n "$RANLIB"; then
   6813   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6814 else
   6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6816 for as_dir in $PATH
   6817 do
   6818   IFS=$as_save_IFS
   6819   test -z "$as_dir" && as_dir=.
   6820   for ac_exec_ext in '' $ac_executable_extensions; do
   6821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6822     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6823     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6824     break 2
   6825   fi
   6826 done
   6827 done
   6828 IFS=$as_save_IFS
   6829 
   6830 fi
   6831 fi
   6832 RANLIB=$ac_cv_prog_RANLIB
   6833 if test -n "$RANLIB"; then
   6834   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6835 $as_echo "$RANLIB" >&6; }
   6836 else
   6837   { $as_echo "$as_me:$LINENO: result: no" >&5
   6838 $as_echo "no" >&6; }
   6839 fi
   6840 
   6841 
   6842 fi
   6843 if test -z "$ac_cv_prog_RANLIB"; then
   6844   ac_ct_RANLIB=$RANLIB
   6845   # Extract the first word of "ranlib", so it can be a program name with args.
   6846 set dummy ranlib; ac_word=$2
   6847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6848 $as_echo_n "checking for $ac_word... " >&6; }
   6849 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6850   $as_echo_n "(cached) " >&6
   6851 else
   6852   if test -n "$ac_ct_RANLIB"; then
   6853   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6854 else
   6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6856 for as_dir in $PATH
   6857 do
   6858   IFS=$as_save_IFS
   6859   test -z "$as_dir" && as_dir=.
   6860   for ac_exec_ext in '' $ac_executable_extensions; do
   6861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6862     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6863     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6864     break 2
   6865   fi
   6866 done
   6867 done
   6868 IFS=$as_save_IFS
   6869 
   6870 fi
   6871 fi
   6872 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6873 if test -n "$ac_ct_RANLIB"; then
   6874   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6875 $as_echo "$ac_ct_RANLIB" >&6; }
   6876 else
   6877   { $as_echo "$as_me:$LINENO: result: no" >&5
   6878 $as_echo "no" >&6; }
   6879 fi
   6880 
   6881   if test "x$ac_ct_RANLIB" = x; then
   6882     RANLIB=":"
   6883   else
   6884     case $cross_compiling:$ac_tool_warned in
   6885 yes:)
   6886 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6888 ac_tool_warned=yes ;;
   6889 esac
   6890     RANLIB=$ac_ct_RANLIB
   6891   fi
   6892 else
   6893   RANLIB="$ac_cv_prog_RANLIB"
   6894 fi
   6895 
   6896 if test -n "$ac_tool_prefix"; then
   6897   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6898 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6900 $as_echo_n "checking for $ac_word... " >&6; }
   6901 if test "${ac_cv_prog_STRIP+set}" = set; then
   6902   $as_echo_n "(cached) " >&6
   6903 else
   6904   if test -n "$STRIP"; then
   6905   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6906 else
   6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6908 for as_dir in $PATH
   6909 do
   6910   IFS=$as_save_IFS
   6911   test -z "$as_dir" && as_dir=.
   6912   for ac_exec_ext in '' $ac_executable_extensions; do
   6913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6914     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6915     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6916     break 2
   6917   fi
   6918 done
   6919 done
   6920 IFS=$as_save_IFS
   6921 
   6922 fi
   6923 fi
   6924 STRIP=$ac_cv_prog_STRIP
   6925 if test -n "$STRIP"; then
   6926   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6927 $as_echo "$STRIP" >&6; }
   6928 else
   6929   { $as_echo "$as_me:$LINENO: result: no" >&5
   6930 $as_echo "no" >&6; }
   6931 fi
   6932 
   6933 
   6934 fi
   6935 if test -z "$ac_cv_prog_STRIP"; then
   6936   ac_ct_STRIP=$STRIP
   6937   # Extract the first word of "strip", so it can be a program name with args.
   6938 set dummy strip; ac_word=$2
   6939 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6940 $as_echo_n "checking for $ac_word... " >&6; }
   6941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   if test -n "$ac_ct_STRIP"; then
   6945   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6946 else
   6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6948 for as_dir in $PATH
   6949 do
   6950   IFS=$as_save_IFS
   6951   test -z "$as_dir" && as_dir=.
   6952   for ac_exec_ext in '' $ac_executable_extensions; do
   6953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6954     ac_cv_prog_ac_ct_STRIP="strip"
   6955     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6956     break 2
   6957   fi
   6958 done
   6959 done
   6960 IFS=$as_save_IFS
   6961 
   6962 fi
   6963 fi
   6964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6965 if test -n "$ac_ct_STRIP"; then
   6966   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6967 $as_echo "$ac_ct_STRIP" >&6; }
   6968 else
   6969   { $as_echo "$as_me:$LINENO: result: no" >&5
   6970 $as_echo "no" >&6; }
   6971 fi
   6972 
   6973   if test "x$ac_ct_STRIP" = x; then
   6974     STRIP=":"
   6975   else
   6976     case $cross_compiling:$ac_tool_warned in
   6977 yes:)
   6978 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6980 ac_tool_warned=yes ;;
   6981 esac
   6982     STRIP=$ac_ct_STRIP
   6983   fi
   6984 else
   6985   STRIP="$ac_cv_prog_STRIP"
   6986 fi
   6987 
   6988 
   6989 old_CC="$CC"
   6990 old_CFLAGS="$CFLAGS"
   6991 
   6992 # Set sane defaults for various variables
   6993 test -z "$AR" && AR=ar
   6994 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6995 test -z "$AS" && AS=as
   6996 test -z "$CC" && CC=cc
   6997 test -z "$LTCC" && LTCC=$CC
   6998 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6999 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7000 test -z "$LD" && LD=ld
   7001 test -z "$LN_S" && LN_S="ln -s"
   7002 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7003 test -z "$NM" && NM=nm
   7004 test -z "$SED" && SED=sed
   7005 test -z "$OBJDUMP" && OBJDUMP=objdump
   7006 test -z "$RANLIB" && RANLIB=:
   7007 test -z "$STRIP" && STRIP=:
   7008 test -z "$ac_objext" && ac_objext=o
   7009 
   7010 # Determine commands to create old-style static archives.
   7011 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7012 old_postinstall_cmds='chmod 644 $oldlib'
   7013 old_postuninstall_cmds=
   7014 
   7015 if test -n "$RANLIB"; then
   7016   case $host_os in
   7017   openbsd*)
   7018     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7019     ;;
   7020   *)
   7021     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7022     ;;
   7023   esac
   7024   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7025 fi
   7026 
   7027 for cc_temp in $compiler""; do
   7028   case $cc_temp in
   7029     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7030     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7031     \-*) ;;
   7032     *) break;;
   7033   esac
   7034 done
   7035 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7036 
   7037 
   7038 # Only perform the check for file, if the check method requires it
   7039 case $deplibs_check_method in
   7040 file_magic*)
   7041   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7042     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7043 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7044 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   case $MAGIC_CMD in
   7048 [\\/*] |  ?:[\\/]*)
   7049   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7050   ;;
   7051 *)
   7052   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7053   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7054   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7055   for ac_dir in $ac_dummy; do
   7056     IFS="$lt_save_ifs"
   7057     test -z "$ac_dir" && ac_dir=.
   7058     if test -f $ac_dir/${ac_tool_prefix}file; then
   7059       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7060       if test -n "$file_magic_test_file"; then
   7061 	case $deplibs_check_method in
   7062 	"file_magic "*)
   7063 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7064 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7065 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7066 	    $EGREP "$file_magic_regex" > /dev/null; then
   7067 	    :
   7068 	  else
   7069 	    cat <<EOF 1>&2
   7070 
   7071 *** Warning: the command libtool uses to detect shared libraries,
   7072 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7073 *** The result is that libtool may fail to recognize shared libraries
   7074 *** as such.  This will affect the creation of libtool libraries that
   7075 *** depend on shared libraries, but programs linked with such libtool
   7076 *** libraries will work regardless of this problem.  Nevertheless, you
   7077 *** may want to report the problem to your system manager and/or to
   7078 *** bug-libtool@gnu.org
   7079 
   7080 EOF
   7081 	  fi ;;
   7082 	esac
   7083       fi
   7084       break
   7085     fi
   7086   done
   7087   IFS="$lt_save_ifs"
   7088   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7089   ;;
   7090 esac
   7091 fi
   7092 
   7093 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7094 if test -n "$MAGIC_CMD"; then
   7095   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7096 $as_echo "$MAGIC_CMD" >&6; }
   7097 else
   7098   { $as_echo "$as_me:$LINENO: result: no" >&5
   7099 $as_echo "no" >&6; }
   7100 fi
   7101 
   7102 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7103   if test -n "$ac_tool_prefix"; then
   7104     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7105 $as_echo_n "checking for file... " >&6; }
   7106 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7107   $as_echo_n "(cached) " >&6
   7108 else
   7109   case $MAGIC_CMD in
   7110 [\\/*] |  ?:[\\/]*)
   7111   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7112   ;;
   7113 *)
   7114   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7115   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7116   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7117   for ac_dir in $ac_dummy; do
   7118     IFS="$lt_save_ifs"
   7119     test -z "$ac_dir" && ac_dir=.
   7120     if test -f $ac_dir/file; then
   7121       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7122       if test -n "$file_magic_test_file"; then
   7123 	case $deplibs_check_method in
   7124 	"file_magic "*)
   7125 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7126 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7127 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7128 	    $EGREP "$file_magic_regex" > /dev/null; then
   7129 	    :
   7130 	  else
   7131 	    cat <<EOF 1>&2
   7132 
   7133 *** Warning: the command libtool uses to detect shared libraries,
   7134 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7135 *** The result is that libtool may fail to recognize shared libraries
   7136 *** as such.  This will affect the creation of libtool libraries that
   7137 *** depend on shared libraries, but programs linked with such libtool
   7138 *** libraries will work regardless of this problem.  Nevertheless, you
   7139 *** may want to report the problem to your system manager and/or to
   7140 *** bug-libtool@gnu.org
   7141 
   7142 EOF
   7143 	  fi ;;
   7144 	esac
   7145       fi
   7146       break
   7147     fi
   7148   done
   7149   IFS="$lt_save_ifs"
   7150   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7151   ;;
   7152 esac
   7153 fi
   7154 
   7155 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7156 if test -n "$MAGIC_CMD"; then
   7157   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7158 $as_echo "$MAGIC_CMD" >&6; }
   7159 else
   7160   { $as_echo "$as_me:$LINENO: result: no" >&5
   7161 $as_echo "no" >&6; }
   7162 fi
   7163 
   7164   else
   7165     MAGIC_CMD=:
   7166   fi
   7167 fi
   7168 
   7169   fi
   7170   ;;
   7171 esac
   7172 
   7173 
   7174   case $host_os in
   7175     rhapsody* | darwin*)
   7176     if test -n "$ac_tool_prefix"; then
   7177   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7178 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7180 $as_echo_n "checking for $ac_word... " >&6; }
   7181 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7182   $as_echo_n "(cached) " >&6
   7183 else
   7184   if test -n "$DSYMUTIL"; then
   7185   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7186 else
   7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7188 for as_dir in $PATH
   7189 do
   7190   IFS=$as_save_IFS
   7191   test -z "$as_dir" && as_dir=.
   7192   for ac_exec_ext in '' $ac_executable_extensions; do
   7193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7194     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7196     break 2
   7197   fi
   7198 done
   7199 done
   7200 IFS=$as_save_IFS
   7201 
   7202 fi
   7203 fi
   7204 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7205 if test -n "$DSYMUTIL"; then
   7206   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7207 $as_echo "$DSYMUTIL" >&6; }
   7208 else
   7209   { $as_echo "$as_me:$LINENO: result: no" >&5
   7210 $as_echo "no" >&6; }
   7211 fi
   7212 
   7213 
   7214 fi
   7215 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7216   ac_ct_DSYMUTIL=$DSYMUTIL
   7217   # Extract the first word of "dsymutil", so it can be a program name with args.
   7218 set dummy dsymutil; ac_word=$2
   7219 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7220 $as_echo_n "checking for $ac_word... " >&6; }
   7221 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7222   $as_echo_n "(cached) " >&6
   7223 else
   7224   if test -n "$ac_ct_DSYMUTIL"; then
   7225   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7226 else
   7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7228 for as_dir in $PATH
   7229 do
   7230   IFS=$as_save_IFS
   7231   test -z "$as_dir" && as_dir=.
   7232   for ac_exec_ext in '' $ac_executable_extensions; do
   7233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7234     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7235     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7236     break 2
   7237   fi
   7238 done
   7239 done
   7240 IFS=$as_save_IFS
   7241 
   7242 fi
   7243 fi
   7244 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7245 if test -n "$ac_ct_DSYMUTIL"; then
   7246   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7247 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7248 else
   7249   { $as_echo "$as_me:$LINENO: result: no" >&5
   7250 $as_echo "no" >&6; }
   7251 fi
   7252 
   7253   if test "x$ac_ct_DSYMUTIL" = x; then
   7254     DSYMUTIL=":"
   7255   else
   7256     case $cross_compiling:$ac_tool_warned in
   7257 yes:)
   7258 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7260 ac_tool_warned=yes ;;
   7261 esac
   7262     DSYMUTIL=$ac_ct_DSYMUTIL
   7263   fi
   7264 else
   7265   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7266 fi
   7267 
   7268     if test -n "$ac_tool_prefix"; then
   7269   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7270 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7272 $as_echo_n "checking for $ac_word... " >&6; }
   7273 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7274   $as_echo_n "(cached) " >&6
   7275 else
   7276   if test -n "$NMEDIT"; then
   7277   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7278 else
   7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7280 for as_dir in $PATH
   7281 do
   7282   IFS=$as_save_IFS
   7283   test -z "$as_dir" && as_dir=.
   7284   for ac_exec_ext in '' $ac_executable_extensions; do
   7285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7286     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7288     break 2
   7289   fi
   7290 done
   7291 done
   7292 IFS=$as_save_IFS
   7293 
   7294 fi
   7295 fi
   7296 NMEDIT=$ac_cv_prog_NMEDIT
   7297 if test -n "$NMEDIT"; then
   7298   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7299 $as_echo "$NMEDIT" >&6; }
   7300 else
   7301   { $as_echo "$as_me:$LINENO: result: no" >&5
   7302 $as_echo "no" >&6; }
   7303 fi
   7304 
   7305 
   7306 fi
   7307 if test -z "$ac_cv_prog_NMEDIT"; then
   7308   ac_ct_NMEDIT=$NMEDIT
   7309   # Extract the first word of "nmedit", so it can be a program name with args.
   7310 set dummy nmedit; ac_word=$2
   7311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7312 $as_echo_n "checking for $ac_word... " >&6; }
   7313 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   if test -n "$ac_ct_NMEDIT"; then
   7317   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7318 else
   7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7320 for as_dir in $PATH
   7321 do
   7322   IFS=$as_save_IFS
   7323   test -z "$as_dir" && as_dir=.
   7324   for ac_exec_ext in '' $ac_executable_extensions; do
   7325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7326     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7327     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7328     break 2
   7329   fi
   7330 done
   7331 done
   7332 IFS=$as_save_IFS
   7333 
   7334 fi
   7335 fi
   7336 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7337 if test -n "$ac_ct_NMEDIT"; then
   7338   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7339 $as_echo "$ac_ct_NMEDIT" >&6; }
   7340 else
   7341   { $as_echo "$as_me:$LINENO: result: no" >&5
   7342 $as_echo "no" >&6; }
   7343 fi
   7344 
   7345   if test "x$ac_ct_NMEDIT" = x; then
   7346     NMEDIT=":"
   7347   else
   7348     case $cross_compiling:$ac_tool_warned in
   7349 yes:)
   7350 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7352 ac_tool_warned=yes ;;
   7353 esac
   7354     NMEDIT=$ac_ct_NMEDIT
   7355   fi
   7356 else
   7357   NMEDIT="$ac_cv_prog_NMEDIT"
   7358 fi
   7359 
   7360 
   7361     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7362 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7363 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7364   $as_echo_n "(cached) " >&6
   7365 else
   7366   lt_cv_apple_cc_single_mod=no
   7367       if test -z "${LT_MULTI_MODULE}"; then
   7368    # By default we will add the -single_module flag. You can override
   7369    # by either setting the environment variable LT_MULTI_MODULE
   7370    # non-empty at configure time, or by adding -multi_module to the
   7371    # link flags.
   7372    echo "int foo(void){return 1;}" > conftest.c
   7373    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7374      -dynamiclib ${wl}-single_module conftest.c
   7375    if test -f libconftest.dylib; then
   7376      lt_cv_apple_cc_single_mod=yes
   7377      rm -rf libconftest.dylib*
   7378    fi
   7379    rm conftest.c
   7380       fi
   7381 fi
   7382 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7383 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7384     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7385 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7386 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7387   $as_echo_n "(cached) " >&6
   7388 else
   7389   lt_cv_ld_exported_symbols_list=no
   7390       save_LDFLAGS=$LDFLAGS
   7391       echo "_main" > conftest.sym
   7392       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7393       cat >conftest.$ac_ext <<_ACEOF
   7394 /* confdefs.h.  */
   7395 _ACEOF
   7396 cat confdefs.h >>conftest.$ac_ext
   7397 cat >>conftest.$ac_ext <<_ACEOF
   7398 /* end confdefs.h.  */
   7399 
   7400 int
   7401 main ()
   7402 {
   7403 
   7404   ;
   7405   return 0;
   7406 }
   7407 _ACEOF
   7408 rm -f conftest.$ac_objext conftest$ac_exeext
   7409 if { (ac_try="$ac_link"
   7410 case "(($ac_try" in
   7411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7412   *) ac_try_echo=$ac_try;;
   7413 esac
   7414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7415 $as_echo "$ac_try_echo") >&5
   7416   (eval "$ac_link") 2>conftest.er1
   7417   ac_status=$?
   7418   grep -v '^ *+' conftest.er1 >conftest.err
   7419   rm -f conftest.er1
   7420   cat conftest.err >&5
   7421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7422   (exit $ac_status); } && {
   7423 	 test -z "$ac_c_werror_flag" ||
   7424 	 test ! -s conftest.err
   7425        } && test -s conftest$ac_exeext && {
   7426 	 test "$cross_compiling" = yes ||
   7427 	 $as_test_x conftest$ac_exeext
   7428        }; then
   7429   lt_cv_ld_exported_symbols_list=yes
   7430 else
   7431   $as_echo "$as_me: failed program was:" >&5
   7432 sed 's/^/| /' conftest.$ac_ext >&5
   7433 
   7434 	lt_cv_ld_exported_symbols_list=no
   7435 fi
   7436 
   7437 rm -rf conftest.dSYM
   7438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7439       conftest$ac_exeext conftest.$ac_ext
   7440    LDFLAGS="$save_LDFLAGS"
   7441 
   7442 fi
   7443 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7444 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7445     case $host_os in
   7446     rhapsody* | darwin1.[0123])
   7447       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7448     darwin1.*)
   7449      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7450     darwin*)
   7451       # if running on 10.5 or later, the deployment target defaults
   7452       # to the OS version, if on x86, and 10.4, the deployment
   7453       # target defaults to 10.4. Don't you love it?
   7454       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7455    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7456      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7457    10.[012]*)
   7458      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7459    10.*)
   7460      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7461       esac
   7462     ;;
   7463   esac
   7464     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7465       _lt_dar_single_mod='$single_module'
   7466     fi
   7467     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7468       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7469     else
   7470       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7471     fi
   7472     if test "$DSYMUTIL" != ":"; then
   7473       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7474     else
   7475       _lt_dsymutil=
   7476     fi
   7477     ;;
   7478   esac
   7479 
   7480 
   7481 enable_dlopen=no
   7482 enable_win32_dll=no
   7483 
   7484 # Check whether --enable-libtool-lock was given.
   7485 if test "${enable_libtool_lock+set}" = set; then
   7486   enableval=$enable_libtool_lock;
   7487 fi
   7488 
   7489 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7490 
   7491 
   7492 # Check whether --with-pic was given.
   7493 if test "${with_pic+set}" = set; then
   7494   withval=$with_pic; pic_mode="$withval"
   7495 else
   7496   pic_mode=default
   7497 fi
   7498 
   7499 test -z "$pic_mode" && pic_mode=default
   7500 
   7501 # Use C for the default configuration in the libtool script
   7502 tagname=
   7503 lt_save_CC="$CC"
   7504 ac_ext=c
   7505 ac_cpp='$CPP $CPPFLAGS'
   7506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7509 
   7510 
   7511 # Source file extension for C test sources.
   7512 ac_ext=c
   7513 
   7514 # Object file extension for compiled C test sources.
   7515 objext=o
   7516 objext=$objext
   7517 
   7518 # Code to be used in simple compile tests
   7519 lt_simple_compile_test_code="int some_variable = 0;"
   7520 
   7521 # Code to be used in simple link tests
   7522 lt_simple_link_test_code='int main(){return(0);}'
   7523 
   7524 
   7525 # If no C compiler was specified, use CC.
   7526 LTCC=${LTCC-"$CC"}
   7527 
   7528 # If no C compiler flags were specified, use CFLAGS.
   7529 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7530 
   7531 # Allow CC to be a program name with arguments.
   7532 compiler=$CC
   7533 
   7534 
   7535 # save warnings/boilerplate of simple test code
   7536 ac_outfile=conftest.$ac_objext
   7537 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7538 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7539 _lt_compiler_boilerplate=`cat conftest.err`
   7540 $rm conftest*
   7541 
   7542 ac_outfile=conftest.$ac_objext
   7543 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7544 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7545 _lt_linker_boilerplate=`cat conftest.err`
   7546 $rm -r conftest*
   7547 
   7548 
   7549 
   7550 lt_prog_compiler_no_builtin_flag=
   7551 
   7552 if test "$GCC" = yes; then
   7553   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7554 
   7555 
   7556 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7559   $as_echo_n "(cached) " >&6
   7560 else
   7561   lt_cv_prog_compiler_rtti_exceptions=no
   7562   ac_outfile=conftest.$ac_objext
   7563    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7564    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7565    # Insert the option either (1) after the last *FLAGS variable, or
   7566    # (2) before a word containing "conftest.", or (3) at the end.
   7567    # Note that $ac_compile itself does not contain backslashes and begins
   7568    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7569    # The option is referenced via a variable to avoid confusing sed.
   7570    lt_compile=`echo "$ac_compile" | $SED \
   7571    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7572    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7573    -e 's:$: $lt_compiler_flag:'`
   7574    (eval echo "\"\$as_me:7574: $lt_compile\"" >&5)
   7575    (eval "$lt_compile" 2>conftest.err)
   7576    ac_status=$?
   7577    cat conftest.err >&5
   7578    echo "$as_me:7578: \$? = $ac_status" >&5
   7579    if (exit $ac_status) && test -s "$ac_outfile"; then
   7580      # The compiler can only warn and ignore the option if not recognized
   7581      # So say no if there are warnings other than the usual output.
   7582      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7583      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7584      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7585        lt_cv_prog_compiler_rtti_exceptions=yes
   7586      fi
   7587    fi
   7588    $rm conftest*
   7589 
   7590 fi
   7591 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7593 
   7594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7595     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7596 else
   7597     :
   7598 fi
   7599 
   7600 fi
   7601 
   7602 lt_prog_compiler_wl=
   7603 lt_prog_compiler_pic=
   7604 lt_prog_compiler_static=
   7605 
   7606 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7607 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7608 
   7609   if test "$GCC" = yes; then
   7610     lt_prog_compiler_wl='-Wl,'
   7611     lt_prog_compiler_static='-static'
   7612 
   7613     case $host_os in
   7614       aix*)
   7615       # All AIX code is PIC.
   7616       if test "$host_cpu" = ia64; then
   7617 	# AIX 5 now supports IA64 processor
   7618 	lt_prog_compiler_static='-Bstatic'
   7619       fi
   7620       ;;
   7621 
   7622     amigaos*)
   7623       # FIXME: we need at least 68020 code to build shared libraries, but
   7624       # adding the `-m68020' flag to GCC prevents building anything better,
   7625       # like `-m68040'.
   7626       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7627       ;;
   7628 
   7629     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7630       # PIC is the default for these OSes.
   7631       ;;
   7632 
   7633     mingw* | cygwin* | pw32* | os2*)
   7634       # This hack is so that the source file can tell whether it is being
   7635       # built for inclusion in a dll (and should export symbols for example).
   7636       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7637       # (--disable-auto-import) libraries
   7638       lt_prog_compiler_pic='-DDLL_EXPORT'
   7639       ;;
   7640 
   7641     darwin* | rhapsody*)
   7642       # PIC is the default on this platform
   7643       # Common symbols not allowed in MH_DYLIB files
   7644       lt_prog_compiler_pic='-fno-common'
   7645       ;;
   7646 
   7647     interix[3-9]*)
   7648       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7649       # Instead, we relocate shared libraries at runtime.
   7650       ;;
   7651 
   7652     msdosdjgpp*)
   7653       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7654       # on systems that don't support them.
   7655       lt_prog_compiler_can_build_shared=no
   7656       enable_shared=no
   7657       ;;
   7658 
   7659     sysv4*MP*)
   7660       if test -d /usr/nec; then
   7661 	lt_prog_compiler_pic=-Kconform_pic
   7662       fi
   7663       ;;
   7664 
   7665     hpux*)
   7666       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7667       # not for PA HP-UX.
   7668       case $host_cpu in
   7669       hppa*64*|ia64*)
   7670 	# +Z the default
   7671 	;;
   7672       *)
   7673 	lt_prog_compiler_pic='-fPIC'
   7674 	;;
   7675       esac
   7676       ;;
   7677 
   7678     *)
   7679       lt_prog_compiler_pic='-fPIC'
   7680       ;;
   7681     esac
   7682   else
   7683     # PORTME Check for flag to pass linker flags through the system compiler.
   7684     case $host_os in
   7685     aix*)
   7686       lt_prog_compiler_wl='-Wl,'
   7687       if test "$host_cpu" = ia64; then
   7688 	# AIX 5 now supports IA64 processor
   7689 	lt_prog_compiler_static='-Bstatic'
   7690       else
   7691 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7692       fi
   7693       ;;
   7694       darwin*)
   7695         # PIC is the default on this platform
   7696         # Common symbols not allowed in MH_DYLIB files
   7697        case $cc_basename in
   7698          xlc*)
   7699          lt_prog_compiler_pic='-qnocommon'
   7700          lt_prog_compiler_wl='-Wl,'
   7701          ;;
   7702        esac
   7703        ;;
   7704 
   7705     mingw* | cygwin* | pw32* | os2*)
   7706       # This hack is so that the source file can tell whether it is being
   7707       # built for inclusion in a dll (and should export symbols for example).
   7708       lt_prog_compiler_pic='-DDLL_EXPORT'
   7709       ;;
   7710 
   7711     hpux9* | hpux10* | hpux11*)
   7712       lt_prog_compiler_wl='-Wl,'
   7713       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7714       # not for PA HP-UX.
   7715       case $host_cpu in
   7716       hppa*64*|ia64*)
   7717 	# +Z the default
   7718 	;;
   7719       *)
   7720 	lt_prog_compiler_pic='+Z'
   7721 	;;
   7722       esac
   7723       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7724       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7725       ;;
   7726 
   7727     irix5* | irix6* | nonstopux*)
   7728       lt_prog_compiler_wl='-Wl,'
   7729       # PIC (with -KPIC) is the default.
   7730       lt_prog_compiler_static='-non_shared'
   7731       ;;
   7732 
   7733     newsos6)
   7734       lt_prog_compiler_pic='-KPIC'
   7735       lt_prog_compiler_static='-Bstatic'
   7736       ;;
   7737 
   7738     linux* | k*bsd*-gnu)
   7739       case $cc_basename in
   7740       icc* | ecc*)
   7741 	lt_prog_compiler_wl='-Wl,'
   7742 	lt_prog_compiler_pic='-KPIC'
   7743 	lt_prog_compiler_static='-static'
   7744         ;;
   7745       pgcc* | pgf77* | pgf90* | pgf95*)
   7746         # Portland Group compilers (*not* the Pentium gcc compiler,
   7747 	# which looks to be a dead project)
   7748 	lt_prog_compiler_wl='-Wl,'
   7749 	lt_prog_compiler_pic='-fpic'
   7750 	lt_prog_compiler_static='-Bstatic'
   7751         ;;
   7752       ccc*)
   7753         lt_prog_compiler_wl='-Wl,'
   7754         # All Alpha code is PIC.
   7755         lt_prog_compiler_static='-non_shared'
   7756         ;;
   7757       *)
   7758         case `$CC -V 2>&1 | sed 5q` in
   7759 	*Sun\ C*)
   7760 	  # Sun C 5.9
   7761 	  lt_prog_compiler_pic='-KPIC'
   7762 	  lt_prog_compiler_static='-Bstatic'
   7763 	  lt_prog_compiler_wl='-Wl,'
   7764 	  ;;
   7765 	*Sun\ F*)
   7766 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7767 	  lt_prog_compiler_pic='-KPIC'
   7768 	  lt_prog_compiler_static='-Bstatic'
   7769 	  lt_prog_compiler_wl=''
   7770 	  ;;
   7771 	esac
   7772 	;;
   7773       esac
   7774       ;;
   7775 
   7776     osf3* | osf4* | osf5*)
   7777       lt_prog_compiler_wl='-Wl,'
   7778       # All OSF/1 code is PIC.
   7779       lt_prog_compiler_static='-non_shared'
   7780       ;;
   7781 
   7782     rdos*)
   7783       lt_prog_compiler_static='-non_shared'
   7784       ;;
   7785 
   7786     solaris*)
   7787       lt_prog_compiler_pic='-KPIC'
   7788       lt_prog_compiler_static='-Bstatic'
   7789       case $cc_basename in
   7790       f77* | f90* | f95*)
   7791 	lt_prog_compiler_wl='-Qoption ld ';;
   7792       *)
   7793 	lt_prog_compiler_wl='-Wl,';;
   7794       esac
   7795       ;;
   7796 
   7797     sunos4*)
   7798       lt_prog_compiler_wl='-Qoption ld '
   7799       lt_prog_compiler_pic='-PIC'
   7800       lt_prog_compiler_static='-Bstatic'
   7801       ;;
   7802 
   7803     sysv4 | sysv4.2uw2* | sysv4.3*)
   7804       lt_prog_compiler_wl='-Wl,'
   7805       lt_prog_compiler_pic='-KPIC'
   7806       lt_prog_compiler_static='-Bstatic'
   7807       ;;
   7808 
   7809     sysv4*MP*)
   7810       if test -d /usr/nec ;then
   7811 	lt_prog_compiler_pic='-Kconform_pic'
   7812 	lt_prog_compiler_static='-Bstatic'
   7813       fi
   7814       ;;
   7815 
   7816     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7817       lt_prog_compiler_wl='-Wl,'
   7818       lt_prog_compiler_pic='-KPIC'
   7819       lt_prog_compiler_static='-Bstatic'
   7820       ;;
   7821 
   7822     unicos*)
   7823       lt_prog_compiler_wl='-Wl,'
   7824       lt_prog_compiler_can_build_shared=no
   7825       ;;
   7826 
   7827     uts4*)
   7828       lt_prog_compiler_pic='-pic'
   7829       lt_prog_compiler_static='-Bstatic'
   7830       ;;
   7831 
   7832     *)
   7833       lt_prog_compiler_can_build_shared=no
   7834       ;;
   7835     esac
   7836   fi
   7837 
   7838 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7839 $as_echo "$lt_prog_compiler_pic" >&6; }
   7840 
   7841 #
   7842 # Check to make sure the PIC flag actually works.
   7843 #
   7844 if test -n "$lt_prog_compiler_pic"; then
   7845 
   7846 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7847 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7848 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7849   $as_echo_n "(cached) " >&6
   7850 else
   7851   lt_cv_prog_compiler_pic_works=no
   7852   ac_outfile=conftest.$ac_objext
   7853    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7854    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7855    # Insert the option either (1) after the last *FLAGS variable, or
   7856    # (2) before a word containing "conftest.", or (3) at the end.
   7857    # Note that $ac_compile itself does not contain backslashes and begins
   7858    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7859    # The option is referenced via a variable to avoid confusing sed.
   7860    lt_compile=`echo "$ac_compile" | $SED \
   7861    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7862    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7863    -e 's:$: $lt_compiler_flag:'`
   7864    (eval echo "\"\$as_me:7864: $lt_compile\"" >&5)
   7865    (eval "$lt_compile" 2>conftest.err)
   7866    ac_status=$?
   7867    cat conftest.err >&5
   7868    echo "$as_me:7868: \$? = $ac_status" >&5
   7869    if (exit $ac_status) && test -s "$ac_outfile"; then
   7870      # The compiler can only warn and ignore the option if not recognized
   7871      # So say no if there are warnings other than the usual output.
   7872      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7873      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7874      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7875        lt_cv_prog_compiler_pic_works=yes
   7876      fi
   7877    fi
   7878    $rm conftest*
   7879 
   7880 fi
   7881 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7882 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7883 
   7884 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7885     case $lt_prog_compiler_pic in
   7886      "" | " "*) ;;
   7887      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7888      esac
   7889 else
   7890     lt_prog_compiler_pic=
   7891      lt_prog_compiler_can_build_shared=no
   7892 fi
   7893 
   7894 fi
   7895 case $host_os in
   7896   # For platforms which do not support PIC, -DPIC is meaningless:
   7897   *djgpp*)
   7898     lt_prog_compiler_pic=
   7899     ;;
   7900   *)
   7901     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7902     ;;
   7903 esac
   7904 
   7905 #
   7906 # Check to make sure the static flag actually works.
   7907 #
   7908 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7909 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7910 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7911 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7912   $as_echo_n "(cached) " >&6
   7913 else
   7914   lt_cv_prog_compiler_static_works=no
   7915    save_LDFLAGS="$LDFLAGS"
   7916    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7917    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7918    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7919      # The linker can only warn and ignore the option if not recognized
   7920      # So say no if there are warnings
   7921      if test -s conftest.err; then
   7922        # Append any errors to the config.log.
   7923        cat conftest.err 1>&5
   7924        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7925        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7926        if diff conftest.exp conftest.er2 >/dev/null; then
   7927          lt_cv_prog_compiler_static_works=yes
   7928        fi
   7929      else
   7930        lt_cv_prog_compiler_static_works=yes
   7931      fi
   7932    fi
   7933    $rm -r conftest*
   7934    LDFLAGS="$save_LDFLAGS"
   7935 
   7936 fi
   7937 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7938 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7939 
   7940 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7941     :
   7942 else
   7943     lt_prog_compiler_static=
   7944 fi
   7945 
   7946 
   7947 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7948 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7949 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7950   $as_echo_n "(cached) " >&6
   7951 else
   7952   lt_cv_prog_compiler_c_o=no
   7953    $rm -r conftest 2>/dev/null
   7954    mkdir conftest
   7955    cd conftest
   7956    mkdir out
   7957    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7958 
   7959    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7960    # Insert the option either (1) after the last *FLAGS variable, or
   7961    # (2) before a word containing "conftest.", or (3) at the end.
   7962    # Note that $ac_compile itself does not contain backslashes and begins
   7963    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7964    lt_compile=`echo "$ac_compile" | $SED \
   7965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7967    -e 's:$: $lt_compiler_flag:'`
   7968    (eval echo "\"\$as_me:7968: $lt_compile\"" >&5)
   7969    (eval "$lt_compile" 2>out/conftest.err)
   7970    ac_status=$?
   7971    cat out/conftest.err >&5
   7972    echo "$as_me:7972: \$? = $ac_status" >&5
   7973    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7974    then
   7975      # The compiler can only warn and ignore the option if not recognized
   7976      # So say no if there are warnings
   7977      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7978      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7979      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7980        lt_cv_prog_compiler_c_o=yes
   7981      fi
   7982    fi
   7983    chmod u+w . 2>&5
   7984    $rm conftest*
   7985    # SGI C++ compiler will create directory out/ii_files/ for
   7986    # template instantiation
   7987    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7988    $rm out/* && rmdir out
   7989    cd ..
   7990    rmdir conftest
   7991    $rm conftest*
   7992 
   7993 fi
   7994 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7995 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7996 
   7997 
   7998 hard_links="nottested"
   7999 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8000   # do not overwrite the value of need_locks provided by the user
   8001   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8002 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8003   hard_links=yes
   8004   $rm conftest*
   8005   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8006   touch conftest.a
   8007   ln conftest.a conftest.b 2>&5 || hard_links=no
   8008   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8009   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8010 $as_echo "$hard_links" >&6; }
   8011   if test "$hard_links" = no; then
   8012     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8013 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8014     need_locks=warn
   8015   fi
   8016 else
   8017   need_locks=no
   8018 fi
   8019 
   8020 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8021 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8022 
   8023   runpath_var=
   8024   allow_undefined_flag=
   8025   enable_shared_with_static_runtimes=no
   8026   archive_cmds=
   8027   archive_expsym_cmds=
   8028   old_archive_From_new_cmds=
   8029   old_archive_from_expsyms_cmds=
   8030   export_dynamic_flag_spec=
   8031   whole_archive_flag_spec=
   8032   thread_safe_flag_spec=
   8033   hardcode_libdir_flag_spec=
   8034   hardcode_libdir_flag_spec_ld=
   8035   hardcode_libdir_separator=
   8036   hardcode_direct=no
   8037   hardcode_minus_L=no
   8038   hardcode_shlibpath_var=unsupported
   8039   link_all_deplibs=unknown
   8040   hardcode_automatic=no
   8041   module_cmds=
   8042   module_expsym_cmds=
   8043   always_export_symbols=no
   8044   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8045   # include_expsyms should be a list of space-separated symbols to be *always*
   8046   # included in the symbol list
   8047   include_expsyms=
   8048   # exclude_expsyms can be an extended regexp of symbols to exclude
   8049   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8050   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8051   # as well as any symbol that contains `d'.
   8052   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8053   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8054   # platforms (ab)use it in PIC code, but their linkers get confused if
   8055   # the symbol is explicitly referenced.  Since portable code cannot
   8056   # rely on this symbol name, it's probably fine to never include it in
   8057   # preloaded symbol tables.
   8058   # Exclude shared library initialization/finalization symbols.
   8059   extract_expsyms_cmds=
   8060   # Just being paranoid about ensuring that cc_basename is set.
   8061   for cc_temp in $compiler""; do
   8062   case $cc_temp in
   8063     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8064     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8065     \-*) ;;
   8066     *) break;;
   8067   esac
   8068 done
   8069 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8070 
   8071   case $host_os in
   8072   cygwin* | mingw* | pw32*)
   8073     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8074     # When not using gcc, we currently assume that we are using
   8075     # Microsoft Visual C++.
   8076     if test "$GCC" != yes; then
   8077       with_gnu_ld=no
   8078     fi
   8079     ;;
   8080   interix*)
   8081     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8082     with_gnu_ld=yes
   8083     ;;
   8084   openbsd*)
   8085     with_gnu_ld=no
   8086     ;;
   8087   esac
   8088 
   8089   ld_shlibs=yes
   8090   if test "$with_gnu_ld" = yes; then
   8091     # If archive_cmds runs LD, not CC, wlarc should be empty
   8092     wlarc='${wl}'
   8093 
   8094     # Set some defaults for GNU ld with shared library support. These
   8095     # are reset later if shared libraries are not supported. Putting them
   8096     # here allows them to be overridden if necessary.
   8097     runpath_var=LD_RUN_PATH
   8098     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8099     export_dynamic_flag_spec='${wl}--export-dynamic'
   8100     # ancient GNU ld didn't support --whole-archive et. al.
   8101     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8102 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8103       else
   8104   	whole_archive_flag_spec=
   8105     fi
   8106     supports_anon_versioning=no
   8107     case `$LD -v 2>/dev/null` in
   8108       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8109       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8110       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8111       *\ 2.11.*) ;; # other 2.11 versions
   8112       *) supports_anon_versioning=yes ;;
   8113     esac
   8114 
   8115     # See if GNU ld supports shared libraries.
   8116     case $host_os in
   8117     aix[3-9]*)
   8118       # On AIX/PPC, the GNU linker is very broken
   8119       if test "$host_cpu" != ia64; then
   8120 	ld_shlibs=no
   8121 	cat <<EOF 1>&2
   8122 
   8123 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8124 *** to be unable to reliably create shared libraries on AIX.
   8125 *** Therefore, libtool is disabling shared libraries support.  If you
   8126 *** really care for shared libraries, you may want to modify your PATH
   8127 *** so that a non-GNU linker is found, and then restart.
   8128 
   8129 EOF
   8130       fi
   8131       ;;
   8132 
   8133     amigaos*)
   8134       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)'
   8135       hardcode_libdir_flag_spec='-L$libdir'
   8136       hardcode_minus_L=yes
   8137 
   8138       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8139       # that the semantics of dynamic libraries on AmigaOS, at least up
   8140       # to version 4, is to share data among multiple programs linked
   8141       # with the same dynamic library.  Since this doesn't match the
   8142       # behavior of shared libraries on other platforms, we can't use
   8143       # them.
   8144       ld_shlibs=no
   8145       ;;
   8146 
   8147     beos*)
   8148       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8149 	allow_undefined_flag=unsupported
   8150 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8151 	# support --undefined.  This deserves some investigation.  FIXME
   8152 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8153       else
   8154 	ld_shlibs=no
   8155       fi
   8156       ;;
   8157 
   8158     cygwin* | mingw* | pw32*)
   8159       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8160       # as there is no search path for DLLs.
   8161       hardcode_libdir_flag_spec='-L$libdir'
   8162       allow_undefined_flag=unsupported
   8163       always_export_symbols=no
   8164       enable_shared_with_static_runtimes=yes
   8165       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8166 
   8167       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8168         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8169 	# If the export-symbols file already is a .def file (1st line
   8170 	# is EXPORTS), use it as is; otherwise, prepend...
   8171 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8172 	  cp $export_symbols $output_objdir/$soname.def;
   8173 	else
   8174 	  echo EXPORTS > $output_objdir/$soname.def;
   8175 	  cat $export_symbols >> $output_objdir/$soname.def;
   8176 	fi~
   8177 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8178       else
   8179 	ld_shlibs=no
   8180       fi
   8181       ;;
   8182 
   8183     interix[3-9]*)
   8184       hardcode_direct=no
   8185       hardcode_shlibpath_var=no
   8186       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8187       export_dynamic_flag_spec='${wl}-E'
   8188       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8189       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8190       # default) and relocated if they conflict, which is a slow very memory
   8191       # consuming and fragmenting process.  To avoid this, we pick a random,
   8192       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8193       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8194       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8195       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'
   8196       ;;
   8197 
   8198     gnu* | linux* | k*bsd*-gnu)
   8199       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8200 	tmp_addflag=
   8201 	case $cc_basename,$host_cpu in
   8202 	pgcc*)				# Portland Group C compiler
   8203 	  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'
   8204 	  tmp_addflag=' $pic_flag'
   8205 	  ;;
   8206 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8207 	  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'
   8208 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8209 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8210 	  tmp_addflag=' -i_dynamic' ;;
   8211 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8212 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8213 	ifc* | ifort*)			# Intel Fortran compiler
   8214 	  tmp_addflag=' -nofor_main' ;;
   8215 	esac
   8216 	case `$CC -V 2>&1 | sed 5q` in
   8217 	*Sun\ C*)			# Sun C 5.9
   8218 	  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'
   8219 	  tmp_sharedflag='-G' ;;
   8220 	*Sun\ F*)			# Sun Fortran 8.3
   8221 	  tmp_sharedflag='-G' ;;
   8222 	*)
   8223 	  tmp_sharedflag='-shared' ;;
   8224 	esac
   8225 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8226 
   8227 	if test $supports_anon_versioning = yes; then
   8228 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8229   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8230   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8231 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8232 	fi
   8233       else
   8234 	ld_shlibs=no
   8235       fi
   8236       ;;
   8237 
   8238     netbsd*)
   8239       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8240 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8241 	wlarc=
   8242       else
   8243 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8244 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8245       fi
   8246       ;;
   8247 
   8248     solaris*)
   8249       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8250 	ld_shlibs=no
   8251 	cat <<EOF 1>&2
   8252 
   8253 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8254 *** create shared libraries on Solaris systems.  Therefore, libtool
   8255 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8256 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8257 *** your PATH or compiler configuration so that the native linker is
   8258 *** used, and then restart.
   8259 
   8260 EOF
   8261       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8262 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8263 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8264       else
   8265 	ld_shlibs=no
   8266       fi
   8267       ;;
   8268 
   8269     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8270       case `$LD -v 2>&1` in
   8271         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8272 	ld_shlibs=no
   8273 	cat <<_LT_EOF 1>&2
   8274 
   8275 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8276 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8277 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8278 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8279 *** your PATH or compiler configuration so that the native linker is
   8280 *** used, and then restart.
   8281 
   8282 _LT_EOF
   8283 	;;
   8284 	*)
   8285 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8286 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8287 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8288 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8289 	  else
   8290 	    ld_shlibs=no
   8291 	  fi
   8292 	;;
   8293       esac
   8294       ;;
   8295 
   8296     sunos4*)
   8297       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8298       wlarc=
   8299       hardcode_direct=yes
   8300       hardcode_shlibpath_var=no
   8301       ;;
   8302 
   8303     *)
   8304       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8305 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8306 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8307       else
   8308 	ld_shlibs=no
   8309       fi
   8310       ;;
   8311     esac
   8312 
   8313     if test "$ld_shlibs" = no; then
   8314       runpath_var=
   8315       hardcode_libdir_flag_spec=
   8316       export_dynamic_flag_spec=
   8317       whole_archive_flag_spec=
   8318     fi
   8319   else
   8320     # PORTME fill in a description of your system's linker (not GNU ld)
   8321     case $host_os in
   8322     aix3*)
   8323       allow_undefined_flag=unsupported
   8324       always_export_symbols=yes
   8325       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'
   8326       # Note: this linker hardcodes the directories in LIBPATH if there
   8327       # are no directories specified by -L.
   8328       hardcode_minus_L=yes
   8329       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8330 	# Neither direct hardcoding nor static linking is supported with a
   8331 	# broken collect2.
   8332 	hardcode_direct=unsupported
   8333       fi
   8334       ;;
   8335 
   8336     aix[4-9]*)
   8337       if test "$host_cpu" = ia64; then
   8338 	# On IA64, the linker does run time linking by default, so we don't
   8339 	# have to do anything special.
   8340 	aix_use_runtimelinking=no
   8341 	exp_sym_flag='-Bexport'
   8342 	no_entry_flag=""
   8343       else
   8344 	# If we're using GNU nm, then we don't want the "-C" option.
   8345 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8346 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8347 	  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'
   8348 	else
   8349 	  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'
   8350 	fi
   8351 	aix_use_runtimelinking=no
   8352 
   8353 	# Test if we are trying to use run time linking or normal
   8354 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8355 	# need to do runtime linking.
   8356 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8357 	  for ld_flag in $LDFLAGS; do
   8358   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8359   	    aix_use_runtimelinking=yes
   8360   	    break
   8361   	  fi
   8362 	  done
   8363 	  ;;
   8364 	esac
   8365 
   8366 	exp_sym_flag='-bexport'
   8367 	no_entry_flag='-bnoentry'
   8368       fi
   8369 
   8370       # When large executables or shared objects are built, AIX ld can
   8371       # have problems creating the table of contents.  If linking a library
   8372       # or program results in "error TOC overflow" add -mminimal-toc to
   8373       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8374       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8375 
   8376       archive_cmds=''
   8377       hardcode_direct=yes
   8378       hardcode_libdir_separator=':'
   8379       link_all_deplibs=yes
   8380 
   8381       if test "$GCC" = yes; then
   8382 	case $host_os in aix4.[012]|aix4.[012].*)
   8383 	# We only want to do this on AIX 4.2 and lower, the check
   8384 	# below for broken collect2 doesn't work under 4.3+
   8385 	  collect2name=`${CC} -print-prog-name=collect2`
   8386 	  if test -f "$collect2name" && \
   8387   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8388 	  then
   8389   	  # We have reworked collect2
   8390   	  :
   8391 	  else
   8392   	  # We have old collect2
   8393   	  hardcode_direct=unsupported
   8394   	  # It fails to find uninstalled libraries when the uninstalled
   8395   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8396   	  # to unsupported forces relinking
   8397   	  hardcode_minus_L=yes
   8398   	  hardcode_libdir_flag_spec='-L$libdir'
   8399   	  hardcode_libdir_separator=
   8400 	  fi
   8401 	  ;;
   8402 	esac
   8403 	shared_flag='-shared'
   8404 	if test "$aix_use_runtimelinking" = yes; then
   8405 	  shared_flag="$shared_flag "'${wl}-G'
   8406 	fi
   8407       else
   8408 	# not using gcc
   8409 	if test "$host_cpu" = ia64; then
   8410   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8411   	# chokes on -Wl,-G. The following line is correct:
   8412 	  shared_flag='-G'
   8413 	else
   8414 	  if test "$aix_use_runtimelinking" = yes; then
   8415 	    shared_flag='${wl}-G'
   8416 	  else
   8417 	    shared_flag='${wl}-bM:SRE'
   8418 	  fi
   8419 	fi
   8420       fi
   8421 
   8422       # It seems that -bexpall does not export symbols beginning with
   8423       # underscore (_), so it is better to generate a list of symbols to export.
   8424       always_export_symbols=yes
   8425       if test "$aix_use_runtimelinking" = yes; then
   8426 	# Warning - without using the other runtime loading flags (-brtl),
   8427 	# -berok will link without error, but may produce a broken library.
   8428 	allow_undefined_flag='-berok'
   8429        # Determine the default libpath from the value encoded in an empty executable.
   8430        cat >conftest.$ac_ext <<_ACEOF
   8431 /* confdefs.h.  */
   8432 _ACEOF
   8433 cat confdefs.h >>conftest.$ac_ext
   8434 cat >>conftest.$ac_ext <<_ACEOF
   8435 /* end confdefs.h.  */
   8436 
   8437 int
   8438 main ()
   8439 {
   8440 
   8441   ;
   8442   return 0;
   8443 }
   8444 _ACEOF
   8445 rm -f conftest.$ac_objext conftest$ac_exeext
   8446 if { (ac_try="$ac_link"
   8447 case "(($ac_try" in
   8448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8449   *) ac_try_echo=$ac_try;;
   8450 esac
   8451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8452 $as_echo "$ac_try_echo") >&5
   8453   (eval "$ac_link") 2>conftest.er1
   8454   ac_status=$?
   8455   grep -v '^ *+' conftest.er1 >conftest.err
   8456   rm -f conftest.er1
   8457   cat conftest.err >&5
   8458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8459   (exit $ac_status); } && {
   8460 	 test -z "$ac_c_werror_flag" ||
   8461 	 test ! -s conftest.err
   8462        } && test -s conftest$ac_exeext && {
   8463 	 test "$cross_compiling" = yes ||
   8464 	 $as_test_x conftest$ac_exeext
   8465        }; then
   8466 
   8467 lt_aix_libpath_sed='
   8468     /Import File Strings/,/^$/ {
   8469 	/^0/ {
   8470 	    s/^0  *\(.*\)$/\1/
   8471 	    p
   8472 	}
   8473     }'
   8474 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8475 # Check for a 64-bit object if we didn't find anything.
   8476 if test -z "$aix_libpath"; then
   8477   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8478 fi
   8479 else
   8480   $as_echo "$as_me: failed program was:" >&5
   8481 sed 's/^/| /' conftest.$ac_ext >&5
   8482 
   8483 
   8484 fi
   8485 
   8486 rm -rf conftest.dSYM
   8487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8488       conftest$ac_exeext conftest.$ac_ext
   8489 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8490 
   8491        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8492 	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"
   8493        else
   8494 	if test "$host_cpu" = ia64; then
   8495 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8496 	  allow_undefined_flag="-z nodefs"
   8497 	  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"
   8498 	else
   8499 	 # Determine the default libpath from the value encoded in an empty executable.
   8500 	 cat >conftest.$ac_ext <<_ACEOF
   8501 /* confdefs.h.  */
   8502 _ACEOF
   8503 cat confdefs.h >>conftest.$ac_ext
   8504 cat >>conftest.$ac_ext <<_ACEOF
   8505 /* end confdefs.h.  */
   8506 
   8507 int
   8508 main ()
   8509 {
   8510 
   8511   ;
   8512   return 0;
   8513 }
   8514 _ACEOF
   8515 rm -f conftest.$ac_objext conftest$ac_exeext
   8516 if { (ac_try="$ac_link"
   8517 case "(($ac_try" in
   8518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8519   *) ac_try_echo=$ac_try;;
   8520 esac
   8521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8522 $as_echo "$ac_try_echo") >&5
   8523   (eval "$ac_link") 2>conftest.er1
   8524   ac_status=$?
   8525   grep -v '^ *+' conftest.er1 >conftest.err
   8526   rm -f conftest.er1
   8527   cat conftest.err >&5
   8528   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8529   (exit $ac_status); } && {
   8530 	 test -z "$ac_c_werror_flag" ||
   8531 	 test ! -s conftest.err
   8532        } && test -s conftest$ac_exeext && {
   8533 	 test "$cross_compiling" = yes ||
   8534 	 $as_test_x conftest$ac_exeext
   8535        }; then
   8536 
   8537 lt_aix_libpath_sed='
   8538     /Import File Strings/,/^$/ {
   8539 	/^0/ {
   8540 	    s/^0  *\(.*\)$/\1/
   8541 	    p
   8542 	}
   8543     }'
   8544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8545 # Check for a 64-bit object if we didn't find anything.
   8546 if test -z "$aix_libpath"; then
   8547   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8548 fi
   8549 else
   8550   $as_echo "$as_me: failed program was:" >&5
   8551 sed 's/^/| /' conftest.$ac_ext >&5
   8552 
   8553 
   8554 fi
   8555 
   8556 rm -rf conftest.dSYM
   8557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8558       conftest$ac_exeext conftest.$ac_ext
   8559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8560 
   8561 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8562 	  # Warning - without using the other run time loading flags,
   8563 	  # -berok will link without error, but may produce a broken library.
   8564 	  no_undefined_flag=' ${wl}-bernotok'
   8565 	  allow_undefined_flag=' ${wl}-berok'
   8566 	  # Exported symbols can be pulled into shared objects from archives
   8567 	  whole_archive_flag_spec='$convenience'
   8568 	  archive_cmds_need_lc=yes
   8569 	  # This is similar to how AIX traditionally builds its shared libraries.
   8570 	  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'
   8571 	fi
   8572       fi
   8573       ;;
   8574 
   8575     amigaos*)
   8576       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)'
   8577       hardcode_libdir_flag_spec='-L$libdir'
   8578       hardcode_minus_L=yes
   8579       # see comment about different semantics on the GNU ld section
   8580       ld_shlibs=no
   8581       ;;
   8582 
   8583     bsdi[45]*)
   8584       export_dynamic_flag_spec=-rdynamic
   8585       ;;
   8586 
   8587     cygwin* | mingw* | pw32*)
   8588       # When not using gcc, we currently assume that we are using
   8589       # Microsoft Visual C++.
   8590       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8591       # no search path for DLLs.
   8592       hardcode_libdir_flag_spec=' '
   8593       allow_undefined_flag=unsupported
   8594       # Tell ltmain to make .lib files, not .a files.
   8595       libext=lib
   8596       # Tell ltmain to make .dll files, not .so files.
   8597       shrext_cmds=".dll"
   8598       # FIXME: Setting linknames here is a bad hack.
   8599       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8600       # The linker will automatically build a .lib file if we build a DLL.
   8601       old_archive_From_new_cmds='true'
   8602       # FIXME: Should let the user specify the lib program.
   8603       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8604       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8605       enable_shared_with_static_runtimes=yes
   8606       ;;
   8607 
   8608     darwin* | rhapsody*)
   8609       case $host_os in
   8610         rhapsody* | darwin1.[012])
   8611          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8612          ;;
   8613        *) # Darwin 1.3 on
   8614          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8615            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8616          else
   8617            case ${MACOSX_DEPLOYMENT_TARGET} in
   8618              10.[012])
   8619                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8620                ;;
   8621              10.*)
   8622                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8623                ;;
   8624            esac
   8625          fi
   8626          ;;
   8627       esac
   8628       archive_cmds_need_lc=no
   8629       hardcode_direct=no
   8630       hardcode_automatic=yes
   8631       hardcode_shlibpath_var=unsupported
   8632       whole_archive_flag_spec=''
   8633       link_all_deplibs=yes
   8634     if test "$GCC" = yes ; then
   8635     	output_verbose_link_cmd='echo'
   8636         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8637         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8638         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}"
   8639         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}"
   8640     else
   8641       case $cc_basename in
   8642         xlc*)
   8643          output_verbose_link_cmd='echo'
   8644          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8645          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8646           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8647          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}'
   8648           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}'
   8649           ;;
   8650        *)
   8651          ld_shlibs=no
   8652           ;;
   8653       esac
   8654     fi
   8655       ;;
   8656 
   8657     dgux*)
   8658       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8659       hardcode_libdir_flag_spec='-L$libdir'
   8660       hardcode_shlibpath_var=no
   8661       ;;
   8662 
   8663     freebsd1*)
   8664       ld_shlibs=no
   8665       ;;
   8666 
   8667     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8668     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8669     # does not break anything, and helps significantly (at the cost of a little
   8670     # extra space).
   8671     freebsd2.2*)
   8672       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8673       hardcode_libdir_flag_spec='-R$libdir'
   8674       hardcode_direct=yes
   8675       hardcode_shlibpath_var=no
   8676       ;;
   8677 
   8678     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8679     freebsd2*)
   8680       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8681       hardcode_direct=yes
   8682       hardcode_minus_L=yes
   8683       hardcode_shlibpath_var=no
   8684       ;;
   8685 
   8686     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8687     freebsd* | dragonfly*)
   8688       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8689       hardcode_libdir_flag_spec='-R$libdir'
   8690       hardcode_direct=yes
   8691       hardcode_shlibpath_var=no
   8692       ;;
   8693 
   8694     hpux9*)
   8695       if test "$GCC" = yes; then
   8696 	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'
   8697       else
   8698 	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'
   8699       fi
   8700       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8701       hardcode_libdir_separator=:
   8702       hardcode_direct=yes
   8703 
   8704       # hardcode_minus_L: Not really in the search PATH,
   8705       # but as the default location of the library.
   8706       hardcode_minus_L=yes
   8707       export_dynamic_flag_spec='${wl}-E'
   8708       ;;
   8709 
   8710     hpux10*)
   8711       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8712 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8713       else
   8714 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8715       fi
   8716       if test "$with_gnu_ld" = no; then
   8717 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8718 	hardcode_libdir_separator=:
   8719 
   8720 	hardcode_direct=yes
   8721 	export_dynamic_flag_spec='${wl}-E'
   8722 
   8723 	# hardcode_minus_L: Not really in the search PATH,
   8724 	# but as the default location of the library.
   8725 	hardcode_minus_L=yes
   8726       fi
   8727       ;;
   8728 
   8729     hpux11*)
   8730       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8731 	case $host_cpu in
   8732 	hppa*64*)
   8733 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8734 	  ;;
   8735 	ia64*)
   8736 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8737 	  ;;
   8738 	*)
   8739 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8740 	  ;;
   8741 	esac
   8742       else
   8743 	case $host_cpu in
   8744 	hppa*64*)
   8745 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8746 	  ;;
   8747 	ia64*)
   8748 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8749 	  ;;
   8750 	*)
   8751 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8752 	  ;;
   8753 	esac
   8754       fi
   8755       if test "$with_gnu_ld" = no; then
   8756 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8757 	hardcode_libdir_separator=:
   8758 
   8759 	case $host_cpu in
   8760 	hppa*64*|ia64*)
   8761 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8762 	  hardcode_direct=no
   8763 	  hardcode_shlibpath_var=no
   8764 	  ;;
   8765 	*)
   8766 	  hardcode_direct=yes
   8767 	  export_dynamic_flag_spec='${wl}-E'
   8768 
   8769 	  # hardcode_minus_L: Not really in the search PATH,
   8770 	  # but as the default location of the library.
   8771 	  hardcode_minus_L=yes
   8772 	  ;;
   8773 	esac
   8774       fi
   8775       ;;
   8776 
   8777     irix5* | irix6* | nonstopux*)
   8778       if test "$GCC" = yes; then
   8779 	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'
   8780       else
   8781 	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'
   8782 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8783       fi
   8784       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8785       hardcode_libdir_separator=:
   8786       link_all_deplibs=yes
   8787       ;;
   8788 
   8789     netbsd*)
   8790       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8791 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8792       else
   8793 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8794       fi
   8795       hardcode_libdir_flag_spec='-R$libdir'
   8796       hardcode_direct=yes
   8797       hardcode_shlibpath_var=no
   8798       ;;
   8799 
   8800     newsos6)
   8801       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8802       hardcode_direct=yes
   8803       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8804       hardcode_libdir_separator=:
   8805       hardcode_shlibpath_var=no
   8806       ;;
   8807 
   8808     openbsd*)
   8809       if test -f /usr/libexec/ld.so; then
   8810 	hardcode_direct=yes
   8811 	hardcode_shlibpath_var=no
   8812 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8813 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8814 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8815 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8816 	  export_dynamic_flag_spec='${wl}-E'
   8817 	else
   8818 	  case $host_os in
   8819 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8820 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8821 	     hardcode_libdir_flag_spec='-R$libdir'
   8822 	     ;;
   8823 	   *)
   8824 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8825 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8826 	     ;;
   8827 	  esac
   8828         fi
   8829       else
   8830 	ld_shlibs=no
   8831       fi
   8832       ;;
   8833 
   8834     os2*)
   8835       hardcode_libdir_flag_spec='-L$libdir'
   8836       hardcode_minus_L=yes
   8837       allow_undefined_flag=unsupported
   8838       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'
   8839       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8840       ;;
   8841 
   8842     osf3*)
   8843       if test "$GCC" = yes; then
   8844 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8845 	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'
   8846       else
   8847 	allow_undefined_flag=' -expect_unresolved \*'
   8848 	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'
   8849       fi
   8850       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8851       hardcode_libdir_separator=:
   8852       ;;
   8853 
   8854     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8855       if test "$GCC" = yes; then
   8856 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8857 	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'
   8858 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8859       else
   8860 	allow_undefined_flag=' -expect_unresolved \*'
   8861 	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'
   8862 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8863 	$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'
   8864 
   8865 	# Both c and cxx compiler support -rpath directly
   8866 	hardcode_libdir_flag_spec='-rpath $libdir'
   8867       fi
   8868       hardcode_libdir_separator=:
   8869       ;;
   8870 
   8871     solaris*)
   8872       no_undefined_flag=' -z text'
   8873       if test "$GCC" = yes; then
   8874 	wlarc='${wl}'
   8875 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8876 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8877 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8878       else
   8879 	wlarc=''
   8880 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8881 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8882   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8883       fi
   8884       hardcode_libdir_flag_spec='-R$libdir'
   8885       hardcode_shlibpath_var=no
   8886       case $host_os in
   8887       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8888       *)
   8889 	# The compiler driver will combine and reorder linker options,
   8890 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8891 	# but is careful enough not to reorder.
   8892  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8893 	if test "$GCC" = yes; then
   8894 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8895 	else
   8896 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8897 	fi
   8898 	;;
   8899       esac
   8900       link_all_deplibs=yes
   8901       ;;
   8902 
   8903     sunos4*)
   8904       if test "x$host_vendor" = xsequent; then
   8905 	# Use $CC to link under sequent, because it throws in some extra .o
   8906 	# files that make .init and .fini sections work.
   8907 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8908       else
   8909 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8910       fi
   8911       hardcode_libdir_flag_spec='-L$libdir'
   8912       hardcode_direct=yes
   8913       hardcode_minus_L=yes
   8914       hardcode_shlibpath_var=no
   8915       ;;
   8916 
   8917     sysv4)
   8918       case $host_vendor in
   8919 	sni)
   8920 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8921 	  hardcode_direct=yes # is this really true???
   8922 	;;
   8923 	siemens)
   8924 	  ## LD is ld it makes a PLAMLIB
   8925 	  ## CC just makes a GrossModule.
   8926 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8927 	  reload_cmds='$CC -r -o $output$reload_objs'
   8928 	  hardcode_direct=no
   8929         ;;
   8930 	motorola)
   8931 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8932 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8933 	;;
   8934       esac
   8935       runpath_var='LD_RUN_PATH'
   8936       hardcode_shlibpath_var=no
   8937       ;;
   8938 
   8939     sysv4.3*)
   8940       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8941       hardcode_shlibpath_var=no
   8942       export_dynamic_flag_spec='-Bexport'
   8943       ;;
   8944 
   8945     sysv4*MP*)
   8946       if test -d /usr/nec; then
   8947 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8948 	hardcode_shlibpath_var=no
   8949 	runpath_var=LD_RUN_PATH
   8950 	hardcode_runpath_var=yes
   8951 	ld_shlibs=yes
   8952       fi
   8953       ;;
   8954 
   8955     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8956       no_undefined_flag='${wl}-z,text'
   8957       archive_cmds_need_lc=no
   8958       hardcode_shlibpath_var=no
   8959       runpath_var='LD_RUN_PATH'
   8960 
   8961       if test "$GCC" = yes; then
   8962 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8963 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8964       else
   8965 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8966 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8967       fi
   8968       ;;
   8969 
   8970     sysv5* | sco3.2v5* | sco5v6*)
   8971       # Note: We can NOT use -z defs as we might desire, because we do not
   8972       # link with -lc, and that would cause any symbols used from libc to
   8973       # always be unresolved, which means just about no library would
   8974       # ever link correctly.  If we're not using GNU ld we use -z text
   8975       # though, which does catch some bad symbols but isn't as heavy-handed
   8976       # as -z defs.
   8977       no_undefined_flag='${wl}-z,text'
   8978       allow_undefined_flag='${wl}-z,nodefs'
   8979       archive_cmds_need_lc=no
   8980       hardcode_shlibpath_var=no
   8981       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8982       hardcode_libdir_separator=':'
   8983       link_all_deplibs=yes
   8984       export_dynamic_flag_spec='${wl}-Bexport'
   8985       runpath_var='LD_RUN_PATH'
   8986 
   8987       if test "$GCC" = yes; then
   8988 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8989 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8990       else
   8991 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8992 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8993       fi
   8994       ;;
   8995 
   8996     uts4*)
   8997       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8998       hardcode_libdir_flag_spec='-L$libdir'
   8999       hardcode_shlibpath_var=no
   9000       ;;
   9001 
   9002     *)
   9003       ld_shlibs=no
   9004       ;;
   9005     esac
   9006   fi
   9007 
   9008 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9009 $as_echo "$ld_shlibs" >&6; }
   9010 test "$ld_shlibs" = no && can_build_shared=no
   9011 
   9012 #
   9013 # Do we need to explicitly link libc?
   9014 #
   9015 case "x$archive_cmds_need_lc" in
   9016 x|xyes)
   9017   # Assume -lc should be added
   9018   archive_cmds_need_lc=yes
   9019 
   9020   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9021     case $archive_cmds in
   9022     *'~'*)
   9023       # FIXME: we may have to deal with multi-command sequences.
   9024       ;;
   9025     '$CC '*)
   9026       # Test whether the compiler implicitly links with -lc since on some
   9027       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9028       # to ld, don't add -lc before -lgcc.
   9029       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9030 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9031       $rm conftest*
   9032       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9033 
   9034       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9035   (eval $ac_compile) 2>&5
   9036   ac_status=$?
   9037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9038   (exit $ac_status); } 2>conftest.err; then
   9039         soname=conftest
   9040         lib=conftest
   9041         libobjs=conftest.$ac_objext
   9042         deplibs=
   9043         wl=$lt_prog_compiler_wl
   9044 	pic_flag=$lt_prog_compiler_pic
   9045         compiler_flags=-v
   9046         linker_flags=-v
   9047         verstring=
   9048         output_objdir=.
   9049         libname=conftest
   9050         lt_save_allow_undefined_flag=$allow_undefined_flag
   9051         allow_undefined_flag=
   9052         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9053   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9054   ac_status=$?
   9055   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9056   (exit $ac_status); }
   9057         then
   9058 	  archive_cmds_need_lc=no
   9059         else
   9060 	  archive_cmds_need_lc=yes
   9061         fi
   9062         allow_undefined_flag=$lt_save_allow_undefined_flag
   9063       else
   9064         cat conftest.err 1>&5
   9065       fi
   9066       $rm conftest*
   9067       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9068 $as_echo "$archive_cmds_need_lc" >&6; }
   9069       ;;
   9070     esac
   9071   fi
   9072   ;;
   9073 esac
   9074 
   9075 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9076 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9077 library_names_spec=
   9078 libname_spec='lib$name'
   9079 soname_spec=
   9080 shrext_cmds=".so"
   9081 postinstall_cmds=
   9082 postuninstall_cmds=
   9083 finish_cmds=
   9084 finish_eval=
   9085 shlibpath_var=
   9086 shlibpath_overrides_runpath=unknown
   9087 version_type=none
   9088 dynamic_linker="$host_os ld.so"
   9089 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9090 
   9091 if test "$GCC" = yes; then
   9092   case $host_os in
   9093     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9094     *) lt_awk_arg="/^libraries:/" ;;
   9095   esac
   9096   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9097   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9098     # if the path contains ";" then we assume it to be the separator
   9099     # otherwise default to the standard path separator (i.e. ":") - it is
   9100     # assumed that no part of a normal pathname contains ";" but that should
   9101     # okay in the real world where ";" in dirpaths is itself problematic.
   9102     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9103   else
   9104     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9105   fi
   9106   # Ok, now we have the path, separated by spaces, we can step through it
   9107   # and add multilib dir if necessary.
   9108   lt_tmp_lt_search_path_spec=
   9109   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9110   for lt_sys_path in $lt_search_path_spec; do
   9111     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9112       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9113     else
   9114       test -d "$lt_sys_path" && \
   9115 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9116     fi
   9117   done
   9118   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9119 BEGIN {RS=" "; FS="/|\n";} {
   9120   lt_foo="";
   9121   lt_count=0;
   9122   for (lt_i = NF; lt_i > 0; lt_i--) {
   9123     if ($lt_i != "" && $lt_i != ".") {
   9124       if ($lt_i == "..") {
   9125         lt_count++;
   9126       } else {
   9127         if (lt_count == 0) {
   9128           lt_foo="/" $lt_i lt_foo;
   9129         } else {
   9130           lt_count--;
   9131         }
   9132       }
   9133     }
   9134   }
   9135   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9136   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9137 }'`
   9138   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9139 else
   9140   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9141 fi
   9142 need_lib_prefix=unknown
   9143 hardcode_into_libs=no
   9144 
   9145 # when you set need_version to no, make sure it does not cause -set_version
   9146 # flags to be left without arguments
   9147 need_version=unknown
   9148 
   9149 case $host_os in
   9150 aix3*)
   9151   version_type=linux
   9152   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9153   shlibpath_var=LIBPATH
   9154 
   9155   # AIX 3 has no versioning support, so we append a major version to the name.
   9156   soname_spec='${libname}${release}${shared_ext}$major'
   9157   ;;
   9158 
   9159 aix[4-9]*)
   9160   version_type=linux
   9161   need_lib_prefix=no
   9162   need_version=no
   9163   hardcode_into_libs=yes
   9164   if test "$host_cpu" = ia64; then
   9165     # AIX 5 supports IA64
   9166     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9167     shlibpath_var=LD_LIBRARY_PATH
   9168   else
   9169     # With GCC up to 2.95.x, collect2 would create an import file
   9170     # for dependence libraries.  The import file would start with
   9171     # the line `#! .'.  This would cause the generated library to
   9172     # depend on `.', always an invalid library.  This was fixed in
   9173     # development snapshots of GCC prior to 3.0.
   9174     case $host_os in
   9175       aix4 | aix4.[01] | aix4.[01].*)
   9176       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9177 	   echo ' yes '
   9178 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9179 	:
   9180       else
   9181 	can_build_shared=no
   9182       fi
   9183       ;;
   9184     esac
   9185     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9186     # soname into executable. Probably we can add versioning support to
   9187     # collect2, so additional links can be useful in future.
   9188     if test "$aix_use_runtimelinking" = yes; then
   9189       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9190       # instead of lib<name>.a to let people know that these are not
   9191       # typical AIX shared libraries.
   9192       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9193     else
   9194       # We preserve .a as extension for shared libraries through AIX4.2
   9195       # and later when we are not doing run time linking.
   9196       library_names_spec='${libname}${release}.a $libname.a'
   9197       soname_spec='${libname}${release}${shared_ext}$major'
   9198     fi
   9199     shlibpath_var=LIBPATH
   9200   fi
   9201   ;;
   9202 
   9203 amigaos*)
   9204   library_names_spec='$libname.ixlibrary $libname.a'
   9205   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9206   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'
   9207   ;;
   9208 
   9209 beos*)
   9210   library_names_spec='${libname}${shared_ext}'
   9211   dynamic_linker="$host_os ld.so"
   9212   shlibpath_var=LIBRARY_PATH
   9213   ;;
   9214 
   9215 bsdi[45]*)
   9216   version_type=linux
   9217   need_version=no
   9218   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9219   soname_spec='${libname}${release}${shared_ext}$major'
   9220   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9221   shlibpath_var=LD_LIBRARY_PATH
   9222   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9223   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9224   # the default ld.so.conf also contains /usr/contrib/lib and
   9225   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9226   # libtool to hard-code these into programs
   9227   ;;
   9228 
   9229 cygwin* | mingw* | pw32*)
   9230   version_type=windows
   9231   shrext_cmds=".dll"
   9232   need_version=no
   9233   need_lib_prefix=no
   9234 
   9235   case $GCC,$host_os in
   9236   yes,cygwin* | yes,mingw* | yes,pw32*)
   9237     library_names_spec='$libname.dll.a'
   9238     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9239     postinstall_cmds='base_file=`basename \${file}`~
   9240       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9241       dldir=$destdir/`dirname \$dlpath`~
   9242       test -d \$dldir || mkdir -p \$dldir~
   9243       $install_prog $dir/$dlname \$dldir/$dlname~
   9244       chmod a+x \$dldir/$dlname'
   9245     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9246       dlpath=$dir/\$dldll~
   9247        $rm \$dlpath'
   9248     shlibpath_overrides_runpath=yes
   9249 
   9250     case $host_os in
   9251     cygwin*)
   9252       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9253       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9254       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9255       ;;
   9256     mingw*)
   9257       # MinGW DLLs use traditional 'lib' prefix
   9258       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9259       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9260       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9261         # It is most probably a Windows format PATH printed by
   9262         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9263         # path with ; separators, and with drive letters. We can handle the
   9264         # drive letters (cygwin fileutils understands them), so leave them,
   9265         # especially as we might pass files found there to a mingw objdump,
   9266         # which wouldn't understand a cygwinified path. Ahh.
   9267         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9268       else
   9269         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9270       fi
   9271       ;;
   9272     pw32*)
   9273       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9274       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9275       ;;
   9276     esac
   9277     ;;
   9278 
   9279   *)
   9280     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9281     ;;
   9282   esac
   9283   dynamic_linker='Win32 ld.exe'
   9284   # FIXME: first we should search . and the directory the executable is in
   9285   shlibpath_var=PATH
   9286   ;;
   9287 
   9288 darwin* | rhapsody*)
   9289   dynamic_linker="$host_os dyld"
   9290   version_type=darwin
   9291   need_lib_prefix=no
   9292   need_version=no
   9293   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9294   soname_spec='${libname}${release}${major}$shared_ext'
   9295   shlibpath_overrides_runpath=yes
   9296   shlibpath_var=DYLD_LIBRARY_PATH
   9297   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9298 
   9299   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9300   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9301   ;;
   9302 
   9303 dgux*)
   9304   version_type=linux
   9305   need_lib_prefix=no
   9306   need_version=no
   9307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9308   soname_spec='${libname}${release}${shared_ext}$major'
   9309   shlibpath_var=LD_LIBRARY_PATH
   9310   ;;
   9311 
   9312 freebsd1*)
   9313   dynamic_linker=no
   9314   ;;
   9315 
   9316 freebsd* | dragonfly*)
   9317   # DragonFly does not have aout.  When/if they implement a new
   9318   # versioning mechanism, adjust this.
   9319   if test -x /usr/bin/objformat; then
   9320     objformat=`/usr/bin/objformat`
   9321   else
   9322     case $host_os in
   9323     freebsd[123]*) objformat=aout ;;
   9324     *) objformat=elf ;;
   9325     esac
   9326   fi
   9327   version_type=freebsd-$objformat
   9328   case $version_type in
   9329     freebsd-elf*)
   9330       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9331       need_version=no
   9332       need_lib_prefix=no
   9333       ;;
   9334     freebsd-*)
   9335       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9336       need_version=yes
   9337       ;;
   9338   esac
   9339   shlibpath_var=LD_LIBRARY_PATH
   9340   case $host_os in
   9341   freebsd2*)
   9342     shlibpath_overrides_runpath=yes
   9343     ;;
   9344   freebsd3.[01]* | freebsdelf3.[01]*)
   9345     shlibpath_overrides_runpath=yes
   9346     hardcode_into_libs=yes
   9347     ;;
   9348   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9349   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9350     shlibpath_overrides_runpath=no
   9351     hardcode_into_libs=yes
   9352     ;;
   9353   *) # from 4.6 on, and DragonFly
   9354     shlibpath_overrides_runpath=yes
   9355     hardcode_into_libs=yes
   9356     ;;
   9357   esac
   9358   ;;
   9359 
   9360 gnu*)
   9361   version_type=linux
   9362   need_lib_prefix=no
   9363   need_version=no
   9364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9365   soname_spec='${libname}${release}${shared_ext}$major'
   9366   shlibpath_var=LD_LIBRARY_PATH
   9367   hardcode_into_libs=yes
   9368   ;;
   9369 
   9370 hpux9* | hpux10* | hpux11*)
   9371   # Give a soname corresponding to the major version so that dld.sl refuses to
   9372   # link against other versions.
   9373   version_type=sunos
   9374   need_lib_prefix=no
   9375   need_version=no
   9376   case $host_cpu in
   9377   ia64*)
   9378     shrext_cmds='.so'
   9379     hardcode_into_libs=yes
   9380     dynamic_linker="$host_os dld.so"
   9381     shlibpath_var=LD_LIBRARY_PATH
   9382     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9383     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9384     soname_spec='${libname}${release}${shared_ext}$major'
   9385     if test "X$HPUX_IA64_MODE" = X32; then
   9386       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9387     else
   9388       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9389     fi
   9390     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9391     ;;
   9392    hppa*64*)
   9393      shrext_cmds='.sl'
   9394      hardcode_into_libs=yes
   9395      dynamic_linker="$host_os dld.sl"
   9396      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9397      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9398      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9399      soname_spec='${libname}${release}${shared_ext}$major'
   9400      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9401      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9402      ;;
   9403    *)
   9404     shrext_cmds='.sl'
   9405     dynamic_linker="$host_os dld.sl"
   9406     shlibpath_var=SHLIB_PATH
   9407     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   9411   esac
   9412   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9413   postinstall_cmds='chmod 555 $lib'
   9414   ;;
   9415 
   9416 interix[3-9]*)
   9417   version_type=linux
   9418   need_lib_prefix=no
   9419   need_version=no
   9420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9421   soname_spec='${libname}${release}${shared_ext}$major'
   9422   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9423   shlibpath_var=LD_LIBRARY_PATH
   9424   shlibpath_overrides_runpath=no
   9425   hardcode_into_libs=yes
   9426   ;;
   9427 
   9428 irix5* | irix6* | nonstopux*)
   9429   case $host_os in
   9430     nonstopux*) version_type=nonstopux ;;
   9431     *)
   9432 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9433 		version_type=linux
   9434 	else
   9435 		version_type=irix
   9436 	fi ;;
   9437   esac
   9438   need_lib_prefix=no
   9439   need_version=no
   9440   soname_spec='${libname}${release}${shared_ext}$major'
   9441   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9442   case $host_os in
   9443   irix5* | nonstopux*)
   9444     libsuff= shlibsuff=
   9445     ;;
   9446   *)
   9447     case $LD in # libtool.m4 will add one of these switches to LD
   9448     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9449       libsuff= shlibsuff= libmagic=32-bit;;
   9450     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9451       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9452     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9453       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9454     *) libsuff= shlibsuff= libmagic=never-match;;
   9455     esac
   9456     ;;
   9457   esac
   9458   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9459   shlibpath_overrides_runpath=no
   9460   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9461   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9462   hardcode_into_libs=yes
   9463   ;;
   9464 
   9465 # No shared lib support for Linux oldld, aout, or coff.
   9466 linux*oldld* | linux*aout* | linux*coff*)
   9467   dynamic_linker=no
   9468   ;;
   9469 
   9470 # This must be Linux ELF.
   9471 linux* | k*bsd*-gnu)
   9472   version_type=linux
   9473   need_lib_prefix=no
   9474   need_version=no
   9475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9476   soname_spec='${libname}${release}${shared_ext}$major'
   9477   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9478   shlibpath_var=LD_LIBRARY_PATH
   9479   shlibpath_overrides_runpath=no
   9480   # This implies no fast_install, which is unacceptable.
   9481   # Some rework will be needed to allow for fast_install
   9482   # before this can be enabled.
   9483   hardcode_into_libs=yes
   9484   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9485   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9486 
   9487   # Append ld.so.conf contents to the search path
   9488   if test -f /etc/ld.so.conf; then
   9489     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' ' '`
   9490     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9491   fi
   9492 
   9493   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9494   # powerpc, because MkLinux only supported shared libraries with the
   9495   # GNU dynamic linker.  Since this was broken with cross compilers,
   9496   # most powerpc-linux boxes support dynamic linking these days and
   9497   # people can always --disable-shared, the test was removed, and we
   9498   # assume the GNU/Linux dynamic linker is in use.
   9499   dynamic_linker='GNU/Linux ld.so'
   9500   ;;
   9501 
   9502 netbsd*)
   9503   version_type=sunos
   9504   need_lib_prefix=no
   9505   need_version=no
   9506   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9507     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9508     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9509     dynamic_linker='NetBSD (a.out) ld.so'
   9510   else
   9511     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9512     soname_spec='${libname}${release}${shared_ext}$major'
   9513     dynamic_linker='NetBSD ld.elf_so'
   9514   fi
   9515   shlibpath_var=LD_LIBRARY_PATH
   9516   shlibpath_overrides_runpath=yes
   9517   hardcode_into_libs=yes
   9518   ;;
   9519 
   9520 newsos6)
   9521   version_type=linux
   9522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9523   shlibpath_var=LD_LIBRARY_PATH
   9524   shlibpath_overrides_runpath=yes
   9525   ;;
   9526 
   9527 nto-qnx*)
   9528   version_type=linux
   9529   need_lib_prefix=no
   9530   need_version=no
   9531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9532   soname_spec='${libname}${release}${shared_ext}$major'
   9533   shlibpath_var=LD_LIBRARY_PATH
   9534   shlibpath_overrides_runpath=yes
   9535   ;;
   9536 
   9537 openbsd*)
   9538   version_type=sunos
   9539   sys_lib_dlsearch_path_spec="/usr/lib"
   9540   need_lib_prefix=no
   9541   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9542   case $host_os in
   9543     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9544     *)                         need_version=no  ;;
   9545   esac
   9546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9547   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9548   shlibpath_var=LD_LIBRARY_PATH
   9549   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9550     case $host_os in
   9551       openbsd2.[89] | openbsd2.[89].*)
   9552 	shlibpath_overrides_runpath=no
   9553 	;;
   9554       *)
   9555 	shlibpath_overrides_runpath=yes
   9556 	;;
   9557       esac
   9558   else
   9559     shlibpath_overrides_runpath=yes
   9560   fi
   9561   ;;
   9562 
   9563 os2*)
   9564   libname_spec='$name'
   9565   shrext_cmds=".dll"
   9566   need_lib_prefix=no
   9567   library_names_spec='$libname${shared_ext} $libname.a'
   9568   dynamic_linker='OS/2 ld.exe'
   9569   shlibpath_var=LIBPATH
   9570   ;;
   9571 
   9572 osf3* | osf4* | osf5*)
   9573   version_type=osf
   9574   need_lib_prefix=no
   9575   need_version=no
   9576   soname_spec='${libname}${release}${shared_ext}$major'
   9577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9578   shlibpath_var=LD_LIBRARY_PATH
   9579   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9580   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9581   ;;
   9582 
   9583 rdos*)
   9584   dynamic_linker=no
   9585   ;;
   9586 
   9587 solaris*)
   9588   version_type=linux
   9589   need_lib_prefix=no
   9590   need_version=no
   9591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9592   soname_spec='${libname}${release}${shared_ext}$major'
   9593   shlibpath_var=LD_LIBRARY_PATH
   9594   shlibpath_overrides_runpath=yes
   9595   hardcode_into_libs=yes
   9596   # ldd complains unless libraries are executable
   9597   postinstall_cmds='chmod +x $lib'
   9598   ;;
   9599 
   9600 sunos4*)
   9601   version_type=sunos
   9602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9603   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9604   shlibpath_var=LD_LIBRARY_PATH
   9605   shlibpath_overrides_runpath=yes
   9606   if test "$with_gnu_ld" = yes; then
   9607     need_lib_prefix=no
   9608   fi
   9609   need_version=yes
   9610   ;;
   9611 
   9612 sysv4 | sysv4.3*)
   9613   version_type=linux
   9614   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9615   soname_spec='${libname}${release}${shared_ext}$major'
   9616   shlibpath_var=LD_LIBRARY_PATH
   9617   case $host_vendor in
   9618     sni)
   9619       shlibpath_overrides_runpath=no
   9620       need_lib_prefix=no
   9621       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9622       runpath_var=LD_RUN_PATH
   9623       ;;
   9624     siemens)
   9625       need_lib_prefix=no
   9626       ;;
   9627     motorola)
   9628       need_lib_prefix=no
   9629       need_version=no
   9630       shlibpath_overrides_runpath=no
   9631       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9632       ;;
   9633   esac
   9634   ;;
   9635 
   9636 sysv4*MP*)
   9637   if test -d /usr/nec ;then
   9638     version_type=linux
   9639     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9640     soname_spec='$libname${shared_ext}.$major'
   9641     shlibpath_var=LD_LIBRARY_PATH
   9642   fi
   9643   ;;
   9644 
   9645 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9646   version_type=freebsd-elf
   9647   need_lib_prefix=no
   9648   need_version=no
   9649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9650   soname_spec='${libname}${release}${shared_ext}$major'
   9651   shlibpath_var=LD_LIBRARY_PATH
   9652   hardcode_into_libs=yes
   9653   if test "$with_gnu_ld" = yes; then
   9654     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9655     shlibpath_overrides_runpath=no
   9656   else
   9657     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9658     shlibpath_overrides_runpath=yes
   9659     case $host_os in
   9660       sco3.2v5*)
   9661         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9662 	;;
   9663     esac
   9664   fi
   9665   sys_lib_dlsearch_path_spec='/usr/lib'
   9666   ;;
   9667 
   9668 uts4*)
   9669   version_type=linux
   9670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9671   soname_spec='${libname}${release}${shared_ext}$major'
   9672   shlibpath_var=LD_LIBRARY_PATH
   9673   ;;
   9674 
   9675 *)
   9676   dynamic_linker=no
   9677   ;;
   9678 esac
   9679 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9680 $as_echo "$dynamic_linker" >&6; }
   9681 test "$dynamic_linker" = no && can_build_shared=no
   9682 
   9683 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9684   $as_echo_n "(cached) " >&6
   9685 else
   9686   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9687 fi
   9688 
   9689 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9690 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9691   $as_echo_n "(cached) " >&6
   9692 else
   9693   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9694 fi
   9695 
   9696 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9697 
   9698 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9699 if test "$GCC" = yes; then
   9700   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9701 fi
   9702 
   9703 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9704 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9705 hardcode_action=
   9706 if test -n "$hardcode_libdir_flag_spec" || \
   9707    test -n "$runpath_var" || \
   9708    test "X$hardcode_automatic" = "Xyes" ; then
   9709 
   9710   # We can hardcode non-existant directories.
   9711   if test "$hardcode_direct" != no &&
   9712      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9713      # have to relink, otherwise we might link with an installed library
   9714      # when we should be linking with a yet-to-be-installed one
   9715      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9716      test "$hardcode_minus_L" != no; then
   9717     # Linking always hardcodes the temporary library directory.
   9718     hardcode_action=relink
   9719   else
   9720     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9721     hardcode_action=immediate
   9722   fi
   9723 else
   9724   # We cannot hardcode anything, or else we can only hardcode existing
   9725   # directories.
   9726   hardcode_action=unsupported
   9727 fi
   9728 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9729 $as_echo "$hardcode_action" >&6; }
   9730 
   9731 if test "$hardcode_action" = relink; then
   9732   # Fast installation is not supported
   9733   enable_fast_install=no
   9734 elif test "$shlibpath_overrides_runpath" = yes ||
   9735      test "$enable_shared" = no; then
   9736   # Fast installation is not necessary
   9737   enable_fast_install=needless
   9738 fi
   9739 
   9740 striplib=
   9741 old_striplib=
   9742 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9743 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9744 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9745   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9746   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9747   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9748 $as_echo "yes" >&6; }
   9749 else
   9750 # FIXME - insert some real tests, host_os isn't really good enough
   9751   case $host_os in
   9752    darwin*)
   9753        if test -n "$STRIP" ; then
   9754          striplib="$STRIP -x"
   9755          old_striplib="$STRIP -S"
   9756          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9757 $as_echo "yes" >&6; }
   9758        else
   9759   { $as_echo "$as_me:$LINENO: result: no" >&5
   9760 $as_echo "no" >&6; }
   9761 fi
   9762        ;;
   9763    *)
   9764   { $as_echo "$as_me:$LINENO: result: no" >&5
   9765 $as_echo "no" >&6; }
   9766     ;;
   9767   esac
   9768 fi
   9769 
   9770 if test "x$enable_dlopen" != xyes; then
   9771   enable_dlopen=unknown
   9772   enable_dlopen_self=unknown
   9773   enable_dlopen_self_static=unknown
   9774 else
   9775   lt_cv_dlopen=no
   9776   lt_cv_dlopen_libs=
   9777 
   9778   case $host_os in
   9779   beos*)
   9780     lt_cv_dlopen="load_add_on"
   9781     lt_cv_dlopen_libs=
   9782     lt_cv_dlopen_self=yes
   9783     ;;
   9784 
   9785   mingw* | pw32*)
   9786     lt_cv_dlopen="LoadLibrary"
   9787     lt_cv_dlopen_libs=
   9788    ;;
   9789 
   9790   cygwin*)
   9791     lt_cv_dlopen="dlopen"
   9792     lt_cv_dlopen_libs=
   9793    ;;
   9794 
   9795   darwin*)
   9796   # if libdl is installed we need to link against it
   9797     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9798 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9799 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9800   $as_echo_n "(cached) " >&6
   9801 else
   9802   ac_check_lib_save_LIBS=$LIBS
   9803 LIBS="-ldl  $LIBS"
   9804 cat >conftest.$ac_ext <<_ACEOF
   9805 /* confdefs.h.  */
   9806 _ACEOF
   9807 cat confdefs.h >>conftest.$ac_ext
   9808 cat >>conftest.$ac_ext <<_ACEOF
   9809 /* end confdefs.h.  */
   9810 
   9811 /* Override any GCC internal prototype to avoid an error.
   9812    Use char because int might match the return type of a GCC
   9813    builtin and then its argument prototype would still apply.  */
   9814 #ifdef __cplusplus
   9815 extern "C"
   9816 #endif
   9817 char dlopen ();
   9818 int
   9819 main ()
   9820 {
   9821 return dlopen ();
   9822   ;
   9823   return 0;
   9824 }
   9825 _ACEOF
   9826 rm -f conftest.$ac_objext conftest$ac_exeext
   9827 if { (ac_try="$ac_link"
   9828 case "(($ac_try" in
   9829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9830   *) ac_try_echo=$ac_try;;
   9831 esac
   9832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9833 $as_echo "$ac_try_echo") >&5
   9834   (eval "$ac_link") 2>conftest.er1
   9835   ac_status=$?
   9836   grep -v '^ *+' conftest.er1 >conftest.err
   9837   rm -f conftest.er1
   9838   cat conftest.err >&5
   9839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9840   (exit $ac_status); } && {
   9841 	 test -z "$ac_c_werror_flag" ||
   9842 	 test ! -s conftest.err
   9843        } && test -s conftest$ac_exeext && {
   9844 	 test "$cross_compiling" = yes ||
   9845 	 $as_test_x conftest$ac_exeext
   9846        }; then
   9847   ac_cv_lib_dl_dlopen=yes
   9848 else
   9849   $as_echo "$as_me: failed program was:" >&5
   9850 sed 's/^/| /' conftest.$ac_ext >&5
   9851 
   9852 	ac_cv_lib_dl_dlopen=no
   9853 fi
   9854 
   9855 rm -rf conftest.dSYM
   9856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9857       conftest$ac_exeext conftest.$ac_ext
   9858 LIBS=$ac_check_lib_save_LIBS
   9859 fi
   9860 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9861 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9862 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9863   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9864 else
   9865 
   9866     lt_cv_dlopen="dyld"
   9867     lt_cv_dlopen_libs=
   9868     lt_cv_dlopen_self=yes
   9869 
   9870 fi
   9871 
   9872    ;;
   9873 
   9874   *)
   9875     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9876 $as_echo_n "checking for shl_load... " >&6; }
   9877 if test "${ac_cv_func_shl_load+set}" = set; then
   9878   $as_echo_n "(cached) " >&6
   9879 else
   9880   cat >conftest.$ac_ext <<_ACEOF
   9881 /* confdefs.h.  */
   9882 _ACEOF
   9883 cat confdefs.h >>conftest.$ac_ext
   9884 cat >>conftest.$ac_ext <<_ACEOF
   9885 /* end confdefs.h.  */
   9886 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9888 #define shl_load innocuous_shl_load
   9889 
   9890 /* System header to define __stub macros and hopefully few prototypes,
   9891     which can conflict with char shl_load (); below.
   9892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9893     <limits.h> exists even on freestanding compilers.  */
   9894 
   9895 #ifdef __STDC__
   9896 # include <limits.h>
   9897 #else
   9898 # include <assert.h>
   9899 #endif
   9900 
   9901 #undef shl_load
   9902 
   9903 /* Override any GCC internal prototype to avoid an error.
   9904    Use char because int might match the return type of a GCC
   9905    builtin and then its argument prototype would still apply.  */
   9906 #ifdef __cplusplus
   9907 extern "C"
   9908 #endif
   9909 char shl_load ();
   9910 /* The GNU C library defines this for functions which it implements
   9911     to always fail with ENOSYS.  Some functions are actually named
   9912     something starting with __ and the normal name is an alias.  */
   9913 #if defined __stub_shl_load || defined __stub___shl_load
   9914 choke me
   9915 #endif
   9916 
   9917 int
   9918 main ()
   9919 {
   9920 return shl_load ();
   9921   ;
   9922   return 0;
   9923 }
   9924 _ACEOF
   9925 rm -f conftest.$ac_objext conftest$ac_exeext
   9926 if { (ac_try="$ac_link"
   9927 case "(($ac_try" in
   9928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9929   *) ac_try_echo=$ac_try;;
   9930 esac
   9931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9932 $as_echo "$ac_try_echo") >&5
   9933   (eval "$ac_link") 2>conftest.er1
   9934   ac_status=$?
   9935   grep -v '^ *+' conftest.er1 >conftest.err
   9936   rm -f conftest.er1
   9937   cat conftest.err >&5
   9938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9939   (exit $ac_status); } && {
   9940 	 test -z "$ac_c_werror_flag" ||
   9941 	 test ! -s conftest.err
   9942        } && test -s conftest$ac_exeext && {
   9943 	 test "$cross_compiling" = yes ||
   9944 	 $as_test_x conftest$ac_exeext
   9945        }; then
   9946   ac_cv_func_shl_load=yes
   9947 else
   9948   $as_echo "$as_me: failed program was:" >&5
   9949 sed 's/^/| /' conftest.$ac_ext >&5
   9950 
   9951 	ac_cv_func_shl_load=no
   9952 fi
   9953 
   9954 rm -rf conftest.dSYM
   9955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9956       conftest$ac_exeext conftest.$ac_ext
   9957 fi
   9958 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9959 $as_echo "$ac_cv_func_shl_load" >&6; }
   9960 if test "x$ac_cv_func_shl_load" = x""yes; then
   9961   lt_cv_dlopen="shl_load"
   9962 else
   9963   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9964 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   9965 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9966   $as_echo_n "(cached) " >&6
   9967 else
   9968   ac_check_lib_save_LIBS=$LIBS
   9969 LIBS="-ldld  $LIBS"
   9970 cat >conftest.$ac_ext <<_ACEOF
   9971 /* confdefs.h.  */
   9972 _ACEOF
   9973 cat confdefs.h >>conftest.$ac_ext
   9974 cat >>conftest.$ac_ext <<_ACEOF
   9975 /* end confdefs.h.  */
   9976 
   9977 /* Override any GCC internal prototype to avoid an error.
   9978    Use char because int might match the return type of a GCC
   9979    builtin and then its argument prototype would still apply.  */
   9980 #ifdef __cplusplus
   9981 extern "C"
   9982 #endif
   9983 char shl_load ();
   9984 int
   9985 main ()
   9986 {
   9987 return shl_load ();
   9988   ;
   9989   return 0;
   9990 }
   9991 _ACEOF
   9992 rm -f conftest.$ac_objext conftest$ac_exeext
   9993 if { (ac_try="$ac_link"
   9994 case "(($ac_try" in
   9995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9996   *) ac_try_echo=$ac_try;;
   9997 esac
   9998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9999 $as_echo "$ac_try_echo") >&5
   10000   (eval "$ac_link") 2>conftest.er1
   10001   ac_status=$?
   10002   grep -v '^ *+' conftest.er1 >conftest.err
   10003   rm -f conftest.er1
   10004   cat conftest.err >&5
   10005   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10006   (exit $ac_status); } && {
   10007 	 test -z "$ac_c_werror_flag" ||
   10008 	 test ! -s conftest.err
   10009        } && test -s conftest$ac_exeext && {
   10010 	 test "$cross_compiling" = yes ||
   10011 	 $as_test_x conftest$ac_exeext
   10012        }; then
   10013   ac_cv_lib_dld_shl_load=yes
   10014 else
   10015   $as_echo "$as_me: failed program was:" >&5
   10016 sed 's/^/| /' conftest.$ac_ext >&5
   10017 
   10018 	ac_cv_lib_dld_shl_load=no
   10019 fi
   10020 
   10021 rm -rf conftest.dSYM
   10022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10023       conftest$ac_exeext conftest.$ac_ext
   10024 LIBS=$ac_check_lib_save_LIBS
   10025 fi
   10026 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10027 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10028 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10029   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10030 else
   10031   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10032 $as_echo_n "checking for dlopen... " >&6; }
   10033 if test "${ac_cv_func_dlopen+set}" = set; then
   10034   $as_echo_n "(cached) " >&6
   10035 else
   10036   cat >conftest.$ac_ext <<_ACEOF
   10037 /* confdefs.h.  */
   10038 _ACEOF
   10039 cat confdefs.h >>conftest.$ac_ext
   10040 cat >>conftest.$ac_ext <<_ACEOF
   10041 /* end confdefs.h.  */
   10042 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10044 #define dlopen innocuous_dlopen
   10045 
   10046 /* System header to define __stub macros and hopefully few prototypes,
   10047     which can conflict with char dlopen (); below.
   10048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10049     <limits.h> exists even on freestanding compilers.  */
   10050 
   10051 #ifdef __STDC__
   10052 # include <limits.h>
   10053 #else
   10054 # include <assert.h>
   10055 #endif
   10056 
   10057 #undef dlopen
   10058 
   10059 /* Override any GCC internal prototype to avoid an error.
   10060    Use char because int might match the return type of a GCC
   10061    builtin and then its argument prototype would still apply.  */
   10062 #ifdef __cplusplus
   10063 extern "C"
   10064 #endif
   10065 char dlopen ();
   10066 /* The GNU C library defines this for functions which it implements
   10067     to always fail with ENOSYS.  Some functions are actually named
   10068     something starting with __ and the normal name is an alias.  */
   10069 #if defined __stub_dlopen || defined __stub___dlopen
   10070 choke me
   10071 #endif
   10072 
   10073 int
   10074 main ()
   10075 {
   10076 return dlopen ();
   10077   ;
   10078   return 0;
   10079 }
   10080 _ACEOF
   10081 rm -f conftest.$ac_objext conftest$ac_exeext
   10082 if { (ac_try="$ac_link"
   10083 case "(($ac_try" in
   10084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10085   *) ac_try_echo=$ac_try;;
   10086 esac
   10087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10088 $as_echo "$ac_try_echo") >&5
   10089   (eval "$ac_link") 2>conftest.er1
   10090   ac_status=$?
   10091   grep -v '^ *+' conftest.er1 >conftest.err
   10092   rm -f conftest.er1
   10093   cat conftest.err >&5
   10094   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10095   (exit $ac_status); } && {
   10096 	 test -z "$ac_c_werror_flag" ||
   10097 	 test ! -s conftest.err
   10098        } && test -s conftest$ac_exeext && {
   10099 	 test "$cross_compiling" = yes ||
   10100 	 $as_test_x conftest$ac_exeext
   10101        }; then
   10102   ac_cv_func_dlopen=yes
   10103 else
   10104   $as_echo "$as_me: failed program was:" >&5
   10105 sed 's/^/| /' conftest.$ac_ext >&5
   10106 
   10107 	ac_cv_func_dlopen=no
   10108 fi
   10109 
   10110 rm -rf conftest.dSYM
   10111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10112       conftest$ac_exeext conftest.$ac_ext
   10113 fi
   10114 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10115 $as_echo "$ac_cv_func_dlopen" >&6; }
   10116 if test "x$ac_cv_func_dlopen" = x""yes; then
   10117   lt_cv_dlopen="dlopen"
   10118 else
   10119   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10120 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10121 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10122   $as_echo_n "(cached) " >&6
   10123 else
   10124   ac_check_lib_save_LIBS=$LIBS
   10125 LIBS="-ldl  $LIBS"
   10126 cat >conftest.$ac_ext <<_ACEOF
   10127 /* confdefs.h.  */
   10128 _ACEOF
   10129 cat confdefs.h >>conftest.$ac_ext
   10130 cat >>conftest.$ac_ext <<_ACEOF
   10131 /* end confdefs.h.  */
   10132 
   10133 /* Override any GCC internal prototype to avoid an error.
   10134    Use char because int might match the return type of a GCC
   10135    builtin and then its argument prototype would still apply.  */
   10136 #ifdef __cplusplus
   10137 extern "C"
   10138 #endif
   10139 char dlopen ();
   10140 int
   10141 main ()
   10142 {
   10143 return dlopen ();
   10144   ;
   10145   return 0;
   10146 }
   10147 _ACEOF
   10148 rm -f conftest.$ac_objext conftest$ac_exeext
   10149 if { (ac_try="$ac_link"
   10150 case "(($ac_try" in
   10151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10152   *) ac_try_echo=$ac_try;;
   10153 esac
   10154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10155 $as_echo "$ac_try_echo") >&5
   10156   (eval "$ac_link") 2>conftest.er1
   10157   ac_status=$?
   10158   grep -v '^ *+' conftest.er1 >conftest.err
   10159   rm -f conftest.er1
   10160   cat conftest.err >&5
   10161   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10162   (exit $ac_status); } && {
   10163 	 test -z "$ac_c_werror_flag" ||
   10164 	 test ! -s conftest.err
   10165        } && test -s conftest$ac_exeext && {
   10166 	 test "$cross_compiling" = yes ||
   10167 	 $as_test_x conftest$ac_exeext
   10168        }; then
   10169   ac_cv_lib_dl_dlopen=yes
   10170 else
   10171   $as_echo "$as_me: failed program was:" >&5
   10172 sed 's/^/| /' conftest.$ac_ext >&5
   10173 
   10174 	ac_cv_lib_dl_dlopen=no
   10175 fi
   10176 
   10177 rm -rf conftest.dSYM
   10178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10179       conftest$ac_exeext conftest.$ac_ext
   10180 LIBS=$ac_check_lib_save_LIBS
   10181 fi
   10182 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10183 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10184 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10185   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10186 else
   10187   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10188 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10189 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10190   $as_echo_n "(cached) " >&6
   10191 else
   10192   ac_check_lib_save_LIBS=$LIBS
   10193 LIBS="-lsvld  $LIBS"
   10194 cat >conftest.$ac_ext <<_ACEOF
   10195 /* confdefs.h.  */
   10196 _ACEOF
   10197 cat confdefs.h >>conftest.$ac_ext
   10198 cat >>conftest.$ac_ext <<_ACEOF
   10199 /* end confdefs.h.  */
   10200 
   10201 /* Override any GCC internal prototype to avoid an error.
   10202    Use char because int might match the return type of a GCC
   10203    builtin and then its argument prototype would still apply.  */
   10204 #ifdef __cplusplus
   10205 extern "C"
   10206 #endif
   10207 char dlopen ();
   10208 int
   10209 main ()
   10210 {
   10211 return dlopen ();
   10212   ;
   10213   return 0;
   10214 }
   10215 _ACEOF
   10216 rm -f conftest.$ac_objext conftest$ac_exeext
   10217 if { (ac_try="$ac_link"
   10218 case "(($ac_try" in
   10219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10220   *) ac_try_echo=$ac_try;;
   10221 esac
   10222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10223 $as_echo "$ac_try_echo") >&5
   10224   (eval "$ac_link") 2>conftest.er1
   10225   ac_status=$?
   10226   grep -v '^ *+' conftest.er1 >conftest.err
   10227   rm -f conftest.er1
   10228   cat conftest.err >&5
   10229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10230   (exit $ac_status); } && {
   10231 	 test -z "$ac_c_werror_flag" ||
   10232 	 test ! -s conftest.err
   10233        } && test -s conftest$ac_exeext && {
   10234 	 test "$cross_compiling" = yes ||
   10235 	 $as_test_x conftest$ac_exeext
   10236        }; then
   10237   ac_cv_lib_svld_dlopen=yes
   10238 else
   10239   $as_echo "$as_me: failed program was:" >&5
   10240 sed 's/^/| /' conftest.$ac_ext >&5
   10241 
   10242 	ac_cv_lib_svld_dlopen=no
   10243 fi
   10244 
   10245 rm -rf conftest.dSYM
   10246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10247       conftest$ac_exeext conftest.$ac_ext
   10248 LIBS=$ac_check_lib_save_LIBS
   10249 fi
   10250 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10251 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10252 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10253   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10254 else
   10255   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10256 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10257 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10258   $as_echo_n "(cached) " >&6
   10259 else
   10260   ac_check_lib_save_LIBS=$LIBS
   10261 LIBS="-ldld  $LIBS"
   10262 cat >conftest.$ac_ext <<_ACEOF
   10263 /* confdefs.h.  */
   10264 _ACEOF
   10265 cat confdefs.h >>conftest.$ac_ext
   10266 cat >>conftest.$ac_ext <<_ACEOF
   10267 /* end confdefs.h.  */
   10268 
   10269 /* Override any GCC internal prototype to avoid an error.
   10270    Use char because int might match the return type of a GCC
   10271    builtin and then its argument prototype would still apply.  */
   10272 #ifdef __cplusplus
   10273 extern "C"
   10274 #endif
   10275 char dld_link ();
   10276 int
   10277 main ()
   10278 {
   10279 return dld_link ();
   10280   ;
   10281   return 0;
   10282 }
   10283 _ACEOF
   10284 rm -f conftest.$ac_objext conftest$ac_exeext
   10285 if { (ac_try="$ac_link"
   10286 case "(($ac_try" in
   10287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10288   *) ac_try_echo=$ac_try;;
   10289 esac
   10290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10291 $as_echo "$ac_try_echo") >&5
   10292   (eval "$ac_link") 2>conftest.er1
   10293   ac_status=$?
   10294   grep -v '^ *+' conftest.er1 >conftest.err
   10295   rm -f conftest.er1
   10296   cat conftest.err >&5
   10297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10298   (exit $ac_status); } && {
   10299 	 test -z "$ac_c_werror_flag" ||
   10300 	 test ! -s conftest.err
   10301        } && test -s conftest$ac_exeext && {
   10302 	 test "$cross_compiling" = yes ||
   10303 	 $as_test_x conftest$ac_exeext
   10304        }; then
   10305   ac_cv_lib_dld_dld_link=yes
   10306 else
   10307   $as_echo "$as_me: failed program was:" >&5
   10308 sed 's/^/| /' conftest.$ac_ext >&5
   10309 
   10310 	ac_cv_lib_dld_dld_link=no
   10311 fi
   10312 
   10313 rm -rf conftest.dSYM
   10314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10315       conftest$ac_exeext conftest.$ac_ext
   10316 LIBS=$ac_check_lib_save_LIBS
   10317 fi
   10318 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10319 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10320 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10321   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10322 fi
   10323 
   10324 
   10325 fi
   10326 
   10327 
   10328 fi
   10329 
   10330 
   10331 fi
   10332 
   10333 
   10334 fi
   10335 
   10336 
   10337 fi
   10338 
   10339     ;;
   10340   esac
   10341 
   10342   if test "x$lt_cv_dlopen" != xno; then
   10343     enable_dlopen=yes
   10344   else
   10345     enable_dlopen=no
   10346   fi
   10347 
   10348   case $lt_cv_dlopen in
   10349   dlopen)
   10350     save_CPPFLAGS="$CPPFLAGS"
   10351     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10352 
   10353     save_LDFLAGS="$LDFLAGS"
   10354     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10355 
   10356     save_LIBS="$LIBS"
   10357     LIBS="$lt_cv_dlopen_libs $LIBS"
   10358 
   10359     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10360 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10361 if test "${lt_cv_dlopen_self+set}" = set; then
   10362   $as_echo_n "(cached) " >&6
   10363 else
   10364   	  if test "$cross_compiling" = yes; then :
   10365   lt_cv_dlopen_self=cross
   10366 else
   10367   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10368   lt_status=$lt_dlunknown
   10369   cat > conftest.$ac_ext <<EOF
   10370 #line 10370 "configure"
   10371 #include "confdefs.h"
   10372 
   10373 #if HAVE_DLFCN_H
   10374 #include <dlfcn.h>
   10375 #endif
   10376 
   10377 #include <stdio.h>
   10378 
   10379 #ifdef RTLD_GLOBAL
   10380 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10381 #else
   10382 #  ifdef DL_GLOBAL
   10383 #    define LT_DLGLOBAL		DL_GLOBAL
   10384 #  else
   10385 #    define LT_DLGLOBAL		0
   10386 #  endif
   10387 #endif
   10388 
   10389 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10390    find out it does not work in some platform. */
   10391 #ifndef LT_DLLAZY_OR_NOW
   10392 #  ifdef RTLD_LAZY
   10393 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10394 #  else
   10395 #    ifdef DL_LAZY
   10396 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10397 #    else
   10398 #      ifdef RTLD_NOW
   10399 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10400 #      else
   10401 #        ifdef DL_NOW
   10402 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10403 #        else
   10404 #          define LT_DLLAZY_OR_NOW	0
   10405 #        endif
   10406 #      endif
   10407 #    endif
   10408 #  endif
   10409 #endif
   10410 
   10411 #ifdef __cplusplus
   10412 extern "C" void exit (int);
   10413 #endif
   10414 
   10415 void fnord() { int i=42;}
   10416 int main ()
   10417 {
   10418   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10419   int status = $lt_dlunknown;
   10420 
   10421   if (self)
   10422     {
   10423       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10424       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10425       /* dlclose (self); */
   10426     }
   10427   else
   10428     puts (dlerror ());
   10429 
   10430     exit (status);
   10431 }
   10432 EOF
   10433   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10434   (eval $ac_link) 2>&5
   10435   ac_status=$?
   10436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10437   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10438     (./conftest; exit; ) >&5 2>/dev/null
   10439     lt_status=$?
   10440     case x$lt_status in
   10441       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10442       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10443       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10444     esac
   10445   else :
   10446     # compilation failed
   10447     lt_cv_dlopen_self=no
   10448   fi
   10449 fi
   10450 rm -fr conftest*
   10451 
   10452 
   10453 fi
   10454 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10455 $as_echo "$lt_cv_dlopen_self" >&6; }
   10456 
   10457     if test "x$lt_cv_dlopen_self" = xyes; then
   10458       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10459       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10460 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10461 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10462   $as_echo_n "(cached) " >&6
   10463 else
   10464   	  if test "$cross_compiling" = yes; then :
   10465   lt_cv_dlopen_self_static=cross
   10466 else
   10467   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10468   lt_status=$lt_dlunknown
   10469   cat > conftest.$ac_ext <<EOF
   10470 #line 10470 "configure"
   10471 #include "confdefs.h"
   10472 
   10473 #if HAVE_DLFCN_H
   10474 #include <dlfcn.h>
   10475 #endif
   10476 
   10477 #include <stdio.h>
   10478 
   10479 #ifdef RTLD_GLOBAL
   10480 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10481 #else
   10482 #  ifdef DL_GLOBAL
   10483 #    define LT_DLGLOBAL		DL_GLOBAL
   10484 #  else
   10485 #    define LT_DLGLOBAL		0
   10486 #  endif
   10487 #endif
   10488 
   10489 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10490    find out it does not work in some platform. */
   10491 #ifndef LT_DLLAZY_OR_NOW
   10492 #  ifdef RTLD_LAZY
   10493 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10494 #  else
   10495 #    ifdef DL_LAZY
   10496 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10497 #    else
   10498 #      ifdef RTLD_NOW
   10499 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10500 #      else
   10501 #        ifdef DL_NOW
   10502 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10503 #        else
   10504 #          define LT_DLLAZY_OR_NOW	0
   10505 #        endif
   10506 #      endif
   10507 #    endif
   10508 #  endif
   10509 #endif
   10510 
   10511 #ifdef __cplusplus
   10512 extern "C" void exit (int);
   10513 #endif
   10514 
   10515 void fnord() { int i=42;}
   10516 int main ()
   10517 {
   10518   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10519   int status = $lt_dlunknown;
   10520 
   10521   if (self)
   10522     {
   10523       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10524       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10525       /* dlclose (self); */
   10526     }
   10527   else
   10528     puts (dlerror ());
   10529 
   10530     exit (status);
   10531 }
   10532 EOF
   10533   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10534   (eval $ac_link) 2>&5
   10535   ac_status=$?
   10536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10537   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10538     (./conftest; exit; ) >&5 2>/dev/null
   10539     lt_status=$?
   10540     case x$lt_status in
   10541       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10542       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10543       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10544     esac
   10545   else :
   10546     # compilation failed
   10547     lt_cv_dlopen_self_static=no
   10548   fi
   10549 fi
   10550 rm -fr conftest*
   10551 
   10552 
   10553 fi
   10554 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10555 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10556     fi
   10557 
   10558     CPPFLAGS="$save_CPPFLAGS"
   10559     LDFLAGS="$save_LDFLAGS"
   10560     LIBS="$save_LIBS"
   10561     ;;
   10562   esac
   10563 
   10564   case $lt_cv_dlopen_self in
   10565   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10566   *) enable_dlopen_self=unknown ;;
   10567   esac
   10568 
   10569   case $lt_cv_dlopen_self_static in
   10570   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10571   *) enable_dlopen_self_static=unknown ;;
   10572   esac
   10573 fi
   10574 
   10575 
   10576 # Report which library types will actually be built
   10577 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10578 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10579 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10580 $as_echo "$can_build_shared" >&6; }
   10581 
   10582 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10583 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10584 test "$can_build_shared" = "no" && enable_shared=no
   10585 
   10586 # On AIX, shared libraries and static libraries use the same namespace, and
   10587 # are all built from PIC.
   10588 case $host_os in
   10589 aix3*)
   10590   test "$enable_shared" = yes && enable_static=no
   10591   if test -n "$RANLIB"; then
   10592     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10593     postinstall_cmds='$RANLIB $lib'
   10594   fi
   10595   ;;
   10596 
   10597 aix[4-9]*)
   10598   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10599     test "$enable_shared" = yes && enable_static=no
   10600   fi
   10601     ;;
   10602 esac
   10603 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10604 $as_echo "$enable_shared" >&6; }
   10605 
   10606 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10607 $as_echo_n "checking whether to build static libraries... " >&6; }
   10608 # Make sure either enable_shared or enable_static is yes.
   10609 test "$enable_shared" = yes || enable_static=yes
   10610 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10611 $as_echo "$enable_static" >&6; }
   10612 
   10613 # The else clause should only fire when bootstrapping the
   10614 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10615 # with your package, and you will get complaints that there are
   10616 # no rules to generate ltmain.sh.
   10617 if test -f "$ltmain"; then
   10618   # See if we are running on zsh, and set the options which allow our commands through
   10619   # without removal of \ escapes.
   10620   if test -n "${ZSH_VERSION+set}" ; then
   10621     setopt NO_GLOB_SUBST
   10622   fi
   10623   # Now quote all the things that may contain metacharacters while being
   10624   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10625   # variables and quote the copies for generation of the libtool script.
   10626   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10627     SED SHELL STRIP \
   10628     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10629     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10630     deplibs_check_method reload_flag reload_cmds need_locks \
   10631     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10632     lt_cv_sys_global_symbol_to_c_name_address \
   10633     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10634     old_postinstall_cmds old_postuninstall_cmds \
   10635     compiler \
   10636     CC \
   10637     LD \
   10638     lt_prog_compiler_wl \
   10639     lt_prog_compiler_pic \
   10640     lt_prog_compiler_static \
   10641     lt_prog_compiler_no_builtin_flag \
   10642     export_dynamic_flag_spec \
   10643     thread_safe_flag_spec \
   10644     whole_archive_flag_spec \
   10645     enable_shared_with_static_runtimes \
   10646     old_archive_cmds \
   10647     old_archive_from_new_cmds \
   10648     predep_objects \
   10649     postdep_objects \
   10650     predeps \
   10651     postdeps \
   10652     compiler_lib_search_path \
   10653     compiler_lib_search_dirs \
   10654     archive_cmds \
   10655     archive_expsym_cmds \
   10656     postinstall_cmds \
   10657     postuninstall_cmds \
   10658     old_archive_from_expsyms_cmds \
   10659     allow_undefined_flag \
   10660     no_undefined_flag \
   10661     export_symbols_cmds \
   10662     hardcode_libdir_flag_spec \
   10663     hardcode_libdir_flag_spec_ld \
   10664     hardcode_libdir_separator \
   10665     hardcode_automatic \
   10666     module_cmds \
   10667     module_expsym_cmds \
   10668     lt_cv_prog_compiler_c_o \
   10669     fix_srcfile_path \
   10670     exclude_expsyms \
   10671     include_expsyms; do
   10672 
   10673     case $var in
   10674     old_archive_cmds | \
   10675     old_archive_from_new_cmds | \
   10676     archive_cmds | \
   10677     archive_expsym_cmds | \
   10678     module_cmds | \
   10679     module_expsym_cmds | \
   10680     old_archive_from_expsyms_cmds | \
   10681     export_symbols_cmds | \
   10682     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10683     postinstall_cmds | postuninstall_cmds | \
   10684     old_postinstall_cmds | old_postuninstall_cmds | \
   10685     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10686       # Double-quote double-evaled strings.
   10687       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10688       ;;
   10689     *)
   10690       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10691       ;;
   10692     esac
   10693   done
   10694 
   10695   case $lt_echo in
   10696   *'\$0 --fallback-echo"')
   10697     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10698     ;;
   10699   esac
   10700 
   10701 cfgfile="${ofile}T"
   10702   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10703   $rm -f "$cfgfile"
   10704   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10705 $as_echo "$as_me: creating $ofile" >&6;}
   10706 
   10707   cat <<__EOF__ >> "$cfgfile"
   10708 #! $SHELL
   10709 
   10710 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10711 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10712 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10713 #
   10714 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10715 # Free Software Foundation, Inc.
   10716 #
   10717 # This file is part of GNU Libtool:
   10718 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10719 #
   10720 # This program is free software; you can redistribute it and/or modify
   10721 # it under the terms of the GNU General Public License as published by
   10722 # the Free Software Foundation; either version 2 of the License, or
   10723 # (at your option) any later version.
   10724 #
   10725 # This program is distributed in the hope that it will be useful, but
   10726 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10727 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10728 # General Public License for more details.
   10729 #
   10730 # You should have received a copy of the GNU General Public License
   10731 # along with this program; if not, write to the Free Software
   10732 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10733 #
   10734 # As a special exception to the GNU General Public License, if you
   10735 # distribute this file as part of a program that contains a
   10736 # configuration script generated by Autoconf, you may include it under
   10737 # the same distribution terms that you use for the rest of that program.
   10738 
   10739 # A sed program that does not truncate output.
   10740 SED=$lt_SED
   10741 
   10742 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10743 Xsed="$SED -e 1s/^X//"
   10744 
   10745 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10746 # if CDPATH is set.
   10747 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10748 
   10749 # The names of the tagged configurations supported by this script.
   10750 available_tags=
   10751 
   10752 # ### BEGIN LIBTOOL CONFIG
   10753 
   10754 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10755 
   10756 # Shell to use when invoking shell scripts.
   10757 SHELL=$lt_SHELL
   10758 
   10759 # Whether or not to build shared libraries.
   10760 build_libtool_libs=$enable_shared
   10761 
   10762 # Whether or not to build static libraries.
   10763 build_old_libs=$enable_static
   10764 
   10765 # Whether or not to add -lc for building shared libraries.
   10766 build_libtool_need_lc=$archive_cmds_need_lc
   10767 
   10768 # Whether or not to disallow shared libs when runtime libs are static
   10769 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10770 
   10771 # Whether or not to optimize for fast installation.
   10772 fast_install=$enable_fast_install
   10773 
   10774 # The host system.
   10775 host_alias=$host_alias
   10776 host=$host
   10777 host_os=$host_os
   10778 
   10779 # The build system.
   10780 build_alias=$build_alias
   10781 build=$build
   10782 build_os=$build_os
   10783 
   10784 # An echo program that does not interpret backslashes.
   10785 echo=$lt_echo
   10786 
   10787 # The archiver.
   10788 AR=$lt_AR
   10789 AR_FLAGS=$lt_AR_FLAGS
   10790 
   10791 # A C compiler.
   10792 LTCC=$lt_LTCC
   10793 
   10794 # LTCC compiler flags.
   10795 LTCFLAGS=$lt_LTCFLAGS
   10796 
   10797 # A language-specific compiler.
   10798 CC=$lt_compiler
   10799 
   10800 # Is the compiler the GNU C compiler?
   10801 with_gcc=$GCC
   10802 
   10803 # An ERE matcher.
   10804 EGREP=$lt_EGREP
   10805 
   10806 # The linker used to build libraries.
   10807 LD=$lt_LD
   10808 
   10809 # Whether we need hard or soft links.
   10810 LN_S=$lt_LN_S
   10811 
   10812 # A BSD-compatible nm program.
   10813 NM=$lt_NM
   10814 
   10815 # A symbol stripping program
   10816 STRIP=$lt_STRIP
   10817 
   10818 # Used to examine libraries when file_magic_cmd begins "file"
   10819 MAGIC_CMD=$MAGIC_CMD
   10820 
   10821 # Used on cygwin: DLL creation program.
   10822 DLLTOOL="$DLLTOOL"
   10823 
   10824 # Used on cygwin: object dumper.
   10825 OBJDUMP="$OBJDUMP"
   10826 
   10827 # Used on cygwin: assembler.
   10828 AS="$AS"
   10829 
   10830 # The name of the directory that contains temporary libtool files.
   10831 objdir=$objdir
   10832 
   10833 # How to create reloadable object files.
   10834 reload_flag=$lt_reload_flag
   10835 reload_cmds=$lt_reload_cmds
   10836 
   10837 # How to pass a linker flag through the compiler.
   10838 wl=$lt_lt_prog_compiler_wl
   10839 
   10840 # Object file suffix (normally "o").
   10841 objext="$ac_objext"
   10842 
   10843 # Old archive suffix (normally "a").
   10844 libext="$libext"
   10845 
   10846 # Shared library suffix (normally ".so").
   10847 shrext_cmds='$shrext_cmds'
   10848 
   10849 # Executable file suffix (normally "").
   10850 exeext="$exeext"
   10851 
   10852 # Additional compiler flags for building library objects.
   10853 pic_flag=$lt_lt_prog_compiler_pic
   10854 pic_mode=$pic_mode
   10855 
   10856 # What is the maximum length of a command?
   10857 max_cmd_len=$lt_cv_sys_max_cmd_len
   10858 
   10859 # Does compiler simultaneously support -c and -o options?
   10860 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10861 
   10862 # Must we lock files when doing compilation?
   10863 need_locks=$lt_need_locks
   10864 
   10865 # Do we need the lib prefix for modules?
   10866 need_lib_prefix=$need_lib_prefix
   10867 
   10868 # Do we need a version for libraries?
   10869 need_version=$need_version
   10870 
   10871 # Whether dlopen is supported.
   10872 dlopen_support=$enable_dlopen
   10873 
   10874 # Whether dlopen of programs is supported.
   10875 dlopen_self=$enable_dlopen_self
   10876 
   10877 # Whether dlopen of statically linked programs is supported.
   10878 dlopen_self_static=$enable_dlopen_self_static
   10879 
   10880 # Compiler flag to prevent dynamic linking.
   10881 link_static_flag=$lt_lt_prog_compiler_static
   10882 
   10883 # Compiler flag to turn off builtin functions.
   10884 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10885 
   10886 # Compiler flag to allow reflexive dlopens.
   10887 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10888 
   10889 # Compiler flag to generate shared objects directly from archives.
   10890 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10891 
   10892 # Compiler flag to generate thread-safe objects.
   10893 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10894 
   10895 # Library versioning type.
   10896 version_type=$version_type
   10897 
   10898 # Format of library name prefix.
   10899 libname_spec=$lt_libname_spec
   10900 
   10901 # List of archive names.  First name is the real one, the rest are links.
   10902 # The last name is the one that the linker finds with -lNAME.
   10903 library_names_spec=$lt_library_names_spec
   10904 
   10905 # The coded name of the library, if different from the real name.
   10906 soname_spec=$lt_soname_spec
   10907 
   10908 # Commands used to build and install an old-style archive.
   10909 RANLIB=$lt_RANLIB
   10910 old_archive_cmds=$lt_old_archive_cmds
   10911 old_postinstall_cmds=$lt_old_postinstall_cmds
   10912 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10913 
   10914 # Create an old-style archive from a shared archive.
   10915 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10916 
   10917 # Create a temporary old-style archive to link instead of a shared archive.
   10918 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10919 
   10920 # Commands used to build and install a shared archive.
   10921 archive_cmds=$lt_archive_cmds
   10922 archive_expsym_cmds=$lt_archive_expsym_cmds
   10923 postinstall_cmds=$lt_postinstall_cmds
   10924 postuninstall_cmds=$lt_postuninstall_cmds
   10925 
   10926 # Commands used to build a loadable module (assumed same as above if empty)
   10927 module_cmds=$lt_module_cmds
   10928 module_expsym_cmds=$lt_module_expsym_cmds
   10929 
   10930 # Commands to strip libraries.
   10931 old_striplib=$lt_old_striplib
   10932 striplib=$lt_striplib
   10933 
   10934 # Dependencies to place before the objects being linked to create a
   10935 # shared library.
   10936 predep_objects=$lt_predep_objects
   10937 
   10938 # Dependencies to place after the objects being linked to create a
   10939 # shared library.
   10940 postdep_objects=$lt_postdep_objects
   10941 
   10942 # Dependencies to place before the objects being linked to create a
   10943 # shared library.
   10944 predeps=$lt_predeps
   10945 
   10946 # Dependencies to place after the objects being linked to create a
   10947 # shared library.
   10948 postdeps=$lt_postdeps
   10949 
   10950 # The directories searched by this compiler when creating a shared
   10951 # library
   10952 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   10953 
   10954 # The library search path used internally by the compiler when linking
   10955 # a shared library.
   10956 compiler_lib_search_path=$lt_compiler_lib_search_path
   10957 
   10958 # Method to check whether dependent libraries are shared objects.
   10959 deplibs_check_method=$lt_deplibs_check_method
   10960 
   10961 # Command to use when deplibs_check_method == file_magic.
   10962 file_magic_cmd=$lt_file_magic_cmd
   10963 
   10964 # Flag that allows shared libraries with undefined symbols to be built.
   10965 allow_undefined_flag=$lt_allow_undefined_flag
   10966 
   10967 # Flag that forces no undefined symbols.
   10968 no_undefined_flag=$lt_no_undefined_flag
   10969 
   10970 # Commands used to finish a libtool library installation in a directory.
   10971 finish_cmds=$lt_finish_cmds
   10972 
   10973 # Same as above, but a single script fragment to be evaled but not shown.
   10974 finish_eval=$lt_finish_eval
   10975 
   10976 # Take the output of nm and produce a listing of raw symbols and C names.
   10977 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10978 
   10979 # Transform the output of nm in a proper C declaration
   10980 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10981 
   10982 # Transform the output of nm in a C name address pair
   10983 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10984 
   10985 # This is the shared library runtime path variable.
   10986 runpath_var=$runpath_var
   10987 
   10988 # This is the shared library path variable.
   10989 shlibpath_var=$shlibpath_var
   10990 
   10991 # Is shlibpath searched before the hard-coded library search path?
   10992 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10993 
   10994 # How to hardcode a shared library path into an executable.
   10995 hardcode_action=$hardcode_action
   10996 
   10997 # Whether we should hardcode library paths into libraries.
   10998 hardcode_into_libs=$hardcode_into_libs
   10999 
   11000 # Flag to hardcode \$libdir into a binary during linking.
   11001 # This must work even if \$libdir does not exist.
   11002 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11003 
   11004 # If ld is used when linking, flag to hardcode \$libdir into
   11005 # a binary during linking. This must work even if \$libdir does
   11006 # not exist.
   11007 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11008 
   11009 # Whether we need a single -rpath flag with a separated argument.
   11010 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11011 
   11012 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11013 # resulting binary.
   11014 hardcode_direct=$hardcode_direct
   11015 
   11016 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11017 # resulting binary.
   11018 hardcode_minus_L=$hardcode_minus_L
   11019 
   11020 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11021 # the resulting binary.
   11022 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11023 
   11024 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11025 # and all subsequent libraries and executables linked against it.
   11026 hardcode_automatic=$hardcode_automatic
   11027 
   11028 # Variables whose values should be saved in libtool wrapper scripts and
   11029 # restored at relink time.
   11030 variables_saved_for_relink="$variables_saved_for_relink"
   11031 
   11032 # Whether libtool must link a program against all its dependency libraries.
   11033 link_all_deplibs=$link_all_deplibs
   11034 
   11035 # Compile-time system search path for libraries
   11036 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11037 
   11038 # Run-time system search path for libraries
   11039 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11040 
   11041 # Fix the shell variable \$srcfile for the compiler.
   11042 fix_srcfile_path=$lt_fix_srcfile_path
   11043 
   11044 # Set to yes if exported symbols are required.
   11045 always_export_symbols=$always_export_symbols
   11046 
   11047 # The commands to list exported symbols.
   11048 export_symbols_cmds=$lt_export_symbols_cmds
   11049 
   11050 # The commands to extract the exported symbol list from a shared archive.
   11051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11052 
   11053 # Symbols that should not be listed in the preloaded symbols.
   11054 exclude_expsyms=$lt_exclude_expsyms
   11055 
   11056 # Symbols that must always be exported.
   11057 include_expsyms=$lt_include_expsyms
   11058 
   11059 # ### END LIBTOOL CONFIG
   11060 
   11061 __EOF__
   11062 
   11063 
   11064   case $host_os in
   11065   aix3*)
   11066     cat <<\EOF >> "$cfgfile"
   11067 
   11068 # AIX sometimes has problems with the GCC collect2 program.  For some
   11069 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11070 # vanish in a puff of smoke.
   11071 if test "X${COLLECT_NAMES+set}" != Xset; then
   11072   COLLECT_NAMES=
   11073   export COLLECT_NAMES
   11074 fi
   11075 EOF
   11076     ;;
   11077   esac
   11078 
   11079   # We use sed instead of cat because bash on DJGPP gets confused if
   11080   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11081   # text mode, it properly converts lines to CR/LF.  This bash problem
   11082   # is reportedly fixed, but why not run on old versions too?
   11083   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11084 
   11085   mv -f "$cfgfile" "$ofile" || \
   11086     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11087   chmod +x "$ofile"
   11088 
   11089 else
   11090   # If there is no Makefile yet, we rely on a make rule to execute
   11091   # `config.status --recheck' to rerun these tests and create the
   11092   # libtool script then.
   11093   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11094   if test -f "$ltmain_in"; then
   11095     test -f Makefile && make "$ltmain"
   11096   fi
   11097 fi
   11098 
   11099 
   11100 ac_ext=c
   11101 ac_cpp='$CPP $CPPFLAGS'
   11102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11105 
   11106 CC="$lt_save_CC"
   11107 
   11108 
   11109 # Check whether --with-tags was given.
   11110 if test "${with_tags+set}" = set; then
   11111   withval=$with_tags; tagnames="$withval"
   11112 fi
   11113 
   11114 
   11115 if test -f "$ltmain" && test -n "$tagnames"; then
   11116   if test ! -f "${ofile}"; then
   11117     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11118 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11119   fi
   11120 
   11121   if test -z "$LTCC"; then
   11122     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11123     if test -z "$LTCC"; then
   11124       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11125 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11126     else
   11127       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11128 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11129     fi
   11130   fi
   11131   if test -z "$LTCFLAGS"; then
   11132     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11133   fi
   11134 
   11135   # Extract list of available tagged configurations in $ofile.
   11136   # Note that this assumes the entire list is on one line.
   11137   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11138 
   11139   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11140   for tagname in $tagnames; do
   11141     IFS="$lt_save_ifs"
   11142     # Check whether tagname contains only valid characters
   11143     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11144     "") ;;
   11145     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11146 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11147    { (exit 1); exit 1; }; }
   11148 	;;
   11149     esac
   11150 
   11151     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11152     then
   11153       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11154 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11155    { (exit 1); exit 1; }; }
   11156     fi
   11157 
   11158     # Update the list of available tags.
   11159     if test -n "$tagname"; then
   11160       echo appending configuration tag \"$tagname\" to $ofile
   11161 
   11162       case $tagname in
   11163       CXX)
   11164 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11165 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11166 	    (test "X$CXX" != "Xg++"))) ; then
   11167 	  ac_ext=cpp
   11168 ac_cpp='$CXXCPP $CPPFLAGS'
   11169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11172 
   11173 
   11174 
   11175 
   11176 archive_cmds_need_lc_CXX=no
   11177 allow_undefined_flag_CXX=
   11178 always_export_symbols_CXX=no
   11179 archive_expsym_cmds_CXX=
   11180 export_dynamic_flag_spec_CXX=
   11181 hardcode_direct_CXX=no
   11182 hardcode_libdir_flag_spec_CXX=
   11183 hardcode_libdir_flag_spec_ld_CXX=
   11184 hardcode_libdir_separator_CXX=
   11185 hardcode_minus_L_CXX=no
   11186 hardcode_shlibpath_var_CXX=unsupported
   11187 hardcode_automatic_CXX=no
   11188 module_cmds_CXX=
   11189 module_expsym_cmds_CXX=
   11190 link_all_deplibs_CXX=unknown
   11191 old_archive_cmds_CXX=$old_archive_cmds
   11192 no_undefined_flag_CXX=
   11193 whole_archive_flag_spec_CXX=
   11194 enable_shared_with_static_runtimes_CXX=no
   11195 
   11196 # Dependencies to place before and after the object being linked:
   11197 predep_objects_CXX=
   11198 postdep_objects_CXX=
   11199 predeps_CXX=
   11200 postdeps_CXX=
   11201 compiler_lib_search_path_CXX=
   11202 compiler_lib_search_dirs_CXX=
   11203 
   11204 # Source file extension for C++ test sources.
   11205 ac_ext=cpp
   11206 
   11207 # Object file extension for compiled C++ test sources.
   11208 objext=o
   11209 objext_CXX=$objext
   11210 
   11211 # Code to be used in simple compile tests
   11212 lt_simple_compile_test_code="int some_variable = 0;"
   11213 
   11214 # Code to be used in simple link tests
   11215 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11216 
   11217 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11218 
   11219 # If no C compiler was specified, use CC.
   11220 LTCC=${LTCC-"$CC"}
   11221 
   11222 # If no C compiler flags were specified, use CFLAGS.
   11223 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11224 
   11225 # Allow CC to be a program name with arguments.
   11226 compiler=$CC
   11227 
   11228 
   11229 # save warnings/boilerplate of simple test code
   11230 ac_outfile=conftest.$ac_objext
   11231 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11232 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11233 _lt_compiler_boilerplate=`cat conftest.err`
   11234 $rm conftest*
   11235 
   11236 ac_outfile=conftest.$ac_objext
   11237 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11238 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11239 _lt_linker_boilerplate=`cat conftest.err`
   11240 $rm -r conftest*
   11241 
   11242 
   11243 # Allow CC to be a program name with arguments.
   11244 lt_save_CC=$CC
   11245 lt_save_LD=$LD
   11246 lt_save_GCC=$GCC
   11247 GCC=$GXX
   11248 lt_save_with_gnu_ld=$with_gnu_ld
   11249 lt_save_path_LD=$lt_cv_path_LD
   11250 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11251   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11252 else
   11253   $as_unset lt_cv_prog_gnu_ld
   11254 fi
   11255 if test -n "${lt_cv_path_LDCXX+set}"; then
   11256   lt_cv_path_LD=$lt_cv_path_LDCXX
   11257 else
   11258   $as_unset lt_cv_path_LD
   11259 fi
   11260 test -z "${LDCXX+set}" || LD=$LDCXX
   11261 CC=${CXX-"c++"}
   11262 compiler=$CC
   11263 compiler_CXX=$CC
   11264 for cc_temp in $compiler""; do
   11265   case $cc_temp in
   11266     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11267     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11268     \-*) ;;
   11269     *) break;;
   11270   esac
   11271 done
   11272 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11273 
   11274 
   11275 # We don't want -fno-exception wen compiling C++ code, so set the
   11276 # no_builtin_flag separately
   11277 if test "$GXX" = yes; then
   11278   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11279 else
   11280   lt_prog_compiler_no_builtin_flag_CXX=
   11281 fi
   11282 
   11283 if test "$GXX" = yes; then
   11284   # Set up default GNU C++ configuration
   11285 
   11286 
   11287 # Check whether --with-gnu-ld was given.
   11288 if test "${with_gnu_ld+set}" = set; then
   11289   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11290 else
   11291   with_gnu_ld=no
   11292 fi
   11293 
   11294 ac_prog=ld
   11295 if test "$GCC" = yes; then
   11296   # Check if gcc -print-prog-name=ld gives a path.
   11297   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11298 $as_echo_n "checking for ld used by $CC... " >&6; }
   11299   case $host in
   11300   *-*-mingw*)
   11301     # gcc leaves a trailing carriage return which upsets mingw
   11302     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11303   *)
   11304     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11305   esac
   11306   case $ac_prog in
   11307     # Accept absolute paths.
   11308     [\\/]* | ?:[\\/]*)
   11309       re_direlt='/[^/][^/]*/\.\./'
   11310       # Canonicalize the pathname of ld
   11311       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11312       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11313 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11314       done
   11315       test -z "$LD" && LD="$ac_prog"
   11316       ;;
   11317   "")
   11318     # If it fails, then pretend we aren't using GCC.
   11319     ac_prog=ld
   11320     ;;
   11321   *)
   11322     # If it is relative, then search for the first ld in PATH.
   11323     with_gnu_ld=unknown
   11324     ;;
   11325   esac
   11326 elif test "$with_gnu_ld" = yes; then
   11327   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11328 $as_echo_n "checking for GNU ld... " >&6; }
   11329 else
   11330   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11331 $as_echo_n "checking for non-GNU ld... " >&6; }
   11332 fi
   11333 if test "${lt_cv_path_LD+set}" = set; then
   11334   $as_echo_n "(cached) " >&6
   11335 else
   11336   if test -z "$LD"; then
   11337   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11338   for ac_dir in $PATH; do
   11339     IFS="$lt_save_ifs"
   11340     test -z "$ac_dir" && ac_dir=.
   11341     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11342       lt_cv_path_LD="$ac_dir/$ac_prog"
   11343       # Check to see if the program is GNU ld.  I'd rather use --version,
   11344       # but apparently some variants of GNU ld only accept -v.
   11345       # Break only if it was the GNU/non-GNU ld that we prefer.
   11346       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11347       *GNU* | *'with BFD'*)
   11348 	test "$with_gnu_ld" != no && break
   11349 	;;
   11350       *)
   11351 	test "$with_gnu_ld" != yes && break
   11352 	;;
   11353       esac
   11354     fi
   11355   done
   11356   IFS="$lt_save_ifs"
   11357 else
   11358   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11359 fi
   11360 fi
   11361 
   11362 LD="$lt_cv_path_LD"
   11363 if test -n "$LD"; then
   11364   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11365 $as_echo "$LD" >&6; }
   11366 else
   11367   { $as_echo "$as_me:$LINENO: result: no" >&5
   11368 $as_echo "no" >&6; }
   11369 fi
   11370 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11371 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11372    { (exit 1); exit 1; }; }
   11373 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11374 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11375 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11376   $as_echo_n "(cached) " >&6
   11377 else
   11378   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11379 case `$LD -v 2>&1 </dev/null` in
   11380 *GNU* | *'with BFD'*)
   11381   lt_cv_prog_gnu_ld=yes
   11382   ;;
   11383 *)
   11384   lt_cv_prog_gnu_ld=no
   11385   ;;
   11386 esac
   11387 fi
   11388 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11389 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11390 with_gnu_ld=$lt_cv_prog_gnu_ld
   11391 
   11392 
   11393 
   11394   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11395   # archiving commands below assume that GNU ld is being used.
   11396   if test "$with_gnu_ld" = yes; then
   11397     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11398     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'
   11399 
   11400     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11401     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11402 
   11403     # If archive_cmds runs LD, not CC, wlarc should be empty
   11404     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11405     #     investigate it a little bit more. (MM)
   11406     wlarc='${wl}'
   11407 
   11408     # ancient GNU ld didn't support --whole-archive et. al.
   11409     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11410 	grep 'no-whole-archive' > /dev/null; then
   11411       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11412     else
   11413       whole_archive_flag_spec_CXX=
   11414     fi
   11415   else
   11416     with_gnu_ld=no
   11417     wlarc=
   11418 
   11419     # A generic and very simple default shared library creation
   11420     # command for GNU C++ for the case where it uses the native
   11421     # linker, instead of GNU ld.  If possible, this setting should
   11422     # overridden to take advantage of the native linker features on
   11423     # the platform it is being used on.
   11424     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11425   fi
   11426 
   11427   # Commands to make compiler produce verbose output that lists
   11428   # what "hidden" libraries, object files and flags are used when
   11429   # linking a shared library.
   11430   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11431 
   11432 else
   11433   GXX=no
   11434   with_gnu_ld=no
   11435   wlarc=
   11436 fi
   11437 
   11438 # PORTME: fill in a description of your system's C++ link characteristics
   11439 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11440 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11441 ld_shlibs_CXX=yes
   11442 case $host_os in
   11443   aix3*)
   11444     # FIXME: insert proper C++ library support
   11445     ld_shlibs_CXX=no
   11446     ;;
   11447   aix[4-9]*)
   11448     if test "$host_cpu" = ia64; then
   11449       # On IA64, the linker does run time linking by default, so we don't
   11450       # have to do anything special.
   11451       aix_use_runtimelinking=no
   11452       exp_sym_flag='-Bexport'
   11453       no_entry_flag=""
   11454     else
   11455       aix_use_runtimelinking=no
   11456 
   11457       # Test if we are trying to use run time linking or normal
   11458       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11459       # need to do runtime linking.
   11460       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11461 	for ld_flag in $LDFLAGS; do
   11462 	  case $ld_flag in
   11463 	  *-brtl*)
   11464 	    aix_use_runtimelinking=yes
   11465 	    break
   11466 	    ;;
   11467 	  esac
   11468 	done
   11469 	;;
   11470       esac
   11471 
   11472       exp_sym_flag='-bexport'
   11473       no_entry_flag='-bnoentry'
   11474     fi
   11475 
   11476     # When large executables or shared objects are built, AIX ld can
   11477     # have problems creating the table of contents.  If linking a library
   11478     # or program results in "error TOC overflow" add -mminimal-toc to
   11479     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11480     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11481 
   11482     archive_cmds_CXX=''
   11483     hardcode_direct_CXX=yes
   11484     hardcode_libdir_separator_CXX=':'
   11485     link_all_deplibs_CXX=yes
   11486 
   11487     if test "$GXX" = yes; then
   11488       case $host_os in aix4.[012]|aix4.[012].*)
   11489       # We only want to do this on AIX 4.2 and lower, the check
   11490       # below for broken collect2 doesn't work under 4.3+
   11491 	collect2name=`${CC} -print-prog-name=collect2`
   11492 	if test -f "$collect2name" && \
   11493 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11494 	then
   11495 	  # We have reworked collect2
   11496 	  :
   11497 	else
   11498 	  # We have old collect2
   11499 	  hardcode_direct_CXX=unsupported
   11500 	  # It fails to find uninstalled libraries when the uninstalled
   11501 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11502 	  # to unsupported forces relinking
   11503 	  hardcode_minus_L_CXX=yes
   11504 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11505 	  hardcode_libdir_separator_CXX=
   11506 	fi
   11507 	;;
   11508       esac
   11509       shared_flag='-shared'
   11510       if test "$aix_use_runtimelinking" = yes; then
   11511 	shared_flag="$shared_flag "'${wl}-G'
   11512       fi
   11513     else
   11514       # not using gcc
   11515       if test "$host_cpu" = ia64; then
   11516 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11517 	# chokes on -Wl,-G. The following line is correct:
   11518 	shared_flag='-G'
   11519       else
   11520 	if test "$aix_use_runtimelinking" = yes; then
   11521 	  shared_flag='${wl}-G'
   11522 	else
   11523 	  shared_flag='${wl}-bM:SRE'
   11524 	fi
   11525       fi
   11526     fi
   11527 
   11528     # It seems that -bexpall does not export symbols beginning with
   11529     # underscore (_), so it is better to generate a list of symbols to export.
   11530     always_export_symbols_CXX=yes
   11531     if test "$aix_use_runtimelinking" = yes; then
   11532       # Warning - without using the other runtime loading flags (-brtl),
   11533       # -berok will link without error, but may produce a broken library.
   11534       allow_undefined_flag_CXX='-berok'
   11535       # Determine the default libpath from the value encoded in an empty executable.
   11536       cat >conftest.$ac_ext <<_ACEOF
   11537 /* confdefs.h.  */
   11538 _ACEOF
   11539 cat confdefs.h >>conftest.$ac_ext
   11540 cat >>conftest.$ac_ext <<_ACEOF
   11541 /* end confdefs.h.  */
   11542 
   11543 int
   11544 main ()
   11545 {
   11546 
   11547   ;
   11548   return 0;
   11549 }
   11550 _ACEOF
   11551 rm -f conftest.$ac_objext conftest$ac_exeext
   11552 if { (ac_try="$ac_link"
   11553 case "(($ac_try" in
   11554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11555   *) ac_try_echo=$ac_try;;
   11556 esac
   11557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11558 $as_echo "$ac_try_echo") >&5
   11559   (eval "$ac_link") 2>conftest.er1
   11560   ac_status=$?
   11561   grep -v '^ *+' conftest.er1 >conftest.err
   11562   rm -f conftest.er1
   11563   cat conftest.err >&5
   11564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11565   (exit $ac_status); } && {
   11566 	 test -z "$ac_cxx_werror_flag" ||
   11567 	 test ! -s conftest.err
   11568        } && test -s conftest$ac_exeext && {
   11569 	 test "$cross_compiling" = yes ||
   11570 	 $as_test_x conftest$ac_exeext
   11571        }; then
   11572 
   11573 lt_aix_libpath_sed='
   11574     /Import File Strings/,/^$/ {
   11575 	/^0/ {
   11576 	    s/^0  *\(.*\)$/\1/
   11577 	    p
   11578 	}
   11579     }'
   11580 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11581 # Check for a 64-bit object if we didn't find anything.
   11582 if test -z "$aix_libpath"; then
   11583   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11584 fi
   11585 else
   11586   $as_echo "$as_me: failed program was:" >&5
   11587 sed 's/^/| /' conftest.$ac_ext >&5
   11588 
   11589 
   11590 fi
   11591 
   11592 rm -rf conftest.dSYM
   11593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11594       conftest$ac_exeext conftest.$ac_ext
   11595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11596 
   11597       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11598 
   11599       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"
   11600      else
   11601       if test "$host_cpu" = ia64; then
   11602 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11603 	allow_undefined_flag_CXX="-z nodefs"
   11604 	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"
   11605       else
   11606 	# Determine the default libpath from the value encoded in an empty executable.
   11607 	cat >conftest.$ac_ext <<_ACEOF
   11608 /* confdefs.h.  */
   11609 _ACEOF
   11610 cat confdefs.h >>conftest.$ac_ext
   11611 cat >>conftest.$ac_ext <<_ACEOF
   11612 /* end confdefs.h.  */
   11613 
   11614 int
   11615 main ()
   11616 {
   11617 
   11618   ;
   11619   return 0;
   11620 }
   11621 _ACEOF
   11622 rm -f conftest.$ac_objext conftest$ac_exeext
   11623 if { (ac_try="$ac_link"
   11624 case "(($ac_try" in
   11625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11626   *) ac_try_echo=$ac_try;;
   11627 esac
   11628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11629 $as_echo "$ac_try_echo") >&5
   11630   (eval "$ac_link") 2>conftest.er1
   11631   ac_status=$?
   11632   grep -v '^ *+' conftest.er1 >conftest.err
   11633   rm -f conftest.er1
   11634   cat conftest.err >&5
   11635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11636   (exit $ac_status); } && {
   11637 	 test -z "$ac_cxx_werror_flag" ||
   11638 	 test ! -s conftest.err
   11639        } && test -s conftest$ac_exeext && {
   11640 	 test "$cross_compiling" = yes ||
   11641 	 $as_test_x conftest$ac_exeext
   11642        }; then
   11643 
   11644 lt_aix_libpath_sed='
   11645     /Import File Strings/,/^$/ {
   11646 	/^0/ {
   11647 	    s/^0  *\(.*\)$/\1/
   11648 	    p
   11649 	}
   11650     }'
   11651 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11652 # Check for a 64-bit object if we didn't find anything.
   11653 if test -z "$aix_libpath"; then
   11654   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11655 fi
   11656 else
   11657   $as_echo "$as_me: failed program was:" >&5
   11658 sed 's/^/| /' conftest.$ac_ext >&5
   11659 
   11660 
   11661 fi
   11662 
   11663 rm -rf conftest.dSYM
   11664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11665       conftest$ac_exeext conftest.$ac_ext
   11666 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11667 
   11668 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11669 	# Warning - without using the other run time loading flags,
   11670 	# -berok will link without error, but may produce a broken library.
   11671 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11672 	allow_undefined_flag_CXX=' ${wl}-berok'
   11673 	# Exported symbols can be pulled into shared objects from archives
   11674 	whole_archive_flag_spec_CXX='$convenience'
   11675 	archive_cmds_need_lc_CXX=yes
   11676 	# This is similar to how AIX traditionally builds its shared libraries.
   11677 	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'
   11678       fi
   11679     fi
   11680     ;;
   11681 
   11682   beos*)
   11683     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11684       allow_undefined_flag_CXX=unsupported
   11685       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11686       # support --undefined.  This deserves some investigation.  FIXME
   11687       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11688     else
   11689       ld_shlibs_CXX=no
   11690     fi
   11691     ;;
   11692 
   11693   chorus*)
   11694     case $cc_basename in
   11695       *)
   11696 	# FIXME: insert proper C++ library support
   11697 	ld_shlibs_CXX=no
   11698 	;;
   11699     esac
   11700     ;;
   11701 
   11702   cygwin* | mingw* | pw32*)
   11703     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11704     # as there is no search path for DLLs.
   11705     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11706     allow_undefined_flag_CXX=unsupported
   11707     always_export_symbols_CXX=no
   11708     enable_shared_with_static_runtimes_CXX=yes
   11709 
   11710     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11711       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'
   11712       # If the export-symbols file already is a .def file (1st line
   11713       # is EXPORTS), use it as is; otherwise, prepend...
   11714       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11715 	cp $export_symbols $output_objdir/$soname.def;
   11716       else
   11717 	echo EXPORTS > $output_objdir/$soname.def;
   11718 	cat $export_symbols >> $output_objdir/$soname.def;
   11719       fi~
   11720       $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'
   11721     else
   11722       ld_shlibs_CXX=no
   11723     fi
   11724   ;;
   11725       darwin* | rhapsody*)
   11726       archive_cmds_need_lc_CXX=no
   11727       hardcode_direct_CXX=no
   11728       hardcode_automatic_CXX=yes
   11729       hardcode_shlibpath_var_CXX=unsupported
   11730       whole_archive_flag_spec_CXX=''
   11731       link_all_deplibs_CXX=yes
   11732       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11733       if test "$GXX" = yes ; then
   11734       output_verbose_link_cmd='echo'
   11735       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}"
   11736       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11737       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}"
   11738       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}"
   11739       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11740         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}"
   11741         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}"
   11742       fi
   11743       else
   11744       case $cc_basename in
   11745         xlc*)
   11746          output_verbose_link_cmd='echo'
   11747           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'
   11748           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11749           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11750           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}'
   11751           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}'
   11752           ;;
   11753        *)
   11754          ld_shlibs_CXX=no
   11755           ;;
   11756       esac
   11757       fi
   11758         ;;
   11759 
   11760   dgux*)
   11761     case $cc_basename in
   11762       ec++*)
   11763 	# FIXME: insert proper C++ library support
   11764 	ld_shlibs_CXX=no
   11765 	;;
   11766       ghcx*)
   11767 	# Green Hills C++ Compiler
   11768 	# FIXME: insert proper C++ library support
   11769 	ld_shlibs_CXX=no
   11770 	;;
   11771       *)
   11772 	# FIXME: insert proper C++ library support
   11773 	ld_shlibs_CXX=no
   11774 	;;
   11775     esac
   11776     ;;
   11777   freebsd[12]*)
   11778     # C++ shared libraries reported to be fairly broken before switch to ELF
   11779     ld_shlibs_CXX=no
   11780     ;;
   11781   freebsd-elf*)
   11782     archive_cmds_need_lc_CXX=no
   11783     ;;
   11784   freebsd* | dragonfly*)
   11785     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11786     # conventions
   11787     ld_shlibs_CXX=yes
   11788     ;;
   11789   gnu*)
   11790     ;;
   11791   hpux9*)
   11792     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11793     hardcode_libdir_separator_CXX=:
   11794     export_dynamic_flag_spec_CXX='${wl}-E'
   11795     hardcode_direct_CXX=yes
   11796     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11797 				# but as the default
   11798 				# location of the library.
   11799 
   11800     case $cc_basename in
   11801     CC*)
   11802       # FIXME: insert proper C++ library support
   11803       ld_shlibs_CXX=no
   11804       ;;
   11805     aCC*)
   11806       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'
   11807       # Commands to make compiler produce verbose output that lists
   11808       # what "hidden" libraries, object files and flags are used when
   11809       # linking a shared library.
   11810       #
   11811       # There doesn't appear to be a way to prevent this compiler from
   11812       # explicitly linking system object files so we need to strip them
   11813       # from the output so that they don't get included in the library
   11814       # dependencies.
   11815       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'
   11816       ;;
   11817     *)
   11818       if test "$GXX" = yes; then
   11819         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'
   11820       else
   11821         # FIXME: insert proper C++ library support
   11822         ld_shlibs_CXX=no
   11823       fi
   11824       ;;
   11825     esac
   11826     ;;
   11827   hpux10*|hpux11*)
   11828     if test $with_gnu_ld = no; then
   11829       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11830       hardcode_libdir_separator_CXX=:
   11831 
   11832       case $host_cpu in
   11833       hppa*64*|ia64*) ;;
   11834       *)
   11835 	export_dynamic_flag_spec_CXX='${wl}-E'
   11836         ;;
   11837       esac
   11838     fi
   11839     case $host_cpu in
   11840     hppa*64*|ia64*)
   11841       hardcode_direct_CXX=no
   11842       hardcode_shlibpath_var_CXX=no
   11843       ;;
   11844     *)
   11845       hardcode_direct_CXX=yes
   11846       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11847 					      # but as the default
   11848 					      # location of the library.
   11849       ;;
   11850     esac
   11851 
   11852     case $cc_basename in
   11853       CC*)
   11854 	# FIXME: insert proper C++ library support
   11855 	ld_shlibs_CXX=no
   11856 	;;
   11857       aCC*)
   11858 	case $host_cpu in
   11859 	hppa*64*)
   11860 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11861 	  ;;
   11862 	ia64*)
   11863 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11864 	  ;;
   11865 	*)
   11866 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11867 	  ;;
   11868 	esac
   11869 	# Commands to make compiler produce verbose output that lists
   11870 	# what "hidden" libraries, object files and flags are used when
   11871 	# linking a shared library.
   11872 	#
   11873 	# There doesn't appear to be a way to prevent this compiler from
   11874 	# explicitly linking system object files so we need to strip them
   11875 	# from the output so that they don't get included in the library
   11876 	# dependencies.
   11877 	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'
   11878 	;;
   11879       *)
   11880 	if test "$GXX" = yes; then
   11881 	  if test $with_gnu_ld = no; then
   11882 	    case $host_cpu in
   11883 	    hppa*64*)
   11884 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11885 	      ;;
   11886 	    ia64*)
   11887 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11888 	      ;;
   11889 	    *)
   11890 	      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'
   11891 	      ;;
   11892 	    esac
   11893 	  fi
   11894 	else
   11895 	  # FIXME: insert proper C++ library support
   11896 	  ld_shlibs_CXX=no
   11897 	fi
   11898 	;;
   11899     esac
   11900     ;;
   11901   interix[3-9]*)
   11902     hardcode_direct_CXX=no
   11903     hardcode_shlibpath_var_CXX=no
   11904     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11905     export_dynamic_flag_spec_CXX='${wl}-E'
   11906     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11907     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11908     # default) and relocated if they conflict, which is a slow very memory
   11909     # consuming and fragmenting process.  To avoid this, we pick a random,
   11910     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11911     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11912     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'
   11913     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'
   11914     ;;
   11915   irix5* | irix6*)
   11916     case $cc_basename in
   11917       CC*)
   11918 	# SGI C++
   11919 	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'
   11920 
   11921 	# Archives containing C++ object files must be created using
   11922 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11923 	# necessary to make sure instantiated templates are included
   11924 	# in the archive.
   11925 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11926 	;;
   11927       *)
   11928 	if test "$GXX" = yes; then
   11929 	  if test "$with_gnu_ld" = no; then
   11930 	    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'
   11931 	  else
   11932 	    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'
   11933 	  fi
   11934 	fi
   11935 	link_all_deplibs_CXX=yes
   11936 	;;
   11937     esac
   11938     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11939     hardcode_libdir_separator_CXX=:
   11940     ;;
   11941   linux* | k*bsd*-gnu)
   11942     case $cc_basename in
   11943       KCC*)
   11944 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11945 
   11946 	# KCC will only create a shared library if the output file
   11947 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11948 	# to its proper name (with version) after linking.
   11949 	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'
   11950 	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'
   11951 	# Commands to make compiler produce verbose output that lists
   11952 	# what "hidden" libraries, object files and flags are used when
   11953 	# linking a shared library.
   11954 	#
   11955 	# There doesn't appear to be a way to prevent this compiler from
   11956 	# explicitly linking system object files so we need to strip them
   11957 	# from the output so that they don't get included in the library
   11958 	# dependencies.
   11959 	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'
   11960 
   11961 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11962 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11963 
   11964 	# Archives containing C++ object files must be created using
   11965 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11966 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11967 	;;
   11968       icpc*)
   11969 	# Intel C++
   11970 	with_gnu_ld=yes
   11971 	# version 8.0 and above of icpc choke on multiply defined symbols
   11972 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11973 	# earlier do not add the objects themselves.
   11974 	case `$CC -V 2>&1` in
   11975 	*"Version 7."*)
   11976   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11977   	  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'
   11978 	  ;;
   11979 	*)  # Version 8.0 or newer
   11980 	  tmp_idyn=
   11981 	  case $host_cpu in
   11982 	    ia64*) tmp_idyn=' -i_dynamic';;
   11983 	  esac
   11984   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11985 	  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'
   11986 	  ;;
   11987 	esac
   11988 	archive_cmds_need_lc_CXX=no
   11989 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11990 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11991 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11992 	;;
   11993       pgCC* | pgcpp*)
   11994         # Portland Group C++ compiler
   11995 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11996   	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'
   11997 
   11998 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11999 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12000 	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'
   12001         ;;
   12002       cxx*)
   12003 	# Compaq C++
   12004 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12005 	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'
   12006 
   12007 	runpath_var=LD_RUN_PATH
   12008 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12009 	hardcode_libdir_separator_CXX=:
   12010 
   12011 	# Commands to make compiler produce verbose output that lists
   12012 	# what "hidden" libraries, object files and flags are used when
   12013 	# linking a shared library.
   12014 	#
   12015 	# There doesn't appear to be a way to prevent this compiler from
   12016 	# explicitly linking system object files so we need to strip them
   12017 	# from the output so that they don't get included in the library
   12018 	# dependencies.
   12019 	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'
   12020 	;;
   12021       *)
   12022 	case `$CC -V 2>&1 | sed 5q` in
   12023 	*Sun\ C*)
   12024 	  # Sun C++ 5.9
   12025 	  no_undefined_flag_CXX=' -zdefs'
   12026 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12027 	  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'
   12028 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12029 	  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'
   12030 
   12031 	  # Not sure whether something based on
   12032 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12033 	  # would be better.
   12034 	  output_verbose_link_cmd='echo'
   12035 
   12036 	  # Archives containing C++ object files must be created using
   12037 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12038 	  # necessary to make sure instantiated templates are included
   12039 	  # in the archive.
   12040 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12041 	  ;;
   12042 	esac
   12043 	;;
   12044     esac
   12045     ;;
   12046   lynxos*)
   12047     # FIXME: insert proper C++ library support
   12048     ld_shlibs_CXX=no
   12049     ;;
   12050   m88k*)
   12051     # FIXME: insert proper C++ library support
   12052     ld_shlibs_CXX=no
   12053     ;;
   12054   mvs*)
   12055     case $cc_basename in
   12056       cxx*)
   12057 	# FIXME: insert proper C++ library support
   12058 	ld_shlibs_CXX=no
   12059 	;;
   12060       *)
   12061 	# FIXME: insert proper C++ library support
   12062 	ld_shlibs_CXX=no
   12063 	;;
   12064     esac
   12065     ;;
   12066   netbsd*)
   12067     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12068       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12069       wlarc=
   12070       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12071       hardcode_direct_CXX=yes
   12072       hardcode_shlibpath_var_CXX=no
   12073     fi
   12074     # Workaround some broken pre-1.5 toolchains
   12075     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12076     ;;
   12077   openbsd2*)
   12078     # C++ shared libraries are fairly broken
   12079     ld_shlibs_CXX=no
   12080     ;;
   12081   openbsd*)
   12082     if test -f /usr/libexec/ld.so; then
   12083       hardcode_direct_CXX=yes
   12084       hardcode_shlibpath_var_CXX=no
   12085       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12086       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12087       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12088 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12089 	export_dynamic_flag_spec_CXX='${wl}-E'
   12090 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12091       fi
   12092       output_verbose_link_cmd='echo'
   12093     else
   12094       ld_shlibs_CXX=no
   12095     fi
   12096     ;;
   12097   osf3*)
   12098     case $cc_basename in
   12099       KCC*)
   12100 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12101 
   12102 	# KCC will only create a shared library if the output file
   12103 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12104 	# to its proper name (with version) after linking.
   12105 	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'
   12106 
   12107 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12108 	hardcode_libdir_separator_CXX=:
   12109 
   12110 	# Archives containing C++ object files must be created using
   12111 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12112 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12113 
   12114 	;;
   12115       RCC*)
   12116 	# Rational C++ 2.4.1
   12117 	# FIXME: insert proper C++ library support
   12118 	ld_shlibs_CXX=no
   12119 	;;
   12120       cxx*)
   12121 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12122 	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'
   12123 
   12124 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12125 	hardcode_libdir_separator_CXX=:
   12126 
   12127 	# Commands to make compiler produce verbose output that lists
   12128 	# what "hidden" libraries, object files and flags are used when
   12129 	# linking a shared library.
   12130 	#
   12131 	# There doesn't appear to be a way to prevent this compiler from
   12132 	# explicitly linking system object files so we need to strip them
   12133 	# from the output so that they don't get included in the library
   12134 	# dependencies.
   12135 	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'
   12136 	;;
   12137       *)
   12138 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12139 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12140 	  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'
   12141 
   12142 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12143 	  hardcode_libdir_separator_CXX=:
   12144 
   12145 	  # Commands to make compiler produce verbose output that lists
   12146 	  # what "hidden" libraries, object files and flags are used when
   12147 	  # linking a shared library.
   12148 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12149 
   12150 	else
   12151 	  # FIXME: insert proper C++ library support
   12152 	  ld_shlibs_CXX=no
   12153 	fi
   12154 	;;
   12155     esac
   12156     ;;
   12157   osf4* | osf5*)
   12158     case $cc_basename in
   12159       KCC*)
   12160 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12161 
   12162 	# KCC will only create a shared library if the output file
   12163 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12164 	# to its proper name (with version) after linking.
   12165 	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'
   12166 
   12167 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12168 	hardcode_libdir_separator_CXX=:
   12169 
   12170 	# Archives containing C++ object files must be created using
   12171 	# the KAI C++ compiler.
   12172 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12173 	;;
   12174       RCC*)
   12175 	# Rational C++ 2.4.1
   12176 	# FIXME: insert proper C++ library support
   12177 	ld_shlibs_CXX=no
   12178 	;;
   12179       cxx*)
   12180 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12181 	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'
   12182 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12183 	  echo "-hidden">> $lib.exp~
   12184 	  $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~
   12185 	  $rm $lib.exp'
   12186 
   12187 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12188 	hardcode_libdir_separator_CXX=:
   12189 
   12190 	# Commands to make compiler produce verbose output that lists
   12191 	# what "hidden" libraries, object files and flags are used when
   12192 	# linking a shared library.
   12193 	#
   12194 	# There doesn't appear to be a way to prevent this compiler from
   12195 	# explicitly linking system object files so we need to strip them
   12196 	# from the output so that they don't get included in the library
   12197 	# dependencies.
   12198 	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'
   12199 	;;
   12200       *)
   12201 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12202 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12203 	 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'
   12204 
   12205 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12206 	  hardcode_libdir_separator_CXX=:
   12207 
   12208 	  # Commands to make compiler produce verbose output that lists
   12209 	  # what "hidden" libraries, object files and flags are used when
   12210 	  # linking a shared library.
   12211 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12212 
   12213 	else
   12214 	  # FIXME: insert proper C++ library support
   12215 	  ld_shlibs_CXX=no
   12216 	fi
   12217 	;;
   12218     esac
   12219     ;;
   12220   psos*)
   12221     # FIXME: insert proper C++ library support
   12222     ld_shlibs_CXX=no
   12223     ;;
   12224   sunos4*)
   12225     case $cc_basename in
   12226       CC*)
   12227 	# Sun C++ 4.x
   12228 	# FIXME: insert proper C++ library support
   12229 	ld_shlibs_CXX=no
   12230 	;;
   12231       lcc*)
   12232 	# Lucid
   12233 	# FIXME: insert proper C++ library support
   12234 	ld_shlibs_CXX=no
   12235 	;;
   12236       *)
   12237 	# FIXME: insert proper C++ library support
   12238 	ld_shlibs_CXX=no
   12239 	;;
   12240     esac
   12241     ;;
   12242   solaris*)
   12243     case $cc_basename in
   12244       CC*)
   12245 	# Sun C++ 4.2, 5.x and Centerline C++
   12246         archive_cmds_need_lc_CXX=yes
   12247 	no_undefined_flag_CXX=' -zdefs'
   12248 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12249 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12250 	$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'
   12251 
   12252 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12253 	hardcode_shlibpath_var_CXX=no
   12254 	case $host_os in
   12255 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12256 	  *)
   12257 	    # The compiler driver will combine and reorder linker options,
   12258 	    # but understands `-z linker_flag'.
   12259 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12260 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12261 	    ;;
   12262 	esac
   12263 	link_all_deplibs_CXX=yes
   12264 
   12265 	output_verbose_link_cmd='echo'
   12266 
   12267 	# Archives containing C++ object files must be created using
   12268 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12269 	# necessary to make sure instantiated templates are included
   12270 	# in the archive.
   12271 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12272 	;;
   12273       gcx*)
   12274 	# Green Hills C++ Compiler
   12275 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12276 
   12277 	# The C++ compiler must be used to create the archive.
   12278 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12279 	;;
   12280       *)
   12281 	# GNU C++ compiler with Solaris linker
   12282 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12283 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12284 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12285 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12286 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12287 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12288 
   12289 	    # Commands to make compiler produce verbose output that lists
   12290 	    # what "hidden" libraries, object files and flags are used when
   12291 	    # linking a shared library.
   12292 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12293 	  else
   12294 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12295 	    # platform.
   12296 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12297 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12298 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12299 
   12300 	    # Commands to make compiler produce verbose output that lists
   12301 	    # what "hidden" libraries, object files and flags are used when
   12302 	    # linking a shared library.
   12303 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12304 	  fi
   12305 
   12306 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12307 	  case $host_os in
   12308 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12309 	  *)
   12310 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12311 	    ;;
   12312 	  esac
   12313 	fi
   12314 	;;
   12315     esac
   12316     ;;
   12317   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12318     no_undefined_flag_CXX='${wl}-z,text'
   12319     archive_cmds_need_lc_CXX=no
   12320     hardcode_shlibpath_var_CXX=no
   12321     runpath_var='LD_RUN_PATH'
   12322 
   12323     case $cc_basename in
   12324       CC*)
   12325 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12326 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12327 	;;
   12328       *)
   12329 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12330 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12331 	;;
   12332     esac
   12333     ;;
   12334   sysv5* | sco3.2v5* | sco5v6*)
   12335     # Note: We can NOT use -z defs as we might desire, because we do not
   12336     # link with -lc, and that would cause any symbols used from libc to
   12337     # always be unresolved, which means just about no library would
   12338     # ever link correctly.  If we're not using GNU ld we use -z text
   12339     # though, which does catch some bad symbols but isn't as heavy-handed
   12340     # as -z defs.
   12341     # For security reasons, it is highly recommended that you always
   12342     # use absolute paths for naming shared libraries, and exclude the
   12343     # DT_RUNPATH tag from executables and libraries.  But doing so
   12344     # requires that you compile everything twice, which is a pain.
   12345     # So that behaviour is only enabled if SCOABSPATH is set to a
   12346     # non-empty value in the environment.  Most likely only useful for
   12347     # creating official distributions of packages.
   12348     # This is a hack until libtool officially supports absolute path
   12349     # names for shared libraries.
   12350     no_undefined_flag_CXX='${wl}-z,text'
   12351     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12352     archive_cmds_need_lc_CXX=no
   12353     hardcode_shlibpath_var_CXX=no
   12354     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12355     hardcode_libdir_separator_CXX=':'
   12356     link_all_deplibs_CXX=yes
   12357     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12358     runpath_var='LD_RUN_PATH'
   12359 
   12360     case $cc_basename in
   12361       CC*)
   12362 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12363 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12364 	;;
   12365       *)
   12366 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12367 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12368 	;;
   12369     esac
   12370     ;;
   12371   tandem*)
   12372     case $cc_basename in
   12373       NCC*)
   12374 	# NonStop-UX NCC 3.20
   12375 	# FIXME: insert proper C++ library support
   12376 	ld_shlibs_CXX=no
   12377 	;;
   12378       *)
   12379 	# FIXME: insert proper C++ library support
   12380 	ld_shlibs_CXX=no
   12381 	;;
   12382     esac
   12383     ;;
   12384   vxworks*)
   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 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12394 $as_echo "$ld_shlibs_CXX" >&6; }
   12395 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12396 
   12397 GCC_CXX="$GXX"
   12398 LD_CXX="$LD"
   12399 
   12400 cat > conftest.$ac_ext <<EOF
   12401 class Foo
   12402 {
   12403 public:
   12404   Foo (void) { a = 0; }
   12405 private:
   12406   int a;
   12407 };
   12408 EOF
   12409 
   12410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12411   (eval $ac_compile) 2>&5
   12412   ac_status=$?
   12413   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12414   (exit $ac_status); }; then
   12415   # Parse the compiler output and extract the necessary
   12416   # objects, libraries and library flags.
   12417 
   12418   # Sentinel used to keep track of whether or not we are before
   12419   # the conftest object file.
   12420   pre_test_object_deps_done=no
   12421 
   12422   # The `*' in the case matches for architectures that use `case' in
   12423   # $output_verbose_cmd can trigger glob expansion during the loop
   12424   # eval without this substitution.
   12425   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12426 
   12427   for p in `eval $output_verbose_link_cmd`; do
   12428     case $p in
   12429 
   12430     -L* | -R* | -l*)
   12431        # Some compilers place space between "-{L,R}" and the path.
   12432        # Remove the space.
   12433        if test $p = "-L" \
   12434 	  || test $p = "-R"; then
   12435 	 prev=$p
   12436 	 continue
   12437        else
   12438 	 prev=
   12439        fi
   12440 
   12441        if test "$pre_test_object_deps_done" = no; then
   12442 	 case $p in
   12443 	 -L* | -R*)
   12444 	   # Internal compiler library paths should come after those
   12445 	   # provided the user.  The postdeps already come after the
   12446 	   # user supplied libs so there is no need to process them.
   12447 	   if test -z "$compiler_lib_search_path_CXX"; then
   12448 	     compiler_lib_search_path_CXX="${prev}${p}"
   12449 	   else
   12450 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12451 	   fi
   12452 	   ;;
   12453 	 # The "-l" case would never come before the object being
   12454 	 # linked, so don't bother handling this case.
   12455 	 esac
   12456        else
   12457 	 if test -z "$postdeps_CXX"; then
   12458 	   postdeps_CXX="${prev}${p}"
   12459 	 else
   12460 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12461 	 fi
   12462        fi
   12463        ;;
   12464 
   12465     *.$objext)
   12466        # This assumes that the test object file only shows up
   12467        # once in the compiler output.
   12468        if test "$p" = "conftest.$objext"; then
   12469 	 pre_test_object_deps_done=yes
   12470 	 continue
   12471        fi
   12472 
   12473        if test "$pre_test_object_deps_done" = no; then
   12474 	 if test -z "$predep_objects_CXX"; then
   12475 	   predep_objects_CXX="$p"
   12476 	 else
   12477 	   predep_objects_CXX="$predep_objects_CXX $p"
   12478 	 fi
   12479        else
   12480 	 if test -z "$postdep_objects_CXX"; then
   12481 	   postdep_objects_CXX="$p"
   12482 	 else
   12483 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12484 	 fi
   12485        fi
   12486        ;;
   12487 
   12488     *) ;; # Ignore the rest.
   12489 
   12490     esac
   12491   done
   12492 
   12493   # Clean up.
   12494   rm -f a.out a.exe
   12495 else
   12496   echo "libtool.m4: error: problem compiling CXX test program"
   12497 fi
   12498 
   12499 $rm -f confest.$objext
   12500 
   12501 compiler_lib_search_dirs_CXX=
   12502 if test -n "$compiler_lib_search_path_CXX"; then
   12503   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12504 fi
   12505 
   12506 # PORTME: override above test on systems where it is broken
   12507 case $host_os in
   12508 interix[3-9]*)
   12509   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12510   # hack all around it, let's just trust "g++" to DTRT.
   12511   predep_objects_CXX=
   12512   postdep_objects_CXX=
   12513   postdeps_CXX=
   12514   ;;
   12515 
   12516 linux*)
   12517   case `$CC -V 2>&1 | sed 5q` in
   12518   *Sun\ C*)
   12519     # Sun C++ 5.9
   12520     #
   12521     # The more standards-conforming stlport4 library is
   12522     # incompatible with the Cstd library. Avoid specifying
   12523     # it if it's in CXXFLAGS. Ignore libCrun as
   12524     # -library=stlport4 depends on it.
   12525     case " $CXX $CXXFLAGS " in
   12526     *" -library=stlport4 "*)
   12527       solaris_use_stlport4=yes
   12528       ;;
   12529     esac
   12530     if test "$solaris_use_stlport4" != yes; then
   12531       postdeps_CXX='-library=Cstd -library=Crun'
   12532     fi
   12533     ;;
   12534   esac
   12535   ;;
   12536 
   12537 solaris*)
   12538   case $cc_basename in
   12539   CC*)
   12540     # The more standards-conforming stlport4 library is
   12541     # incompatible with the Cstd library. Avoid specifying
   12542     # it if it's in CXXFLAGS. Ignore libCrun as
   12543     # -library=stlport4 depends on it.
   12544     case " $CXX $CXXFLAGS " in
   12545     *" -library=stlport4 "*)
   12546       solaris_use_stlport4=yes
   12547       ;;
   12548     esac
   12549 
   12550     # Adding this requires a known-good setup of shared libraries for
   12551     # Sun compiler versions before 5.6, else PIC objects from an old
   12552     # archive will be linked into the output, leading to subtle bugs.
   12553     if test "$solaris_use_stlport4" != yes; then
   12554       postdeps_CXX='-library=Cstd -library=Crun'
   12555     fi
   12556     ;;
   12557   esac
   12558   ;;
   12559 esac
   12560 
   12561 case " $postdeps_CXX " in
   12562 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12563 esac
   12564 
   12565 lt_prog_compiler_wl_CXX=
   12566 lt_prog_compiler_pic_CXX=
   12567 lt_prog_compiler_static_CXX=
   12568 
   12569 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12570 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12571 
   12572   # C++ specific cases for pic, static, wl, etc.
   12573   if test "$GXX" = yes; then
   12574     lt_prog_compiler_wl_CXX='-Wl,'
   12575     lt_prog_compiler_static_CXX='-static'
   12576 
   12577     case $host_os in
   12578     aix*)
   12579       # All AIX code is PIC.
   12580       if test "$host_cpu" = ia64; then
   12581 	# AIX 5 now supports IA64 processor
   12582 	lt_prog_compiler_static_CXX='-Bstatic'
   12583       fi
   12584       ;;
   12585     amigaos*)
   12586       # FIXME: we need at least 68020 code to build shared libraries, but
   12587       # adding the `-m68020' flag to GCC prevents building anything better,
   12588       # like `-m68040'.
   12589       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12590       ;;
   12591     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12592       # PIC is the default for these OSes.
   12593       ;;
   12594     mingw* | cygwin* | os2* | pw32*)
   12595       # This hack is so that the source file can tell whether it is being
   12596       # built for inclusion in a dll (and should export symbols for example).
   12597       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12598       # (--disable-auto-import) libraries
   12599       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12600       ;;
   12601     darwin* | rhapsody*)
   12602       # PIC is the default on this platform
   12603       # Common symbols not allowed in MH_DYLIB files
   12604       lt_prog_compiler_pic_CXX='-fno-common'
   12605       ;;
   12606     *djgpp*)
   12607       # DJGPP does not support shared libraries at all
   12608       lt_prog_compiler_pic_CXX=
   12609       ;;
   12610     interix[3-9]*)
   12611       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12612       # Instead, we relocate shared libraries at runtime.
   12613       ;;
   12614     sysv4*MP*)
   12615       if test -d /usr/nec; then
   12616 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12617       fi
   12618       ;;
   12619     hpux*)
   12620       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12621       # not for PA HP-UX.
   12622       case $host_cpu in
   12623       hppa*64*|ia64*)
   12624 	;;
   12625       *)
   12626 	lt_prog_compiler_pic_CXX='-fPIC'
   12627 	;;
   12628       esac
   12629       ;;
   12630     *)
   12631       lt_prog_compiler_pic_CXX='-fPIC'
   12632       ;;
   12633     esac
   12634   else
   12635     case $host_os in
   12636       aix[4-9]*)
   12637 	# All AIX code is PIC.
   12638 	if test "$host_cpu" = ia64; then
   12639 	  # AIX 5 now supports IA64 processor
   12640 	  lt_prog_compiler_static_CXX='-Bstatic'
   12641 	else
   12642 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12643 	fi
   12644 	;;
   12645       chorus*)
   12646 	case $cc_basename in
   12647 	cxch68*)
   12648 	  # Green Hills C++ Compiler
   12649 	  # _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"
   12650 	  ;;
   12651 	esac
   12652 	;;
   12653        darwin*)
   12654          # PIC is the default on this platform
   12655          # Common symbols not allowed in MH_DYLIB files
   12656          case $cc_basename in
   12657            xlc*)
   12658            lt_prog_compiler_pic_CXX='-qnocommon'
   12659            lt_prog_compiler_wl_CXX='-Wl,'
   12660            ;;
   12661          esac
   12662        ;;
   12663       dgux*)
   12664 	case $cc_basename in
   12665 	  ec++*)
   12666 	    lt_prog_compiler_pic_CXX='-KPIC'
   12667 	    ;;
   12668 	  ghcx*)
   12669 	    # Green Hills C++ Compiler
   12670 	    lt_prog_compiler_pic_CXX='-pic'
   12671 	    ;;
   12672 	  *)
   12673 	    ;;
   12674 	esac
   12675 	;;
   12676       freebsd* | dragonfly*)
   12677 	# FreeBSD uses GNU C++
   12678 	;;
   12679       hpux9* | hpux10* | hpux11*)
   12680 	case $cc_basename in
   12681 	  CC*)
   12682 	    lt_prog_compiler_wl_CXX='-Wl,'
   12683 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12684 	    if test "$host_cpu" != ia64; then
   12685 	      lt_prog_compiler_pic_CXX='+Z'
   12686 	    fi
   12687 	    ;;
   12688 	  aCC*)
   12689 	    lt_prog_compiler_wl_CXX='-Wl,'
   12690 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12691 	    case $host_cpu in
   12692 	    hppa*64*|ia64*)
   12693 	      # +Z the default
   12694 	      ;;
   12695 	    *)
   12696 	      lt_prog_compiler_pic_CXX='+Z'
   12697 	      ;;
   12698 	    esac
   12699 	    ;;
   12700 	  *)
   12701 	    ;;
   12702 	esac
   12703 	;;
   12704       interix*)
   12705 	# This is c89, which is MS Visual C++ (no shared libs)
   12706 	# Anyone wants to do a port?
   12707 	;;
   12708       irix5* | irix6* | nonstopux*)
   12709 	case $cc_basename in
   12710 	  CC*)
   12711 	    lt_prog_compiler_wl_CXX='-Wl,'
   12712 	    lt_prog_compiler_static_CXX='-non_shared'
   12713 	    # CC pic flag -KPIC is the default.
   12714 	    ;;
   12715 	  *)
   12716 	    ;;
   12717 	esac
   12718 	;;
   12719       linux* | k*bsd*-gnu)
   12720 	case $cc_basename in
   12721 	  KCC*)
   12722 	    # KAI C++ Compiler
   12723 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12724 	    lt_prog_compiler_pic_CXX='-fPIC'
   12725 	    ;;
   12726 	  icpc* | ecpc*)
   12727 	    # Intel C++
   12728 	    lt_prog_compiler_wl_CXX='-Wl,'
   12729 	    lt_prog_compiler_pic_CXX='-KPIC'
   12730 	    lt_prog_compiler_static_CXX='-static'
   12731 	    ;;
   12732 	  pgCC* | pgcpp*)
   12733 	    # Portland Group C++ compiler.
   12734 	    lt_prog_compiler_wl_CXX='-Wl,'
   12735 	    lt_prog_compiler_pic_CXX='-fpic'
   12736 	    lt_prog_compiler_static_CXX='-Bstatic'
   12737 	    ;;
   12738 	  cxx*)
   12739 	    # Compaq C++
   12740 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12741 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12742 	    lt_prog_compiler_pic_CXX=
   12743 	    lt_prog_compiler_static_CXX='-non_shared'
   12744 	    ;;
   12745 	  *)
   12746 	    case `$CC -V 2>&1 | sed 5q` in
   12747 	    *Sun\ C*)
   12748 	      # Sun C++ 5.9
   12749 	      lt_prog_compiler_pic_CXX='-KPIC'
   12750 	      lt_prog_compiler_static_CXX='-Bstatic'
   12751 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12752 	      ;;
   12753 	    esac
   12754 	    ;;
   12755 	esac
   12756 	;;
   12757       lynxos*)
   12758 	;;
   12759       m88k*)
   12760 	;;
   12761       mvs*)
   12762 	case $cc_basename in
   12763 	  cxx*)
   12764 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12765 	    ;;
   12766 	  *)
   12767 	    ;;
   12768 	esac
   12769 	;;
   12770       netbsd*)
   12771 	;;
   12772       osf3* | osf4* | osf5*)
   12773 	case $cc_basename in
   12774 	  KCC*)
   12775 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12776 	    ;;
   12777 	  RCC*)
   12778 	    # Rational C++ 2.4.1
   12779 	    lt_prog_compiler_pic_CXX='-pic'
   12780 	    ;;
   12781 	  cxx*)
   12782 	    # Digital/Compaq C++
   12783 	    lt_prog_compiler_wl_CXX='-Wl,'
   12784 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12785 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12786 	    lt_prog_compiler_pic_CXX=
   12787 	    lt_prog_compiler_static_CXX='-non_shared'
   12788 	    ;;
   12789 	  *)
   12790 	    ;;
   12791 	esac
   12792 	;;
   12793       psos*)
   12794 	;;
   12795       solaris*)
   12796 	case $cc_basename in
   12797 	  CC*)
   12798 	    # Sun C++ 4.2, 5.x and Centerline C++
   12799 	    lt_prog_compiler_pic_CXX='-KPIC'
   12800 	    lt_prog_compiler_static_CXX='-Bstatic'
   12801 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12802 	    ;;
   12803 	  gcx*)
   12804 	    # Green Hills C++ Compiler
   12805 	    lt_prog_compiler_pic_CXX='-PIC'
   12806 	    ;;
   12807 	  *)
   12808 	    ;;
   12809 	esac
   12810 	;;
   12811       sunos4*)
   12812 	case $cc_basename in
   12813 	  CC*)
   12814 	    # Sun C++ 4.x
   12815 	    lt_prog_compiler_pic_CXX='-pic'
   12816 	    lt_prog_compiler_static_CXX='-Bstatic'
   12817 	    ;;
   12818 	  lcc*)
   12819 	    # Lucid
   12820 	    lt_prog_compiler_pic_CXX='-pic'
   12821 	    ;;
   12822 	  *)
   12823 	    ;;
   12824 	esac
   12825 	;;
   12826       tandem*)
   12827 	case $cc_basename in
   12828 	  NCC*)
   12829 	    # NonStop-UX NCC 3.20
   12830 	    lt_prog_compiler_pic_CXX='-KPIC'
   12831 	    ;;
   12832 	  *)
   12833 	    ;;
   12834 	esac
   12835 	;;
   12836       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12837 	case $cc_basename in
   12838 	  CC*)
   12839 	    lt_prog_compiler_wl_CXX='-Wl,'
   12840 	    lt_prog_compiler_pic_CXX='-KPIC'
   12841 	    lt_prog_compiler_static_CXX='-Bstatic'
   12842 	    ;;
   12843 	esac
   12844 	;;
   12845       vxworks*)
   12846 	;;
   12847       *)
   12848 	lt_prog_compiler_can_build_shared_CXX=no
   12849 	;;
   12850     esac
   12851   fi
   12852 
   12853 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12854 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12855 
   12856 #
   12857 # Check to make sure the PIC flag actually works.
   12858 #
   12859 if test -n "$lt_prog_compiler_pic_CXX"; then
   12860 
   12861 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12862 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12863 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12864   $as_echo_n "(cached) " >&6
   12865 else
   12866   lt_cv_prog_compiler_pic_works_CXX=no
   12867   ac_outfile=conftest.$ac_objext
   12868    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12869    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12870    # Insert the option either (1) after the last *FLAGS variable, or
   12871    # (2) before a word containing "conftest.", or (3) at the end.
   12872    # Note that $ac_compile itself does not contain backslashes and begins
   12873    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12874    # The option is referenced via a variable to avoid confusing sed.
   12875    lt_compile=`echo "$ac_compile" | $SED \
   12876    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12877    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12878    -e 's:$: $lt_compiler_flag:'`
   12879    (eval echo "\"\$as_me:12879: $lt_compile\"" >&5)
   12880    (eval "$lt_compile" 2>conftest.err)
   12881    ac_status=$?
   12882    cat conftest.err >&5
   12883    echo "$as_me:12883: \$? = $ac_status" >&5
   12884    if (exit $ac_status) && test -s "$ac_outfile"; then
   12885      # The compiler can only warn and ignore the option if not recognized
   12886      # So say no if there are warnings other than the usual output.
   12887      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12888      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12889      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12890        lt_cv_prog_compiler_pic_works_CXX=yes
   12891      fi
   12892    fi
   12893    $rm conftest*
   12894 
   12895 fi
   12896 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12897 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12898 
   12899 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12900     case $lt_prog_compiler_pic_CXX in
   12901      "" | " "*) ;;
   12902      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12903      esac
   12904 else
   12905     lt_prog_compiler_pic_CXX=
   12906      lt_prog_compiler_can_build_shared_CXX=no
   12907 fi
   12908 
   12909 fi
   12910 case $host_os in
   12911   # For platforms which do not support PIC, -DPIC is meaningless:
   12912   *djgpp*)
   12913     lt_prog_compiler_pic_CXX=
   12914     ;;
   12915   *)
   12916     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12917     ;;
   12918 esac
   12919 
   12920 #
   12921 # Check to make sure the static flag actually works.
   12922 #
   12923 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12924 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12925 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12926 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12927   $as_echo_n "(cached) " >&6
   12928 else
   12929   lt_cv_prog_compiler_static_works_CXX=no
   12930    save_LDFLAGS="$LDFLAGS"
   12931    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12932    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12933    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12934      # The linker can only warn and ignore the option if not recognized
   12935      # So say no if there are warnings
   12936      if test -s conftest.err; then
   12937        # Append any errors to the config.log.
   12938        cat conftest.err 1>&5
   12939        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12940        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12941        if diff conftest.exp conftest.er2 >/dev/null; then
   12942          lt_cv_prog_compiler_static_works_CXX=yes
   12943        fi
   12944      else
   12945        lt_cv_prog_compiler_static_works_CXX=yes
   12946      fi
   12947    fi
   12948    $rm -r conftest*
   12949    LDFLAGS="$save_LDFLAGS"
   12950 
   12951 fi
   12952 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   12953 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   12954 
   12955 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   12956     :
   12957 else
   12958     lt_prog_compiler_static_CXX=
   12959 fi
   12960 
   12961 
   12962 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   12964 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12965   $as_echo_n "(cached) " >&6
   12966 else
   12967   lt_cv_prog_compiler_c_o_CXX=no
   12968    $rm -r conftest 2>/dev/null
   12969    mkdir conftest
   12970    cd conftest
   12971    mkdir out
   12972    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12973 
   12974    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12975    # Insert the option either (1) after the last *FLAGS variable, or
   12976    # (2) before a word containing "conftest.", or (3) at the end.
   12977    # Note that $ac_compile itself does not contain backslashes and begins
   12978    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12979    lt_compile=`echo "$ac_compile" | $SED \
   12980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12982    -e 's:$: $lt_compiler_flag:'`
   12983    (eval echo "\"\$as_me:12983: $lt_compile\"" >&5)
   12984    (eval "$lt_compile" 2>out/conftest.err)
   12985    ac_status=$?
   12986    cat out/conftest.err >&5
   12987    echo "$as_me:12987: \$? = $ac_status" >&5
   12988    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12989    then
   12990      # The compiler can only warn and ignore the option if not recognized
   12991      # So say no if there are warnings
   12992      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12993      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12994      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12995        lt_cv_prog_compiler_c_o_CXX=yes
   12996      fi
   12997    fi
   12998    chmod u+w . 2>&5
   12999    $rm conftest*
   13000    # SGI C++ compiler will create directory out/ii_files/ for
   13001    # template instantiation
   13002    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13003    $rm out/* && rmdir out
   13004    cd ..
   13005    rmdir conftest
   13006    $rm conftest*
   13007 
   13008 fi
   13009 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13010 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13011 
   13012 
   13013 hard_links="nottested"
   13014 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13015   # do not overwrite the value of need_locks provided by the user
   13016   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13017 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13018   hard_links=yes
   13019   $rm conftest*
   13020   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13021   touch conftest.a
   13022   ln conftest.a conftest.b 2>&5 || hard_links=no
   13023   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13024   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13025 $as_echo "$hard_links" >&6; }
   13026   if test "$hard_links" = no; then
   13027     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13028 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13029     need_locks=warn
   13030   fi
   13031 else
   13032   need_locks=no
   13033 fi
   13034 
   13035 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13037 
   13038   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13039   case $host_os in
   13040   aix[4-9]*)
   13041     # If we're using GNU nm, then we don't want the "-C" option.
   13042     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13043     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13044       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'
   13045     else
   13046       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'
   13047     fi
   13048     ;;
   13049   pw32*)
   13050     export_symbols_cmds_CXX="$ltdll_cmds"
   13051   ;;
   13052   cygwin* | mingw*)
   13053     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'
   13054   ;;
   13055   *)
   13056     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13057   ;;
   13058   esac
   13059   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13060 
   13061 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13062 $as_echo "$ld_shlibs_CXX" >&6; }
   13063 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13064 
   13065 #
   13066 # Do we need to explicitly link libc?
   13067 #
   13068 case "x$archive_cmds_need_lc_CXX" in
   13069 x|xyes)
   13070   # Assume -lc should be added
   13071   archive_cmds_need_lc_CXX=yes
   13072 
   13073   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13074     case $archive_cmds_CXX in
   13075     *'~'*)
   13076       # FIXME: we may have to deal with multi-command sequences.
   13077       ;;
   13078     '$CC '*)
   13079       # Test whether the compiler implicitly links with -lc since on some
   13080       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13081       # to ld, don't add -lc before -lgcc.
   13082       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13083 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13084       $rm conftest*
   13085       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13086 
   13087       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13088   (eval $ac_compile) 2>&5
   13089   ac_status=$?
   13090   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13091   (exit $ac_status); } 2>conftest.err; then
   13092         soname=conftest
   13093         lib=conftest
   13094         libobjs=conftest.$ac_objext
   13095         deplibs=
   13096         wl=$lt_prog_compiler_wl_CXX
   13097 	pic_flag=$lt_prog_compiler_pic_CXX
   13098         compiler_flags=-v
   13099         linker_flags=-v
   13100         verstring=
   13101         output_objdir=.
   13102         libname=conftest
   13103         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13104         allow_undefined_flag_CXX=
   13105         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13106   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13107   ac_status=$?
   13108   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13109   (exit $ac_status); }
   13110         then
   13111 	  archive_cmds_need_lc_CXX=no
   13112         else
   13113 	  archive_cmds_need_lc_CXX=yes
   13114         fi
   13115         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13116       else
   13117         cat conftest.err 1>&5
   13118       fi
   13119       $rm conftest*
   13120       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13121 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13122       ;;
   13123     esac
   13124   fi
   13125   ;;
   13126 esac
   13127 
   13128 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13129 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13130 library_names_spec=
   13131 libname_spec='lib$name'
   13132 soname_spec=
   13133 shrext_cmds=".so"
   13134 postinstall_cmds=
   13135 postuninstall_cmds=
   13136 finish_cmds=
   13137 finish_eval=
   13138 shlibpath_var=
   13139 shlibpath_overrides_runpath=unknown
   13140 version_type=none
   13141 dynamic_linker="$host_os ld.so"
   13142 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13143 
   13144 need_lib_prefix=unknown
   13145 hardcode_into_libs=no
   13146 
   13147 # when you set need_version to no, make sure it does not cause -set_version
   13148 # flags to be left without arguments
   13149 need_version=unknown
   13150 
   13151 case $host_os in
   13152 aix3*)
   13153   version_type=linux
   13154   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13155   shlibpath_var=LIBPATH
   13156 
   13157   # AIX 3 has no versioning support, so we append a major version to the name.
   13158   soname_spec='${libname}${release}${shared_ext}$major'
   13159   ;;
   13160 
   13161 aix[4-9]*)
   13162   version_type=linux
   13163   need_lib_prefix=no
   13164   need_version=no
   13165   hardcode_into_libs=yes
   13166   if test "$host_cpu" = ia64; then
   13167     # AIX 5 supports IA64
   13168     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13169     shlibpath_var=LD_LIBRARY_PATH
   13170   else
   13171     # With GCC up to 2.95.x, collect2 would create an import file
   13172     # for dependence libraries.  The import file would start with
   13173     # the line `#! .'.  This would cause the generated library to
   13174     # depend on `.', always an invalid library.  This was fixed in
   13175     # development snapshots of GCC prior to 3.0.
   13176     case $host_os in
   13177       aix4 | aix4.[01] | aix4.[01].*)
   13178       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13179 	   echo ' yes '
   13180 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13181 	:
   13182       else
   13183 	can_build_shared=no
   13184       fi
   13185       ;;
   13186     esac
   13187     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13188     # soname into executable. Probably we can add versioning support to
   13189     # collect2, so additional links can be useful in future.
   13190     if test "$aix_use_runtimelinking" = yes; then
   13191       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13192       # instead of lib<name>.a to let people know that these are not
   13193       # typical AIX shared libraries.
   13194       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13195     else
   13196       # We preserve .a as extension for shared libraries through AIX4.2
   13197       # and later when we are not doing run time linking.
   13198       library_names_spec='${libname}${release}.a $libname.a'
   13199       soname_spec='${libname}${release}${shared_ext}$major'
   13200     fi
   13201     shlibpath_var=LIBPATH
   13202   fi
   13203   ;;
   13204 
   13205 amigaos*)
   13206   library_names_spec='$libname.ixlibrary $libname.a'
   13207   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13208   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'
   13209   ;;
   13210 
   13211 beos*)
   13212   library_names_spec='${libname}${shared_ext}'
   13213   dynamic_linker="$host_os ld.so"
   13214   shlibpath_var=LIBRARY_PATH
   13215   ;;
   13216 
   13217 bsdi[45]*)
   13218   version_type=linux
   13219   need_version=no
   13220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13221   soname_spec='${libname}${release}${shared_ext}$major'
   13222   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13223   shlibpath_var=LD_LIBRARY_PATH
   13224   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13225   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13226   # the default ld.so.conf also contains /usr/contrib/lib and
   13227   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13228   # libtool to hard-code these into programs
   13229   ;;
   13230 
   13231 cygwin* | mingw* | pw32*)
   13232   version_type=windows
   13233   shrext_cmds=".dll"
   13234   need_version=no
   13235   need_lib_prefix=no
   13236 
   13237   case $GCC,$host_os in
   13238   yes,cygwin* | yes,mingw* | yes,pw32*)
   13239     library_names_spec='$libname.dll.a'
   13240     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13241     postinstall_cmds='base_file=`basename \${file}`~
   13242       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13243       dldir=$destdir/`dirname \$dlpath`~
   13244       test -d \$dldir || mkdir -p \$dldir~
   13245       $install_prog $dir/$dlname \$dldir/$dlname~
   13246       chmod a+x \$dldir/$dlname'
   13247     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13248       dlpath=$dir/\$dldll~
   13249        $rm \$dlpath'
   13250     shlibpath_overrides_runpath=yes
   13251 
   13252     case $host_os in
   13253     cygwin*)
   13254       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13255       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13256       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13257       ;;
   13258     mingw*)
   13259       # MinGW DLLs use traditional 'lib' prefix
   13260       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13261       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13262       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13263         # It is most probably a Windows format PATH printed by
   13264         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13265         # path with ; separators, and with drive letters. We can handle the
   13266         # drive letters (cygwin fileutils understands them), so leave them,
   13267         # especially as we might pass files found there to a mingw objdump,
   13268         # which wouldn't understand a cygwinified path. Ahh.
   13269         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13270       else
   13271         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13272       fi
   13273       ;;
   13274     pw32*)
   13275       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13276       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13277       ;;
   13278     esac
   13279     ;;
   13280 
   13281   *)
   13282     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13283     ;;
   13284   esac
   13285   dynamic_linker='Win32 ld.exe'
   13286   # FIXME: first we should search . and the directory the executable is in
   13287   shlibpath_var=PATH
   13288   ;;
   13289 
   13290 darwin* | rhapsody*)
   13291   dynamic_linker="$host_os dyld"
   13292   version_type=darwin
   13293   need_lib_prefix=no
   13294   need_version=no
   13295   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13296   soname_spec='${libname}${release}${major}$shared_ext'
   13297   shlibpath_overrides_runpath=yes
   13298   shlibpath_var=DYLD_LIBRARY_PATH
   13299   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13300 
   13301   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13302   ;;
   13303 
   13304 dgux*)
   13305   version_type=linux
   13306   need_lib_prefix=no
   13307   need_version=no
   13308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13309   soname_spec='${libname}${release}${shared_ext}$major'
   13310   shlibpath_var=LD_LIBRARY_PATH
   13311   ;;
   13312 
   13313 freebsd1*)
   13314   dynamic_linker=no
   13315   ;;
   13316 
   13317 freebsd* | dragonfly*)
   13318   # DragonFly does not have aout.  When/if they implement a new
   13319   # versioning mechanism, adjust this.
   13320   if test -x /usr/bin/objformat; then
   13321     objformat=`/usr/bin/objformat`
   13322   else
   13323     case $host_os in
   13324     freebsd[123]*) objformat=aout ;;
   13325     *) objformat=elf ;;
   13326     esac
   13327   fi
   13328   version_type=freebsd-$objformat
   13329   case $version_type in
   13330     freebsd-elf*)
   13331       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13332       need_version=no
   13333       need_lib_prefix=no
   13334       ;;
   13335     freebsd-*)
   13336       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13337       need_version=yes
   13338       ;;
   13339   esac
   13340   shlibpath_var=LD_LIBRARY_PATH
   13341   case $host_os in
   13342   freebsd2*)
   13343     shlibpath_overrides_runpath=yes
   13344     ;;
   13345   freebsd3.[01]* | freebsdelf3.[01]*)
   13346     shlibpath_overrides_runpath=yes
   13347     hardcode_into_libs=yes
   13348     ;;
   13349   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13350   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13351     shlibpath_overrides_runpath=no
   13352     hardcode_into_libs=yes
   13353     ;;
   13354   *) # from 4.6 on, and DragonFly
   13355     shlibpath_overrides_runpath=yes
   13356     hardcode_into_libs=yes
   13357     ;;
   13358   esac
   13359   ;;
   13360 
   13361 gnu*)
   13362   version_type=linux
   13363   need_lib_prefix=no
   13364   need_version=no
   13365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13366   soname_spec='${libname}${release}${shared_ext}$major'
   13367   shlibpath_var=LD_LIBRARY_PATH
   13368   hardcode_into_libs=yes
   13369   ;;
   13370 
   13371 hpux9* | hpux10* | hpux11*)
   13372   # Give a soname corresponding to the major version so that dld.sl refuses to
   13373   # link against other versions.
   13374   version_type=sunos
   13375   need_lib_prefix=no
   13376   need_version=no
   13377   case $host_cpu in
   13378   ia64*)
   13379     shrext_cmds='.so'
   13380     hardcode_into_libs=yes
   13381     dynamic_linker="$host_os dld.so"
   13382     shlibpath_var=LD_LIBRARY_PATH
   13383     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13384     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13385     soname_spec='${libname}${release}${shared_ext}$major'
   13386     if test "X$HPUX_IA64_MODE" = X32; then
   13387       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13388     else
   13389       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13390     fi
   13391     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13392     ;;
   13393    hppa*64*)
   13394      shrext_cmds='.sl'
   13395      hardcode_into_libs=yes
   13396      dynamic_linker="$host_os dld.sl"
   13397      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13398      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13399      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13400      soname_spec='${libname}${release}${shared_ext}$major'
   13401      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13402      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13403      ;;
   13404    *)
   13405     shrext_cmds='.sl'
   13406     dynamic_linker="$host_os dld.sl"
   13407     shlibpath_var=SHLIB_PATH
   13408     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   13412   esac
   13413   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13414   postinstall_cmds='chmod 555 $lib'
   13415   ;;
   13416 
   13417 interix[3-9]*)
   13418   version_type=linux
   13419   need_lib_prefix=no
   13420   need_version=no
   13421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13422   soname_spec='${libname}${release}${shared_ext}$major'
   13423   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13424   shlibpath_var=LD_LIBRARY_PATH
   13425   shlibpath_overrides_runpath=no
   13426   hardcode_into_libs=yes
   13427   ;;
   13428 
   13429 irix5* | irix6* | nonstopux*)
   13430   case $host_os in
   13431     nonstopux*) version_type=nonstopux ;;
   13432     *)
   13433 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13434 		version_type=linux
   13435 	else
   13436 		version_type=irix
   13437 	fi ;;
   13438   esac
   13439   need_lib_prefix=no
   13440   need_version=no
   13441   soname_spec='${libname}${release}${shared_ext}$major'
   13442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13443   case $host_os in
   13444   irix5* | nonstopux*)
   13445     libsuff= shlibsuff=
   13446     ;;
   13447   *)
   13448     case $LD in # libtool.m4 will add one of these switches to LD
   13449     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13450       libsuff= shlibsuff= libmagic=32-bit;;
   13451     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13452       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13453     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13454       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13455     *) libsuff= shlibsuff= libmagic=never-match;;
   13456     esac
   13457     ;;
   13458   esac
   13459   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13460   shlibpath_overrides_runpath=no
   13461   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13462   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13463   hardcode_into_libs=yes
   13464   ;;
   13465 
   13466 # No shared lib support for Linux oldld, aout, or coff.
   13467 linux*oldld* | linux*aout* | linux*coff*)
   13468   dynamic_linker=no
   13469   ;;
   13470 
   13471 # This must be Linux ELF.
   13472 linux* | k*bsd*-gnu)
   13473   version_type=linux
   13474   need_lib_prefix=no
   13475   need_version=no
   13476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13477   soname_spec='${libname}${release}${shared_ext}$major'
   13478   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13479   shlibpath_var=LD_LIBRARY_PATH
   13480   shlibpath_overrides_runpath=no
   13481   # This implies no fast_install, which is unacceptable.
   13482   # Some rework will be needed to allow for fast_install
   13483   # before this can be enabled.
   13484   hardcode_into_libs=yes
   13485   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13486   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13487 
   13488   # Append ld.so.conf contents to the search path
   13489   if test -f /etc/ld.so.conf; then
   13490     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' ' '`
   13491     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13492   fi
   13493 
   13494   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13495   # powerpc, because MkLinux only supported shared libraries with the
   13496   # GNU dynamic linker.  Since this was broken with cross compilers,
   13497   # most powerpc-linux boxes support dynamic linking these days and
   13498   # people can always --disable-shared, the test was removed, and we
   13499   # assume the GNU/Linux dynamic linker is in use.
   13500   dynamic_linker='GNU/Linux ld.so'
   13501   ;;
   13502 
   13503 netbsd*)
   13504   version_type=sunos
   13505   need_lib_prefix=no
   13506   need_version=no
   13507   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13508     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13509     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13510     dynamic_linker='NetBSD (a.out) ld.so'
   13511   else
   13512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13513     soname_spec='${libname}${release}${shared_ext}$major'
   13514     dynamic_linker='NetBSD ld.elf_so'
   13515   fi
   13516   shlibpath_var=LD_LIBRARY_PATH
   13517   shlibpath_overrides_runpath=yes
   13518   hardcode_into_libs=yes
   13519   ;;
   13520 
   13521 newsos6)
   13522   version_type=linux
   13523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13524   shlibpath_var=LD_LIBRARY_PATH
   13525   shlibpath_overrides_runpath=yes
   13526   ;;
   13527 
   13528 nto-qnx*)
   13529   version_type=linux
   13530   need_lib_prefix=no
   13531   need_version=no
   13532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13533   soname_spec='${libname}${release}${shared_ext}$major'
   13534   shlibpath_var=LD_LIBRARY_PATH
   13535   shlibpath_overrides_runpath=yes
   13536   ;;
   13537 
   13538 openbsd*)
   13539   version_type=sunos
   13540   sys_lib_dlsearch_path_spec="/usr/lib"
   13541   need_lib_prefix=no
   13542   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13543   case $host_os in
   13544     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13545     *)                         need_version=no  ;;
   13546   esac
   13547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13548   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13549   shlibpath_var=LD_LIBRARY_PATH
   13550   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13551     case $host_os in
   13552       openbsd2.[89] | openbsd2.[89].*)
   13553 	shlibpath_overrides_runpath=no
   13554 	;;
   13555       *)
   13556 	shlibpath_overrides_runpath=yes
   13557 	;;
   13558       esac
   13559   else
   13560     shlibpath_overrides_runpath=yes
   13561   fi
   13562   ;;
   13563 
   13564 os2*)
   13565   libname_spec='$name'
   13566   shrext_cmds=".dll"
   13567   need_lib_prefix=no
   13568   library_names_spec='$libname${shared_ext} $libname.a'
   13569   dynamic_linker='OS/2 ld.exe'
   13570   shlibpath_var=LIBPATH
   13571   ;;
   13572 
   13573 osf3* | osf4* | osf5*)
   13574   version_type=osf
   13575   need_lib_prefix=no
   13576   need_version=no
   13577   soname_spec='${libname}${release}${shared_ext}$major'
   13578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13579   shlibpath_var=LD_LIBRARY_PATH
   13580   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13581   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13582   ;;
   13583 
   13584 rdos*)
   13585   dynamic_linker=no
   13586   ;;
   13587 
   13588 solaris*)
   13589   version_type=linux
   13590   need_lib_prefix=no
   13591   need_version=no
   13592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13593   soname_spec='${libname}${release}${shared_ext}$major'
   13594   shlibpath_var=LD_LIBRARY_PATH
   13595   shlibpath_overrides_runpath=yes
   13596   hardcode_into_libs=yes
   13597   # ldd complains unless libraries are executable
   13598   postinstall_cmds='chmod +x $lib'
   13599   ;;
   13600 
   13601 sunos4*)
   13602   version_type=sunos
   13603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13604   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13605   shlibpath_var=LD_LIBRARY_PATH
   13606   shlibpath_overrides_runpath=yes
   13607   if test "$with_gnu_ld" = yes; then
   13608     need_lib_prefix=no
   13609   fi
   13610   need_version=yes
   13611   ;;
   13612 
   13613 sysv4 | sysv4.3*)
   13614   version_type=linux
   13615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13616   soname_spec='${libname}${release}${shared_ext}$major'
   13617   shlibpath_var=LD_LIBRARY_PATH
   13618   case $host_vendor in
   13619     sni)
   13620       shlibpath_overrides_runpath=no
   13621       need_lib_prefix=no
   13622       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13623       runpath_var=LD_RUN_PATH
   13624       ;;
   13625     siemens)
   13626       need_lib_prefix=no
   13627       ;;
   13628     motorola)
   13629       need_lib_prefix=no
   13630       need_version=no
   13631       shlibpath_overrides_runpath=no
   13632       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13633       ;;
   13634   esac
   13635   ;;
   13636 
   13637 sysv4*MP*)
   13638   if test -d /usr/nec ;then
   13639     version_type=linux
   13640     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13641     soname_spec='$libname${shared_ext}.$major'
   13642     shlibpath_var=LD_LIBRARY_PATH
   13643   fi
   13644   ;;
   13645 
   13646 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13647   version_type=freebsd-elf
   13648   need_lib_prefix=no
   13649   need_version=no
   13650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13651   soname_spec='${libname}${release}${shared_ext}$major'
   13652   shlibpath_var=LD_LIBRARY_PATH
   13653   hardcode_into_libs=yes
   13654   if test "$with_gnu_ld" = yes; then
   13655     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13656     shlibpath_overrides_runpath=no
   13657   else
   13658     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13659     shlibpath_overrides_runpath=yes
   13660     case $host_os in
   13661       sco3.2v5*)
   13662         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13663 	;;
   13664     esac
   13665   fi
   13666   sys_lib_dlsearch_path_spec='/usr/lib'
   13667   ;;
   13668 
   13669 uts4*)
   13670   version_type=linux
   13671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13672   soname_spec='${libname}${release}${shared_ext}$major'
   13673   shlibpath_var=LD_LIBRARY_PATH
   13674   ;;
   13675 
   13676 *)
   13677   dynamic_linker=no
   13678   ;;
   13679 esac
   13680 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13681 $as_echo "$dynamic_linker" >&6; }
   13682 test "$dynamic_linker" = no && can_build_shared=no
   13683 
   13684 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13685   $as_echo_n "(cached) " >&6
   13686 else
   13687   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13688 fi
   13689 
   13690 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13691 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13692   $as_echo_n "(cached) " >&6
   13693 else
   13694   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13695 fi
   13696 
   13697 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13698 
   13699 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13700 if test "$GCC" = yes; then
   13701   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13702 fi
   13703 
   13704 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13705 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13706 hardcode_action_CXX=
   13707 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13708    test -n "$runpath_var_CXX" || \
   13709    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13710 
   13711   # We can hardcode non-existant directories.
   13712   if test "$hardcode_direct_CXX" != no &&
   13713      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13714      # have to relink, otherwise we might link with an installed library
   13715      # when we should be linking with a yet-to-be-installed one
   13716      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13717      test "$hardcode_minus_L_CXX" != no; then
   13718     # Linking always hardcodes the temporary library directory.
   13719     hardcode_action_CXX=relink
   13720   else
   13721     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13722     hardcode_action_CXX=immediate
   13723   fi
   13724 else
   13725   # We cannot hardcode anything, or else we can only hardcode existing
   13726   # directories.
   13727   hardcode_action_CXX=unsupported
   13728 fi
   13729 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13730 $as_echo "$hardcode_action_CXX" >&6; }
   13731 
   13732 if test "$hardcode_action_CXX" = relink; then
   13733   # Fast installation is not supported
   13734   enable_fast_install=no
   13735 elif test "$shlibpath_overrides_runpath" = yes ||
   13736      test "$enable_shared" = no; then
   13737   # Fast installation is not necessary
   13738   enable_fast_install=needless
   13739 fi
   13740 
   13741 
   13742 # The else clause should only fire when bootstrapping the
   13743 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13744 # with your package, and you will get complaints that there are
   13745 # no rules to generate ltmain.sh.
   13746 if test -f "$ltmain"; then
   13747   # See if we are running on zsh, and set the options which allow our commands through
   13748   # without removal of \ escapes.
   13749   if test -n "${ZSH_VERSION+set}" ; then
   13750     setopt NO_GLOB_SUBST
   13751   fi
   13752   # Now quote all the things that may contain metacharacters while being
   13753   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13754   # variables and quote the copies for generation of the libtool script.
   13755   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13756     SED SHELL STRIP \
   13757     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13758     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13759     deplibs_check_method reload_flag reload_cmds need_locks \
   13760     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13761     lt_cv_sys_global_symbol_to_c_name_address \
   13762     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13763     old_postinstall_cmds old_postuninstall_cmds \
   13764     compiler_CXX \
   13765     CC_CXX \
   13766     LD_CXX \
   13767     lt_prog_compiler_wl_CXX \
   13768     lt_prog_compiler_pic_CXX \
   13769     lt_prog_compiler_static_CXX \
   13770     lt_prog_compiler_no_builtin_flag_CXX \
   13771     export_dynamic_flag_spec_CXX \
   13772     thread_safe_flag_spec_CXX \
   13773     whole_archive_flag_spec_CXX \
   13774     enable_shared_with_static_runtimes_CXX \
   13775     old_archive_cmds_CXX \
   13776     old_archive_from_new_cmds_CXX \
   13777     predep_objects_CXX \
   13778     postdep_objects_CXX \
   13779     predeps_CXX \
   13780     postdeps_CXX \
   13781     compiler_lib_search_path_CXX \
   13782     compiler_lib_search_dirs_CXX \
   13783     archive_cmds_CXX \
   13784     archive_expsym_cmds_CXX \
   13785     postinstall_cmds_CXX \
   13786     postuninstall_cmds_CXX \
   13787     old_archive_from_expsyms_cmds_CXX \
   13788     allow_undefined_flag_CXX \
   13789     no_undefined_flag_CXX \
   13790     export_symbols_cmds_CXX \
   13791     hardcode_libdir_flag_spec_CXX \
   13792     hardcode_libdir_flag_spec_ld_CXX \
   13793     hardcode_libdir_separator_CXX \
   13794     hardcode_automatic_CXX \
   13795     module_cmds_CXX \
   13796     module_expsym_cmds_CXX \
   13797     lt_cv_prog_compiler_c_o_CXX \
   13798     fix_srcfile_path_CXX \
   13799     exclude_expsyms_CXX \
   13800     include_expsyms_CXX; do
   13801 
   13802     case $var in
   13803     old_archive_cmds_CXX | \
   13804     old_archive_from_new_cmds_CXX | \
   13805     archive_cmds_CXX | \
   13806     archive_expsym_cmds_CXX | \
   13807     module_cmds_CXX | \
   13808     module_expsym_cmds_CXX | \
   13809     old_archive_from_expsyms_cmds_CXX | \
   13810     export_symbols_cmds_CXX | \
   13811     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13812     postinstall_cmds | postuninstall_cmds | \
   13813     old_postinstall_cmds | old_postuninstall_cmds | \
   13814     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13815       # Double-quote double-evaled strings.
   13816       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13817       ;;
   13818     *)
   13819       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13820       ;;
   13821     esac
   13822   done
   13823 
   13824   case $lt_echo in
   13825   *'\$0 --fallback-echo"')
   13826     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13827     ;;
   13828   esac
   13829 
   13830 cfgfile="$ofile"
   13831 
   13832   cat <<__EOF__ >> "$cfgfile"
   13833 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13834 
   13835 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13836 
   13837 # Shell to use when invoking shell scripts.
   13838 SHELL=$lt_SHELL
   13839 
   13840 # Whether or not to build shared libraries.
   13841 build_libtool_libs=$enable_shared
   13842 
   13843 # Whether or not to build static libraries.
   13844 build_old_libs=$enable_static
   13845 
   13846 # Whether or not to add -lc for building shared libraries.
   13847 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13848 
   13849 # Whether or not to disallow shared libs when runtime libs are static
   13850 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13851 
   13852 # Whether or not to optimize for fast installation.
   13853 fast_install=$enable_fast_install
   13854 
   13855 # The host system.
   13856 host_alias=$host_alias
   13857 host=$host
   13858 host_os=$host_os
   13859 
   13860 # The build system.
   13861 build_alias=$build_alias
   13862 build=$build
   13863 build_os=$build_os
   13864 
   13865 # An echo program that does not interpret backslashes.
   13866 echo=$lt_echo
   13867 
   13868 # The archiver.
   13869 AR=$lt_AR
   13870 AR_FLAGS=$lt_AR_FLAGS
   13871 
   13872 # A C compiler.
   13873 LTCC=$lt_LTCC
   13874 
   13875 # LTCC compiler flags.
   13876 LTCFLAGS=$lt_LTCFLAGS
   13877 
   13878 # A language-specific compiler.
   13879 CC=$lt_compiler_CXX
   13880 
   13881 # Is the compiler the GNU C compiler?
   13882 with_gcc=$GCC_CXX
   13883 
   13884 # An ERE matcher.
   13885 EGREP=$lt_EGREP
   13886 
   13887 # The linker used to build libraries.
   13888 LD=$lt_LD_CXX
   13889 
   13890 # Whether we need hard or soft links.
   13891 LN_S=$lt_LN_S
   13892 
   13893 # A BSD-compatible nm program.
   13894 NM=$lt_NM
   13895 
   13896 # A symbol stripping program
   13897 STRIP=$lt_STRIP
   13898 
   13899 # Used to examine libraries when file_magic_cmd begins "file"
   13900 MAGIC_CMD=$MAGIC_CMD
   13901 
   13902 # Used on cygwin: DLL creation program.
   13903 DLLTOOL="$DLLTOOL"
   13904 
   13905 # Used on cygwin: object dumper.
   13906 OBJDUMP="$OBJDUMP"
   13907 
   13908 # Used on cygwin: assembler.
   13909 AS="$AS"
   13910 
   13911 # The name of the directory that contains temporary libtool files.
   13912 objdir=$objdir
   13913 
   13914 # How to create reloadable object files.
   13915 reload_flag=$lt_reload_flag
   13916 reload_cmds=$lt_reload_cmds
   13917 
   13918 # How to pass a linker flag through the compiler.
   13919 wl=$lt_lt_prog_compiler_wl_CXX
   13920 
   13921 # Object file suffix (normally "o").
   13922 objext="$ac_objext"
   13923 
   13924 # Old archive suffix (normally "a").
   13925 libext="$libext"
   13926 
   13927 # Shared library suffix (normally ".so").
   13928 shrext_cmds='$shrext_cmds'
   13929 
   13930 # Executable file suffix (normally "").
   13931 exeext="$exeext"
   13932 
   13933 # Additional compiler flags for building library objects.
   13934 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13935 pic_mode=$pic_mode
   13936 
   13937 # What is the maximum length of a command?
   13938 max_cmd_len=$lt_cv_sys_max_cmd_len
   13939 
   13940 # Does compiler simultaneously support -c and -o options?
   13941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13942 
   13943 # Must we lock files when doing compilation?
   13944 need_locks=$lt_need_locks
   13945 
   13946 # Do we need the lib prefix for modules?
   13947 need_lib_prefix=$need_lib_prefix
   13948 
   13949 # Do we need a version for libraries?
   13950 need_version=$need_version
   13951 
   13952 # Whether dlopen is supported.
   13953 dlopen_support=$enable_dlopen
   13954 
   13955 # Whether dlopen of programs is supported.
   13956 dlopen_self=$enable_dlopen_self
   13957 
   13958 # Whether dlopen of statically linked programs is supported.
   13959 dlopen_self_static=$enable_dlopen_self_static
   13960 
   13961 # Compiler flag to prevent dynamic linking.
   13962 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13963 
   13964 # Compiler flag to turn off builtin functions.
   13965 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13966 
   13967 # Compiler flag to allow reflexive dlopens.
   13968 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13969 
   13970 # Compiler flag to generate shared objects directly from archives.
   13971 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13972 
   13973 # Compiler flag to generate thread-safe objects.
   13974 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13975 
   13976 # Library versioning type.
   13977 version_type=$version_type
   13978 
   13979 # Format of library name prefix.
   13980 libname_spec=$lt_libname_spec
   13981 
   13982 # List of archive names.  First name is the real one, the rest are links.
   13983 # The last name is the one that the linker finds with -lNAME.
   13984 library_names_spec=$lt_library_names_spec
   13985 
   13986 # The coded name of the library, if different from the real name.
   13987 soname_spec=$lt_soname_spec
   13988 
   13989 # Commands used to build and install an old-style archive.
   13990 RANLIB=$lt_RANLIB
   13991 old_archive_cmds=$lt_old_archive_cmds_CXX
   13992 old_postinstall_cmds=$lt_old_postinstall_cmds
   13993 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13994 
   13995 # Create an old-style archive from a shared archive.
   13996 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13997 
   13998 # Create a temporary old-style archive to link instead of a shared archive.
   13999 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14000 
   14001 # Commands used to build and install a shared archive.
   14002 archive_cmds=$lt_archive_cmds_CXX
   14003 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14004 postinstall_cmds=$lt_postinstall_cmds
   14005 postuninstall_cmds=$lt_postuninstall_cmds
   14006 
   14007 # Commands used to build a loadable module (assumed same as above if empty)
   14008 module_cmds=$lt_module_cmds_CXX
   14009 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14010 
   14011 # Commands to strip libraries.
   14012 old_striplib=$lt_old_striplib
   14013 striplib=$lt_striplib
   14014 
   14015 # Dependencies to place before the objects being linked to create a
   14016 # shared library.
   14017 predep_objects=$lt_predep_objects_CXX
   14018 
   14019 # Dependencies to place after the objects being linked to create a
   14020 # shared library.
   14021 postdep_objects=$lt_postdep_objects_CXX
   14022 
   14023 # Dependencies to place before the objects being linked to create a
   14024 # shared library.
   14025 predeps=$lt_predeps_CXX
   14026 
   14027 # Dependencies to place after the objects being linked to create a
   14028 # shared library.
   14029 postdeps=$lt_postdeps_CXX
   14030 
   14031 # The directories searched by this compiler when creating a shared
   14032 # library
   14033 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14034 
   14035 # The library search path used internally by the compiler when linking
   14036 # a shared library.
   14037 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14038 
   14039 # Method to check whether dependent libraries are shared objects.
   14040 deplibs_check_method=$lt_deplibs_check_method
   14041 
   14042 # Command to use when deplibs_check_method == file_magic.
   14043 file_magic_cmd=$lt_file_magic_cmd
   14044 
   14045 # Flag that allows shared libraries with undefined symbols to be built.
   14046 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14047 
   14048 # Flag that forces no undefined symbols.
   14049 no_undefined_flag=$lt_no_undefined_flag_CXX
   14050 
   14051 # Commands used to finish a libtool library installation in a directory.
   14052 finish_cmds=$lt_finish_cmds
   14053 
   14054 # Same as above, but a single script fragment to be evaled but not shown.
   14055 finish_eval=$lt_finish_eval
   14056 
   14057 # Take the output of nm and produce a listing of raw symbols and C names.
   14058 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14059 
   14060 # Transform the output of nm in a proper C declaration
   14061 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14062 
   14063 # Transform the output of nm in a C name address pair
   14064 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14065 
   14066 # This is the shared library runtime path variable.
   14067 runpath_var=$runpath_var
   14068 
   14069 # This is the shared library path variable.
   14070 shlibpath_var=$shlibpath_var
   14071 
   14072 # Is shlibpath searched before the hard-coded library search path?
   14073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14074 
   14075 # How to hardcode a shared library path into an executable.
   14076 hardcode_action=$hardcode_action_CXX
   14077 
   14078 # Whether we should hardcode library paths into libraries.
   14079 hardcode_into_libs=$hardcode_into_libs
   14080 
   14081 # Flag to hardcode \$libdir into a binary during linking.
   14082 # This must work even if \$libdir does not exist.
   14083 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14084 
   14085 # If ld is used when linking, flag to hardcode \$libdir into
   14086 # a binary during linking. This must work even if \$libdir does
   14087 # not exist.
   14088 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14089 
   14090 # Whether we need a single -rpath flag with a separated argument.
   14091 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14092 
   14093 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14094 # resulting binary.
   14095 hardcode_direct=$hardcode_direct_CXX
   14096 
   14097 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14098 # resulting binary.
   14099 hardcode_minus_L=$hardcode_minus_L_CXX
   14100 
   14101 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14102 # the resulting binary.
   14103 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14104 
   14105 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14106 # and all subsequent libraries and executables linked against it.
   14107 hardcode_automatic=$hardcode_automatic_CXX
   14108 
   14109 # Variables whose values should be saved in libtool wrapper scripts and
   14110 # restored at relink time.
   14111 variables_saved_for_relink="$variables_saved_for_relink"
   14112 
   14113 # Whether libtool must link a program against all its dependency libraries.
   14114 link_all_deplibs=$link_all_deplibs_CXX
   14115 
   14116 # Compile-time system search path for libraries
   14117 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14118 
   14119 # Run-time system search path for libraries
   14120 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14121 
   14122 # Fix the shell variable \$srcfile for the compiler.
   14123 fix_srcfile_path=$lt_fix_srcfile_path
   14124 
   14125 # Set to yes if exported symbols are required.
   14126 always_export_symbols=$always_export_symbols_CXX
   14127 
   14128 # The commands to list exported symbols.
   14129 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14130 
   14131 # The commands to extract the exported symbol list from a shared archive.
   14132 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14133 
   14134 # Symbols that should not be listed in the preloaded symbols.
   14135 exclude_expsyms=$lt_exclude_expsyms_CXX
   14136 
   14137 # Symbols that must always be exported.
   14138 include_expsyms=$lt_include_expsyms_CXX
   14139 
   14140 # ### END LIBTOOL TAG CONFIG: $tagname
   14141 
   14142 __EOF__
   14143 
   14144 
   14145 else
   14146   # If there is no Makefile yet, we rely on a make rule to execute
   14147   # `config.status --recheck' to rerun these tests and create the
   14148   # libtool script then.
   14149   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14150   if test -f "$ltmain_in"; then
   14151     test -f Makefile && make "$ltmain"
   14152   fi
   14153 fi
   14154 
   14155 
   14156 ac_ext=c
   14157 ac_cpp='$CPP $CPPFLAGS'
   14158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14161 
   14162 CC=$lt_save_CC
   14163 LDCXX=$LD
   14164 LD=$lt_save_LD
   14165 GCC=$lt_save_GCC
   14166 with_gnu_ldcxx=$with_gnu_ld
   14167 with_gnu_ld=$lt_save_with_gnu_ld
   14168 lt_cv_path_LDCXX=$lt_cv_path_LD
   14169 lt_cv_path_LD=$lt_save_path_LD
   14170 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14171 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14172 
   14173 	else
   14174 	  tagname=""
   14175 	fi
   14176 	;;
   14177 
   14178       F77)
   14179 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14180 
   14181 ac_ext=f
   14182 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14183 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14184 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14185 
   14186 
   14187 archive_cmds_need_lc_F77=no
   14188 allow_undefined_flag_F77=
   14189 always_export_symbols_F77=no
   14190 archive_expsym_cmds_F77=
   14191 export_dynamic_flag_spec_F77=
   14192 hardcode_direct_F77=no
   14193 hardcode_libdir_flag_spec_F77=
   14194 hardcode_libdir_flag_spec_ld_F77=
   14195 hardcode_libdir_separator_F77=
   14196 hardcode_minus_L_F77=no
   14197 hardcode_automatic_F77=no
   14198 module_cmds_F77=
   14199 module_expsym_cmds_F77=
   14200 link_all_deplibs_F77=unknown
   14201 old_archive_cmds_F77=$old_archive_cmds
   14202 no_undefined_flag_F77=
   14203 whole_archive_flag_spec_F77=
   14204 enable_shared_with_static_runtimes_F77=no
   14205 
   14206 # Source file extension for f77 test sources.
   14207 ac_ext=f
   14208 
   14209 # Object file extension for compiled f77 test sources.
   14210 objext=o
   14211 objext_F77=$objext
   14212 
   14213 # Code to be used in simple compile tests
   14214 lt_simple_compile_test_code="\
   14215       subroutine t
   14216       return
   14217       end
   14218 "
   14219 
   14220 # Code to be used in simple link tests
   14221 lt_simple_link_test_code="\
   14222       program t
   14223       end
   14224 "
   14225 
   14226 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14227 
   14228 # If no C compiler was specified, use CC.
   14229 LTCC=${LTCC-"$CC"}
   14230 
   14231 # If no C compiler flags were specified, use CFLAGS.
   14232 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14233 
   14234 # Allow CC to be a program name with arguments.
   14235 compiler=$CC
   14236 
   14237 
   14238 # save warnings/boilerplate of simple test code
   14239 ac_outfile=conftest.$ac_objext
   14240 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14241 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14242 _lt_compiler_boilerplate=`cat conftest.err`
   14243 $rm conftest*
   14244 
   14245 ac_outfile=conftest.$ac_objext
   14246 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14247 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14248 _lt_linker_boilerplate=`cat conftest.err`
   14249 $rm -r conftest*
   14250 
   14251 
   14252 # Allow CC to be a program name with arguments.
   14253 lt_save_CC="$CC"
   14254 CC=${F77-"f77"}
   14255 compiler=$CC
   14256 compiler_F77=$CC
   14257 for cc_temp in $compiler""; do
   14258   case $cc_temp in
   14259     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14260     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14261     \-*) ;;
   14262     *) break;;
   14263   esac
   14264 done
   14265 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14266 
   14267 
   14268 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14269 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14270 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14271 $as_echo "$can_build_shared" >&6; }
   14272 
   14273 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14274 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14275 test "$can_build_shared" = "no" && enable_shared=no
   14276 
   14277 # On AIX, shared libraries and static libraries use the same namespace, and
   14278 # are all built from PIC.
   14279 case $host_os in
   14280 aix3*)
   14281   test "$enable_shared" = yes && enable_static=no
   14282   if test -n "$RANLIB"; then
   14283     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14284     postinstall_cmds='$RANLIB $lib'
   14285   fi
   14286   ;;
   14287 aix[4-9]*)
   14288   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14289     test "$enable_shared" = yes && enable_static=no
   14290   fi
   14291   ;;
   14292 esac
   14293 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14294 $as_echo "$enable_shared" >&6; }
   14295 
   14296 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14297 $as_echo_n "checking whether to build static libraries... " >&6; }
   14298 # Make sure either enable_shared or enable_static is yes.
   14299 test "$enable_shared" = yes || enable_static=yes
   14300 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14301 $as_echo "$enable_static" >&6; }
   14302 
   14303 GCC_F77="$G77"
   14304 LD_F77="$LD"
   14305 
   14306 lt_prog_compiler_wl_F77=
   14307 lt_prog_compiler_pic_F77=
   14308 lt_prog_compiler_static_F77=
   14309 
   14310 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14311 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14312 
   14313   if test "$GCC" = yes; then
   14314     lt_prog_compiler_wl_F77='-Wl,'
   14315     lt_prog_compiler_static_F77='-static'
   14316 
   14317     case $host_os in
   14318       aix*)
   14319       # All AIX code is PIC.
   14320       if test "$host_cpu" = ia64; then
   14321 	# AIX 5 now supports IA64 processor
   14322 	lt_prog_compiler_static_F77='-Bstatic'
   14323       fi
   14324       ;;
   14325 
   14326     amigaos*)
   14327       # FIXME: we need at least 68020 code to build shared libraries, but
   14328       # adding the `-m68020' flag to GCC prevents building anything better,
   14329       # like `-m68040'.
   14330       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14331       ;;
   14332 
   14333     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14334       # PIC is the default for these OSes.
   14335       ;;
   14336 
   14337     mingw* | cygwin* | pw32* | os2*)
   14338       # This hack is so that the source file can tell whether it is being
   14339       # built for inclusion in a dll (and should export symbols for example).
   14340       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14341       # (--disable-auto-import) libraries
   14342       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14343       ;;
   14344 
   14345     darwin* | rhapsody*)
   14346       # PIC is the default on this platform
   14347       # Common symbols not allowed in MH_DYLIB files
   14348       lt_prog_compiler_pic_F77='-fno-common'
   14349       ;;
   14350 
   14351     interix[3-9]*)
   14352       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14353       # Instead, we relocate shared libraries at runtime.
   14354       ;;
   14355 
   14356     msdosdjgpp*)
   14357       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14358       # on systems that don't support them.
   14359       lt_prog_compiler_can_build_shared_F77=no
   14360       enable_shared=no
   14361       ;;
   14362 
   14363     sysv4*MP*)
   14364       if test -d /usr/nec; then
   14365 	lt_prog_compiler_pic_F77=-Kconform_pic
   14366       fi
   14367       ;;
   14368 
   14369     hpux*)
   14370       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14371       # not for PA HP-UX.
   14372       case $host_cpu in
   14373       hppa*64*|ia64*)
   14374 	# +Z the default
   14375 	;;
   14376       *)
   14377 	lt_prog_compiler_pic_F77='-fPIC'
   14378 	;;
   14379       esac
   14380       ;;
   14381 
   14382     *)
   14383       lt_prog_compiler_pic_F77='-fPIC'
   14384       ;;
   14385     esac
   14386   else
   14387     # PORTME Check for flag to pass linker flags through the system compiler.
   14388     case $host_os in
   14389     aix*)
   14390       lt_prog_compiler_wl_F77='-Wl,'
   14391       if test "$host_cpu" = ia64; then
   14392 	# AIX 5 now supports IA64 processor
   14393 	lt_prog_compiler_static_F77='-Bstatic'
   14394       else
   14395 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14396       fi
   14397       ;;
   14398       darwin*)
   14399         # PIC is the default on this platform
   14400         # Common symbols not allowed in MH_DYLIB files
   14401        case $cc_basename in
   14402          xlc*)
   14403          lt_prog_compiler_pic_F77='-qnocommon'
   14404          lt_prog_compiler_wl_F77='-Wl,'
   14405          ;;
   14406        esac
   14407        ;;
   14408 
   14409     mingw* | cygwin* | pw32* | os2*)
   14410       # This hack is so that the source file can tell whether it is being
   14411       # built for inclusion in a dll (and should export symbols for example).
   14412       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14413       ;;
   14414 
   14415     hpux9* | hpux10* | hpux11*)
   14416       lt_prog_compiler_wl_F77='-Wl,'
   14417       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14418       # not for PA HP-UX.
   14419       case $host_cpu in
   14420       hppa*64*|ia64*)
   14421 	# +Z the default
   14422 	;;
   14423       *)
   14424 	lt_prog_compiler_pic_F77='+Z'
   14425 	;;
   14426       esac
   14427       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14428       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14429       ;;
   14430 
   14431     irix5* | irix6* | nonstopux*)
   14432       lt_prog_compiler_wl_F77='-Wl,'
   14433       # PIC (with -KPIC) is the default.
   14434       lt_prog_compiler_static_F77='-non_shared'
   14435       ;;
   14436 
   14437     newsos6)
   14438       lt_prog_compiler_pic_F77='-KPIC'
   14439       lt_prog_compiler_static_F77='-Bstatic'
   14440       ;;
   14441 
   14442     linux* | k*bsd*-gnu)
   14443       case $cc_basename in
   14444       icc* | ecc*)
   14445 	lt_prog_compiler_wl_F77='-Wl,'
   14446 	lt_prog_compiler_pic_F77='-KPIC'
   14447 	lt_prog_compiler_static_F77='-static'
   14448         ;;
   14449       pgcc* | pgf77* | pgf90* | pgf95*)
   14450         # Portland Group compilers (*not* the Pentium gcc compiler,
   14451 	# which looks to be a dead project)
   14452 	lt_prog_compiler_wl_F77='-Wl,'
   14453 	lt_prog_compiler_pic_F77='-fpic'
   14454 	lt_prog_compiler_static_F77='-Bstatic'
   14455         ;;
   14456       ccc*)
   14457         lt_prog_compiler_wl_F77='-Wl,'
   14458         # All Alpha code is PIC.
   14459         lt_prog_compiler_static_F77='-non_shared'
   14460         ;;
   14461       *)
   14462         case `$CC -V 2>&1 | sed 5q` in
   14463 	*Sun\ C*)
   14464 	  # Sun C 5.9
   14465 	  lt_prog_compiler_pic_F77='-KPIC'
   14466 	  lt_prog_compiler_static_F77='-Bstatic'
   14467 	  lt_prog_compiler_wl_F77='-Wl,'
   14468 	  ;;
   14469 	*Sun\ F*)
   14470 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14471 	  lt_prog_compiler_pic_F77='-KPIC'
   14472 	  lt_prog_compiler_static_F77='-Bstatic'
   14473 	  lt_prog_compiler_wl_F77=''
   14474 	  ;;
   14475 	esac
   14476 	;;
   14477       esac
   14478       ;;
   14479 
   14480     osf3* | osf4* | osf5*)
   14481       lt_prog_compiler_wl_F77='-Wl,'
   14482       # All OSF/1 code is PIC.
   14483       lt_prog_compiler_static_F77='-non_shared'
   14484       ;;
   14485 
   14486     rdos*)
   14487       lt_prog_compiler_static_F77='-non_shared'
   14488       ;;
   14489 
   14490     solaris*)
   14491       lt_prog_compiler_pic_F77='-KPIC'
   14492       lt_prog_compiler_static_F77='-Bstatic'
   14493       case $cc_basename in
   14494       f77* | f90* | f95*)
   14495 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14496       *)
   14497 	lt_prog_compiler_wl_F77='-Wl,';;
   14498       esac
   14499       ;;
   14500 
   14501     sunos4*)
   14502       lt_prog_compiler_wl_F77='-Qoption ld '
   14503       lt_prog_compiler_pic_F77='-PIC'
   14504       lt_prog_compiler_static_F77='-Bstatic'
   14505       ;;
   14506 
   14507     sysv4 | sysv4.2uw2* | sysv4.3*)
   14508       lt_prog_compiler_wl_F77='-Wl,'
   14509       lt_prog_compiler_pic_F77='-KPIC'
   14510       lt_prog_compiler_static_F77='-Bstatic'
   14511       ;;
   14512 
   14513     sysv4*MP*)
   14514       if test -d /usr/nec ;then
   14515 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14516 	lt_prog_compiler_static_F77='-Bstatic'
   14517       fi
   14518       ;;
   14519 
   14520     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14521       lt_prog_compiler_wl_F77='-Wl,'
   14522       lt_prog_compiler_pic_F77='-KPIC'
   14523       lt_prog_compiler_static_F77='-Bstatic'
   14524       ;;
   14525 
   14526     unicos*)
   14527       lt_prog_compiler_wl_F77='-Wl,'
   14528       lt_prog_compiler_can_build_shared_F77=no
   14529       ;;
   14530 
   14531     uts4*)
   14532       lt_prog_compiler_pic_F77='-pic'
   14533       lt_prog_compiler_static_F77='-Bstatic'
   14534       ;;
   14535 
   14536     *)
   14537       lt_prog_compiler_can_build_shared_F77=no
   14538       ;;
   14539     esac
   14540   fi
   14541 
   14542 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14543 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14544 
   14545 #
   14546 # Check to make sure the PIC flag actually works.
   14547 #
   14548 if test -n "$lt_prog_compiler_pic_F77"; then
   14549 
   14550 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14551 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14552 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14553   $as_echo_n "(cached) " >&6
   14554 else
   14555   lt_cv_prog_compiler_pic_works_F77=no
   14556   ac_outfile=conftest.$ac_objext
   14557    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14558    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14559    # Insert the option either (1) after the last *FLAGS variable, or
   14560    # (2) before a word containing "conftest.", or (3) at the end.
   14561    # Note that $ac_compile itself does not contain backslashes and begins
   14562    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14563    # The option is referenced via a variable to avoid confusing sed.
   14564    lt_compile=`echo "$ac_compile" | $SED \
   14565    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14566    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14567    -e 's:$: $lt_compiler_flag:'`
   14568    (eval echo "\"\$as_me:14568: $lt_compile\"" >&5)
   14569    (eval "$lt_compile" 2>conftest.err)
   14570    ac_status=$?
   14571    cat conftest.err >&5
   14572    echo "$as_me:14572: \$? = $ac_status" >&5
   14573    if (exit $ac_status) && test -s "$ac_outfile"; then
   14574      # The compiler can only warn and ignore the option if not recognized
   14575      # So say no if there are warnings other than the usual output.
   14576      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14577      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14578      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14579        lt_cv_prog_compiler_pic_works_F77=yes
   14580      fi
   14581    fi
   14582    $rm conftest*
   14583 
   14584 fi
   14585 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14586 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14587 
   14588 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14589     case $lt_prog_compiler_pic_F77 in
   14590      "" | " "*) ;;
   14591      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14592      esac
   14593 else
   14594     lt_prog_compiler_pic_F77=
   14595      lt_prog_compiler_can_build_shared_F77=no
   14596 fi
   14597 
   14598 fi
   14599 case $host_os in
   14600   # For platforms which do not support PIC, -DPIC is meaningless:
   14601   *djgpp*)
   14602     lt_prog_compiler_pic_F77=
   14603     ;;
   14604   *)
   14605     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14606     ;;
   14607 esac
   14608 
   14609 #
   14610 # Check to make sure the static flag actually works.
   14611 #
   14612 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14613 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14614 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14615 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14616   $as_echo_n "(cached) " >&6
   14617 else
   14618   lt_cv_prog_compiler_static_works_F77=no
   14619    save_LDFLAGS="$LDFLAGS"
   14620    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14621    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14622    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14623      # The linker can only warn and ignore the option if not recognized
   14624      # So say no if there are warnings
   14625      if test -s conftest.err; then
   14626        # Append any errors to the config.log.
   14627        cat conftest.err 1>&5
   14628        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14629        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14630        if diff conftest.exp conftest.er2 >/dev/null; then
   14631          lt_cv_prog_compiler_static_works_F77=yes
   14632        fi
   14633      else
   14634        lt_cv_prog_compiler_static_works_F77=yes
   14635      fi
   14636    fi
   14637    $rm -r conftest*
   14638    LDFLAGS="$save_LDFLAGS"
   14639 
   14640 fi
   14641 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14642 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14643 
   14644 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14645     :
   14646 else
   14647     lt_prog_compiler_static_F77=
   14648 fi
   14649 
   14650 
   14651 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14652 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14653 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14654   $as_echo_n "(cached) " >&6
   14655 else
   14656   lt_cv_prog_compiler_c_o_F77=no
   14657    $rm -r conftest 2>/dev/null
   14658    mkdir conftest
   14659    cd conftest
   14660    mkdir out
   14661    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14662 
   14663    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14664    # Insert the option either (1) after the last *FLAGS variable, or
   14665    # (2) before a word containing "conftest.", or (3) at the end.
   14666    # Note that $ac_compile itself does not contain backslashes and begins
   14667    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14668    lt_compile=`echo "$ac_compile" | $SED \
   14669    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14670    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14671    -e 's:$: $lt_compiler_flag:'`
   14672    (eval echo "\"\$as_me:14672: $lt_compile\"" >&5)
   14673    (eval "$lt_compile" 2>out/conftest.err)
   14674    ac_status=$?
   14675    cat out/conftest.err >&5
   14676    echo "$as_me:14676: \$? = $ac_status" >&5
   14677    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14678    then
   14679      # The compiler can only warn and ignore the option if not recognized
   14680      # So say no if there are warnings
   14681      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14682      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14683      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14684        lt_cv_prog_compiler_c_o_F77=yes
   14685      fi
   14686    fi
   14687    chmod u+w . 2>&5
   14688    $rm conftest*
   14689    # SGI C++ compiler will create directory out/ii_files/ for
   14690    # template instantiation
   14691    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14692    $rm out/* && rmdir out
   14693    cd ..
   14694    rmdir conftest
   14695    $rm conftest*
   14696 
   14697 fi
   14698 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14699 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14700 
   14701 
   14702 hard_links="nottested"
   14703 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14704   # do not overwrite the value of need_locks provided by the user
   14705   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14706 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14707   hard_links=yes
   14708   $rm conftest*
   14709   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14710   touch conftest.a
   14711   ln conftest.a conftest.b 2>&5 || hard_links=no
   14712   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14713   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14714 $as_echo "$hard_links" >&6; }
   14715   if test "$hard_links" = no; then
   14716     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14717 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14718     need_locks=warn
   14719   fi
   14720 else
   14721   need_locks=no
   14722 fi
   14723 
   14724 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14725 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14726 
   14727   runpath_var=
   14728   allow_undefined_flag_F77=
   14729   enable_shared_with_static_runtimes_F77=no
   14730   archive_cmds_F77=
   14731   archive_expsym_cmds_F77=
   14732   old_archive_From_new_cmds_F77=
   14733   old_archive_from_expsyms_cmds_F77=
   14734   export_dynamic_flag_spec_F77=
   14735   whole_archive_flag_spec_F77=
   14736   thread_safe_flag_spec_F77=
   14737   hardcode_libdir_flag_spec_F77=
   14738   hardcode_libdir_flag_spec_ld_F77=
   14739   hardcode_libdir_separator_F77=
   14740   hardcode_direct_F77=no
   14741   hardcode_minus_L_F77=no
   14742   hardcode_shlibpath_var_F77=unsupported
   14743   link_all_deplibs_F77=unknown
   14744   hardcode_automatic_F77=no
   14745   module_cmds_F77=
   14746   module_expsym_cmds_F77=
   14747   always_export_symbols_F77=no
   14748   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14749   # include_expsyms should be a list of space-separated symbols to be *always*
   14750   # included in the symbol list
   14751   include_expsyms_F77=
   14752   # exclude_expsyms can be an extended regexp of symbols to exclude
   14753   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14754   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14755   # as well as any symbol that contains `d'.
   14756   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14757   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14758   # platforms (ab)use it in PIC code, but their linkers get confused if
   14759   # the symbol is explicitly referenced.  Since portable code cannot
   14760   # rely on this symbol name, it's probably fine to never include it in
   14761   # preloaded symbol tables.
   14762   # Exclude shared library initialization/finalization symbols.
   14763   extract_expsyms_cmds=
   14764   # Just being paranoid about ensuring that cc_basename is set.
   14765   for cc_temp in $compiler""; do
   14766   case $cc_temp in
   14767     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14768     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14769     \-*) ;;
   14770     *) break;;
   14771   esac
   14772 done
   14773 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14774 
   14775   case $host_os in
   14776   cygwin* | mingw* | pw32*)
   14777     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14778     # When not using gcc, we currently assume that we are using
   14779     # Microsoft Visual C++.
   14780     if test "$GCC" != yes; then
   14781       with_gnu_ld=no
   14782     fi
   14783     ;;
   14784   interix*)
   14785     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14786     with_gnu_ld=yes
   14787     ;;
   14788   openbsd*)
   14789     with_gnu_ld=no
   14790     ;;
   14791   esac
   14792 
   14793   ld_shlibs_F77=yes
   14794   if test "$with_gnu_ld" = yes; then
   14795     # If archive_cmds runs LD, not CC, wlarc should be empty
   14796     wlarc='${wl}'
   14797 
   14798     # Set some defaults for GNU ld with shared library support. These
   14799     # are reset later if shared libraries are not supported. Putting them
   14800     # here allows them to be overridden if necessary.
   14801     runpath_var=LD_RUN_PATH
   14802     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14803     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14804     # ancient GNU ld didn't support --whole-archive et. al.
   14805     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14806 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14807       else
   14808   	whole_archive_flag_spec_F77=
   14809     fi
   14810     supports_anon_versioning=no
   14811     case `$LD -v 2>/dev/null` in
   14812       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14813       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14814       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14815       *\ 2.11.*) ;; # other 2.11 versions
   14816       *) supports_anon_versioning=yes ;;
   14817     esac
   14818 
   14819     # See if GNU ld supports shared libraries.
   14820     case $host_os in
   14821     aix[3-9]*)
   14822       # On AIX/PPC, the GNU linker is very broken
   14823       if test "$host_cpu" != ia64; then
   14824 	ld_shlibs_F77=no
   14825 	cat <<EOF 1>&2
   14826 
   14827 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14828 *** to be unable to reliably create shared libraries on AIX.
   14829 *** Therefore, libtool is disabling shared libraries support.  If you
   14830 *** really care for shared libraries, you may want to modify your PATH
   14831 *** so that a non-GNU linker is found, and then restart.
   14832 
   14833 EOF
   14834       fi
   14835       ;;
   14836 
   14837     amigaos*)
   14838       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)'
   14839       hardcode_libdir_flag_spec_F77='-L$libdir'
   14840       hardcode_minus_L_F77=yes
   14841 
   14842       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14843       # that the semantics of dynamic libraries on AmigaOS, at least up
   14844       # to version 4, is to share data among multiple programs linked
   14845       # with the same dynamic library.  Since this doesn't match the
   14846       # behavior of shared libraries on other platforms, we can't use
   14847       # them.
   14848       ld_shlibs_F77=no
   14849       ;;
   14850 
   14851     beos*)
   14852       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14853 	allow_undefined_flag_F77=unsupported
   14854 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14855 	# support --undefined.  This deserves some investigation.  FIXME
   14856 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14857       else
   14858 	ld_shlibs_F77=no
   14859       fi
   14860       ;;
   14861 
   14862     cygwin* | mingw* | pw32*)
   14863       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14864       # as there is no search path for DLLs.
   14865       hardcode_libdir_flag_spec_F77='-L$libdir'
   14866       allow_undefined_flag_F77=unsupported
   14867       always_export_symbols_F77=no
   14868       enable_shared_with_static_runtimes_F77=yes
   14869       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14870 
   14871       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14872         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14873 	# If the export-symbols file already is a .def file (1st line
   14874 	# is EXPORTS), use it as is; otherwise, prepend...
   14875 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14876 	  cp $export_symbols $output_objdir/$soname.def;
   14877 	else
   14878 	  echo EXPORTS > $output_objdir/$soname.def;
   14879 	  cat $export_symbols >> $output_objdir/$soname.def;
   14880 	fi~
   14881 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14882       else
   14883 	ld_shlibs_F77=no
   14884       fi
   14885       ;;
   14886 
   14887     interix[3-9]*)
   14888       hardcode_direct_F77=no
   14889       hardcode_shlibpath_var_F77=no
   14890       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14891       export_dynamic_flag_spec_F77='${wl}-E'
   14892       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14893       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14894       # default) and relocated if they conflict, which is a slow very memory
   14895       # consuming and fragmenting process.  To avoid this, we pick a random,
   14896       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14897       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14898       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'
   14899       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'
   14900       ;;
   14901 
   14902     gnu* | linux* | k*bsd*-gnu)
   14903       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14904 	tmp_addflag=
   14905 	case $cc_basename,$host_cpu in
   14906 	pgcc*)				# Portland Group C compiler
   14907 	  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'
   14908 	  tmp_addflag=' $pic_flag'
   14909 	  ;;
   14910 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14911 	  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'
   14912 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14913 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14914 	  tmp_addflag=' -i_dynamic' ;;
   14915 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14916 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14917 	ifc* | ifort*)			# Intel Fortran compiler
   14918 	  tmp_addflag=' -nofor_main' ;;
   14919 	esac
   14920 	case `$CC -V 2>&1 | sed 5q` in
   14921 	*Sun\ C*)			# Sun C 5.9
   14922 	  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'
   14923 	  tmp_sharedflag='-G' ;;
   14924 	*Sun\ F*)			# Sun Fortran 8.3
   14925 	  tmp_sharedflag='-G' ;;
   14926 	*)
   14927 	  tmp_sharedflag='-shared' ;;
   14928 	esac
   14929 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14930 
   14931 	if test $supports_anon_versioning = yes; then
   14932 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14933   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14934   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14935 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14936 	fi
   14937       else
   14938 	ld_shlibs_F77=no
   14939       fi
   14940       ;;
   14941 
   14942     netbsd*)
   14943       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14944 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14945 	wlarc=
   14946       else
   14947 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14948 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14949       fi
   14950       ;;
   14951 
   14952     solaris*)
   14953       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14954 	ld_shlibs_F77=no
   14955 	cat <<EOF 1>&2
   14956 
   14957 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14958 *** create shared libraries on Solaris systems.  Therefore, libtool
   14959 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14960 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14961 *** your PATH or compiler configuration so that the native linker is
   14962 *** used, and then restart.
   14963 
   14964 EOF
   14965       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14966 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14967 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14968       else
   14969 	ld_shlibs_F77=no
   14970       fi
   14971       ;;
   14972 
   14973     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14974       case `$LD -v 2>&1` in
   14975         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14976 	ld_shlibs_F77=no
   14977 	cat <<_LT_EOF 1>&2
   14978 
   14979 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14980 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14981 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14982 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14983 *** your PATH or compiler configuration so that the native linker is
   14984 *** used, and then restart.
   14985 
   14986 _LT_EOF
   14987 	;;
   14988 	*)
   14989 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14990 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14991 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14992 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14993 	  else
   14994 	    ld_shlibs_F77=no
   14995 	  fi
   14996 	;;
   14997       esac
   14998       ;;
   14999 
   15000     sunos4*)
   15001       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15002       wlarc=
   15003       hardcode_direct_F77=yes
   15004       hardcode_shlibpath_var_F77=no
   15005       ;;
   15006 
   15007     *)
   15008       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15009 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15010 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15011       else
   15012 	ld_shlibs_F77=no
   15013       fi
   15014       ;;
   15015     esac
   15016 
   15017     if test "$ld_shlibs_F77" = no; then
   15018       runpath_var=
   15019       hardcode_libdir_flag_spec_F77=
   15020       export_dynamic_flag_spec_F77=
   15021       whole_archive_flag_spec_F77=
   15022     fi
   15023   else
   15024     # PORTME fill in a description of your system's linker (not GNU ld)
   15025     case $host_os in
   15026     aix3*)
   15027       allow_undefined_flag_F77=unsupported
   15028       always_export_symbols_F77=yes
   15029       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'
   15030       # Note: this linker hardcodes the directories in LIBPATH if there
   15031       # are no directories specified by -L.
   15032       hardcode_minus_L_F77=yes
   15033       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15034 	# Neither direct hardcoding nor static linking is supported with a
   15035 	# broken collect2.
   15036 	hardcode_direct_F77=unsupported
   15037       fi
   15038       ;;
   15039 
   15040     aix[4-9]*)
   15041       if test "$host_cpu" = ia64; then
   15042 	# On IA64, the linker does run time linking by default, so we don't
   15043 	# have to do anything special.
   15044 	aix_use_runtimelinking=no
   15045 	exp_sym_flag='-Bexport'
   15046 	no_entry_flag=""
   15047       else
   15048 	# If we're using GNU nm, then we don't want the "-C" option.
   15049 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15050 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15051 	  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'
   15052 	else
   15053 	  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'
   15054 	fi
   15055 	aix_use_runtimelinking=no
   15056 
   15057 	# Test if we are trying to use run time linking or normal
   15058 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15059 	# need to do runtime linking.
   15060 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15061 	  for ld_flag in $LDFLAGS; do
   15062   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15063   	    aix_use_runtimelinking=yes
   15064   	    break
   15065   	  fi
   15066 	  done
   15067 	  ;;
   15068 	esac
   15069 
   15070 	exp_sym_flag='-bexport'
   15071 	no_entry_flag='-bnoentry'
   15072       fi
   15073 
   15074       # When large executables or shared objects are built, AIX ld can
   15075       # have problems creating the table of contents.  If linking a library
   15076       # or program results in "error TOC overflow" add -mminimal-toc to
   15077       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15078       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15079 
   15080       archive_cmds_F77=''
   15081       hardcode_direct_F77=yes
   15082       hardcode_libdir_separator_F77=':'
   15083       link_all_deplibs_F77=yes
   15084 
   15085       if test "$GCC" = yes; then
   15086 	case $host_os in aix4.[012]|aix4.[012].*)
   15087 	# We only want to do this on AIX 4.2 and lower, the check
   15088 	# below for broken collect2 doesn't work under 4.3+
   15089 	  collect2name=`${CC} -print-prog-name=collect2`
   15090 	  if test -f "$collect2name" && \
   15091   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15092 	  then
   15093   	  # We have reworked collect2
   15094   	  :
   15095 	  else
   15096   	  # We have old collect2
   15097   	  hardcode_direct_F77=unsupported
   15098   	  # It fails to find uninstalled libraries when the uninstalled
   15099   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15100   	  # to unsupported forces relinking
   15101   	  hardcode_minus_L_F77=yes
   15102   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15103   	  hardcode_libdir_separator_F77=
   15104 	  fi
   15105 	  ;;
   15106 	esac
   15107 	shared_flag='-shared'
   15108 	if test "$aix_use_runtimelinking" = yes; then
   15109 	  shared_flag="$shared_flag "'${wl}-G'
   15110 	fi
   15111       else
   15112 	# not using gcc
   15113 	if test "$host_cpu" = ia64; then
   15114   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15115   	# chokes on -Wl,-G. The following line is correct:
   15116 	  shared_flag='-G'
   15117 	else
   15118 	  if test "$aix_use_runtimelinking" = yes; then
   15119 	    shared_flag='${wl}-G'
   15120 	  else
   15121 	    shared_flag='${wl}-bM:SRE'
   15122 	  fi
   15123 	fi
   15124       fi
   15125 
   15126       # It seems that -bexpall does not export symbols beginning with
   15127       # underscore (_), so it is better to generate a list of symbols to export.
   15128       always_export_symbols_F77=yes
   15129       if test "$aix_use_runtimelinking" = yes; then
   15130 	# Warning - without using the other runtime loading flags (-brtl),
   15131 	# -berok will link without error, but may produce a broken library.
   15132 	allow_undefined_flag_F77='-berok'
   15133        # Determine the default libpath from the value encoded in an empty executable.
   15134        cat >conftest.$ac_ext <<_ACEOF
   15135       program main
   15136 
   15137       end
   15138 _ACEOF
   15139 rm -f conftest.$ac_objext conftest$ac_exeext
   15140 if { (ac_try="$ac_link"
   15141 case "(($ac_try" in
   15142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15143   *) ac_try_echo=$ac_try;;
   15144 esac
   15145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15146 $as_echo "$ac_try_echo") >&5
   15147   (eval "$ac_link") 2>conftest.er1
   15148   ac_status=$?
   15149   grep -v '^ *+' conftest.er1 >conftest.err
   15150   rm -f conftest.er1
   15151   cat conftest.err >&5
   15152   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15153   (exit $ac_status); } && {
   15154 	 test -z "$ac_f77_werror_flag" ||
   15155 	 test ! -s conftest.err
   15156        } && test -s conftest$ac_exeext && {
   15157 	 test "$cross_compiling" = yes ||
   15158 	 $as_test_x conftest$ac_exeext
   15159        }; then
   15160 
   15161 lt_aix_libpath_sed='
   15162     /Import File Strings/,/^$/ {
   15163 	/^0/ {
   15164 	    s/^0  *\(.*\)$/\1/
   15165 	    p
   15166 	}
   15167     }'
   15168 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15169 # Check for a 64-bit object if we didn't find anything.
   15170 if test -z "$aix_libpath"; then
   15171   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15172 fi
   15173 else
   15174   $as_echo "$as_me: failed program was:" >&5
   15175 sed 's/^/| /' conftest.$ac_ext >&5
   15176 
   15177 
   15178 fi
   15179 
   15180 rm -rf conftest.dSYM
   15181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15182       conftest$ac_exeext conftest.$ac_ext
   15183 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15184 
   15185        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15186 	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"
   15187        else
   15188 	if test "$host_cpu" = ia64; then
   15189 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15190 	  allow_undefined_flag_F77="-z nodefs"
   15191 	  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"
   15192 	else
   15193 	 # Determine the default libpath from the value encoded in an empty executable.
   15194 	 cat >conftest.$ac_ext <<_ACEOF
   15195       program main
   15196 
   15197       end
   15198 _ACEOF
   15199 rm -f conftest.$ac_objext conftest$ac_exeext
   15200 if { (ac_try="$ac_link"
   15201 case "(($ac_try" in
   15202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15203   *) ac_try_echo=$ac_try;;
   15204 esac
   15205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15206 $as_echo "$ac_try_echo") >&5
   15207   (eval "$ac_link") 2>conftest.er1
   15208   ac_status=$?
   15209   grep -v '^ *+' conftest.er1 >conftest.err
   15210   rm -f conftest.er1
   15211   cat conftest.err >&5
   15212   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15213   (exit $ac_status); } && {
   15214 	 test -z "$ac_f77_werror_flag" ||
   15215 	 test ! -s conftest.err
   15216        } && test -s conftest$ac_exeext && {
   15217 	 test "$cross_compiling" = yes ||
   15218 	 $as_test_x conftest$ac_exeext
   15219        }; then
   15220 
   15221 lt_aix_libpath_sed='
   15222     /Import File Strings/,/^$/ {
   15223 	/^0/ {
   15224 	    s/^0  *\(.*\)$/\1/
   15225 	    p
   15226 	}
   15227     }'
   15228 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15229 # Check for a 64-bit object if we didn't find anything.
   15230 if test -z "$aix_libpath"; then
   15231   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15232 fi
   15233 else
   15234   $as_echo "$as_me: failed program was:" >&5
   15235 sed 's/^/| /' conftest.$ac_ext >&5
   15236 
   15237 
   15238 fi
   15239 
   15240 rm -rf conftest.dSYM
   15241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15242       conftest$ac_exeext conftest.$ac_ext
   15243 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15244 
   15245 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15246 	  # Warning - without using the other run time loading flags,
   15247 	  # -berok will link without error, but may produce a broken library.
   15248 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15249 	  allow_undefined_flag_F77=' ${wl}-berok'
   15250 	  # Exported symbols can be pulled into shared objects from archives
   15251 	  whole_archive_flag_spec_F77='$convenience'
   15252 	  archive_cmds_need_lc_F77=yes
   15253 	  # This is similar to how AIX traditionally builds its shared libraries.
   15254 	  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'
   15255 	fi
   15256       fi
   15257       ;;
   15258 
   15259     amigaos*)
   15260       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)'
   15261       hardcode_libdir_flag_spec_F77='-L$libdir'
   15262       hardcode_minus_L_F77=yes
   15263       # see comment about different semantics on the GNU ld section
   15264       ld_shlibs_F77=no
   15265       ;;
   15266 
   15267     bsdi[45]*)
   15268       export_dynamic_flag_spec_F77=-rdynamic
   15269       ;;
   15270 
   15271     cygwin* | mingw* | pw32*)
   15272       # When not using gcc, we currently assume that we are using
   15273       # Microsoft Visual C++.
   15274       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15275       # no search path for DLLs.
   15276       hardcode_libdir_flag_spec_F77=' '
   15277       allow_undefined_flag_F77=unsupported
   15278       # Tell ltmain to make .lib files, not .a files.
   15279       libext=lib
   15280       # Tell ltmain to make .dll files, not .so files.
   15281       shrext_cmds=".dll"
   15282       # FIXME: Setting linknames here is a bad hack.
   15283       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15284       # The linker will automatically build a .lib file if we build a DLL.
   15285       old_archive_From_new_cmds_F77='true'
   15286       # FIXME: Should let the user specify the lib program.
   15287       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15288       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15289       enable_shared_with_static_runtimes_F77=yes
   15290       ;;
   15291 
   15292     darwin* | rhapsody*)
   15293       case $host_os in
   15294         rhapsody* | darwin1.[012])
   15295          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15296          ;;
   15297        *) # Darwin 1.3 on
   15298          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15299            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15300          else
   15301            case ${MACOSX_DEPLOYMENT_TARGET} in
   15302              10.[012])
   15303                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15304                ;;
   15305              10.*)
   15306                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15307                ;;
   15308            esac
   15309          fi
   15310          ;;
   15311       esac
   15312       archive_cmds_need_lc_F77=no
   15313       hardcode_direct_F77=no
   15314       hardcode_automatic_F77=yes
   15315       hardcode_shlibpath_var_F77=unsupported
   15316       whole_archive_flag_spec_F77=''
   15317       link_all_deplibs_F77=yes
   15318     if test "$GCC" = yes ; then
   15319     	output_verbose_link_cmd='echo'
   15320         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}"
   15321         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15322         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}"
   15323         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}"
   15324     else
   15325       case $cc_basename in
   15326         xlc*)
   15327          output_verbose_link_cmd='echo'
   15328          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15329          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15330           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15331          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}'
   15332           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}'
   15333           ;;
   15334        *)
   15335          ld_shlibs_F77=no
   15336           ;;
   15337       esac
   15338     fi
   15339       ;;
   15340 
   15341     dgux*)
   15342       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15343       hardcode_libdir_flag_spec_F77='-L$libdir'
   15344       hardcode_shlibpath_var_F77=no
   15345       ;;
   15346 
   15347     freebsd1*)
   15348       ld_shlibs_F77=no
   15349       ;;
   15350 
   15351     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15352     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15353     # does not break anything, and helps significantly (at the cost of a little
   15354     # extra space).
   15355     freebsd2.2*)
   15356       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15357       hardcode_libdir_flag_spec_F77='-R$libdir'
   15358       hardcode_direct_F77=yes
   15359       hardcode_shlibpath_var_F77=no
   15360       ;;
   15361 
   15362     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15363     freebsd2*)
   15364       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15365       hardcode_direct_F77=yes
   15366       hardcode_minus_L_F77=yes
   15367       hardcode_shlibpath_var_F77=no
   15368       ;;
   15369 
   15370     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15371     freebsd* | dragonfly*)
   15372       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15373       hardcode_libdir_flag_spec_F77='-R$libdir'
   15374       hardcode_direct_F77=yes
   15375       hardcode_shlibpath_var_F77=no
   15376       ;;
   15377 
   15378     hpux9*)
   15379       if test "$GCC" = yes; then
   15380 	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'
   15381       else
   15382 	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'
   15383       fi
   15384       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15385       hardcode_libdir_separator_F77=:
   15386       hardcode_direct_F77=yes
   15387 
   15388       # hardcode_minus_L: Not really in the search PATH,
   15389       # but as the default location of the library.
   15390       hardcode_minus_L_F77=yes
   15391       export_dynamic_flag_spec_F77='${wl}-E'
   15392       ;;
   15393 
   15394     hpux10*)
   15395       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15396 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15397       else
   15398 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15399       fi
   15400       if test "$with_gnu_ld" = no; then
   15401 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15402 	hardcode_libdir_separator_F77=:
   15403 
   15404 	hardcode_direct_F77=yes
   15405 	export_dynamic_flag_spec_F77='${wl}-E'
   15406 
   15407 	# hardcode_minus_L: Not really in the search PATH,
   15408 	# but as the default location of the library.
   15409 	hardcode_minus_L_F77=yes
   15410       fi
   15411       ;;
   15412 
   15413     hpux11*)
   15414       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15415 	case $host_cpu in
   15416 	hppa*64*)
   15417 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15418 	  ;;
   15419 	ia64*)
   15420 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15421 	  ;;
   15422 	*)
   15423 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15424 	  ;;
   15425 	esac
   15426       else
   15427 	case $host_cpu in
   15428 	hppa*64*)
   15429 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15430 	  ;;
   15431 	ia64*)
   15432 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15433 	  ;;
   15434 	*)
   15435 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15436 	  ;;
   15437 	esac
   15438       fi
   15439       if test "$with_gnu_ld" = no; then
   15440 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15441 	hardcode_libdir_separator_F77=:
   15442 
   15443 	case $host_cpu in
   15444 	hppa*64*|ia64*)
   15445 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15446 	  hardcode_direct_F77=no
   15447 	  hardcode_shlibpath_var_F77=no
   15448 	  ;;
   15449 	*)
   15450 	  hardcode_direct_F77=yes
   15451 	  export_dynamic_flag_spec_F77='${wl}-E'
   15452 
   15453 	  # hardcode_minus_L: Not really in the search PATH,
   15454 	  # but as the default location of the library.
   15455 	  hardcode_minus_L_F77=yes
   15456 	  ;;
   15457 	esac
   15458       fi
   15459       ;;
   15460 
   15461     irix5* | irix6* | nonstopux*)
   15462       if test "$GCC" = yes; then
   15463 	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'
   15464       else
   15465 	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'
   15466 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15467       fi
   15468       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15469       hardcode_libdir_separator_F77=:
   15470       link_all_deplibs_F77=yes
   15471       ;;
   15472 
   15473     netbsd*)
   15474       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15475 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15476       else
   15477 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15478       fi
   15479       hardcode_libdir_flag_spec_F77='-R$libdir'
   15480       hardcode_direct_F77=yes
   15481       hardcode_shlibpath_var_F77=no
   15482       ;;
   15483 
   15484     newsos6)
   15485       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15486       hardcode_direct_F77=yes
   15487       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15488       hardcode_libdir_separator_F77=:
   15489       hardcode_shlibpath_var_F77=no
   15490       ;;
   15491 
   15492     openbsd*)
   15493       if test -f /usr/libexec/ld.so; then
   15494 	hardcode_direct_F77=yes
   15495 	hardcode_shlibpath_var_F77=no
   15496 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15497 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15498 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15499 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15500 	  export_dynamic_flag_spec_F77='${wl}-E'
   15501 	else
   15502 	  case $host_os in
   15503 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15504 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15505 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15506 	     ;;
   15507 	   *)
   15508 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15509 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15510 	     ;;
   15511 	  esac
   15512         fi
   15513       else
   15514 	ld_shlibs_F77=no
   15515       fi
   15516       ;;
   15517 
   15518     os2*)
   15519       hardcode_libdir_flag_spec_F77='-L$libdir'
   15520       hardcode_minus_L_F77=yes
   15521       allow_undefined_flag_F77=unsupported
   15522       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'
   15523       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15524       ;;
   15525 
   15526     osf3*)
   15527       if test "$GCC" = yes; then
   15528 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15529 	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'
   15530       else
   15531 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15532 	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'
   15533       fi
   15534       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15535       hardcode_libdir_separator_F77=:
   15536       ;;
   15537 
   15538     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15539       if test "$GCC" = yes; then
   15540 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15541 	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'
   15542 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15543       else
   15544 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15545 	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'
   15546 	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~
   15547 	$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'
   15548 
   15549 	# Both c and cxx compiler support -rpath directly
   15550 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15551       fi
   15552       hardcode_libdir_separator_F77=:
   15553       ;;
   15554 
   15555     solaris*)
   15556       no_undefined_flag_F77=' -z text'
   15557       if test "$GCC" = yes; then
   15558 	wlarc='${wl}'
   15559 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15560 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15561 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15562       else
   15563 	wlarc=''
   15564 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15565 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15566   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15567       fi
   15568       hardcode_libdir_flag_spec_F77='-R$libdir'
   15569       hardcode_shlibpath_var_F77=no
   15570       case $host_os in
   15571       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15572       *)
   15573 	# The compiler driver will combine and reorder linker options,
   15574 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15575 	# but is careful enough not to reorder.
   15576  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15577 	if test "$GCC" = yes; then
   15578 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15579 	else
   15580 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15581 	fi
   15582 	;;
   15583       esac
   15584       link_all_deplibs_F77=yes
   15585       ;;
   15586 
   15587     sunos4*)
   15588       if test "x$host_vendor" = xsequent; then
   15589 	# Use $CC to link under sequent, because it throws in some extra .o
   15590 	# files that make .init and .fini sections work.
   15591 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15592       else
   15593 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15594       fi
   15595       hardcode_libdir_flag_spec_F77='-L$libdir'
   15596       hardcode_direct_F77=yes
   15597       hardcode_minus_L_F77=yes
   15598       hardcode_shlibpath_var_F77=no
   15599       ;;
   15600 
   15601     sysv4)
   15602       case $host_vendor in
   15603 	sni)
   15604 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15605 	  hardcode_direct_F77=yes # is this really true???
   15606 	;;
   15607 	siemens)
   15608 	  ## LD is ld it makes a PLAMLIB
   15609 	  ## CC just makes a GrossModule.
   15610 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15611 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15612 	  hardcode_direct_F77=no
   15613         ;;
   15614 	motorola)
   15615 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15616 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15617 	;;
   15618       esac
   15619       runpath_var='LD_RUN_PATH'
   15620       hardcode_shlibpath_var_F77=no
   15621       ;;
   15622 
   15623     sysv4.3*)
   15624       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15625       hardcode_shlibpath_var_F77=no
   15626       export_dynamic_flag_spec_F77='-Bexport'
   15627       ;;
   15628 
   15629     sysv4*MP*)
   15630       if test -d /usr/nec; then
   15631 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15632 	hardcode_shlibpath_var_F77=no
   15633 	runpath_var=LD_RUN_PATH
   15634 	hardcode_runpath_var=yes
   15635 	ld_shlibs_F77=yes
   15636       fi
   15637       ;;
   15638 
   15639     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15640       no_undefined_flag_F77='${wl}-z,text'
   15641       archive_cmds_need_lc_F77=no
   15642       hardcode_shlibpath_var_F77=no
   15643       runpath_var='LD_RUN_PATH'
   15644 
   15645       if test "$GCC" = yes; then
   15646 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15647 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15648       else
   15649 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15650 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15651       fi
   15652       ;;
   15653 
   15654     sysv5* | sco3.2v5* | sco5v6*)
   15655       # Note: We can NOT use -z defs as we might desire, because we do not
   15656       # link with -lc, and that would cause any symbols used from libc to
   15657       # always be unresolved, which means just about no library would
   15658       # ever link correctly.  If we're not using GNU ld we use -z text
   15659       # though, which does catch some bad symbols but isn't as heavy-handed
   15660       # as -z defs.
   15661       no_undefined_flag_F77='${wl}-z,text'
   15662       allow_undefined_flag_F77='${wl}-z,nodefs'
   15663       archive_cmds_need_lc_F77=no
   15664       hardcode_shlibpath_var_F77=no
   15665       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15666       hardcode_libdir_separator_F77=':'
   15667       link_all_deplibs_F77=yes
   15668       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15669       runpath_var='LD_RUN_PATH'
   15670 
   15671       if test "$GCC" = yes; then
   15672 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15673 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15674       else
   15675 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15676 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15677       fi
   15678       ;;
   15679 
   15680     uts4*)
   15681       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15682       hardcode_libdir_flag_spec_F77='-L$libdir'
   15683       hardcode_shlibpath_var_F77=no
   15684       ;;
   15685 
   15686     *)
   15687       ld_shlibs_F77=no
   15688       ;;
   15689     esac
   15690   fi
   15691 
   15692 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15693 $as_echo "$ld_shlibs_F77" >&6; }
   15694 test "$ld_shlibs_F77" = no && can_build_shared=no
   15695 
   15696 #
   15697 # Do we need to explicitly link libc?
   15698 #
   15699 case "x$archive_cmds_need_lc_F77" in
   15700 x|xyes)
   15701   # Assume -lc should be added
   15702   archive_cmds_need_lc_F77=yes
   15703 
   15704   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15705     case $archive_cmds_F77 in
   15706     *'~'*)
   15707       # FIXME: we may have to deal with multi-command sequences.
   15708       ;;
   15709     '$CC '*)
   15710       # Test whether the compiler implicitly links with -lc since on some
   15711       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15712       # to ld, don't add -lc before -lgcc.
   15713       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15714 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15715       $rm conftest*
   15716       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15717 
   15718       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15719   (eval $ac_compile) 2>&5
   15720   ac_status=$?
   15721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15722   (exit $ac_status); } 2>conftest.err; then
   15723         soname=conftest
   15724         lib=conftest
   15725         libobjs=conftest.$ac_objext
   15726         deplibs=
   15727         wl=$lt_prog_compiler_wl_F77
   15728 	pic_flag=$lt_prog_compiler_pic_F77
   15729         compiler_flags=-v
   15730         linker_flags=-v
   15731         verstring=
   15732         output_objdir=.
   15733         libname=conftest
   15734         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15735         allow_undefined_flag_F77=
   15736         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15737   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15738   ac_status=$?
   15739   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15740   (exit $ac_status); }
   15741         then
   15742 	  archive_cmds_need_lc_F77=no
   15743         else
   15744 	  archive_cmds_need_lc_F77=yes
   15745         fi
   15746         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15747       else
   15748         cat conftest.err 1>&5
   15749       fi
   15750       $rm conftest*
   15751       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15752 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15753       ;;
   15754     esac
   15755   fi
   15756   ;;
   15757 esac
   15758 
   15759 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15760 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15761 library_names_spec=
   15762 libname_spec='lib$name'
   15763 soname_spec=
   15764 shrext_cmds=".so"
   15765 postinstall_cmds=
   15766 postuninstall_cmds=
   15767 finish_cmds=
   15768 finish_eval=
   15769 shlibpath_var=
   15770 shlibpath_overrides_runpath=unknown
   15771 version_type=none
   15772 dynamic_linker="$host_os ld.so"
   15773 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15774 
   15775 need_lib_prefix=unknown
   15776 hardcode_into_libs=no
   15777 
   15778 # when you set need_version to no, make sure it does not cause -set_version
   15779 # flags to be left without arguments
   15780 need_version=unknown
   15781 
   15782 case $host_os in
   15783 aix3*)
   15784   version_type=linux
   15785   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15786   shlibpath_var=LIBPATH
   15787 
   15788   # AIX 3 has no versioning support, so we append a major version to the name.
   15789   soname_spec='${libname}${release}${shared_ext}$major'
   15790   ;;
   15791 
   15792 aix[4-9]*)
   15793   version_type=linux
   15794   need_lib_prefix=no
   15795   need_version=no
   15796   hardcode_into_libs=yes
   15797   if test "$host_cpu" = ia64; then
   15798     # AIX 5 supports IA64
   15799     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15800     shlibpath_var=LD_LIBRARY_PATH
   15801   else
   15802     # With GCC up to 2.95.x, collect2 would create an import file
   15803     # for dependence libraries.  The import file would start with
   15804     # the line `#! .'.  This would cause the generated library to
   15805     # depend on `.', always an invalid library.  This was fixed in
   15806     # development snapshots of GCC prior to 3.0.
   15807     case $host_os in
   15808       aix4 | aix4.[01] | aix4.[01].*)
   15809       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15810 	   echo ' yes '
   15811 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15812 	:
   15813       else
   15814 	can_build_shared=no
   15815       fi
   15816       ;;
   15817     esac
   15818     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15819     # soname into executable. Probably we can add versioning support to
   15820     # collect2, so additional links can be useful in future.
   15821     if test "$aix_use_runtimelinking" = yes; then
   15822       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15823       # instead of lib<name>.a to let people know that these are not
   15824       # typical AIX shared libraries.
   15825       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15826     else
   15827       # We preserve .a as extension for shared libraries through AIX4.2
   15828       # and later when we are not doing run time linking.
   15829       library_names_spec='${libname}${release}.a $libname.a'
   15830       soname_spec='${libname}${release}${shared_ext}$major'
   15831     fi
   15832     shlibpath_var=LIBPATH
   15833   fi
   15834   ;;
   15835 
   15836 amigaos*)
   15837   library_names_spec='$libname.ixlibrary $libname.a'
   15838   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15839   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'
   15840   ;;
   15841 
   15842 beos*)
   15843   library_names_spec='${libname}${shared_ext}'
   15844   dynamic_linker="$host_os ld.so"
   15845   shlibpath_var=LIBRARY_PATH
   15846   ;;
   15847 
   15848 bsdi[45]*)
   15849   version_type=linux
   15850   need_version=no
   15851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15852   soname_spec='${libname}${release}${shared_ext}$major'
   15853   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15854   shlibpath_var=LD_LIBRARY_PATH
   15855   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15856   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15857   # the default ld.so.conf also contains /usr/contrib/lib and
   15858   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15859   # libtool to hard-code these into programs
   15860   ;;
   15861 
   15862 cygwin* | mingw* | pw32*)
   15863   version_type=windows
   15864   shrext_cmds=".dll"
   15865   need_version=no
   15866   need_lib_prefix=no
   15867 
   15868   case $GCC,$host_os in
   15869   yes,cygwin* | yes,mingw* | yes,pw32*)
   15870     library_names_spec='$libname.dll.a'
   15871     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15872     postinstall_cmds='base_file=`basename \${file}`~
   15873       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15874       dldir=$destdir/`dirname \$dlpath`~
   15875       test -d \$dldir || mkdir -p \$dldir~
   15876       $install_prog $dir/$dlname \$dldir/$dlname~
   15877       chmod a+x \$dldir/$dlname'
   15878     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15879       dlpath=$dir/\$dldll~
   15880        $rm \$dlpath'
   15881     shlibpath_overrides_runpath=yes
   15882 
   15883     case $host_os in
   15884     cygwin*)
   15885       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15886       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15887       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15888       ;;
   15889     mingw*)
   15890       # MinGW DLLs use traditional 'lib' prefix
   15891       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15892       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15893       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15894         # It is most probably a Windows format PATH printed by
   15895         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15896         # path with ; separators, and with drive letters. We can handle the
   15897         # drive letters (cygwin fileutils understands them), so leave them,
   15898         # especially as we might pass files found there to a mingw objdump,
   15899         # which wouldn't understand a cygwinified path. Ahh.
   15900         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15901       else
   15902         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15903       fi
   15904       ;;
   15905     pw32*)
   15906       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15907       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15908       ;;
   15909     esac
   15910     ;;
   15911 
   15912   *)
   15913     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15914     ;;
   15915   esac
   15916   dynamic_linker='Win32 ld.exe'
   15917   # FIXME: first we should search . and the directory the executable is in
   15918   shlibpath_var=PATH
   15919   ;;
   15920 
   15921 darwin* | rhapsody*)
   15922   dynamic_linker="$host_os dyld"
   15923   version_type=darwin
   15924   need_lib_prefix=no
   15925   need_version=no
   15926   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15927   soname_spec='${libname}${release}${major}$shared_ext'
   15928   shlibpath_overrides_runpath=yes
   15929   shlibpath_var=DYLD_LIBRARY_PATH
   15930   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15931 
   15932   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15933   ;;
   15934 
   15935 dgux*)
   15936   version_type=linux
   15937   need_lib_prefix=no
   15938   need_version=no
   15939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15940   soname_spec='${libname}${release}${shared_ext}$major'
   15941   shlibpath_var=LD_LIBRARY_PATH
   15942   ;;
   15943 
   15944 freebsd1*)
   15945   dynamic_linker=no
   15946   ;;
   15947 
   15948 freebsd* | dragonfly*)
   15949   # DragonFly does not have aout.  When/if they implement a new
   15950   # versioning mechanism, adjust this.
   15951   if test -x /usr/bin/objformat; then
   15952     objformat=`/usr/bin/objformat`
   15953   else
   15954     case $host_os in
   15955     freebsd[123]*) objformat=aout ;;
   15956     *) objformat=elf ;;
   15957     esac
   15958   fi
   15959   version_type=freebsd-$objformat
   15960   case $version_type in
   15961     freebsd-elf*)
   15962       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15963       need_version=no
   15964       need_lib_prefix=no
   15965       ;;
   15966     freebsd-*)
   15967       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15968       need_version=yes
   15969       ;;
   15970   esac
   15971   shlibpath_var=LD_LIBRARY_PATH
   15972   case $host_os in
   15973   freebsd2*)
   15974     shlibpath_overrides_runpath=yes
   15975     ;;
   15976   freebsd3.[01]* | freebsdelf3.[01]*)
   15977     shlibpath_overrides_runpath=yes
   15978     hardcode_into_libs=yes
   15979     ;;
   15980   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15981   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15982     shlibpath_overrides_runpath=no
   15983     hardcode_into_libs=yes
   15984     ;;
   15985   *) # from 4.6 on, and DragonFly
   15986     shlibpath_overrides_runpath=yes
   15987     hardcode_into_libs=yes
   15988     ;;
   15989   esac
   15990   ;;
   15991 
   15992 gnu*)
   15993   version_type=linux
   15994   need_lib_prefix=no
   15995   need_version=no
   15996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15997   soname_spec='${libname}${release}${shared_ext}$major'
   15998   shlibpath_var=LD_LIBRARY_PATH
   15999   hardcode_into_libs=yes
   16000   ;;
   16001 
   16002 hpux9* | hpux10* | hpux11*)
   16003   # Give a soname corresponding to the major version so that dld.sl refuses to
   16004   # link against other versions.
   16005   version_type=sunos
   16006   need_lib_prefix=no
   16007   need_version=no
   16008   case $host_cpu in
   16009   ia64*)
   16010     shrext_cmds='.so'
   16011     hardcode_into_libs=yes
   16012     dynamic_linker="$host_os dld.so"
   16013     shlibpath_var=LD_LIBRARY_PATH
   16014     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16015     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16016     soname_spec='${libname}${release}${shared_ext}$major'
   16017     if test "X$HPUX_IA64_MODE" = X32; then
   16018       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16019     else
   16020       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16021     fi
   16022     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16023     ;;
   16024    hppa*64*)
   16025      shrext_cmds='.sl'
   16026      hardcode_into_libs=yes
   16027      dynamic_linker="$host_os dld.sl"
   16028      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16029      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16030      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16031      soname_spec='${libname}${release}${shared_ext}$major'
   16032      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16033      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16034      ;;
   16035    *)
   16036     shrext_cmds='.sl'
   16037     dynamic_linker="$host_os dld.sl"
   16038     shlibpath_var=SHLIB_PATH
   16039     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   16043   esac
   16044   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16045   postinstall_cmds='chmod 555 $lib'
   16046   ;;
   16047 
   16048 interix[3-9]*)
   16049   version_type=linux
   16050   need_lib_prefix=no
   16051   need_version=no
   16052   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16053   soname_spec='${libname}${release}${shared_ext}$major'
   16054   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16055   shlibpath_var=LD_LIBRARY_PATH
   16056   shlibpath_overrides_runpath=no
   16057   hardcode_into_libs=yes
   16058   ;;
   16059 
   16060 irix5* | irix6* | nonstopux*)
   16061   case $host_os in
   16062     nonstopux*) version_type=nonstopux ;;
   16063     *)
   16064 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16065 		version_type=linux
   16066 	else
   16067 		version_type=irix
   16068 	fi ;;
   16069   esac
   16070   need_lib_prefix=no
   16071   need_version=no
   16072   soname_spec='${libname}${release}${shared_ext}$major'
   16073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16074   case $host_os in
   16075   irix5* | nonstopux*)
   16076     libsuff= shlibsuff=
   16077     ;;
   16078   *)
   16079     case $LD in # libtool.m4 will add one of these switches to LD
   16080     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16081       libsuff= shlibsuff= libmagic=32-bit;;
   16082     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16083       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16084     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16085       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16086     *) libsuff= shlibsuff= libmagic=never-match;;
   16087     esac
   16088     ;;
   16089   esac
   16090   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16091   shlibpath_overrides_runpath=no
   16092   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16093   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16094   hardcode_into_libs=yes
   16095   ;;
   16096 
   16097 # No shared lib support for Linux oldld, aout, or coff.
   16098 linux*oldld* | linux*aout* | linux*coff*)
   16099   dynamic_linker=no
   16100   ;;
   16101 
   16102 # This must be Linux ELF.
   16103 linux* | k*bsd*-gnu)
   16104   version_type=linux
   16105   need_lib_prefix=no
   16106   need_version=no
   16107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16108   soname_spec='${libname}${release}${shared_ext}$major'
   16109   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16110   shlibpath_var=LD_LIBRARY_PATH
   16111   shlibpath_overrides_runpath=no
   16112   # This implies no fast_install, which is unacceptable.
   16113   # Some rework will be needed to allow for fast_install
   16114   # before this can be enabled.
   16115   hardcode_into_libs=yes
   16116   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16117   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16118 
   16119   # Append ld.so.conf contents to the search path
   16120   if test -f /etc/ld.so.conf; then
   16121     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' ' '`
   16122     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16123   fi
   16124 
   16125   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16126   # powerpc, because MkLinux only supported shared libraries with the
   16127   # GNU dynamic linker.  Since this was broken with cross compilers,
   16128   # most powerpc-linux boxes support dynamic linking these days and
   16129   # people can always --disable-shared, the test was removed, and we
   16130   # assume the GNU/Linux dynamic linker is in use.
   16131   dynamic_linker='GNU/Linux ld.so'
   16132   ;;
   16133 
   16134 netbsd*)
   16135   version_type=sunos
   16136   need_lib_prefix=no
   16137   need_version=no
   16138   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16139     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16140     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16141     dynamic_linker='NetBSD (a.out) ld.so'
   16142   else
   16143     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16144     soname_spec='${libname}${release}${shared_ext}$major'
   16145     dynamic_linker='NetBSD ld.elf_so'
   16146   fi
   16147   shlibpath_var=LD_LIBRARY_PATH
   16148   shlibpath_overrides_runpath=yes
   16149   hardcode_into_libs=yes
   16150   ;;
   16151 
   16152 newsos6)
   16153   version_type=linux
   16154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16155   shlibpath_var=LD_LIBRARY_PATH
   16156   shlibpath_overrides_runpath=yes
   16157   ;;
   16158 
   16159 nto-qnx*)
   16160   version_type=linux
   16161   need_lib_prefix=no
   16162   need_version=no
   16163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16164   soname_spec='${libname}${release}${shared_ext}$major'
   16165   shlibpath_var=LD_LIBRARY_PATH
   16166   shlibpath_overrides_runpath=yes
   16167   ;;
   16168 
   16169 openbsd*)
   16170   version_type=sunos
   16171   sys_lib_dlsearch_path_spec="/usr/lib"
   16172   need_lib_prefix=no
   16173   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16174   case $host_os in
   16175     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16176     *)                         need_version=no  ;;
   16177   esac
   16178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16179   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16180   shlibpath_var=LD_LIBRARY_PATH
   16181   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16182     case $host_os in
   16183       openbsd2.[89] | openbsd2.[89].*)
   16184 	shlibpath_overrides_runpath=no
   16185 	;;
   16186       *)
   16187 	shlibpath_overrides_runpath=yes
   16188 	;;
   16189       esac
   16190   else
   16191     shlibpath_overrides_runpath=yes
   16192   fi
   16193   ;;
   16194 
   16195 os2*)
   16196   libname_spec='$name'
   16197   shrext_cmds=".dll"
   16198   need_lib_prefix=no
   16199   library_names_spec='$libname${shared_ext} $libname.a'
   16200   dynamic_linker='OS/2 ld.exe'
   16201   shlibpath_var=LIBPATH
   16202   ;;
   16203 
   16204 osf3* | osf4* | osf5*)
   16205   version_type=osf
   16206   need_lib_prefix=no
   16207   need_version=no
   16208   soname_spec='${libname}${release}${shared_ext}$major'
   16209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16210   shlibpath_var=LD_LIBRARY_PATH
   16211   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16212   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16213   ;;
   16214 
   16215 rdos*)
   16216   dynamic_linker=no
   16217   ;;
   16218 
   16219 solaris*)
   16220   version_type=linux
   16221   need_lib_prefix=no
   16222   need_version=no
   16223   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16224   soname_spec='${libname}${release}${shared_ext}$major'
   16225   shlibpath_var=LD_LIBRARY_PATH
   16226   shlibpath_overrides_runpath=yes
   16227   hardcode_into_libs=yes
   16228   # ldd complains unless libraries are executable
   16229   postinstall_cmds='chmod +x $lib'
   16230   ;;
   16231 
   16232 sunos4*)
   16233   version_type=sunos
   16234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16235   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16236   shlibpath_var=LD_LIBRARY_PATH
   16237   shlibpath_overrides_runpath=yes
   16238   if test "$with_gnu_ld" = yes; then
   16239     need_lib_prefix=no
   16240   fi
   16241   need_version=yes
   16242   ;;
   16243 
   16244 sysv4 | sysv4.3*)
   16245   version_type=linux
   16246   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16247   soname_spec='${libname}${release}${shared_ext}$major'
   16248   shlibpath_var=LD_LIBRARY_PATH
   16249   case $host_vendor in
   16250     sni)
   16251       shlibpath_overrides_runpath=no
   16252       need_lib_prefix=no
   16253       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16254       runpath_var=LD_RUN_PATH
   16255       ;;
   16256     siemens)
   16257       need_lib_prefix=no
   16258       ;;
   16259     motorola)
   16260       need_lib_prefix=no
   16261       need_version=no
   16262       shlibpath_overrides_runpath=no
   16263       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16264       ;;
   16265   esac
   16266   ;;
   16267 
   16268 sysv4*MP*)
   16269   if test -d /usr/nec ;then
   16270     version_type=linux
   16271     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16272     soname_spec='$libname${shared_ext}.$major'
   16273     shlibpath_var=LD_LIBRARY_PATH
   16274   fi
   16275   ;;
   16276 
   16277 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16278   version_type=freebsd-elf
   16279   need_lib_prefix=no
   16280   need_version=no
   16281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16282   soname_spec='${libname}${release}${shared_ext}$major'
   16283   shlibpath_var=LD_LIBRARY_PATH
   16284   hardcode_into_libs=yes
   16285   if test "$with_gnu_ld" = yes; then
   16286     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16287     shlibpath_overrides_runpath=no
   16288   else
   16289     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16290     shlibpath_overrides_runpath=yes
   16291     case $host_os in
   16292       sco3.2v5*)
   16293         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16294 	;;
   16295     esac
   16296   fi
   16297   sys_lib_dlsearch_path_spec='/usr/lib'
   16298   ;;
   16299 
   16300 uts4*)
   16301   version_type=linux
   16302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16303   soname_spec='${libname}${release}${shared_ext}$major'
   16304   shlibpath_var=LD_LIBRARY_PATH
   16305   ;;
   16306 
   16307 *)
   16308   dynamic_linker=no
   16309   ;;
   16310 esac
   16311 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16312 $as_echo "$dynamic_linker" >&6; }
   16313 test "$dynamic_linker" = no && can_build_shared=no
   16314 
   16315 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16316   $as_echo_n "(cached) " >&6
   16317 else
   16318   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16319 fi
   16320 
   16321 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16322 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16323   $as_echo_n "(cached) " >&6
   16324 else
   16325   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16326 fi
   16327 
   16328 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16329 
   16330 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16331 if test "$GCC" = yes; then
   16332   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16333 fi
   16334 
   16335 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16336 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16337 hardcode_action_F77=
   16338 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16339    test -n "$runpath_var_F77" || \
   16340    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16341 
   16342   # We can hardcode non-existant directories.
   16343   if test "$hardcode_direct_F77" != no &&
   16344      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16345      # have to relink, otherwise we might link with an installed library
   16346      # when we should be linking with a yet-to-be-installed one
   16347      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16348      test "$hardcode_minus_L_F77" != no; then
   16349     # Linking always hardcodes the temporary library directory.
   16350     hardcode_action_F77=relink
   16351   else
   16352     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16353     hardcode_action_F77=immediate
   16354   fi
   16355 else
   16356   # We cannot hardcode anything, or else we can only hardcode existing
   16357   # directories.
   16358   hardcode_action_F77=unsupported
   16359 fi
   16360 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16361 $as_echo "$hardcode_action_F77" >&6; }
   16362 
   16363 if test "$hardcode_action_F77" = relink; then
   16364   # Fast installation is not supported
   16365   enable_fast_install=no
   16366 elif test "$shlibpath_overrides_runpath" = yes ||
   16367      test "$enable_shared" = no; then
   16368   # Fast installation is not necessary
   16369   enable_fast_install=needless
   16370 fi
   16371 
   16372 
   16373 # The else clause should only fire when bootstrapping the
   16374 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16375 # with your package, and you will get complaints that there are
   16376 # no rules to generate ltmain.sh.
   16377 if test -f "$ltmain"; then
   16378   # See if we are running on zsh, and set the options which allow our commands through
   16379   # without removal of \ escapes.
   16380   if test -n "${ZSH_VERSION+set}" ; then
   16381     setopt NO_GLOB_SUBST
   16382   fi
   16383   # Now quote all the things that may contain metacharacters while being
   16384   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16385   # variables and quote the copies for generation of the libtool script.
   16386   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16387     SED SHELL STRIP \
   16388     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16389     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16390     deplibs_check_method reload_flag reload_cmds need_locks \
   16391     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16392     lt_cv_sys_global_symbol_to_c_name_address \
   16393     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16394     old_postinstall_cmds old_postuninstall_cmds \
   16395     compiler_F77 \
   16396     CC_F77 \
   16397     LD_F77 \
   16398     lt_prog_compiler_wl_F77 \
   16399     lt_prog_compiler_pic_F77 \
   16400     lt_prog_compiler_static_F77 \
   16401     lt_prog_compiler_no_builtin_flag_F77 \
   16402     export_dynamic_flag_spec_F77 \
   16403     thread_safe_flag_spec_F77 \
   16404     whole_archive_flag_spec_F77 \
   16405     enable_shared_with_static_runtimes_F77 \
   16406     old_archive_cmds_F77 \
   16407     old_archive_from_new_cmds_F77 \
   16408     predep_objects_F77 \
   16409     postdep_objects_F77 \
   16410     predeps_F77 \
   16411     postdeps_F77 \
   16412     compiler_lib_search_path_F77 \
   16413     compiler_lib_search_dirs_F77 \
   16414     archive_cmds_F77 \
   16415     archive_expsym_cmds_F77 \
   16416     postinstall_cmds_F77 \
   16417     postuninstall_cmds_F77 \
   16418     old_archive_from_expsyms_cmds_F77 \
   16419     allow_undefined_flag_F77 \
   16420     no_undefined_flag_F77 \
   16421     export_symbols_cmds_F77 \
   16422     hardcode_libdir_flag_spec_F77 \
   16423     hardcode_libdir_flag_spec_ld_F77 \
   16424     hardcode_libdir_separator_F77 \
   16425     hardcode_automatic_F77 \
   16426     module_cmds_F77 \
   16427     module_expsym_cmds_F77 \
   16428     lt_cv_prog_compiler_c_o_F77 \
   16429     fix_srcfile_path_F77 \
   16430     exclude_expsyms_F77 \
   16431     include_expsyms_F77; do
   16432 
   16433     case $var in
   16434     old_archive_cmds_F77 | \
   16435     old_archive_from_new_cmds_F77 | \
   16436     archive_cmds_F77 | \
   16437     archive_expsym_cmds_F77 | \
   16438     module_cmds_F77 | \
   16439     module_expsym_cmds_F77 | \
   16440     old_archive_from_expsyms_cmds_F77 | \
   16441     export_symbols_cmds_F77 | \
   16442     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16443     postinstall_cmds | postuninstall_cmds | \
   16444     old_postinstall_cmds | old_postuninstall_cmds | \
   16445     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16446       # Double-quote double-evaled strings.
   16447       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16448       ;;
   16449     *)
   16450       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16451       ;;
   16452     esac
   16453   done
   16454 
   16455   case $lt_echo in
   16456   *'\$0 --fallback-echo"')
   16457     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16458     ;;
   16459   esac
   16460 
   16461 cfgfile="$ofile"
   16462 
   16463   cat <<__EOF__ >> "$cfgfile"
   16464 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16465 
   16466 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16467 
   16468 # Shell to use when invoking shell scripts.
   16469 SHELL=$lt_SHELL
   16470 
   16471 # Whether or not to build shared libraries.
   16472 build_libtool_libs=$enable_shared
   16473 
   16474 # Whether or not to build static libraries.
   16475 build_old_libs=$enable_static
   16476 
   16477 # Whether or not to add -lc for building shared libraries.
   16478 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16479 
   16480 # Whether or not to disallow shared libs when runtime libs are static
   16481 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16482 
   16483 # Whether or not to optimize for fast installation.
   16484 fast_install=$enable_fast_install
   16485 
   16486 # The host system.
   16487 host_alias=$host_alias
   16488 host=$host
   16489 host_os=$host_os
   16490 
   16491 # The build system.
   16492 build_alias=$build_alias
   16493 build=$build
   16494 build_os=$build_os
   16495 
   16496 # An echo program that does not interpret backslashes.
   16497 echo=$lt_echo
   16498 
   16499 # The archiver.
   16500 AR=$lt_AR
   16501 AR_FLAGS=$lt_AR_FLAGS
   16502 
   16503 # A C compiler.
   16504 LTCC=$lt_LTCC
   16505 
   16506 # LTCC compiler flags.
   16507 LTCFLAGS=$lt_LTCFLAGS
   16508 
   16509 # A language-specific compiler.
   16510 CC=$lt_compiler_F77
   16511 
   16512 # Is the compiler the GNU C compiler?
   16513 with_gcc=$GCC_F77
   16514 
   16515 # An ERE matcher.
   16516 EGREP=$lt_EGREP
   16517 
   16518 # The linker used to build libraries.
   16519 LD=$lt_LD_F77
   16520 
   16521 # Whether we need hard or soft links.
   16522 LN_S=$lt_LN_S
   16523 
   16524 # A BSD-compatible nm program.
   16525 NM=$lt_NM
   16526 
   16527 # A symbol stripping program
   16528 STRIP=$lt_STRIP
   16529 
   16530 # Used to examine libraries when file_magic_cmd begins "file"
   16531 MAGIC_CMD=$MAGIC_CMD
   16532 
   16533 # Used on cygwin: DLL creation program.
   16534 DLLTOOL="$DLLTOOL"
   16535 
   16536 # Used on cygwin: object dumper.
   16537 OBJDUMP="$OBJDUMP"
   16538 
   16539 # Used on cygwin: assembler.
   16540 AS="$AS"
   16541 
   16542 # The name of the directory that contains temporary libtool files.
   16543 objdir=$objdir
   16544 
   16545 # How to create reloadable object files.
   16546 reload_flag=$lt_reload_flag
   16547 reload_cmds=$lt_reload_cmds
   16548 
   16549 # How to pass a linker flag through the compiler.
   16550 wl=$lt_lt_prog_compiler_wl_F77
   16551 
   16552 # Object file suffix (normally "o").
   16553 objext="$ac_objext"
   16554 
   16555 # Old archive suffix (normally "a").
   16556 libext="$libext"
   16557 
   16558 # Shared library suffix (normally ".so").
   16559 shrext_cmds='$shrext_cmds'
   16560 
   16561 # Executable file suffix (normally "").
   16562 exeext="$exeext"
   16563 
   16564 # Additional compiler flags for building library objects.
   16565 pic_flag=$lt_lt_prog_compiler_pic_F77
   16566 pic_mode=$pic_mode
   16567 
   16568 # What is the maximum length of a command?
   16569 max_cmd_len=$lt_cv_sys_max_cmd_len
   16570 
   16571 # Does compiler simultaneously support -c and -o options?
   16572 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16573 
   16574 # Must we lock files when doing compilation?
   16575 need_locks=$lt_need_locks
   16576 
   16577 # Do we need the lib prefix for modules?
   16578 need_lib_prefix=$need_lib_prefix
   16579 
   16580 # Do we need a version for libraries?
   16581 need_version=$need_version
   16582 
   16583 # Whether dlopen is supported.
   16584 dlopen_support=$enable_dlopen
   16585 
   16586 # Whether dlopen of programs is supported.
   16587 dlopen_self=$enable_dlopen_self
   16588 
   16589 # Whether dlopen of statically linked programs is supported.
   16590 dlopen_self_static=$enable_dlopen_self_static
   16591 
   16592 # Compiler flag to prevent dynamic linking.
   16593 link_static_flag=$lt_lt_prog_compiler_static_F77
   16594 
   16595 # Compiler flag to turn off builtin functions.
   16596 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16597 
   16598 # Compiler flag to allow reflexive dlopens.
   16599 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16600 
   16601 # Compiler flag to generate shared objects directly from archives.
   16602 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16603 
   16604 # Compiler flag to generate thread-safe objects.
   16605 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16606 
   16607 # Library versioning type.
   16608 version_type=$version_type
   16609 
   16610 # Format of library name prefix.
   16611 libname_spec=$lt_libname_spec
   16612 
   16613 # List of archive names.  First name is the real one, the rest are links.
   16614 # The last name is the one that the linker finds with -lNAME.
   16615 library_names_spec=$lt_library_names_spec
   16616 
   16617 # The coded name of the library, if different from the real name.
   16618 soname_spec=$lt_soname_spec
   16619 
   16620 # Commands used to build and install an old-style archive.
   16621 RANLIB=$lt_RANLIB
   16622 old_archive_cmds=$lt_old_archive_cmds_F77
   16623 old_postinstall_cmds=$lt_old_postinstall_cmds
   16624 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16625 
   16626 # Create an old-style archive from a shared archive.
   16627 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16628 
   16629 # Create a temporary old-style archive to link instead of a shared archive.
   16630 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16631 
   16632 # Commands used to build and install a shared archive.
   16633 archive_cmds=$lt_archive_cmds_F77
   16634 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16635 postinstall_cmds=$lt_postinstall_cmds
   16636 postuninstall_cmds=$lt_postuninstall_cmds
   16637 
   16638 # Commands used to build a loadable module (assumed same as above if empty)
   16639 module_cmds=$lt_module_cmds_F77
   16640 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16641 
   16642 # Commands to strip libraries.
   16643 old_striplib=$lt_old_striplib
   16644 striplib=$lt_striplib
   16645 
   16646 # Dependencies to place before the objects being linked to create a
   16647 # shared library.
   16648 predep_objects=$lt_predep_objects_F77
   16649 
   16650 # Dependencies to place after the objects being linked to create a
   16651 # shared library.
   16652 postdep_objects=$lt_postdep_objects_F77
   16653 
   16654 # Dependencies to place before the objects being linked to create a
   16655 # shared library.
   16656 predeps=$lt_predeps_F77
   16657 
   16658 # Dependencies to place after the objects being linked to create a
   16659 # shared library.
   16660 postdeps=$lt_postdeps_F77
   16661 
   16662 # The directories searched by this compiler when creating a shared
   16663 # library
   16664 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16665 
   16666 # The library search path used internally by the compiler when linking
   16667 # a shared library.
   16668 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16669 
   16670 # Method to check whether dependent libraries are shared objects.
   16671 deplibs_check_method=$lt_deplibs_check_method
   16672 
   16673 # Command to use when deplibs_check_method == file_magic.
   16674 file_magic_cmd=$lt_file_magic_cmd
   16675 
   16676 # Flag that allows shared libraries with undefined symbols to be built.
   16677 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16678 
   16679 # Flag that forces no undefined symbols.
   16680 no_undefined_flag=$lt_no_undefined_flag_F77
   16681 
   16682 # Commands used to finish a libtool library installation in a directory.
   16683 finish_cmds=$lt_finish_cmds
   16684 
   16685 # Same as above, but a single script fragment to be evaled but not shown.
   16686 finish_eval=$lt_finish_eval
   16687 
   16688 # Take the output of nm and produce a listing of raw symbols and C names.
   16689 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16690 
   16691 # Transform the output of nm in a proper C declaration
   16692 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16693 
   16694 # Transform the output of nm in a C name address pair
   16695 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16696 
   16697 # This is the shared library runtime path variable.
   16698 runpath_var=$runpath_var
   16699 
   16700 # This is the shared library path variable.
   16701 shlibpath_var=$shlibpath_var
   16702 
   16703 # Is shlibpath searched before the hard-coded library search path?
   16704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16705 
   16706 # How to hardcode a shared library path into an executable.
   16707 hardcode_action=$hardcode_action_F77
   16708 
   16709 # Whether we should hardcode library paths into libraries.
   16710 hardcode_into_libs=$hardcode_into_libs
   16711 
   16712 # Flag to hardcode \$libdir into a binary during linking.
   16713 # This must work even if \$libdir does not exist.
   16714 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16715 
   16716 # If ld is used when linking, flag to hardcode \$libdir into
   16717 # a binary during linking. This must work even if \$libdir does
   16718 # not exist.
   16719 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16720 
   16721 # Whether we need a single -rpath flag with a separated argument.
   16722 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16723 
   16724 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16725 # resulting binary.
   16726 hardcode_direct=$hardcode_direct_F77
   16727 
   16728 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16729 # resulting binary.
   16730 hardcode_minus_L=$hardcode_minus_L_F77
   16731 
   16732 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16733 # the resulting binary.
   16734 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16735 
   16736 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16737 # and all subsequent libraries and executables linked against it.
   16738 hardcode_automatic=$hardcode_automatic_F77
   16739 
   16740 # Variables whose values should be saved in libtool wrapper scripts and
   16741 # restored at relink time.
   16742 variables_saved_for_relink="$variables_saved_for_relink"
   16743 
   16744 # Whether libtool must link a program against all its dependency libraries.
   16745 link_all_deplibs=$link_all_deplibs_F77
   16746 
   16747 # Compile-time system search path for libraries
   16748 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16749 
   16750 # Run-time system search path for libraries
   16751 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16752 
   16753 # Fix the shell variable \$srcfile for the compiler.
   16754 fix_srcfile_path=$lt_fix_srcfile_path
   16755 
   16756 # Set to yes if exported symbols are required.
   16757 always_export_symbols=$always_export_symbols_F77
   16758 
   16759 # The commands to list exported symbols.
   16760 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16761 
   16762 # The commands to extract the exported symbol list from a shared archive.
   16763 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16764 
   16765 # Symbols that should not be listed in the preloaded symbols.
   16766 exclude_expsyms=$lt_exclude_expsyms_F77
   16767 
   16768 # Symbols that must always be exported.
   16769 include_expsyms=$lt_include_expsyms_F77
   16770 
   16771 # ### END LIBTOOL TAG CONFIG: $tagname
   16772 
   16773 __EOF__
   16774 
   16775 
   16776 else
   16777   # If there is no Makefile yet, we rely on a make rule to execute
   16778   # `config.status --recheck' to rerun these tests and create the
   16779   # libtool script then.
   16780   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16781   if test -f "$ltmain_in"; then
   16782     test -f Makefile && make "$ltmain"
   16783   fi
   16784 fi
   16785 
   16786 
   16787 ac_ext=c
   16788 ac_cpp='$CPP $CPPFLAGS'
   16789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16792 
   16793 CC="$lt_save_CC"
   16794 
   16795 	else
   16796 	  tagname=""
   16797 	fi
   16798 	;;
   16799 
   16800       GCJ)
   16801 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16802 
   16803 
   16804 # Source file extension for Java test sources.
   16805 ac_ext=java
   16806 
   16807 # Object file extension for compiled Java test sources.
   16808 objext=o
   16809 objext_GCJ=$objext
   16810 
   16811 # Code to be used in simple compile tests
   16812 lt_simple_compile_test_code="class foo {}"
   16813 
   16814 # Code to be used in simple link tests
   16815 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16816 
   16817 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16818 
   16819 # If no C compiler was specified, use CC.
   16820 LTCC=${LTCC-"$CC"}
   16821 
   16822 # If no C compiler flags were specified, use CFLAGS.
   16823 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16824 
   16825 # Allow CC to be a program name with arguments.
   16826 compiler=$CC
   16827 
   16828 
   16829 # save warnings/boilerplate of simple test code
   16830 ac_outfile=conftest.$ac_objext
   16831 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16832 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16833 _lt_compiler_boilerplate=`cat conftest.err`
   16834 $rm conftest*
   16835 
   16836 ac_outfile=conftest.$ac_objext
   16837 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16838 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16839 _lt_linker_boilerplate=`cat conftest.err`
   16840 $rm -r conftest*
   16841 
   16842 
   16843 # Allow CC to be a program name with arguments.
   16844 lt_save_CC="$CC"
   16845 CC=${GCJ-"gcj"}
   16846 compiler=$CC
   16847 compiler_GCJ=$CC
   16848 for cc_temp in $compiler""; do
   16849   case $cc_temp in
   16850     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16851     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16852     \-*) ;;
   16853     *) break;;
   16854   esac
   16855 done
   16856 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16857 
   16858 
   16859 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16860 archive_cmds_need_lc_GCJ=no
   16861 
   16862 old_archive_cmds_GCJ=$old_archive_cmds
   16863 
   16864 
   16865 lt_prog_compiler_no_builtin_flag_GCJ=
   16866 
   16867 if test "$GCC" = yes; then
   16868   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16869 
   16870 
   16871 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16872 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16873 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16874   $as_echo_n "(cached) " >&6
   16875 else
   16876   lt_cv_prog_compiler_rtti_exceptions=no
   16877   ac_outfile=conftest.$ac_objext
   16878    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16879    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16880    # Insert the option either (1) after the last *FLAGS variable, or
   16881    # (2) before a word containing "conftest.", or (3) at the end.
   16882    # Note that $ac_compile itself does not contain backslashes and begins
   16883    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16884    # The option is referenced via a variable to avoid confusing sed.
   16885    lt_compile=`echo "$ac_compile" | $SED \
   16886    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16887    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16888    -e 's:$: $lt_compiler_flag:'`
   16889    (eval echo "\"\$as_me:16889: $lt_compile\"" >&5)
   16890    (eval "$lt_compile" 2>conftest.err)
   16891    ac_status=$?
   16892    cat conftest.err >&5
   16893    echo "$as_me:16893: \$? = $ac_status" >&5
   16894    if (exit $ac_status) && test -s "$ac_outfile"; then
   16895      # The compiler can only warn and ignore the option if not recognized
   16896      # So say no if there are warnings other than the usual output.
   16897      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16898      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16899      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16900        lt_cv_prog_compiler_rtti_exceptions=yes
   16901      fi
   16902    fi
   16903    $rm conftest*
   16904 
   16905 fi
   16906 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16907 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16908 
   16909 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16910     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16911 else
   16912     :
   16913 fi
   16914 
   16915 fi
   16916 
   16917 lt_prog_compiler_wl_GCJ=
   16918 lt_prog_compiler_pic_GCJ=
   16919 lt_prog_compiler_static_GCJ=
   16920 
   16921 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16922 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16923 
   16924   if test "$GCC" = yes; then
   16925     lt_prog_compiler_wl_GCJ='-Wl,'
   16926     lt_prog_compiler_static_GCJ='-static'
   16927 
   16928     case $host_os in
   16929       aix*)
   16930       # All AIX code is PIC.
   16931       if test "$host_cpu" = ia64; then
   16932 	# AIX 5 now supports IA64 processor
   16933 	lt_prog_compiler_static_GCJ='-Bstatic'
   16934       fi
   16935       ;;
   16936 
   16937     amigaos*)
   16938       # FIXME: we need at least 68020 code to build shared libraries, but
   16939       # adding the `-m68020' flag to GCC prevents building anything better,
   16940       # like `-m68040'.
   16941       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16942       ;;
   16943 
   16944     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16945       # PIC is the default for these OSes.
   16946       ;;
   16947 
   16948     mingw* | cygwin* | pw32* | os2*)
   16949       # This hack is so that the source file can tell whether it is being
   16950       # built for inclusion in a dll (and should export symbols for example).
   16951       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16952       # (--disable-auto-import) libraries
   16953 
   16954       ;;
   16955 
   16956     darwin* | rhapsody*)
   16957       # PIC is the default on this platform
   16958       # Common symbols not allowed in MH_DYLIB files
   16959       lt_prog_compiler_pic_GCJ='-fno-common'
   16960       ;;
   16961 
   16962     interix[3-9]*)
   16963       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16964       # Instead, we relocate shared libraries at runtime.
   16965       ;;
   16966 
   16967     msdosdjgpp*)
   16968       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16969       # on systems that don't support them.
   16970       lt_prog_compiler_can_build_shared_GCJ=no
   16971       enable_shared=no
   16972       ;;
   16973 
   16974     sysv4*MP*)
   16975       if test -d /usr/nec; then
   16976 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16977       fi
   16978       ;;
   16979 
   16980     hpux*)
   16981       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16982       # not for PA HP-UX.
   16983       case $host_cpu in
   16984       hppa*64*|ia64*)
   16985 	# +Z the default
   16986 	;;
   16987       *)
   16988 	lt_prog_compiler_pic_GCJ='-fPIC'
   16989 	;;
   16990       esac
   16991       ;;
   16992 
   16993     *)
   16994       lt_prog_compiler_pic_GCJ='-fPIC'
   16995       ;;
   16996     esac
   16997   else
   16998     # PORTME Check for flag to pass linker flags through the system compiler.
   16999     case $host_os in
   17000     aix*)
   17001       lt_prog_compiler_wl_GCJ='-Wl,'
   17002       if test "$host_cpu" = ia64; then
   17003 	# AIX 5 now supports IA64 processor
   17004 	lt_prog_compiler_static_GCJ='-Bstatic'
   17005       else
   17006 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17007       fi
   17008       ;;
   17009       darwin*)
   17010         # PIC is the default on this platform
   17011         # Common symbols not allowed in MH_DYLIB files
   17012        case $cc_basename in
   17013          xlc*)
   17014          lt_prog_compiler_pic_GCJ='-qnocommon'
   17015          lt_prog_compiler_wl_GCJ='-Wl,'
   17016          ;;
   17017        esac
   17018        ;;
   17019 
   17020     mingw* | cygwin* | pw32* | os2*)
   17021       # This hack is so that the source file can tell whether it is being
   17022       # built for inclusion in a dll (and should export symbols for example).
   17023 
   17024       ;;
   17025 
   17026     hpux9* | hpux10* | hpux11*)
   17027       lt_prog_compiler_wl_GCJ='-Wl,'
   17028       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17029       # not for PA HP-UX.
   17030       case $host_cpu in
   17031       hppa*64*|ia64*)
   17032 	# +Z the default
   17033 	;;
   17034       *)
   17035 	lt_prog_compiler_pic_GCJ='+Z'
   17036 	;;
   17037       esac
   17038       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17039       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17040       ;;
   17041 
   17042     irix5* | irix6* | nonstopux*)
   17043       lt_prog_compiler_wl_GCJ='-Wl,'
   17044       # PIC (with -KPIC) is the default.
   17045       lt_prog_compiler_static_GCJ='-non_shared'
   17046       ;;
   17047 
   17048     newsos6)
   17049       lt_prog_compiler_pic_GCJ='-KPIC'
   17050       lt_prog_compiler_static_GCJ='-Bstatic'
   17051       ;;
   17052 
   17053     linux* | k*bsd*-gnu)
   17054       case $cc_basename in
   17055       icc* | ecc*)
   17056 	lt_prog_compiler_wl_GCJ='-Wl,'
   17057 	lt_prog_compiler_pic_GCJ='-KPIC'
   17058 	lt_prog_compiler_static_GCJ='-static'
   17059         ;;
   17060       pgcc* | pgf77* | pgf90* | pgf95*)
   17061         # Portland Group compilers (*not* the Pentium gcc compiler,
   17062 	# which looks to be a dead project)
   17063 	lt_prog_compiler_wl_GCJ='-Wl,'
   17064 	lt_prog_compiler_pic_GCJ='-fpic'
   17065 	lt_prog_compiler_static_GCJ='-Bstatic'
   17066         ;;
   17067       ccc*)
   17068         lt_prog_compiler_wl_GCJ='-Wl,'
   17069         # All Alpha code is PIC.
   17070         lt_prog_compiler_static_GCJ='-non_shared'
   17071         ;;
   17072       *)
   17073         case `$CC -V 2>&1 | sed 5q` in
   17074 	*Sun\ C*)
   17075 	  # Sun C 5.9
   17076 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17077 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17078 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17079 	  ;;
   17080 	*Sun\ F*)
   17081 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17082 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17083 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17084 	  lt_prog_compiler_wl_GCJ=''
   17085 	  ;;
   17086 	esac
   17087 	;;
   17088       esac
   17089       ;;
   17090 
   17091     osf3* | osf4* | osf5*)
   17092       lt_prog_compiler_wl_GCJ='-Wl,'
   17093       # All OSF/1 code is PIC.
   17094       lt_prog_compiler_static_GCJ='-non_shared'
   17095       ;;
   17096 
   17097     rdos*)
   17098       lt_prog_compiler_static_GCJ='-non_shared'
   17099       ;;
   17100 
   17101     solaris*)
   17102       lt_prog_compiler_pic_GCJ='-KPIC'
   17103       lt_prog_compiler_static_GCJ='-Bstatic'
   17104       case $cc_basename in
   17105       f77* | f90* | f95*)
   17106 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17107       *)
   17108 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17109       esac
   17110       ;;
   17111 
   17112     sunos4*)
   17113       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17114       lt_prog_compiler_pic_GCJ='-PIC'
   17115       lt_prog_compiler_static_GCJ='-Bstatic'
   17116       ;;
   17117 
   17118     sysv4 | sysv4.2uw2* | sysv4.3*)
   17119       lt_prog_compiler_wl_GCJ='-Wl,'
   17120       lt_prog_compiler_pic_GCJ='-KPIC'
   17121       lt_prog_compiler_static_GCJ='-Bstatic'
   17122       ;;
   17123 
   17124     sysv4*MP*)
   17125       if test -d /usr/nec ;then
   17126 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17127 	lt_prog_compiler_static_GCJ='-Bstatic'
   17128       fi
   17129       ;;
   17130 
   17131     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17132       lt_prog_compiler_wl_GCJ='-Wl,'
   17133       lt_prog_compiler_pic_GCJ='-KPIC'
   17134       lt_prog_compiler_static_GCJ='-Bstatic'
   17135       ;;
   17136 
   17137     unicos*)
   17138       lt_prog_compiler_wl_GCJ='-Wl,'
   17139       lt_prog_compiler_can_build_shared_GCJ=no
   17140       ;;
   17141 
   17142     uts4*)
   17143       lt_prog_compiler_pic_GCJ='-pic'
   17144       lt_prog_compiler_static_GCJ='-Bstatic'
   17145       ;;
   17146 
   17147     *)
   17148       lt_prog_compiler_can_build_shared_GCJ=no
   17149       ;;
   17150     esac
   17151   fi
   17152 
   17153 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17154 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17155 
   17156 #
   17157 # Check to make sure the PIC flag actually works.
   17158 #
   17159 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17160 
   17161 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17162 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17163 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17164   $as_echo_n "(cached) " >&6
   17165 else
   17166   lt_cv_prog_compiler_pic_works_GCJ=no
   17167   ac_outfile=conftest.$ac_objext
   17168    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17169    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17170    # Insert the option either (1) after the last *FLAGS variable, or
   17171    # (2) before a word containing "conftest.", or (3) at the end.
   17172    # Note that $ac_compile itself does not contain backslashes and begins
   17173    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17174    # The option is referenced via a variable to avoid confusing sed.
   17175    lt_compile=`echo "$ac_compile" | $SED \
   17176    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17177    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17178    -e 's:$: $lt_compiler_flag:'`
   17179    (eval echo "\"\$as_me:17179: $lt_compile\"" >&5)
   17180    (eval "$lt_compile" 2>conftest.err)
   17181    ac_status=$?
   17182    cat conftest.err >&5
   17183    echo "$as_me:17183: \$? = $ac_status" >&5
   17184    if (exit $ac_status) && test -s "$ac_outfile"; then
   17185      # The compiler can only warn and ignore the option if not recognized
   17186      # So say no if there are warnings other than the usual output.
   17187      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17188      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17189      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17190        lt_cv_prog_compiler_pic_works_GCJ=yes
   17191      fi
   17192    fi
   17193    $rm conftest*
   17194 
   17195 fi
   17196 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17197 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17198 
   17199 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17200     case $lt_prog_compiler_pic_GCJ in
   17201      "" | " "*) ;;
   17202      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17203      esac
   17204 else
   17205     lt_prog_compiler_pic_GCJ=
   17206      lt_prog_compiler_can_build_shared_GCJ=no
   17207 fi
   17208 
   17209 fi
   17210 case $host_os in
   17211   # For platforms which do not support PIC, -DPIC is meaningless:
   17212   *djgpp*)
   17213     lt_prog_compiler_pic_GCJ=
   17214     ;;
   17215   *)
   17216     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17217     ;;
   17218 esac
   17219 
   17220 #
   17221 # Check to make sure the static flag actually works.
   17222 #
   17223 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17224 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17225 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17226 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17227   $as_echo_n "(cached) " >&6
   17228 else
   17229   lt_cv_prog_compiler_static_works_GCJ=no
   17230    save_LDFLAGS="$LDFLAGS"
   17231    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17232    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17233    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17234      # The linker can only warn and ignore the option if not recognized
   17235      # So say no if there are warnings
   17236      if test -s conftest.err; then
   17237        # Append any errors to the config.log.
   17238        cat conftest.err 1>&5
   17239        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17240        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17241        if diff conftest.exp conftest.er2 >/dev/null; then
   17242          lt_cv_prog_compiler_static_works_GCJ=yes
   17243        fi
   17244      else
   17245        lt_cv_prog_compiler_static_works_GCJ=yes
   17246      fi
   17247    fi
   17248    $rm -r conftest*
   17249    LDFLAGS="$save_LDFLAGS"
   17250 
   17251 fi
   17252 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17253 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17254 
   17255 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17256     :
   17257 else
   17258     lt_prog_compiler_static_GCJ=
   17259 fi
   17260 
   17261 
   17262 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17263 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17264 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17265   $as_echo_n "(cached) " >&6
   17266 else
   17267   lt_cv_prog_compiler_c_o_GCJ=no
   17268    $rm -r conftest 2>/dev/null
   17269    mkdir conftest
   17270    cd conftest
   17271    mkdir out
   17272    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17273 
   17274    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17275    # Insert the option either (1) after the last *FLAGS variable, or
   17276    # (2) before a word containing "conftest.", or (3) at the end.
   17277    # Note that $ac_compile itself does not contain backslashes and begins
   17278    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17279    lt_compile=`echo "$ac_compile" | $SED \
   17280    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17281    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17282    -e 's:$: $lt_compiler_flag:'`
   17283    (eval echo "\"\$as_me:17283: $lt_compile\"" >&5)
   17284    (eval "$lt_compile" 2>out/conftest.err)
   17285    ac_status=$?
   17286    cat out/conftest.err >&5
   17287    echo "$as_me:17287: \$? = $ac_status" >&5
   17288    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17289    then
   17290      # The compiler can only warn and ignore the option if not recognized
   17291      # So say no if there are warnings
   17292      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17293      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17294      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17295        lt_cv_prog_compiler_c_o_GCJ=yes
   17296      fi
   17297    fi
   17298    chmod u+w . 2>&5
   17299    $rm conftest*
   17300    # SGI C++ compiler will create directory out/ii_files/ for
   17301    # template instantiation
   17302    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17303    $rm out/* && rmdir out
   17304    cd ..
   17305    rmdir conftest
   17306    $rm conftest*
   17307 
   17308 fi
   17309 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17310 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17311 
   17312 
   17313 hard_links="nottested"
   17314 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17315   # do not overwrite the value of need_locks provided by the user
   17316   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17317 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17318   hard_links=yes
   17319   $rm conftest*
   17320   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17321   touch conftest.a
   17322   ln conftest.a conftest.b 2>&5 || hard_links=no
   17323   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17324   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17325 $as_echo "$hard_links" >&6; }
   17326   if test "$hard_links" = no; then
   17327     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17328 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17329     need_locks=warn
   17330   fi
   17331 else
   17332   need_locks=no
   17333 fi
   17334 
   17335 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17336 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17337 
   17338   runpath_var=
   17339   allow_undefined_flag_GCJ=
   17340   enable_shared_with_static_runtimes_GCJ=no
   17341   archive_cmds_GCJ=
   17342   archive_expsym_cmds_GCJ=
   17343   old_archive_From_new_cmds_GCJ=
   17344   old_archive_from_expsyms_cmds_GCJ=
   17345   export_dynamic_flag_spec_GCJ=
   17346   whole_archive_flag_spec_GCJ=
   17347   thread_safe_flag_spec_GCJ=
   17348   hardcode_libdir_flag_spec_GCJ=
   17349   hardcode_libdir_flag_spec_ld_GCJ=
   17350   hardcode_libdir_separator_GCJ=
   17351   hardcode_direct_GCJ=no
   17352   hardcode_minus_L_GCJ=no
   17353   hardcode_shlibpath_var_GCJ=unsupported
   17354   link_all_deplibs_GCJ=unknown
   17355   hardcode_automatic_GCJ=no
   17356   module_cmds_GCJ=
   17357   module_expsym_cmds_GCJ=
   17358   always_export_symbols_GCJ=no
   17359   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17360   # include_expsyms should be a list of space-separated symbols to be *always*
   17361   # included in the symbol list
   17362   include_expsyms_GCJ=
   17363   # exclude_expsyms can be an extended regexp of symbols to exclude
   17364   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17365   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17366   # as well as any symbol that contains `d'.
   17367   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17368   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17369   # platforms (ab)use it in PIC code, but their linkers get confused if
   17370   # the symbol is explicitly referenced.  Since portable code cannot
   17371   # rely on this symbol name, it's probably fine to never include it in
   17372   # preloaded symbol tables.
   17373   # Exclude shared library initialization/finalization symbols.
   17374   extract_expsyms_cmds=
   17375   # Just being paranoid about ensuring that cc_basename is set.
   17376   for cc_temp in $compiler""; do
   17377   case $cc_temp in
   17378     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17379     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17380     \-*) ;;
   17381     *) break;;
   17382   esac
   17383 done
   17384 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17385 
   17386   case $host_os in
   17387   cygwin* | mingw* | pw32*)
   17388     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17389     # When not using gcc, we currently assume that we are using
   17390     # Microsoft Visual C++.
   17391     if test "$GCC" != yes; then
   17392       with_gnu_ld=no
   17393     fi
   17394     ;;
   17395   interix*)
   17396     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17397     with_gnu_ld=yes
   17398     ;;
   17399   openbsd*)
   17400     with_gnu_ld=no
   17401     ;;
   17402   esac
   17403 
   17404   ld_shlibs_GCJ=yes
   17405   if test "$with_gnu_ld" = yes; then
   17406     # If archive_cmds runs LD, not CC, wlarc should be empty
   17407     wlarc='${wl}'
   17408 
   17409     # Set some defaults for GNU ld with shared library support. These
   17410     # are reset later if shared libraries are not supported. Putting them
   17411     # here allows them to be overridden if necessary.
   17412     runpath_var=LD_RUN_PATH
   17413     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17414     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17415     # ancient GNU ld didn't support --whole-archive et. al.
   17416     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17417 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17418       else
   17419   	whole_archive_flag_spec_GCJ=
   17420     fi
   17421     supports_anon_versioning=no
   17422     case `$LD -v 2>/dev/null` in
   17423       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17424       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17425       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17426       *\ 2.11.*) ;; # other 2.11 versions
   17427       *) supports_anon_versioning=yes ;;
   17428     esac
   17429 
   17430     # See if GNU ld supports shared libraries.
   17431     case $host_os in
   17432     aix[3-9]*)
   17433       # On AIX/PPC, the GNU linker is very broken
   17434       if test "$host_cpu" != ia64; then
   17435 	ld_shlibs_GCJ=no
   17436 	cat <<EOF 1>&2
   17437 
   17438 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17439 *** to be unable to reliably create shared libraries on AIX.
   17440 *** Therefore, libtool is disabling shared libraries support.  If you
   17441 *** really care for shared libraries, you may want to modify your PATH
   17442 *** so that a non-GNU linker is found, and then restart.
   17443 
   17444 EOF
   17445       fi
   17446       ;;
   17447 
   17448     amigaos*)
   17449       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)'
   17450       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17451       hardcode_minus_L_GCJ=yes
   17452 
   17453       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17454       # that the semantics of dynamic libraries on AmigaOS, at least up
   17455       # to version 4, is to share data among multiple programs linked
   17456       # with the same dynamic library.  Since this doesn't match the
   17457       # behavior of shared libraries on other platforms, we can't use
   17458       # them.
   17459       ld_shlibs_GCJ=no
   17460       ;;
   17461 
   17462     beos*)
   17463       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17464 	allow_undefined_flag_GCJ=unsupported
   17465 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17466 	# support --undefined.  This deserves some investigation.  FIXME
   17467 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17468       else
   17469 	ld_shlibs_GCJ=no
   17470       fi
   17471       ;;
   17472 
   17473     cygwin* | mingw* | pw32*)
   17474       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17475       # as there is no search path for DLLs.
   17476       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17477       allow_undefined_flag_GCJ=unsupported
   17478       always_export_symbols_GCJ=no
   17479       enable_shared_with_static_runtimes_GCJ=yes
   17480       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17481 
   17482       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17483         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17484 	# If the export-symbols file already is a .def file (1st line
   17485 	# is EXPORTS), use it as is; otherwise, prepend...
   17486 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17487 	  cp $export_symbols $output_objdir/$soname.def;
   17488 	else
   17489 	  echo EXPORTS > $output_objdir/$soname.def;
   17490 	  cat $export_symbols >> $output_objdir/$soname.def;
   17491 	fi~
   17492 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17493       else
   17494 	ld_shlibs_GCJ=no
   17495       fi
   17496       ;;
   17497 
   17498     interix[3-9]*)
   17499       hardcode_direct_GCJ=no
   17500       hardcode_shlibpath_var_GCJ=no
   17501       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17502       export_dynamic_flag_spec_GCJ='${wl}-E'
   17503       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17504       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17505       # default) and relocated if they conflict, which is a slow very memory
   17506       # consuming and fragmenting process.  To avoid this, we pick a random,
   17507       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17508       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17509       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'
   17510       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'
   17511       ;;
   17512 
   17513     gnu* | linux* | k*bsd*-gnu)
   17514       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17515 	tmp_addflag=
   17516 	case $cc_basename,$host_cpu in
   17517 	pgcc*)				# Portland Group C compiler
   17518 	  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'
   17519 	  tmp_addflag=' $pic_flag'
   17520 	  ;;
   17521 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17522 	  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'
   17523 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17524 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17525 	  tmp_addflag=' -i_dynamic' ;;
   17526 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17527 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17528 	ifc* | ifort*)			# Intel Fortran compiler
   17529 	  tmp_addflag=' -nofor_main' ;;
   17530 	esac
   17531 	case `$CC -V 2>&1 | sed 5q` in
   17532 	*Sun\ C*)			# Sun C 5.9
   17533 	  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'
   17534 	  tmp_sharedflag='-G' ;;
   17535 	*Sun\ F*)			# Sun Fortran 8.3
   17536 	  tmp_sharedflag='-G' ;;
   17537 	*)
   17538 	  tmp_sharedflag='-shared' ;;
   17539 	esac
   17540 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17541 
   17542 	if test $supports_anon_versioning = yes; then
   17543 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17544   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17545   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17546 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17547 	fi
   17548       else
   17549 	ld_shlibs_GCJ=no
   17550       fi
   17551       ;;
   17552 
   17553     netbsd*)
   17554       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17555 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17556 	wlarc=
   17557       else
   17558 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17559 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17560       fi
   17561       ;;
   17562 
   17563     solaris*)
   17564       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17565 	ld_shlibs_GCJ=no
   17566 	cat <<EOF 1>&2
   17567 
   17568 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17569 *** create shared libraries on Solaris systems.  Therefore, libtool
   17570 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17571 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17572 *** your PATH or compiler configuration so that the native linker is
   17573 *** used, and then restart.
   17574 
   17575 EOF
   17576       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17577 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17578 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17579       else
   17580 	ld_shlibs_GCJ=no
   17581       fi
   17582       ;;
   17583 
   17584     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17585       case `$LD -v 2>&1` in
   17586         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17587 	ld_shlibs_GCJ=no
   17588 	cat <<_LT_EOF 1>&2
   17589 
   17590 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17591 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17592 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17593 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17594 *** your PATH or compiler configuration so that the native linker is
   17595 *** used, and then restart.
   17596 
   17597 _LT_EOF
   17598 	;;
   17599 	*)
   17600 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17601 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17602 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17603 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17604 	  else
   17605 	    ld_shlibs_GCJ=no
   17606 	  fi
   17607 	;;
   17608       esac
   17609       ;;
   17610 
   17611     sunos4*)
   17612       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17613       wlarc=
   17614       hardcode_direct_GCJ=yes
   17615       hardcode_shlibpath_var_GCJ=no
   17616       ;;
   17617 
   17618     *)
   17619       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17620 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17621 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17622       else
   17623 	ld_shlibs_GCJ=no
   17624       fi
   17625       ;;
   17626     esac
   17627 
   17628     if test "$ld_shlibs_GCJ" = no; then
   17629       runpath_var=
   17630       hardcode_libdir_flag_spec_GCJ=
   17631       export_dynamic_flag_spec_GCJ=
   17632       whole_archive_flag_spec_GCJ=
   17633     fi
   17634   else
   17635     # PORTME fill in a description of your system's linker (not GNU ld)
   17636     case $host_os in
   17637     aix3*)
   17638       allow_undefined_flag_GCJ=unsupported
   17639       always_export_symbols_GCJ=yes
   17640       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'
   17641       # Note: this linker hardcodes the directories in LIBPATH if there
   17642       # are no directories specified by -L.
   17643       hardcode_minus_L_GCJ=yes
   17644       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17645 	# Neither direct hardcoding nor static linking is supported with a
   17646 	# broken collect2.
   17647 	hardcode_direct_GCJ=unsupported
   17648       fi
   17649       ;;
   17650 
   17651     aix[4-9]*)
   17652       if test "$host_cpu" = ia64; then
   17653 	# On IA64, the linker does run time linking by default, so we don't
   17654 	# have to do anything special.
   17655 	aix_use_runtimelinking=no
   17656 	exp_sym_flag='-Bexport'
   17657 	no_entry_flag=""
   17658       else
   17659 	# If we're using GNU nm, then we don't want the "-C" option.
   17660 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17661 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17662 	  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'
   17663 	else
   17664 	  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'
   17665 	fi
   17666 	aix_use_runtimelinking=no
   17667 
   17668 	# Test if we are trying to use run time linking or normal
   17669 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17670 	# need to do runtime linking.
   17671 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17672 	  for ld_flag in $LDFLAGS; do
   17673   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17674   	    aix_use_runtimelinking=yes
   17675   	    break
   17676   	  fi
   17677 	  done
   17678 	  ;;
   17679 	esac
   17680 
   17681 	exp_sym_flag='-bexport'
   17682 	no_entry_flag='-bnoentry'
   17683       fi
   17684 
   17685       # When large executables or shared objects are built, AIX ld can
   17686       # have problems creating the table of contents.  If linking a library
   17687       # or program results in "error TOC overflow" add -mminimal-toc to
   17688       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17689       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17690 
   17691       archive_cmds_GCJ=''
   17692       hardcode_direct_GCJ=yes
   17693       hardcode_libdir_separator_GCJ=':'
   17694       link_all_deplibs_GCJ=yes
   17695 
   17696       if test "$GCC" = yes; then
   17697 	case $host_os in aix4.[012]|aix4.[012].*)
   17698 	# We only want to do this on AIX 4.2 and lower, the check
   17699 	# below for broken collect2 doesn't work under 4.3+
   17700 	  collect2name=`${CC} -print-prog-name=collect2`
   17701 	  if test -f "$collect2name" && \
   17702   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17703 	  then
   17704   	  # We have reworked collect2
   17705   	  :
   17706 	  else
   17707   	  # We have old collect2
   17708   	  hardcode_direct_GCJ=unsupported
   17709   	  # It fails to find uninstalled libraries when the uninstalled
   17710   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17711   	  # to unsupported forces relinking
   17712   	  hardcode_minus_L_GCJ=yes
   17713   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17714   	  hardcode_libdir_separator_GCJ=
   17715 	  fi
   17716 	  ;;
   17717 	esac
   17718 	shared_flag='-shared'
   17719 	if test "$aix_use_runtimelinking" = yes; then
   17720 	  shared_flag="$shared_flag "'${wl}-G'
   17721 	fi
   17722       else
   17723 	# not using gcc
   17724 	if test "$host_cpu" = ia64; then
   17725   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17726   	# chokes on -Wl,-G. The following line is correct:
   17727 	  shared_flag='-G'
   17728 	else
   17729 	  if test "$aix_use_runtimelinking" = yes; then
   17730 	    shared_flag='${wl}-G'
   17731 	  else
   17732 	    shared_flag='${wl}-bM:SRE'
   17733 	  fi
   17734 	fi
   17735       fi
   17736 
   17737       # It seems that -bexpall does not export symbols beginning with
   17738       # underscore (_), so it is better to generate a list of symbols to export.
   17739       always_export_symbols_GCJ=yes
   17740       if test "$aix_use_runtimelinking" = yes; then
   17741 	# Warning - without using the other runtime loading flags (-brtl),
   17742 	# -berok will link without error, but may produce a broken library.
   17743 	allow_undefined_flag_GCJ='-berok'
   17744        # Determine the default libpath from the value encoded in an empty executable.
   17745        cat >conftest.$ac_ext <<_ACEOF
   17746 /* confdefs.h.  */
   17747 _ACEOF
   17748 cat confdefs.h >>conftest.$ac_ext
   17749 cat >>conftest.$ac_ext <<_ACEOF
   17750 /* end confdefs.h.  */
   17751 
   17752 int
   17753 main ()
   17754 {
   17755 
   17756   ;
   17757   return 0;
   17758 }
   17759 _ACEOF
   17760 rm -f conftest.$ac_objext conftest$ac_exeext
   17761 if { (ac_try="$ac_link"
   17762 case "(($ac_try" in
   17763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17764   *) ac_try_echo=$ac_try;;
   17765 esac
   17766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17767 $as_echo "$ac_try_echo") >&5
   17768   (eval "$ac_link") 2>conftest.er1
   17769   ac_status=$?
   17770   grep -v '^ *+' conftest.er1 >conftest.err
   17771   rm -f conftest.er1
   17772   cat conftest.err >&5
   17773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17774   (exit $ac_status); } && {
   17775 	 test -z "$ac_c_werror_flag" ||
   17776 	 test ! -s conftest.err
   17777        } && test -s conftest$ac_exeext && {
   17778 	 test "$cross_compiling" = yes ||
   17779 	 $as_test_x conftest$ac_exeext
   17780        }; then
   17781 
   17782 lt_aix_libpath_sed='
   17783     /Import File Strings/,/^$/ {
   17784 	/^0/ {
   17785 	    s/^0  *\(.*\)$/\1/
   17786 	    p
   17787 	}
   17788     }'
   17789 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17790 # Check for a 64-bit object if we didn't find anything.
   17791 if test -z "$aix_libpath"; then
   17792   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17793 fi
   17794 else
   17795   $as_echo "$as_me: failed program was:" >&5
   17796 sed 's/^/| /' conftest.$ac_ext >&5
   17797 
   17798 
   17799 fi
   17800 
   17801 rm -rf conftest.dSYM
   17802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17803       conftest$ac_exeext conftest.$ac_ext
   17804 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17805 
   17806        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17807 	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"
   17808        else
   17809 	if test "$host_cpu" = ia64; then
   17810 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17811 	  allow_undefined_flag_GCJ="-z nodefs"
   17812 	  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"
   17813 	else
   17814 	 # Determine the default libpath from the value encoded in an empty executable.
   17815 	 cat >conftest.$ac_ext <<_ACEOF
   17816 /* confdefs.h.  */
   17817 _ACEOF
   17818 cat confdefs.h >>conftest.$ac_ext
   17819 cat >>conftest.$ac_ext <<_ACEOF
   17820 /* end confdefs.h.  */
   17821 
   17822 int
   17823 main ()
   17824 {
   17825 
   17826   ;
   17827   return 0;
   17828 }
   17829 _ACEOF
   17830 rm -f conftest.$ac_objext conftest$ac_exeext
   17831 if { (ac_try="$ac_link"
   17832 case "(($ac_try" in
   17833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17834   *) ac_try_echo=$ac_try;;
   17835 esac
   17836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17837 $as_echo "$ac_try_echo") >&5
   17838   (eval "$ac_link") 2>conftest.er1
   17839   ac_status=$?
   17840   grep -v '^ *+' conftest.er1 >conftest.err
   17841   rm -f conftest.er1
   17842   cat conftest.err >&5
   17843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17844   (exit $ac_status); } && {
   17845 	 test -z "$ac_c_werror_flag" ||
   17846 	 test ! -s conftest.err
   17847        } && test -s conftest$ac_exeext && {
   17848 	 test "$cross_compiling" = yes ||
   17849 	 $as_test_x conftest$ac_exeext
   17850        }; then
   17851 
   17852 lt_aix_libpath_sed='
   17853     /Import File Strings/,/^$/ {
   17854 	/^0/ {
   17855 	    s/^0  *\(.*\)$/\1/
   17856 	    p
   17857 	}
   17858     }'
   17859 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17860 # Check for a 64-bit object if we didn't find anything.
   17861 if test -z "$aix_libpath"; then
   17862   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17863 fi
   17864 else
   17865   $as_echo "$as_me: failed program was:" >&5
   17866 sed 's/^/| /' conftest.$ac_ext >&5
   17867 
   17868 
   17869 fi
   17870 
   17871 rm -rf conftest.dSYM
   17872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17873       conftest$ac_exeext conftest.$ac_ext
   17874 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17875 
   17876 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17877 	  # Warning - without using the other run time loading flags,
   17878 	  # -berok will link without error, but may produce a broken library.
   17879 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17880 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17881 	  # Exported symbols can be pulled into shared objects from archives
   17882 	  whole_archive_flag_spec_GCJ='$convenience'
   17883 	  archive_cmds_need_lc_GCJ=yes
   17884 	  # This is similar to how AIX traditionally builds its shared libraries.
   17885 	  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'
   17886 	fi
   17887       fi
   17888       ;;
   17889 
   17890     amigaos*)
   17891       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)'
   17892       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17893       hardcode_minus_L_GCJ=yes
   17894       # see comment about different semantics on the GNU ld section
   17895       ld_shlibs_GCJ=no
   17896       ;;
   17897 
   17898     bsdi[45]*)
   17899       export_dynamic_flag_spec_GCJ=-rdynamic
   17900       ;;
   17901 
   17902     cygwin* | mingw* | pw32*)
   17903       # When not using gcc, we currently assume that we are using
   17904       # Microsoft Visual C++.
   17905       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17906       # no search path for DLLs.
   17907       hardcode_libdir_flag_spec_GCJ=' '
   17908       allow_undefined_flag_GCJ=unsupported
   17909       # Tell ltmain to make .lib files, not .a files.
   17910       libext=lib
   17911       # Tell ltmain to make .dll files, not .so files.
   17912       shrext_cmds=".dll"
   17913       # FIXME: Setting linknames here is a bad hack.
   17914       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17915       # The linker will automatically build a .lib file if we build a DLL.
   17916       old_archive_From_new_cmds_GCJ='true'
   17917       # FIXME: Should let the user specify the lib program.
   17918       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17919       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17920       enable_shared_with_static_runtimes_GCJ=yes
   17921       ;;
   17922 
   17923     darwin* | rhapsody*)
   17924       case $host_os in
   17925         rhapsody* | darwin1.[012])
   17926          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17927          ;;
   17928        *) # Darwin 1.3 on
   17929          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17930            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17931          else
   17932            case ${MACOSX_DEPLOYMENT_TARGET} in
   17933              10.[012])
   17934                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17935                ;;
   17936              10.*)
   17937                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17938                ;;
   17939            esac
   17940          fi
   17941          ;;
   17942       esac
   17943       archive_cmds_need_lc_GCJ=no
   17944       hardcode_direct_GCJ=no
   17945       hardcode_automatic_GCJ=yes
   17946       hardcode_shlibpath_var_GCJ=unsupported
   17947       whole_archive_flag_spec_GCJ=''
   17948       link_all_deplibs_GCJ=yes
   17949     if test "$GCC" = yes ; then
   17950     	output_verbose_link_cmd='echo'
   17951         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}"
   17952         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17953         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}"
   17954         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}"
   17955     else
   17956       case $cc_basename in
   17957         xlc*)
   17958          output_verbose_link_cmd='echo'
   17959          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17960          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17961           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17962          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}'
   17963           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}'
   17964           ;;
   17965        *)
   17966          ld_shlibs_GCJ=no
   17967           ;;
   17968       esac
   17969     fi
   17970       ;;
   17971 
   17972     dgux*)
   17973       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17974       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17975       hardcode_shlibpath_var_GCJ=no
   17976       ;;
   17977 
   17978     freebsd1*)
   17979       ld_shlibs_GCJ=no
   17980       ;;
   17981 
   17982     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17983     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17984     # does not break anything, and helps significantly (at the cost of a little
   17985     # extra space).
   17986     freebsd2.2*)
   17987       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17988       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17989       hardcode_direct_GCJ=yes
   17990       hardcode_shlibpath_var_GCJ=no
   17991       ;;
   17992 
   17993     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17994     freebsd2*)
   17995       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17996       hardcode_direct_GCJ=yes
   17997       hardcode_minus_L_GCJ=yes
   17998       hardcode_shlibpath_var_GCJ=no
   17999       ;;
   18000 
   18001     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18002     freebsd* | dragonfly*)
   18003       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18004       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18005       hardcode_direct_GCJ=yes
   18006       hardcode_shlibpath_var_GCJ=no
   18007       ;;
   18008 
   18009     hpux9*)
   18010       if test "$GCC" = yes; then
   18011 	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'
   18012       else
   18013 	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'
   18014       fi
   18015       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18016       hardcode_libdir_separator_GCJ=:
   18017       hardcode_direct_GCJ=yes
   18018 
   18019       # hardcode_minus_L: Not really in the search PATH,
   18020       # but as the default location of the library.
   18021       hardcode_minus_L_GCJ=yes
   18022       export_dynamic_flag_spec_GCJ='${wl}-E'
   18023       ;;
   18024 
   18025     hpux10*)
   18026       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18027 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18028       else
   18029 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18030       fi
   18031       if test "$with_gnu_ld" = no; then
   18032 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18033 	hardcode_libdir_separator_GCJ=:
   18034 
   18035 	hardcode_direct_GCJ=yes
   18036 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18037 
   18038 	# hardcode_minus_L: Not really in the search PATH,
   18039 	# but as the default location of the library.
   18040 	hardcode_minus_L_GCJ=yes
   18041       fi
   18042       ;;
   18043 
   18044     hpux11*)
   18045       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18046 	case $host_cpu in
   18047 	hppa*64*)
   18048 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18049 	  ;;
   18050 	ia64*)
   18051 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18052 	  ;;
   18053 	*)
   18054 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18055 	  ;;
   18056 	esac
   18057       else
   18058 	case $host_cpu in
   18059 	hppa*64*)
   18060 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18061 	  ;;
   18062 	ia64*)
   18063 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18064 	  ;;
   18065 	*)
   18066 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18067 	  ;;
   18068 	esac
   18069       fi
   18070       if test "$with_gnu_ld" = no; then
   18071 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18072 	hardcode_libdir_separator_GCJ=:
   18073 
   18074 	case $host_cpu in
   18075 	hppa*64*|ia64*)
   18076 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18077 	  hardcode_direct_GCJ=no
   18078 	  hardcode_shlibpath_var_GCJ=no
   18079 	  ;;
   18080 	*)
   18081 	  hardcode_direct_GCJ=yes
   18082 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18083 
   18084 	  # hardcode_minus_L: Not really in the search PATH,
   18085 	  # but as the default location of the library.
   18086 	  hardcode_minus_L_GCJ=yes
   18087 	  ;;
   18088 	esac
   18089       fi
   18090       ;;
   18091 
   18092     irix5* | irix6* | nonstopux*)
   18093       if test "$GCC" = yes; then
   18094 	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'
   18095       else
   18096 	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'
   18097 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18098       fi
   18099       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18100       hardcode_libdir_separator_GCJ=:
   18101       link_all_deplibs_GCJ=yes
   18102       ;;
   18103 
   18104     netbsd*)
   18105       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18106 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18107       else
   18108 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18109       fi
   18110       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18111       hardcode_direct_GCJ=yes
   18112       hardcode_shlibpath_var_GCJ=no
   18113       ;;
   18114 
   18115     newsos6)
   18116       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18117       hardcode_direct_GCJ=yes
   18118       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18119       hardcode_libdir_separator_GCJ=:
   18120       hardcode_shlibpath_var_GCJ=no
   18121       ;;
   18122 
   18123     openbsd*)
   18124       if test -f /usr/libexec/ld.so; then
   18125 	hardcode_direct_GCJ=yes
   18126 	hardcode_shlibpath_var_GCJ=no
   18127 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18128 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18129 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18130 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18131 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18132 	else
   18133 	  case $host_os in
   18134 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18135 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18136 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18137 	     ;;
   18138 	   *)
   18139 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18140 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18141 	     ;;
   18142 	  esac
   18143         fi
   18144       else
   18145 	ld_shlibs_GCJ=no
   18146       fi
   18147       ;;
   18148 
   18149     os2*)
   18150       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18151       hardcode_minus_L_GCJ=yes
   18152       allow_undefined_flag_GCJ=unsupported
   18153       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'
   18154       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18155       ;;
   18156 
   18157     osf3*)
   18158       if test "$GCC" = yes; then
   18159 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18160 	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'
   18161       else
   18162 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18163 	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'
   18164       fi
   18165       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18166       hardcode_libdir_separator_GCJ=:
   18167       ;;
   18168 
   18169     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18170       if test "$GCC" = yes; then
   18171 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18172 	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'
   18173 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18174       else
   18175 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18176 	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'
   18177 	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~
   18178 	$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'
   18179 
   18180 	# Both c and cxx compiler support -rpath directly
   18181 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18182       fi
   18183       hardcode_libdir_separator_GCJ=:
   18184       ;;
   18185 
   18186     solaris*)
   18187       no_undefined_flag_GCJ=' -z text'
   18188       if test "$GCC" = yes; then
   18189 	wlarc='${wl}'
   18190 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18191 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18192 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18193       else
   18194 	wlarc=''
   18195 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18196 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18197   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18198       fi
   18199       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18200       hardcode_shlibpath_var_GCJ=no
   18201       case $host_os in
   18202       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18203       *)
   18204 	# The compiler driver will combine and reorder linker options,
   18205 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18206 	# but is careful enough not to reorder.
   18207  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18208 	if test "$GCC" = yes; then
   18209 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18210 	else
   18211 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18212 	fi
   18213 	;;
   18214       esac
   18215       link_all_deplibs_GCJ=yes
   18216       ;;
   18217 
   18218     sunos4*)
   18219       if test "x$host_vendor" = xsequent; then
   18220 	# Use $CC to link under sequent, because it throws in some extra .o
   18221 	# files that make .init and .fini sections work.
   18222 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18223       else
   18224 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18225       fi
   18226       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18227       hardcode_direct_GCJ=yes
   18228       hardcode_minus_L_GCJ=yes
   18229       hardcode_shlibpath_var_GCJ=no
   18230       ;;
   18231 
   18232     sysv4)
   18233       case $host_vendor in
   18234 	sni)
   18235 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18236 	  hardcode_direct_GCJ=yes # is this really true???
   18237 	;;
   18238 	siemens)
   18239 	  ## LD is ld it makes a PLAMLIB
   18240 	  ## CC just makes a GrossModule.
   18241 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18242 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18243 	  hardcode_direct_GCJ=no
   18244         ;;
   18245 	motorola)
   18246 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18247 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18248 	;;
   18249       esac
   18250       runpath_var='LD_RUN_PATH'
   18251       hardcode_shlibpath_var_GCJ=no
   18252       ;;
   18253 
   18254     sysv4.3*)
   18255       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18256       hardcode_shlibpath_var_GCJ=no
   18257       export_dynamic_flag_spec_GCJ='-Bexport'
   18258       ;;
   18259 
   18260     sysv4*MP*)
   18261       if test -d /usr/nec; then
   18262 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18263 	hardcode_shlibpath_var_GCJ=no
   18264 	runpath_var=LD_RUN_PATH
   18265 	hardcode_runpath_var=yes
   18266 	ld_shlibs_GCJ=yes
   18267       fi
   18268       ;;
   18269 
   18270     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18271       no_undefined_flag_GCJ='${wl}-z,text'
   18272       archive_cmds_need_lc_GCJ=no
   18273       hardcode_shlibpath_var_GCJ=no
   18274       runpath_var='LD_RUN_PATH'
   18275 
   18276       if test "$GCC" = yes; then
   18277 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18278 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18279       else
   18280 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18281 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18282       fi
   18283       ;;
   18284 
   18285     sysv5* | sco3.2v5* | sco5v6*)
   18286       # Note: We can NOT use -z defs as we might desire, because we do not
   18287       # link with -lc, and that would cause any symbols used from libc to
   18288       # always be unresolved, which means just about no library would
   18289       # ever link correctly.  If we're not using GNU ld we use -z text
   18290       # though, which does catch some bad symbols but isn't as heavy-handed
   18291       # as -z defs.
   18292       no_undefined_flag_GCJ='${wl}-z,text'
   18293       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18294       archive_cmds_need_lc_GCJ=no
   18295       hardcode_shlibpath_var_GCJ=no
   18296       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18297       hardcode_libdir_separator_GCJ=':'
   18298       link_all_deplibs_GCJ=yes
   18299       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18300       runpath_var='LD_RUN_PATH'
   18301 
   18302       if test "$GCC" = yes; then
   18303 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18304 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18305       else
   18306 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18307 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18308       fi
   18309       ;;
   18310 
   18311     uts4*)
   18312       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18313       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18314       hardcode_shlibpath_var_GCJ=no
   18315       ;;
   18316 
   18317     *)
   18318       ld_shlibs_GCJ=no
   18319       ;;
   18320     esac
   18321   fi
   18322 
   18323 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18324 $as_echo "$ld_shlibs_GCJ" >&6; }
   18325 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18326 
   18327 #
   18328 # Do we need to explicitly link libc?
   18329 #
   18330 case "x$archive_cmds_need_lc_GCJ" in
   18331 x|xyes)
   18332   # Assume -lc should be added
   18333   archive_cmds_need_lc_GCJ=yes
   18334 
   18335   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18336     case $archive_cmds_GCJ in
   18337     *'~'*)
   18338       # FIXME: we may have to deal with multi-command sequences.
   18339       ;;
   18340     '$CC '*)
   18341       # Test whether the compiler implicitly links with -lc since on some
   18342       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18343       # to ld, don't add -lc before -lgcc.
   18344       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18345 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18346       $rm conftest*
   18347       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18348 
   18349       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18350   (eval $ac_compile) 2>&5
   18351   ac_status=$?
   18352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18353   (exit $ac_status); } 2>conftest.err; then
   18354         soname=conftest
   18355         lib=conftest
   18356         libobjs=conftest.$ac_objext
   18357         deplibs=
   18358         wl=$lt_prog_compiler_wl_GCJ
   18359 	pic_flag=$lt_prog_compiler_pic_GCJ
   18360         compiler_flags=-v
   18361         linker_flags=-v
   18362         verstring=
   18363         output_objdir=.
   18364         libname=conftest
   18365         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18366         allow_undefined_flag_GCJ=
   18367         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18368   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18369   ac_status=$?
   18370   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18371   (exit $ac_status); }
   18372         then
   18373 	  archive_cmds_need_lc_GCJ=no
   18374         else
   18375 	  archive_cmds_need_lc_GCJ=yes
   18376         fi
   18377         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18378       else
   18379         cat conftest.err 1>&5
   18380       fi
   18381       $rm conftest*
   18382       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18383 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18384       ;;
   18385     esac
   18386   fi
   18387   ;;
   18388 esac
   18389 
   18390 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18391 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18392 library_names_spec=
   18393 libname_spec='lib$name'
   18394 soname_spec=
   18395 shrext_cmds=".so"
   18396 postinstall_cmds=
   18397 postuninstall_cmds=
   18398 finish_cmds=
   18399 finish_eval=
   18400 shlibpath_var=
   18401 shlibpath_overrides_runpath=unknown
   18402 version_type=none
   18403 dynamic_linker="$host_os ld.so"
   18404 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18405 
   18406 need_lib_prefix=unknown
   18407 hardcode_into_libs=no
   18408 
   18409 # when you set need_version to no, make sure it does not cause -set_version
   18410 # flags to be left without arguments
   18411 need_version=unknown
   18412 
   18413 case $host_os in
   18414 aix3*)
   18415   version_type=linux
   18416   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18417   shlibpath_var=LIBPATH
   18418 
   18419   # AIX 3 has no versioning support, so we append a major version to the name.
   18420   soname_spec='${libname}${release}${shared_ext}$major'
   18421   ;;
   18422 
   18423 aix[4-9]*)
   18424   version_type=linux
   18425   need_lib_prefix=no
   18426   need_version=no
   18427   hardcode_into_libs=yes
   18428   if test "$host_cpu" = ia64; then
   18429     # AIX 5 supports IA64
   18430     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18431     shlibpath_var=LD_LIBRARY_PATH
   18432   else
   18433     # With GCC up to 2.95.x, collect2 would create an import file
   18434     # for dependence libraries.  The import file would start with
   18435     # the line `#! .'.  This would cause the generated library to
   18436     # depend on `.', always an invalid library.  This was fixed in
   18437     # development snapshots of GCC prior to 3.0.
   18438     case $host_os in
   18439       aix4 | aix4.[01] | aix4.[01].*)
   18440       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18441 	   echo ' yes '
   18442 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18443 	:
   18444       else
   18445 	can_build_shared=no
   18446       fi
   18447       ;;
   18448     esac
   18449     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18450     # soname into executable. Probably we can add versioning support to
   18451     # collect2, so additional links can be useful in future.
   18452     if test "$aix_use_runtimelinking" = yes; then
   18453       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18454       # instead of lib<name>.a to let people know that these are not
   18455       # typical AIX shared libraries.
   18456       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18457     else
   18458       # We preserve .a as extension for shared libraries through AIX4.2
   18459       # and later when we are not doing run time linking.
   18460       library_names_spec='${libname}${release}.a $libname.a'
   18461       soname_spec='${libname}${release}${shared_ext}$major'
   18462     fi
   18463     shlibpath_var=LIBPATH
   18464   fi
   18465   ;;
   18466 
   18467 amigaos*)
   18468   library_names_spec='$libname.ixlibrary $libname.a'
   18469   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18470   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'
   18471   ;;
   18472 
   18473 beos*)
   18474   library_names_spec='${libname}${shared_ext}'
   18475   dynamic_linker="$host_os ld.so"
   18476   shlibpath_var=LIBRARY_PATH
   18477   ;;
   18478 
   18479 bsdi[45]*)
   18480   version_type=linux
   18481   need_version=no
   18482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18483   soname_spec='${libname}${release}${shared_ext}$major'
   18484   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18485   shlibpath_var=LD_LIBRARY_PATH
   18486   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18487   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18488   # the default ld.so.conf also contains /usr/contrib/lib and
   18489   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18490   # libtool to hard-code these into programs
   18491   ;;
   18492 
   18493 cygwin* | mingw* | pw32*)
   18494   version_type=windows
   18495   shrext_cmds=".dll"
   18496   need_version=no
   18497   need_lib_prefix=no
   18498 
   18499   case $GCC,$host_os in
   18500   yes,cygwin* | yes,mingw* | yes,pw32*)
   18501     library_names_spec='$libname.dll.a'
   18502     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18503     postinstall_cmds='base_file=`basename \${file}`~
   18504       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18505       dldir=$destdir/`dirname \$dlpath`~
   18506       test -d \$dldir || mkdir -p \$dldir~
   18507       $install_prog $dir/$dlname \$dldir/$dlname~
   18508       chmod a+x \$dldir/$dlname'
   18509     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18510       dlpath=$dir/\$dldll~
   18511        $rm \$dlpath'
   18512     shlibpath_overrides_runpath=yes
   18513 
   18514     case $host_os in
   18515     cygwin*)
   18516       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18517       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18518       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18519       ;;
   18520     mingw*)
   18521       # MinGW DLLs use traditional 'lib' prefix
   18522       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18523       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18524       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18525         # It is most probably a Windows format PATH printed by
   18526         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18527         # path with ; separators, and with drive letters. We can handle the
   18528         # drive letters (cygwin fileutils understands them), so leave them,
   18529         # especially as we might pass files found there to a mingw objdump,
   18530         # which wouldn't understand a cygwinified path. Ahh.
   18531         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18532       else
   18533         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18534       fi
   18535       ;;
   18536     pw32*)
   18537       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18538       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18539       ;;
   18540     esac
   18541     ;;
   18542 
   18543   *)
   18544     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18545     ;;
   18546   esac
   18547   dynamic_linker='Win32 ld.exe'
   18548   # FIXME: first we should search . and the directory the executable is in
   18549   shlibpath_var=PATH
   18550   ;;
   18551 
   18552 darwin* | rhapsody*)
   18553   dynamic_linker="$host_os dyld"
   18554   version_type=darwin
   18555   need_lib_prefix=no
   18556   need_version=no
   18557   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18558   soname_spec='${libname}${release}${major}$shared_ext'
   18559   shlibpath_overrides_runpath=yes
   18560   shlibpath_var=DYLD_LIBRARY_PATH
   18561   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18562 
   18563   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18564   ;;
   18565 
   18566 dgux*)
   18567   version_type=linux
   18568   need_lib_prefix=no
   18569   need_version=no
   18570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18571   soname_spec='${libname}${release}${shared_ext}$major'
   18572   shlibpath_var=LD_LIBRARY_PATH
   18573   ;;
   18574 
   18575 freebsd1*)
   18576   dynamic_linker=no
   18577   ;;
   18578 
   18579 freebsd* | dragonfly*)
   18580   # DragonFly does not have aout.  When/if they implement a new
   18581   # versioning mechanism, adjust this.
   18582   if test -x /usr/bin/objformat; then
   18583     objformat=`/usr/bin/objformat`
   18584   else
   18585     case $host_os in
   18586     freebsd[123]*) objformat=aout ;;
   18587     *) objformat=elf ;;
   18588     esac
   18589   fi
   18590   version_type=freebsd-$objformat
   18591   case $version_type in
   18592     freebsd-elf*)
   18593       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18594       need_version=no
   18595       need_lib_prefix=no
   18596       ;;
   18597     freebsd-*)
   18598       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18599       need_version=yes
   18600       ;;
   18601   esac
   18602   shlibpath_var=LD_LIBRARY_PATH
   18603   case $host_os in
   18604   freebsd2*)
   18605     shlibpath_overrides_runpath=yes
   18606     ;;
   18607   freebsd3.[01]* | freebsdelf3.[01]*)
   18608     shlibpath_overrides_runpath=yes
   18609     hardcode_into_libs=yes
   18610     ;;
   18611   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18612   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18613     shlibpath_overrides_runpath=no
   18614     hardcode_into_libs=yes
   18615     ;;
   18616   *) # from 4.6 on, and DragonFly
   18617     shlibpath_overrides_runpath=yes
   18618     hardcode_into_libs=yes
   18619     ;;
   18620   esac
   18621   ;;
   18622 
   18623 gnu*)
   18624   version_type=linux
   18625   need_lib_prefix=no
   18626   need_version=no
   18627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18628   soname_spec='${libname}${release}${shared_ext}$major'
   18629   shlibpath_var=LD_LIBRARY_PATH
   18630   hardcode_into_libs=yes
   18631   ;;
   18632 
   18633 hpux9* | hpux10* | hpux11*)
   18634   # Give a soname corresponding to the major version so that dld.sl refuses to
   18635   # link against other versions.
   18636   version_type=sunos
   18637   need_lib_prefix=no
   18638   need_version=no
   18639   case $host_cpu in
   18640   ia64*)
   18641     shrext_cmds='.so'
   18642     hardcode_into_libs=yes
   18643     dynamic_linker="$host_os dld.so"
   18644     shlibpath_var=LD_LIBRARY_PATH
   18645     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18646     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18647     soname_spec='${libname}${release}${shared_ext}$major'
   18648     if test "X$HPUX_IA64_MODE" = X32; then
   18649       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18650     else
   18651       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18652     fi
   18653     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18654     ;;
   18655    hppa*64*)
   18656      shrext_cmds='.sl'
   18657      hardcode_into_libs=yes
   18658      dynamic_linker="$host_os dld.sl"
   18659      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18660      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18661      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18662      soname_spec='${libname}${release}${shared_ext}$major'
   18663      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18664      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18665      ;;
   18666    *)
   18667     shrext_cmds='.sl'
   18668     dynamic_linker="$host_os dld.sl"
   18669     shlibpath_var=SHLIB_PATH
   18670     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   18674   esac
   18675   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18676   postinstall_cmds='chmod 555 $lib'
   18677   ;;
   18678 
   18679 interix[3-9]*)
   18680   version_type=linux
   18681   need_lib_prefix=no
   18682   need_version=no
   18683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18684   soname_spec='${libname}${release}${shared_ext}$major'
   18685   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18686   shlibpath_var=LD_LIBRARY_PATH
   18687   shlibpath_overrides_runpath=no
   18688   hardcode_into_libs=yes
   18689   ;;
   18690 
   18691 irix5* | irix6* | nonstopux*)
   18692   case $host_os in
   18693     nonstopux*) version_type=nonstopux ;;
   18694     *)
   18695 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18696 		version_type=linux
   18697 	else
   18698 		version_type=irix
   18699 	fi ;;
   18700   esac
   18701   need_lib_prefix=no
   18702   need_version=no
   18703   soname_spec='${libname}${release}${shared_ext}$major'
   18704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18705   case $host_os in
   18706   irix5* | nonstopux*)
   18707     libsuff= shlibsuff=
   18708     ;;
   18709   *)
   18710     case $LD in # libtool.m4 will add one of these switches to LD
   18711     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18712       libsuff= shlibsuff= libmagic=32-bit;;
   18713     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18714       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18715     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18716       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18717     *) libsuff= shlibsuff= libmagic=never-match;;
   18718     esac
   18719     ;;
   18720   esac
   18721   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18722   shlibpath_overrides_runpath=no
   18723   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18724   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18725   hardcode_into_libs=yes
   18726   ;;
   18727 
   18728 # No shared lib support for Linux oldld, aout, or coff.
   18729 linux*oldld* | linux*aout* | linux*coff*)
   18730   dynamic_linker=no
   18731   ;;
   18732 
   18733 # This must be Linux ELF.
   18734 linux* | k*bsd*-gnu)
   18735   version_type=linux
   18736   need_lib_prefix=no
   18737   need_version=no
   18738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18739   soname_spec='${libname}${release}${shared_ext}$major'
   18740   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18741   shlibpath_var=LD_LIBRARY_PATH
   18742   shlibpath_overrides_runpath=no
   18743   # This implies no fast_install, which is unacceptable.
   18744   # Some rework will be needed to allow for fast_install
   18745   # before this can be enabled.
   18746   hardcode_into_libs=yes
   18747   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18748   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18749 
   18750   # Append ld.so.conf contents to the search path
   18751   if test -f /etc/ld.so.conf; then
   18752     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' ' '`
   18753     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18754   fi
   18755 
   18756   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18757   # powerpc, because MkLinux only supported shared libraries with the
   18758   # GNU dynamic linker.  Since this was broken with cross compilers,
   18759   # most powerpc-linux boxes support dynamic linking these days and
   18760   # people can always --disable-shared, the test was removed, and we
   18761   # assume the GNU/Linux dynamic linker is in use.
   18762   dynamic_linker='GNU/Linux ld.so'
   18763   ;;
   18764 
   18765 netbsd*)
   18766   version_type=sunos
   18767   need_lib_prefix=no
   18768   need_version=no
   18769   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18770     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18771     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18772     dynamic_linker='NetBSD (a.out) ld.so'
   18773   else
   18774     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18775     soname_spec='${libname}${release}${shared_ext}$major'
   18776     dynamic_linker='NetBSD ld.elf_so'
   18777   fi
   18778   shlibpath_var=LD_LIBRARY_PATH
   18779   shlibpath_overrides_runpath=yes
   18780   hardcode_into_libs=yes
   18781   ;;
   18782 
   18783 newsos6)
   18784   version_type=linux
   18785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18786   shlibpath_var=LD_LIBRARY_PATH
   18787   shlibpath_overrides_runpath=yes
   18788   ;;
   18789 
   18790 nto-qnx*)
   18791   version_type=linux
   18792   need_lib_prefix=no
   18793   need_version=no
   18794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18795   soname_spec='${libname}${release}${shared_ext}$major'
   18796   shlibpath_var=LD_LIBRARY_PATH
   18797   shlibpath_overrides_runpath=yes
   18798   ;;
   18799 
   18800 openbsd*)
   18801   version_type=sunos
   18802   sys_lib_dlsearch_path_spec="/usr/lib"
   18803   need_lib_prefix=no
   18804   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18805   case $host_os in
   18806     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18807     *)                         need_version=no  ;;
   18808   esac
   18809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18810   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18811   shlibpath_var=LD_LIBRARY_PATH
   18812   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18813     case $host_os in
   18814       openbsd2.[89] | openbsd2.[89].*)
   18815 	shlibpath_overrides_runpath=no
   18816 	;;
   18817       *)
   18818 	shlibpath_overrides_runpath=yes
   18819 	;;
   18820       esac
   18821   else
   18822     shlibpath_overrides_runpath=yes
   18823   fi
   18824   ;;
   18825 
   18826 os2*)
   18827   libname_spec='$name'
   18828   shrext_cmds=".dll"
   18829   need_lib_prefix=no
   18830   library_names_spec='$libname${shared_ext} $libname.a'
   18831   dynamic_linker='OS/2 ld.exe'
   18832   shlibpath_var=LIBPATH
   18833   ;;
   18834 
   18835 osf3* | osf4* | osf5*)
   18836   version_type=osf
   18837   need_lib_prefix=no
   18838   need_version=no
   18839   soname_spec='${libname}${release}${shared_ext}$major'
   18840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18841   shlibpath_var=LD_LIBRARY_PATH
   18842   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18843   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18844   ;;
   18845 
   18846 rdos*)
   18847   dynamic_linker=no
   18848   ;;
   18849 
   18850 solaris*)
   18851   version_type=linux
   18852   need_lib_prefix=no
   18853   need_version=no
   18854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18855   soname_spec='${libname}${release}${shared_ext}$major'
   18856   shlibpath_var=LD_LIBRARY_PATH
   18857   shlibpath_overrides_runpath=yes
   18858   hardcode_into_libs=yes
   18859   # ldd complains unless libraries are executable
   18860   postinstall_cmds='chmod +x $lib'
   18861   ;;
   18862 
   18863 sunos4*)
   18864   version_type=sunos
   18865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18866   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18867   shlibpath_var=LD_LIBRARY_PATH
   18868   shlibpath_overrides_runpath=yes
   18869   if test "$with_gnu_ld" = yes; then
   18870     need_lib_prefix=no
   18871   fi
   18872   need_version=yes
   18873   ;;
   18874 
   18875 sysv4 | sysv4.3*)
   18876   version_type=linux
   18877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18878   soname_spec='${libname}${release}${shared_ext}$major'
   18879   shlibpath_var=LD_LIBRARY_PATH
   18880   case $host_vendor in
   18881     sni)
   18882       shlibpath_overrides_runpath=no
   18883       need_lib_prefix=no
   18884       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18885       runpath_var=LD_RUN_PATH
   18886       ;;
   18887     siemens)
   18888       need_lib_prefix=no
   18889       ;;
   18890     motorola)
   18891       need_lib_prefix=no
   18892       need_version=no
   18893       shlibpath_overrides_runpath=no
   18894       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18895       ;;
   18896   esac
   18897   ;;
   18898 
   18899 sysv4*MP*)
   18900   if test -d /usr/nec ;then
   18901     version_type=linux
   18902     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18903     soname_spec='$libname${shared_ext}.$major'
   18904     shlibpath_var=LD_LIBRARY_PATH
   18905   fi
   18906   ;;
   18907 
   18908 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18909   version_type=freebsd-elf
   18910   need_lib_prefix=no
   18911   need_version=no
   18912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18913   soname_spec='${libname}${release}${shared_ext}$major'
   18914   shlibpath_var=LD_LIBRARY_PATH
   18915   hardcode_into_libs=yes
   18916   if test "$with_gnu_ld" = yes; then
   18917     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18918     shlibpath_overrides_runpath=no
   18919   else
   18920     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18921     shlibpath_overrides_runpath=yes
   18922     case $host_os in
   18923       sco3.2v5*)
   18924         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18925 	;;
   18926     esac
   18927   fi
   18928   sys_lib_dlsearch_path_spec='/usr/lib'
   18929   ;;
   18930 
   18931 uts4*)
   18932   version_type=linux
   18933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18934   soname_spec='${libname}${release}${shared_ext}$major'
   18935   shlibpath_var=LD_LIBRARY_PATH
   18936   ;;
   18937 
   18938 *)
   18939   dynamic_linker=no
   18940   ;;
   18941 esac
   18942 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18943 $as_echo "$dynamic_linker" >&6; }
   18944 test "$dynamic_linker" = no && can_build_shared=no
   18945 
   18946 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   18947   $as_echo_n "(cached) " >&6
   18948 else
   18949   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   18950 fi
   18951 
   18952 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   18953 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   18954   $as_echo_n "(cached) " >&6
   18955 else
   18956   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   18957 fi
   18958 
   18959 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   18960 
   18961 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18962 if test "$GCC" = yes; then
   18963   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18964 fi
   18965 
   18966 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18967 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18968 hardcode_action_GCJ=
   18969 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18970    test -n "$runpath_var_GCJ" || \
   18971    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18972 
   18973   # We can hardcode non-existant directories.
   18974   if test "$hardcode_direct_GCJ" != no &&
   18975      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18976      # have to relink, otherwise we might link with an installed library
   18977      # when we should be linking with a yet-to-be-installed one
   18978      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18979      test "$hardcode_minus_L_GCJ" != no; then
   18980     # Linking always hardcodes the temporary library directory.
   18981     hardcode_action_GCJ=relink
   18982   else
   18983     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18984     hardcode_action_GCJ=immediate
   18985   fi
   18986 else
   18987   # We cannot hardcode anything, or else we can only hardcode existing
   18988   # directories.
   18989   hardcode_action_GCJ=unsupported
   18990 fi
   18991 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18992 $as_echo "$hardcode_action_GCJ" >&6; }
   18993 
   18994 if test "$hardcode_action_GCJ" = relink; then
   18995   # Fast installation is not supported
   18996   enable_fast_install=no
   18997 elif test "$shlibpath_overrides_runpath" = yes ||
   18998      test "$enable_shared" = no; then
   18999   # Fast installation is not necessary
   19000   enable_fast_install=needless
   19001 fi
   19002 
   19003 
   19004 # The else clause should only fire when bootstrapping the
   19005 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19006 # with your package, and you will get complaints that there are
   19007 # no rules to generate ltmain.sh.
   19008 if test -f "$ltmain"; then
   19009   # See if we are running on zsh, and set the options which allow our commands through
   19010   # without removal of \ escapes.
   19011   if test -n "${ZSH_VERSION+set}" ; then
   19012     setopt NO_GLOB_SUBST
   19013   fi
   19014   # Now quote all the things that may contain metacharacters while being
   19015   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19016   # variables and quote the copies for generation of the libtool script.
   19017   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19018     SED SHELL STRIP \
   19019     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19020     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19021     deplibs_check_method reload_flag reload_cmds need_locks \
   19022     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19023     lt_cv_sys_global_symbol_to_c_name_address \
   19024     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19025     old_postinstall_cmds old_postuninstall_cmds \
   19026     compiler_GCJ \
   19027     CC_GCJ \
   19028     LD_GCJ \
   19029     lt_prog_compiler_wl_GCJ \
   19030     lt_prog_compiler_pic_GCJ \
   19031     lt_prog_compiler_static_GCJ \
   19032     lt_prog_compiler_no_builtin_flag_GCJ \
   19033     export_dynamic_flag_spec_GCJ \
   19034     thread_safe_flag_spec_GCJ \
   19035     whole_archive_flag_spec_GCJ \
   19036     enable_shared_with_static_runtimes_GCJ \
   19037     old_archive_cmds_GCJ \
   19038     old_archive_from_new_cmds_GCJ \
   19039     predep_objects_GCJ \
   19040     postdep_objects_GCJ \
   19041     predeps_GCJ \
   19042     postdeps_GCJ \
   19043     compiler_lib_search_path_GCJ \
   19044     compiler_lib_search_dirs_GCJ \
   19045     archive_cmds_GCJ \
   19046     archive_expsym_cmds_GCJ \
   19047     postinstall_cmds_GCJ \
   19048     postuninstall_cmds_GCJ \
   19049     old_archive_from_expsyms_cmds_GCJ \
   19050     allow_undefined_flag_GCJ \
   19051     no_undefined_flag_GCJ \
   19052     export_symbols_cmds_GCJ \
   19053     hardcode_libdir_flag_spec_GCJ \
   19054     hardcode_libdir_flag_spec_ld_GCJ \
   19055     hardcode_libdir_separator_GCJ \
   19056     hardcode_automatic_GCJ \
   19057     module_cmds_GCJ \
   19058     module_expsym_cmds_GCJ \
   19059     lt_cv_prog_compiler_c_o_GCJ \
   19060     fix_srcfile_path_GCJ \
   19061     exclude_expsyms_GCJ \
   19062     include_expsyms_GCJ; do
   19063 
   19064     case $var in
   19065     old_archive_cmds_GCJ | \
   19066     old_archive_from_new_cmds_GCJ | \
   19067     archive_cmds_GCJ | \
   19068     archive_expsym_cmds_GCJ | \
   19069     module_cmds_GCJ | \
   19070     module_expsym_cmds_GCJ | \
   19071     old_archive_from_expsyms_cmds_GCJ | \
   19072     export_symbols_cmds_GCJ | \
   19073     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19074     postinstall_cmds | postuninstall_cmds | \
   19075     old_postinstall_cmds | old_postuninstall_cmds | \
   19076     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19077       # Double-quote double-evaled strings.
   19078       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19079       ;;
   19080     *)
   19081       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19082       ;;
   19083     esac
   19084   done
   19085 
   19086   case $lt_echo in
   19087   *'\$0 --fallback-echo"')
   19088     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19089     ;;
   19090   esac
   19091 
   19092 cfgfile="$ofile"
   19093 
   19094   cat <<__EOF__ >> "$cfgfile"
   19095 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19096 
   19097 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19098 
   19099 # Shell to use when invoking shell scripts.
   19100 SHELL=$lt_SHELL
   19101 
   19102 # Whether or not to build shared libraries.
   19103 build_libtool_libs=$enable_shared
   19104 
   19105 # Whether or not to build static libraries.
   19106 build_old_libs=$enable_static
   19107 
   19108 # Whether or not to add -lc for building shared libraries.
   19109 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19110 
   19111 # Whether or not to disallow shared libs when runtime libs are static
   19112 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19113 
   19114 # Whether or not to optimize for fast installation.
   19115 fast_install=$enable_fast_install
   19116 
   19117 # The host system.
   19118 host_alias=$host_alias
   19119 host=$host
   19120 host_os=$host_os
   19121 
   19122 # The build system.
   19123 build_alias=$build_alias
   19124 build=$build
   19125 build_os=$build_os
   19126 
   19127 # An echo program that does not interpret backslashes.
   19128 echo=$lt_echo
   19129 
   19130 # The archiver.
   19131 AR=$lt_AR
   19132 AR_FLAGS=$lt_AR_FLAGS
   19133 
   19134 # A C compiler.
   19135 LTCC=$lt_LTCC
   19136 
   19137 # LTCC compiler flags.
   19138 LTCFLAGS=$lt_LTCFLAGS
   19139 
   19140 # A language-specific compiler.
   19141 CC=$lt_compiler_GCJ
   19142 
   19143 # Is the compiler the GNU C compiler?
   19144 with_gcc=$GCC_GCJ
   19145 
   19146 # An ERE matcher.
   19147 EGREP=$lt_EGREP
   19148 
   19149 # The linker used to build libraries.
   19150 LD=$lt_LD_GCJ
   19151 
   19152 # Whether we need hard or soft links.
   19153 LN_S=$lt_LN_S
   19154 
   19155 # A BSD-compatible nm program.
   19156 NM=$lt_NM
   19157 
   19158 # A symbol stripping program
   19159 STRIP=$lt_STRIP
   19160 
   19161 # Used to examine libraries when file_magic_cmd begins "file"
   19162 MAGIC_CMD=$MAGIC_CMD
   19163 
   19164 # Used on cygwin: DLL creation program.
   19165 DLLTOOL="$DLLTOOL"
   19166 
   19167 # Used on cygwin: object dumper.
   19168 OBJDUMP="$OBJDUMP"
   19169 
   19170 # Used on cygwin: assembler.
   19171 AS="$AS"
   19172 
   19173 # The name of the directory that contains temporary libtool files.
   19174 objdir=$objdir
   19175 
   19176 # How to create reloadable object files.
   19177 reload_flag=$lt_reload_flag
   19178 reload_cmds=$lt_reload_cmds
   19179 
   19180 # How to pass a linker flag through the compiler.
   19181 wl=$lt_lt_prog_compiler_wl_GCJ
   19182 
   19183 # Object file suffix (normally "o").
   19184 objext="$ac_objext"
   19185 
   19186 # Old archive suffix (normally "a").
   19187 libext="$libext"
   19188 
   19189 # Shared library suffix (normally ".so").
   19190 shrext_cmds='$shrext_cmds'
   19191 
   19192 # Executable file suffix (normally "").
   19193 exeext="$exeext"
   19194 
   19195 # Additional compiler flags for building library objects.
   19196 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19197 pic_mode=$pic_mode
   19198 
   19199 # What is the maximum length of a command?
   19200 max_cmd_len=$lt_cv_sys_max_cmd_len
   19201 
   19202 # Does compiler simultaneously support -c and -o options?
   19203 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19204 
   19205 # Must we lock files when doing compilation?
   19206 need_locks=$lt_need_locks
   19207 
   19208 # Do we need the lib prefix for modules?
   19209 need_lib_prefix=$need_lib_prefix
   19210 
   19211 # Do we need a version for libraries?
   19212 need_version=$need_version
   19213 
   19214 # Whether dlopen is supported.
   19215 dlopen_support=$enable_dlopen
   19216 
   19217 # Whether dlopen of programs is supported.
   19218 dlopen_self=$enable_dlopen_self
   19219 
   19220 # Whether dlopen of statically linked programs is supported.
   19221 dlopen_self_static=$enable_dlopen_self_static
   19222 
   19223 # Compiler flag to prevent dynamic linking.
   19224 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19225 
   19226 # Compiler flag to turn off builtin functions.
   19227 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19228 
   19229 # Compiler flag to allow reflexive dlopens.
   19230 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19231 
   19232 # Compiler flag to generate shared objects directly from archives.
   19233 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19234 
   19235 # Compiler flag to generate thread-safe objects.
   19236 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19237 
   19238 # Library versioning type.
   19239 version_type=$version_type
   19240 
   19241 # Format of library name prefix.
   19242 libname_spec=$lt_libname_spec
   19243 
   19244 # List of archive names.  First name is the real one, the rest are links.
   19245 # The last name is the one that the linker finds with -lNAME.
   19246 library_names_spec=$lt_library_names_spec
   19247 
   19248 # The coded name of the library, if different from the real name.
   19249 soname_spec=$lt_soname_spec
   19250 
   19251 # Commands used to build and install an old-style archive.
   19252 RANLIB=$lt_RANLIB
   19253 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19254 old_postinstall_cmds=$lt_old_postinstall_cmds
   19255 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19256 
   19257 # Create an old-style archive from a shared archive.
   19258 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19259 
   19260 # Create a temporary old-style archive to link instead of a shared archive.
   19261 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19262 
   19263 # Commands used to build and install a shared archive.
   19264 archive_cmds=$lt_archive_cmds_GCJ
   19265 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19266 postinstall_cmds=$lt_postinstall_cmds
   19267 postuninstall_cmds=$lt_postuninstall_cmds
   19268 
   19269 # Commands used to build a loadable module (assumed same as above if empty)
   19270 module_cmds=$lt_module_cmds_GCJ
   19271 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19272 
   19273 # Commands to strip libraries.
   19274 old_striplib=$lt_old_striplib
   19275 striplib=$lt_striplib
   19276 
   19277 # Dependencies to place before the objects being linked to create a
   19278 # shared library.
   19279 predep_objects=$lt_predep_objects_GCJ
   19280 
   19281 # Dependencies to place after the objects being linked to create a
   19282 # shared library.
   19283 postdep_objects=$lt_postdep_objects_GCJ
   19284 
   19285 # Dependencies to place before the objects being linked to create a
   19286 # shared library.
   19287 predeps=$lt_predeps_GCJ
   19288 
   19289 # Dependencies to place after the objects being linked to create a
   19290 # shared library.
   19291 postdeps=$lt_postdeps_GCJ
   19292 
   19293 # The directories searched by this compiler when creating a shared
   19294 # library
   19295 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19296 
   19297 # The library search path used internally by the compiler when linking
   19298 # a shared library.
   19299 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19300 
   19301 # Method to check whether dependent libraries are shared objects.
   19302 deplibs_check_method=$lt_deplibs_check_method
   19303 
   19304 # Command to use when deplibs_check_method == file_magic.
   19305 file_magic_cmd=$lt_file_magic_cmd
   19306 
   19307 # Flag that allows shared libraries with undefined symbols to be built.
   19308 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19309 
   19310 # Flag that forces no undefined symbols.
   19311 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19312 
   19313 # Commands used to finish a libtool library installation in a directory.
   19314 finish_cmds=$lt_finish_cmds
   19315 
   19316 # Same as above, but a single script fragment to be evaled but not shown.
   19317 finish_eval=$lt_finish_eval
   19318 
   19319 # Take the output of nm and produce a listing of raw symbols and C names.
   19320 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19321 
   19322 # Transform the output of nm in a proper C declaration
   19323 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19324 
   19325 # Transform the output of nm in a C name address pair
   19326 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19327 
   19328 # This is the shared library runtime path variable.
   19329 runpath_var=$runpath_var
   19330 
   19331 # This is the shared library path variable.
   19332 shlibpath_var=$shlibpath_var
   19333 
   19334 # Is shlibpath searched before the hard-coded library search path?
   19335 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19336 
   19337 # How to hardcode a shared library path into an executable.
   19338 hardcode_action=$hardcode_action_GCJ
   19339 
   19340 # Whether we should hardcode library paths into libraries.
   19341 hardcode_into_libs=$hardcode_into_libs
   19342 
   19343 # Flag to hardcode \$libdir into a binary during linking.
   19344 # This must work even if \$libdir does not exist.
   19345 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19346 
   19347 # If ld is used when linking, flag to hardcode \$libdir into
   19348 # a binary during linking. This must work even if \$libdir does
   19349 # not exist.
   19350 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19351 
   19352 # Whether we need a single -rpath flag with a separated argument.
   19353 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19354 
   19355 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19356 # resulting binary.
   19357 hardcode_direct=$hardcode_direct_GCJ
   19358 
   19359 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19360 # resulting binary.
   19361 hardcode_minus_L=$hardcode_minus_L_GCJ
   19362 
   19363 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19364 # the resulting binary.
   19365 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19366 
   19367 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19368 # and all subsequent libraries and executables linked against it.
   19369 hardcode_automatic=$hardcode_automatic_GCJ
   19370 
   19371 # Variables whose values should be saved in libtool wrapper scripts and
   19372 # restored at relink time.
   19373 variables_saved_for_relink="$variables_saved_for_relink"
   19374 
   19375 # Whether libtool must link a program against all its dependency libraries.
   19376 link_all_deplibs=$link_all_deplibs_GCJ
   19377 
   19378 # Compile-time system search path for libraries
   19379 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19380 
   19381 # Run-time system search path for libraries
   19382 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19383 
   19384 # Fix the shell variable \$srcfile for the compiler.
   19385 fix_srcfile_path=$lt_fix_srcfile_path
   19386 
   19387 # Set to yes if exported symbols are required.
   19388 always_export_symbols=$always_export_symbols_GCJ
   19389 
   19390 # The commands to list exported symbols.
   19391 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19392 
   19393 # The commands to extract the exported symbol list from a shared archive.
   19394 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19395 
   19396 # Symbols that should not be listed in the preloaded symbols.
   19397 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19398 
   19399 # Symbols that must always be exported.
   19400 include_expsyms=$lt_include_expsyms_GCJ
   19401 
   19402 # ### END LIBTOOL TAG CONFIG: $tagname
   19403 
   19404 __EOF__
   19405 
   19406 
   19407 else
   19408   # If there is no Makefile yet, we rely on a make rule to execute
   19409   # `config.status --recheck' to rerun these tests and create the
   19410   # libtool script then.
   19411   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19412   if test -f "$ltmain_in"; then
   19413     test -f Makefile && make "$ltmain"
   19414   fi
   19415 fi
   19416 
   19417 
   19418 ac_ext=c
   19419 ac_cpp='$CPP $CPPFLAGS'
   19420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19423 
   19424 CC="$lt_save_CC"
   19425 
   19426 	else
   19427 	  tagname=""
   19428 	fi
   19429 	;;
   19430 
   19431       RC)
   19432 
   19433 
   19434 # Source file extension for RC test sources.
   19435 ac_ext=rc
   19436 
   19437 # Object file extension for compiled RC test sources.
   19438 objext=o
   19439 objext_RC=$objext
   19440 
   19441 # Code to be used in simple compile tests
   19442 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19443 
   19444 # Code to be used in simple link tests
   19445 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19446 
   19447 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19448 
   19449 # If no C compiler was specified, use CC.
   19450 LTCC=${LTCC-"$CC"}
   19451 
   19452 # If no C compiler flags were specified, use CFLAGS.
   19453 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19454 
   19455 # Allow CC to be a program name with arguments.
   19456 compiler=$CC
   19457 
   19458 
   19459 # save warnings/boilerplate of simple test code
   19460 ac_outfile=conftest.$ac_objext
   19461 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19462 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19463 _lt_compiler_boilerplate=`cat conftest.err`
   19464 $rm conftest*
   19465 
   19466 ac_outfile=conftest.$ac_objext
   19467 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19468 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19469 _lt_linker_boilerplate=`cat conftest.err`
   19470 $rm -r conftest*
   19471 
   19472 
   19473 # Allow CC to be a program name with arguments.
   19474 lt_save_CC="$CC"
   19475 CC=${RC-"windres"}
   19476 compiler=$CC
   19477 compiler_RC=$CC
   19478 for cc_temp in $compiler""; do
   19479   case $cc_temp in
   19480     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19481     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19482     \-*) ;;
   19483     *) break;;
   19484   esac
   19485 done
   19486 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19487 
   19488 lt_cv_prog_compiler_c_o_RC=yes
   19489 
   19490 # The else clause should only fire when bootstrapping the
   19491 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19492 # with your package, and you will get complaints that there are
   19493 # no rules to generate ltmain.sh.
   19494 if test -f "$ltmain"; then
   19495   # See if we are running on zsh, and set the options which allow our commands through
   19496   # without removal of \ escapes.
   19497   if test -n "${ZSH_VERSION+set}" ; then
   19498     setopt NO_GLOB_SUBST
   19499   fi
   19500   # Now quote all the things that may contain metacharacters while being
   19501   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19502   # variables and quote the copies for generation of the libtool script.
   19503   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19504     SED SHELL STRIP \
   19505     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19506     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19507     deplibs_check_method reload_flag reload_cmds need_locks \
   19508     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19509     lt_cv_sys_global_symbol_to_c_name_address \
   19510     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19511     old_postinstall_cmds old_postuninstall_cmds \
   19512     compiler_RC \
   19513     CC_RC \
   19514     LD_RC \
   19515     lt_prog_compiler_wl_RC \
   19516     lt_prog_compiler_pic_RC \
   19517     lt_prog_compiler_static_RC \
   19518     lt_prog_compiler_no_builtin_flag_RC \
   19519     export_dynamic_flag_spec_RC \
   19520     thread_safe_flag_spec_RC \
   19521     whole_archive_flag_spec_RC \
   19522     enable_shared_with_static_runtimes_RC \
   19523     old_archive_cmds_RC \
   19524     old_archive_from_new_cmds_RC \
   19525     predep_objects_RC \
   19526     postdep_objects_RC \
   19527     predeps_RC \
   19528     postdeps_RC \
   19529     compiler_lib_search_path_RC \
   19530     compiler_lib_search_dirs_RC \
   19531     archive_cmds_RC \
   19532     archive_expsym_cmds_RC \
   19533     postinstall_cmds_RC \
   19534     postuninstall_cmds_RC \
   19535     old_archive_from_expsyms_cmds_RC \
   19536     allow_undefined_flag_RC \
   19537     no_undefined_flag_RC \
   19538     export_symbols_cmds_RC \
   19539     hardcode_libdir_flag_spec_RC \
   19540     hardcode_libdir_flag_spec_ld_RC \
   19541     hardcode_libdir_separator_RC \
   19542     hardcode_automatic_RC \
   19543     module_cmds_RC \
   19544     module_expsym_cmds_RC \
   19545     lt_cv_prog_compiler_c_o_RC \
   19546     fix_srcfile_path_RC \
   19547     exclude_expsyms_RC \
   19548     include_expsyms_RC; do
   19549 
   19550     case $var in
   19551     old_archive_cmds_RC | \
   19552     old_archive_from_new_cmds_RC | \
   19553     archive_cmds_RC | \
   19554     archive_expsym_cmds_RC | \
   19555     module_cmds_RC | \
   19556     module_expsym_cmds_RC | \
   19557     old_archive_from_expsyms_cmds_RC | \
   19558     export_symbols_cmds_RC | \
   19559     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19560     postinstall_cmds | postuninstall_cmds | \
   19561     old_postinstall_cmds | old_postuninstall_cmds | \
   19562     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19563       # Double-quote double-evaled strings.
   19564       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19565       ;;
   19566     *)
   19567       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19568       ;;
   19569     esac
   19570   done
   19571 
   19572   case $lt_echo in
   19573   *'\$0 --fallback-echo"')
   19574     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19575     ;;
   19576   esac
   19577 
   19578 cfgfile="$ofile"
   19579 
   19580   cat <<__EOF__ >> "$cfgfile"
   19581 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19582 
   19583 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19584 
   19585 # Shell to use when invoking shell scripts.
   19586 SHELL=$lt_SHELL
   19587 
   19588 # Whether or not to build shared libraries.
   19589 build_libtool_libs=$enable_shared
   19590 
   19591 # Whether or not to build static libraries.
   19592 build_old_libs=$enable_static
   19593 
   19594 # Whether or not to add -lc for building shared libraries.
   19595 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19596 
   19597 # Whether or not to disallow shared libs when runtime libs are static
   19598 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19599 
   19600 # Whether or not to optimize for fast installation.
   19601 fast_install=$enable_fast_install
   19602 
   19603 # The host system.
   19604 host_alias=$host_alias
   19605 host=$host
   19606 host_os=$host_os
   19607 
   19608 # The build system.
   19609 build_alias=$build_alias
   19610 build=$build
   19611 build_os=$build_os
   19612 
   19613 # An echo program that does not interpret backslashes.
   19614 echo=$lt_echo
   19615 
   19616 # The archiver.
   19617 AR=$lt_AR
   19618 AR_FLAGS=$lt_AR_FLAGS
   19619 
   19620 # A C compiler.
   19621 LTCC=$lt_LTCC
   19622 
   19623 # LTCC compiler flags.
   19624 LTCFLAGS=$lt_LTCFLAGS
   19625 
   19626 # A language-specific compiler.
   19627 CC=$lt_compiler_RC
   19628 
   19629 # Is the compiler the GNU C compiler?
   19630 with_gcc=$GCC_RC
   19631 
   19632 # An ERE matcher.
   19633 EGREP=$lt_EGREP
   19634 
   19635 # The linker used to build libraries.
   19636 LD=$lt_LD_RC
   19637 
   19638 # Whether we need hard or soft links.
   19639 LN_S=$lt_LN_S
   19640 
   19641 # A BSD-compatible nm program.
   19642 NM=$lt_NM
   19643 
   19644 # A symbol stripping program
   19645 STRIP=$lt_STRIP
   19646 
   19647 # Used to examine libraries when file_magic_cmd begins "file"
   19648 MAGIC_CMD=$MAGIC_CMD
   19649 
   19650 # Used on cygwin: DLL creation program.
   19651 DLLTOOL="$DLLTOOL"
   19652 
   19653 # Used on cygwin: object dumper.
   19654 OBJDUMP="$OBJDUMP"
   19655 
   19656 # Used on cygwin: assembler.
   19657 AS="$AS"
   19658 
   19659 # The name of the directory that contains temporary libtool files.
   19660 objdir=$objdir
   19661 
   19662 # How to create reloadable object files.
   19663 reload_flag=$lt_reload_flag
   19664 reload_cmds=$lt_reload_cmds
   19665 
   19666 # How to pass a linker flag through the compiler.
   19667 wl=$lt_lt_prog_compiler_wl_RC
   19668 
   19669 # Object file suffix (normally "o").
   19670 objext="$ac_objext"
   19671 
   19672 # Old archive suffix (normally "a").
   19673 libext="$libext"
   19674 
   19675 # Shared library suffix (normally ".so").
   19676 shrext_cmds='$shrext_cmds'
   19677 
   19678 # Executable file suffix (normally "").
   19679 exeext="$exeext"
   19680 
   19681 # Additional compiler flags for building library objects.
   19682 pic_flag=$lt_lt_prog_compiler_pic_RC
   19683 pic_mode=$pic_mode
   19684 
   19685 # What is the maximum length of a command?
   19686 max_cmd_len=$lt_cv_sys_max_cmd_len
   19687 
   19688 # Does compiler simultaneously support -c and -o options?
   19689 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19690 
   19691 # Must we lock files when doing compilation?
   19692 need_locks=$lt_need_locks
   19693 
   19694 # Do we need the lib prefix for modules?
   19695 need_lib_prefix=$need_lib_prefix
   19696 
   19697 # Do we need a version for libraries?
   19698 need_version=$need_version
   19699 
   19700 # Whether dlopen is supported.
   19701 dlopen_support=$enable_dlopen
   19702 
   19703 # Whether dlopen of programs is supported.
   19704 dlopen_self=$enable_dlopen_self
   19705 
   19706 # Whether dlopen of statically linked programs is supported.
   19707 dlopen_self_static=$enable_dlopen_self_static
   19708 
   19709 # Compiler flag to prevent dynamic linking.
   19710 link_static_flag=$lt_lt_prog_compiler_static_RC
   19711 
   19712 # Compiler flag to turn off builtin functions.
   19713 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19714 
   19715 # Compiler flag to allow reflexive dlopens.
   19716 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19717 
   19718 # Compiler flag to generate shared objects directly from archives.
   19719 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19720 
   19721 # Compiler flag to generate thread-safe objects.
   19722 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19723 
   19724 # Library versioning type.
   19725 version_type=$version_type
   19726 
   19727 # Format of library name prefix.
   19728 libname_spec=$lt_libname_spec
   19729 
   19730 # List of archive names.  First name is the real one, the rest are links.
   19731 # The last name is the one that the linker finds with -lNAME.
   19732 library_names_spec=$lt_library_names_spec
   19733 
   19734 # The coded name of the library, if different from the real name.
   19735 soname_spec=$lt_soname_spec
   19736 
   19737 # Commands used to build and install an old-style archive.
   19738 RANLIB=$lt_RANLIB
   19739 old_archive_cmds=$lt_old_archive_cmds_RC
   19740 old_postinstall_cmds=$lt_old_postinstall_cmds
   19741 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19742 
   19743 # Create an old-style archive from a shared archive.
   19744 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19745 
   19746 # Create a temporary old-style archive to link instead of a shared archive.
   19747 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19748 
   19749 # Commands used to build and install a shared archive.
   19750 archive_cmds=$lt_archive_cmds_RC
   19751 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19752 postinstall_cmds=$lt_postinstall_cmds
   19753 postuninstall_cmds=$lt_postuninstall_cmds
   19754 
   19755 # Commands used to build a loadable module (assumed same as above if empty)
   19756 module_cmds=$lt_module_cmds_RC
   19757 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19758 
   19759 # Commands to strip libraries.
   19760 old_striplib=$lt_old_striplib
   19761 striplib=$lt_striplib
   19762 
   19763 # Dependencies to place before the objects being linked to create a
   19764 # shared library.
   19765 predep_objects=$lt_predep_objects_RC
   19766 
   19767 # Dependencies to place after the objects being linked to create a
   19768 # shared library.
   19769 postdep_objects=$lt_postdep_objects_RC
   19770 
   19771 # Dependencies to place before the objects being linked to create a
   19772 # shared library.
   19773 predeps=$lt_predeps_RC
   19774 
   19775 # Dependencies to place after the objects being linked to create a
   19776 # shared library.
   19777 postdeps=$lt_postdeps_RC
   19778 
   19779 # The directories searched by this compiler when creating a shared
   19780 # library
   19781 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19782 
   19783 # The library search path used internally by the compiler when linking
   19784 # a shared library.
   19785 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19786 
   19787 # Method to check whether dependent libraries are shared objects.
   19788 deplibs_check_method=$lt_deplibs_check_method
   19789 
   19790 # Command to use when deplibs_check_method == file_magic.
   19791 file_magic_cmd=$lt_file_magic_cmd
   19792 
   19793 # Flag that allows shared libraries with undefined symbols to be built.
   19794 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19795 
   19796 # Flag that forces no undefined symbols.
   19797 no_undefined_flag=$lt_no_undefined_flag_RC
   19798 
   19799 # Commands used to finish a libtool library installation in a directory.
   19800 finish_cmds=$lt_finish_cmds
   19801 
   19802 # Same as above, but a single script fragment to be evaled but not shown.
   19803 finish_eval=$lt_finish_eval
   19804 
   19805 # Take the output of nm and produce a listing of raw symbols and C names.
   19806 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19807 
   19808 # Transform the output of nm in a proper C declaration
   19809 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19810 
   19811 # Transform the output of nm in a C name address pair
   19812 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19813 
   19814 # This is the shared library runtime path variable.
   19815 runpath_var=$runpath_var
   19816 
   19817 # This is the shared library path variable.
   19818 shlibpath_var=$shlibpath_var
   19819 
   19820 # Is shlibpath searched before the hard-coded library search path?
   19821 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19822 
   19823 # How to hardcode a shared library path into an executable.
   19824 hardcode_action=$hardcode_action_RC
   19825 
   19826 # Whether we should hardcode library paths into libraries.
   19827 hardcode_into_libs=$hardcode_into_libs
   19828 
   19829 # Flag to hardcode \$libdir into a binary during linking.
   19830 # This must work even if \$libdir does not exist.
   19831 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19832 
   19833 # If ld is used when linking, flag to hardcode \$libdir into
   19834 # a binary during linking. This must work even if \$libdir does
   19835 # not exist.
   19836 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19837 
   19838 # Whether we need a single -rpath flag with a separated argument.
   19839 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19840 
   19841 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19842 # resulting binary.
   19843 hardcode_direct=$hardcode_direct_RC
   19844 
   19845 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19846 # resulting binary.
   19847 hardcode_minus_L=$hardcode_minus_L_RC
   19848 
   19849 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19850 # the resulting binary.
   19851 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19852 
   19853 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19854 # and all subsequent libraries and executables linked against it.
   19855 hardcode_automatic=$hardcode_automatic_RC
   19856 
   19857 # Variables whose values should be saved in libtool wrapper scripts and
   19858 # restored at relink time.
   19859 variables_saved_for_relink="$variables_saved_for_relink"
   19860 
   19861 # Whether libtool must link a program against all its dependency libraries.
   19862 link_all_deplibs=$link_all_deplibs_RC
   19863 
   19864 # Compile-time system search path for libraries
   19865 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19866 
   19867 # Run-time system search path for libraries
   19868 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19869 
   19870 # Fix the shell variable \$srcfile for the compiler.
   19871 fix_srcfile_path=$lt_fix_srcfile_path
   19872 
   19873 # Set to yes if exported symbols are required.
   19874 always_export_symbols=$always_export_symbols_RC
   19875 
   19876 # The commands to list exported symbols.
   19877 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19878 
   19879 # The commands to extract the exported symbol list from a shared archive.
   19880 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19881 
   19882 # Symbols that should not be listed in the preloaded symbols.
   19883 exclude_expsyms=$lt_exclude_expsyms_RC
   19884 
   19885 # Symbols that must always be exported.
   19886 include_expsyms=$lt_include_expsyms_RC
   19887 
   19888 # ### END LIBTOOL TAG CONFIG: $tagname
   19889 
   19890 __EOF__
   19891 
   19892 
   19893 else
   19894   # If there is no Makefile yet, we rely on a make rule to execute
   19895   # `config.status --recheck' to rerun these tests and create the
   19896   # libtool script then.
   19897   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19898   if test -f "$ltmain_in"; then
   19899     test -f Makefile && make "$ltmain"
   19900   fi
   19901 fi
   19902 
   19903 
   19904 ac_ext=c
   19905 ac_cpp='$CPP $CPPFLAGS'
   19906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19909 
   19910 CC="$lt_save_CC"
   19911 
   19912 	;;
   19913 
   19914       *)
   19915 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19916 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19917    { (exit 1); exit 1; }; }
   19918 	;;
   19919       esac
   19920 
   19921       # Append the new tag name to the list of available tags.
   19922       if test -n "$tagname" ; then
   19923       available_tags="$available_tags $tagname"
   19924     fi
   19925     fi
   19926   done
   19927   IFS="$lt_save_ifs"
   19928 
   19929   # Now substitute the updated list of available tags.
   19930   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19931     mv "${ofile}T" "$ofile"
   19932     chmod +x "$ofile"
   19933   else
   19934     rm -f "${ofile}T"
   19935     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19936 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19937    { (exit 1); exit 1; }; }
   19938   fi
   19939 fi
   19940 
   19941 
   19942 
   19943 # This can be used to rebuild libtool when needed
   19944 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19945 
   19946 # Always use our own libtool.
   19947 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19948 
   19949 # Prevent multiple expansion
   19950 
   19951 
   19952 
   19953 
   19954 
   19955 
   19956 
   19957 
   19958 
   19959 
   19960 
   19961 
   19962 
   19963 
   19964 
   19965 
   19966 
   19967 
   19968 
   19969 
   19970 ac_ext=c
   19971 ac_cpp='$CPP $CPPFLAGS'
   19972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19975 if test -n "$ac_tool_prefix"; then
   19976   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19977 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   19979 $as_echo_n "checking for $ac_word... " >&6; }
   19980 if test "${ac_cv_prog_CC+set}" = set; then
   19981   $as_echo_n "(cached) " >&6
   19982 else
   19983   if test -n "$CC"; then
   19984   ac_cv_prog_CC="$CC" # Let the user override the test.
   19985 else
   19986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19987 for as_dir in $PATH
   19988 do
   19989   IFS=$as_save_IFS
   19990   test -z "$as_dir" && as_dir=.
   19991   for ac_exec_ext in '' $ac_executable_extensions; do
   19992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19993     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19995     break 2
   19996   fi
   19997 done
   19998 done
   19999 IFS=$as_save_IFS
   20000 
   20001 fi
   20002 fi
   20003 CC=$ac_cv_prog_CC
   20004 if test -n "$CC"; then
   20005   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20006 $as_echo "$CC" >&6; }
   20007 else
   20008   { $as_echo "$as_me:$LINENO: result: no" >&5
   20009 $as_echo "no" >&6; }
   20010 fi
   20011 
   20012 
   20013 fi
   20014 if test -z "$ac_cv_prog_CC"; then
   20015   ac_ct_CC=$CC
   20016   # Extract the first word of "gcc", so it can be a program name with args.
   20017 set dummy gcc; ac_word=$2
   20018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20019 $as_echo_n "checking for $ac_word... " >&6; }
   20020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20021   $as_echo_n "(cached) " >&6
   20022 else
   20023   if test -n "$ac_ct_CC"; then
   20024   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20025 else
   20026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20027 for as_dir in $PATH
   20028 do
   20029   IFS=$as_save_IFS
   20030   test -z "$as_dir" && as_dir=.
   20031   for ac_exec_ext in '' $ac_executable_extensions; do
   20032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20033     ac_cv_prog_ac_ct_CC="gcc"
   20034     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20035     break 2
   20036   fi
   20037 done
   20038 done
   20039 IFS=$as_save_IFS
   20040 
   20041 fi
   20042 fi
   20043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20044 if test -n "$ac_ct_CC"; then
   20045   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20046 $as_echo "$ac_ct_CC" >&6; }
   20047 else
   20048   { $as_echo "$as_me:$LINENO: result: no" >&5
   20049 $as_echo "no" >&6; }
   20050 fi
   20051 
   20052   if test "x$ac_ct_CC" = x; then
   20053     CC=""
   20054   else
   20055     case $cross_compiling:$ac_tool_warned in
   20056 yes:)
   20057 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20059 ac_tool_warned=yes ;;
   20060 esac
   20061     CC=$ac_ct_CC
   20062   fi
   20063 else
   20064   CC="$ac_cv_prog_CC"
   20065 fi
   20066 
   20067 if test -z "$CC"; then
   20068           if test -n "$ac_tool_prefix"; then
   20069     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20070 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20072 $as_echo_n "checking for $ac_word... " >&6; }
   20073 if test "${ac_cv_prog_CC+set}" = set; then
   20074   $as_echo_n "(cached) " >&6
   20075 else
   20076   if test -n "$CC"; then
   20077   ac_cv_prog_CC="$CC" # Let the user override the test.
   20078 else
   20079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20080 for as_dir in $PATH
   20081 do
   20082   IFS=$as_save_IFS
   20083   test -z "$as_dir" && as_dir=.
   20084   for ac_exec_ext in '' $ac_executable_extensions; do
   20085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20086     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20087     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20088     break 2
   20089   fi
   20090 done
   20091 done
   20092 IFS=$as_save_IFS
   20093 
   20094 fi
   20095 fi
   20096 CC=$ac_cv_prog_CC
   20097 if test -n "$CC"; then
   20098   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20099 $as_echo "$CC" >&6; }
   20100 else
   20101   { $as_echo "$as_me:$LINENO: result: no" >&5
   20102 $as_echo "no" >&6; }
   20103 fi
   20104 
   20105 
   20106   fi
   20107 fi
   20108 if test -z "$CC"; then
   20109   # Extract the first word of "cc", so it can be a program name with args.
   20110 set dummy cc; ac_word=$2
   20111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20112 $as_echo_n "checking for $ac_word... " >&6; }
   20113 if test "${ac_cv_prog_CC+set}" = set; then
   20114   $as_echo_n "(cached) " >&6
   20115 else
   20116   if test -n "$CC"; then
   20117   ac_cv_prog_CC="$CC" # Let the user override the test.
   20118 else
   20119   ac_prog_rejected=no
   20120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20121 for as_dir in $PATH
   20122 do
   20123   IFS=$as_save_IFS
   20124   test -z "$as_dir" && as_dir=.
   20125   for ac_exec_ext in '' $ac_executable_extensions; do
   20126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20127     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20128        ac_prog_rejected=yes
   20129        continue
   20130      fi
   20131     ac_cv_prog_CC="cc"
   20132     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20133     break 2
   20134   fi
   20135 done
   20136 done
   20137 IFS=$as_save_IFS
   20138 
   20139 if test $ac_prog_rejected = yes; then
   20140   # We found a bogon in the path, so make sure we never use it.
   20141   set dummy $ac_cv_prog_CC
   20142   shift
   20143   if test $# != 0; then
   20144     # We chose a different compiler from the bogus one.
   20145     # However, it has the same basename, so the bogon will be chosen
   20146     # first if we set CC to just the basename; use the full file name.
   20147     shift
   20148     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20149   fi
   20150 fi
   20151 fi
   20152 fi
   20153 CC=$ac_cv_prog_CC
   20154 if test -n "$CC"; then
   20155   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20156 $as_echo "$CC" >&6; }
   20157 else
   20158   { $as_echo "$as_me:$LINENO: result: no" >&5
   20159 $as_echo "no" >&6; }
   20160 fi
   20161 
   20162 
   20163 fi
   20164 if test -z "$CC"; then
   20165   if test -n "$ac_tool_prefix"; then
   20166   for ac_prog in cl.exe
   20167   do
   20168     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20171 $as_echo_n "checking for $ac_word... " >&6; }
   20172 if test "${ac_cv_prog_CC+set}" = set; then
   20173   $as_echo_n "(cached) " >&6
   20174 else
   20175   if test -n "$CC"; then
   20176   ac_cv_prog_CC="$CC" # Let the user override the test.
   20177 else
   20178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20179 for as_dir in $PATH
   20180 do
   20181   IFS=$as_save_IFS
   20182   test -z "$as_dir" && as_dir=.
   20183   for ac_exec_ext in '' $ac_executable_extensions; do
   20184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20185     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20186     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20187     break 2
   20188   fi
   20189 done
   20190 done
   20191 IFS=$as_save_IFS
   20192 
   20193 fi
   20194 fi
   20195 CC=$ac_cv_prog_CC
   20196 if test -n "$CC"; then
   20197   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20198 $as_echo "$CC" >&6; }
   20199 else
   20200   { $as_echo "$as_me:$LINENO: result: no" >&5
   20201 $as_echo "no" >&6; }
   20202 fi
   20203 
   20204 
   20205     test -n "$CC" && break
   20206   done
   20207 fi
   20208 if test -z "$CC"; then
   20209   ac_ct_CC=$CC
   20210   for ac_prog in cl.exe
   20211 do
   20212   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20213 set dummy $ac_prog; ac_word=$2
   20214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20215 $as_echo_n "checking for $ac_word... " >&6; }
   20216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20217   $as_echo_n "(cached) " >&6
   20218 else
   20219   if test -n "$ac_ct_CC"; then
   20220   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20221 else
   20222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20223 for as_dir in $PATH
   20224 do
   20225   IFS=$as_save_IFS
   20226   test -z "$as_dir" && as_dir=.
   20227   for ac_exec_ext in '' $ac_executable_extensions; do
   20228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20229     ac_cv_prog_ac_ct_CC="$ac_prog"
   20230     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20231     break 2
   20232   fi
   20233 done
   20234 done
   20235 IFS=$as_save_IFS
   20236 
   20237 fi
   20238 fi
   20239 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20240 if test -n "$ac_ct_CC"; then
   20241   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20242 $as_echo "$ac_ct_CC" >&6; }
   20243 else
   20244   { $as_echo "$as_me:$LINENO: result: no" >&5
   20245 $as_echo "no" >&6; }
   20246 fi
   20247 
   20248 
   20249   test -n "$ac_ct_CC" && break
   20250 done
   20251 
   20252   if test "x$ac_ct_CC" = x; then
   20253     CC=""
   20254   else
   20255     case $cross_compiling:$ac_tool_warned in
   20256 yes:)
   20257 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20259 ac_tool_warned=yes ;;
   20260 esac
   20261     CC=$ac_ct_CC
   20262   fi
   20263 fi
   20264 
   20265 fi
   20266 
   20267 
   20268 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20270 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20271 See \`config.log' for more details." >&5
   20272 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20273 See \`config.log' for more details." >&2;}
   20274    { (exit 1); exit 1; }; }; }
   20275 
   20276 # Provide some information about the compiler.
   20277 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20278 set X $ac_compile
   20279 ac_compiler=$2
   20280 { (ac_try="$ac_compiler --version >&5"
   20281 case "(($ac_try" in
   20282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20283   *) ac_try_echo=$ac_try;;
   20284 esac
   20285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20286 $as_echo "$ac_try_echo") >&5
   20287   (eval "$ac_compiler --version >&5") 2>&5
   20288   ac_status=$?
   20289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20290   (exit $ac_status); }
   20291 { (ac_try="$ac_compiler -v >&5"
   20292 case "(($ac_try" in
   20293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20294   *) ac_try_echo=$ac_try;;
   20295 esac
   20296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20297 $as_echo "$ac_try_echo") >&5
   20298   (eval "$ac_compiler -v >&5") 2>&5
   20299   ac_status=$?
   20300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20301   (exit $ac_status); }
   20302 { (ac_try="$ac_compiler -V >&5"
   20303 case "(($ac_try" in
   20304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20305   *) ac_try_echo=$ac_try;;
   20306 esac
   20307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20308 $as_echo "$ac_try_echo") >&5
   20309   (eval "$ac_compiler -V >&5") 2>&5
   20310   ac_status=$?
   20311   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20312   (exit $ac_status); }
   20313 
   20314 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20315 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20316 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20317   $as_echo_n "(cached) " >&6
   20318 else
   20319   cat >conftest.$ac_ext <<_ACEOF
   20320 /* confdefs.h.  */
   20321 _ACEOF
   20322 cat confdefs.h >>conftest.$ac_ext
   20323 cat >>conftest.$ac_ext <<_ACEOF
   20324 /* end confdefs.h.  */
   20325 
   20326 int
   20327 main ()
   20328 {
   20329 #ifndef __GNUC__
   20330        choke me
   20331 #endif
   20332 
   20333   ;
   20334   return 0;
   20335 }
   20336 _ACEOF
   20337 rm -f conftest.$ac_objext
   20338 if { (ac_try="$ac_compile"
   20339 case "(($ac_try" in
   20340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20341   *) ac_try_echo=$ac_try;;
   20342 esac
   20343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20344 $as_echo "$ac_try_echo") >&5
   20345   (eval "$ac_compile") 2>conftest.er1
   20346   ac_status=$?
   20347   grep -v '^ *+' conftest.er1 >conftest.err
   20348   rm -f conftest.er1
   20349   cat conftest.err >&5
   20350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20351   (exit $ac_status); } && {
   20352 	 test -z "$ac_c_werror_flag" ||
   20353 	 test ! -s conftest.err
   20354        } && test -s conftest.$ac_objext; then
   20355   ac_compiler_gnu=yes
   20356 else
   20357   $as_echo "$as_me: failed program was:" >&5
   20358 sed 's/^/| /' conftest.$ac_ext >&5
   20359 
   20360 	ac_compiler_gnu=no
   20361 fi
   20362 
   20363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20364 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20365 
   20366 fi
   20367 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20368 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20369 if test $ac_compiler_gnu = yes; then
   20370   GCC=yes
   20371 else
   20372   GCC=
   20373 fi
   20374 ac_test_CFLAGS=${CFLAGS+set}
   20375 ac_save_CFLAGS=$CFLAGS
   20376 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20377 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20378 if test "${ac_cv_prog_cc_g+set}" = set; then
   20379   $as_echo_n "(cached) " >&6
   20380 else
   20381   ac_save_c_werror_flag=$ac_c_werror_flag
   20382    ac_c_werror_flag=yes
   20383    ac_cv_prog_cc_g=no
   20384    CFLAGS="-g"
   20385    cat >conftest.$ac_ext <<_ACEOF
   20386 /* confdefs.h.  */
   20387 _ACEOF
   20388 cat confdefs.h >>conftest.$ac_ext
   20389 cat >>conftest.$ac_ext <<_ACEOF
   20390 /* end confdefs.h.  */
   20391 
   20392 int
   20393 main ()
   20394 {
   20395 
   20396   ;
   20397   return 0;
   20398 }
   20399 _ACEOF
   20400 rm -f conftest.$ac_objext
   20401 if { (ac_try="$ac_compile"
   20402 case "(($ac_try" in
   20403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20404   *) ac_try_echo=$ac_try;;
   20405 esac
   20406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20407 $as_echo "$ac_try_echo") >&5
   20408   (eval "$ac_compile") 2>conftest.er1
   20409   ac_status=$?
   20410   grep -v '^ *+' conftest.er1 >conftest.err
   20411   rm -f conftest.er1
   20412   cat conftest.err >&5
   20413   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20414   (exit $ac_status); } && {
   20415 	 test -z "$ac_c_werror_flag" ||
   20416 	 test ! -s conftest.err
   20417        } && test -s conftest.$ac_objext; then
   20418   ac_cv_prog_cc_g=yes
   20419 else
   20420   $as_echo "$as_me: failed program was:" >&5
   20421 sed 's/^/| /' conftest.$ac_ext >&5
   20422 
   20423 	CFLAGS=""
   20424       cat >conftest.$ac_ext <<_ACEOF
   20425 /* confdefs.h.  */
   20426 _ACEOF
   20427 cat confdefs.h >>conftest.$ac_ext
   20428 cat >>conftest.$ac_ext <<_ACEOF
   20429 /* end confdefs.h.  */
   20430 
   20431 int
   20432 main ()
   20433 {
   20434 
   20435   ;
   20436   return 0;
   20437 }
   20438 _ACEOF
   20439 rm -f conftest.$ac_objext
   20440 if { (ac_try="$ac_compile"
   20441 case "(($ac_try" in
   20442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20443   *) ac_try_echo=$ac_try;;
   20444 esac
   20445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20446 $as_echo "$ac_try_echo") >&5
   20447   (eval "$ac_compile") 2>conftest.er1
   20448   ac_status=$?
   20449   grep -v '^ *+' conftest.er1 >conftest.err
   20450   rm -f conftest.er1
   20451   cat conftest.err >&5
   20452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20453   (exit $ac_status); } && {
   20454 	 test -z "$ac_c_werror_flag" ||
   20455 	 test ! -s conftest.err
   20456        } && test -s conftest.$ac_objext; then
   20457   :
   20458 else
   20459   $as_echo "$as_me: failed program was:" >&5
   20460 sed 's/^/| /' conftest.$ac_ext >&5
   20461 
   20462 	ac_c_werror_flag=$ac_save_c_werror_flag
   20463 	 CFLAGS="-g"
   20464 	 cat >conftest.$ac_ext <<_ACEOF
   20465 /* confdefs.h.  */
   20466 _ACEOF
   20467 cat confdefs.h >>conftest.$ac_ext
   20468 cat >>conftest.$ac_ext <<_ACEOF
   20469 /* end confdefs.h.  */
   20470 
   20471 int
   20472 main ()
   20473 {
   20474 
   20475   ;
   20476   return 0;
   20477 }
   20478 _ACEOF
   20479 rm -f conftest.$ac_objext
   20480 if { (ac_try="$ac_compile"
   20481 case "(($ac_try" in
   20482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20483   *) ac_try_echo=$ac_try;;
   20484 esac
   20485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20486 $as_echo "$ac_try_echo") >&5
   20487   (eval "$ac_compile") 2>conftest.er1
   20488   ac_status=$?
   20489   grep -v '^ *+' conftest.er1 >conftest.err
   20490   rm -f conftest.er1
   20491   cat conftest.err >&5
   20492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20493   (exit $ac_status); } && {
   20494 	 test -z "$ac_c_werror_flag" ||
   20495 	 test ! -s conftest.err
   20496        } && test -s conftest.$ac_objext; then
   20497   ac_cv_prog_cc_g=yes
   20498 else
   20499   $as_echo "$as_me: failed program was:" >&5
   20500 sed 's/^/| /' conftest.$ac_ext >&5
   20501 
   20502 
   20503 fi
   20504 
   20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20506 fi
   20507 
   20508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20509 fi
   20510 
   20511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20512    ac_c_werror_flag=$ac_save_c_werror_flag
   20513 fi
   20514 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20515 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20516 if test "$ac_test_CFLAGS" = set; then
   20517   CFLAGS=$ac_save_CFLAGS
   20518 elif test $ac_cv_prog_cc_g = yes; then
   20519   if test "$GCC" = yes; then
   20520     CFLAGS="-g -O2"
   20521   else
   20522     CFLAGS="-g"
   20523   fi
   20524 else
   20525   if test "$GCC" = yes; then
   20526     CFLAGS="-O2"
   20527   else
   20528     CFLAGS=
   20529   fi
   20530 fi
   20531 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20532 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20533 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20534   $as_echo_n "(cached) " >&6
   20535 else
   20536   ac_cv_prog_cc_c89=no
   20537 ac_save_CC=$CC
   20538 cat >conftest.$ac_ext <<_ACEOF
   20539 /* confdefs.h.  */
   20540 _ACEOF
   20541 cat confdefs.h >>conftest.$ac_ext
   20542 cat >>conftest.$ac_ext <<_ACEOF
   20543 /* end confdefs.h.  */
   20544 #include <stdarg.h>
   20545 #include <stdio.h>
   20546 #include <sys/types.h>
   20547 #include <sys/stat.h>
   20548 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20549 struct buf { int x; };
   20550 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20551 static char *e (p, i)
   20552      char **p;
   20553      int i;
   20554 {
   20555   return p[i];
   20556 }
   20557 static char *f (char * (*g) (char **, int), char **p, ...)
   20558 {
   20559   char *s;
   20560   va_list v;
   20561   va_start (v,p);
   20562   s = g (p, va_arg (v,int));
   20563   va_end (v);
   20564   return s;
   20565 }
   20566 
   20567 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20568    function prototypes and stuff, but not '\xHH' hex character constants.
   20569    These don't provoke an error unfortunately, instead are silently treated
   20570    as 'x'.  The following induces an error, until -std is added to get
   20571    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20572    array size at least.  It's necessary to write '\x00'==0 to get something
   20573    that's true only with -std.  */
   20574 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20575 
   20576 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20577    inside strings and character constants.  */
   20578 #define FOO(x) 'x'
   20579 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20580 
   20581 int test (int i, double x);
   20582 struct s1 {int (*f) (int a);};
   20583 struct s2 {int (*f) (double a);};
   20584 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20585 int argc;
   20586 char **argv;
   20587 int
   20588 main ()
   20589 {
   20590 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20591   ;
   20592   return 0;
   20593 }
   20594 _ACEOF
   20595 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20596 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20597 do
   20598   CC="$ac_save_CC $ac_arg"
   20599   rm -f conftest.$ac_objext
   20600 if { (ac_try="$ac_compile"
   20601 case "(($ac_try" in
   20602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20603   *) ac_try_echo=$ac_try;;
   20604 esac
   20605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20606 $as_echo "$ac_try_echo") >&5
   20607   (eval "$ac_compile") 2>conftest.er1
   20608   ac_status=$?
   20609   grep -v '^ *+' conftest.er1 >conftest.err
   20610   rm -f conftest.er1
   20611   cat conftest.err >&5
   20612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20613   (exit $ac_status); } && {
   20614 	 test -z "$ac_c_werror_flag" ||
   20615 	 test ! -s conftest.err
   20616        } && test -s conftest.$ac_objext; then
   20617   ac_cv_prog_cc_c89=$ac_arg
   20618 else
   20619   $as_echo "$as_me: failed program was:" >&5
   20620 sed 's/^/| /' conftest.$ac_ext >&5
   20621 
   20622 
   20623 fi
   20624 
   20625 rm -f core conftest.err conftest.$ac_objext
   20626   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20627 done
   20628 rm -f conftest.$ac_ext
   20629 CC=$ac_save_CC
   20630 
   20631 fi
   20632 # AC_CACHE_VAL
   20633 case "x$ac_cv_prog_cc_c89" in
   20634   x)
   20635     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20636 $as_echo "none needed" >&6; } ;;
   20637   xno)
   20638     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20639 $as_echo "unsupported" >&6; } ;;
   20640   *)
   20641     CC="$CC $ac_cv_prog_cc_c89"
   20642     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20643 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20644 esac
   20645 
   20646 
   20647 ac_ext=c
   20648 ac_cpp='$CPP $CPPFLAGS'
   20649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20652 
   20653 depcc="$CC"   am_compiler_list=
   20654 
   20655 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20656 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20657 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20658   $as_echo_n "(cached) " >&6
   20659 else
   20660   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20661   # We make a subdir and do the tests there.  Otherwise we can end up
   20662   # making bogus files that we don't know about and never remove.  For
   20663   # instance it was reported that on HP-UX the gcc test will end up
   20664   # making a dummy file named `D' -- because `-MD' means `put the output
   20665   # in D'.
   20666   mkdir conftest.dir
   20667   # Copy depcomp to subdir because otherwise we won't find it if we're
   20668   # using a relative directory.
   20669   cp "$am_depcomp" conftest.dir
   20670   cd conftest.dir
   20671   # We will build objects and dependencies in a subdirectory because
   20672   # it helps to detect inapplicable dependency modes.  For instance
   20673   # both Tru64's cc and ICC support -MD to output dependencies as a
   20674   # side effect of compilation, but ICC will put the dependencies in
   20675   # the current directory while Tru64 will put them in the object
   20676   # directory.
   20677   mkdir sub
   20678 
   20679   am_cv_CC_dependencies_compiler_type=none
   20680   if test "$am_compiler_list" = ""; then
   20681      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20682   fi
   20683   for depmode in $am_compiler_list; do
   20684     # Setup a source with many dependencies, because some compilers
   20685     # like to wrap large dependency lists on column 80 (with \), and
   20686     # we should not choose a depcomp mode which is confused by this.
   20687     #
   20688     # We need to recreate these files for each test, as the compiler may
   20689     # overwrite some of them when testing with obscure command lines.
   20690     # This happens at least with the AIX C compiler.
   20691     : > sub/conftest.c
   20692     for i in 1 2 3 4 5 6; do
   20693       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20694       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20695       # Solaris 8's {/usr,}/bin/sh.
   20696       touch sub/conftst$i.h
   20697     done
   20698     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20699 
   20700     case $depmode in
   20701     nosideeffect)
   20702       # after this tag, mechanisms are not by side-effect, so they'll
   20703       # only be used when explicitly requested
   20704       if test "x$enable_dependency_tracking" = xyes; then
   20705 	continue
   20706       else
   20707 	break
   20708       fi
   20709       ;;
   20710     none) break ;;
   20711     esac
   20712     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20713     # mode.  It turns out that the SunPro C++ compiler does not properly
   20714     # handle `-M -o', and we need to detect this.
   20715     if depmode=$depmode \
   20716        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20717        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20718        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20719          >/dev/null 2>conftest.err &&
   20720        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20721        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20722        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20723        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20724       # icc doesn't choke on unknown options, it will just issue warnings
   20725       # or remarks (even with -Werror).  So we grep stderr for any message
   20726       # that says an option was ignored or not supported.
   20727       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20728       #   icc: Command line warning: ignoring option '-M'; no argument required
   20729       # The diagnosis changed in icc 8.0:
   20730       #   icc: Command line remark: option '-MP' not supported
   20731       if (grep 'ignoring option' conftest.err ||
   20732           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20733         am_cv_CC_dependencies_compiler_type=$depmode
   20734         break
   20735       fi
   20736     fi
   20737   done
   20738 
   20739   cd ..
   20740   rm -rf conftest.dir
   20741 else
   20742   am_cv_CC_dependencies_compiler_type=none
   20743 fi
   20744 
   20745 fi
   20746 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20747 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20748 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20749 
   20750  if
   20751   test "x$enable_dependency_tracking" != xno \
   20752   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20753   am__fastdepCC_TRUE=
   20754   am__fastdepCC_FALSE='#'
   20755 else
   20756   am__fastdepCC_TRUE='#'
   20757   am__fastdepCC_FALSE=
   20758 fi
   20759 
   20760 
   20761 
   20762 
   20763 
   20764 
   20765 
   20766 # Check whether --with-xorg-module-dir was given.
   20767 if test "${with_xorg_module_dir+set}" = set; then
   20768   withval=$with_xorg_module_dir; moduledir="$withval"
   20769 else
   20770   moduledir="$libdir/xorg/modules"
   20771 fi
   20772 
   20773 
   20774 # Checks for extensions
   20775 
   20776 	SAVE_CFLAGS="$CFLAGS"
   20777 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20778 	cat >conftest.$ac_ext <<_ACEOF
   20779 /* confdefs.h.  */
   20780 _ACEOF
   20781 cat confdefs.h >>conftest.$ac_ext
   20782 cat >>conftest.$ac_ext <<_ACEOF
   20783 /* end confdefs.h.  */
   20784 
   20785 #include "xorg-server.h"
   20786 #if !defined RANDR
   20787 #error RANDR not defined
   20788 #endif
   20789 
   20790 int
   20791 main ()
   20792 {
   20793 
   20794   ;
   20795   return 0;
   20796 }
   20797 _ACEOF
   20798 rm -f conftest.$ac_objext
   20799 if { (ac_try="$ac_compile"
   20800 case "(($ac_try" in
   20801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20802   *) ac_try_echo=$ac_try;;
   20803 esac
   20804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20805 $as_echo "$ac_try_echo") >&5
   20806   (eval "$ac_compile") 2>conftest.er1
   20807   ac_status=$?
   20808   grep -v '^ *+' conftest.er1 >conftest.err
   20809   rm -f conftest.er1
   20810   cat conftest.err >&5
   20811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20812   (exit $ac_status); } && {
   20813 	 test -z "$ac_c_werror_flag" ||
   20814 	 test ! -s conftest.err
   20815        } && test -s conftest.$ac_objext; then
   20816   _EXT_CHECK=yes
   20817 else
   20818   $as_echo "$as_me: failed program was:" >&5
   20819 sed 's/^/| /' conftest.$ac_ext >&5
   20820 
   20821 	_EXT_CHECK=no
   20822 fi
   20823 
   20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20825 	CFLAGS="$SAVE_CFLAGS"
   20826 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20827 $as_echo_n "checking if RANDR is defined... " >&6; }
   20828 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20829 $as_echo "$_EXT_CHECK" >&6; }
   20830 	if test "$_EXT_CHECK" != no; then
   20831 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20832 	fi
   20833 
   20834 
   20835 	SAVE_CFLAGS="$CFLAGS"
   20836 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20837 	cat >conftest.$ac_ext <<_ACEOF
   20838 /* confdefs.h.  */
   20839 _ACEOF
   20840 cat confdefs.h >>conftest.$ac_ext
   20841 cat >>conftest.$ac_ext <<_ACEOF
   20842 /* end confdefs.h.  */
   20843 
   20844 #include "xorg-server.h"
   20845 #if !defined RENDER
   20846 #error RENDER not defined
   20847 #endif
   20848 
   20849 int
   20850 main ()
   20851 {
   20852 
   20853   ;
   20854   return 0;
   20855 }
   20856 _ACEOF
   20857 rm -f conftest.$ac_objext
   20858 if { (ac_try="$ac_compile"
   20859 case "(($ac_try" in
   20860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20861   *) ac_try_echo=$ac_try;;
   20862 esac
   20863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20864 $as_echo "$ac_try_echo") >&5
   20865   (eval "$ac_compile") 2>conftest.er1
   20866   ac_status=$?
   20867   grep -v '^ *+' conftest.er1 >conftest.err
   20868   rm -f conftest.er1
   20869   cat conftest.err >&5
   20870   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20871   (exit $ac_status); } && {
   20872 	 test -z "$ac_c_werror_flag" ||
   20873 	 test ! -s conftest.err
   20874        } && test -s conftest.$ac_objext; then
   20875   _EXT_CHECK=yes
   20876 else
   20877   $as_echo "$as_me: failed program was:" >&5
   20878 sed 's/^/| /' conftest.$ac_ext >&5
   20879 
   20880 	_EXT_CHECK=no
   20881 fi
   20882 
   20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20884 	CFLAGS="$SAVE_CFLAGS"
   20885 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20886 $as_echo_n "checking if RENDER is defined... " >&6; }
   20887 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20888 $as_echo "$_EXT_CHECK" >&6; }
   20889 	if test "$_EXT_CHECK" != no; then
   20890 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20891 	fi
   20892 
   20893 
   20894 	SAVE_CFLAGS="$CFLAGS"
   20895 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20896 	cat >conftest.$ac_ext <<_ACEOF
   20897 /* confdefs.h.  */
   20898 _ACEOF
   20899 cat confdefs.h >>conftest.$ac_ext
   20900 cat >>conftest.$ac_ext <<_ACEOF
   20901 /* end confdefs.h.  */
   20902 
   20903 #include "xorg-server.h"
   20904 #if !defined XV
   20905 #error XV not defined
   20906 #endif
   20907 
   20908 int
   20909 main ()
   20910 {
   20911 
   20912   ;
   20913   return 0;
   20914 }
   20915 _ACEOF
   20916 rm -f conftest.$ac_objext
   20917 if { (ac_try="$ac_compile"
   20918 case "(($ac_try" in
   20919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20920   *) ac_try_echo=$ac_try;;
   20921 esac
   20922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20923 $as_echo "$ac_try_echo") >&5
   20924   (eval "$ac_compile") 2>conftest.er1
   20925   ac_status=$?
   20926   grep -v '^ *+' conftest.er1 >conftest.err
   20927   rm -f conftest.er1
   20928   cat conftest.err >&5
   20929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20930   (exit $ac_status); } && {
   20931 	 test -z "$ac_c_werror_flag" ||
   20932 	 test ! -s conftest.err
   20933        } && test -s conftest.$ac_objext; then
   20934   _EXT_CHECK=yes
   20935 else
   20936   $as_echo "$as_me: failed program was:" >&5
   20937 sed 's/^/| /' conftest.$ac_ext >&5
   20938 
   20939 	_EXT_CHECK=no
   20940 fi
   20941 
   20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20943 	CFLAGS="$SAVE_CFLAGS"
   20944 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   20945 $as_echo_n "checking if XV is defined... " >&6; }
   20946 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20947 $as_echo "$_EXT_CHECK" >&6; }
   20948 	if test "$_EXT_CHECK" != no; then
   20949 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20950 	fi
   20951 
   20952 
   20953 	SAVE_CFLAGS="$CFLAGS"
   20954 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20955 	cat >conftest.$ac_ext <<_ACEOF
   20956 /* confdefs.h.  */
   20957 _ACEOF
   20958 cat confdefs.h >>conftest.$ac_ext
   20959 cat >>conftest.$ac_ext <<_ACEOF
   20960 /* end confdefs.h.  */
   20961 
   20962 #include "xorg-server.h"
   20963 #if !defined DPMSExtension
   20964 #error DPMSExtension not defined
   20965 #endif
   20966 
   20967 int
   20968 main ()
   20969 {
   20970 
   20971   ;
   20972   return 0;
   20973 }
   20974 _ACEOF
   20975 rm -f conftest.$ac_objext
   20976 if { (ac_try="$ac_compile"
   20977 case "(($ac_try" in
   20978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20979   *) ac_try_echo=$ac_try;;
   20980 esac
   20981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20982 $as_echo "$ac_try_echo") >&5
   20983   (eval "$ac_compile") 2>conftest.er1
   20984   ac_status=$?
   20985   grep -v '^ *+' conftest.er1 >conftest.err
   20986   rm -f conftest.er1
   20987   cat conftest.err >&5
   20988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20989   (exit $ac_status); } && {
   20990 	 test -z "$ac_c_werror_flag" ||
   20991 	 test ! -s conftest.err
   20992        } && test -s conftest.$ac_objext; then
   20993   _EXT_CHECK=yes
   20994 else
   20995   $as_echo "$as_me: failed program was:" >&5
   20996 sed 's/^/| /' conftest.$ac_ext >&5
   20997 
   20998 	_EXT_CHECK=no
   20999 fi
   21000 
   21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21002 	CFLAGS="$SAVE_CFLAGS"
   21003 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21004 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21005 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21006 $as_echo "$_EXT_CHECK" >&6; }
   21007 	if test "$_EXT_CHECK" != no; then
   21008 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21009 	fi
   21010 
   21011 
   21012 	SAVE_CFLAGS="$CFLAGS"
   21013 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21014 	cat >conftest.$ac_ext <<_ACEOF
   21015 /* confdefs.h.  */
   21016 _ACEOF
   21017 cat confdefs.h >>conftest.$ac_ext
   21018 cat >>conftest.$ac_ext <<_ACEOF
   21019 /* end confdefs.h.  */
   21020 
   21021 #include "xorg-server.h"
   21022 #if !defined XFreeXDGA
   21023 #error XFreeXDGA not defined
   21024 #endif
   21025 
   21026 int
   21027 main ()
   21028 {
   21029 
   21030   ;
   21031   return 0;
   21032 }
   21033 _ACEOF
   21034 rm -f conftest.$ac_objext
   21035 if { (ac_try="$ac_compile"
   21036 case "(($ac_try" in
   21037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21038   *) ac_try_echo=$ac_try;;
   21039 esac
   21040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21041 $as_echo "$ac_try_echo") >&5
   21042   (eval "$ac_compile") 2>conftest.er1
   21043   ac_status=$?
   21044   grep -v '^ *+' conftest.er1 >conftest.err
   21045   rm -f conftest.er1
   21046   cat conftest.err >&5
   21047   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21048   (exit $ac_status); } && {
   21049 	 test -z "$ac_c_werror_flag" ||
   21050 	 test ! -s conftest.err
   21051        } && test -s conftest.$ac_objext; then
   21052   _EXT_CHECK=yes
   21053 else
   21054   $as_echo "$as_me: failed program was:" >&5
   21055 sed 's/^/| /' conftest.$ac_ext >&5
   21056 
   21057 	_EXT_CHECK=no
   21058 fi
   21059 
   21060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21061 	CFLAGS="$SAVE_CFLAGS"
   21062 	{ $as_echo "$as_me:$LINENO: checking if XFreeXDGA is defined" >&5
   21063 $as_echo_n "checking if XFreeXDGA is defined... " >&6; }
   21064 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21065 $as_echo "$_EXT_CHECK" >&6; }
   21066 	if test "$_EXT_CHECK" != no; then
   21067 		REQUIRED_MODULES="$REQUIRED_MODULES xf86dgaproto"
   21068 	fi
   21069 
   21070 
   21071 # Checks for pkg-config packages
   21072 
   21073 
   21074 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21075 	if test -n "$ac_tool_prefix"; then
   21076   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21077 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21079 $as_echo_n "checking for $ac_word... " >&6; }
   21080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21081   $as_echo_n "(cached) " >&6
   21082 else
   21083   case $PKG_CONFIG in
   21084   [\\/]* | ?:[\\/]*)
   21085   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21086   ;;
   21087   *)
   21088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21089 for as_dir in $PATH
   21090 do
   21091   IFS=$as_save_IFS
   21092   test -z "$as_dir" && as_dir=.
   21093   for ac_exec_ext in '' $ac_executable_extensions; do
   21094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21095     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21096     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21097     break 2
   21098   fi
   21099 done
   21100 done
   21101 IFS=$as_save_IFS
   21102 
   21103   ;;
   21104 esac
   21105 fi
   21106 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21107 if test -n "$PKG_CONFIG"; then
   21108   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21109 $as_echo "$PKG_CONFIG" >&6; }
   21110 else
   21111   { $as_echo "$as_me:$LINENO: result: no" >&5
   21112 $as_echo "no" >&6; }
   21113 fi
   21114 
   21115 
   21116 fi
   21117 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21118   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21119   # Extract the first word of "pkg-config", so it can be a program name with args.
   21120 set dummy pkg-config; ac_word=$2
   21121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21122 $as_echo_n "checking for $ac_word... " >&6; }
   21123 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21124   $as_echo_n "(cached) " >&6
   21125 else
   21126   case $ac_pt_PKG_CONFIG in
   21127   [\\/]* | ?:[\\/]*)
   21128   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21129   ;;
   21130   *)
   21131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21132 for as_dir in $PATH
   21133 do
   21134   IFS=$as_save_IFS
   21135   test -z "$as_dir" && as_dir=.
   21136   for ac_exec_ext in '' $ac_executable_extensions; do
   21137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21138     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21140     break 2
   21141   fi
   21142 done
   21143 done
   21144 IFS=$as_save_IFS
   21145 
   21146   ;;
   21147 esac
   21148 fi
   21149 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21150 if test -n "$ac_pt_PKG_CONFIG"; then
   21151   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21152 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21153 else
   21154   { $as_echo "$as_me:$LINENO: result: no" >&5
   21155 $as_echo "no" >&6; }
   21156 fi
   21157 
   21158   if test "x$ac_pt_PKG_CONFIG" = x; then
   21159     PKG_CONFIG=""
   21160   else
   21161     case $cross_compiling:$ac_tool_warned in
   21162 yes:)
   21163 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21165 ac_tool_warned=yes ;;
   21166 esac
   21167     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21168   fi
   21169 else
   21170   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21171 fi
   21172 
   21173 fi
   21174 if test -n "$PKG_CONFIG"; then
   21175 	_pkg_min_version=0.9.0
   21176 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21177 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21178 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21179 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21180 $as_echo "yes" >&6; }
   21181 	else
   21182 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21183 $as_echo "no" >&6; }
   21184 		PKG_CONFIG=""
   21185 	fi
   21186 
   21187 fi
   21188 
   21189 pkg_failed=no
   21190 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21191 $as_echo_n "checking for XORG... " >&6; }
   21192 
   21193 if test -n "$XORG_CFLAGS"; then
   21194     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21195  elif test -n "$PKG_CONFIG"; then
   21196     if test -n "$PKG_CONFIG" && \
   21197     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21198   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21199   ac_status=$?
   21200   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21201   (exit $ac_status); }; then
   21202   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21203 else
   21204   pkg_failed=yes
   21205 fi
   21206  else
   21207     pkg_failed=untried
   21208 fi
   21209 if test -n "$XORG_LIBS"; then
   21210     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21211  elif test -n "$PKG_CONFIG"; then
   21212     if test -n "$PKG_CONFIG" && \
   21213     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21214   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21215   ac_status=$?
   21216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21217   (exit $ac_status); }; then
   21218   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21219 else
   21220   pkg_failed=yes
   21221 fi
   21222  else
   21223     pkg_failed=untried
   21224 fi
   21225 
   21226 
   21227 
   21228 if test $pkg_failed = yes; then
   21229 
   21230 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21231         _pkg_short_errors_supported=yes
   21232 else
   21233         _pkg_short_errors_supported=no
   21234 fi
   21235         if test $_pkg_short_errors_supported = yes; then
   21236 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21237         else
   21238 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21239         fi
   21240 	# Put the nasty error message in config.log where it belongs
   21241 	echo "$XORG_PKG_ERRORS" >&5
   21242 
   21243 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21244 
   21245 $XORG_PKG_ERRORS
   21246 
   21247 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21248 installed software in a non-standard prefix.
   21249 
   21250 Alternatively, you may set the environment variables XORG_CFLAGS
   21251 and XORG_LIBS to avoid the need to call pkg-config.
   21252 See the pkg-config man page for more details.
   21253 " >&5
   21254 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21255 
   21256 $XORG_PKG_ERRORS
   21257 
   21258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21259 installed software in a non-standard prefix.
   21260 
   21261 Alternatively, you may set the environment variables XORG_CFLAGS
   21262 and XORG_LIBS to avoid the need to call pkg-config.
   21263 See the pkg-config man page for more details.
   21264 " >&2;}
   21265    { (exit 1); exit 1; }; }
   21266 elif test $pkg_failed = untried; then
   21267 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21269 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21270 is in your PATH or set the PKG_CONFIG environment variable to the full
   21271 path to pkg-config.
   21272 
   21273 Alternatively, you may set the environment variables XORG_CFLAGS
   21274 and XORG_LIBS to avoid the need to call pkg-config.
   21275 See the pkg-config man page for more details.
   21276 
   21277 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21278 See \`config.log' for more details." >&5
   21279 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21280 is in your PATH or set the PKG_CONFIG environment variable to the full
   21281 path to pkg-config.
   21282 
   21283 Alternatively, you may set the environment variables XORG_CFLAGS
   21284 and XORG_LIBS to avoid the need to call pkg-config.
   21285 See the pkg-config man page for more details.
   21286 
   21287 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21288 See \`config.log' for more details." >&2;}
   21289    { (exit 1); exit 1; }; }; }
   21290 else
   21291 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21292 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21293         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21294 $as_echo "yes" >&6; }
   21295 	:
   21296 fi
   21297 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21298 
   21299 save_CFLAGS="$CFLAGS"
   21300 CFLAGS="$XORG_CFLAGS"
   21301 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   21302 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   21303 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   21304   $as_echo_n "(cached) " >&6
   21305 else
   21306   cat >conftest.$ac_ext <<_ACEOF
   21307 /* confdefs.h.  */
   21308 _ACEOF
   21309 cat confdefs.h >>conftest.$ac_ext
   21310 cat >>conftest.$ac_ext <<_ACEOF
   21311 /* end confdefs.h.  */
   21312 #include "xf86.h"
   21313 
   21314 int
   21315 main ()
   21316 {
   21317 #ifndef xf86ConfigIsaEntity
   21318   (void) xf86ConfigIsaEntity;
   21319 #endif
   21320 
   21321   ;
   21322   return 0;
   21323 }
   21324 _ACEOF
   21325 rm -f conftest.$ac_objext
   21326 if { (ac_try="$ac_compile"
   21327 case "(($ac_try" in
   21328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21329   *) ac_try_echo=$ac_try;;
   21330 esac
   21331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21332 $as_echo "$ac_try_echo") >&5
   21333   (eval "$ac_compile") 2>conftest.er1
   21334   ac_status=$?
   21335   grep -v '^ *+' conftest.er1 >conftest.err
   21336   rm -f conftest.er1
   21337   cat conftest.err >&5
   21338   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21339   (exit $ac_status); } && {
   21340 	 test -z "$ac_c_werror_flag" ||
   21341 	 test ! -s conftest.err
   21342        } && test -s conftest.$ac_objext; then
   21343   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   21344 else
   21345   $as_echo "$as_me: failed program was:" >&5
   21346 sed 's/^/| /' conftest.$ac_ext >&5
   21347 
   21348 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   21349 fi
   21350 
   21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21352 fi
   21353 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   21354 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   21355 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   21356 
   21357 cat >>confdefs.h <<\_ACEOF
   21358 #define HAVE_ISA 1
   21359 _ACEOF
   21360 
   21361 fi
   21362 
   21363 CFLAGS="$save_CFLAGS"
   21364 
   21365 SAVE_CPPFLAGS="$CPPFLAGS"
   21366 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21367 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21368 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21369 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21370   $as_echo_n "(cached) " >&6
   21371 else
   21372   cat >conftest.$ac_ext <<_ACEOF
   21373 /* confdefs.h.  */
   21374 _ACEOF
   21375 cat confdefs.h >>conftest.$ac_ext
   21376 cat >>conftest.$ac_ext <<_ACEOF
   21377 /* end confdefs.h.  */
   21378 #include "xorg-server.h"
   21379 
   21380 int
   21381 main ()
   21382 {
   21383 #ifndef XSERVER_LIBPCIACCESS
   21384   (void) XSERVER_LIBPCIACCESS;
   21385 #endif
   21386 
   21387   ;
   21388   return 0;
   21389 }
   21390 _ACEOF
   21391 rm -f conftest.$ac_objext
   21392 if { (ac_try="$ac_compile"
   21393 case "(($ac_try" in
   21394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21395   *) ac_try_echo=$ac_try;;
   21396 esac
   21397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21398 $as_echo "$ac_try_echo") >&5
   21399   (eval "$ac_compile") 2>conftest.er1
   21400   ac_status=$?
   21401   grep -v '^ *+' conftest.er1 >conftest.err
   21402   rm -f conftest.er1
   21403   cat conftest.err >&5
   21404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21405   (exit $ac_status); } && {
   21406 	 test -z "$ac_c_werror_flag" ||
   21407 	 test ! -s conftest.err
   21408        } && test -s conftest.$ac_objext; then
   21409   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21410 else
   21411   $as_echo "$as_me: failed program was:" >&5
   21412 sed 's/^/| /' conftest.$ac_ext >&5
   21413 
   21414 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21415 fi
   21416 
   21417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21418 fi
   21419 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21420 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21421 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21422   XSERVER_LIBPCIACCESS=yes
   21423 else
   21424   XSERVER_LIBPCIACCESS=no
   21425 fi
   21426 
   21427 CPPFLAGS="$SAVE_CPPFLAGS"
   21428 
   21429 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21430 
   21431 pkg_failed=no
   21432 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21433 $as_echo_n "checking for PCIACCESS... " >&6; }
   21434 
   21435 if test -n "$PCIACCESS_CFLAGS"; then
   21436     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21437  elif test -n "$PKG_CONFIG"; then
   21438     if test -n "$PKG_CONFIG" && \
   21439     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21440   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21441   ac_status=$?
   21442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21443   (exit $ac_status); }; then
   21444   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21445 else
   21446   pkg_failed=yes
   21447 fi
   21448  else
   21449     pkg_failed=untried
   21450 fi
   21451 if test -n "$PCIACCESS_LIBS"; then
   21452     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21453  elif test -n "$PKG_CONFIG"; then
   21454     if test -n "$PKG_CONFIG" && \
   21455     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21456   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21457   ac_status=$?
   21458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21459   (exit $ac_status); }; then
   21460   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21461 else
   21462   pkg_failed=yes
   21463 fi
   21464  else
   21465     pkg_failed=untried
   21466 fi
   21467 
   21468 
   21469 
   21470 if test $pkg_failed = yes; then
   21471 
   21472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21473         _pkg_short_errors_supported=yes
   21474 else
   21475         _pkg_short_errors_supported=no
   21476 fi
   21477         if test $_pkg_short_errors_supported = yes; then
   21478 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21479         else
   21480 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21481         fi
   21482 	# Put the nasty error message in config.log where it belongs
   21483 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21484 
   21485 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21486 
   21487 $PCIACCESS_PKG_ERRORS
   21488 
   21489 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21490 installed software in a non-standard prefix.
   21491 
   21492 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21493 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21494 See the pkg-config man page for more details.
   21495 " >&5
   21496 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21497 
   21498 $PCIACCESS_PKG_ERRORS
   21499 
   21500 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21501 installed software in a non-standard prefix.
   21502 
   21503 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21504 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21505 See the pkg-config man page for more details.
   21506 " >&2;}
   21507    { (exit 1); exit 1; }; }
   21508 elif test $pkg_failed = untried; then
   21509 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21511 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21512 is in your PATH or set the PKG_CONFIG environment variable to the full
   21513 path to pkg-config.
   21514 
   21515 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21516 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21517 See the pkg-config man page for more details.
   21518 
   21519 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21520 See \`config.log' for more details." >&5
   21521 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21522 is in your PATH or set the PKG_CONFIG environment variable to the full
   21523 path to pkg-config.
   21524 
   21525 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21526 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21527 See the pkg-config man page for more details.
   21528 
   21529 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21530 See \`config.log' for more details." >&2;}
   21531    { (exit 1); exit 1; }; }; }
   21532 else
   21533 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21534 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21535         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21536 $as_echo "yes" >&6; }
   21537 	:
   21538 fi
   21539     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21540 fi
   21541  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21542   XSERVER_LIBPCIACCESS_TRUE=
   21543   XSERVER_LIBPCIACCESS_FALSE='#'
   21544 else
   21545   XSERVER_LIBPCIACCESS_TRUE='#'
   21546   XSERVER_LIBPCIACCESS_FALSE=
   21547 fi
   21548 
   21549 
   21550 # Checks for libraries.
   21551 
   21552 # Checks for header files.
   21553 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21554 $as_echo_n "checking for ANSI C header files... " >&6; }
   21555 if test "${ac_cv_header_stdc+set}" = set; then
   21556   $as_echo_n "(cached) " >&6
   21557 else
   21558   cat >conftest.$ac_ext <<_ACEOF
   21559 /* confdefs.h.  */
   21560 _ACEOF
   21561 cat confdefs.h >>conftest.$ac_ext
   21562 cat >>conftest.$ac_ext <<_ACEOF
   21563 /* end confdefs.h.  */
   21564 #include <stdlib.h>
   21565 #include <stdarg.h>
   21566 #include <string.h>
   21567 #include <float.h>
   21568 
   21569 int
   21570 main ()
   21571 {
   21572 
   21573   ;
   21574   return 0;
   21575 }
   21576 _ACEOF
   21577 rm -f conftest.$ac_objext
   21578 if { (ac_try="$ac_compile"
   21579 case "(($ac_try" in
   21580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21581   *) ac_try_echo=$ac_try;;
   21582 esac
   21583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21584 $as_echo "$ac_try_echo") >&5
   21585   (eval "$ac_compile") 2>conftest.er1
   21586   ac_status=$?
   21587   grep -v '^ *+' conftest.er1 >conftest.err
   21588   rm -f conftest.er1
   21589   cat conftest.err >&5
   21590   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21591   (exit $ac_status); } && {
   21592 	 test -z "$ac_c_werror_flag" ||
   21593 	 test ! -s conftest.err
   21594        } && test -s conftest.$ac_objext; then
   21595   ac_cv_header_stdc=yes
   21596 else
   21597   $as_echo "$as_me: failed program was:" >&5
   21598 sed 's/^/| /' conftest.$ac_ext >&5
   21599 
   21600 	ac_cv_header_stdc=no
   21601 fi
   21602 
   21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21604 
   21605 if test $ac_cv_header_stdc = yes; then
   21606   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21607   cat >conftest.$ac_ext <<_ACEOF
   21608 /* confdefs.h.  */
   21609 _ACEOF
   21610 cat confdefs.h >>conftest.$ac_ext
   21611 cat >>conftest.$ac_ext <<_ACEOF
   21612 /* end confdefs.h.  */
   21613 #include <string.h>
   21614 
   21615 _ACEOF
   21616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21617   $EGREP "memchr" >/dev/null 2>&1; then
   21618   :
   21619 else
   21620   ac_cv_header_stdc=no
   21621 fi
   21622 rm -f conftest*
   21623 
   21624 fi
   21625 
   21626 if test $ac_cv_header_stdc = yes; then
   21627   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21628   cat >conftest.$ac_ext <<_ACEOF
   21629 /* confdefs.h.  */
   21630 _ACEOF
   21631 cat confdefs.h >>conftest.$ac_ext
   21632 cat >>conftest.$ac_ext <<_ACEOF
   21633 /* end confdefs.h.  */
   21634 #include <stdlib.h>
   21635 
   21636 _ACEOF
   21637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21638   $EGREP "free" >/dev/null 2>&1; then
   21639   :
   21640 else
   21641   ac_cv_header_stdc=no
   21642 fi
   21643 rm -f conftest*
   21644 
   21645 fi
   21646 
   21647 if test $ac_cv_header_stdc = yes; then
   21648   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21649   if test "$cross_compiling" = yes; then
   21650   :
   21651 else
   21652   cat >conftest.$ac_ext <<_ACEOF
   21653 /* confdefs.h.  */
   21654 _ACEOF
   21655 cat confdefs.h >>conftest.$ac_ext
   21656 cat >>conftest.$ac_ext <<_ACEOF
   21657 /* end confdefs.h.  */
   21658 #include <ctype.h>
   21659 #include <stdlib.h>
   21660 #if ((' ' & 0x0FF) == 0x020)
   21661 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21662 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21663 #else
   21664 # define ISLOWER(c) \
   21665 		   (('a' <= (c) && (c) <= 'i') \
   21666 		     || ('j' <= (c) && (c) <= 'r') \
   21667 		     || ('s' <= (c) && (c) <= 'z'))
   21668 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21669 #endif
   21670 
   21671 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21672 int
   21673 main ()
   21674 {
   21675   int i;
   21676   for (i = 0; i < 256; i++)
   21677     if (XOR (islower (i), ISLOWER (i))
   21678 	|| toupper (i) != TOUPPER (i))
   21679       return 2;
   21680   return 0;
   21681 }
   21682 _ACEOF
   21683 rm -f conftest$ac_exeext
   21684 if { (ac_try="$ac_link"
   21685 case "(($ac_try" in
   21686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21687   *) ac_try_echo=$ac_try;;
   21688 esac
   21689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21690 $as_echo "$ac_try_echo") >&5
   21691   (eval "$ac_link") 2>&5
   21692   ac_status=$?
   21693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21694   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21695   { (case "(($ac_try" in
   21696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21697   *) ac_try_echo=$ac_try;;
   21698 esac
   21699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21700 $as_echo "$ac_try_echo") >&5
   21701   (eval "$ac_try") 2>&5
   21702   ac_status=$?
   21703   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21704   (exit $ac_status); }; }; then
   21705   :
   21706 else
   21707   $as_echo "$as_me: program exited with status $ac_status" >&5
   21708 $as_echo "$as_me: failed program was:" >&5
   21709 sed 's/^/| /' conftest.$ac_ext >&5
   21710 
   21711 ( exit $ac_status )
   21712 ac_cv_header_stdc=no
   21713 fi
   21714 rm -rf conftest.dSYM
   21715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21716 fi
   21717 
   21718 
   21719 fi
   21720 fi
   21721 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21722 $as_echo "$ac_cv_header_stdc" >&6; }
   21723 if test $ac_cv_header_stdc = yes; then
   21724 
   21725 cat >>confdefs.h <<\_ACEOF
   21726 #define STDC_HEADERS 1
   21727 _ACEOF
   21728 
   21729 fi
   21730 
   21731 
   21732 
   21733 
   21734 
   21735 DRIVER_NAME=trident
   21736 
   21737 
   21738 
   21739 
   21740 
   21741 if test x$APP_MAN_SUFFIX = x    ; then
   21742     APP_MAN_SUFFIX=1
   21743 fi
   21744 if test x$APP_MAN_DIR = x    ; then
   21745     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21746 fi
   21747 
   21748 if test x$LIB_MAN_SUFFIX = x    ; then
   21749     LIB_MAN_SUFFIX=3
   21750 fi
   21751 if test x$LIB_MAN_DIR = x    ; then
   21752     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21753 fi
   21754 
   21755 if test x$FILE_MAN_SUFFIX = x    ; then
   21756     case $host_os in
   21757 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21758 	*)		FILE_MAN_SUFFIX=5  ;;
   21759     esac
   21760 fi
   21761 if test x$FILE_MAN_DIR = x    ; then
   21762     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21763 fi
   21764 
   21765 if test x$MISC_MAN_SUFFIX = x    ; then
   21766     case $host_os in
   21767 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21768 	*)		MISC_MAN_SUFFIX=7  ;;
   21769     esac
   21770 fi
   21771 if test x$MISC_MAN_DIR = x    ; then
   21772     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21773 fi
   21774 
   21775 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21776     case $host_os in
   21777 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21778 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21779     esac
   21780 fi
   21781 if test x$DRIVER_MAN_DIR = x    ; then
   21782     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21783 fi
   21784 
   21785 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21786     case $host_os in
   21787 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21788 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21789     esac
   21790 fi
   21791 if test x$ADMIN_MAN_DIR = x    ; then
   21792     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21793 fi
   21794 
   21795 
   21796 
   21797 
   21798 
   21799 
   21800 
   21801 
   21802 
   21803 
   21804 
   21805 
   21806 
   21807 
   21808 
   21809 
   21810 
   21811 # Check whether --with-release-version was given.
   21812 if test "${with_release_version+set}" = set; then
   21813   withval=$with_release_version; RELEASE_VERSION="$withval"
   21814 else
   21815   RELEASE_VERSION=""
   21816 fi
   21817 
   21818 	if test "x$RELEASE_VERSION" != "x"; then
   21819 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21820 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21821 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21822 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21823 	fi
   21824 
   21825 cat >>confdefs.h <<_ACEOF
   21826 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21827 _ACEOF
   21828 
   21829 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21830 	if test "x$PVM" = "x"; then
   21831 		PVM="0"
   21832 	fi
   21833 
   21834 cat >>confdefs.h <<_ACEOF
   21835 #define PACKAGE_VERSION_MINOR $PVM
   21836 _ACEOF
   21837 
   21838 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21839 	if test "x$PVP" = "x"; then
   21840 		PVP="0"
   21841 	fi
   21842 
   21843 cat >>confdefs.h <<_ACEOF
   21844 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21845 _ACEOF
   21846 
   21847 
   21848 
   21849 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21850 
   21851 cat >confcache <<\_ACEOF
   21852 # This file is a shell script that caches the results of configure
   21853 # tests run on this system so they can be shared between configure
   21854 # scripts and configure runs, see configure's option --config-cache.
   21855 # It is not useful on other systems.  If it contains results you don't
   21856 # want to keep, you may remove or edit it.
   21857 #
   21858 # config.status only pays attention to the cache file if you give it
   21859 # the --recheck option to rerun configure.
   21860 #
   21861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21863 # following values.
   21864 
   21865 _ACEOF
   21866 
   21867 # The following way of writing the cache mishandles newlines in values,
   21868 # but we know of no workaround that is simple, portable, and efficient.
   21869 # So, we kill variables containing newlines.
   21870 # Ultrix sh set writes to stderr and can't be redirected directly,
   21871 # and sets the high bit in the cache file unless we assign to the vars.
   21872 (
   21873   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21874     eval ac_val=\$$ac_var
   21875     case $ac_val in #(
   21876     *${as_nl}*)
   21877       case $ac_var in #(
   21878       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21880       esac
   21881       case $ac_var in #(
   21882       _ | IFS | as_nl) ;; #(
   21883       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21884       *) $as_unset $ac_var ;;
   21885       esac ;;
   21886     esac
   21887   done
   21888 
   21889   (set) 2>&1 |
   21890     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21891     *${as_nl}ac_space=\ *)
   21892       # `set' does not quote correctly, so add quotes (double-quote
   21893       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21894       sed -n \
   21895 	"s/'/'\\\\''/g;
   21896 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21897       ;; #(
   21898     *)
   21899       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21900       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21901       ;;
   21902     esac |
   21903     sort
   21904 ) |
   21905   sed '
   21906      /^ac_cv_env_/b end
   21907      t clear
   21908      :clear
   21909      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21910      t end
   21911      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21912      :end' >>confcache
   21913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21914   if test -w "$cache_file"; then
   21915     test "x$cache_file" != "x/dev/null" &&
   21916       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21917 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21918     cat confcache >$cache_file
   21919   else
   21920     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21921 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21922   fi
   21923 fi
   21924 rm -f confcache
   21925 
   21926 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21927 # Let make expand exec_prefix.
   21928 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21929 
   21930 DEFS=-DHAVE_CONFIG_H
   21931 
   21932 ac_libobjs=
   21933 ac_ltlibobjs=
   21934 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21935   # 1. Remove the extension, and $U if already installed.
   21936   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21937   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21938   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21939   #    will be set to the directory where LIBOBJS objects are built.
   21940   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21941   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21942 done
   21943 LIBOBJS=$ac_libobjs
   21944 
   21945 LTLIBOBJS=$ac_ltlibobjs
   21946 
   21947 
   21948 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21949   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21950 Usually this means the macro was only invoked conditionally." >&5
   21951 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21952 Usually this means the macro was only invoked conditionally." >&2;}
   21953    { (exit 1); exit 1; }; }
   21954 fi
   21955 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21956   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21957 Usually this means the macro was only invoked conditionally." >&5
   21958 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21959 Usually this means the macro was only invoked conditionally." >&2;}
   21960    { (exit 1); exit 1; }; }
   21961 fi
   21962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21963   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21964 Usually this means the macro was only invoked conditionally." >&5
   21965 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21966 Usually this means the macro was only invoked conditionally." >&2;}
   21967    { (exit 1); exit 1; }; }
   21968 fi
   21969 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21970   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21971 Usually this means the macro was only invoked conditionally." >&5
   21972 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21973 Usually this means the macro was only invoked conditionally." >&2;}
   21974    { (exit 1); exit 1; }; }
   21975 fi
   21976 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21977   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21978 Usually this means the macro was only invoked conditionally." >&5
   21979 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21980 Usually this means the macro was only invoked conditionally." >&2;}
   21981    { (exit 1); exit 1; }; }
   21982 fi
   21983 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   21984   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21985 Usually this means the macro was only invoked conditionally." >&5
   21986 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21987 Usually this means the macro was only invoked conditionally." >&2;}
   21988    { (exit 1); exit 1; }; }
   21989 fi
   21990 
   21991 : ${CONFIG_STATUS=./config.status}
   21992 ac_write_fail=0
   21993 ac_clean_files_save=$ac_clean_files
   21994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21995 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21996 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21997 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21998 #! $SHELL
   21999 # Generated by $as_me.
   22000 # Run this file to recreate the current configuration.
   22001 # Compiler output produced by configure, useful for debugging
   22002 # configure, is in config.log if it exists.
   22003 
   22004 debug=false
   22005 ac_cs_recheck=false
   22006 ac_cs_silent=false
   22007 SHELL=\${CONFIG_SHELL-$SHELL}
   22008 _ACEOF
   22009 
   22010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22011 ## --------------------- ##
   22012 ## M4sh Initialization.  ##
   22013 ## --------------------- ##
   22014 
   22015 # Be more Bourne compatible
   22016 DUALCASE=1; export DUALCASE # for MKS sh
   22017 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22018   emulate sh
   22019   NULLCMD=:
   22020   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22021   # is contrary to our usage.  Disable this feature.
   22022   alias -g '${1+"$@"}'='"$@"'
   22023   setopt NO_GLOB_SUBST
   22024 else
   22025   case `(set -o) 2>/dev/null` in
   22026   *posix*) set -o posix ;;
   22027 esac
   22028 
   22029 fi
   22030 
   22031 
   22032 
   22033 
   22034 # PATH needs CR
   22035 # Avoid depending upon Character Ranges.
   22036 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22037 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22038 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22039 as_cr_digits='0123456789'
   22040 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22041 
   22042 as_nl='
   22043 '
   22044 export as_nl
   22045 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22046 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22047 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22048 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22049 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22050   as_echo='printf %s\n'
   22051   as_echo_n='printf %s'
   22052 else
   22053   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22054     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22055     as_echo_n='/usr/ucb/echo -n'
   22056   else
   22057     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22058     as_echo_n_body='eval
   22059       arg=$1;
   22060       case $arg in
   22061       *"$as_nl"*)
   22062 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22063 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22064       esac;
   22065       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22066     '
   22067     export as_echo_n_body
   22068     as_echo_n='sh -c $as_echo_n_body as_echo'
   22069   fi
   22070   export as_echo_body
   22071   as_echo='sh -c $as_echo_body as_echo'
   22072 fi
   22073 
   22074 # The user is always right.
   22075 if test "${PATH_SEPARATOR+set}" != set; then
   22076   PATH_SEPARATOR=:
   22077   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22078     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22079       PATH_SEPARATOR=';'
   22080   }
   22081 fi
   22082 
   22083 # Support unset when possible.
   22084 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22085   as_unset=unset
   22086 else
   22087   as_unset=false
   22088 fi
   22089 
   22090 
   22091 # IFS
   22092 # We need space, tab and new line, in precisely that order.  Quoting is
   22093 # there to prevent editors from complaining about space-tab.
   22094 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22095 # splitting by setting IFS to empty value.)
   22096 IFS=" ""	$as_nl"
   22097 
   22098 # Find who we are.  Look in the path if we contain no directory separator.
   22099 case $0 in
   22100   *[\\/]* ) as_myself=$0 ;;
   22101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22102 for as_dir in $PATH
   22103 do
   22104   IFS=$as_save_IFS
   22105   test -z "$as_dir" && as_dir=.
   22106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22107 done
   22108 IFS=$as_save_IFS
   22109 
   22110      ;;
   22111 esac
   22112 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22113 # in which case we are not to be found in the path.
   22114 if test "x$as_myself" = x; then
   22115   as_myself=$0
   22116 fi
   22117 if test ! -f "$as_myself"; then
   22118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22119   { (exit 1); exit 1; }
   22120 fi
   22121 
   22122 # Work around bugs in pre-3.0 UWIN ksh.
   22123 for as_var in ENV MAIL MAILPATH
   22124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22125 done
   22126 PS1='$ '
   22127 PS2='> '
   22128 PS4='+ '
   22129 
   22130 # NLS nuisances.
   22131 LC_ALL=C
   22132 export LC_ALL
   22133 LANGUAGE=C
   22134 export LANGUAGE
   22135 
   22136 # Required to use basename.
   22137 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22139   as_expr=expr
   22140 else
   22141   as_expr=false
   22142 fi
   22143 
   22144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22145   as_basename=basename
   22146 else
   22147   as_basename=false
   22148 fi
   22149 
   22150 
   22151 # Name of the executable.
   22152 as_me=`$as_basename -- "$0" ||
   22153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22154 	 X"$0" : 'X\(//\)$' \| \
   22155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22156 $as_echo X/"$0" |
   22157     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22158 	    s//\1/
   22159 	    q
   22160 	  }
   22161 	  /^X\/\(\/\/\)$/{
   22162 	    s//\1/
   22163 	    q
   22164 	  }
   22165 	  /^X\/\(\/\).*/{
   22166 	    s//\1/
   22167 	    q
   22168 	  }
   22169 	  s/.*/./; q'`
   22170 
   22171 # CDPATH.
   22172 $as_unset CDPATH
   22173 
   22174 
   22175 
   22176   as_lineno_1=$LINENO
   22177   as_lineno_2=$LINENO
   22178   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22179   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22180 
   22181   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22182   # uniformly replaced by the line number.  The first 'sed' inserts a
   22183   # line-number line after each line using $LINENO; the second 'sed'
   22184   # does the real work.  The second script uses 'N' to pair each
   22185   # line-number line with the line containing $LINENO, and appends
   22186   # trailing '-' during substitution so that $LINENO is not a special
   22187   # case at line end.
   22188   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22189   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22190   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22191   sed -n '
   22192     p
   22193     /[$]LINENO/=
   22194   ' <$as_myself |
   22195     sed '
   22196       s/[$]LINENO.*/&-/
   22197       t lineno
   22198       b
   22199       :lineno
   22200       N
   22201       :loop
   22202       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22203       t loop
   22204       s/-\n.*//
   22205     ' >$as_me.lineno &&
   22206   chmod +x "$as_me.lineno" ||
   22207     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22208    { (exit 1); exit 1; }; }
   22209 
   22210   # Don't try to exec as it changes $[0], causing all sort of problems
   22211   # (the dirname of $[0] is not the place where we might find the
   22212   # original and so on.  Autoconf is especially sensitive to this).
   22213   . "./$as_me.lineno"
   22214   # Exit status is that of the last command.
   22215   exit
   22216 }
   22217 
   22218 
   22219 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22220   as_dirname=dirname
   22221 else
   22222   as_dirname=false
   22223 fi
   22224 
   22225 ECHO_C= ECHO_N= ECHO_T=
   22226 case `echo -n x` in
   22227 -n*)
   22228   case `echo 'x\c'` in
   22229   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22230   *)   ECHO_C='\c';;
   22231   esac;;
   22232 *)
   22233   ECHO_N='-n';;
   22234 esac
   22235 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22236    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22237   as_expr=expr
   22238 else
   22239   as_expr=false
   22240 fi
   22241 
   22242 rm -f conf$$ conf$$.exe conf$$.file
   22243 if test -d conf$$.dir; then
   22244   rm -f conf$$.dir/conf$$.file
   22245 else
   22246   rm -f conf$$.dir
   22247   mkdir conf$$.dir 2>/dev/null
   22248 fi
   22249 if (echo >conf$$.file) 2>/dev/null; then
   22250   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22251     as_ln_s='ln -s'
   22252     # ... but there are two gotchas:
   22253     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22254     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22255     # In both cases, we have to default to `cp -p'.
   22256     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22257       as_ln_s='cp -p'
   22258   elif ln conf$$.file conf$$ 2>/dev/null; then
   22259     as_ln_s=ln
   22260   else
   22261     as_ln_s='cp -p'
   22262   fi
   22263 else
   22264   as_ln_s='cp -p'
   22265 fi
   22266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22267 rmdir conf$$.dir 2>/dev/null
   22268 
   22269 if mkdir -p . 2>/dev/null; then
   22270   as_mkdir_p=:
   22271 else
   22272   test -d ./-p && rmdir ./-p
   22273   as_mkdir_p=false
   22274 fi
   22275 
   22276 if test -x / >/dev/null 2>&1; then
   22277   as_test_x='test -x'
   22278 else
   22279   if ls -dL / >/dev/null 2>&1; then
   22280     as_ls_L_option=L
   22281   else
   22282     as_ls_L_option=
   22283   fi
   22284   as_test_x='
   22285     eval sh -c '\''
   22286       if test -d "$1"; then
   22287 	test -d "$1/.";
   22288       else
   22289 	case $1 in
   22290 	-*)set "./$1";;
   22291 	esac;
   22292 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22293 	???[sx]*):;;*)false;;esac;fi
   22294     '\'' sh
   22295   '
   22296 fi
   22297 as_executable_p=$as_test_x
   22298 
   22299 # Sed expression to map a string onto a valid CPP name.
   22300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22301 
   22302 # Sed expression to map a string onto a valid variable name.
   22303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22304 
   22305 
   22306 exec 6>&1
   22307 
   22308 # Save the log message, to keep $[0] and so on meaningful, and to
   22309 # report actual input values of CONFIG_FILES etc. instead of their
   22310 # values after options handling.
   22311 ac_log="
   22312 This file was extended by xf86-video-trident $as_me 1.3.1, which was
   22313 generated by GNU Autoconf 2.63.  Invocation command line was
   22314 
   22315   CONFIG_FILES    = $CONFIG_FILES
   22316   CONFIG_HEADERS  = $CONFIG_HEADERS
   22317   CONFIG_LINKS    = $CONFIG_LINKS
   22318   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22319   $ $0 $@
   22320 
   22321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22322 "
   22323 
   22324 _ACEOF
   22325 
   22326 case $ac_config_files in *"
   22327 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22328 esac
   22329 
   22330 case $ac_config_headers in *"
   22331 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22332 esac
   22333 
   22334 
   22335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22336 # Files that config.status was made for.
   22337 config_files="$ac_config_files"
   22338 config_headers="$ac_config_headers"
   22339 config_commands="$ac_config_commands"
   22340 
   22341 _ACEOF
   22342 
   22343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22344 ac_cs_usage="\
   22345 \`$as_me' instantiates files from templates according to the
   22346 current configuration.
   22347 
   22348 Usage: $0 [OPTION]... [FILE]...
   22349 
   22350   -h, --help       print this help, then exit
   22351   -V, --version    print version number and configuration settings, then exit
   22352   -q, --quiet, --silent
   22353                    do not print progress messages
   22354   -d, --debug      don't remove temporary files
   22355       --recheck    update $as_me by reconfiguring in the same conditions
   22356       --file=FILE[:TEMPLATE]
   22357                    instantiate the configuration file FILE
   22358       --header=FILE[:TEMPLATE]
   22359                    instantiate the configuration header FILE
   22360 
   22361 Configuration files:
   22362 $config_files
   22363 
   22364 Configuration headers:
   22365 $config_headers
   22366 
   22367 Configuration commands:
   22368 $config_commands
   22369 
   22370 Report bugs to <bug-autoconf (at] gnu.org>."
   22371 
   22372 _ACEOF
   22373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22374 ac_cs_version="\\
   22375 xf86-video-trident config.status 1.3.1
   22376 configured by $0, generated by GNU Autoconf 2.63,
   22377   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22378 
   22379 Copyright (C) 2008 Free Software Foundation, Inc.
   22380 This config.status script is free software; the Free Software Foundation
   22381 gives unlimited permission to copy, distribute and modify it."
   22382 
   22383 ac_pwd='$ac_pwd'
   22384 srcdir='$srcdir'
   22385 INSTALL='$INSTALL'
   22386 MKDIR_P='$MKDIR_P'
   22387 AWK='$AWK'
   22388 test -n "\$AWK" || AWK=awk
   22389 _ACEOF
   22390 
   22391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22392 # The default lists apply if the user does not specify any file.
   22393 ac_need_defaults=:
   22394 while test $# != 0
   22395 do
   22396   case $1 in
   22397   --*=*)
   22398     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22399     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22400     ac_shift=:
   22401     ;;
   22402   *)
   22403     ac_option=$1
   22404     ac_optarg=$2
   22405     ac_shift=shift
   22406     ;;
   22407   esac
   22408 
   22409   case $ac_option in
   22410   # Handling of the options.
   22411   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22412     ac_cs_recheck=: ;;
   22413   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22414     $as_echo "$ac_cs_version"; exit ;;
   22415   --debug | --debu | --deb | --de | --d | -d )
   22416     debug=: ;;
   22417   --file | --fil | --fi | --f )
   22418     $ac_shift
   22419     case $ac_optarg in
   22420     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22421     esac
   22422     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22423     ac_need_defaults=false;;
   22424   --header | --heade | --head | --hea )
   22425     $ac_shift
   22426     case $ac_optarg in
   22427     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22428     esac
   22429     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22430     ac_need_defaults=false;;
   22431   --he | --h)
   22432     # Conflict between --help and --header
   22433     { $as_echo "$as_me: error: ambiguous option: $1
   22434 Try \`$0 --help' for more information." >&2
   22435    { (exit 1); exit 1; }; };;
   22436   --help | --hel | -h )
   22437     $as_echo "$ac_cs_usage"; exit ;;
   22438   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22439   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22440     ac_cs_silent=: ;;
   22441 
   22442   # This is an error.
   22443   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22444 Try \`$0 --help' for more information." >&2
   22445    { (exit 1); exit 1; }; } ;;
   22446 
   22447   *) ac_config_targets="$ac_config_targets $1"
   22448      ac_need_defaults=false ;;
   22449 
   22450   esac
   22451   shift
   22452 done
   22453 
   22454 ac_configure_extra_args=
   22455 
   22456 if $ac_cs_silent; then
   22457   exec 6>/dev/null
   22458   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22459 fi
   22460 
   22461 _ACEOF
   22462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22463 if \$ac_cs_recheck; then
   22464   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22465   shift
   22466   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22467   CONFIG_SHELL='$SHELL'
   22468   export CONFIG_SHELL
   22469   exec "\$@"
   22470 fi
   22471 
   22472 _ACEOF
   22473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22474 exec 5>>config.log
   22475 {
   22476   echo
   22477   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22478 ## Running $as_me. ##
   22479 _ASBOX
   22480   $as_echo "$ac_log"
   22481 } >&5
   22482 
   22483 _ACEOF
   22484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22485 #
   22486 # INIT-COMMANDS
   22487 #
   22488 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22489 
   22490 _ACEOF
   22491 
   22492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22493 
   22494 # Handling of arguments.
   22495 for ac_config_target in $ac_config_targets
   22496 do
   22497   case $ac_config_target in
   22498     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22499     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22500     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22501     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22502     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22503 
   22504   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22505 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22506    { (exit 1); exit 1; }; };;
   22507   esac
   22508 done
   22509 
   22510 
   22511 # If the user did not use the arguments to specify the items to instantiate,
   22512 # then the envvar interface is used.  Set only those that are not.
   22513 # We use the long form for the default assignment because of an extremely
   22514 # bizarre bug on SunOS 4.1.3.
   22515 if $ac_need_defaults; then
   22516   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22517   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22518   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22519 fi
   22520 
   22521 # Have a temporary directory for convenience.  Make it in the build tree
   22522 # simply because there is no reason against having it here, and in addition,
   22523 # creating and moving files from /tmp can sometimes cause problems.
   22524 # Hook for its removal unless debugging.
   22525 # Note that there is a small window in which the directory will not be cleaned:
   22526 # after its creation but before its name has been assigned to `$tmp'.
   22527 $debug ||
   22528 {
   22529   tmp=
   22530   trap 'exit_status=$?
   22531   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22532 ' 0
   22533   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22534 }
   22535 # Create a (secure) tmp directory for tmp files.
   22536 
   22537 {
   22538   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22539   test -n "$tmp" && test -d "$tmp"
   22540 }  ||
   22541 {
   22542   tmp=./conf$$-$RANDOM
   22543   (umask 077 && mkdir "$tmp")
   22544 } ||
   22545 {
   22546    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22547    { (exit 1); exit 1; }
   22548 }
   22549 
   22550 # Set up the scripts for CONFIG_FILES section.
   22551 # No need to generate them if there are no CONFIG_FILES.
   22552 # This happens for instance with `./config.status config.h'.
   22553 if test -n "$CONFIG_FILES"; then
   22554 
   22555 
   22556 ac_cr='
'
   22558 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22559 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22560   ac_cs_awk_cr='\\r'
   22561 else
   22562   ac_cs_awk_cr=$ac_cr
   22563 fi
   22564 
   22565 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22566 _ACEOF
   22567 
   22568 
   22569 {
   22570   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22571   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22572   echo "_ACEOF"
   22573 } >conf$$subs.sh ||
   22574   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22575 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22576    { (exit 1); exit 1; }; }
   22577 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22578 ac_delim='%!_!# '
   22579 for ac_last_try in false false false false false :; do
   22580   . ./conf$$subs.sh ||
   22581     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22582 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22583    { (exit 1); exit 1; }; }
   22584 
   22585   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22586   if test $ac_delim_n = $ac_delim_num; then
   22587     break
   22588   elif $ac_last_try; then
   22589     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22590 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22591    { (exit 1); exit 1; }; }
   22592   else
   22593     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22594   fi
   22595 done
   22596 rm -f conf$$subs.sh
   22597 
   22598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22599 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22600 _ACEOF
   22601 sed -n '
   22602 h
   22603 s/^/S["/; s/!.*/"]=/
   22604 p
   22605 g
   22606 s/^[^!]*!//
   22607 :repl
   22608 t repl
   22609 s/'"$ac_delim"'$//
   22610 t delim
   22611 :nl
   22612 h
   22613 s/\(.\{148\}\).*/\1/
   22614 t more1
   22615 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22616 p
   22617 n
   22618 b repl
   22619 :more1
   22620 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22621 p
   22622 g
   22623 s/.\{148\}//
   22624 t nl
   22625 :delim
   22626 h
   22627 s/\(.\{148\}\).*/\1/
   22628 t more2
   22629 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22630 p
   22631 b
   22632 :more2
   22633 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22634 p
   22635 g
   22636 s/.\{148\}//
   22637 t delim
   22638 ' <conf$$subs.awk | sed '
   22639 /^[^""]/{
   22640   N
   22641   s/\n//
   22642 }
   22643 ' >>$CONFIG_STATUS || ac_write_fail=1
   22644 rm -f conf$$subs.awk
   22645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22646 _ACAWK
   22647 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22648   for (key in S) S_is_set[key] = 1
   22649   FS = ""
   22650 
   22651 }
   22652 {
   22653   line = $ 0
   22654   nfields = split(line, field, "@")
   22655   substed = 0
   22656   len = length(field[1])
   22657   for (i = 2; i < nfields; i++) {
   22658     key = field[i]
   22659     keylen = length(key)
   22660     if (S_is_set[key]) {
   22661       value = S[key]
   22662       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22663       len += length(value) + length(field[++i])
   22664       substed = 1
   22665     } else
   22666       len += 1 + keylen
   22667   }
   22668 
   22669   print line
   22670 }
   22671 
   22672 _ACAWK
   22673 _ACEOF
   22674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22675 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22676   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22677 else
   22678   cat
   22679 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22680   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22681 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22682    { (exit 1); exit 1; }; }
   22683 _ACEOF
   22684 
   22685 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22686 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22687 # trailing colons and then remove the whole line if VPATH becomes empty
   22688 # (actually we leave an empty line to preserve line numbers).
   22689 if test "x$srcdir" = x.; then
   22690   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22691 s/:*\$(srcdir):*/:/
   22692 s/:*\${srcdir}:*/:/
   22693 s/:*@srcdir@:*/:/
   22694 s/^\([^=]*=[	 ]*\):*/\1/
   22695 s/:*$//
   22696 s/^[^=]*=[	 ]*$//
   22697 }'
   22698 fi
   22699 
   22700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22701 fi # test -n "$CONFIG_FILES"
   22702 
   22703 # Set up the scripts for CONFIG_HEADERS section.
   22704 # No need to generate them if there are no CONFIG_HEADERS.
   22705 # This happens for instance with `./config.status Makefile'.
   22706 if test -n "$CONFIG_HEADERS"; then
   22707 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22708 BEGIN {
   22709 _ACEOF
   22710 
   22711 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22712 # here-document in config.status, that substitutes the proper values into
   22713 # config.h.in to produce config.h.
   22714 
   22715 # Create a delimiter string that does not exist in confdefs.h, to ease
   22716 # handling of long lines.
   22717 ac_delim='%!_!# '
   22718 for ac_last_try in false false :; do
   22719   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22720   if test -z "$ac_t"; then
   22721     break
   22722   elif $ac_last_try; then
   22723     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22724 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22725    { (exit 1); exit 1; }; }
   22726   else
   22727     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22728   fi
   22729 done
   22730 
   22731 # For the awk script, D is an array of macro values keyed by name,
   22732 # likewise P contains macro parameters if any.  Preserve backslash
   22733 # newline sequences.
   22734 
   22735 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22736 sed -n '
   22737 s/.\{148\}/&'"$ac_delim"'/g
   22738 t rset
   22739 :rset
   22740 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22741 t def
   22742 d
   22743 :def
   22744 s/\\$//
   22745 t bsnl
   22746 s/["\\]/\\&/g
   22747 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22748 D["\1"]=" \3"/p
   22749 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22750 d
   22751 :bsnl
   22752 s/["\\]/\\&/g
   22753 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22754 D["\1"]=" \3\\\\\\n"\\/p
   22755 t cont
   22756 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22757 t cont
   22758 d
   22759 :cont
   22760 n
   22761 s/.\{148\}/&'"$ac_delim"'/g
   22762 t clear
   22763 :clear
   22764 s/\\$//
   22765 t bsnlc
   22766 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22767 d
   22768 :bsnlc
   22769 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22770 b cont
   22771 ' <confdefs.h | sed '
   22772 s/'"$ac_delim"'/"\\\
   22773 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22774 
   22775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22776   for (key in D) D_is_set[key] = 1
   22777   FS = ""
   22778 }
   22779 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22780   line = \$ 0
   22781   split(line, arg, " ")
   22782   if (arg[1] == "#") {
   22783     defundef = arg[2]
   22784     mac1 = arg[3]
   22785   } else {
   22786     defundef = substr(arg[1], 2)
   22787     mac1 = arg[2]
   22788   }
   22789   split(mac1, mac2, "(") #)
   22790   macro = mac2[1]
   22791   prefix = substr(line, 1, index(line, defundef) - 1)
   22792   if (D_is_set[macro]) {
   22793     # Preserve the white space surrounding the "#".
   22794     print prefix "define", macro P[macro] D[macro]
   22795     next
   22796   } else {
   22797     # Replace #undef with comments.  This is necessary, for example,
   22798     # in the case of _POSIX_SOURCE, which is predefined and required
   22799     # on some systems where configure will not decide to define it.
   22800     if (defundef == "undef") {
   22801       print "/*", prefix defundef, macro, "*/"
   22802       next
   22803     }
   22804   }
   22805 }
   22806 { print }
   22807 _ACAWK
   22808 _ACEOF
   22809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22810   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22811 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22812    { (exit 1); exit 1; }; }
   22813 fi # test -n "$CONFIG_HEADERS"
   22814 
   22815 
   22816 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22817 shift
   22818 for ac_tag
   22819 do
   22820   case $ac_tag in
   22821   :[FHLC]) ac_mode=$ac_tag; continue;;
   22822   esac
   22823   case $ac_mode$ac_tag in
   22824   :[FHL]*:*);;
   22825   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22826 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22827    { (exit 1); exit 1; }; };;
   22828   :[FH]-) ac_tag=-:-;;
   22829   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22830   esac
   22831   ac_save_IFS=$IFS
   22832   IFS=:
   22833   set x $ac_tag
   22834   IFS=$ac_save_IFS
   22835   shift
   22836   ac_file=$1
   22837   shift
   22838 
   22839   case $ac_mode in
   22840   :L) ac_source=$1;;
   22841   :[FH])
   22842     ac_file_inputs=
   22843     for ac_f
   22844     do
   22845       case $ac_f in
   22846       -) ac_f="$tmp/stdin";;
   22847       *) # Look for the file first in the build tree, then in the source tree
   22848 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22849 	 # because $ac_f cannot contain `:'.
   22850 	 test -f "$ac_f" ||
   22851 	   case $ac_f in
   22852 	   [\\/$]*) false;;
   22853 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22854 	   esac ||
   22855 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22856 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22857    { (exit 1); exit 1; }; };;
   22858       esac
   22859       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22860       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22861     done
   22862 
   22863     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22864     # use $as_me), people would be surprised to read:
   22865     #    /* config.h.  Generated by config.status.  */
   22866     configure_input='Generated from '`
   22867 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22868 	`' by configure.'
   22869     if test x"$ac_file" != x-; then
   22870       configure_input="$ac_file.  $configure_input"
   22871       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22872 $as_echo "$as_me: creating $ac_file" >&6;}
   22873     fi
   22874     # Neutralize special characters interpreted by sed in replacement strings.
   22875     case $configure_input in #(
   22876     *\&* | *\|* | *\\* )
   22877        ac_sed_conf_input=`$as_echo "$configure_input" |
   22878        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22879     *) ac_sed_conf_input=$configure_input;;
   22880     esac
   22881 
   22882     case $ac_tag in
   22883     *:-:* | *:-) cat >"$tmp/stdin" \
   22884       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22885 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22886    { (exit 1); exit 1; }; } ;;
   22887     esac
   22888     ;;
   22889   esac
   22890 
   22891   ac_dir=`$as_dirname -- "$ac_file" ||
   22892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22893 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22894 	 X"$ac_file" : 'X\(//\)$' \| \
   22895 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22896 $as_echo X"$ac_file" |
   22897     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22898 	    s//\1/
   22899 	    q
   22900 	  }
   22901 	  /^X\(\/\/\)[^/].*/{
   22902 	    s//\1/
   22903 	    q
   22904 	  }
   22905 	  /^X\(\/\/\)$/{
   22906 	    s//\1/
   22907 	    q
   22908 	  }
   22909 	  /^X\(\/\).*/{
   22910 	    s//\1/
   22911 	    q
   22912 	  }
   22913 	  s/.*/./; q'`
   22914   { as_dir="$ac_dir"
   22915   case $as_dir in #(
   22916   -*) as_dir=./$as_dir;;
   22917   esac
   22918   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22919     as_dirs=
   22920     while :; do
   22921       case $as_dir in #(
   22922       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22923       *) as_qdir=$as_dir;;
   22924       esac
   22925       as_dirs="'$as_qdir' $as_dirs"
   22926       as_dir=`$as_dirname -- "$as_dir" ||
   22927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22928 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22929 	 X"$as_dir" : 'X\(//\)$' \| \
   22930 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22931 $as_echo X"$as_dir" |
   22932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22933 	    s//\1/
   22934 	    q
   22935 	  }
   22936 	  /^X\(\/\/\)[^/].*/{
   22937 	    s//\1/
   22938 	    q
   22939 	  }
   22940 	  /^X\(\/\/\)$/{
   22941 	    s//\1/
   22942 	    q
   22943 	  }
   22944 	  /^X\(\/\).*/{
   22945 	    s//\1/
   22946 	    q
   22947 	  }
   22948 	  s/.*/./; q'`
   22949       test -d "$as_dir" && break
   22950     done
   22951     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22952   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22953 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22954    { (exit 1); exit 1; }; }; }
   22955   ac_builddir=.
   22956 
   22957 case "$ac_dir" in
   22958 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22959 *)
   22960   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22961   # A ".." for each directory in $ac_dir_suffix.
   22962   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22963   case $ac_top_builddir_sub in
   22964   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22965   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22966   esac ;;
   22967 esac
   22968 ac_abs_top_builddir=$ac_pwd
   22969 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22970 # for backward compatibility:
   22971 ac_top_builddir=$ac_top_build_prefix
   22972 
   22973 case $srcdir in
   22974   .)  # We are building in place.
   22975     ac_srcdir=.
   22976     ac_top_srcdir=$ac_top_builddir_sub
   22977     ac_abs_top_srcdir=$ac_pwd ;;
   22978   [\\/]* | ?:[\\/]* )  # Absolute name.
   22979     ac_srcdir=$srcdir$ac_dir_suffix;
   22980     ac_top_srcdir=$srcdir
   22981     ac_abs_top_srcdir=$srcdir ;;
   22982   *) # Relative name.
   22983     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22984     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22985     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22986 esac
   22987 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22988 
   22989 
   22990   case $ac_mode in
   22991   :F)
   22992   #
   22993   # CONFIG_FILE
   22994   #
   22995 
   22996   case $INSTALL in
   22997   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22998   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22999   esac
   23000   ac_MKDIR_P=$MKDIR_P
   23001   case $MKDIR_P in
   23002   [\\/$]* | ?:[\\/]* ) ;;
   23003   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23004   esac
   23005 _ACEOF
   23006 
   23007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23008 # If the template does not know about datarootdir, expand it.
   23009 # FIXME: This hack should be removed a few years after 2.60.
   23010 ac_datarootdir_hack=; ac_datarootdir_seen=
   23011 
   23012 ac_sed_dataroot='
   23013 /datarootdir/ {
   23014   p
   23015   q
   23016 }
   23017 /@datadir@/p
   23018 /@docdir@/p
   23019 /@infodir@/p
   23020 /@localedir@/p
   23021 /@mandir@/p
   23022 '
   23023 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23024 *datarootdir*) ac_datarootdir_seen=yes;;
   23025 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23026   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23027 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23028 _ACEOF
   23029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23030   ac_datarootdir_hack='
   23031   s&@datadir@&$datadir&g
   23032   s&@docdir@&$docdir&g
   23033   s&@infodir@&$infodir&g
   23034   s&@localedir@&$localedir&g
   23035   s&@mandir@&$mandir&g
   23036     s&\\\${datarootdir}&$datarootdir&g' ;;
   23037 esac
   23038 _ACEOF
   23039 
   23040 # Neutralize VPATH when `$srcdir' = `.'.
   23041 # Shell code in configure.ac might set extrasub.
   23042 # FIXME: do we really want to maintain this feature?
   23043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23044 ac_sed_extra="$ac_vpsub
   23045 $extrasub
   23046 _ACEOF
   23047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23048 :t
   23049 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23050 s|@configure_input@|$ac_sed_conf_input|;t t
   23051 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23052 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23053 s&@srcdir@&$ac_srcdir&;t t
   23054 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23055 s&@top_srcdir@&$ac_top_srcdir&;t t
   23056 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23057 s&@builddir@&$ac_builddir&;t t
   23058 s&@abs_builddir@&$ac_abs_builddir&;t t
   23059 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23060 s&@INSTALL@&$ac_INSTALL&;t t
   23061 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23062 $ac_datarootdir_hack
   23063 "
   23064 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23065   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23066 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23067    { (exit 1); exit 1; }; }
   23068 
   23069 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23070   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23071   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23072   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23073 which seems to be undefined.  Please make sure it is defined." >&5
   23074 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23075 which seems to be undefined.  Please make sure it is defined." >&2;}
   23076 
   23077   rm -f "$tmp/stdin"
   23078   case $ac_file in
   23079   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23080   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23081   esac \
   23082   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23083 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23084    { (exit 1); exit 1; }; }
   23085  ;;
   23086   :H)
   23087   #
   23088   # CONFIG_HEADER
   23089   #
   23090   if test x"$ac_file" != x-; then
   23091     {
   23092       $as_echo "/* $configure_input  */" \
   23093       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23094     } >"$tmp/config.h" \
   23095       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23096 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23097    { (exit 1); exit 1; }; }
   23098     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23099       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23100 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23101     else
   23102       rm -f "$ac_file"
   23103       mv "$tmp/config.h" "$ac_file" \
   23104 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23105 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23106    { (exit 1); exit 1; }; }
   23107     fi
   23108   else
   23109     $as_echo "/* $configure_input  */" \
   23110       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23111       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23112 $as_echo "$as_me: error: could not create -" >&2;}
   23113    { (exit 1); exit 1; }; }
   23114   fi
   23115 # Compute "$ac_file"'s index in $config_headers.
   23116 _am_arg="$ac_file"
   23117 _am_stamp_count=1
   23118 for _am_header in $config_headers :; do
   23119   case $_am_header in
   23120     $_am_arg | $_am_arg:* )
   23121       break ;;
   23122     * )
   23123       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23124   esac
   23125 done
   23126 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23127 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23128 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23129 	 X"$_am_arg" : 'X\(//\)$' \| \
   23130 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23131 $as_echo X"$_am_arg" |
   23132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23133 	    s//\1/
   23134 	    q
   23135 	  }
   23136 	  /^X\(\/\/\)[^/].*/{
   23137 	    s//\1/
   23138 	    q
   23139 	  }
   23140 	  /^X\(\/\/\)$/{
   23141 	    s//\1/
   23142 	    q
   23143 	  }
   23144 	  /^X\(\/\).*/{
   23145 	    s//\1/
   23146 	    q
   23147 	  }
   23148 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23149  ;;
   23150 
   23151   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23152 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23153  ;;
   23154   esac
   23155 
   23156 
   23157   case $ac_file$ac_mode in
   23158     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23159   # Strip MF so we end up with the name of the file.
   23160   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23161   # Check whether this is an Automake generated Makefile or not.
   23162   # We used to match only the files named `Makefile.in', but
   23163   # some people rename them; so instead we look at the file content.
   23164   # Grep'ing the first line is not enough: some people post-process
   23165   # each Makefile.in and add a new line on top of each file to say so.
   23166   # Grep'ing the whole file is not good either: AIX grep has a line
   23167   # limit of 2048, but all sed's we know have understand at least 4000.
   23168   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23169     dirpart=`$as_dirname -- "$mf" ||
   23170 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23171 	 X"$mf" : 'X\(//\)[^/]' \| \
   23172 	 X"$mf" : 'X\(//\)$' \| \
   23173 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23174 $as_echo X"$mf" |
   23175     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23176 	    s//\1/
   23177 	    q
   23178 	  }
   23179 	  /^X\(\/\/\)[^/].*/{
   23180 	    s//\1/
   23181 	    q
   23182 	  }
   23183 	  /^X\(\/\/\)$/{
   23184 	    s//\1/
   23185 	    q
   23186 	  }
   23187 	  /^X\(\/\).*/{
   23188 	    s//\1/
   23189 	    q
   23190 	  }
   23191 	  s/.*/./; q'`
   23192   else
   23193     continue
   23194   fi
   23195   # Extract the definition of DEPDIR, am__include, and am__quote
   23196   # from the Makefile without running `make'.
   23197   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23198   test -z "$DEPDIR" && continue
   23199   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23200   test -z "am__include" && continue
   23201   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23202   # When using ansi2knr, U may be empty or an underscore; expand it
   23203   U=`sed -n 's/^U = //p' < "$mf"`
   23204   # Find all dependency output files, they are included files with
   23205   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23206   # simplest approach to changing $(DEPDIR) to its actual value in the
   23207   # expansion.
   23208   for file in `sed -n "
   23209     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23210        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23211     # Make sure the directory exists.
   23212     test -f "$dirpart/$file" && continue
   23213     fdir=`$as_dirname -- "$file" ||
   23214 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23215 	 X"$file" : 'X\(//\)[^/]' \| \
   23216 	 X"$file" : 'X\(//\)$' \| \
   23217 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23218 $as_echo X"$file" |
   23219     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23220 	    s//\1/
   23221 	    q
   23222 	  }
   23223 	  /^X\(\/\/\)[^/].*/{
   23224 	    s//\1/
   23225 	    q
   23226 	  }
   23227 	  /^X\(\/\/\)$/{
   23228 	    s//\1/
   23229 	    q
   23230 	  }
   23231 	  /^X\(\/\).*/{
   23232 	    s//\1/
   23233 	    q
   23234 	  }
   23235 	  s/.*/./; q'`
   23236     { as_dir=$dirpart/$fdir
   23237   case $as_dir in #(
   23238   -*) as_dir=./$as_dir;;
   23239   esac
   23240   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23241     as_dirs=
   23242     while :; do
   23243       case $as_dir in #(
   23244       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23245       *) as_qdir=$as_dir;;
   23246       esac
   23247       as_dirs="'$as_qdir' $as_dirs"
   23248       as_dir=`$as_dirname -- "$as_dir" ||
   23249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23250 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23251 	 X"$as_dir" : 'X\(//\)$' \| \
   23252 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23253 $as_echo X"$as_dir" |
   23254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23255 	    s//\1/
   23256 	    q
   23257 	  }
   23258 	  /^X\(\/\/\)[^/].*/{
   23259 	    s//\1/
   23260 	    q
   23261 	  }
   23262 	  /^X\(\/\/\)$/{
   23263 	    s//\1/
   23264 	    q
   23265 	  }
   23266 	  /^X\(\/\).*/{
   23267 	    s//\1/
   23268 	    q
   23269 	  }
   23270 	  s/.*/./; q'`
   23271       test -d "$as_dir" && break
   23272     done
   23273     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23274   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23275 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23276    { (exit 1); exit 1; }; }; }
   23277     # echo "creating $dirpart/$file"
   23278     echo '# dummy' > "$dirpart/$file"
   23279   done
   23280 done
   23281  ;;
   23282 
   23283   esac
   23284 done # for ac_tag
   23285 
   23286 
   23287 { (exit 0); exit 0; }
   23288 _ACEOF
   23289 chmod +x $CONFIG_STATUS
   23290 ac_clean_files=$ac_clean_files_save
   23291 
   23292 test $ac_write_fail = 0 ||
   23293   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23294 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23295    { (exit 1); exit 1; }; }
   23296 
   23297 
   23298 # configure is writing to config.log, and then calls config.status.
   23299 # config.status does its own redirection, appending to config.log.
   23300 # Unfortunately, on DOS this fails, as config.log is still kept open
   23301 # by configure, so config.status won't be able to write to it; its
   23302 # output is simply discarded.  So we exec the FD to /dev/null,
   23303 # effectively closing config.log, so it can be properly (re)opened and
   23304 # appended to by config.status.  When coming back to configure, we
   23305 # need to make the FD available again.
   23306 if test "$no_create" != yes; then
   23307   ac_cs_success=:
   23308   ac_config_status_args=
   23309   test "$silent" = yes &&
   23310     ac_config_status_args="$ac_config_status_args --quiet"
   23311   exec 5>/dev/null
   23312   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23313   exec 5>>config.log
   23314   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23315   # would make configure fail if this is the last instruction.
   23316   $ac_cs_success || { (exit 1); exit 1; }
   23317 fi
   23318 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23319   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23320 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23321 fi
   23322 
   23323